From: Bruno Haible Date: Thu, 30 Nov 2023 10:38:36 +0000 (+0100) Subject: tests: Avoid an autopoint-3 failure caused by an Autoconf 2.71 bug. X-Git-Tag: v0.23~293 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f23b7847990cb31b59729517314e5d0fb649f64e;p=thirdparty%2Fgettext.git tests: Avoid an autopoint-3 failure caused by an Autoconf 2.71 bug. * gettext-tools/tests/autopoint-3: Remove the autom4te cache before invoking automake. --- diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 index 237c771c7..1cedce2d1 100755 --- a/gettext-tools/tests/autopoint-3 +++ b/gettext-tools/tests/autopoint-3 @@ -123,6 +123,20 @@ test $? = 0 || { cat autopoint.err; Exit 1; } # error "configure.ac:3: error: required file './ltmain.sh' not found". touch ltmain.sh +# Avoid an Automake 1.16.5 failure, in the presence of Autoconf 2.71, on an ext4 +# file system: +# PREFIX/share/automake-1.16/am/depend2.am: error: am__fastdepCC does not appear in AM_CONDITIONAL +# PREFIX/share/automake-1.16/am/depend2.am: The usual way to define 'am__fastdepCC' is to add 'AC_PROG_CC' +# PREFIX/share/automake-1.16/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again +# PREFIX/share/automake-1.16/am/depend2.am: error: AMDEP does not appear in AM_CONDITIONAL +# PREFIX/share/automake-1.16/am/depend2.am: The usual way to define 'AMDEP' is to add one of the compiler tests +# PREFIX/share/automake-1.16/am/depend2.am: AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC, AC_PROG_OBJCXX, +# PREFIX/share/automake-1.16/am/depend2.am: AM_PROG_AS, AM_PROG_GCJ, AM_PROG_UPC +# PREFIX/share/automake-1.16/am/depend2.am: to 'configure.ac' and run 'aclocal' and 'autoconf' again +# The cause is described in +# . +rm -rf autom4te.cache + ${AUTOMAKE} -a -c >/dev/null 2>autopoint.err test $? = 0 || { cat autopoint.err; Exit 1; }