[cairo] problems with autogen.sh
Owen Taylor
otaylor at redhat.com
Mon Aug 22 08:34:09 PDT 2005
On Sun, 2005-07-24 at 17:21 +0200, Martin Dobias wrote:
> Hi!
>
> I checked out cairo from CVS, tried to compile, but i've a problem: I
> have set LC_ALL="slovak" (slovak locale uses comma as decimal point).
> When I run ./autogen.sh it complains about old version of autoconf (2.54
> is needed, I have 2.59). I've found out that this problem lies in that
> setting LC_NUMERIC=C isn't enough, because LC_ALL overrides it. So when
> I run my awk (GNU Awk 3.1.3 - from my gentoo):
> echo 2.59 | LC_NUMERIC=C awk 'NR==1 { print ( $NF >= 2.54 ) }'
> - returns 0
> echo 2.59 | LC_ALL=C awk 'NR==1 { print ( $NF >= 2.54 ) }'
> - returns 1
>
> Setting LC_ALL=C in autogen.sh solves my issue. Please fix it because
> probably I'm not the only one who encounters this problem.
Fixed in CVS:
2005-08-22 Owen Taylor <otaylor at redhat.com>
* autogen.sh: Set LC_ALL=C rather than LANG and LC_NUMERIC to be
robust against whatever settings the user has. (Martin Dobias)
Regards,
Owen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/cairo/attachments/20050822/8fb290af/attachment-0001.pgp
More information about the cairo
mailing list