From f94379847559bd3d6c89523c0b23a6919a5a498a Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Tue, 19 Aug 2014 14:37:04 +0200 Subject: [PATCH] use AC_LANG_SOURCE to silence warnings from autoconf --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 2392da6..4fcf13d 100644 --- a/configure.ac +++ b/configure.ac @@ -226,7 +226,7 @@ AC_TRY_COMPILE([#include ], [ ]) test_gcc_flag() { - AC_LANG_CONFTEST([int main() {}]) + AC_LANG_CONFTEST([AC_LANG_SOURCE([[int main() {}]])]) $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null ret=$? rm -f conftest.o -- 2.39.5