summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-01-02 18:29:56 (GMT)
committerPierre Joye <pajoye@php.net>2011-01-02 18:29:56 (GMT)
commit17d05d0d572890a13a643c239956d0c444d96259 (patch)
tree956615cd8751fa2affa9b559213cc28ea4e11039 /win32
parent6008152caa2cfa2cd8e4791e8e585e6499d28426 (diff)
downloadphp-17d05d0d572890a13a643c239956d0c444d96259.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 ed5c8a5..55dbfc2 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);
}