config.w32 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. ARG_ENABLE("opcache", "whether to enable Zend OPcache support", "yes");
  2. ARG_ENABLE("opcache-file", "whether to enable file based caching", "yes");
  3. /* var PHP_OPCACHE_PGO = false; */
  4. if (PHP_OPCACHE != "no") {
  5. if (PHP_OPCACHE_FILE == "yes") {
  6. AC_DEFINE('HAVE_OPCACHE_FILE_CACHE', 1, 'Define to enable file based caching (experimental)');
  7. }
  8. ZEND_EXTENSION('opcache', "\
  9. ZendAccelerator.c \
  10. zend_accelerator_blacklist.c \
  11. zend_accelerator_debug.c \
  12. zend_accelerator_hash.c \
  13. zend_accelerator_module.c \
  14. zend_accelerator_util_funcs.c \
  15. zend_persist.c \
  16. zend_persist_calc.c \
  17. zend_file_cache.c \
  18. zend_shared_alloc.c \
  19. shared_alloc_win32.c", true, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
  20. ADD_SOURCES(configure_module_dirname + "/Optimizer", "zend_optimizer.c pass1_5.c pass2.c pass3.c optimize_func_calls.c block_pass.c optimize_temp_vars_5.c nop_removal.c compact_literals.c zend_cfg.c zend_dfg.c dfa_pass.c zend_ssa.c zend_inference.c zend_func_info.c zend_call_graph.c sccp.c scdf.c dce.c escape_analysis.c compact_vars.c zend_dump.c", "opcache", "OptimizerObj");
  21. ADD_FLAG('CFLAGS_OPCACHE', "/I " + configure_module_dirname);
  22. }