From 5b2f8a0c226aef2d8617e4d12bec898a6e592b42 Mon Sep 17 00:00:00 2001 From: foobar Date: Tue, 14 Aug 2001 08:49:39 +0000 Subject: [PATCH] Fixed bug: #12726. If --with-xxx is used in configure line without any value, it gets value 'yes'. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 3d2dd6d1b3e..66c92374664 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;;