Fixing Gawk's configure bugs

Dan Nicholson dbn.lists at
Sun Apr 29 10:34:31 PDT 2007

On 4/29/07, Matthew Burgess <matthew at> 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).
> 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
> I think this might actually come down to a bug in the version of gettext that
> was used when Gawk was packaged.  Here's the test that sets gt_included_intl,
> which ultimately causes AM_GNU_GETTEXT not to be called:
> define([gt_included_intl], ifelse([$1], [external], [no], [yes]))
> In gettext-0.16.1 this has been changed to:
> define([gt_included_intl], ifelse([$1], [external], ifdef([AM_GNU_GETTEXT_]
> [INTL_SUBDIR], [yes], [no]), [yes]))

Wow, going the extra mile on the autotools!

> Could someone with more autotools knowledge than myself (not hard!) confirm my
> analysis is correct?  If so, is it likely that repackaging Gawk against
> Gettext-0.16.1 will fix the problems we're seeing?

It looks pretty involved. What happens if you just rebuild the
autotools? Probably you can just do autoreconf -f. Then it should pull
in your local gettext macros and you can see if anything changes.


More information about the lfs-dev mailing list