config.w32 744 B

1234567891011121314151617181920212223242526
  1. ARG_ENABLE("opcache", "whether to enable Zend OPcache support", "yes");
  2. var PHP_OPCACHE_PGO = false;
  3. if (PHP_OPCACHE != "no") {
  4. EXTENSION('opcache', "\
  5. ZendAccelerator.c \
  6. zend_accelerator_blacklist.c \
  7. zend_accelerator_debug.c \
  8. zend_accelerator_hash.c \
  9. zend_accelerator_module.c \
  10. zend_accelerator_util_funcs.c \
  11. zend_persist.c \
  12. zend_persist_calc.c \
  13. zend_shared_alloc.c \
  14. shared_alloc_win32.c", true);
  15. ADD_SOURCES(configure_module_dirname + "/Optimizer", "zend_optimizer.c", "opcache", "OptimizerObj");
  16. ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname);
  17. ADD_FLAG('CFLAGS_OPCACHE', "/Dregexec=php_regexec /Dregerror=php_regerror /Dregfree=php_regfree /Dregcomp=php_regcomp /Iext/ereg/regex");
  18. }