summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-10-07 04:28:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:31:13 -0500
commitd704cbdb416b8d295b9a32008047a4ddc2119505 (patch)
treea660696feb141a26f0e1b6a7a7aa4ee58d0c94d5 /source3
parentd154a0d74b23b4a1fbd921f17dec3e0e3506eeab (diff)
downloadsamba-d704cbdb416b8d295b9a32008047a4ddc2119505.tar.gz
samba-d704cbdb416b8d295b9a32008047a4ddc2119505.tar.bz2
samba-d704cbdb416b8d295b9a32008047a4ddc2119505.zip
r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken."
Jeremy. (This used to be commit 3cd783e3a51c0f9e514f0702531b40bf9776e61a)
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/replace/libreplace.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/lib/replace/libreplace.m4 b/source3/lib/replace/libreplace.m4
index 29ec2acdab..9063f5029d 100644
--- a/source3/lib/replace/libreplace.m4
+++ b/source3/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