Changeset 249 for eaccelerator/trunk/config.w32
- Timestamp:
- 07/27/06 16:45:55 (2 years ago)
- Files:
-
- eaccelerator/trunk/config.w32 (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/config.w32
r239 r249 3 3 4 4 ARG_ENABLE("eaccelerator", "Enable eaccelerator support", "no"); 5 ARG_ENABLE("eloader", "Enable eloader support", "no");6 5 7 6 ARG_WITH("eaccelerator-crash-detection", "Include eaccelerator crash detection", "yes"); 8 7 ARG_WITH("eaccelerator-optimizer", "Include eaccelerator optimizer", "yes"); 9 ARG_WITH("eaccelerator-encoder", "Include eaccelerator encoder", "yes");10 ARG_WITH("eaccelerator-loader", "Include eaccelerator loader", "yes");11 8 ARG_WITH("eaccelerator-shared-memory", "Include eaccelerator shared memory functions", "no"); 12 9 ARG_WITH("eaccelerator-sessions", "Include eaccelerator sessions", "no"); … … 16 13 ARG_WITH("eaccelerator-debug", "Enable the debug code so eaccelerator logs verbosely", "no"); 17 14 18 if (PHP_EACCELERATOR != "no" && PHP_ELOADER != "no") {19 ERROR("You can't enable eaccelerator and eloader support at the same time.");20 }21 22 15 if (PHP_EACCELERATOR != "no") { 23 EXTENSION("eaccelerator", "eaccelerator.c optimize.c encoder.c loader.copcodes.c content.c mm.c session.c shm.c debug.c cache.c ea_restore.c ea_store.c ea_info.c ea_dasm.c", PHP_EACCELERATOR_SHARED);16 EXTENSION("eaccelerator", "eaccelerator.c optimize.c opcodes.c content.c mm.c session.c shm.c debug.c cache.c ea_restore.c ea_store.c ea_info.c ea_dasm.c", PHP_EACCELERATOR_SHARED); 24 17 AC_DEFINE("HAVE_EACCELERATOR", 1, "Define if you like to use eAccelerator"); 25 18 … … 29 22 if (PHP_EACCELERATOR_OPTIMIZER != "no") { 30 23 AC_DEFINE("WITH_EACCELERATOR_OPTIMIZER", 1, "Define if you like to use peephole opcode optimization"); 31 }32 if (PHP_EACCELERATOR_ENCODER != "no") {33 AC_DEFINE("WITH_EACCELERATOR_ENCODER", 1, "Define if you like to use eAccelerator enoder");34 }35 if (PHP_EACCELERATOR_LOADER != "no" && PHP_ELOADER == "no") {36 AC_DEFINE("WITH_EACCELERATOR_LOADER", 1, "Define if you like to load files encoded by eAccelerator encoder");37 24 } 38 25 if (PHP_EACCELERATOR_SHARED_MEMORY != "no" || PHP_EACCELERATOR_CONTENT_CACHING != "no") { … … 57 44 AC_DEFINE("HAVE_EXT_SESSION_PHP_SESSION_H", 1, "Define if you have the <ext/session/php_session.h> header file."); 58 45 } 59 60 if (PHP_ELOADER != "no") {61 EXTENSION("eloader", "loader.c opcodes.c ea_restore.c", PHP_ELOADER_SHARED, "/D HAVE_EACCELERATOR_STANDALONE_LOADER");62 AC_DEFINE("HAVE_EACCELERATOR", 1, "Define if you like to use eAccelerator");63 64 AC_DEFINE("WITH_EACCELERATOR_LOADER", 1, "Define if you like to load files encoded by eAccelerator encoder");65 }