Changeset 11 for trunk/config.m4
- Timestamp:
- 2006-05-24T09:52:48+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/config.m4 (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/config.m4
r8 r11 1 dnl2 dnl $Id:$3 1 dnl vim:ts=2:sw=2:expandtab 4 2 5 3 AC_DEFUN([XCACHE_OPTION], [ 6 PHP_ARG_ENABLE(xcache-$1, for XC ACHE$1,7 [ --enable-xcache-$2 XC ACHE: $4], no, no)8 if test "$PHP_$3" = "yes"; then4 PHP_ARG_ENABLE(xcache-$1, for XCache $1, 5 [ --enable-xcache-$2 XCache: $4], no, no) 6 if test "$PHP_$3" != "no"; then 9 7 xcache_sources="$xcache_sources $1.c" 10 8 HAVE_$3=1 11 AC_DEFINE([HAVE_$3], 1, [Define for XC ACHE: $4])9 AC_DEFINE([HAVE_$3], 1, [Define for XCache: $4]) 12 10 else 13 11 HAVE_$3= … … 15 13 ])dnl 16 14 17 PHP_ARG_ENABLE(xcache, for XC ACHEsupport,18 [ --enable-xcache Include XC ACHEsupport.])15 PHP_ARG_ENABLE(xcache, for XCache support, 16 [ --enable-xcache Include XCache support.]) 19 17 20 18 if test "$PHP_XCACHE" != "no"; then … … 39 37 PHP_ADD_MAKEFILE_FRAGMENT() 40 38 41 PHP_ARG_ENABLE(xcache-test, for XC ACHEself test,42 [ --enable-xcache-test XC ACHE: Enable self test - FOR DEVELOPERS ONLY!!], no, no)43 if test "$PHP_XCACHE_TEST" = "yes"; then39 PHP_ARG_ENABLE(xcache-test, for XCache self test, 40 [ --enable-xcache-test XCache: Enable self test - FOR DEVELOPERS ONLY!!], no, no) 41 if test "$PHP_XCACHE_TEST" != "no"; then 44 42 XCACHE_ENABLE_TEST=-DXCACHE_ENABLE_TEST 45 AC_DEFINE([HAVE_XCACHE_TEST], 1, [Define to enable XC ACHEself test])43 AC_DEFINE([HAVE_XCACHE_TEST], 1, [Define to enable XCache self test]) 46 44 else 47 45 XCACHE_ENABLE_TEST= … … 49 47 PHP_SUBST([XCACHE_ENABLE_TEST]) 50 48 51 AC_PATH_PROGS(INDENT, [indent cat]) 49 AC_PATH_PROGS([AWK], [gawk awk]) 50 AC_PATH_PROGS([M4], [m4]) 51 AC_PATH_PROGS([GREP], [grep]) 52 AC_PATH_PROGS([SED], [sed]) 53 54 AC_PATH_PROGS([INDENT], [indent cat]) 52 55 case $INDENT in 53 56 */indent[)] … … 64 67 PHP_SUBST([XCACHE_PROC_SOURCES]) 65 68 66 AC_MSG_CHECKING(if you have opcode_spec_def.h for xcache)69 AC_MSG_CHECKING(if you have opcode_spec_def.h for XCache) 67 70 if test -e "$ac_srcdir/opcode_spec_def.h" ; then 68 AC_DEFINE([HAVE_XCACHE_OPCODE_SPEC_DEF], 1, [Define if you have opcode_spec_def.h for xcache])71 AC_DEFINE([HAVE_XCACHE_OPCODE_SPEC_DEF], 1, [Define if you have opcode_spec_def.h for XCache]) 69 72 AC_MSG_RESULT(yes) 70 73 else … … 74 77 AC_MSG_ERROR([cannot build with $1, $ac_srcdir/opcode_spec_def.h required]) 75 78 ]) 76 if test "$ HAVE_XCACHE_DISASSEMBLER" = "1" ; then79 if test "$PHP_XCACHE_DISASSEMBLER" != "no" ; then 77 80 ERROR(disassembler) 78 81 fi
Note: See TracChangeset
for help on using the changeset viewer.

