]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
build: Simplify.
authorBruno Haible <bruno@clisp.org>
Tue, 20 Sep 2022 22:12:38 +0000 (00:12 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 25 Sep 2022 19:53:45 +0000 (21:53 +0200)
This partially reverts the commit 2020-12-28 "Update after gnulib changed:
Fix link errors on native Windows."

* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC, GNULIB_MODULES_LIBGETTEXTPO): Remove
strdup-posix.
* gettext-tools/libgettextpo/Makefile.am (config.h): Don't define GNULIB_GETCWD.

autogen.sh
gettext-tools/libgettextpo/Makefile.am

index 5aa2a0c714168f6ee875ad8c8a9471ef35f6a934..82fb8eb6fbf3a505f63bc438d73633f45ebac0f0 100755 (executable)
@@ -209,7 +209,6 @@ if ! $skip_gnulib; then
     stpncpy
     strchrnul
     strcspn
-    strdup-posix
     strerror
     strpbrk
     strtol
@@ -350,7 +349,6 @@ if ! $skip_gnulib; then
     stpcpy
     stpncpy
     strchrnul
-    strdup-posix
     strerror
     unictype/ctype-space
     unilbrk/ulc-width-linebreaks
index f88f8d1d62f2deb750eb4e1759db40867327e5f5..bc86b720b21148013f9b3e8a48dad02c1c480fdb 100644 (file)
@@ -158,8 +158,6 @@ config.h: $(BUILT_SOURCES)
          echo '#define GTPO_CONFIG_H'; \
          echo; \
          echo '#include "../config.h"'; \
-         : "We use gnulib module 'getcwd-lgpl' here, not module 'getcwd'."; \
-         echo '#undef GNULIB_GETCWD'; \
          : "We don't use gnulib module 'fchdir' here."; \
          echo '#undef REPLACE_FCHDIR'; \
          : "Turn all gettext() calls into dgettext() calls."; \