From 50262fedf5fbb672ffc862b77fdcb20d370e458f Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Tue, 11 Jun 2002 12:31:42 +0000 Subject: [PATCH] * tests/maintclean.test: Don't check for autom4te.cache if it's not created by Autoconf. Reported by Bernd Jendrissek. --- ChangeLog | 6 ++++++ THANKS | 2 +- tests/maintclean.test | 9 +++++++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 482bd0eb..2daa260d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-06-11 Alexandre Duret-Lutz + + * tests/maintclean.test: Don't check for autom4te.cache if + it's not created by Autoconf. + Reported by Bernd Jendrissek. + 2002-06-11 Alexandre Duret-Lutz * automake.texi (Tests): Document site.exp. Update DejaGnu's url. diff --git a/THANKS b/THANKS index d58a33e1..6f824095 100644 --- a/THANKS +++ b/THANKS @@ -20,7 +20,7 @@ Arkadiusz Miskiewicz misiek@pld.ORG.PL Assar Westerlund assar@sics.se Axel Belinfante Axel.Belinfante@cs.utwente.nl Bernard Urban Bernard.Urban@meteo.fr -Bernd Jendrissek berndj@prism.co.za +Bernd Jendrissek berndfoobar@users.sourceforge.net Bill Currie bcurrie@tssc.co.nz Bill Davidson bill@kayhay.com Bill Fenner fenner@parc.xerox.com diff --git a/tests/maintclean.test b/tests/maintclean.test index 456b5a3f..f4cd7a30 100755 --- a/tests/maintclean.test +++ b/tests/maintclean.test @@ -27,7 +27,12 @@ $ACLOCAL $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 bar test ! -f Makefile test ! -f config.status test -f foo.c -test -d autom4te.cache +$test_cache ./configure test -f bar -- 2.43.5