From d704cbdb416b8d295b9a32008047a4ddc2119505 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 7 Oct 2007 04:28:01 +0000 Subject: r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems with libroken." Jeremy. (This used to be commit 3cd783e3a51c0f9e514f0702531b40bf9776e61a) --- source3/lib/replace/libreplace.m4 | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit