httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@attglobal.net>
Subject stuck with prefork if you have out-of-tree APR
Date Thu, 06 Mar 2003 21:14:44 GMT
server/mpm/config.m4 has this check with a hard-coded path to APR:

   APR_CHECK_APR_DEFINE(APR_HAS_THREADS, srclib/apr)

This fails if APR is anywhere else and config doesn't think APR has 
thread support.

Is this macro busted and should be replaced with something that does a 
test compile using the current $INCLUDES in $CPPFLAGS?

I suspect the macro isn't cool since it assumes that APR header files 
are in the include subdirectory of whatever was passed in for the APR 
path.  What it needs to get to is the apr-config program, after which it 
can query for what goes in CPPFLAGS/INCLUDES/etc.


Mime
View raw message