From 775a3d034d903243d9dd4309817f188c7984d037 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 7 Oct 2007 00:25:27 +0000 Subject: r25558: Define HAVE_* for other gai functions to prevent problems with libroken. (This used to be commit e09828a634bf10bda9c6f28b18106c2bcab84643) --- source4/lib/replace/libreplace.m4 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') 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 -- cgit