cvs: php4 / configure.in
| From: | Jani Taskinen | Date: | Tue, 14 Aug 2001 08:49:42 +0000 |
| Subject: | cvs: php4 / configure.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6825@lists.php.net to get a copy of this message | ||
sniper Tue Aug 14 04:49:42 2001 EDT
Modified files:
/php4 configure.in
Log:
Fixed bug: #12726. If --with-xxx is used in configure line without any
value, it gets value 'yes'.
Index: php4/configure.in
diff -u php4/configure.in:1.267 php4/configure.in:1.268
--- php4/configure.in:1.267 Sun Aug 12 17:23:15 2001
+++ php4/configure.in Tue Aug 14 04:49:39 2001
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.267 2001/08/12 21:23:15 zeev Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.268 2001/08/14 08:49:39 sniper Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(1)
@@ -510,7 +510,7 @@
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;;