mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-27 03:51:16 -05:00
Aix: HOST_R_SET_RESULT HOST_R_SET_RETURN
This commit is contained in:
parent
4bd95a4965
commit
ba4e2f658e
1 changed files with 7 additions and 1 deletions
|
|
@ -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 <netdb.h>
|
||||
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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue