httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: httpd-2.0 configure.in
Date Fri, 11 May 2001 15:33:11 GMT
trawick     01/05/11 08:33:10

  Modified:    .        configure.in
  Log:
  When checking for gcc, use variable ac_cv_prog_gcc instead of GCC.
  This gets AP_DEBUG set properly for --enable-maintainer-mode builds.
  
  (As libtool configuration is removed from other places -- e.g., pcre,
  expat -- the same change will be needed of those configuration
  scripts use GCC.)
  
  Revision  Changes    Path
  1.150     +2 -2      httpd-2.0/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/configure.in,v
  retrieving revision 1.149
  retrieving revision 1.150
  diff -u -r1.149 -r1.150
  --- configure.in	2001/05/11 08:12:06	1.149
  +++ configure.in	2001/05/11 15:33:06	1.150
  @@ -203,14 +203,14 @@
   
   AC_ARG_ENABLE(debug,[  --enable-debug            Turn on debugging and compile time warnings],
     [APR_ADDTO(CFLAGS,-g)
  -   if test "$GCC" = "yes"; then
  +   if test $ac_cv_prog_gcc = yes; then
        APR_ADDTO(CFLAGS,-Wall)
      fi
   ])dnl
   
   AC_ARG_ENABLE(maintainer-mode,[  --enable-maintainer-mode  Turn on debugging and compile
time warnings],
     [APR_ADDTO(CFLAGS,-g)
  -   if test "$GCC" = "yes"; then
  +   if test $ac_cv_prog_gcc = yes; then
        APR_ADDTO(CFLAGS,[-Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
-DAP_DEBUG])
      fi
   ])dnl
  
  
  

Mime
View raw message