Use the -S switch to apxs:
-S CFLAGS=-DSTDAPI
You probably will also need to specify:
-S CFLAGS=-DMOD_PERL -S CFLAGS=-DUSE_EXPAT -S CFLAGS=-O
(which apxs otherwise would set by default).
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
XML Technology Center
ker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o mod_jk.o -lposix4
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
XML Technology Cen
include/solaris -DSOLARIS -c
../jk/jk_worker.c
ld -G -o mod_jk.so jk_worker.o jk_util.o jk_uri_worker_map.o jk_sockbuf.o
jk_pool.o jk_nwmain.o jk_msg_buff.o jk_map.o jk_lb_worker.o
jk_jni_worker.o jk_connect.o jk_ajp13_worker.o jk_ajp13.o
jk_ajp12_worker.o mod_jk.o -lposix4
Regards,
--
Ed Mooney