]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
authorPavel Roskin <proski@gnu.org>
Sat, 3 Feb 2001 19:27:14 +0000 (19:27 +0000)
committerPavel Roskin <proski@gnu.org>
Sat, 3 Feb 2001 19:27:14 +0000 (19:27 +0000)
"else". Separate commands inside AC_TRY_COMMAND with semicolons.
From Nicolas Joly.

ChangeLog
tests/base.at

index ab88e477195149e738a2231e9893cca49e53d394..d90e46dc442807860841333dfe504814315bfba6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-02-03  Pavel Roskin  <proski@gnu.org>
+
+       * tests/base.at (AC_TRY_COMMAND): Add a colon between "then" and
+       "else". Separate commands inside AC_TRY_COMMAND with semicolons.
+       From Nicolas Joly.
+
 2001-02-03  Akim Demaille  <akim@epita.fr>
 
        * acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Removed, dead code.
index 3fc074ae84a6b89ef90aaba552427296055afb7e..a36f6c65d0844624427d68152d4346301129a423 100644 (file)
@@ -226,15 +226,15 @@ AT_SETUP([AC_TRY_*])
 AT_DATA([configure.ac],
 [[AC_INIT
 
-if AC_TRY_COMMAND([(echo "The Cat in the Hat"
+if AC_TRY_COMMAND([(echo "The Cat in the Hat";
                     echo "The Hat in the Cat" >&2)
                   | grep ^The\ Cat\ in\ the\ Hat\$ >/dev/null]); then
-  # Cool!
+  :
 else
   AC_MSG_ERROR([Didn't see the Cat in the Hat!])
 fi
 
-if AC_TRY_COMMAND([(echo "The Cat in the Hat"
+if AC_TRY_COMMAND([(echo "The Cat in the Hat";
                     echo "The Hat in the Cat" >&2)
                   | grep ^The\ Hat\ in\ the\ Cat\$ >/dev/null]); then
   AC_MSG_ERROR([Saw the Hat in the Cat!])