From ad82790133a98b873511be39ee9fb029ddb9501d Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Fri, 24 Dec 1999 21:12:20 +0000 Subject: [PATCH] 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 --- server/mpm/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1