From: Stefano Lattarini Date: Tue, 20 Apr 2010 11:26:48 +0000 (+0200) Subject: Make test for configure.in vs. configure.ac stricter. X-Git-Tag: v1.11.1b~84^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40eb1403710a195e93ea954468788b77d31f68b;p=thirdparty%2Fautomake.git Make test for configure.in vs. configure.ac stricter. * tests/configure.test: Use a configure.in file that provokes an automake error, to ensure configure.ac is preferred. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 9a33a676d..64c2e59da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-05-23 Stefano Lattarini + Make test for configure.in vs. configure.ac stricter. + * tests/configure.test: Use a configure.in file that provokes + an automake error, to ensure configure.ac is preferred. + Avoid possible false negatives in dejagnu7.test. * tests/dejagnu7.test: Enable shell `errexit' flag. Also, avoid unportable use of fgrep option `-e'. diff --git a/tests/configure.test b/tests/configure.test index 50a034f0a..f7ee977cc 100755 --- a/tests/configure.test +++ b/tests/configure.test @@ -35,6 +35,13 @@ AC_CONFIG_FILES([Makefile]) AC_OUTPUT EOF +cat >configure.in <Makefile.am $ACLOCAL 2>stderr && { cat stderr >&2; Exit 1; }