Bug #11867: configure uses /usr/bin/tr in a wrong way
| From: | liinu at uta dot fi | Date: | Wed, 04 Jul 2001 08:42:52 +0000 |
| Subject: | Bug #11867: configure uses /usr/bin/tr in a wrong way | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58851@lists.php.net to get a copy of this message | ||
From: liinu@uta.fi
Operating system: Solaris 8
PHP version: 3.0.17
PHP Bug Type: Installation problem
Bug description: configure uses /usr/bin/tr in a wrong way
in php-3 configure uses tr like this:
tr -c -d a-zA-Z0-9
In Solaris 8 this will no longer work as support for
syntax like a-zA-Z0-9 has been dropped from /usr/bin/tr.
Above like use of /usr/bin/tr in configure will result to
miscellanious compilation failures.
A fix would be to use tr syntax like this:
tr -c -d '[a-z][A-Z][0-9]'
This sed line will change the use of tr:
sed "s/tr -c -d a\-zA\-Z0\-9/tr -c -d \'\[a\-z\]\[A\-Z\]\[0\-9\]\'/g" configure