Show
Ignore:
Timestamp:
07/30/06 13:09:59 (2 years ago)
Author:
bart
Message:

Fixed detection of SysV IPC shared memory and made anonymous mmap

the first selected type. This makes the behaviour of rc1 the
default. anonymous mmap doens't have the problem of shmmax. SysVIPC is
still available!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/branches/0.9.5/config.m4

    r207 r257  
    230230 
    231231  AC_MSG_CHECKING(for best shared memory type) 
    232   if test "$mm_shm_ipc" = "yes"; then 
     232  if test "$mm_shm_mmap_anon" = "yes"; then 
     233    AC_DEFINE(MM_SHM_MMAP_ANON, 1, [Define if you like to use anonymous mmap based shared memory]) 
     234    msg="anonymous mmap" 
     235  elif test "$mm_shm_ipc" = "yes"; then 
    233236    AC_DEFINE(MM_SHM_IPC, 1, [Define if you like to use sysvipc based shared memory]) 
    234237    msg="sysvipc" 
    235   elif test "$mm_shm_mmap_anon" = "yes"; then 
    236     AC_DEFINE(MM_SHM_MMAP_ANON, 1, [Define if you like to use anonymous mmap based shared memory]) 
    237     msg="anonymous mmap" 
    238238  elif test "$mm_shm_mmap_zero" = "yes"; then 
    239239    AC_DEFINE(MM_SHM_MMAP_ZERO, 1, [Define if you like to use mmap on /dev/zero based shared memory])