]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
tests: fix spurious failure in test on ACLOCAL_PATH precedences
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 26 Sep 2011 19:36:11 +0000 (21:36 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 26 Sep 2011 19:36:11 +0000 (21:36 +0200)
* tests/aclocal-path-precedence.test: Do not merely append to
`configure.in', it should be created from scratch.  Pass package
name and version to AC_INIT as arguments, otherwise autoconf will
complain.

ChangeLog
tests/aclocal-path-precedence.test

index 1e826143a7e409116ce52d05a4c4dbadfdd6bf93..2178b72f8c3f84a1779614c10929571a5df92732 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-09-26  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       tests: fix spurious failure in test on ACLOCAL_PATH precedences
+       * tests/aclocal-path-precedence.test: Do not merely append to
+       `configure.in', it should be created from scratch.  Pass package
+       name and version to AC_INIT as arguments, otherwise autoconf will
+       complain.
+
 2011-09-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        docs: remove mention of deprecated option `--acdir'
index 0378fb2d0f4918d720fcd870b81ad179b834bd23..76ca21126ed91dc48ef078f55f9490b676ce7190 100755 (executable)
@@ -21,8 +21,8 @@ am_create_testdir=empty
 
 set -e
 
-cat >> configure.in << 'END'
-AC_INIT
+cat > configure.in << 'END'
+AC_INIT([foo], [1.0])
 AM_INIT_AUTOMAKE([parallel-tests])
 FOO_MACRO
 BAR_MACRO