getnetbyaddr_r
This commit is contained in:
Vendored
+98
-71
@@ -1,7 +1,7 @@
|
||||
#! /bin/sh
|
||||
|
||||
|
||||
# From configure.in Revision: 1.9
|
||||
# From configure.in Revision: 1.10
|
||||
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated automatically using autoconf version 2.13
|
||||
@@ -4753,7 +4753,34 @@ fi
|
||||
|
||||
if eval "test \"`echo '$ac_cv_func_'getnetbyaddr_r`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&6
|
||||
:
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4758 "configure"
|
||||
#include "confdefs.h"
|
||||
#include <netdb.h>
|
||||
struct netent *
|
||||
getnetbyaddr_r(long net, int type, struct netent *result, char *buffer,
|
||||
int buflen) {}
|
||||
|
||||
int main() {
|
||||
return (0)
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4769: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
|
||||
NET_R_ARGS="#define NET_R_ARGS char *buf, int buflen"
|
||||
NET_R_BAD="#define NET_R_BAD NULL"
|
||||
NET_R_COPY="#define NET_R_COPY buf, buflen"
|
||||
NET_R_COPY_ARGS="#define NET_R_COPY_ARGS NET_R_ARGS"
|
||||
NET_R_OK="#define NET_R_OK nptr"
|
||||
NET_R_RETURN="#define NET_R_RETURN struct netent *"
|
||||
|
||||
else
|
||||
echo "configure: failed program was:" >&5
|
||||
cat conftest.$ac_ext >&5
|
||||
fi
|
||||
rm -f conftest*
|
||||
|
||||
else
|
||||
echo "$ac_t""no" 1>&6
|
||||
NET_R_ARGS="#define NET_R_ARGS char *buf, int buflen"
|
||||
@@ -4773,12 +4800,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for setnetent_r""... $ac_c" 1>&6
|
||||
echo "configure:4777: checking for setnetent_r" >&5
|
||||
echo "configure:4804: checking for setnetent_r" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_setnetent_r'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4782 "configure"
|
||||
#line 4809 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char setnetent_r(); below. */
|
||||
@@ -4801,7 +4828,7 @@ setnetent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_setnetent_r=yes"
|
||||
else
|
||||
@@ -4829,12 +4856,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endnetent_r""... $ac_c" 1>&6
|
||||
echo "configure:4833: checking for endnetent_r" >&5
|
||||
echo "configure:4860: checking for endnetent_r" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_endnetent_r'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4838 "configure"
|
||||
#line 4865 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endnetent_r(); below. */
|
||||
@@ -4857,7 +4884,7 @@ endnetent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_endnetent_r=yes"
|
||||
else
|
||||
@@ -4883,12 +4910,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for getgrent_r""... $ac_c" 1>&6
|
||||
echo "configure:4887: checking for getgrent_r" >&5
|
||||
echo "configure:4914: checking for getgrent_r" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_getgrent_r'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4892 "configure"
|
||||
#line 4919 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getgrent_r(); below. */
|
||||
@@ -4911,7 +4938,7 @@ getgrent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:4942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_getgrent_r=yes"
|
||||
else
|
||||
@@ -4941,12 +4968,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endgrent_r""... $ac_c" 1>&6
|
||||
echo "configure:4945: checking for endgrent_r" >&5
|
||||
echo "configure:4972: checking for endgrent_r" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_endgrent_r'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 4950 "configure"
|
||||
#line 4977 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endgrent_r(); below. */
|
||||
@@ -4969,7 +4996,7 @@ endgrent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:4973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_endgrent_r=yes"
|
||||
else
|
||||
@@ -4997,12 +5024,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for setgrent_r""... $ac_c" 1>&6
|
||||
echo "configure:5001: checking for setgrent_r" >&5
|
||||
echo "configure:5028: checking for setgrent_r" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_setgrent_r'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5006 "configure"
|
||||
#line 5033 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char setgrent_r(); below. */
|
||||
@@ -5025,7 +5052,7 @@ setgrent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_setgrent_r=yes"
|
||||
else
|
||||
@@ -5051,12 +5078,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for gethostbyname_r""... $ac_c" 1>&6
|
||||
echo "configure:5055: checking for gethostbyname_r" >&5
|
||||
echo "configure:5082: checking for gethostbyname_r" >&5
|
||||
if eval "test \"`echo '$''{'ac_cv_func_gethostbyname_r'+set}'`\" = set"; then
|
||||
echo $ac_n "(cached) $ac_c" 1>&6
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5060 "configure"
|
||||
#line 5087 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char gethostbyname_r(); below. */
|
||||
@@ -5079,7 +5106,7 @@ gethostbyname_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
rm -rf conftest*
|
||||
eval "ac_cv_func_gethostbyname_r=yes"
|
||||
else
|
||||
@@ -5115,12 +5142,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endhostent_r""... $ac_c" 1>&6
|
||||
echo "configure:5119: checking for endhostent_r" >&5
|
||||
echo "configure:5146: 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 5124 "configure"
|
||||
#line 5151 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endhostent_r(); below. */
|
||||
@@ -5143,7 +5170,7 @@ endhostent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5174: \"$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
|
||||
@@ -5171,12 +5198,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for sethostent_r""... $ac_c" 1>&6
|
||||
echo "configure:5175: checking for sethostent_r" >&5
|
||||
echo "configure:5202: 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 5180 "configure"
|
||||
#line 5207 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char sethostent_r(); below. */
|
||||
@@ -5199,7 +5226,7 @@ sethostent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5230: \"$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
|
||||
@@ -5226,7 +5253,7 @@ fi
|
||||
|
||||
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 5230 "configure"
|
||||
#line 5257 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
@@ -5238,7 +5265,7 @@ int main() {
|
||||
return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:5269: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
SETPWENT_VOID="#define SETPWENT_VOID 1"
|
||||
|
||||
@@ -5253,12 +5280,12 @@ rm -f conftest*
|
||||
|
||||
|
||||
echo $ac_n "checking for getnetgrent_r""... $ac_c" 1>&6
|
||||
echo "configure:5257: checking for getnetgrent_r" >&5
|
||||
echo "configure:5284: 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 5262 "configure"
|
||||
#line 5289 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getnetgrent_r(); below. */
|
||||
@@ -5281,7 +5308,7 @@ getnetgrent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5312: \"$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
|
||||
@@ -5315,12 +5342,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endnetgrent_r""... $ac_c" 1>&6
|
||||
echo "configure:5319: checking for endnetgrent_r" >&5
|
||||
echo "configure:5346: 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 5324 "configure"
|
||||
#line 5351 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endnetgrent_r(); below. */
|
||||
@@ -5343,7 +5370,7 @@ endnetgrent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5374: \"$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
|
||||
@@ -5371,12 +5398,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for setnetgrent_r""... $ac_c" 1>&6
|
||||
echo "configure:5375: checking for setnetgrent_r" >&5
|
||||
echo "configure:5402: 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 5380 "configure"
|
||||
#line 5407 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char setnetgrent_r(); below. */
|
||||
@@ -5399,7 +5426,7 @@ setnetgrent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5430: \"$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
|
||||
@@ -5426,12 +5453,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for getprotoent_r""... $ac_c" 1>&6
|
||||
echo "configure:5430: checking for getprotoent_r" >&5
|
||||
echo "configure:5457: 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 5435 "configure"
|
||||
#line 5462 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getprotoent_r(); below. */
|
||||
@@ -5454,7 +5481,7 @@ getprotoent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5485: \"$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
|
||||
@@ -5488,12 +5515,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endprotoent_r""... $ac_c" 1>&6
|
||||
echo "configure:5492: checking for endprotoent_r" >&5
|
||||
echo "configure:5519: 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 5497 "configure"
|
||||
#line 5524 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endprotoent_r(); below. */
|
||||
@@ -5516,7 +5543,7 @@ endprotoent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5547: \"$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
|
||||
@@ -5544,12 +5571,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for setprotoent_r""... $ac_c" 1>&6
|
||||
echo "configure:5548: checking for setprotoent_r" >&5
|
||||
echo "configure:5575: 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 5553 "configure"
|
||||
#line 5580 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char setprotoent_r(); below. */
|
||||
@@ -5572,7 +5599,7 @@ setprotoent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5603: \"$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
|
||||
@@ -5598,12 +5625,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for getpwent_r""... $ac_c" 1>&6
|
||||
echo "configure:5602: checking for getpwent_r" >&5
|
||||
echo "configure:5629: 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 5607 "configure"
|
||||
#line 5634 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getpwent_r(); below. */
|
||||
@@ -5626,7 +5653,7 @@ getpwent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5657: \"$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
|
||||
@@ -5660,12 +5687,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endpwent_r""... $ac_c" 1>&6
|
||||
echo "configure:5664: checking for endpwent_r" >&5
|
||||
echo "configure:5691: 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 5669 "configure"
|
||||
#line 5696 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endpwent_r(); below. */
|
||||
@@ -5688,7 +5715,7 @@ endpwent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5719: \"$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
|
||||
@@ -5716,12 +5743,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for setpwent_r""... $ac_c" 1>&6
|
||||
echo "configure:5720: checking for setpwent_r" >&5
|
||||
echo "configure:5747: 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 5725 "configure"
|
||||
#line 5752 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char setpwent_r(); below. */
|
||||
@@ -5744,7 +5771,7 @@ setpwent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5775: \"$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
|
||||
@@ -5770,12 +5797,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for getservent_r""... $ac_c" 1>&6
|
||||
echo "configure:5774: checking for getservent_r" >&5
|
||||
echo "configure:5801: 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 5779 "configure"
|
||||
#line 5806 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char getservent_r(); below. */
|
||||
@@ -5798,7 +5825,7 @@ getservent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5829: \"$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
|
||||
@@ -5813,7 +5840,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 5817 "configure"
|
||||
#line 5844 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#include <netdb.h>
|
||||
@@ -5824,7 +5851,7 @@ int main() {
|
||||
return (0);
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
if { (eval echo configure:5855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
||||
rm -rf conftest*
|
||||
|
||||
SERV_R_ARGS="#define SERV_R_ARGS char *buf, int buflen"
|
||||
@@ -5860,12 +5887,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for endservent_r""... $ac_c" 1>&6
|
||||
echo "configure:5864: checking for endservent_r" >&5
|
||||
echo "configure:5891: 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 5869 "configure"
|
||||
#line 5896 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char endservent_r(); below. */
|
||||
@@ -5888,7 +5915,7 @@ endservent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5919: \"$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
|
||||
@@ -5916,12 +5943,12 @@ fi
|
||||
|
||||
|
||||
echo $ac_n "checking for setservent_r""... $ac_c" 1>&6
|
||||
echo "configure:5920: checking for setservent_r" >&5
|
||||
echo "configure:5947: 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 5925 "configure"
|
||||
#line 5952 "configure"
|
||||
#include "confdefs.h"
|
||||
/* System header to define __stub macros and hopefully few prototypes,
|
||||
which can conflict with char setservent_r(); below. */
|
||||
@@ -5944,7 +5971,7 @@ setservent_r();
|
||||
|
||||
; return 0; }
|
||||
EOF
|
||||
if { (eval echo configure:5948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
||||
if { (eval echo configure:5975: \"$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
|
||||
@@ -6047,7 +6074,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:6051: checking for $ac_word" >&5
|
||||
echo "configure:6078: 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
|
||||
@@ -6094,7 +6121,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:6098: checking for $ac_word" >&5
|
||||
echo "configure:6125: 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
|
||||
@@ -6136,7 +6163,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:6140: checking for $ac_word" >&5
|
||||
echo "configure:6167: 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
|
||||
@@ -6181,7 +6208,7 @@ done
|
||||
SGMLDIR=""
|
||||
|
||||
echo $ac_n "checking for SGML files""... $ac_c" 1>&6
|
||||
echo "configure:6185: checking for SGML files" >&5
|
||||
echo "configure:6212: 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
|
||||
@@ -6206,7 +6233,7 @@ fi
|
||||
XGMLDIR=""
|
||||
|
||||
echo $ac_n "checking for XML files""... $ac_c" 1>&6
|
||||
echo "configure:6210: checking for XML files" >&5
|
||||
echo "configure:6237: 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
|
||||
|
||||
+17
-1
@@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl
|
||||
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
|
||||
AC_DIVERT_POP()dnl
|
||||
|
||||
AC_REVISION($Revision: 1.10 $)
|
||||
AC_REVISION($Revision: 1.11 $)
|
||||
|
||||
AC_INIT(resolv/herror.c)
|
||||
AC_PREREQ(2.13)
|
||||
@@ -1302,6 +1302,22 @@ GETGROUPLIST_ARGS="#define GETGROUPLIST_ARGS const char *name, gid_t basegid, gi
|
||||
AC_SUBST(GETGROUPLIST_ARGS)
|
||||
|
||||
AC_CHECK_FUNC(getnetbyaddr_r,
|
||||
AC_TRY_COMPILE(
|
||||
[#include <netdb.h>
|
||||
struct netent *
|
||||
getnetbyaddr_r(long net, int type, struct netent *result, char *buffer,
|
||||
int buflen) {}
|
||||
],
|
||||
[return (0)],
|
||||
[
|
||||
NET_R_ARGS="#define NET_R_ARGS char *buf, int buflen"
|
||||
NET_R_BAD="#define NET_R_BAD NULL"
|
||||
NET_R_COPY="#define NET_R_COPY buf, buflen"
|
||||
NET_R_COPY_ARGS="#define NET_R_COPY_ARGS NET_R_ARGS"
|
||||
NET_R_OK="#define NET_R_OK nptr"
|
||||
NET_R_RETURN="#define NET_R_RETURN struct netent *"
|
||||
],
|
||||
)
|
||||
,
|
||||
NET_R_ARGS="#define NET_R_ARGS char *buf, int buflen"
|
||||
NET_R_BAD="#define NET_R_BAD NULL"
|
||||
|
||||
Reference in New Issue
Block a user