httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r1101216 - in /httpd/httpd/trunk: CHANGES configure.in
Date Mon, 09 May 2011 20:37:50 GMT
Author: rjung
Date: Mon May  9 20:37:50 2011
New Revision: 1101216

URL: http://svn.apache.org/viewvc?rev=1101216&view=rev
Log:
Silence autoconf 2.68 warnings.

Add AC_LANG_SOURCE to the two occurences
of AC_COMPILE_IFELSE in configure.in.

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/configure.in

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1101216&r1=1101215&r2=1101216&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Mon May  9 20:37:50 2011
@@ -2,6 +2,8 @@
 
 Changes with Apache 2.3.12
 
+  *) Silence autoconf 2.68 warnings.  [Rainer Jung]
+
   *) mod_authnz_ldap: Resolve crash when LDAP is used for authorization only
      [Scott Hill <shill genscape.com>]
 

Modified: httpd/httpd/trunk/configure.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/configure.in?rev=1101216&r1=1101215&r2=1101216&view=diff
==============================================================================
--- httpd/httpd/trunk/configure.in (original)
+++ httpd/httpd/trunk/configure.in Mon May  9 20:37:50 2011
@@ -533,7 +533,7 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HEL
     AC_CACHE_CHECK([whether gcc accepts -Wdeclaration-after-statement], [ap_cv_cc_Wdas],
[
       save_CFLAGS=$CFLAGS
       CFLAGS="$CFLAGS -Wdeclaration-after-statement"
-      AC_COMPILE_IFELSE([int foo() { return 0; }],
+      AC_COMPILE_IFELSE([AC_LANG_SOURCE([int foo() { return 0; }])],
         [ap_cv_cc_Wdas=yes], [ap_cv_cc_Wdas=no])
       CFLAGS=$save_CFLAGS
     ])
@@ -553,7 +553,7 @@ AC_ARG_ENABLE(debugger-mode,APACHE_HELP_
     AC_CACHE_CHECK([whether gcc accepts -Wdeclaration-after-statement], [ap_cv_cc_Wdas],
[
       save_CFLAGS=$CFLAGS
       CFLAGS="$CFLAGS -Wdeclaration-after-statement"
-      AC_COMPILE_IFELSE([int foo() { return 0; }],
+      AC_COMPILE_IFELSE([AC_LANG_SOURCE([int foo() { return 0; }])],
         [ap_cv_cc_Wdas=yes], [ap_cv_cc_Wdas=no])
       CFLAGS=$save_CFLAGS
     ])



Mime
View raw message