tony2001 Wed Jul 25 09:40:59 2007 UTC
Modified files:
/php-src/scripts phpize.m4
Log:
fix --with-php-config option
http://cvs.php.net/viewvc.cgi/php-src/scripts/phpize.m4?r1=1.23&r2=1.24&diff_format=u
Index: php-src/scripts/phpize.m4
diff -u php-src/scripts/phpize.m4:1.23 php-src/scripts/phpize.m4:1.24
--- php-src/scripts/phpize.m4:1.23 Wed Jul 18 15:04:08 2007
+++ php-src/scripts/phpize.m4 Wed Jul 25 09:40:58 2007
@@ -31,14 +31,14 @@
PHP_SHLIB_SUFFIX_NAMES
dnl Find php-config script
-PHP_ARG_WITH(config,,
+PHP_ARG_WITH(php-config,,
[ --with-php-config=PATH Path to php-config [php-config]], php-config, no)
-prefix=`$PHP_CONFIG --prefix 2>/dev/null`
-phpincludedir=`$PHP_CONFIG --include-dir 2>/dev/null`
-INCLUDES=`$PHP_CONFIG --includes 2>/dev/null`
-EXTENSION_DIR=`$PHP_CONFIG --extension-dir 2>/dev/null`
-PHP_EXECUTABLE=`$PHP_CONFIG --php-binary 2>/dev/null`
+prefix=`$PHP_PHP_CONFIG --prefix 2>/dev/null`
+phpincludedir=`$PHP_PHP_CONFIG --include-dir 2>/dev/null`
+INCLUDES=`$PHP_PHP_CONFIG --includes 2>/dev/null`
+EXTENSION_DIR=`$PHP_PHP_CONFIG --extension-dir 2>/dev/null`
+PHP_EXECUTABLE=`$PHP_PHP_CONFIG --php-binary 2>/dev/null`
if test -z "$prefix"; then
AC_MSG_ERROR([Cannot find php-config. Please use --with-php-config=PATH])
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php