From: Stefano Lattarini Date: Thu, 16 Feb 2012 10:04:50 +0000 (+0100) Subject: tests: another spurious failure with older autoconf fixed X-Git-Tag: ng-0.5a~9^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a0be183729db528716a92665cf4332d616c132a9;p=thirdparty%2Fautomake.git tests: another spurious failure with older autoconf fixed * 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. --- diff --git a/tests/acloca15.test b/tests/acloca15.test index fcdda52e3..988bb0cdb 100755 --- a/tests/acloca15.test +++ b/tests/acloca15.test @@ -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` + +: diff --git a/tests/aclocal8.test b/tests/aclocal8.test index c938c1ebb..bb42d80b8 100755 --- a/tests/aclocal8.test +++ b/tests/aclocal8.test @@ -20,6 +20,7 @@ am_create_testdir=empty . ./defs || Exit 1 cat > configure.in << 'END' +AC_INIT SOME_DEFS END