From: Pierre Joye Date: Sun, 2 Jan 2011 18:29:56 +0000 (+0000) Subject: - use the ext deps list for phpize's ADD_EXTENSION_DEP function X-Git-Tag: php-5.3.6RC1~169 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfb9b6d06e6c14e8602d6eddf186c8707fd2d01b;p=php - use the ext deps list for phpize's ADD_EXTENSION_DEP function --- 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); }