tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jni/native configure.in
Date Thu, 23 Jun 2005 14:49:36 GMT
mturk       2005/06/23 07:49:36

  Modified:    jni/native configure.in
  Log:
  Use -Wall for maintainer mode if GCC is used.
  
  Revision  Changes    Path
  1.8       +6 -6      jakarta-tomcat-connectors/jni/native/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jni/native/configure.in,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- configure.in	21 Jun 2005 10:31:41 -0000	1.7
  +++ configure.in	23 Jun 2005 14:49:36 -0000	1.8
  @@ -135,12 +135,12 @@
   maintainer-mode,
   [  --enable-maintainer-mode   Turn on debugging and compile time warnings],
   [
  -case "${enableval}" in
  -    y | Y | YES | yes | TRUE | true )
  -        CFLAGS="${CFLAGS} -DDEBUG"
  -        AC_MSG_RESULT([...Enabling Maintainer mode...])
  -        ;;
  -esac
  +  if test "$GCC" = "yes"; then
  +    CFLAGS="${CFLAGS} -DDEBUG -Wall"
  +  else
  +    CFLAGS="${CFLAGS} -DDEBUG"
  +  fi  
  +AC_MSG_RESULT([...Enabling Maintainer mode...])
   ])
   
   dnl
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message