]> granicus.if.org Git - apache/commitdiff
Silence autoconf 2.68 warnings.
authorRainer Jung <rjung@apache.org>
Mon, 9 May 2011 20:37:50 +0000 (20:37 +0000)
committerRainer Jung <rjung@apache.org>
Mon, 9 May 2011 20:37:50 +0000 (20:37 +0000)
Add AC_LANG_SOURCE to the two occurences
of AC_COMPILE_IFELSE in configure.in.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1101216 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
configure.in

diff --git a/CHANGES b/CHANGES
index ea7b6519028bb2fbc4f14e1afd6e701a312fc306..374d4e487108b5ffe2aff3e73282e7d5278ba9d6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -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>]
 
index f4fd7d56f36d8e7795f2b1438141771b2b1c4b46..03fb8a927d9a93d1f1750c592548619d3afdee5d 100644 (file)
@@ -533,7 +533,7 @@ AC_ARG_ENABLE(maintainer-mode,APACHE_HELP_STRING(--enable-maintainer-mode,Turn o
     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_STRING(--enable-debugger-mode,Turn on de
     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
     ])