From: Ryan Bloom Date: Wed, 22 Dec 1999 21:24:45 +0000 (+0000) Subject: This fixes the bug in my last commit. Apache always caches a value for X-Git-Tag: 1.3.10~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3a24e14b8c13804c950aba1940b2a7f69ca7570;p=thirdparty%2Fapache%2Fhttpd.git This fixes the bug in my last commit. Apache always caches a value for enable-threads. This allows us to re-configure the server for different MPM's without worrying about not having APR-threads available. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84360 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/dexter/config.m4 b/server/mpm/dexter/config.m4 index 2106ca95d82..65a93b84d89 100644 --- a/server/mpm/dexter/config.m4 +++ b/server/mpm/dexter/config.m4 @@ -1,6 +1,9 @@ dnl ## XXX - Need a more thorough check of the proper flags to use if test "$MPM_NAME" = "dexter" ; then + ac_cv_enable_threads="yes" + AC_CACHE_SAVE + APACHE_OUTPUT(modules/mpm/$MPM_NAME/Makefile) APACHE_MPM_PTHREAD APACHE_MPM_CHECK_SHMEM diff --git a/server/mpm/mpmt_pthread/config.m4 b/server/mpm/mpmt_pthread/config.m4 index 00636a151e4..8bbf232ae17 100644 --- a/server/mpm/mpmt_pthread/config.m4 +++ b/server/mpm/mpmt_pthread/config.m4 @@ -1,6 +1,9 @@ dnl ## XXX - Need a more thorough check of the proper flags to use if test "$MPM_NAME" = "mpmt_pthread" ; then + ac_cv_enable_threads="yes" + AC_CACHE_SAVE + APACHE_OUTPUT(modules/mpm/$MPM_NAME/Makefile) APACHE_MPM_PTHREAD