]> granicus.if.org Git - php/commitdiff
MFH: Revert the patch to "fix" #27664 and added more informal error msg.
authorfoobar <sniper@php.net>
Wed, 7 Apr 2004 13:56:48 +0000 (13:56 +0000)
committerfoobar <sniper@php.net>
Wed, 7 Apr 2004 13:56:48 +0000 (13:56 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index 7bf57af47dcb8a3933433dd0bec0995125cd4e5c..db28b98e58a6fb177a471eee2f2b3ca853f368cb 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -29,7 +29,6 @@ PHP 4                                                                      NEWS
 - Fixed bug #27717 (Test Failures when compiled on 64-bit mode). (Ard, Derick)
 - Fixed bug #27687 (Bug Adding Default Charset to 'text/*' Content-Type 
   Header). (Marcus)
-- Fixed bug #27664 (--disable-cli doesn't force --without-pear). (Ilia)
 - Fixed bug #27663 (compile failure with cURL 7.11.1). (Ilia)
 - Fixed bug #27646 (Cannot serialize/unserialize non-finite numeric values).
   (Marcus)
index 39d3e31cfbbb81b29ec7782cd5252d01ed6cb5cc..742826cd1d00133814c2b40af1294372b3b3036f 100644 (file)
@@ -857,15 +857,15 @@ if test "$PHP_PEAR" != "no"; then
   dnl
   if test "$PHP_SAPI_CLI" = "no"; then
     pear_error_msg="$pear_error_msg 
-                    PEAR requires CLI to be enabled.     Add --enable-cli to the configure line."
+                    PEAR requires CLI to be enabled.     Add --enable-cli to the configure line. (or --disable-pear)"
   fi
   if test "$PHP_PCRE_REGEX" = "no"; then
     pear_error_msg="$pear_error_msg 
-                    PEAR requires PCRE to be enabled.    Add --with-pcre-regex to the configure line."
+                    PEAR requires PCRE to be enabled.    Add --with-pcre-regex to the configure line. (or --disable-pear)"
   fi
   if test "$PHP_XML" = "no"; then
     pear_error_msg="$pear_error_msg 
-                    PEAR requires XML to be enabled.     Add --enable-xml to the configure line."
+                    PEAR requires XML to be enabled.     Add --enable-xml to the configure line. (or --disable-pear)"
   fi
 
 dnl
@@ -873,7 +873,7 @@ dnl ext/xmlrpc is not really there yet to be a requirement..
 dnl
 dnl  if test "$PHP_XMLRPC" = "no"; then
 dnl    pear_error_msg="$pear_error_msg 
-dnl                    PEAR requires XML-RPC to be enabled. Add --with-xmlrpc to the configure line."
+dnl                    PEAR requires XML-RPC to be enabled. Add --with-xmlrpc to the configure line. (or --disable-pear)"
 dnl fi
 dnl
 
@@ -1044,8 +1044,6 @@ if test "$disable_cli" != "1"; then
   PHP_CLI_TARGET="\$(SAPI_CLI_PATH)"
   PHP_INSTALL_CLI_TARGET="install-cli"
   PHP_ADD_SOURCES(sapi/cli, php_cli.c getopt.c,, cli)
-else
-  with_pear=no
 fi
 
 PHP_SUBST(PHP_CLI_TARGET)