From ba4e2f658e2cfd65d6f16794e0f0ebc6da3ae92b Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 10 May 2001 05:09:06 +0000 Subject: [PATCH] Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN --- lib/bind/configure.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/bind/configure.in b/lib/bind/configure.in index e46407ac46..3fb6bdd4ae 100644 --- a/lib/bind/configure.in +++ b/lib/bind/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.43 $) +AC_REVISION($Revision: 1.44 $) AC_INIT(resolv/herror.c) AC_PREREQ(2.13) @@ -1514,6 +1514,12 @@ AC_SUBST(HOST_R_END_RETURN) AC_SUBST(HOST_R_ENT_ARGS) AC_CHECK_FUNC(sethostent_r, +AC_TRY_COMPILE([ +#include +extern void sethostent_r(int flag, struct hostent_data *ht_data);],[], +HOST_R_SET_RESULT="#undef HOST_R_SET_RESULT /*empty*/" +HOST_R_SET_RETURN="#define HOST_R_SET_RETURN void", +) , HOST_R_SET_RESULT="#undef HOST_R_SET_RESULT /*empty*/" HOST_R_SET_RETURN="#define HOST_R_SET_RETURN void"