summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-08 12:18:28 +0100
committerStefan Metzmacher <metze@samba.org>2007-11-08 12:20:16 +0100
commit9ba9af75d21d35d0502acda0795b9662890b2169 (patch)
treeab175be2aaf9bf9aed5e5f35ee70931724cfa5dd
parent1675802d4d8a8806989b963af9a96bf8656f6233 (diff)
downloadsamba-9ba9af75d21d35d0502acda0795b9662890b2169.tar.gz
samba-9ba9af75d21d35d0502acda0795b9662890b2169.tar.bz2
samba-9ba9af75d21d35d0502acda0795b9662890b2169.zip
libreplace: we need to link to make sure the functions are available
metze (This used to be commit 130de20d646fe14f494b021a98d6855c7b5b2a1a)
-rw-r--r--source3/lib/replace/getaddrinfo.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/getaddrinfo.m4 b/source3/lib/replace/getaddrinfo.m4
index 92620aa3d0..bc6e69ea56 100644
--- a/source3/lib/replace/getaddrinfo.m4
+++ b/source3/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>