From: foobar Date: Tue, 14 Aug 2001 08:49:39 +0000 (+0000) Subject: Fixed bug: #12726. If --with-xxx is used in configure line without any X-Git-Tag: php-4.0.7RC1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b2f8a0c226aef2d8617e4d12bec898a6e592b42;p=php Fixed bug: #12726. If --with-xxx is used in configure line without any value, it gets value 'yes'. --- diff --git a/configure.in b/configure.in index 3d2dd6d1b3..66c9237466 100644 --- a/configure.in +++ b/configure.in @@ -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;;