summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-10-07 00:25:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:56 -0500
commit775a3d034d903243d9dd4309817f188c7984d037 (patch)
tree6eddfbf0d62b2a69a65ccc55c90ffc01aa61cf08 /source4/lib
parentf3e212ff6948dcd6d12f90cc18ba4f65ad7d9323 (diff)
downloadsamba-775a3d034d903243d9dd4309817f188c7984d037.tar.gz
samba-775a3d034d903243d9dd4309817f188c7984d037.tar.bz2
samba-775a3d034d903243d9dd4309817f188c7984d037.zip
r25558: Define HAVE_* for other gai functions to prevent problems with libroken.
(This used to be commit e09828a634bf10bda9c6f28b18106c2bcab84643)
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/replace/libreplace.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 29ec2acdab..9063f5029d 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -173,6 +173,8 @@ ret = getnameinfo(&sa, sizeof(sa),
samba_cv_HAVE_GETADDRINFO=yes,samba_cv_HAVE_GETADDRINFO=no)])
if test x"$samba_cv_HAVE_GETADDRINFO" = x"yes"; then
AC_DEFINE(HAVE_GETADDRINFO,1,[Whether the system has getaddrinfo and getnameinfo])
+ AC_DEFINE(HAVE_FREEADDRINFO,1,[Whether the system has freeaddrinfo])
+ AC_DEFINE(HAVE_GAI_STRERROR,1,[Whether the system has gai_strerror])
fi