12314
echo "$as_me:$LINENO: checking for uintptr_t" >&5
12315
echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
12316
if test "${ac_cv_type_uintptr_t+set}" = set; then
12317
echo $ECHO_N "(cached) $ECHO_C" >&6
12319
cat >conftest.$ac_ext <<_ACEOF
12322
cat confdefs.h >>conftest.$ac_ext
12323
cat >>conftest.$ac_ext <<_ACEOF
12324
/* end confdefs.h. */
12325
$ac_includes_default
12329
if ((uintptr_t *) 0)
12331
if (sizeof (uintptr_t))
12337
rm -f conftest.$ac_objext
12338
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12339
(eval $ac_compile) 2>conftest.er1
12341
grep -v '^ *+' conftest.er1 >conftest.err
12343
cat conftest.err >&5
12344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345
(exit $ac_status); } &&
12346
{ ac_try='test -z "$ac_c_werror_flag"
12347
|| test ! -s conftest.err'
12348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12349
(eval $ac_try) 2>&5
12351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352
(exit $ac_status); }; } &&
12353
{ ac_try='test -s conftest.$ac_objext'
12354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355
(eval $ac_try) 2>&5
12357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358
(exit $ac_status); }; }; then
12359
ac_cv_type_uintptr_t=yes
12361
echo "$as_me: failed program was:" >&5
12362
sed 's/^/| /' conftest.$ac_ext >&5
12364
ac_cv_type_uintptr_t=no
12366
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12368
echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
12369
echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
12370
if test $ac_cv_type_uintptr_t = yes; then
12372
cat >>confdefs.h <<_ACEOF
12373
#define HAVE_UINTPTR_T 1
12378
echo "$as_me:$LINENO: checking for intptr_t" >&5
12379
echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
12380
if test "${ac_cv_type_intptr_t+set}" = set; then
12381
echo $ECHO_N "(cached) $ECHO_C" >&6
12383
cat >conftest.$ac_ext <<_ACEOF
12386
cat confdefs.h >>conftest.$ac_ext
12387
cat >>conftest.$ac_ext <<_ACEOF
12388
/* end confdefs.h. */
12389
$ac_includes_default
12393
if ((intptr_t *) 0)
12395
if (sizeof (intptr_t))
12401
rm -f conftest.$ac_objext
12402
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12403
(eval $ac_compile) 2>conftest.er1
12405
grep -v '^ *+' conftest.er1 >conftest.err
12407
cat conftest.err >&5
12408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12409
(exit $ac_status); } &&
12410
{ ac_try='test -z "$ac_c_werror_flag"
12411
|| test ! -s conftest.err'
12412
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12413
(eval $ac_try) 2>&5
12415
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12416
(exit $ac_status); }; } &&
12417
{ ac_try='test -s conftest.$ac_objext'
12418
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12419
(eval $ac_try) 2>&5
12421
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12422
(exit $ac_status); }; }; then
12423
ac_cv_type_intptr_t=yes
12425
echo "$as_me: failed program was:" >&5
12426
sed 's/^/| /' conftest.$ac_ext >&5
12428
ac_cv_type_intptr_t=no
12430
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12432
echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
12433
echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
12434
if test $ac_cv_type_intptr_t = yes; then
12436
cat >>confdefs.h <<_ACEOF
12437
#define HAVE_INTPTR_T 1
12313
12444
# guess IPv6 stack type.
12314
12445
if test "x$enable_ipv6" = "xyes"; then
19001
for ac_header in sys/timeout.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/time.h sys/times.h sys/swap.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h
19097
# at least OpenBSD 3.4 needs sys/param.h (MAXPATHLEN) to compile sys/swap.h
19099
for ac_header in sys/swap.h
19101
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19102
echo "$as_me:$LINENO: checking for $ac_header" >&5
19103
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19104
if eval "test \"\${$as_ac_Header+set}\" = set"; then
19105
echo $ECHO_N "(cached) $ECHO_C" >&6
19107
cat >conftest.$ac_ext <<_ACEOF
19110
cat confdefs.h >>conftest.$ac_ext
19111
cat >>conftest.$ac_ext <<_ACEOF
19112
/* end confdefs.h. */
19113
$ac_includes_default
19115
#if HAVE_SYS_PARAM_H
19116
#include <sys/param.h>
19120
#include <$ac_header>
19122
rm -f conftest.$ac_objext
19123
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19124
(eval $ac_compile) 2>conftest.er1
19126
grep -v '^ *+' conftest.er1 >conftest.err
19128
cat conftest.err >&5
19129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130
(exit $ac_status); } &&
19131
{ ac_try='test -z "$ac_c_werror_flag"
19132
|| test ! -s conftest.err'
19133
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19134
(eval $ac_try) 2>&5
19136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19137
(exit $ac_status); }; } &&
19138
{ ac_try='test -s conftest.$ac_objext'
19139
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19140
(eval $ac_try) 2>&5
19142
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19143
(exit $ac_status); }; }; then
19144
eval "$as_ac_Header=yes"
19146
echo "$as_me: failed program was:" >&5
19147
sed 's/^/| /' conftest.$ac_ext >&5
19149
eval "$as_ac_Header=no"
19151
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19153
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19154
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19155
if test `eval echo '${'$as_ac_Header'}'` = yes; then
19156
cat >>confdefs.h <<_ACEOF
19157
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19199
for ac_header in sys/timeout.h sys/un.h fstab.h sys/fs.h mtab.h ufs/fs.h sys/fixpoint.h machine/param.h sys/vm.h vm/vm.h sys/vmmeter.h sys/vmparam.h sys/vmmac.h sys/vmsystm.h sys/time.h sys/times.h sys/statvfs.h sys/vfs.h sys/mnttab.h sys/select.h mntent.h sys/mntent.h kstat.h utsname.h sys/utsname.h sys/cdefs.h getopt.h locale.h pthread.h sys/loadavg.h regex.h linux/tasks.h pwd.h grp.h utmpx.h
19003
19201
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19004
19202
if eval "test \"\${$as_ac_Header+set}\" = set"; then