]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
authorAkim Demaille <akim@epita.fr>
Tue, 19 Sep 2000 15:20:04 +0000 (15:20 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 19 Sep 2000 15:20:04 +0000 (15:20 +0000)
simplification.

ChangeLog
tests/semantics.m4

index e0c79138c1ab6554f0d43533d2e3ccc63a47af1d..7deefc3fa6c34df39607104bd8740cbf6c86a226 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-19  Pavel Roskin  <proski@gnu.org>
+
+       * tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
+       simplification.
+
 2000-09-19  Akim Demaille  <akim@epita.fr>
 
        * autoconf.sh (optarg): More robust expr invocation.
index 0d783bb786082e74af65d53862e30a738fdb3cb4..d019eb12b560e85103b50925fbcd75e51437a792 100644 (file)
@@ -320,10 +320,9 @@ AT_SETUP([AC_PROG_CPP with warnings])
 
 AT_DATA([mycpp],
 [[#! /bin/sh
-${1+"$@"}
-err_code=$?
 echo noise >&2
-exit $err_code
+${1+"$@"}
+exit $?
 ]])
 
 chmod +x mycpp