com php-src: add config vars for phpize where conf opts aren't enabled: win32/build/confutils.js
| From: | Anatol Belski | Date: | Mon, 04 May 2015 14:07:27 +0000 |
| Subject: | com php-src: add config vars for phpize where conf opts aren't enabled: win32/build/confutils.js | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86585@lists.php.net to get a copy of this message | ||
Commit: 8f2b0e64d74cf7e350454b9f230f243d9098e2f2
Author: Anatol Belski <ab@php.net> Mon, 4 May 2015 16:07:27 +0200
Parents: 6f917e279f314a40da798d6f307eecfd1e68489c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8f2b0e64d74cf7e350454b9f230f243d9098e2f2
Log:
add config vars for phpize where conf opts aren't enabled
Changed paths:
M win32/build/confutils.js
Diff:
diff --git a/win32/build/confutils.js b/win32/build/confutils.js
index e9c6e16..2005571 100644
--- a/win32/build/confutils.js
+++ b/win32/build/confutils.js
@@ -1987,6 +1987,14 @@ function generate_phpize()
CJ.WriteLine("var PHP_ZTS =" + '"' + PHP_ZTS + '"');
CJ.WriteLine("var PHP_DLL_LIB =" + '"' + get_define('PHPLIB') +
'"');
CJ.WriteLine("var PHP_DLL =" + '"' + get_define('PHPDLL') +
'"');
+
+ /* The corresponding configure options aren't enabled through phpize,
+ thus these dummy declarations are required. */
+ CJ.WriteLine("var PHP_ANALYZER =" + '"no"');
+ CJ.WriteLine("var PHP_PGO =" + '"no"');
+ CJ.WriteLine("var PHP_PGI =" + '"no"');
+ CJ.WriteLine("var PHP_ALL_SHARED =" + '"no"');
+
CJ.WriteBlankLines(1);
CJ.Close();
}