Reported by Peter Breitenlohner :
<http://lists.gnu.org/archive/html/automake-patches/2012-05/msg00045.html>
* t/suffix.sh: Remove stale autom4te.cache directories, to prevent racy,
spurious failures (using 'aclocal --force' was not enough, since the cache
was still picked up by the following automake call).
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
for use_arlib in false :; do
+ rm -rf autom4te*.cache
+
if $use_arlib; then
am_warns=
echo AM_PROG_AR >> configure.ac
am_warns=-Wno-extra-portability
fi
- $ACLOCAL --force
+ $ACLOCAL
$AUTOMAKE $am_warns -i
grep '^ *\.c' Makefile.in # For debugging.