]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: another spurious failure with older autoconf fixed
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 16 Feb 2012 10:04:50 +0000 (11:04 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 16 Feb 2012 10:04:50 +0000 (11:04 +0100)
* tests/aclocal8.test (configure.in): Also call 'AC_INIT', it's
required by some older autoconf versions (e.g., 2.63).
* tests/acloca15.test: Likewise.  Add trailing ':' command since
we are at it.

tests/acloca15.test
tests/aclocal8.test

index fcdda52e353d6da240c9e29e3169ee6a315368b6..988bb0cdbc726fd67ab8616a9847cdb5aedaffb4 100755 (executable)
@@ -24,6 +24,7 @@ am_create_testdir=empty
 # cannot find them.
 
 cat > configure.in << 'END'
+AC_INIT
 m4_include([somedef.m4])
 AC_DEFUN([AM_SOME_MACRO])
 AC_DEFUN([AM_SOME_OTHER_MACRO])
@@ -42,3 +43,5 @@ $FGREP AM_SOME_MACRO aclocal.m4 && Exit 1
 $FGREP AM_MORE_MACRO aclocal.m4 && Exit 1
 $FGREP 'm4_include([m4/more.m4])' aclocal.m4
 test 1 = `grep m4_include aclocal.m4 | wc -l`
+
+:
index c938c1ebb9cef2da99282bad64e127cbf6dea3e0..bb42d80b8ee3db7b4d2cb8e9625e5cff8545471d 100755 (executable)
@@ -20,6 +20,7 @@ am_create_testdir=empty
 . ./defs || Exit 1
 
 cat > configure.in << 'END'
+AC_INIT
 SOME_DEFS
 END