From: Bruno Haible Date: Fri, 16 Sep 2022 17:03:47 +0000 (+0200) Subject: Fix a test failure of autopoint-3. X-Git-Tag: v0.21.1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b26b637b04159c29b11cee12160b863570cb48f4;p=thirdparty%2Fgettext.git Fix a test failure of autopoint-3. Reported by Marvin Schmidt in . * gettext-tools/tests/autopoint-3: Comment out the AC_CONFIG_HEADERS line and don't invoke autoheader. --- diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3 index 8867842aa..bd3fbf335 100755 --- a/gettext-tools/tests/autopoint-3 +++ b/gettext-tools/tests/autopoint-3 @@ -60,7 +60,7 @@ AC_PROG_CC AM_GNU_GETTEXT([external]) AM_GNU_GETTEXT_VERSION([$ARCHIVE_VERSION]) -AC_CONFIG_HEADERS([config.h]) +dnl AC_CONFIG_HEADERS([config.h]) AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([po/Makefile.in]) AC_OUTPUT @@ -110,9 +110,11 @@ echo hello.c > po/POTFILES.in ${ACLOCAL} -I m4 >/dev/null 2>autopoint.err test $? = 0 || { cat autopoint.err; Exit 1; } -: ${AUTOHEADER=autoheader} -${AUTOHEADER} >/dev/null 2>autopoint.err -test $? = 0 || { cat autopoint.err; Exit 1; } +if false; then + : ${AUTOHEADER=autoheader} + ${AUTOHEADER} >/dev/null 2>autopoint.err + test $? = 0 || { cat autopoint.err; Exit 1; } +fi ${AUTOCONF} >/dev/null 2>autopoint.err test $? = 0 || { cat autopoint.err; Exit 1; }