Re: Small typo result in build error with MSVC
Bruno Haible via Bug reports for the GNU m4 macro processor <[email protected]> Thu, 05 Jun 2025 22:50:13 +0200
| Newsgroups | gmane.comp.gnu.m4.bugs,gmane.comp.lib.gnulib.bugs |
|---|---|
| Organization | GNU |
| Message-ID | <3228340.TQGk6oTFT5@nimes> |
Paul Eggert wrote: > >> checking for GNU gettext in libintl... no > >> checking whether to use NLS... no > > I guess m4 was prepared from an old git checkout, which had an obsolete > gettext.m4 in it. This is due to a bug in m4's bootstrap script ... The guess is wrong. The test result 'no' is because the MSVC-built intl-8.dll does not export the '_nl_msg_cat_cntr' symbol, and the gettext.m4 macros treat this case (libintl found but without '_nl_msg_cat_cntr' symbol) like the Solaris 10 libintl case. gettext.m4 in m4-1.4.20 is correct (serial 66), given that m4-1.4.20 asks for the gettext infrastructure from gettext 0.19.2: AM_GNU_GETTEXT_VERSION([0.19.2]) Occasionally it can be useful to update this version requirement, e.g. to 0.22.5, but that's a maintainer task. No bug in m4's bootstrap script is visible here. Bruno