2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00
This commit is contained in:
Mark Andrews 2001-07-16 04:24:38 +00:00
parent 6cf48dea49
commit 42f476472a

256
lib/bind/configure vendored
View File

@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Revision: 1.67
# From configure.in Revision: 1.68
# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
## Copyright 1996, 1997, 1998, 1999, 2000, 2001
@ -9888,6 +9888,7 @@ HOST_R_COPY_ARGS="#define HOST_R_COPY_ARGS char *buf, int buflen"
HOST_R_ERRNO="#define HOST_R_ERRNO *h_errnop = h_errno"
HOST_R_OK="#define HOST_R_OK hptr"
HOST_R_RETURN="#define HOST_R_RETURN struct hostent *"
HOST_R_SETANSWER=#undef HOST_R_SETANSWER"
HOSTENT_DATA="#undef HOSTENT_DATA"
@ -9896,7 +9897,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 9900 "configure"
#line 9901 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -9908,7 +9909,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:9912: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:9913: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_ARGS="#define HOST_R_ARGS struct hostent_data *hdptr"
@ -9918,11 +9919,47 @@ HOST_R_COPY_ARGS="#define HOST_R_COPY_ARGS HOST_R_ARGS"
HOST_R_ERRNO="#define HOST_R_ERRNO NULL"
HOST_R_OK="#define HOST_R_OK 0"
HOST_R_RETURN="#define HOST_R_RETURN int"
HOST_R_SETANSWER=#undef HOST_R_SETANSWER"
HOSTENT_DATA="#define HOSTENT_DATA 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 9931 "configure"
#include "confdefs.h"
#define __USE_MISC
#include <netdb.h>
extern int gethostbyname_r __P ((__const char *,
struct hostent *,
char *, size_t,
struct hostent **,
int *));
int main() {
; return 0; }
EOF
if { (eval echo configure:9946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_ARGS="#define HOST_R_ARGS char *buf, int buflen, struct hostent **answerp, int *h_errnop"
HOST_R_BAD="#define HOST_R_BAD ERANGE"
HOST_R_COPY="#define HOST_R_COPY buf, buflen"
HOST_R_COPY_ARGS="#define HOST_R_COPY_ARGS char *buf, int buflen"
HOST_R_ERRNO="#define HOST_R_ERRNO *h_errnop = h_errno"
HOST_R_OK="#define HOST_R_OK 0"
HOST_R_RETURN="#define HOST_R_RETURN int"
HOST_R_SETANSWER=#define HOST_R_SETANSWER 1"
HOSTENT_DATA="#undef HOSTENT_DATA"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
fi
@ -9937,6 +9974,7 @@ HOST_R_COPY_ARGS="#define HOST_R_COPY_ARGS char *buf, int buflen"
HOST_R_ERRNO="#define HOST_R_ERRNO *h_errnop = h_errno"
HOST_R_OK="#define HOST_R_OK hptr"
HOST_R_RETURN="#define HOST_R_RETURN struct hostent *"
HOST_R_SETANSWER=#undef HOST_R_SETANSWER"
HOSTENT_DATA="#undef HOSTENT_DATA"
fi
@ -9950,13 +9988,14 @@ fi
echo $ac_n "checking for endhostent_r""... $ac_c" 1>&6
echo "configure:9955: checking for endhostent_r" >&5
echo "configure:9994: checking for endhostent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endhostent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 9960 "configure"
#line 9999 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endhostent_r(); below. */
@ -9979,7 +10018,7 @@ endhostent_r();
; return 0; }
EOF
if { (eval echo configure:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endhostent_r=yes"
else
@ -9994,7 +10033,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'endhostent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 9998 "configure"
#line 10037 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10004,7 +10043,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:10008: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10047: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_END_RESULT="#define HOST_R_END_RESULT(x) return (x)"
HOST_R_END_RETURN="#define HOST_R_END_RETURN int"
@ -10015,7 +10054,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 10019 "configure"
#line 10058 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10025,7 +10064,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:10029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_END_RESULT="#define HOST_R_END_RESULT(x)"
@ -10054,12 +10093,12 @@ fi
echo $ac_n "checking for sethostent_r""... $ac_c" 1>&6
echo "configure:10058: checking for sethostent_r" >&5
echo "configure:10097: checking for sethostent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_sethostent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10063 "configure"
#line 10102 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sethostent_r(); below. */
@ -10082,7 +10121,7 @@ sethostent_r();
; return 0; }
EOF
if { (eval echo configure:10086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_sethostent_r=yes"
else
@ -10097,7 +10136,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'sethostent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 10101 "configure"
#line 10140 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10106,7 +10145,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:10110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_SET_RESULT="#undef HOST_R_SET_RESULT /*empty*/"
HOST_R_SET_RETURN="#define HOST_R_SET_RETURN void"
@ -10115,7 +10154,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 10119 "configure"
#line 10158 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10124,7 +10163,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:10128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10167: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
HOST_R_SET_RESULT="#define HOST_R_SET_RESULT 0"
HOST_R_SET_RETURN="#define HOST_R_SET_RETURN int"
@ -10149,9 +10188,9 @@ fi
echo $ac_n "checking struct passwd element pw_class""... $ac_c" 1>&6
echo "configure:10153: checking struct passwd element pw_class" >&5
echo "configure:10192: checking struct passwd element pw_class" >&5
cat > conftest.$ac_ext <<EOF
#line 10155 "configure"
#line 10194 "configure"
#include "confdefs.h"
#include <sys/types.h>
@ -10161,7 +10200,7 @@ int main() {
struct passwd *pw; pw->pw_class = "";
; return 0; }
EOF
if { (eval echo configure:10165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10204: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
@ -10179,7 +10218,7 @@ fi
rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 10183 "configure"
#line 10222 "configure"
#include "confdefs.h"
#include <sys/types.h>
@ -10191,7 +10230,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:10195: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SETPWENT_VOID="#define SETPWENT_VOID 1"
@ -10206,7 +10245,7 @@ rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 10210 "configure"
#line 10249 "configure"
#include "confdefs.h"
#include <sys/types.h>
@ -10218,7 +10257,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:10222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SETGRENT_VOID="#define SETGRENT_VOID 1"
@ -10233,12 +10272,12 @@ rm -f conftest*
echo $ac_n "checking for getnetgrent_r""... $ac_c" 1>&6
echo "configure:10237: checking for getnetgrent_r" >&5
echo "configure:10276: checking for getnetgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getnetgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10242 "configure"
#line 10281 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getnetgrent_r(); below. */
@ -10261,7 +10300,7 @@ getnetgrent_r();
; return 0; }
EOF
if { (eval echo configure:10265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getnetgrent_r=yes"
else
@ -10276,7 +10315,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'getnetgrent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 10280 "configure"
#line 10319 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10287,7 +10326,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:10291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10330: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
NGR_R_ARGS="#define NGR_R_ARGS char *buf, int buflen"
@ -10303,7 +10342,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 10307 "configure"
#line 10346 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10314,7 +10353,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:10318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
NGR_R_ARGS="#define NGR_R_ARGS char *buf, size_t buflen"
@ -10330,7 +10369,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 10334 "configure"
#line 10373 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10341,7 +10380,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:10345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10384: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
NGR_R_ARGS="#define NGR_R_ARGS void **buf"
@ -10385,12 +10424,12 @@ fi
echo $ac_n "checking for endnetgrent_r""... $ac_c" 1>&6
echo "configure:10389: checking for endnetgrent_r" >&5
echo "configure:10428: checking for endnetgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endnetgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10394 "configure"
#line 10433 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endnetgrent_r(); below. */
@ -10413,7 +10452,7 @@ endnetgrent_r();
; return 0; }
EOF
if { (eval echo configure:10417: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endnetgrent_r=yes"
else
@ -10448,12 +10487,12 @@ fi
echo $ac_n "checking for setnetgrent_r""... $ac_c" 1>&6
echo "configure:10452: checking for setnetgrent_r" >&5
echo "configure:10491: checking for setnetgrent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setnetgrent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10457 "configure"
#line 10496 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setnetgrent_r(); below. */
@ -10476,7 +10515,7 @@ setnetgrent_r();
; return 0; }
EOF
if { (eval echo configure:10480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setnetgrent_r=yes"
else
@ -10504,12 +10543,12 @@ fi
echo $ac_n "checking for innetgr_r""... $ac_c" 1>&6
echo "configure:10508: checking for innetgr_r" >&5
echo "configure:10547: checking for innetgr_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_innetgr_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10513 "configure"
#line 10552 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char innetgr_r(); below. */
@ -10532,7 +10571,7 @@ innetgr_r();
; return 0; }
EOF
if { (eval echo configure:10536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_innetgr_r=yes"
else
@ -10557,12 +10596,12 @@ fi
echo $ac_n "checking for getprotoent_r""... $ac_c" 1>&6
echo "configure:10561: checking for getprotoent_r" >&5
echo "configure:10600: checking for getprotoent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getprotoent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10566 "configure"
#line 10605 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getprotoent_r(); below. */
@ -10585,7 +10624,7 @@ getprotoent_r();
; return 0; }
EOF
if { (eval echo configure:10589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getprotoent_r=yes"
else
@ -10600,7 +10639,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'getprotoent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 10604 "configure"
#line 10643 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -10613,7 +10652,7 @@ return (0);
; return 0; }
EOF
if { (eval echo configure:10617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10656: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, int buflen"
@ -10649,12 +10688,12 @@ fi
echo $ac_n "checking for endprotoent_r""... $ac_c" 1>&6
echo "configure:10653: checking for endprotoent_r" >&5
echo "configure:10692: checking for endprotoent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endprotoent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10658 "configure"
#line 10697 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endprotoent_r(); below. */
@ -10677,7 +10716,7 @@ endprotoent_r();
; return 0; }
EOF
if { (eval echo configure:10681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endprotoent_r=yes"
else
@ -10705,12 +10744,12 @@ fi
echo $ac_n "checking for setprotoent_r""... $ac_c" 1>&6
echo "configure:10709: checking for setprotoent_r" >&5
echo "configure:10748: checking for setprotoent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setprotoent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10714 "configure"
#line 10753 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setprotoent_r(); below. */
@ -10733,7 +10772,7 @@ setprotoent_r();
; return 0; }
EOF
if { (eval echo configure:10737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10776: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setprotoent_r=yes"
else
@ -10759,12 +10798,12 @@ fi
echo $ac_n "checking for getpwent_r""... $ac_c" 1>&6
echo "configure:10763: checking for getpwent_r" >&5
echo "configure:10802: checking for getpwent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpwent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10768 "configure"
#line 10807 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwent_r(); below. */
@ -10787,7 +10826,7 @@ getpwent_r();
; return 0; }
EOF
if { (eval echo configure:10791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getpwent_r=yes"
else
@ -10802,7 +10841,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'getpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 10806 "configure"
#line 10845 "configure"
#include "confdefs.h"
#include <sys/types.h>
@ -10816,7 +10855,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:10820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PASS_R_ARGS="#define PASS_R_ARGS char *buf, int buflen"
PASS_R_BAD="#define PASS_R_BAD NULL"
@ -10854,12 +10893,12 @@ fi
echo $ac_n "checking for endpwent_r""... $ac_c" 1>&6
echo "configure:10858: checking for endpwent_r" >&5
echo "configure:10897: checking for endpwent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endpwent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10863 "configure"
#line 10902 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endpwent_r(); below. */
@ -10882,7 +10921,7 @@ endpwent_r();
; return 0; }
EOF
if { (eval echo configure:10886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:10925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endpwent_r=yes"
else
@ -10897,7 +10936,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'endpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 10901 "configure"
#line 10940 "configure"
#include "confdefs.h"
#include <pwd.h>
@ -10907,7 +10946,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:10911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:10950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PASS_R_END_RESULT="#define PASS_R_END_RESULT(x) /*empty*/"
PASS_R_END_RETURN="#define PASS_R_END_RETURN void"
@ -10935,12 +10974,12 @@ fi
echo $ac_n "checking for setpassent_r""... $ac_c" 1>&6
echo "configure:10939: checking for setpassent_r" >&5
echo "configure:10978: checking for setpassent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setpassent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10944 "configure"
#line 10983 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpassent_r(); below. */
@ -10963,7 +11002,7 @@ setpassent_r();
; return 0; }
EOF
if { (eval echo configure:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setpassent_r=yes"
else
@ -10987,12 +11026,12 @@ EOF
fi
echo $ac_n "checking for setpassent""... $ac_c" 1>&6
echo "configure:10991: checking for setpassent" >&5
echo "configure:11030: checking for setpassent" >&5
if eval "test \"`echo '$''{'ac_cv_func_setpassent'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 10996 "configure"
#line 11035 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpassent(); below. */
@ -11015,7 +11054,7 @@ setpassent();
; return 0; }
EOF
if { (eval echo configure:11019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setpassent=yes"
else
@ -11040,12 +11079,12 @@ fi
echo $ac_n "checking for setpwent_r""... $ac_c" 1>&6
echo "configure:11044: checking for setpwent_r" >&5
echo "configure:11083: checking for setpwent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setpwent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11049 "configure"
#line 11088 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpwent_r(); below. */
@ -11068,7 +11107,7 @@ setpwent_r();
; return 0; }
EOF
if { (eval echo configure:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setpwent_r=yes"
else
@ -11083,7 +11122,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'setpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 11087 "configure"
#line 11126 "configure"
#include "confdefs.h"
#include <pwd.h>
@ -11093,7 +11132,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:11097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PASS_R_SET_RESULT="#undef PASS_R_SET_RESULT /* empty */"
PASS_R_SET_RETURN="#define PASS_R_SET_RETURN int"
@ -11103,7 +11142,7 @@ else
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 11107 "configure"
#line 11146 "configure"
#include "confdefs.h"
#include <pwd.h>
@ -11113,7 +11152,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:11117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PASS_R_SET_RESULT="#define PASS_R_SET_RESULT 0"
PASS_R_SET_RETURN="#define PASS_R_SET_RETURN int"
@ -11142,12 +11181,12 @@ fi
echo $ac_n "checking for getpwnam_r""... $ac_c" 1>&6
echo "configure:11146: checking for getpwnam_r" >&5
echo "configure:11185: checking for getpwnam_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpwnam_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11151 "configure"
#line 11190 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwnam_r(); below. */
@ -11170,7 +11209,7 @@ getpwnam_r();
; return 0; }
EOF
if { (eval echo configure:11174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getpwnam_r=yes"
else
@ -11194,12 +11233,12 @@ EOF
fi
echo $ac_n "checking for getpwuid_r""... $ac_c" 1>&6
echo "configure:11198: checking for getpwuid_r" >&5
echo "configure:11237: checking for getpwuid_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getpwuid_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11203 "configure"
#line 11242 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwuid_r(); below. */
@ -11222,7 +11261,7 @@ getpwuid_r();
; return 0; }
EOF
if { (eval echo configure:11226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getpwuid_r=yes"
else
@ -11247,12 +11286,12 @@ fi
echo $ac_n "checking for getservent_r""... $ac_c" 1>&6
echo "configure:11251: checking for getservent_r" >&5
echo "configure:11290: checking for getservent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_getservent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11256 "configure"
#line 11295 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getservent_r(); below. */
@ -11275,7 +11314,7 @@ getservent_r();
; return 0; }
EOF
if { (eval echo configure:11279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11318: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_getservent_r=yes"
else
@ -11290,7 +11329,7 @@ fi
if eval "test \"`echo '$ac_cv_func_'getservent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
#line 11294 "configure"
#line 11333 "configure"
#include "confdefs.h"
#include <netdb.h>
@ -11301,7 +11340,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:11305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:11344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"
@ -11315,6 +11354,36 @@ SERV_R_RETURN="#define SERV_R_RETURN struct servent *"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
#line 11360 "configure"
#include "confdefs.h"
#include <netdb.h>
struct servent *
getservent_r __P ((struct servent *, char *, size_t, struct servent **));
int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:11371: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen, struct servent **answer"
SERV_R_BAD="#define SERV_R_BAD (-1)"
SERV_R_COPY="#define SERV_R_COPY buf, buflen"
SERV_R_COPY_ARGS="#define SERV_R_COPY_ARGS SERV_R_ARGS"
SERV_R_OK="#define SERV_R_OK (0)"
SERV_R_RETURN="#define SERV_R_RETURN 1"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
fi
rm -f conftest*
@ -11337,12 +11406,12 @@ fi
echo $ac_n "checking for endservent_r""... $ac_c" 1>&6
echo "configure:11341: checking for endservent_r" >&5
echo "configure:11410: checking for endservent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_endservent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11346 "configure"
#line 11415 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endservent_r(); below. */
@ -11365,7 +11434,7 @@ endservent_r();
; return 0; }
EOF
if { (eval echo configure:11369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_endservent_r=yes"
else
@ -11393,12 +11462,12 @@ fi
echo $ac_n "checking for setservent_r""... $ac_c" 1>&6
echo "configure:11397: checking for setservent_r" >&5
echo "configure:11466: checking for setservent_r" >&5
if eval "test \"`echo '$''{'ac_cv_func_setservent_r'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 11402 "configure"
#line 11471 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setservent_r(); below. */
@ -11421,7 +11490,7 @@ setservent_r();
; return 0; }
EOF
if { (eval echo configure:11425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:11494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_setservent_r=yes"
else
@ -11827,6 +11896,7 @@ s%@HOST_R_COPY_ARGS@%$HOST_R_COPY_ARGS%g
s%@HOST_R_ERRNO@%$HOST_R_ERRNO%g
s%@HOST_R_OK@%$HOST_R_OK%g
s%@HOST_R_RETURN@%$HOST_R_RETURN%g
s%@HOST_R_SETANSWER@%$HOST_R_SETANSWER%g
s%@HOSTENT_DATA@%$HOSTENT_DATA%g
s%@HOST_R_END_RESULT@%$HOST_R_END_RESULT%g
s%@HOST_R_END_RETURN@%$HOST_R_END_RETURN%g