Hello Priit,

thanks for the bug report.

* Priit Pääsukene wrote on Tue, Apr 28, 2009 at 09:45:17PM CEST:
> I found a bug in autoconf and gathered the courage to report it:
> 
> Bug when compiling php 5.2.9:
> :/usr/src/php-5.2.9$ export LANG=et_EE.UTF-8
> :/usr/src/php-5.2.9$ ./configure --with-curl
> configure: error: curl: invalid package name
> 
> buggy code part in "configure" script:
> 
>     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
>       { echo "configure: error: $ac_package: invalid package name" 1>&2;
> exit 1; }
>     fi
> 
> bug happens because "Z" isnt the final letter in estonian alphabet.

Which Autoconf version was the configure script created with?

> Solution: use [:alpha:] instead a-zA-z in various regular expressions.

No, sorry; these classes are unfortunately not portable enough yet.  The
configure script already sets LANGUAGE and LC_ALL to sane values.  If
that is not sufficient, then I suppose we need to set LANG, too.  What
system does this happen on, which sed version, and why does it not honor
LC_ALL=C?

Thanks,
Ralf



Reply via email to