summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-07-18 11:36:44 +0200
committerAnatol Belski <ab@php.net>2014-07-18 11:36:44 +0200
commit8044d0680ba03a08b5d4daa61e6b0b20d1ac30c0 (patch)
treec794476e5edba5a9341d191306c30047a37d0e2a /win32
parenta8e0a623ecdfa90027570faa921001a65092310f (diff)
downloadphp-git-8044d0680ba03a08b5d4daa61e6b0b20d1ac30c0.tar.gz
fix default prefix in phpize mode
Diffstat (limited to 'win32')
-rw-r--r--win32/build/config.w32.phpize.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/win32/build/config.w32.phpize.in b/win32/build/config.w32.phpize.in
index b8bf45ea57..a544aac85c 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 ");