]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure with autoconf 2.62
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 17 Oct 2011 15:45:41 +0000 (17:45 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 17 Oct 2011 15:45:41 +0000 (17:45 +0200)
* 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.

ChangeLog
tests/aclocal-path-precedence.test

index f80f4b51e1d035b0c6a16a71e3d75c701ee3f028..b79945c50db97567072c6581d1a42930bda9287b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-10-17  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       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  <stefano.lattarini@gmail.com>
 
        tests: fix tests on aclocal search path precedences
index b170dd5f3a83b079f34cf1d24c94fe15f6cae2d8..c02fd3b984987e21dcf409057d99d90bf95aa9f3 100755 (executable)
@@ -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