From bf92294d2a659571fd2f7704d7ca01dfb6c3251c Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 23 Jun 2001 02:16:13 +0000 Subject: [PATCH] osf sethostent_r --- lib/bind/configure.in | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/bind/configure.in b/lib/bind/configure.in index 8e07a0ee37..86d64c010e 100644 --- a/lib/bind/configure.in +++ b/lib/bind/configure.in @@ -1,4 +1,5 @@ -# Copyright (C) 1998-2001 Internet Software Consortium. +ST_R_SET_RETURn +# cOPYRIght (C) 1998-2001 Internet Software Consortium. # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -18,7 +19,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.52 $) +AC_REVISION($Revision: 1.53 $) AC_INIT(resolv/herror.c) AC_PREREQ(2.13) @@ -1560,6 +1561,14 @@ AC_TRY_COMPILE([ 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"], +, +AC_TRY_COMPILE([ +#include +extern int sethostent_r(int flag, struct hostent_data *ht_data);],[], +[HOST_R_SET_RESULT="#define HOST_R_SET_RESULT 0" +HOST_R_SET_RETURN="#define HOST_R_SET_RETURN int"], +, +) ) , host_R_SET_RESULT="#undef HOST_R_SET_RESULT /*empty*/"