Commit 1f536b5f authored by Rainer Jung's avatar Rainer Jung
Browse files

Silence autoconf 2.68 warnings.

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
parent a162de0a
Loading
Loading
Loading
Loading
+2 −0
Changes for CHANGES: 2 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -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>]

+2 −2
Changes for configure.in: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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
    ])