mturk 2005/03/17 03:35:11 Modified: jk/native configure.in Log: Add --enable-prefork configure flag so that threading code can be excluded when compiling for apache1 or apache2/prefork. Revision Changes Path 1.40 +17 -1 jakarta-tomcat-connectors/jk/native/configure.in Index: configure.in =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/configure.in,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- configure.in 25 Feb 2005 08:26:03 -0000 1.39 +++ configure.in 17 Mar 2005 11:35:11 -0000 1.40 @@ -286,6 +286,22 @@ ]) AC_SUBST(CFLAGS) +dnl CFLAGS for preforks mode +dnl it also allows the CFLAGS environment variable. +CFLAGS="${CFLAGS}" +AC_ARG_ENABLE( +prefork, +[ --enable-prefork Turn on prefork web server mode], +[ +case "${enableval}" in + y | Y | YES | yes | TRUE | true ) + CFLAGS="${CFLAGS} -DJK_PREFORK" + AC_MSG_RESULT([...Enabling Prefork mode...]) + ;; +esac +]) +AC_SUBST(CFLAGS) + dnl the APXSCFLAGS is given by apxs to the C compiler dnl the APXSLDFLAGS is given to the linker (for APRVARS). dnl APXSLDFLAGS=""
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]