]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a test failure of autopoint-3.
authorBruno Haible <bruno@clisp.org>
Fri, 16 Sep 2022 17:03:47 +0000 (19:03 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 9 Oct 2022 13:09:37 +0000 (15:09 +0200)
Reported by Marvin Schmidt <marvin.schmidt1987@gmail.com> in
<https://lists.gnu.org/archive/html/bug-gettext/2022-09/msg00001.html>.

* gettext-tools/tests/autopoint-3: Comment out the AC_CONFIG_HEADERS line
and don't invoke autoheader.

gettext-tools/tests/autopoint-3

index 8867842aa0efe89e4b159f3009d500ec7a7deed4..bd3fbf335aba3a70249c4ab9c4157877bd57c058 100755 (executable)
@@ -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; }