summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xautogen.sh6
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 84cfa688a..1de922cea 100644
--- a/.gitignore
+++ b/.gitignore
@@ -105,6 +105,7 @@
/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
diff --git a/autogen.sh b/autogen.sh
index c7225d941..e09ee845b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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 \