Browse Source

refactor: fix win32 build. improve help a little bit

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1004 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
8321be2cf7
  1. 32
      config.m4
  2. 32
      config.w32

32
config.m4

@ -23,26 +23,26 @@ if test "$PHP_XCACHE" != "no"; then
AC_DEFINE([HAVE_XCACHE_CONSTANT], 1, [Define to enable XCache handling of compile time constants])
fi
xcache_sources="
util/xc_stack.c \
util/xc_trace.c \
xcache.c \
xcache/xc_const_string.c \
xcache/xc_compatibility.c \
xcache/xc_lock.c \
xcache/xc_mem.c \
xcache/xc_opcode_spec.c \
xcache/xc_processor.c \
xcache/xc_sandbox.c \
xcache/xc_shm.c \
xcache/xc_shm_mmap.c \
xcache/xc_utils.c \
"
xcache_sources=" \
util/xc_stack.c \
util/xc_trace.c \
xcache.c \
xcache/xc_const_string.c \
xcache/xc_compatibility.c \
xcache/xc_lock.c \
xcache/xc_mem.c \
xcache/xc_opcode_spec.c \
xcache/xc_processor.c \
xcache/xc_sandbox.c \
xcache/xc_shm.c \
xcache/xc_shm_mmap.c \
xcache/xc_utils.c \
"
XCACHE_MODULES="cacher"
XCACHE_MODULE([optimizer], [optimizer ], [XCACHE_OPTIMIZER], [(N/A)])
XCACHE_MODULE([coverager], [coverager ], [XCACHE_COVERAGER], [Enable code coverage dumper, useful for testing php scripts])
XCACHE_MODULE([assembler], [assembler ], [XCACHE_ASSEMBLER], [(N/A)])
XCACHE_MODULE([disassembler], [disassembler], [XCACHE_DISASSEMBLER], [Enable opcode to php variable dumper, NOT for production server])
XCACHE_MODULE([disassembler], [disassembler], [XCACHE_DISASSEMBLER], [Enable opcode to php variable dumper, not for server usage])
XCACHE_MODULE([encoder], [encoder ], [XCACHE_ENCODER], [(N/A)])
XCACHE_MODULE([decoder], [decoder ], [XCACHE_DECODER], [(N/A)])
AC_DEFINE_UNQUOTED([XCACHE_MODULES], "$XCACHE_MODULES", [Define what modules is built with XCache])

32
config.w32

@ -11,26 +11,26 @@ if (PHP_XCACHE != "no") {
}
// }}}
var xcache_sources = "
util/xc_stack.c \
util/xc_trace.c \
xcache.c \
xcache/xc_const_string.c \
xcache/xc_compatibility.c \
xcache/xc_lock.c \
xcache/xc_mem.c \
xcache/xc_opcode_spec.c \
xcache/xc_processor.c \
xcache/xc_sandbox.c \
xcache/xc_shm.c \
xcache/xc_shm_mmap.c \
xcache/xc_utils.c \
";
var xcache_sources = " \
util/xc_stack.c \
util/xc_trace.c \
xcache.c \
xcache/xc_const_string.c \
xcache/xc_compatibility.c \
xcache/xc_lock.c \
xcache/xc_mem.c \
xcache/xc_opcode_spec.c \
xcache/xc_processor.c \
xcache/xc_sandbox.c \
xcache/xc_shm.c \
xcache/xc_shm_mmap.c \
xcache/xc_utils.c \
";
// {{{ add sources on enabled
ARG_ENABLE("xcache-optimizer", "(N/A)", "no");
ARG_ENABLE("xcache-coverager", "Enable code coverage dumper, useful for testing php scripts", "no");
ARG_ENABLE("xcache-assembler", "(N/A)", "no");
ARG_ENABLE("xcache-disassembler", "Enable opcode to php variable dumper, NOT for production server", "no");
ARG_ENABLE("xcache-disassembler", "Enable opcode to php variable dumper, not for server usage", "no");
ARG_ENABLE("xcache-encoder", "(N/A)", "no");
ARG_ENABLE("xcache-decoder", "(N/A)", "no");

Loading…
Cancel
Save