#! /bin/sh
-# From configure.in Revision: 1.71
+# From configure.in Revision: 1.72
# libtool.m4 - Configure libtool for the host system. -*-Shell-script-*-
## Copyright 1996, 1997, 1998, 1999, 2000, 2001
PROTO_R_COPY="#define PROTO_R_COPY buf, buflen"
PROTO_R_COPY_ARGS="#define PROTO_R_COPY_ARGS PROTO_R_ARGS"
PROTO_R_OK="#define PROTO_R_OK pptr"
+PROTO_R_SETANSWER="#undef PROTO_R_SETANSWER"
PROTO_R_RETURN="#define PROTO_R_RETURN struct protoent *"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 10705 "configure"
+#include "confdefs.h"
+
+#include <netdb.h>
+int getprotoent_r (struct protoent *, char *, size_t, struct protoent **);
+
+
+
+int main() {
+return (0);
+
+; return 0; }
+EOF
+if { (eval echo configure:10718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+
+PROTO_R_ARGS="#define PROTO_R_ARGS char *buf, size_t buflen, struct protoent **answerp"
+PROTO_R_BAD="#define PROTO_R_BAD ERANGE"
+PROTO_R_COPY="#define PROTO_R_COPY buf, buflen"
+PROTO_R_COPY_ARGS="#define PROTO_R_COPY_ARGS char *buf, size_t buflen"
+PROTO_R_OK="#define PROTO_R_OK 0"
+PROTO_R_SETANSWER="#define PROTO_R_SETANSWER 1"
+PROTO_R_RETURN="#define PROTO_R_RETURN int"
+
+
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
+
fi
rm -f conftest*
PROTO_R_COPY="#define PROTO_R_COPY buf, buflen"
PROTO_R_COPY_ARGS="#define PROTO_R_COPY_ARGS PROTO_R_ARGS"
PROTO_R_OK="#define PROTO_R_OK pptr"
+PROTO_R_SETANSWER="#undef PROTO_R_SETANSWER"
PROTO_R_RETURN="#define PROTO_R_RETURN struct protoent *"
fi
+
echo $ac_n "checking for endprotoent_r""... $ac_c" 1>&6
-echo "configure:10724: checking for endprotoent_r" >&5
+echo "configure:10760: 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 10729 "configure"
+#line 10765 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endprotoent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:10752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10788: \"$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
echo $ac_n "checking for setprotoent_r""... $ac_c" 1>&6
-echo "configure:10780: checking for setprotoent_r" >&5
+echo "configure:10816: 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 10785 "configure"
+#line 10821 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setprotoent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:10808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10844: \"$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
echo $ac_n "checking for getpwent_r""... $ac_c" 1>&6
-echo "configure:10834: checking for getpwent_r" >&5
+echo "configure:10870: 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 10839 "configure"
+#line 10875 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:10862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10898: \"$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
if eval "test \"`echo '$ac_cv_func_'getpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 10877 "configure"
+#line 10913 "configure"
#include "confdefs.h"
#include <sys/types.h>
; return 0; }
EOF
-if { (eval echo configure:10891: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10927: \"$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"
echo $ac_n "checking for endpwent_r""... $ac_c" 1>&6
-echo "configure:10929: checking for endpwent_r" >&5
+echo "configure:10965: 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 10934 "configure"
+#line 10970 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endpwent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:10957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10993: \"$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
if eval "test \"`echo '$ac_cv_func_'endpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 10972 "configure"
+#line 11008 "configure"
#include "confdefs.h"
#include <pwd.h>
; return 0; }
EOF
-if { (eval echo configure:10982: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11018: \"$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"
echo $ac_n "checking for setpassent_r""... $ac_c" 1>&6
-echo "configure:11010: checking for setpassent_r" >&5
+echo "configure:11046: 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 11015 "configure"
+#line 11051 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpassent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11074: \"$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
fi
echo $ac_n "checking for setpassent""... $ac_c" 1>&6
-echo "configure:11062: checking for setpassent" >&5
+echo "configure:11098: 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 11067 "configure"
+#line 11103 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpassent(); below. */
; return 0; }
EOF
-if { (eval echo configure:11090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11126: \"$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
echo $ac_n "checking for setpwent_r""... $ac_c" 1>&6
-echo "configure:11115: checking for setpwent_r" >&5
+echo "configure:11151: 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 11120 "configure"
+#line 11156 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setpwent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11179: \"$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
if eval "test \"`echo '$ac_cv_func_'setpwent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 11158 "configure"
+#line 11194 "configure"
#include "confdefs.h"
#include <pwd.h>
; return 0; }
EOF
-if { (eval echo configure:11168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11204: \"$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"
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
-#line 11178 "configure"
+#line 11214 "configure"
#include "confdefs.h"
#include <pwd.h>
; return 0; }
EOF
-if { (eval echo configure:11188: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11224: \"$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"
echo $ac_n "checking for getpwnam_r""... $ac_c" 1>&6
-echo "configure:11217: checking for getpwnam_r" >&5
+echo "configure:11253: 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 11222 "configure"
+#line 11258 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwnam_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11281: \"$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
fi
echo $ac_n "checking for getpwuid_r""... $ac_c" 1>&6
-echo "configure:11269: checking for getpwuid_r" >&5
+echo "configure:11305: 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 11274 "configure"
+#line 11310 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getpwuid_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11297: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11333: \"$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
echo $ac_n "checking for getservent_r""... $ac_c" 1>&6
-echo "configure:11322: checking for getservent_r" >&5
+echo "configure:11358: 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 11327 "configure"
+#line 11363 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char getservent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11386: \"$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
if eval "test \"`echo '$ac_cv_func_'getservent_r`\" = yes"; then
echo "$ac_t""yes" 1>&6
cat > conftest.$ac_ext <<EOF
-#line 11365 "configure"
+#line 11401 "configure"
#include "confdefs.h"
#include <netdb.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:11376: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"
cat conftest.$ac_ext >&5
rm -rf conftest*
cat > conftest.$ac_ext <<EOF
-#line 11392 "configure"
+#line 11428 "configure"
#include "confdefs.h"
#include <netdb.h>
return (0);
; return 0; }
EOF
-if { (eval echo configure:11403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11439: \"$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"
echo $ac_n "checking for endservent_r""... $ac_c" 1>&6
-echo "configure:11442: checking for endservent_r" >&5
+echo "configure:11478: 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 11447 "configure"
+#line 11483 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char endservent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11470: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11506: \"$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
echo $ac_n "checking for setservent_r""... $ac_c" 1>&6
-echo "configure:11498: checking for setservent_r" >&5
+echo "configure:11534: 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 11503 "configure"
+#line 11539 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char setservent_r(); below. */
; return 0; }
EOF
-if { (eval echo configure:11526: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11562: \"$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
s%@PROTO_R_COPY@%$PROTO_R_COPY%g
s%@PROTO_R_COPY_ARGS@%$PROTO_R_COPY_ARGS%g
s%@PROTO_R_OK@%$PROTO_R_OK%g
+s%@PROTO_R_SETANSWER@%$PROTO_R_SETANSWER%g
s%@PROTO_R_RETURN@%$PROTO_R_RETURN%g
s%@PROTO_R_END_RESULT@%$PROTO_R_END_RESULT%g
s%@PROTO_R_END_RETURN@%$PROTO_R_END_RETURN%g