Changeset 150 for eaccelerator/trunk/config.m4
- Timestamp:
- 02/08/06 10:45:50 (3 years ago)
- Files:
-
- eaccelerator/trunk/config.m4 (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
eaccelerator/trunk/config.m4
r134 r150 93 93 ]) 94 94 95 AC_ARG_WITH(eaccelerator-userid, 96 [ --with-eaccelerator-userid eAccelerator runs under this userid, only needed when using sysvipc semaphores.],[ 97 ea_userid=$withval 98 ],[ 99 ea_userid=0 100 ]) 101 95 102 dnl PHP_BUILD_SHARED 96 103 if test "$PHP_EACCELERATOR" != "no"; then … … 98 105 AC_DEFINE(HAVE_EACCELERATOR, 1, [Define if you like to use eAccelerator]) 99 106 107 AC_DEFINE_UNQUOTED(EA_USERID, $ea_userid, [The userid eAccelerator will be running under.]) 108 100 109 if test "$eaccelerator_crash_detection" = "yes"; then 101 110 AC_DEFINE(WITH_EACCELERATOR_CRASH_DETECTION, 1, [Define if you like to release eAccelerator resources on PHP crash]) … … 301 310 msg="spinlock" 302 311 elif test "$mm_sem_ipc" = "yes"; then 303 AC_DEFINE(MM_SEM_IPC, 1, [Define if you like to use sysvipc based semaphores]) 304 msg="sysvipc" 312 if test $ea_userid = 0; then 313 AC_MSG_ERROR("You need to pass the user id eaccelerator will be running under when using sysvipc semaphores") 314 else 315 AC_DEFINE(MM_SEM_IPC, 1, [Define if you like to use sysvipc based semaphores]) 316 msg="sysvipc" 317 fi 305 318 elif test "$mm_sem_fcntl" = "yes"; then 306 319 AC_DEFINE(MM_SEM_FCNTL, 1, [Define if you like to use fcntl based semaphores])