From: Brian Havard Date: Wed, 26 Jan 2000 07:47:34 +0000 (+0000) Subject: Only check for pthreads for mpms that actually need it rather than assuming X-Git-Tag: 1.3.13~5 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a65a6b4bcc07cddacc0f883b7ebbd550d75d6f34;p=apache Only check for pthreads for mpms that actually need it rather than assuming 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 --- diff --git a/server/mpm/config.m4 b/server/mpm/config.m4 index e28ab8b387..7206279659 100644 --- a/server/mpm/config.m4 +++ b/server/mpm/config.m4 @@ -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