Hi,

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.


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

See shell examples on http://bugs.php.net/bug.php?id=48098

Best Regards

Priit Pääsukene


Reply via email to