summaryrefslogtreecommitdiffstats
path: root/server/mpm/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'server/mpm/config.m4')
-rw-r--r--server/mpm/config.m413
1 files changed, 10 insertions, 3 deletions
diff --git a/server/mpm/config.m4 b/server/mpm/config.m4
index 04d8562981..963bb18e7a 100644
--- a/server/mpm/config.m4
+++ b/server/mpm/config.m4
@@ -63,9 +63,7 @@ ap_mpm_is_supported ()
ap_mpm_is_threaded ()
{
- dnl Special support for --with-mpm=shared
- dnl Assume a threaded MPM can be used.
- if test "x$MPM_NAME" = "xshared"; then
+ if test "$mpm_build" = "shared" -a ac_cv_define_APR_HAS_THREADS = "yes"; then
return 0
fi
@@ -76,3 +74,12 @@ ap_mpm_is_threaded ()
done
return 1
}
+
+ap_mpm_is_enabled ()
+{
+ if echo "$ENABLED_MPMS" | grep " $1 " >/dev/null; then
+ return 0
+ else
+ return 1
+ fi
+}