summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Canciani <ranma42@gmail.com>2011-06-20 11:07:33 +0200
committerAndrea Canciani <ranma42@gmail.com>2011-06-20 11:07:33 +0200
commit190d8d72902b930d7cddb042fa3386d100dd072c (patch)
tree0755087cc817fafd8b97ae0f89ae83025ca81891
parentb6d593dc71e276576ce2af9fa2267eebdddd578a (diff)
build: Silence autoconf warnings
Autoconf 2.86 reports: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
-rw-r--r--build/aclocal.cairo.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/build/aclocal.cairo.m4 b/build/aclocal.cairo.m4
index 592e168c..2f4873b0 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`