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"