bjh 00/01/25 23:47:35
Modified: src/modules/mpm config.m4
Log:
Only check for pthreads for mpms that actually need it rather than assuming
everything except prefork needs it. Clarify threads != pthreads.
Revision Changes Path
1.10 +2 -2 apache-2.0/src/modules/mpm/config.m4
Index: config.m4
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/mpm/config.m4,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- config.m4 2000/01/16 20:00:51 1.9
+++ config.m4 2000/01/26 07:47:34 1.10
@@ -10,13 +10,13 @@
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