forked from eaccelerator/eaccelerator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.w32
35 lines (30 loc) · 1.78 KB
/
config.w32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// vim:ft=javascript
ARG_ENABLE("eaccelerator", "Enable eaccelerator support", "no");
ARG_WITH("eaccelerator-crash-detection", "Include eaccelerator crash detection", "yes");
ARG_WITH("eaccelerator-optimizer", "Include eaccelerator optimizer", "yes");
ARG_WITH("eaccelerator-info", "Compile the eAccelerator information functions", "yes");
ARG_WITH("eaccelerator-doc-comment-inclusion", "Retain doc-comments in internal php structures", "yes");
ARG_WITH("eaccelerator-disassembler", "Include disassembler", "no");
ARG_WITH("eaccelerator-debug", "Enable the debug code so eaccelerator logs verbosely", "no");
if (PHP_EACCELERATOR != "no") {
EXTENSION("eaccelerator", "eaccelerator.c optimize.c opcodes.c fnmatch.c mm.c debug.c ea_restore.c ea_store.c ea_info.c ea_dasm.c", PHP_EACCELERATOR_SHARED);
AC_DEFINE("HAVE_EACCELERATOR", 1, "Define if you like to use eAccelerator");
if (PHP_EACCELERATOR_CRASH_DETECTION != "no") {
AC_DEFINE("WITH_EACCELERATOR_CRASH_DETECTION", 1, "Define if you like to release eAccelerator resources on PHP crash");
}
if (PHP_EACCELERATOR_OPTIMIZER != "no") {
AC_DEFINE("WITH_EACCELERATOR_OPTIMIZER", 1, "Define if you like to use peephole opcode optimization");
}
if (PHP_EACCELERATOR_INFO != "no") {
AC_DEFINE("WITH_EACCELERATOR_INFO", 1, "Define if you want the information functions");
}
if (PHP_EACCELERATOR_DOC_COMMENT_INCLUSION != "no") {
AC_DEFINE("INCLUDE_DOC_COMMENTS", 1, "Define if you want eAccelerator to retain doc-comments in internal php structures");
}
if (PHP_EACCELERATOR_DISASSEMBLER != "no") {
AC_DEFINE("WITH_EACCELERATOR_DISASSEMBLER", 1, "Define if you like to explore Zend bytecode");
}
if (PHP_EACCELERATOR_DEBUG != "no") {
AC_DEFINE("DEBUG", 1, "Undef when you want to enable eaccelerator debug code");
}
}