]> granicus.if.org Git - apache/commitdiff
These changes allow the MPM to be selected based on platform. At present it
authorDavid Reid <dreid@apache.org>
Mon, 7 Feb 2000 12:05:22 +0000 (12:05 +0000)
committerDavid Reid <dreid@apache.org>
Mon, 7 Feb 2000 12:05:22 +0000 (12:05 +0000)
works for BeOS but adding others shouldn't be hard.  Also added the OS2
MPM to the list.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84589 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/config.m4

index 7206279659cbd904b0b89c26633437d253fe6830..2d3f877a5d99ab634b578a2374438854a4de8758 100644 (file)
@@ -1,10 +1,14 @@
 AC_MSG_CHECKING(which MPM to use)
 AC_ARG_WITH(mpm,
 [  --with-mpm=MPM          Choose the process model for Apache to use.
-                          MPM={dexter,mpmt_beos,mpmt_pthread,prefork}],[
+                          MPM={dexter,mpmt_beos,mpmt_pthread,prefork,spmt_os2}],[
   APACHE_MPM=$withval
 ],[
   APACHE_MPM=mpmt_pthread
+  case "`uname -sr`" in
+    "BeOS"*)
+      APACHE_MPM=mpmt_beos;;
+  esac 
 ])
 AC_MSG_RESULT($APACHE_MPM)