diff options
author | Rainer Jung <rjung@apache.org> | 2011-05-09 20:37:50 +0000 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2011-05-09 20:37:50 +0000 |
commit | 8d3889495db27b2d1559eda5b402d7d60d4d290f (patch) | |
tree | 08ac8a30d9bdd0c4c9d29f05983a722877835c62 /configure.in | |
parent | 2f4222c3d77074b71223fbe2700e5cd8b7881b13 (diff) | |
download | httpd-8d3889495db27b2d1559eda5b402d7d60d4d290f.tar.gz |
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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index f4fd7d56f3..03fb8a927d 100644 --- a/configure.in +++ b/configure.in @@ -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 ]) |