summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-13 10:20:29 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-16 11:14:52 +0100
commit099d6f05cdb0800114d026786920a17ef649699f (patch)
treef68a94c73234675e714f765454b4785e3a523c5c /lib
parent586a4da5dd30c371a33956db406bbb1dc08534b2 (diff)
downloadsamba-099d6f05cdb0800114d026786920a17ef649699f.tar.gz
samba-099d6f05cdb0800114d026786920a17ef649699f.tar.bz2
samba-099d6f05cdb0800114d026786920a17ef649699f.zip
lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() are available
metze
Diffstat (limited to 'lib')
-rw-r--r--lib/replace/libreplace_network.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/libreplace_network.m4 b/lib/replace/libreplace_network.m4
index 1dc1c44ed8..9223d94b75 100644
--- a/lib/replace/libreplace_network.m4
+++ b/lib/replace/libreplace_network.m4
@@ -242,7 +242,7 @@ AC_CHECK_MEMBERS([struct sockaddr.sa_len],
dnl test for getifaddrs and freeifaddrs
AC_CACHE_CHECK([for getifaddrs and freeifaddrs],libreplace_cv_HAVE_GETIFADDRS,[
-AC_TRY_COMPILE([
+AC_TRY_LINK([
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>