Changeset 1006 for trunk/config.w32
- Timestamp:
- 2012-07-19T17:11:16+02:00 (11 months ago)
- File:
-
- 1 edited
-
trunk/config.w32 (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config.w32
r1004 r1006 5 5 6 6 if (PHP_XCACHE != "no") { 7 EXTENSION("xcache", "xcache.c", null, "/I " + configure_module_dirname); 7 8 // {{{ check for xcache-constant 8 9 ARG_ENABLE("xcache-constant", "XCache: Handle new constants made by php compiler (e.g.: for __halt_compiler)", "yes"); … … 12 13 // }}} 13 14 14 var xcache_sources = " \ 15 util/xc_stack.c \ 16 util/xc_trace.c \ 17 xcache.c \ 18 xcache/xc_const_string.c \ 19 xcache/xc_compatibility.c \ 20 xcache/xc_lock.c \ 21 xcache/xc_mem.c \ 22 xcache/xc_opcode_spec.c \ 23 xcache/xc_processor.c \ 24 xcache/xc_sandbox.c \ 25 xcache/xc_shm.c \ 26 xcache/xc_shm_mmap.c \ 27 xcache/xc_utils.c \ 28 "; 15 ADD_SOURCES(configure_module_dirname + "/util", " \ 16 xc_stack.c \ 17 xc_trace.c \ 18 ", "xcache"); 19 20 ADD_SOURCES(configure_module_dirname + "/xcache", " \ 21 xc_const_string.c \ 22 xc_compatibility.c \ 23 xc_lock.c \ 24 xc_mem.c \ 25 xc_opcode_spec.c \ 26 xc_processor.c \ 27 xc_sandbox.c \ 28 xc_shm.c \ 29 xc_shm_mmap.c \ 30 xc_utils.c \ 31 ", "xcache"); 32 29 33 // {{{ add sources on enabled 30 34 ARG_ENABLE("xcache-optimizer", "(N/A)", "no"); … … 45 49 var withval = eval("PHP_XCACHE_" + uname); 46 50 if (withval != "no") { 47 xcache_sources += " mod_" + name + "/xc_" + name + ".c";51 ADD_SOURCES(configure_module_dirname + "/mod_" + name, "xc_" + name + ".c", "xcache"); 48 52 XCACHE_MODULES += " " + name; 49 53 STDOUT.WriteLine("Enabling XCache Module: " + name); … … 80 84 if (PHP_XCACHE_TEST != "no") { 81 85 ADD_FLAG("XCACHE_ENABLE_TEST", "-DXCACHE_ENABLE_TEST"); 82 xcache_sources += " xcache/xc_malloc.c";86 ADD_SOURCES(configure_module_dirname + "/xcache", "xc_malloc.c", "xcache"); 83 87 AC_DEFINE("HAVE_XCACHE_TEST", 1, "Define to enable XCache self test"); 84 88 } … … 93 97 } 94 98 // }}} 95 // {{{ create extension 96 EXTENSION("xcache", xcache_sources); 99 // {{{ get ccrule 97 100 var srcdir = configure_module_dirname; 98 101 // it's a bit harder to get builddir
Note: See TracChangeset
for help on using the changeset viewer.

