Changeset 101

Show
Ignore:
Timestamp:
05/16/05 00:56:09 (4 years ago)
Author:
zoeloelip
Message:

Added --without-eaccelerator-use-inode configure switch to disable the use
of inode numbers for the hash keys (Feature request 1201159). The default
behaviour doesn't change.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r100 r101  
     12005-04-16 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
     2        * Added --without-eaccelerator-use-inode configure switch to disable the use 
     3          of inode numbers for the hash keys (Feature request 1201159). The default 
     4          behaviour doesn't change. 
     5 
    162005-04-15 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be> 
    27        * Compile fix for bug 1201564. 
  • eaccelerator/trunk/config.m4

    r73 r101  
    8686]) 
    8787 
     88AC_ARG_WITH(eaccelerator-use-inode, 
     89[  --without-eaccelerator-use-inode            Don't use inodes to determine hash keys (never used on win32)],[ 
     90  eaccelerator_inode=$withval 
     91],[ 
     92  eaccelerator_inode=yes 
     93]) 
     94 
    8895dnl PHP_BUILD_SHARED 
    8996if test "$PHP_EACCELERATOR" != "no"; then 
     
    120127  if test "$eaccelerator_executor" = "yes"; then 
    121128    AC_DEFINE(WITH_EACCELERATOR_EXECUTOR, 1, [Define if you like use optimized executor (not implemented yet)]) 
     129  fi 
     130  if test "$eaccelerator_inode" = "yes"; then 
     131    AC_DEFINE(WITH_EACCELERATOR_USE_INODE, 1, [Undef if you don't wan't to use inodes to determine hash keys]) 
    122132  fi 
    123133 
  • eaccelerator/trunk/eaccelerator.h

    r76 r101  
    5757#endif 
    5858 
    59 // TODO: add as configure switch 
    60 #ifndef ZEND_WIN32 
     59#if !defined(ZEND_WIN32) && defined(WITH_EACCELERATOR_USE_INODE) 
    6160/* UnDefine if your filesystem doesn't support inodes */ 
    6261#  define EACCELERATOR_USE_INODE