]> granicus.if.org Git - php/commitdiff
Fixed bug: #12726. If --with-xxx is used in configure line without any
authorfoobar <sniper@php.net>
Tue, 14 Aug 2001 08:49:39 +0000 (08:49 +0000)
committerfoobar <sniper@php.net>
Tue, 14 Aug 2001 08:49:39 +0000 (08:49 +0000)
value, it gets value 'yes'.

configure.in

index 3d2dd6d1b3efcf327217ff0c55aa3a55acb74915..66c92374664c064b4aef0b7b27b4deed3df78d1b 100644 (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;;