From: Ryan Bloom Date: Mon, 12 Jun 2000 17:04:39 +0000 (+0000) Subject: All of Apache uses APR for shared memory, so Apache doesn't need to check X-Git-Tag: APACHE_2_0_ALPHA_5~357 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec58094da8832bc26baa401ad1aa5f55e7ec1753;p=apache All of Apache uses APR for shared memory, so Apache doesn't need to check for SHM_[RW]. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85539 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/acinclude.m4 b/acinclude.m4 index bff59b5d94..a695c0863a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -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 -#include -#ifndef _OSD_POSIX -#include -#else -#define _KMEMUSER /* BS2000 needs this to enable SHM_[RW] */ -#include -#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( [ diff --git a/server/mpm/config.m4 b/server/mpm/config.m4 index 97cddbfb3e..f5634e8429 100644 --- a/server/mpm/config.m4 +++ b/server/mpm/config.m4 @@ -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