xref: /PHP-5.6/ext/opcache/config.w32 (revision 7477f5b3)
1ARG_ENABLE("opcache", "whether to enable Zend OPcache support", "yes");
2
3var PHP_OPCACHE_PGO = false;
4
5if (PHP_OPCACHE != "no") {
6
7	EXTENSION('opcache', "\
8		ZendAccelerator.c \
9		zend_accelerator_blacklist.c \
10		zend_accelerator_debug.c \
11		zend_accelerator_hash.c \
12		zend_accelerator_module.c \
13		zend_accelerator_util_funcs.c \
14		zend_persist.c \
15		zend_persist_calc.c \
16		zend_shared_alloc.c \
17		shared_alloc_win32.c", true);
18
19	ADD_SOURCES(configure_module_dirname + "/Optimizer", "zend_optimizer.c", "opcache", "OptimizerObj");
20
21
22	ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname);
23
24	ADD_FLAG('CFLAGS_OPCACHE', "/Dregexec=php_regexec /Dregerror=php_regerror /Dregfree=php_regfree /Dregcomp=php_regcomp /Iext/ereg/regex");
25
26}
27