]> git.meshlink.io Git - catta/commitdiff
use AC_LANG_SOURCE to silence warnings from autoconf
authorSven M. Hallberg <pesco@khjk.org>
Tue, 19 Aug 2014 12:37:04 +0000 (14:37 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Tue, 19 Aug 2014 12:37:04 +0000 (14:37 +0200)
configure.ac

index 2392da626419b3364ec3f96e079b8bfca9490911..4fcf13d9433e59dbb670f919efadbd279dfe8002 100644 (file)
@@ -226,7 +226,7 @@ AC_TRY_COMPILE([#include <netinet/in.h>], [
 ])
 
 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