From fda4724d8114fccfa31c1839c15479f350c2fb4c Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Tue, 5 Oct 2010 12:18:58 +0300 Subject: [PATCH] configure.ac: Silence a warning from Autoconf 2.68. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) ], [