You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GOMEZ Henri <hg...@slib.fr> on 2002/03/25 15:16:01 UTC

[JTC] jkant and apxs

Hi to all,

I take a look at jkant and build.xml for jk/native,
since the current one didn't get CFLAGS from apxs 
and so the EAPI define is missing for Apache 1.3 built.

I noticed there is provision for apxs in ApacheConfig.java
and there is a getCflags() which return nothing (and appears
to be never called by jkant.

How could I modify this to have getCflags() used and called.
FYI, getIncludes() should call apxs -q CFLAGS to get the 
required valid CFLAGS :

on my Linux with Apache 1.3.23/mod_ssl 2.8.7 :

apxs -q CFLAGS                                               
-O2 -m486 -fno-strength-reduce -DLINUX=22 -I/usr/include/db1 -DMOD_SSL=208107 -DEAPI -DEAPI_MM

Did the current jkant use apxs to compile native jk for Apache 1.3/2.0 ?

Regards


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>