]> sourceware.org Git - automake.git/commitdiff
* tests/aclocal6.test: Check for autom4te.cache only if it has
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 15 Dec 2003 22:45:06 +0000 (22:45 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 15 Dec 2003 22:45:06 +0000 (22:45 +0000)
been created.
* tests/maintclean.test: Update comment.
Report from Bruno Haible.

ChangeLog
tests/aclocal6.test
tests/maintclean.test

index 294853315a57f4c349d5f2b0e875cdc967ef83c0..c6e28c1a72bb1197c0882d747d21c56d424997a5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2003-12-15  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * tests/aclocal6.test: Check for autom4te.cache only if it has
+       been created.
+       * tests/maintclean.test: Update comment.
+       Report from Bruno Haible.
+
        * tests/txinfo24.test, tests/txinfo25.test, tests/txinfo28.test:
        Require texi2dvi-o.
        Report from Václav Haisman.
index f05bd8e41960464476182b85da32295128ddc3fe..f3ee3a92e979a0ba816ec4959626e45c7368b8e9 100755 (executable)
@@ -48,6 +48,13 @@ $ACLOCAL -I m4
 $AUTOCONF
 $AUTOMAKE --copy --add-missing
 
+# Users can disable autom4te.cache.
+if test -d autom4te.cache; then
+  test_cache='test -d'
+else
+  test_cache=:
+fi
+
 mkdir build
 cd build
 
@@ -79,7 +86,7 @@ test -f aclocal6-1.0/acinclude.m4
 # Make sure maintainer-clean works in VPATH builds.
 # (This is unrelated to the rest of this test.)
 $MAKE clean
-test -d ../autom4te.cache
+$test_cache ../autom4te.cache
 test -f Makefile
 test -f sub/Makefile
 $MAKE maintainer-clean
index a40088e5b989ce11f6506c0d825739ed289dda96..87ebc0df3d93143b45c2db1c205d498c60c79941 100755 (executable)
@@ -1,5 +1,5 @@
 #! /bin/sh
-# Copyright (C) 2001, 2002  Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003  Free Software Foundation, Inc.
 #
 # This file is part of GNU Automake.
 #
@@ -45,7 +45,7 @@ $ACLOCAL
 $AUTOCONF
 $AUTOMAKE
 
-# autom4te.cache appears with Autoconf >= 2.53.
+# Users can disable autom4te.cache.
 if test -d autom4te.cache; then
   test_cache='test -d autom4te.cache'
 else
This page took 0.038271 seconds and 5 git commands to generate.