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
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
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