diff options
author | George Wang <gwang@php.net> | 2014-07-11 14:39:03 -0400 |
---|---|---|
committer | George Wang <gwang@php.net> | 2014-07-11 14:39:03 -0400 |
commit | a5f2b002b4540a9671d3ba1ac46c5fc0cb64c58c (patch) | |
tree | c3136b4de3a827dcae6cf27d4129839478cc8d77 | |
parent | 9f721967a329387bf73c0d5bebe9578ba772601e (diff) | |
parent | b10ed89dac82f6a688257f6ef6e62417743c1387 (diff) | |
download | php-git-a5f2b002b4540a9671d3ba1ac46c5fc0cb64c58c.tar.gz |
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
-rw-r--r-- | win32/build/Makefile.phpize | 5 | ||||
-rw-r--r-- | win32/build/confutils.js | 11 | ||||
-rw-r--r-- | win32/build/phpize.js.in | 2 |
3 files changed, 7 insertions, 11 deletions
diff --git a/win32/build/Makefile.phpize b/win32/build/Makefile.phpize index 17cfc90fbd..0463d332fb 100644 --- a/win32/build/Makefile.phpize +++ b/win32/build/Makefile.phpize @@ -5,10 +5,7 @@ MT="$(MT)" PHPSDK_DIR=$(PHP_DIR)
PHPLIB=$(PHPSDK_DIR)\lib\$(PHPLIB)
-LDFLAGS=/libpath:"$(PHPSDK_DIR)\lib\;$(PHPSDK_DIR)"
-
-CFLAGS=/nologo /FD $(BASE_INCLUDES) /D _WINDOWS /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D_USE_32BIT_TIME_T=1 /D ZEND_WIN32_FORCE_INLINE /GF /D ZEND_DEBUG=0 /D ZTS=1 /D FD_SETSIZE=256
-CFLAGS_PHP=/D _USRDLL /D PHP5DLLTS_EXPORTS /D PHP_EXPORTS /D TSRM_EXPORTS /D SAPI_EXPORTS /D WINVER=0x500 /D COMPILE_DL_AJAXMIN
+LDFLAGS=$(LDFLAGS) /libpath:"$(PHPSDK_DIR)\lib\;$(PHPSDK_DIR)"
all: $(EXT_TARGETS) $(PECL_TARGETS)
diff --git a/win32/build/confutils.js b/win32/build/confutils.js index bfe363d96d..45984331bb 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -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);
@@ -1518,7 +1513,7 @@ function output_as_table(header, ar_out) var min = new Array(l);
var max = new Array(l);
- if (l != ar_out[0].length) {
+ if (!!ar_out[0] && l != ar_out[0].length) {
STDOUT.WriteLine("Invalid header argument, can't output the table " + l + " " + ar_out[0].length );
return;
}
@@ -1826,7 +1821,9 @@ function generate_makefile() MFO.Close();
TF = FSO.OpenTextFile("Makefile.objects", 1);
- MF.Write(TF.ReadAll());
+ if (!TF.AtEndOfStream) {
+ MF.Write(TF.ReadAll());
+ }
TF.Close();
MF.Close();
diff --git a/win32/build/phpize.js.in b/win32/build/phpize.js.in index 4813ec0b5d..235c0816a3 100644 --- a/win32/build/phpize.js.in +++ b/win32/build/phpize.js.in @@ -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"));
|