summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-05-22 15:00:19 +0200
committerStefan Metzmacher <metze@samba.org>2008-05-22 15:04:32 +0200
commitb54f34bb3321d3318189549df712ae1618dd71ca (patch)
treefd2829cff6c266b08d36baf1004b7ef3d212b080 /source3/lib
parent033ec7fbf586e7bde5a0107aebf8c7c3d5fd6dc5 (diff)
downloadsamba-b54f34bb3321d3318189549df712ae1618dd71ca.tar.gz
samba-b54f34bb3321d3318189549df712ae1618dd71ca.tar.bz2
samba-b54f34bb3321d3318189549df712ae1618dd71ca.zip
libreplace: we need to use AC_TRY_LINK() to make sure HAVE_IPV6 is correctly detected
metze (cherry picked from commit 84b5652d3e5766521436e4c7d59615b08b2bb198) (This used to be commit b28b63c911efe17ba37c15c9b74edd96e9584832)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/replace/libreplace_network.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/replace/libreplace_network.m4 b/source3/lib/replace/libreplace_network.m4
index 6cde6b9e0c..4edb55c03a 100644
--- a/source3/lib/replace/libreplace_network.m4
+++ b/source3/lib/replace/libreplace_network.m4
@@ -341,7 +341,7 @@ fi
dnl test for ipv6
AC_CACHE_CHECK([for ipv6 support],libreplace_cv_HAVE_IPV6,[
- AC_TRY_COMPILE([
+ AC_TRY_LINK([
#include <stdlib.h> /* for NULL */
#include <sys/socket.h>
#include <sys/types.h>