httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject cvs commit: httpd-2.0 configure.in
Date Fri, 13 Aug 2004 11:18:33 GMT
jorton      2004/08/13 04:18:33

  Modified:    .        configure.in
  Log:
  * configure.in: Define AP_HAVE_DESIGNATED_INITIALIZER via ap_config.h
  so third-party modules don't have to pick up NOTEST_CPPFLAGS to avoid
  gcc warnings from http_config.h.
  
  Revision  Changes    Path
  1.265     +3 -2      httpd-2.0/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/configure.in,v
  retrieving revision 1.264
  retrieving revision 1.265
  diff -d -w -u -r1.264 -r1.265
  --- configure.in	13 Aug 2004 09:38:11 -0000	1.264
  +++ configure.in	13 Aug 2004 11:18:33 -0000	1.265
  @@ -296,8 +296,9 @@
   dnl ## Check for typedefs, structures, and compiler characteristics.
   
   AC_C_CONST
  -if test "$ac_cv_prog_gcc" = "yes"; then
  -  APR_ADDTO(NOTEST_CPPFLAGS,-DAP_HAVE_DESIGNATED_INITIALIZER)
  +if test "x$GCC" = "xyes"; then
  +  AC_DEFINE([AP_HAVE_DESIGNATED_INITIALIZER], 1,
  +            [Define if the compiler supports designated initializers])
   fi
   
   dnl ## Check for library functions
  
  
  

Mime
View raw message