From 3f4fe1cea054fc0163275de5be7a0034c0965e22 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Wed, 22 Dec 1999 20:29:20 +0000 Subject: [PATCH] Clean up APR's configure script a bit. This commit also allows Apache to specify that APR should be built without threads for the prefork MPM. This is broken if we then try to configure Apache again using a threaded MPM, but this is easily fixable, and I will be doing that soon. Lastly, I removed all thread calls from APR when it is told to build without threads. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84359 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/prefork/config.m4 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/mpm/prefork/config.m4 b/server/mpm/prefork/config.m4 index 747b318d4d..b0aa248a0e 100644 --- a/server/mpm/prefork/config.m4 +++ b/server/mpm/prefork/config.m4 @@ -1,4 +1,8 @@ if test "$MPM_NAME" = "prefork" ; then +dnl Turn off all threading functions in APR + ac_cv_enable_threads="no" + AC_CACHE_SAVE + APACHE_OUTPUT(modules/mpm/$MPM_NAME/Makefile) APACHE_MPM_CHECK_SHMEM -- 2.50.1