]> git.ipfire.org Git - thirdparty/gettext.git/commit
gettext.m4: Fix build on Cygwin with gcc 13 or newer.
authorBruno Haible <bruno@clisp.org>
Fri, 1 Aug 2025 13:17:31 +0000 (15:17 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 1 Aug 2025 20:23:22 +0000 (22:23 +0200)
commit0e709dbdeec94c4e14f400e671e18cf7807457e4
tree9fc071a1e34ab96f1bd5b8c04491309a1e7339b9
parent133de2a1c522533d7f6bbe27f0f82ae6882ffd71
gettext.m4: Fix build on Cygwin with gcc 13 or newer.

This gcc version links with -lintl -liconv by default, making it appear as if
gettext() et al. were defined in libc. But GNU gettext still needs to build a
new libintl.

* gettext-runtime/m4/gettext.m4 (AM_GNU_GETTEXT): On Cygwin, set
USE_INCLUDED_LIBINTL=yes regardless of the gcc version.
gettext-runtime/m4/gettext.m4