summaryrefslogtreecommitdiff
path: root/build/configure.ac.warnings
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-06-27 01:14:03 +0300
committerM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-07-11 21:40:26 +0300
commit47c35e5e86a3c99fc39afe2e13a7c92d5247ee1e (patch)
treea439bf319a252f425dbd58d182bb6f4cb1ecb51a /build/configure.ac.warnings
parentd2f5592e0e0d316cfc40ec676ee6e7f4e2a699fb (diff)
build: Purge CAIRO_CC_TRY_LINK_FLAG.
Use CAIRO_CC_TRY_FLAG instead in the one place where we used CAIRO_CC_TRY_LINK_FLAG and make the build system one macro smaller.
Diffstat (limited to 'build/configure.ac.warnings')
-rw-r--r--build/configure.ac.warnings2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/configure.ac.warnings b/build/configure.ac.warnings
index 2f5745ff..b225ac82 100644
--- a/build/configure.ac.warnings
+++ b/build/configure.ac.warnings
@@ -81,7 +81,7 @@ AC_DEFINE_UNQUOTED([WARN_UNUSED_RESULT], [$cairo_cv_warn_unused_result],
dnl check linker flags
AC_CACHE_CHECK([how to allow undefined symbols in shared libraries used by test suite], cairo_cv_test_undefined_ldflags,
- [CAIRO_CC_TRY_LINK_FLAG([-Wl,--allow-shlib-undefined],
+ [CAIRO_CC_TRY_FLAG([-Wl,--allow-shlib-undefined], [],
[cairo_cv_test_undefined_ldflags="-Wl,--allow-shlib-undefined]")])
CAIRO_TEST_UNDEFINED_LDFLAGS="$cairo_cv_test_undefined_ldflags"
AC_SUBST(CAIRO_TEST_UNDEFINED_LDFLAGS)