]> granicus.if.org Git - apache/commitdiff
All of Apache uses APR for shared memory, so Apache doesn't need to check
authorRyan Bloom <rbb@apache.org>
Mon, 12 Jun 2000 17:04:39 +0000 (17:04 +0000)
committerRyan Bloom <rbb@apache.org>
Mon, 12 Jun 2000 17:04:39 +0000 (17:04 +0000)
for SHM_[RW].

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85539 13f79535-47bb-0310-9956-ffa450edef68

acinclude.m4
server/mpm/config.m4

index bff59b5d94ea36d71dce679d17fa9552a86b4d14..a695c0863ac8db3591c755285c013da091c1d542 100644 (file)
@@ -221,31 +221,6 @@ AC_DEFUN(APACHE_CHECK_SIGWAIT_ONE_ARG,[
   fi
 ])
 
-AC_DEFUN(APACHE_CHECK_SHM_RW,[
-  AC_CACHE_CHECK([whether system defines SHM_R,SHM_W],ac_cv_shm_rw,[
-  AC_TRY_COMPILE([
-#include <sys/types.h>
-#include <sys/ipc.h>
-#ifndef _OSD_POSIX
-#include <sys/shm.h>
-#else
-#define _KMEMUSER   /* BS2000 needs this to enable SHM_[RW] */
-#include <sys/shm.h>
-#undef  _KMEMUSER
-#endif
-],[
-  int x = SHM_R | SHM_W;
-],[
-  ac_cv_shm_rw=yes
-],[
-  ac_cv_shm_rw=no
-])])
-  if test "$ac_cv_shm_rw" = "no"; then
-    AC_DEFINE(SHM_R, 0400, [ ])
-    AC_DEFINE(SHM_W, 0200, [ ])
-  fi
-])
-
 AC_DEFUN(APACHE_EBCDIC,[
   AC_CACHE_CHECK([whether system uses EBCDIC],ac_cv_ebcdic,[
   AC_TRY_RUN( [
index 97cddbfb3eb01bf6153c62bf4b4d2a1fa2897428..f5634e8429ab5ed6e5485f0ce36ee361fdcece06 100644 (file)
@@ -30,7 +30,6 @@ if test "$apache_cv_mpm" = "mpmt_pthread" -o "$apache_cv_mpm" = "dexter"; then
 fi
 
 APACHE_CHECK_SIGWAIT_ONE_ARG
-APACHE_CHECK_SHM_RW
 
 APACHE_FAST_OUTPUT(modules/mpm/Makefile)
 MPM_NAME=$apache_cv_mpm