summaryrefslogtreecommitdiffstats
path: root/server/mpm/config.m4
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>1999-12-24 22:12:20 +0100
committerRyan Bloom <rbb@apache.org>1999-12-24 22:12:20 +0100
commitad82790133a98b873511be39ee9fb029ddb9501d (patch)
treef38bd54adf90a77914cdc7c72b055ba959bad94b /server/mpm/config.m4
parentSubmitted by: Sascha Schumann <sascha@schumann.cx> (diff)
downloadapache2-ad82790133a98b873511be39ee9fb029ddb9501d.tar.xz
apache2-ad82790133a98b873511be39ee9fb029ddb9501d.zip
Fix the threads check so it works on non-bash shells.
Submitted by: Sascha Schumann Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84369 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/mpm/config.m4')
-rw-r--r--server/mpm/config.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/config.m4 b/server/mpm/config.m4
index 57a56bc89e..734613daa5 100644
--- a/server/mpm/config.m4
+++ b/server/mpm/config.m4
@@ -19,7 +19,7 @@ APACHE_CHECK_THREADS('' -pthread -D_REENTRANT, '' -lpthread -lc_r)
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