[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: autoconf meddles with LANG and LC_CTYPE

From: Paul Eggert
Subject: Re: autoconf meddles with LANG and LC_CTYPE
Date: Mon, 4 Mar 2002 04:24:29 -0800 (PST)

> From: address@hidden (David Kastrup)
> Date: 04 Mar 2002 13:04:05 +0100
> Is there any advice
> about how to write code that would work across several autoconf
> versions and that would let me run the tests with the original LANG
> and LC_CTYPE settings?

You can ask the user to run;

eval `(locale) 2>/dev/null | sed 's/^/AC_ORIGINAL_/'` configure

but admittedly this is a hack.

Autoconf could be modified to squirrel away the previous version of
LC_LANG etc. into separate variables like AC_ORIGINAL_LC_LANG.  But
that won't help you with older Autoconf releases.

> It is pretty bad if building the version from CVS fails for all but a
> single autoconf.

Sorry, I don't follow this remark.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]