Re: Small typo result in build error with MSVC

Paul Eggert <[email protected]> Thu, 5 Jun 2025 08:40:21 -0700
Newsgroups gmane.comp.gnu.m4.bugs,gmane.comp.lib.gnulib.bugs
Organization UCLA Computer Science Department
Message-ID <[email protected]>
On 2025-06-05 06:21, Eric Blake wrote:
> Adding gnulib

Bruno fixed that MSVC-related bug in Gnulib three weeks ago:

https://cgit.git.savannah.gnu.org/cgit/gnulib.git/commit/?id=f7810929b1d35f1edcc0945df880adf6a6566602

and I just now propagated that into Savannah's m4 (branch-1.4).


>> 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, which 
was forked from Gnulib's a while ago (I don't know why). To work around 
m4's bootstrap bug you can prepare an m4 distribution from a fresh git 
checkout (and run on a platform with the latest gettext installed, and 
maybe some other recent tools too).

At some point m4 should switch to Gnulib's bootstrap machinery, but 
that's a bigger task.