endhostent_r

This commit is contained in:
Mark Andrews
2001-04-11 02:16:22 +00:00
parent 2779002c16
commit 5ae17a93cd
2 changed files with 108 additions and 77 deletions

174
lib/bind/configure vendored
View File

@@ -1,7 +1,7 @@
#! /bin/sh
# From configure.in Revision: 1.32
# From configure.in Revision: 1.33
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
@@ -5471,7 +5471,29 @@ fi
if eval "test \"`echo '$ac_cv_func_'endhostent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
:
cat > conftest.$ac_ext <<EOF
#line 5476 "configure"
#include "confdefs.h"
#include <netdb.h>
int endhostent_r(struct hostent_data *buffer);
int main() {
; return 0; }
EOF
if { (eval echo configure:5486: \"$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"
HOST_R_ENT_ARGS="#undef HOST_R_ENT_ARGS struct hostent_data *hdptr"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
fi
rm -f conftest*
else
echo "$ac_t""no" 1>&6
HOST_R_END_RESULT="#define HOST_R_END_RESULT(x) /*empty*/"
@@ -5485,12 +5507,12 @@ fi
echo $ac_n "checking for sethostent_r""... $ac_c" 1>&6
echo "configure:5489: checking for sethostent_r" >&5
echo "configure:5511: 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 5494 "configure"
#line 5516 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char sethostent_r(); below. */
@@ -5513,7 +5535,7 @@ sethostent_r();
; return 0; }
EOF
if { (eval echo configure:5517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5539: \"$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
@@ -5540,9 +5562,9 @@ fi
echo $ac_n "checking struct passwd element pw_class""... $ac_c" 1>&6
echo "configure:5544: checking struct passwd element pw_class" >&5
echo "configure:5566: checking struct passwd element pw_class" >&5
cat > conftest.$ac_ext <<EOF
#line 5546 "configure"
#line 5568 "configure"
#include "confdefs.h"
#include <sys/types.h>
@@ -5552,7 +5574,7 @@ int main() {
struct passwd *pw; pw->pw_class = "";
; return 0; }
EOF
if { (eval echo configure:5556: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5578: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
cat >> confdefs.h <<\EOF
@@ -5570,7 +5592,7 @@ fi
rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 5574 "configure"
#line 5596 "configure"
#include "confdefs.h"
#include <sys/types.h>
@@ -5582,7 +5604,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:5586: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SETPWENT_VOID="#define SETPWENT_VOID 1"
@@ -5597,7 +5619,7 @@ rm -f conftest*
cat > conftest.$ac_ext <<EOF
#line 5601 "configure"
#line 5623 "configure"
#include "confdefs.h"
#include <sys/types.h>
@@ -5609,7 +5631,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:5613: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5635: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SETGRENT_VOID="#define SETGRENT_VOID 1"
@@ -5624,12 +5646,12 @@ rm -f conftest*
echo $ac_n "checking for getnetgrent_r""... $ac_c" 1>&6
echo "configure:5628: checking for getnetgrent_r" >&5
echo "configure:5650: 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 5633 "configure"
#line 5655 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getnetgrent_r(); below. */
@@ -5652,7 +5674,7 @@ getnetgrent_r();
; return 0; }
EOF
if { (eval echo configure:5656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5678: \"$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
@@ -5667,7 +5689,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 5671 "configure"
#line 5693 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -5678,7 +5700,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:5682: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
NGR_R_ARGS="#define NGR_R_ARGS char *buf, int buflen"
@@ -5714,12 +5736,12 @@ fi
echo $ac_n "checking for endnetgrent_r""... $ac_c" 1>&6
echo "configure:5718: checking for endnetgrent_r" >&5
echo "configure:5740: 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 5723 "configure"
#line 5745 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endnetgrent_r(); below. */
@@ -5742,7 +5764,7 @@ endnetgrent_r();
; return 0; }
EOF
if { (eval echo configure:5746: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5768: \"$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
@@ -5774,12 +5796,12 @@ fi
echo $ac_n "checking for setnetgrent_r""... $ac_c" 1>&6
echo "configure:5778: checking for setnetgrent_r" >&5
echo "configure:5800: 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 5783 "configure"
#line 5805 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setnetgrent_r(); below. */
@@ -5802,7 +5824,7 @@ setnetgrent_r();
; return 0; }
EOF
if { (eval echo configure:5806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5828: \"$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
@@ -5832,12 +5854,12 @@ fi
echo $ac_n "checking for innetgr_r""... $ac_c" 1>&6
echo "configure:5836: checking for innetgr_r" >&5
echo "configure:5858: 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 5841 "configure"
#line 5863 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char innetgr_r(); below. */
@@ -5860,7 +5882,7 @@ innetgr_r();
; return 0; }
EOF
if { (eval echo configure:5864: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5886: \"$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
@@ -5885,12 +5907,12 @@ fi
echo $ac_n "checking for getprotoent_r""... $ac_c" 1>&6
echo "configure:5889: checking for getprotoent_r" >&5
echo "configure:5911: 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 5894 "configure"
#line 5916 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getprotoent_r(); below. */
@@ -5913,7 +5935,7 @@ getprotoent_r();
; return 0; }
EOF
if { (eval echo configure:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:5939: \"$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
@@ -5928,7 +5950,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 5932 "configure"
#line 5954 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -5941,7 +5963,7 @@ return (0);
; return 0; }
EOF
if { (eval echo configure:5945: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:5967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, int buflen"
@@ -5977,12 +5999,12 @@ fi
echo $ac_n "checking for endprotoent_r""... $ac_c" 1>&6
echo "configure:5981: checking for endprotoent_r" >&5
echo "configure:6003: 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 5986 "configure"
#line 6008 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endprotoent_r(); below. */
@@ -6005,7 +6027,7 @@ endprotoent_r();
; return 0; }
EOF
if { (eval echo configure:6009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6031: \"$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
@@ -6033,12 +6055,12 @@ fi
echo $ac_n "checking for setprotoent_r""... $ac_c" 1>&6
echo "configure:6037: checking for setprotoent_r" >&5
echo "configure:6059: 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 6042 "configure"
#line 6064 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setprotoent_r(); below. */
@@ -6061,7 +6083,7 @@ setprotoent_r();
; return 0; }
EOF
if { (eval echo configure:6065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6087: \"$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
@@ -6087,12 +6109,12 @@ fi
echo $ac_n "checking for getpwent_r""... $ac_c" 1>&6
echo "configure:6091: checking for getpwent_r" >&5
echo "configure:6113: 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 6096 "configure"
#line 6118 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwent_r(); below. */
@@ -6115,7 +6137,7 @@ getpwent_r();
; return 0; }
EOF
if { (eval echo configure:6119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6141: \"$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
@@ -6130,7 +6152,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 6134 "configure"
#line 6156 "configure"
#include "confdefs.h"
#include <sys/types.h>
@@ -6144,7 +6166,7 @@ int main() {
; return 0; }
EOF
if { (eval echo configure:6148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6170: \"$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"
@@ -6182,12 +6204,12 @@ fi
echo $ac_n "checking for endpwent_r""... $ac_c" 1>&6
echo "configure:6186: checking for endpwent_r" >&5
echo "configure:6208: 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 6191 "configure"
#line 6213 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endpwent_r(); below. */
@@ -6210,7 +6232,7 @@ endpwent_r();
; return 0; }
EOF
if { (eval echo configure:6214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6236: \"$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
@@ -6241,12 +6263,12 @@ fi
echo $ac_n "checking for setpassent_r""... $ac_c" 1>&6
echo "configure:6245: checking for setpassent_r" >&5
echo "configure:6267: 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 6250 "configure"
#line 6272 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpassent_r(); below. */
@@ -6269,7 +6291,7 @@ setpassent_r();
; return 0; }
EOF
if { (eval echo configure:6273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6295: \"$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
@@ -6293,12 +6315,12 @@ EOF
fi
echo $ac_n "checking for setpassent""... $ac_c" 1>&6
echo "configure:6297: checking for setpassent" >&5
echo "configure:6319: 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 6302 "configure"
#line 6324 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpassent(); below. */
@@ -6321,7 +6343,7 @@ setpassent();
; return 0; }
EOF
if { (eval echo configure:6325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6347: \"$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
@@ -6346,12 +6368,12 @@ fi
echo $ac_n "checking for setpwent_r""... $ac_c" 1>&6
echo "configure:6350: checking for setpwent_r" >&5
echo "configure:6372: 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 6355 "configure"
#line 6377 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpwent_r(); below. */
@@ -6374,7 +6396,7 @@ setpwent_r();
; return 0; }
EOF
if { (eval echo configure:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6400: \"$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
@@ -6404,12 +6426,12 @@ fi
echo $ac_n "checking for getpwnam_r""... $ac_c" 1>&6
echo "configure:6408: checking for getpwnam_r" >&5
echo "configure:6430: 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 6413 "configure"
#line 6435 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwnam_r(); below. */
@@ -6432,7 +6454,7 @@ getpwnam_r();
; return 0; }
EOF
if { (eval echo configure:6436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6458: \"$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
@@ -6456,12 +6478,12 @@ EOF
fi
echo $ac_n "checking for getpwuid_r""... $ac_c" 1>&6
echo "configure:6460: checking for getpwuid_r" >&5
echo "configure:6482: 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 6465 "configure"
#line 6487 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwuid_r(); below. */
@@ -6484,7 +6506,7 @@ getpwuid_r();
; return 0; }
EOF
if { (eval echo configure:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6510: \"$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
@@ -6509,12 +6531,12 @@ fi
echo $ac_n "checking for getservent_r""... $ac_c" 1>&6
echo "configure:6513: checking for getservent_r" >&5
echo "configure:6535: 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 6518 "configure"
#line 6540 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getservent_r(); below. */
@@ -6537,7 +6559,7 @@ getservent_r();
; return 0; }
EOF
if { (eval echo configure:6541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6563: \"$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
@@ -6552,7 +6574,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 6556 "configure"
#line 6578 "configure"
#include "confdefs.h"
#include <netdb.h>
@@ -6563,7 +6585,7 @@ int main() {
return (0);
; return 0; }
EOF
if { (eval echo configure:6567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:6589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"
@@ -6599,12 +6621,12 @@ fi
echo $ac_n "checking for endservent_r""... $ac_c" 1>&6
echo "configure:6603: checking for endservent_r" >&5
echo "configure:6625: 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 6608 "configure"
#line 6630 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endservent_r(); below. */
@@ -6627,7 +6649,7 @@ endservent_r();
; return 0; }
EOF
if { (eval echo configure:6631: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6653: \"$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
@@ -6655,12 +6677,12 @@ fi
echo $ac_n "checking for setservent_r""... $ac_c" 1>&6
echo "configure:6659: checking for setservent_r" >&5
echo "configure:6681: 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 6664 "configure"
#line 6686 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setservent_r(); below. */
@@ -6683,7 +6705,7 @@ setservent_r();
; return 0; }
EOF
if { (eval echo configure:6687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:6709: \"$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
@@ -6786,7 +6808,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6790: checking for $ac_word" >&5
echo "configure:6812: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_JADE'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6833,7 +6855,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6837: checking for $ac_word" >&5
echo "configure:6859: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_TEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6875,7 +6897,7 @@ do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:6879: checking for $ac_word" >&5
echo "configure:6901: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_PDFTEX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@@ -6920,7 +6942,7 @@ done
SGMLDIR=""
echo $ac_n "checking for SGML files""... $ac_c" 1>&6
echo "configure:6924: checking for SGML files" >&5
echo "configure:6946: checking for SGML files" >&5
for d in /usr/pkg/share/sgml /usr/local/share/sgml
do
if test -f $d/docbook/dsssl/modular/html/docbook.dsl
@@ -6945,7 +6967,7 @@ fi
XGMLDIR=""
echo $ac_n "checking for XML files""... $ac_c" 1>&6
echo "configure:6949: checking for XML files" >&5
echo "configure:6971: checking for XML files" >&5
for d in /usr/pkg/share/xml /usr/local/share/xml
do
if test -f $d/dtd/docbook/docbookx.dtd

View File

@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.33 $)
AC_REVISION($Revision: 1.34 $)
AC_INIT(resolv/herror.c)
AC_PREREQ(2.13)
@@ -1470,6 +1470,15 @@ AC_SUBST(HOST_R_OK)
AC_SUBST(HOST_R_RETURN)
AC_CHECK_FUNC(endhostent_r,
AC_TRY_COMPILE([
#include <netdb.h>
int endhostent_r(struct hostent_data *buffer);
], ,
HOST_R_END_RESULT="#define HOST_R_END_RESULT(x) return (x)"
HOST_R_END_RETURN="#define HOST_R_END_RETURN int"
HOST_R_ENT_ARGS="#undef HOST_R_ENT_ARGS struct hostent_data *hdptr"
,
)
,
HOST_R_END_RESULT="#define HOST_R_END_RESULT(x) /*empty*/"
HOST_R_END_RETURN="#define HOST_R_END_RETURN void"