Commit e9f41080 authored by Brian Havard's avatar Brian Havard
Browse files

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
parent 99c0bb12
Loading
Loading
Loading
Loading
+2 −2
Changes for server/mpm/config.m4: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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