cvs: /php4 configure.in
| From: | Sascha Schumann | Date: | Sun, 19 Dec 1999 14:00:00 +0000 |
| Subject: | cvs: /php4 configure.in | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-8166@lists.php.net to get a copy of this message | ||
sas Sun Dec 19 09:00:00 1999 EDT
Modified files:
/php4 configure.in
Log:
Refine PEAR option. Since it does not reference anything external, it should be
AC_ARG_ENABLE instead of AC_ARG_WITH.
Index: php4/configure.in
diff -u php4/configure.in:1.69 php4/configure.in:1.70
--- php4/configure.in:1.69 Sat Dec 18 18:25:55 1999
+++ php4/configure.in Sun Dec 19 08:59:29 1999
@@ -1,4 +1,4 @@
-dnl ## $Id: configure.in,v 1.69 1999/12/18 23:25:55 andrei Exp $ -*- sh -*-
+dnl ## $Id: configure.in,v 1.70 1999/12/19 13:59:29 sas Exp $ -*- sh -*-
dnl ## Process this file with autoconf to produce a configure script.
divert(0)
@@ -605,19 +605,20 @@
])
AC_MSG_RESULT($PHP_LOW_MEMORY)
-AC_MSG_CHECKING(whether to install PEAR)
-AC_ARG_WITH(pear,
-[ --without-pear Do not install PEAR],[
- if test "$withval" = "yes"; then
- PEAR_DIR=pear
- AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
- fi
+AC_ARG_ENABLE(pear,
+[ --disable-pear Do not install PEAR],[
+ PHP_PEAR=$enableval
],[
- PEAR_DIR=pear
- AC_MSG_RESULT(yes)
+ PHP_PEAR=yes
])
+
+AC_MSG_CHECKING(whether to install PEAR)
+AC_MSG_RESULT($PHP_PEAR)
+
+if test "$PHP_PEAR" = "yes"; then
+ PEAR_DIR=pear
+fi
+
AC_SUBST(PEAR_DIR)
PHP_SAPI=cgi