jani            Tue Aug 14 08:43:13 2007 UTC

  Modified files:              
    /php-src/scripts    phpize.m4 
  Log:
  - Fix bug #42292 ($PHP_CONFIG not set)
  
http://cvs.php.net/viewvc.cgi/php-src/scripts/phpize.m4?r1=1.25&r2=1.26&diff_format=u
Index: php-src/scripts/phpize.m4
diff -u php-src/scripts/phpize.m4:1.25 php-src/scripts/phpize.m4:1.26
--- php-src/scripts/phpize.m4:1.25      Mon Aug  6 14:33:06 2007
+++ php-src/scripts/phpize.m4   Tue Aug 14 08:43:13 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])

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to