aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-10-05 12:18:58 +0300
committerLasse Collin <lasse.collin@tukaani.org>2010-10-05 12:18:58 +0300
commitfda4724d8114fccfa31c1839c15479f350c2fb4c (patch)
tree7f34e0a6db334c8725c17f54e6b053456a7568db
parentA few more languages files to the xz man page. (diff)
downloadxz-fda4724d8114fccfa31c1839c15479f350c2fb4c.tar.xz
configure.ac: Silence a warning from Autoconf 2.68.
Diffstat (limited to '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d616e7b8..697cdf6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -579,7 +579,7 @@ if test "$GCC" = yes ; then
AC_MSG_CHECKING([if $CC accepts $NEW_FLAG])
OLD_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $NEW_FLAG"
- AC_COMPILE_IFELSE([void foo(void) { }], [
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([void foo(void) { }])], [
AM_CFLAGS="$AM_CFLAGS $NEW_FLAG"
AC_MSG_RESULT([yes])
], [