com php-src: make possible to pass also an arbitrary fragment file: win32/build/confutils.js
| From: | Anatol Belski | Date: | Tue, 03 Jan 2017 21:10:24 +0000 |
| Subject: | com php-src: make possible to pass also an arbitrary fragment file: win32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-96504@lists.php.net to get a copy of this message | ||
Commit: 6e93c1849e302e736472e7a83daf935902929295
Author: Anatol Belski <ab@php.net> Tue, 3 Jan 2017 22:10:24 +0100
Parents: 5fbf3be13b58b81de8fb422ca58dd95d4023fb88
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6e93c1849e302e736472e7a83daf935902929295
Log:
make possible to pass also an arbitrary fragment file
Changed paths:
M win32/build/confutils.js
Diff:
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index 78d9cc8..6c022b3 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -3286,9 +3286,16 @@ function force_all_shared()
return !!PHP_ALL_SHARED && "yes" == PHP_ALL_SHARED;
}
-function ADD_MAKEFILE_FRAGMENT()
+function ADD_MAKEFILE_FRAGMENT(src_file)
{
- var fn_in = configure_module_dirname + "\\Makefile.frag.w32";
+ var fn_in;
+
+ if ("undefined" == typeof(src_file)) {
+ fn_in = configure_module_dirname + "\\Makefile.frag.w32";
+ } else {
+ fn_in = src_file;
+ }
+
if (FSO.FileExists(fn_in)) {
var h_in, h_out;
var create_out_fl = !FSO.FileExists(PHP_MAKEFILE_FRAGMENTS);