com php-src: Merge branch 'PHP-7.0' into PHP-7.1: win32/build/config.w32 win32/build/confutils.js
| From: | Anatol Belski | Date: | Sat, 29 Oct 2016 00:12:05 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.0' into PHP-7.1: win32/build/config.w32 win32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95330@lists.php.net to get a copy of this message | ||
Commit: 3f35078857df0474daba0812307576b2b47e6922
Author: Anatol Belski <ab@php.net> Sat, 29 Oct 2016 02:12:05 +0200
Parents: 103f6330929e4c4dfcc371149786b7d812b8d7e0 5b04a2187e2b12325b26e289df7f73e03cc4cda2
Branches: PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3f35078857df0474daba0812307576b2b47e6922
Log:
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
generate test ini file, so shared exts are loaded for nmake test
additional env is generated for phpize, too
Changed paths:
MM win32/build/config.w32
MM win32/build/confutils.js
Diff:
diff --cc win32/build/confutils.js
index a534b1e,0914621..391d6c1
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@@ -2253,18 -2134,20 +2315,24 @@@ function generate_makefile(
// The trailing space is needed to prevent the trailing backslash
// that is part of the build dir flags (CFLAGS_BD_XXX) from being
// seen as a line continuation character
- MF.WriteLine(keys[i] + "=" +
- /* \s+\/ eliminates extra whitespace caused when using \ for string continuation,
- whereby \/ is the start of the next compiler switch */
- trim(configure_subst.Item(keys[i])).replace(/\s+\//gm, " /") + " "
- );
+
+ /* \s+\/ eliminates extra whitespace caused when using \ for string continuation,
+ whereby \/ is the start of the next compiler switch */
+ var val = trim(configure_subst.Item(keys[i])).replace(/\s+\//gm, " /");
+
+ MF.WriteLine(keys[i] + "=" + val + " ");
MF.WriteBlankLines(1);
+
+ /* If static analyze is enabled, add analyzer specific stuff to the Makefile. */
+ handle_analyzer_makefile_flags(MF, keys[i], val);
}
+ if (!MODE_PHPIZE) {
+ var val = "yes" == PHP_TEST_INI ? PHP_TEST_INI_PATH : "";
+ /* Be sure it's done after generate_test_php_ini(). */
+ MF.WriteLine("PHP_TEST_INI_PATH=\"" + val + "\"");
+ }
+
MF.WriteBlankLines(1);
if (MODE_PHPIZE) {
var TF = FSO.OpenTextFile(PHP_DIR + "/script/Makefile.phpize", 1);