Henri, I must say I don't like autoconf too much :-) There are few reasons for that, one beeing that I prefer to have control over what's compiled ( we want to distribute the binary to work on any machine, I want minimal deps on the build machine ).
But I know many people find it easier, so I won't opose this. At the moment the compilation of jk2 is controlled by 4-5 'defines', easy to include in a build.properties ( which is used by both Ant-based and Makefile-based builds ). In addition, for Apache2's mod_jk2 we don't need autoconf - in fact I'm pretty convinced we shouldn't use it. Assume you install an apache2 binary, compiled with a certain type of locking, shm, etc ( the stuff that is detected/selected at compile time on the build machine ). It can be very bad if mod_jk2 detects/selects different options, strange bugs will happen. And it's a waste of time, the information is already available in the build/ dir of apache2. Please try first the Makefile in jk/native2. If it doesn't fit your needs, I'm ok with an autoconf. Also, for building jni you can use the Makefile in jni/, it requires an apache2 binary to be installed ( or built ) before - to get the libapr.so and includes. IMHO apr should be used for all system-dependent stuff, we shouldn't have to autoconf. As a secondary note, if anyone has some time we should look at sourceforge's ant-contrib and their CC task and eventually merge jkant into it, we shouldn't duplicate the effort. Costin On Tue, 7 May 2002, GOMEZ Henri wrote: > I started to works on adding autoconf stuff for > mod_jk2 (native2) for Apache 1.3/2.0 and will need > some help and advice since it's not fluent in this > area (JF/Pier are jtc specialists). > > Initial works in on Makefile for apxs. > > 1) What about moving scripts from jk/native to > just jk ? It avoid duplicate between native > and native2. > > 2) What should be done for APR in Apache 1.3 ? > Should we use external shared apr lib ? > Should we use static build apr (like does webapp) ? > In all case should the apr for 1.3 must be with > or without pthread ? > > 3) Who could take a look at Makefile I'll commit for > static mod_jk2 built ? > > 4) What about jni support ? > > > - > Henri Gomez ___[_]____ > EMAIL : [EMAIL PROTECTED] (. .) > PGP KEY : 697ECEDD ...oOOo..(_)..oOOo... > PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>