Fixing Gawk's configure bugs

Alexander E. Patrakov patrakov at ums.usu.ru
Sun Apr 29 18:44:34 PDT 2007


Matthew Burgess wrote:
> Hi guys.
> 
> I'm trying to understand what's causing Gawk's configure script to think that 
> we don't have LANGINFO_CODESET or LC_MESSAGES (currently worked around by 
> hacking config.h manually).
> 
> configure.ac calls AM_GNU_GETTEXT with an 'external' parameter.  This appears 
> to have the effect of preventing AM_INTL_SUBDIR from being called, which 
> would call AM_LANGINFO_CODESET and gt_LC_MESSAGES, which would set 
> HAVE_LANGINFO_CODESET and HAVE_LC_MESSAGES respectively.

This is just an undocumented side effect, and Gawk's configure.ac should 
call the AM_LANGINFO_CODESET and gt_LC_MESSAGES macros explicitly instead of 
relying upon this effect.

-- 
Alexander E. Patrakov



More information about the lfs-dev mailing list