mturk       2004/11/11 04:30:47

  Modified:    jk/native configure.in
  Log:
  Add --enable-maintainer-mode for compiling in
  full trace messages (like on httpd)
  
  Revision  Changes    Path
  1.35      +19 -3     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.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- configure.in      23 Jul 2004 09:23:38 -0000      1.34
  +++ configure.in      11 Nov 2004 12:30:47 -0000      1.35
  @@ -5,7 +5,7 @@
   
   AC_PREREQ(2.13)
   AC_INIT(common/jk_worker.h)
  -AC_CONFIG_HEADER(common/portable.h)
  +AM_CONFIG_HEADER(common/portable.h)
   AC_CONFIG_AUX_DIR(scripts/build/unix)
   AC_CANONICAL_SYSTEM
   
  @@ -220,12 +220,28 @@
   CFLAGS="${CFLAGS}"
   AC_ARG_ENABLE(
   EAPI,
  -[  --enable-EAPI           Enable EAPI support (mod_ssl, Apache 1.3)],
  +[  --enable-EAPI     Enable EAPI support (mod_ssl, Apache 1.3)],
   [
   case "${enableval}" in
       y | Y | YES | yes | TRUE | true )
           CFLAGS="${CFLAGS} -DEAPI"
           AC_MSG_RESULT([...Enabling EAPI Support...])
  +        ;;
  +esac
  +])
  +AC_SUBST(CFLAGS)
  +
  +dnl CFLAGS for maintainer mode
  +dnl it also allows the CFLAGS environment variable.
  +CFLAGS="${CFLAGS}"
  +AC_ARG_ENABLE(
  +maintainer-mode,
  +[  --enable-maintainer-mode   Turn on debugging and compile time warnings],
  +[
  +case "${enableval}" in
  +    y | Y | YES | yes | TRUE | true )
  +        CFLAGS="${CFLAGS} -DDEBUG -Wall"
  +        AC_MSG_RESULT([...Enabling Maintainer mode...])
           ;;
   esac
   ])
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to