summaryrefslogtreecommitdiffstats
path: root/server/mpm/config.m4
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2009-11-03 15:36:48 +0100
committerJeff Trawick <trawick@apache.org>2009-11-03 15:36:48 +0100
commitd4e7b85b2f4f6e169841ce74cab119e0c9bb2a77 (patch)
tree3946ebbdc22b507c8c40eeb317b75685e19720a2 /server/mpm/config.m4
parent--with-mpm and --enable-mpms-shared: (diff)
downloadapache2-d4e7b85b2f4f6e169841ce74cab119e0c9bb2a77.tar.xz
apache2-d4e7b85b2f4f6e169841ce74cab119e0c9bb2a77.zip
Change the configure-based MPM build mechanism to support building
an MPM as a shared shared or dynamic module, primarily using the APACHE_MPM_MODULE() function. --enable-mpms-shared now builds/installs the MPMs as dynamic modules. (But no LoadModule directives are added.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@832434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/config.m4')
-rw-r--r--server/mpm/config.m46
1 files changed, 5 insertions, 1 deletions
diff --git a/server/mpm/config.m4 b/server/mpm/config.m4
index b855368492..08541b0932 100644
--- a/server/mpm/config.m4
+++ b/server/mpm/config.m4
@@ -49,7 +49,11 @@ AC_DEFUN(APACHE_MPM_SUPPORTED,[
dnl APACHE_MPM_ENABLED(name)
AC_DEFUN(APACHE_MPM_ENABLED,[
- ENABLED_MPMS="$ENABLED_MPMS $1 "
+ if ap_mpm_is_enabled $1; then
+ :
+ else
+ ENABLED_MPMS="$ENABLED_MPMS $1 "
+ fi
])dnl
ap_mpm_is_supported ()