diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-05-22 15:00:19 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-05-22 15:04:32 +0200 |
commit | b54f34bb3321d3318189549df712ae1618dd71ca (patch) | |
tree | fd2829cff6c266b08d36baf1004b7ef3d212b080 /source3/lib | |
parent | 033ec7fbf586e7bde5a0107aebf8c7c3d5fd6dc5 (diff) | |
download | samba-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.m4 | 2 |
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> |