rbb 99/12/24 13:12:24
Modified: src/modules/mpm config.m4
Log:
Fix the threads check so it works on non-bash shells.
Submitted by: Sascha Schumann
Reviewed by: Ryan Bloom
Revision Changes Path
1.7 +1 -1 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.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- config.m4 1999/12/24 18:31:10 1.6
+++ config.m4 1999/12/24 21:12:20 1.7
@@ -19,7 +19,7 @@
AC_MSG_RESULT("$threads_result")
AC_MSG_CHECKING([to ensure I can compile the selected MPM])
-if test "$apache_threads_working" = "no" && "$apache_cv_mpm" != "prefork";
then
+if test "$apache_threads_working" = "no" && test "$apache_cv_mpm" !=
"prefork"; then
AC_MSG_RESULT([can't compile selected MPM because there are no threads,
defaulting to prefork])
apache_cv_mpm="prefork"
else