From a0be183729db528716a92665cf4332d616c132a9 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Thu, 16 Feb 2012 11:04:50 +0100 Subject: [PATCH] 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. --- tests/acloca15.test | 3 +++ tests/aclocal8.test | 1 + 2 files changed, 4 insertions(+) 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 -- 2.47.2