Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ac6d7d2e5c6ebc3e79483737562cf9f8 > files > 3

php-eaccelerator-0.9.5-0.rc1.1mdv2007.0.src.rpm

--- config.m4	2006-02-08 10:45:50.000000000 +0100
+++ config.m4.oden	2006-03-12 20:06:30.000000000 +0100
@@ -174,17 +174,6 @@
   mm_shm_mmap_file=no
   mm_shm_mmap_posix=no
 
-  AC_MSG_CHECKING(for sysvipc shared memory support)
-  AC_TRY_RUN([#define MM_SEM_NONE
-#define MM_SHM_IPC
-#define MM_TEST_SHM
-#include "$ext_srcdir/mm.c"
-],dnl
-    mm_shm_ipc=yes
-    msg=yes,msg=no,msg=no)
-  AC_MSG_RESULT([$msg])
-  EA_REMOVE_IPC_TEST()
-
   AC_MSG_CHECKING(for mmap shared memory support)
   AC_TRY_RUN([#define MM_SEM_NONE
 #define MM_SHM_MMAP_FILE
@@ -226,10 +215,7 @@
   AC_MSG_RESULT([$msg])
 
   AC_MSG_CHECKING(for best shared memory type)
-  if test "$mm_shm_ipc" = "yes"; then
-    AC_DEFINE(MM_SHM_IPC, 1, [Define if you like to use sysvipc based shared memory])
-    msg="sysvipc"
-  elif test "$mm_shm_mmap_anon" = "yes"; then
+  if test "$mm_shm_mmap_anon" = "yes"; then
     AC_DEFINE(MM_SHM_MMAP_ANON, 1, [Define if you like to use anonymous mmap based shared memory])
     msg="anonymous mmap"
   elif test "$mm_shm_mmap_zero" = "yes"; then
@@ -276,16 +262,6 @@
     msg=yes,msg=no,msg=no)
   AC_MSG_RESULT([$msg])
 
-  AC_MSG_CHECKING(for sysvipc semaphores support)
-  AC_TRY_RUN([#define MM_SEM_IPC
-#define MM_TEST_SEM
-#include "$ext_srcdir/mm.c"
-],dnl
-    mm_sem_ipc=yes
-    msg=yes,msg=no,msg=no)
-  AC_MSG_RESULT([$msg])
-  EA_REMOVE_IPC_TEST()
-
   AC_MSG_CHECKING(for fcntl semaphores support)
   AC_TRY_RUN([#define MM_SEM_FCNTL
 #define MM_TEST_SEM
@@ -308,13 +284,6 @@
   if test "$mm_sem_spinlock" = "yes"; then
     AC_DEFINE(MM_SEM_SPINLOCK, 1, [Define if you like to use spinlock based semaphores])
     msg="spinlock"
-  elif test "$mm_sem_ipc" = "yes"; then
-    if test $ea_userid = 0; then
-        AC_MSG_ERROR("You need to pass the user id eaccelerator will be running under when using sysvipc semaphores")
-    else
-        AC_DEFINE(MM_SEM_IPC, 1, [Define if you like to use sysvipc based semaphores])
-        msg="sysvipc"
-    fi
   elif test "$mm_sem_fcntl" = "yes"; then
     AC_DEFINE(MM_SEM_FCNTL, 1, [Define if you like to use fcntl based semaphores])
     msg="fcntl"