]> granicus.if.org Git - apache/commitdiff
This fixes the bug in my last commit. Apache always caches a value for
authorRyan Bloom <rbb@apache.org>
Wed, 22 Dec 1999 21:24:45 +0000 (21:24 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 22 Dec 1999 21:24:45 +0000 (21:24 +0000)
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

server/mpm/dexter/config.m4
server/mpm/mpmt_pthread/config.m4

index 2106ca95d821111869fe0948b881d413c24c98c4..65a93b84d8989a84157bb54277276b99b307ca6c 100644 (file)
@@ -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
index 00636a151e4bd70f75f36b410fce349074fdb17a..8bbf232ae17e4d266db38551a6da4a06af732276 100644 (file)
@@ -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