force ext_dep.js prepend to configure.js in phpize mode

This commit is contained in:
Anatol Belski 2014-07-10 21:50:37 +02:00
parent e7f36ba693
commit 1f90dd3359
2 changed files with 2 additions and 5 deletions

View File

@ -1168,11 +1168,6 @@ 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);

View File

@ -209,6 +209,8 @@ C.WriteLine("/* This file automatically generated from script/confutils.js */");
C.WriteLine("var MODE_PHPIZE = true;");
C.WriteLine("var PHP_DIR = " + '"' + PHP_DIR.replace(new RegExp('(["\\\\])', "g"), '\\$1') + '"');
C.Write(file_get_contents(PHP_DIR + "//script//ext_deps.js"));
C.Write(file_get_contents(PHP_DIR + "/script/confutils.js"));
C.Write(file_get_contents(PHP_DIR + "/script/config.phpize.js"));