]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Reject arguments with leading =; test previous patch.
authorEric Blake <ebb9@byu.net>
Wed, 5 Nov 2008 02:13:38 +0000 (19:13 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 5 Nov 2008 02:13:38 +0000 (19:13 -0700)
* tests/base.at (configure arguments): Test this.
Reported by Jeff Squyres.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
tests/base.at

index f54b4531929d484ad4ea9ae912e3760f8a37edcc..c658e670e4484e9fd4cd1d8ca886ad538db6fbe3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,7 @@
        * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS)
        (_AC_OUTPUT_MAIN_LOOP): Quote invalid arguments.
        * lib/autotest/general.m4 (AT_INIT): Likewise.
+       * tests/base.at (configure arguments): Test this.
        Reported by Jeff Squyres.
 
 2008-11-04  Eric Blake  <ebb9@byu.net>
index 883db251d8c0b53c183c32d26fde5b5a596f0512..1ed8e1ccbfae2f5de659de564771ffaea78620e1 100644 (file)
@@ -321,6 +321,10 @@ AT_CHECK_AUTOCONF
 AT_CHECK_CONFIGURE([FOO=bar --enable-baz --without-zork --silent], [0], [stdout], [ignore])
 AT_CHECK([grep 'FOO=bar --enable-baz --without-zork --silent' stdout], [0], [ignore], [ignore])
 
+dnl check that syntax error is detected
+AT_CHECK_CONFIGURE([=], [1], [], [ignore], [ignore])
+AT_CHECK_CONFIGURE([1=2], [1], [], [ignore], [ignore])
+
 AT_CLEANUP