dreid 00/02/07 04:05:23
Modified: src/modules/mpm config.m4 Log: 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. Revision Changes Path 1.11 +5 -1 apache-2.0/src/modules/mpm/config.m4 Index: config.m4 =================================================================== RCS file: /home/cvs/apache-2.0/src/modules/mpm/config.m4,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- config.m4 2000/01/26 07:47:34 1.10 +++ config.m4 2000/02/07 12:05:22 1.11 @@ -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)