mirror of
git://git.sv.gnu.org/autoconf
synced 2025-02-23 14:09:51 +08:00
Reject arguments with leading =; test previous patch.
* tests/base.at (configure arguments): Test this. Reported by Jeff Squyres. Signed-off-by: Eric Blake <ebb9@byu.net>
This commit is contained in:
parent
bc6676ed11
commit
62c045085d
@ -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>
|
||||
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user