Changeset 26 for trunk


Ignore:
Timestamp:
2006-05-26T04:28:17+02:00 (8 years ago)
Author:
moo
Message:

list modules compiled in XCache

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/config.m4

    r22 r26  
    66  if test "$PHP_$3" != "no"; then 
    77    xcache_sources="$xcache_sources $1.c" 
     8    XCACHE_MODULES="$XCACHE_MODULES $1" 
    89    HAVE_$3=1 
    910    AC_DEFINE([HAVE_$3], 1, [Define for XCache: $4]) 
     
    2728                  lock.c \ 
    2829                  " 
     30  XCACHE_MODULES="cacher" 
    2931  XCACHE_OPTION([optimizer],    [optimizer   ], [XCACHE_OPTIMIZER],    [(N/A)]) 
    3032  XCACHE_OPTION([coverage],     [coverage    ], [XCACHE_COVERAGE],     [Enable code coverage dumper, NOT for production server]) 
     
    3335  XCACHE_OPTION([encoder],      [encoder     ], [XCACHE_ENCODER],      [(N/A)]) 
    3436  XCACHE_OPTION([decoder],      [decoder     ], [XCACHE_DECODER],      [(N/A)]) 
     37  AC_DEFINE_UNQUOTED([XCACHE_MODULES], "$XCACHE_MODULES", [Define what modules is built with XCache]) 
    3538 
    3639  PHP_NEW_EXTENSION(xcache, $xcache_sources, $ext_shared) 
  • trunk/config.w32

    r22 r26  
    2323    ARG_ENABLE("xcache-decoder",      "(N/A)", "no"); 
    2424 
     25    var XCACHE_MODULES = "cacher"; 
    2526    var options = ["optimizer", 
    2627                   "coverage", 
     
    3334        if (withval != "no") { 
    3435            xcache_sources += " " + name + ".c"; 
     36            XCACHE_MODULES += " " + name; 
    3537            STDOUT.WriteLine("Enabling XCache Module: " + name); 
    3638            AC_DEFINE("HAVE_XCACHE_" + uname, 1, "Define for XCache: " + name) 
    3739        } 
    3840    } 
     41    AC_DEFINE("XCACHE_MODULES", XCACHE_MODULES); 
    3942    // }}} 
    4043    // {{{ check for programs needed 
  • trunk/xcache.c

    r25 r26  
    17471747    php_info_print_table_header(2, "XCache Support", (xc_php_size || xc_var_size) ? "enabled" : "disabled"); 
    17481748    php_info_print_table_row(2, "Version", XCACHE_VERSION); 
     1749    php_info_print_table_row(2, "Modules Built", XCACHE_MODULES); 
    17491750    php_info_print_table_row(2, "Readonly Protection", xc_readonly_protection ? "enabled" : "N/A"); 
    17501751    php_info_print_table_row(2, "Opcode Cache", xc_php_size ? "enabled" : "disabled"); 
    17511752    php_info_print_table_row(2, "Variable Cache", xc_var_size ? "enabled" : "disabled"); 
     1753#ifdef HAVE_XCACHE_COVERAGER 
     1754    php_info_print_table_row(2, "Coverage Dumper", XG(coveragedumper) && xc_coveragedump_dir && xc_coveragedump_dir[0] ? "enabled" : "disabled"); 
     1755#endif 
    17521756    php_info_print_table_end(); 
    17531757    DISPLAY_INI_ENTRIES(); 
Note: See TracChangeset for help on using the changeset viewer.