summaryrefslogtreecommitdiff
path: root/source4/lib/replace/getaddrinfo.m4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-08 11:17:22 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:44:48 +0100
commit92897b1153ff5b46a3fe2980b2be3e4e5f9b616a (patch)
treec5490c6ddf0749789cc8f932c3562b2b4288e713 /source4/lib/replace/getaddrinfo.m4
parentf3efa1e5ff5764f61ac4985f51f41ad9c186495e (diff)
downloadsamba-92897b1153ff5b46a3fe2980b2be3e4e5f9b616a.tar.gz
samba-92897b1153ff5b46a3fe2980b2be3e4e5f9b616a.tar.bz2
samba-92897b1153ff5b46a3fe2980b2be3e4e5f9b616a.zip
r25906: libreplace: we need to link to make sure the functions are available
metze (This used to be commit 895d2644fbd72b9770460d6628fa6b09963967e7)
Diffstat (limited to 'source4/lib/replace/getaddrinfo.m4')
-rw-r--r--source4/lib/replace/getaddrinfo.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/replace/getaddrinfo.m4 b/source4/lib/replace/getaddrinfo.m4
index 92620aa3d0..bc6e69ea56 100644
--- a/source4/lib/replace/getaddrinfo.m4
+++ b/source4/lib/replace/getaddrinfo.m4
@@ -1,6 +1,6 @@
dnl test for getaddrinfo/getnameinfo
AC_CACHE_CHECK([for getaddrinfo],libreplace_cv_HAVE_GETADDRINFO,[
-AC_TRY_COMPILE([
+AC_TRY_LINK([
#include <sys/types.h>
#if STDC_HEADERS
#include <stdlib.h>