mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Fixed bug: #12726. If --with-xxx is used in configure line without any
value, it gets value 'yes'.
This commit is contained in:
parent
e8e401bc2d
commit
5b2f8a0c22
@ -510,7 +510,7 @@ if test "$PHP_PEAR" != "no"; then
|
||||
PEAR_DIR=pear
|
||||
fi
|
||||
|
||||
if test "$PHP_PEAR" = "DEFAULT"; then
|
||||
if test "$PHP_PEAR" = "DEFAULT" -o "x$PHP_PEAR" = "xyes"; then
|
||||
case $PHP_LAYOUT in
|
||||
GNU) PEAR_INSTALLDIR=$datadir/pear;;
|
||||
*) PEAR_INSTALLDIR=$libdir/php;;
|
||||
|
Loading…
Reference in New Issue
Block a user