r25560: Merge from Jelmer. "Define HAVE_* for other gai functions to prevent problems...
authorJeremy Allison <jra@samba.org>
Sun, 7 Oct 2007 04:28:01 +0000 (04:28 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:31:13 +0000 (12:31 -0500)
Jeremy.

source/lib/replace/libreplace.m4

index 29ec2acdabbeb0c286b84ce0e753a2877aac159d..9063f5029d7afb84ff1efcc1420d09a049558ddf 100644 (file)
@@ -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