com php-src: fix default prefix in phpize mode: win32/build/config.w32.phpize.in
| From: | Anatol Belski | Date: | Fri, 18 Jul 2014 09:36:44 +0000 |
| Subject: | com php-src: fix default prefix in phpize mode: win32/build/config.w32.phpize.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79505@lists.php.net to get a copy of this message | ||
Commit: 8044d0680ba03a08b5d4daa61e6b0b20d1ac30c0
Author: Anatol Belski <ab@php.net> Fri, 18 Jul 2014 11:36:44 +0200
Parents: a8e0a623ecdfa90027570faa921001a65092310f
Branches: PHP-5.4 PHP-5.5 PHP-5.6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8044d0680ba03a08b5d4daa61e6b0b20d1ac30c0
Log:
fix default prefix in phpize mode
Changed paths:
M win32/build/config.w32.phpize.in
Diff:
diff --git a/win32/build/config.w32.phpize.in b/win32/build/config.w32.phpize.in
index b8bf45e..a544aac 100644
--- a/win32/build/config.w32.phpize.in
+++ b/win32/build/config.w32.phpize.in
@@ -105,6 +105,11 @@ if (PHP_DEBUG == "yes" && PHP_DEBUG_PACK == "yes")
{
ERROR("Use of both --enable-debug and --enable-debug-pack not allowed.");
}
+if (PHP_PREFIX == '') {
+ PHP_PREFIX = "C:\\php";
+ if (PHP_DEBUG == "yes")
+ PHP_PREFIX += "\\debug";
+}
DEFINE('PHP_PREFIX', PHP_PREFIX);
DEFINE("BASE_INCLUDES", "/I " + PHP_DIR + "/include /I " + PHP_DIR +
"/include/main /I " + PHP_DIR + "/include/Zend /I " + PHP_DIR +
"/include/TSRM /I " + PHP_DIR + "/include/ext ");