]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
authorPavel Roskin <proski@gnu.org>
Mon, 30 Oct 2000 00:59:45 +0000 (00:59 +0000)
committerPavel Roskin <proski@gnu.org>
Mon, 30 Oct 2000 00:59:45 +0000 (00:59 +0000)
        accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index c3b4b51c012281deb7462dc931c987ff4cc98cac..a33b453893bd726b761f1e87a63b4a42eb1cd20b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-29  Pavel Roskin  <proski@gnu.org>
+
+       * acgeneral.m4 (_AC_INIT_PREPARE): Don't use a newline before
+       accessing $? - newlines in "trap" reset $? to 0 on FreeBSD 4.0.
+
 2000-10-29  Jim Meyering  <meyering@lucent.com>
 
        * acgeneral.m4 (AC_MSG_WARN): Now that this macro expands to
index a780b49b9a2388a4f642ede441faa43c62059d95..64b7e1fd3be75483362bb4701e64eb832e188a00 100644 (file)
@@ -1931,8 +1931,7 @@ _AC_INIT_PREPARE_FDS
 
 # When interrupted or exit'd, cleanup temporary files, and complete
 # config.log.
-trap '
-  exit_status=$?
+trap 'exit_status=$?
   test "$ac_signal" != 0 &&
     echo "configure: caught signal $ac_signal" >&AC_FD_LOG
   echo "configure: exit $exit_status" >&AC_FD_LOG
index a780b49b9a2388a4f642ede441faa43c62059d95..64b7e1fd3be75483362bb4701e64eb832e188a00 100644 (file)
@@ -1931,8 +1931,7 @@ _AC_INIT_PREPARE_FDS
 
 # When interrupted or exit'd, cleanup temporary files, and complete
 # config.log.
-trap '
-  exit_status=$?
+trap 'exit_status=$?
   test "$ac_signal" != 0 &&
     echo "configure: caught signal $ac_signal" >&AC_FD_LOG
   echo "configure: exit $exit_status" >&AC_FD_LOG