From: Stefano Lattarini Date: Mon, 17 Oct 2011 15:45:41 +0000 (+0200) Subject: tests: fix spurious failure with autoconf 2.62 X-Git-Tag: v1.11.1b~16^2~6^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02ab80cebbb9efc1e3dfbd3034dc517f3c5e099d;p=thirdparty%2Fautomake.git tests: fix spurious failure with autoconf 2.62 * tests/aclocal-path-precedence.test: Rewrite configure.in, rather than appending to it, to avoid spurious failures (at least with autoconf 2.62) due to repeated calls to AC_INIT. Also, add package name and version arguments to AC_INIT, to avoid spurious errors from automake. --- diff --git a/ChangeLog b/ChangeLog index f80f4b51e..b79945c50 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2011-10-17 Stefano Lattarini + + tests: fix spurious failure with autoconf 2.62 + * tests/aclocal-path-precedence.test: Rewrite configure.in, + rather than appending to it, to avoid spurious failures (at + least with autoconf 2.62) due to repeated calls to AC_INIT. + Also, add package name and version arguments to AC_INIT, to + avoid spurious errors from automake. + 2011-09-22 Stefano Lattarini tests: fix tests on aclocal search path precedences diff --git a/tests/aclocal-path-precedence.test b/tests/aclocal-path-precedence.test index b170dd5f3..c02fd3b98 100755 --- a/tests/aclocal-path-precedence.test +++ b/tests/aclocal-path-precedence.test @@ -21,8 +21,8 @@ am_create_testdir=empty set -e -cat >> configure.in << 'END' -AC_INIT +cat > configure.in << END +AC_INIT([$me], [1.0]) AM_INIT_AUTOMAKE([parallel-tests]) FOO_MACRO BAR_MACRO