]> granicus.if.org Git - apache/commitdiff
Only check for pthreads for mpms that actually need it rather than assuming
authorBrian Havard <bjh@apache.org>
Wed, 26 Jan 2000 07:47:34 +0000 (07:47 +0000)
committerBrian Havard <bjh@apache.org>
Wed, 26 Jan 2000 07:47:34 +0000 (07:47 +0000)
everything except prefork needs it. Clarify threads != pthreads.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84521 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/config.m4

index e28ab8b38734ff8752b119bdf03f68483416ddca..7206279659cbd904b0b89c26633437d253fe6830 100644 (file)
@@ -10,13 +10,13 @@ AC_MSG_RESULT($APACHE_MPM)
 
 apache_cv_mpm=$APACHE_MPM
        
-if test "$apache_cv_mpm" != "prefork"; then
+if test "$apache_cv_mpm" = "mpmt_pthread" -o "$apache_cv_mpm" = "dexter"; then
   PTHREADS_CHECK
   AC_MSG_CHECKING([for which threading library to use])
   AC_MSG_RESULT($threads_result)
 
   if test "$apache_threads_working" = "no"; then
-    AC_MSG_RESULT(The currently selected MPM requires threads which your system seems to lack)
+    AC_MSG_RESULT(The currently selected MPM requires pthreads which your system seems to lack)
     AC_MSG_CHECKING(checking for replacement)
     AC_MSG_RESULT(prefork selected)
     apache_cv_mpm=prefork