summaryrefslogtreecommitdiff
path: root/lib/replace/libreplace_network.m4
AgeCommit message (Collapse)AuthorFilesLines
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij1-0/+24
2011-05-19Fix bug found when building on an IPv6-only system by Kai Blin.Jeremy Allison1-3/+16
When building on IPv6-only, doing: hints.ai_family = AF_INET; getaddrinfo("0.0.0.0", NULL, &hints, &ppres) fails as AF_INET is unavailable on an IPv6-only system. This causes us to fallback to our replacement getaddrinfo code which is IPv4-only. As we're only trying to detect a specific AIX bug here, broaden the tests to find that bug, and also test for working getaddrinfo in an IPv6-only safe way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 19 02:21:54 CEST 2011 on sn-devel-104
2010-05-24fix a typoVolker Lendecke1-1/+1
2010-04-24lib/replace: make sure IPV6_V6ONLY is available for IPv6 supportStefan Metzmacher1-0/+8
We really on IPV6_V6ONLY being supported. metze
2010-04-24lib/replace: add replacement for IPV6_V6ONLY on linux systems with broken ↵Stefan Metzmacher1-0/+44
headers This is needed on SLES8. metze
2010-02-08libreplace: Attempt to fix bug 5910, detect a broken getaddrinfoVolker Lendecke1-0/+25
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-09-14Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJMatt Kraai1-7/+7
2009-03-23libreplace: use libreplace_SAVE_CPPFLAGS instead of SAVE_CPPFLAGSMichael Adam1-2/+2
This fixes Samba3's double listing of -I options in CFLAGS, since samba3's configure wraps the call to AC_LIBREPLACE_NETWORK_CHECKS into a SAVE_CPPFLAGS="${CPPFLAGS}" .. CPPFLAGS="${SAVE_CPPFLAGS}" sequence... :-) Michael
2009-03-17build: fix detection of netinet/ip.h on FreeBSDTimur1-0/+1
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-17build: format the header check for netinet/ip.h more nicelyTimur1-6/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2009-03-16lib/replace: use AC_TRY_LINK() to verify that getifaddrs() and freeifaddrs() ↵Stefan Metzmacher1-1/+1
are available metze
2009-03-11lib/replace: make sure we include <sys/uio.h> before socket_wrapper.hStefan Metzmacher1-0/+1
This should fix the build on some hosts. metze
2009-02-11enable IPv6 support for NetBSD, FreeBSDBjörn Jacke1-0/+1
most systems include netinet/in.h via netdb.h but *BSD don't.
2009-01-27libreplace: fix detection of netinet/ip.h on solaris 8Michael Adam1-1/+5
(The test needs to additionally include <netinet/in_systm.h>.) Michael
2009-01-27libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiledMichael Adam1-1/+4
under solaris Michael
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+377