Fixed bug: #12726. If --with-xxx is used in configure line without any

value, it gets value 'yes'.
This commit is contained in:
foobar 2001-08-14 08:49:39 +00:00
parent e8e401bc2d
commit 5b2f8a0c22

View File

@ -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;;