[cairo-commit] build/aclocal.cairo.m4

Andrea Canciani ranma42 at kemper.freedesktop.org
Mon Jun 20 02:27:38 PDT 2011


 build/aclocal.cairo.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 190d8d72902b930d7cddb042fa3386d100dd072c
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Mon Jun 20 11:07:33 2011 +0200

    build: Silence autoconf warnings
    
    Autoconf 2.86 reports:
    
    warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body

diff --git a/build/aclocal.cairo.m4 b/build/aclocal.cairo.m4
index 592e168..2f4873b 100644
--- a/build/aclocal.cairo.m4
+++ b/build/aclocal.cairo.m4
@@ -100,7 +100,7 @@ AC_DEFUN([CAIRO_CC_TRY_LINK_WITH_ENV_SILENT],[dnl
 	_save_libs="$LIBS"
 	$1
 	AC_LINK_IFELSE(
-		[$_compile_program],
+		[AC_LANG_SOURCE([$_compile_program])],
 		[cairo_cc_stderr=`test -f conftest.err && cat conftest.err`
 		 cairo_cc_flag=yes],
 		[cairo_cc_stderr=`test -f conftest.err && cat conftest.err`


More information about the cairo-commit mailing list