aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/apache2/03-add-mpm-to-build-system.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/main/apache2/03-add-mpm-to-build-system.patch b/main/apache2/03-add-mpm-to-build-system.patch
new file mode 100644
index 0000000000..974c50eb46
--- /dev/null
+++ b/main/apache2/03-add-mpm-to-build-system.patch
@@ -0,0 +1,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