From: Brian Pane Date: Tue, 16 Apr 2002 23:39:09 +0000 (+0000) Subject: Added support for the threadpool MPM X-Git-Tag: 2.0.36~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55ed69bf5e695da3685a8f2a9395969474230298;p=thirdparty%2Fapache%2Fhttpd.git Added support for the threadpool MPM git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94673 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/config.m4 b/server/mpm/config.m4 index aae3afab046..5e5dd424d12 100644 --- a/server/mpm/config.m4 +++ b/server/mpm/config.m4 @@ -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|worker|prefork|mpmt_os2|perchild|leader}),[ + MPM={beos|worker|prefork|mpmt_os2|perchild|leader|threadpool}),[ APACHE_MPM=$withval ],[ if test "x$APACHE_MPM" = "x"; then @@ -12,7 +12,7 @@ AC_MSG_RESULT($APACHE_MPM) apache_cv_mpm=$APACHE_MPM -if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild" -o "$apache_cv_mpm" = "leader"; then +if test "$apache_cv_mpm" = "worker" -o "$apache_cv_mpm" = "perchild" -o "$apache_cv_mpm" = "leader" -o "$apache_cv_mpm" = "threadpool" ; then APR_CHECK_APR_DEFINE(APR_HAS_THREADS, srclib/apr) if test "x$ac_cv_define_APR_HAS_THREADS" = "xno"; then @@ -26,7 +26,7 @@ fi APACHE_FAST_OUTPUT(server/mpm/Makefile) MPM_NAME=$apache_cv_mpm -if test "$MPM_NAME" = "leader"; then +if test "$MPM_NAME" = "leader" -o "$MPM_NAME" = "threadpool" ; then MPM_SUBDIR_NAME=experimental/$MPM_NAME else MPM_SUBDIR_NAME=$MPM_NAME