summaryrefslogtreecommitdiff
path: root/config.w32
diff options
context:
space:
mode:
Diffstat (limited to 'config.w32')
-rw-r--r--config.w3213
1 files changed, 6 insertions, 7 deletions
diff --git a/config.w32 b/config.w32
index feebe41afd..aeca78a77b 100644
--- a/config.w32
+++ b/config.w32
@@ -1,11 +1,11 @@
-ARG_ENABLE("optimizer-plus", "whether to enable Zend OptimizerPlus support", "yes");
+ARG_ENABLE("opcache", "whether to enable Zend Optimizer+ support", "yes");
-if (PHP_OPTIMIZER_PLUS != "no") {
+if (PHP_OPCACHE != "no") {
PHP_PGI = "no"; // workaround
PHP_PGO = "no"; // workaround
- EXTENSION('ZendOptimizerPlus', "\
+ EXTENSION('opcache', "\
ZendAccelerator.c \
zend_accelerator_blacklist.c \
zend_accelerator_debug.c \
@@ -17,12 +17,11 @@ if (PHP_OPTIMIZER_PLUS != "no") {
zend_shared_alloc.c \
shared_alloc_win32.c", true);
- ADD_SOURCES(configure_module_dirname + "/Optimizer", "zend_optimizer.c", "ZendOptimizerPlus", "OptimizerObj");
+ ADD_SOURCES(configure_module_dirname + "/Optimizer", "zend_optimizer.c", "opcache", "OptimizerObj");
- ADD_FLAG('CFLAGS_ZENDOPTIMIZERPLUS', "/I " + configure_module_dirname);
- ADD_FLAG('CFLAGS_ZENDOPTIMIZERPLUS', "/D HAVE_OPTIMIZER_PLUS=1");
+ ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname);
- ADD_FLAG('CFLAGS_ZENDOPTIMIZERPLUS', "/Dregexec=php_regexec /Dregerror=php_regerror /Dregfree=php_regfree /Dregcomp=php_regcomp /Iext/ereg/regex");
+ ADD_FLAG('CFLAGS_OPCACHE', "/Dregexec=php_regexec /Dregerror=php_regerror /Dregfree=php_regfree /Dregcomp=php_regcomp /Iext/ereg/regex");
}