Changeset 982 for trunk/config.w32
- Timestamp:
- 07/17/2012 10:35:45 AM (10 months ago)
- Files:
-
- 1 modified
-
trunk/config.w32 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config.w32
r694 r982 12 12 // }}} 13 13 14 var xcache_sources = "processor.c \ 14 var xcache_sources = " 15 main/xc_processor.c \ 16 main/xc_const_string.c \ 17 main/xc_lock.c \ 18 main/xc_mem.c \ 19 main/xc_opcode_spec.c \ 20 main/xc_shm.c \ 21 main/xc_shm_mmap.c \ 22 main/xc_utils.c \ 23 util/xc_stack.c \ 15 24 xcache.c \ 16 mmap.c \17 mem.c \18 xc_shm.c \19 const_string.c \20 opcode_spec.c \21 stack.c \22 utils.c \23 lock.c \24 25 "; 25 26 // {{{ add sources on enabled … … 41 42 var withval = eval("PHP_XCACHE_" + uname); 42 43 if (withval != "no") { 43 xcache_sources += " " + name + ".c";44 xcache_sources += " submodules/xc_" + name + ".c"; 44 45 XCACHE_MODULES += " " + name; 45 46 STDOUT.WriteLine("Enabling XCache Module: " + name); … … 76 77 if (PHP_XCACHE_TEST != "no") { 77 78 ADD_FLAG("XCACHE_ENABLE_TEST", "-DXCACHE_ENABLE_TEST"); 78 xcache_sources += " xc_malloc.c";79 xcache_sources += " main/xc_malloc.c"; 79 80 AC_DEFINE("HAVE_XCACHE_TEST", 1, "Define to enable XCache self test"); 80 81 } … … 130 131 XCACHE_PROC_SOURCES=glob(srcdir + "\\processor\\*.m4").join(' '); 131 132 ADD_FLAG("XCACHE_PROC_SOURCES", XCACHE_PROC_SOURCES); 132 // {{{ check for opcode_spec_def.h133 STDOUT.Write("Checking if you have opcode_spec_def.h for XCache ... ");134 var file = srcdir + "\\opcode_spec_def.h";135 if (FSO.FileExists(file)) {136 STDOUT.WriteLine("yes");137 AC_DEFINE("HAVE_XCACHE_OPCODE_SPEC_DEF", 1, "Define if you have opcode_spec_def.h for XCache");138 }139 else {140 STDOUT.WriteLine("no");141 142 // check for features depend on opcode_spec_def.h143 var xcache_require_opcode_spec_def = function(withval, name) {144 if (withval != "no") {145 ERROR(file + " is required to enable XCache " + name);146 }147 }148 xcache_require_opcode_spec_def(PHP_XCACHE_DISASSEMBLER, "disassembler");149 }150 // }}}151 133 }

