summaryrefslogtreecommitdiffstats
path: root/main/apache2/03-add-mpm-to-build-system.patch
blob: 974c50eb46a01943f60b4eb2534d204203a0ae5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Add the new MPM to the build system as an alternative to the other MPMs,
and mark it as experimental.

Index: apache2.2/server/mpm/config.m4
===================================================================
--- apache2.2.orig/server/mpm/config.m4	2007-01-29 21:30:26.000000000 +0100
+++ apache2.2/server/mpm/config.m4	2007-01-29 21:30:35.000000000 +0100
@@ -1,7 +1,7 @@
 AC_MSG_CHECKING(which MPM to use)
 AC_ARG_WITH(mpm,
 APACHE_HELP_STRING(--with-mpm=MPM,Choose the process model for Apache to use.
-                          MPM={beos|event|worker|prefork|mpmt_os2|winnt}),[
+                          MPM={beos|event|worker|prefork|mpmt_os2|winnt|itk}),[
   APACHE_MPM=$withval
 ],[
   if test "x$APACHE_MPM" = "x"; then
@@ -23,7 +23,7 @@
 
 ap_mpm_is_experimental ()
 {
-    if test "$apache_cv_mpm" = "event" ; then
+    if test "$apache_cv_mpm" = "event" -o "$apache_cv_mpm" = "itk" ; then
         return 0
     else
         return 1