From: David Reid Date: Mon, 7 Feb 2000 12:05:22 +0000 (+0000) Subject: These changes allow the MPM to be selected based on platform. At present it X-Git-Tag: 1.3.12~40 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=97474d1a84a624a2746bb8ea0ccc7cd20b1db939;p=apache These changes allow the MPM to be selected based on platform. At present it 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 --- diff --git a/server/mpm/config.m4 b/server/mpm/config.m4 index 7206279659..2d3f877a5d 100644 --- a/server/mpm/config.m4 +++ b/server/mpm/config.m4 @@ -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)