autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config.status --help message


From: Lars J. Aas
Subject: Re: config.status --help message
Date: Tue, 17 Apr 2001 14:56:34 +0200
User-agent: Mutt/1.2.5i

On Tue, Apr 17, 2001 at 02:47:16PM +0200, Akim Demaille wrote:
: >>>>> "Lars" == Lars J Aas <address@hidden> writes:
: 
: Lars> Since you can use the --header and --file options no matter if
: Lars> config.status is configured for outputing one by default, 
: 
: This statement is wrong.

How?  You can use config.status to instantiate files that config.status
isn't configured for by default - why should these options depend on
the defaults?  They could depend on having had any AC_SUBSTs and
AC_DEFINEs in configure, but the default set of files???  That makes no
sense to me...

: Lars> the options should be printed unconditionally.  I don't know if
: Lars> this is considered 2.50-freeze material, but I'm posting this
: Lars> now in either case.
: 
: Please, don't apply this, it is wrong.

Here's the reversal patch (need manual ChangeLog entry removal).  I don't
think the current implementation is wrong, though.

  Lars J

Index: acgeneral.m4
===================================================================
RCS file: /cvs/autoconf/acgeneral.m4,v
retrieving revision 1.711
retrieving revision 1.710
diff -u -r1.711 -r1.710
--- acgeneral.m4        2001/04/15 14:16:15     1.711
+++ acgeneral.m4        2001/04/11 16:29:15     1.710
@@ -3651,10 +3651,14 @@
   -V, --version    print version number, then exit
   -d, --debug      don't remove temporary files
       --recheck    update $as_me by reconfiguring in the same conditions
-  --file=FILE[[:TEMPLATE]]
-                   instantiate a configuration file FILE
-  --header=FILE[[:TEMPLATE]]
-                   instantiate a configuration header FILE
+m4_ifset([AC_LIST_FILES],
+[[  --file=FILE[:TEMPLATE]
+                   instantiate the configuration file FILE
+]])dnl
+m4_ifset([AC_LIST_HEADERS],
+[[  --header=FILE[:TEMPLATE]
+                   instantiate the configuration header FILE
+]])dnl
 
 m4_ifset([AC_LIST_FILES],
 [Configuration files:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]