]> granicus.if.org Git - apache/commitdiff
Fix the threads check so it works on non-bash shells.
authorRyan Bloom <rbb@apache.org>
Fri, 24 Dec 1999 21:12:20 +0000 (21:12 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 24 Dec 1999 21:12:20 +0000 (21:12 +0000)
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

server/mpm/config.m4

index 57a56bc89e766b1080d8f4f5bb72902f115f2a86..734613daa572f2899dba74726049f8798188c5bf 100644 (file)
@@ -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