summaryrefslogtreecommitdiff
path: root/source4/lib/replace/inet_pton.m4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-05 23:54:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:51 -0500
commite511090a4339221dfd1fa597964af7455f96ec28 (patch)
tree642564ee8fc2222bea72eecf632cac09afd34be0 /source4/lib/replace/inet_pton.m4
parentf0bc19ae47d7f06d111713b0dbb00f387621e675 (diff)
downloadsamba-e511090a4339221dfd1fa597964af7455f96ec28.tar.gz
samba-e511090a4339221dfd1fa597964af7455f96ec28.tar.bz2
samba-e511090a4339221dfd1fa597964af7455f96ec28.zip
r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks: - avoid including network headers in replace.h unless absolutely required - autoconf tests for getaddrinfo() in lib/replace The heimdal-specific code also no longer looks for these functions anymore. (This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
Diffstat (limited to 'source4/lib/replace/inet_pton.m4')
-rw-r--r--source4/lib/replace/inet_pton.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/replace/inet_pton.m4 b/source4/lib/replace/inet_pton.m4
new file mode 100644
index 0000000000..51de9275d0
--- /dev/null
+++ b/source4/lib/replace/inet_pton.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(inet_pton,[],[LIBREPLACEOBJ="${LIBREPLACEOBJ} inet_pton.o"])