]> granicus.if.org Git - apache/commitdiff
Clean up APR's configure script a bit. This commit also allows Apache to
authorRyan Bloom <rbb@apache.org>
Wed, 22 Dec 1999 20:29:20 +0000 (20:29 +0000)
committerRyan Bloom <rbb@apache.org>
Wed, 22 Dec 1999 20:29:20 +0000 (20:29 +0000)
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

index 747b318d4d32df82f3fc7754176b0463ddd7fd1b..b0aa248a0e2a950ec1c7af4f268b2139638a3b3e 100644 (file)
@@ -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