summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-01-02 18:29:56 +0000
committerPierre Joye <pajoye@php.net>2011-01-02 18:29:56 +0000
commitbfb9b6d06e6c14e8602d6eddf186c8707fd2d01b (patch)
treee2d9e3a97477565bcec5755aa2f4db58e5d5d973 /win32
parentec3003ade1b9b52714a8396357e085c2058d3a04 (diff)
downloadphp-git-bfb9b6d06e6c14e8602d6eddf186c8707fd2d01b.tar.gz
- use the ext deps list for phpize's ADD_EXTENSION_DEP function
Diffstat (limited to 'win32')
-rw-r--r--win32/build/confutils.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index ed5c8a5aa0..55dbfc2a66 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -1129,6 +1129,11 @@ function ADD_EXTENSION_DEP(extname, dependson, optional)
var dep_present = false;
var dep_shared = false;
+ if (MODE_PHPIZE) {
+ ext_deps_js = file_get_contents(PHP_DIR + "\\script\\ext_deps.js");
+ eval(ext_deps_js);
+ }
+
try {
dep_present = eval("PHP_" + DEP);
@@ -1681,7 +1686,8 @@ function generate_phpize()
var count = extensions_enabled.length;
for (i in extensions_enabled) {
- out = "PHP_" + extensions_enabled[i][0].toUpperCase() + "_SHARED=" + (extensions_enabled[i][1] == 'shared' ? 'True' : 'False');
+ out = "PHP_" + extensions_enabled[i][0].toUpperCase() + "_SHARED=" + (extensions_enabled[i][1] == 'shared' ? 'true' : 'false') + ";";
+ DEPS.WriteLine("PHP_" + extensions_enabled[i][0].toUpperCase() + "=true;");
DEPS.WriteLine(out);
MF.WriteLine(out);
}