httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: [PATCH]: Enable static build of APREQ 2
Date Mon, 06 Oct 2003 04:38:47 GMT
Bojan Smojver <> writes:

> On Mon, 2003-10-06 at 11:47, Joe Schaefer wrote:


> > Another possibility is to do something clever with httpd's 
> > --with-module=... option, but I'm not smart enough to get a full
> > compile out of it.
> Not sure about this. Never used it.

Ok, I just got httpd to compile with this:

  % CPPFLAGS=-I/path/to/httpd-apreq-2/src \
    HTTPD_LDFLAGS=/path/to/httpd-apreq-2/src/ \
    ./configure --with-module=filters:../httpd-apreq-2/env/mod_apreq.c
  % make

What this winds up doing is copying ../httpd-apreq-2/env/mod_apreq.c 
into modules/filters and compiling it as if it were a normal module.  
When it comes time to compile httpd, must already have 
been built, but our current Makefiles make that a bit tricky to pull 
off without a functional apxs.  However, since libapreq is purely ap[ru]-
dependent, we shouldn't need apxs to build it- just ap[ru]-config.

Joe Schaefer

View raw message