From 34fe5027d04e8ad1fa379ee1413b6e331b585d24 Mon Sep 17 00:00:00 2001 From: James Peach Date: Fri, 12 Jan 2007 03:05:31 +0000 Subject: r20697: A couple of minot cross-compile fixes. (This used to be commit d4c7dd19f3a114ee1527cbcd3071b4921600977d) --- source4/build/m4/check_cc.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/build') diff --git a/source4/build/m4/check_cc.m4 b/source4/build/m4/check_cc.m4 index f1b4f82cec..324ddb3c03 100644 --- a/source4/build/m4/check_cc.m4 +++ b/source4/build/m4/check_cc.m4 @@ -72,7 +72,8 @@ if test -n "$VISIBILITY_CFLAGS"; then OLD_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS $VISIBILITY_CFLAGS" - AC_TRY_RUN([ + AC_TRY_LINK([], + [ void vis_foo1(void) {} __attribute__((visibility("default"))) void vis_foo2(void) {} #include "${srcdir-.}/build/tests/trivial.c" -- cgit