]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
config.status logging to config.log
authorLars J. Aas <larsa@sim.no>
Tue, 10 Apr 2001 11:33:50 +0000 (11:33 +0000)
committerLars J. Aas <larsa@sim.no>
Tue, 10 Apr 2001 11:33:50 +0000 (11:33 +0000)
ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index c3d8c2356f7bab87865763a3272182d158f3584e..f455be79147e88300fab98c859f972aa52b4e53f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-10  Lars J. Aas  <larsa@sim.no>
+
+       * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS):  Re-enable logging to
+       `config.log' from `config.status', but delay logging till after
+       command line option processing.
+
 2001-04-10  Lars J. Aas  <larsa@sim.no>
 
        * autoupdate.in (print_usage): print "\ at end of line does not
index 4e8ccc17cd878e3eefe7cd83becc670ef74fca3b..19678b6f60494023725163644c837acf6386c6c8 100644 (file)
@@ -3608,24 +3608,13 @@ cat >$CONFIG_STATUS <<_ACEOF
 
 debug=false
 SHELL=\${CONFIG_SHELL-$SHELL}
+ac_cs_invocation="\$[0] \$[@]"
 
 _ACEOF
 
 cat >>$CONFIG_STATUS <<\_ACEOF
 AS_SHELL_SANITIZE
 _AC_INIT_DEFAULTS_FDS
-cat >&AS_MESSAGE_LOG_FD << EOF
-
-## ----------------------- ##
-## Running config.status.  ##
-## ----------------------- ##
-
-This file was extended by $as_me m4_ifset([AC_PACKAGE_STRING],
-                            [(AC_PACKAGE_STRING) ])AC_ACVERSION, executed with
- > $[0] $[@]
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-
-EOF
 
 _ACEOF
 
@@ -3777,6 +3766,19 @@ Try `$[0] --help' for more information.]) ;;
   shift
 done
 
+exec AS_MESSAGE_LOG_FD>>config.log
+cat >&AS_MESSAGE_LOG_FD << _ACEOF
+
+## ----------------------- ##
+## Running config.status.  ##
+## ----------------------- ##
+
+This file was extended by $as_me m4_ifset([AC_PACKAGE_STRING],
+                            [(AC_PACKAGE_STRING) ])AC_ACVERSION, executed with
+  > $ac_cs_invocation
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+
+_ACEOF
 EOF
 
 dnl Issue this section only if there were actually config files.
index 4e8ccc17cd878e3eefe7cd83becc670ef74fca3b..19678b6f60494023725163644c837acf6386c6c8 100644 (file)
@@ -3608,24 +3608,13 @@ cat >$CONFIG_STATUS <<_ACEOF
 
 debug=false
 SHELL=\${CONFIG_SHELL-$SHELL}
+ac_cs_invocation="\$[0] \$[@]"
 
 _ACEOF
 
 cat >>$CONFIG_STATUS <<\_ACEOF
 AS_SHELL_SANITIZE
 _AC_INIT_DEFAULTS_FDS
-cat >&AS_MESSAGE_LOG_FD << EOF
-
-## ----------------------- ##
-## Running config.status.  ##
-## ----------------------- ##
-
-This file was extended by $as_me m4_ifset([AC_PACKAGE_STRING],
-                            [(AC_PACKAGE_STRING) ])AC_ACVERSION, executed with
- > $[0] $[@]
-on `(hostname || uname -n) 2>/dev/null | sed 1q`
-
-EOF
 
 _ACEOF
 
@@ -3777,6 +3766,19 @@ Try `$[0] --help' for more information.]) ;;
   shift
 done
 
+exec AS_MESSAGE_LOG_FD>>config.log
+cat >&AS_MESSAGE_LOG_FD << _ACEOF
+
+## ----------------------- ##
+## Running config.status.  ##
+## ----------------------- ##
+
+This file was extended by $as_me m4_ifset([AC_PACKAGE_STRING],
+                            [(AC_PACKAGE_STRING) ])AC_ACVERSION, executed with
+  > $ac_cs_invocation
+on `(hostname || uname -n) 2>/dev/null | sed 1q`
+
+_ACEOF
 EOF
 
 dnl Issue this section only if there were actually config files.