cvs: php-src(PHP_5_2) /scripts phpize.m4
| From: | Jani Taskinen | Date: | Tue, 14 Aug 2007 08:43:41 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /scripts phpize.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-45894@lists.php.net to get a copy of this message | ||
jani Tue Aug 14 08:43:41 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/scripts phpize.m4
Log:
MFH:- Fixed bug #42292 ($PHP_CONFIG not set for phpized builds)
http://cvs.php.net/viewvc.cgi/php-src/scripts/phpize.m4?r1=1.17.2.3.2.4&r2=1.17.2.3.2.5&diff_format=u
Index: php-src/scripts/phpize.m4
diff -u php-src/scripts/phpize.m4:1.17.2.3.2.4 php-src/scripts/phpize.m4:1.17.2.3.2.5
--- php-src/scripts/phpize.m4:1.17.2.3.2.4 Mon Aug 6 14:33:51 2007
+++ php-src/scripts/phpize.m4 Tue Aug 14 08:43:41 2007
@@ -34,11 +34,13 @@
PHP_ARG_WITH(php-config,,
[ --with-php-config=PATH Path to php-config [php-config]], php-config, no)
-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
+dnl For BC
+PHP_CONFIG=$PHP_PHP_CONFIG
+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
if test -z "$prefix"; then
AC_MSG_ERROR([Cannot find php-config. Please use --with-php-config=PATH])