+2002-09-19 Pavel Roskin <proski@gnu.org>
+
+ * tests/warnopts.test: Fix random failures by removing Autoconf
+ cache directory whan configure.in changes. Use the code and the
+ comment from tests/asm.test.
+
2002-09-19 Alexandre Duret-Lutz <duret_g@epita.fr>
* automake.texi (Program and Library Variables) <maude_LIBADD>:
# Only two lines of warnings.
test `wc -l < stderr` = 2
+# On fast machines the autom4te.cache created during the above run of
+# $AUTOMAKE is likely to have the same time stamp as the configure.in
+# created below; thus causing traces for the old configure.in to be
+# used. We could do `sleep 2', but it's faster to erase the
+# directory. (Erase autom4te*.cache, not autom4te.cache, because some
+# bogus installations of Autoconf use a versioned cache.)
+rm -rf autom4te*.cache
+
# If we add a global -Wnone, all warnings should disappear.
cat >configure.in <<END
AC_INIT([warnopts], [1.0])