]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix build error on mingw (regression from 2020-07-05).
authorBruno Haible <bruno@clisp.org>
Wed, 8 Jul 2020 01:47:08 +0000 (03:47 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 8 Jul 2020 01:47:08 +0000 (03:47 +0200)
* autogen.sh (GNULIB_MODULES_LIBGETTEXTPO_OTHER): Add fdopen.

.gitignore
autogen.sh

index 84cfa688a64aa418c7cb76c59ab9bcc81a78ca09..1de922cea566b513ac99bfecf27621a4e24b1990 100644 (file)
 /gettext-tools/libgettextpo/fcntl.in.h
 /gettext-tools/libgettextpo/fd-hook.c
 /gettext-tools/libgettextpo/fd-hook.h
+/gettext-tools/libgettextpo/fdopen.c
 /gettext-tools/libgettextpo/filename.h
 /gettext-tools/libgettextpo/float+.h
 /gettext-tools/libgettextpo/float.c
index c7225d941b5bfd4b46f271fb0ebcc7378abe7acc..e09ee845b20eace771a6c6de6f71312d0a9bea6d 100755 (executable)
@@ -338,12 +338,18 @@ if ! $skip_gnulib; then
     xstriconv
     xvasprintf
   '
+  # Module 'fdopen' is enabled in gettext-tools/config.status, because
+  # it occurs as dependency of some module ('supersede') in
+  # GNULIB_MODULES_TOOLS_FOR_SRC. Therefore on mingw, libgettextpo/stdio.h
+  # contains '#define fdopen rpl_fdopen'. Therefore we need to include
+  # fdopen.lo in libgettextpo.la.
   # Module 'realloc-posix' is enabled in gettext-tools/config.status, because
   # it occurs as dependency of some module ('read-file') in
   # GNULIB_MODULES_TOOLS_FOR_SRC. Therefore on mingw, libgettextpo/stdlib.h
   # contains '#define realloc rpl_realloc'. Therefore we need to include
   # realloc.lo in libgettextpo.la.
   GNULIB_MODULES_LIBGETTEXTPO_OTHER='
+    fdopen
     realloc-posix
   '
   $GNULIB_TOOL --dir=gettext-tools --source-base=libgettextpo --m4-base=libgettextpo/gnulib-m4 --macro-prefix=gtpo --makefile-name=Makefile.gnulib --libtool --local-dir=gnulib-local --local-symlink \