From: Sven M. Hallberg Date: Tue, 19 Aug 2014 12:37:04 +0000 (+0200) Subject: use AC_LANG_SOURCE to silence warnings from autoconf X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=f94379847559bd3d6c89523c0b23a6919a5a498a;p=catta use AC_LANG_SOURCE to silence warnings from autoconf --- 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