You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2001/12/05 16:01:15 UTC
cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
trawick 01/12/05 07:01:15
Modified: modules/experimental mod_mem_cache.c
Log:
if compilation is doomed due to lack of thread support, fail
the compile with a nicer message
(hopefully this is only temporary?)
Revision Changes Path
1.11 +4 -0 httpd-2.0/modules/experimental/mod_mem_cache.c
Index: mod_mem_cache.c
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/experimental/mod_mem_cache.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- mod_mem_cache.c 2001/11/20 22:19:19 1.10
+++ mod_mem_cache.c 2001/12/05 15:01:15 1.11
@@ -62,6 +62,10 @@
#include "ap_mpm.h"
#include "apr_thread_mutex.h"
+#if !APR_HAS_THREADS
+#error This module does not currently compile unless you have a thread-capable APR. Sorry!
+#endif
+
#define MAX_CACHE 5000
module AP_MODULE_DECLARE_DATA mem_cache_module;
Re: cvs commit: httpd-2.0/modules/experimental mod_mem_cache.c
Posted by Jeff Trawick <tr...@attglobal.net>.
trawick@apache.org writes:
> trawick 01/12/05 07:01:15
>
> Modified: modules/experimental mod_mem_cache.c
> Log:
> if compilation is doomed due to lack of thread support, fail
> the compile with a nicer message
>
> (hopefully this is only temporary?)
Is anybody planning to "fix" mod_mem_cache so that it builds with a
non-thread-capable APR?
--
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
http://www.geocities.com/SiliconValley/Park/9289/
Born in Roswell... married an alien...