apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From grega...@apache.org
Subject cvs commit: apr configure.in
Date Fri, 22 Mar 2002 21:41:48 GMT
gregames    02/03/22 13:41:47

  Modified:    .        configure.in
  Log:
  get rid of the -g compiler flag on OS/390, unless this is a debug or
  maintainer mode build.
  
  Revision  Changes    Path
  1.419     +11 -0     apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apr/configure.in,v
  retrieving revision 1.418
  retrieving revision 1.419
  diff -u -r1.418 -r1.419
  --- configure.in	16 Mar 2002 18:42:00 -0000	1.418
  +++ configure.in	22 Mar 2002 21:41:47 -0000	1.419
  @@ -170,6 +170,17 @@
   '
   echo $ac_n "${nl}Check for compiler flags...${nl}"
   
  +dnl AC_PROG_CC unconditionally sets -g in CFLAGS.
  +dnl On OS/390 (at least), this causes the compiler to insert extra debugger
  +dnl hook instructions.  That's fine for debug/maintainer builds, not fine
  +dnl otherwise.
  +
  +case $host in
  +    *os390)
  +        APR_REMOVEFROM(CFLAGS,-g)
  +        ;;
  +esac
  +
   AC_ARG_ENABLE(debug,[  --enable-debug          Turn on debugging and compile time warnings],
     [APR_ADDTO(CFLAGS,-g)
      if test "$GCC" = "yes"; then
  
  
  

Mime
View raw message