>>> "Bernd" == Bernd Jendrissek <[EMAIL PROTECTED]> writes:
[...]
Bernd> Just running 'make check' on i686-pc-linux-gnu with perl
Bernd> v5.6.1 and generally not-quite redhat-6.1 distro.
Bernd> Result:
Bernd> 1 of 381 tests failed
Bernd> Oops. That was maintclean.test Oh, but I had
Bernd> autoconf-2.52 - re-running 'make check' now.
Bernd> (TESTS=maintclean.test PASSes against 2.53a)
Thanks a lot. I'm checking in the following patch.
2002-06-11 Alexandre Duret-Lutz <[EMAIL PROTECTED]>
* tests/maintclean.test: Don't check for autom4te.cache if
it's not created by Autoconf.
Reported by Bernd Jendrissek.
Index: THANKS
===================================================================
RCS file: /cvs/automake/automake/THANKS,v
retrieving revision 1.166.2.10
diff -u -r1.166.2.10 THANKS
--- THANKS 10 Jun 2002 10:02:56 -0000 1.166.2.10
+++ THANKS 11 Jun 2002 12:20:53 -0000
@@ -20,7 +20,7 @@
Assar Westerlund [EMAIL PROTECTED]
Axel Belinfante [EMAIL PROTECTED]
Bernard Urban [EMAIL PROTECTED]
-Bernd Jendrissek [EMAIL PROTECTED]
+Bernd Jendrissek [EMAIL PROTECTED]
Bill Currie [EMAIL PROTECTED]
Bill Davidson [EMAIL PROTECTED]
Bill Fenner [EMAIL PROTECTED]
Index: tests/maintclean.test
===================================================================
RCS file: /cvs/automake/automake/tests/maintclean.test,v
retrieving revision 1.3.2.2
diff -u -r1.3.2.2 maintclean.test
--- tests/maintclean.test 10 Jun 2002 18:43:14 -0000 1.3.2.2
+++ tests/maintclean.test 11 Jun 2002 12:20:53 -0000
@@ -27,7 +27,12 @@
$AUTOCONF
$AUTOMAKE
-test -d autom4te.cache
+# autom4te.cache appears with Autoconf >= 2.53.
+if test -d autom4te.cache; then
+ test_cache='test -d autom4te.cache'
+else
+ test_cache=:
+fi
# Since we don't require Yacc, make sure it's not used.
./configure YACC=false
@@ -41,7 +46,7 @@
test ! -f Makefile
test ! -f config.status
test -f foo.c
-test -d autom4te.cache
+$test_cache
./configure
test -f bar
--
Alexandre Duret-Lutz