20230
20443
# BSDi3 headers
20233
for ac_header in sys/stat.h sys/vnode.h
20235
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20236
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20237
echo "$as_me:$LINENO: checking for $ac_header" >&5
20238
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20239
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20240
echo $ECHO_N "(cached) $ECHO_C" >&6
20242
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20243
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20245
# Is the header compilable?
20246
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20247
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20248
cat >conftest.$ac_ext <<_ACEOF
20251
cat confdefs.h >>conftest.$ac_ext
20252
cat >>conftest.$ac_ext <<_ACEOF
20253
/* end confdefs.h. */
20254
$ac_includes_default
20255
#include <$ac_header>
20257
rm -f conftest.$ac_objext
20258
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20259
(eval $ac_compile) 2>conftest.er1
20261
grep -v '^ *+' conftest.er1 >conftest.err
20263
cat conftest.err >&5
20264
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265
(exit $ac_status); } &&
20266
{ ac_try='test -z "$ac_c_werror_flag"
20267
|| test ! -s conftest.err'
20268
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269
(eval $ac_try) 2>&5
20271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272
(exit $ac_status); }; } &&
20273
{ ac_try='test -s conftest.$ac_objext'
20274
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275
(eval $ac_try) 2>&5
20277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278
(exit $ac_status); }; }; then
20279
ac_header_compiler=yes
20281
echo "$as_me: failed program was:" >&5
20282
sed 's/^/| /' conftest.$ac_ext >&5
20284
ac_header_compiler=no
20286
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20287
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20288
echo "${ECHO_T}$ac_header_compiler" >&6
20290
# Is the header present?
20291
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20292
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20293
cat >conftest.$ac_ext <<_ACEOF
20296
cat confdefs.h >>conftest.$ac_ext
20297
cat >>conftest.$ac_ext <<_ACEOF
20298
/* end confdefs.h. */
20299
#include <$ac_header>
20301
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20302
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20304
grep -v '^ *+' conftest.er1 >conftest.err
20306
cat conftest.err >&5
20307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308
(exit $ac_status); } >/dev/null; then
20309
if test -s conftest.err; then
20310
ac_cpp_err=$ac_c_preproc_warn_flag
20311
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20318
if test -z "$ac_cpp_err"; then
20319
ac_header_preproc=yes
20321
echo "$as_me: failed program was:" >&5
20322
sed 's/^/| /' conftest.$ac_ext >&5
20324
ac_header_preproc=no
20326
rm -f conftest.err conftest.$ac_ext
20327
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20328
echo "${ECHO_T}$ac_header_preproc" >&6
20330
# So? What about this header?
20331
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20333
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20334
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20335
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20336
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20337
ac_header_preproc=yes
20340
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20341
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20342
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20343
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20344
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20345
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20346
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20347
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20348
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20349
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20350
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20351
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20354
## ---------------------------------------------------- ##
20355
## Report this to net-snmp-coders@lists.sourceforge.net ##
20356
## ---------------------------------------------------- ##
20359
sed "s/^/$as_me: WARNING: /" >&2
20362
echo "$as_me:$LINENO: checking for $ac_header" >&5
20363
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20364
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20365
echo $ECHO_N "(cached) $ECHO_C" >&6
20367
eval "$as_ac_Header=\$ac_header_preproc"
20369
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20370
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20373
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20374
cat >>confdefs.h <<_ACEOF
20375
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20386
for ac_header in sys/hashing.h sys/tcpipstats.h sys/sysmp.h
20445
for ac_header in sys/stat.h
20447
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20448
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20449
echo "$as_me:$LINENO: checking for $ac_header" >&5
20450
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20451
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20452
echo $ECHO_N "(cached) $ECHO_C" >&6
20454
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20455
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20457
# Is the header compilable?
20458
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20459
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20460
cat >conftest.$ac_ext <<_ACEOF
20463
cat confdefs.h >>conftest.$ac_ext
20464
cat >>conftest.$ac_ext <<_ACEOF
20465
/* end confdefs.h. */
20466
$ac_includes_default
20467
#include <$ac_header>
20469
rm -f conftest.$ac_objext
20470
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20471
(eval $ac_compile) 2>conftest.er1
20473
grep -v '^ *+' conftest.er1 >conftest.err
20475
cat conftest.err >&5
20476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477
(exit $ac_status); } &&
20478
{ ac_try='test -z "$ac_c_werror_flag"
20479
|| test ! -s conftest.err'
20480
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20481
(eval $ac_try) 2>&5
20483
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484
(exit $ac_status); }; } &&
20485
{ ac_try='test -s conftest.$ac_objext'
20486
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20487
(eval $ac_try) 2>&5
20489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20490
(exit $ac_status); }; }; then
20491
ac_header_compiler=yes
20493
echo "$as_me: failed program was:" >&5
20494
sed 's/^/| /' conftest.$ac_ext >&5
20496
ac_header_compiler=no
20498
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20499
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20500
echo "${ECHO_T}$ac_header_compiler" >&6
20502
# Is the header present?
20503
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20504
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20505
cat >conftest.$ac_ext <<_ACEOF
20508
cat confdefs.h >>conftest.$ac_ext
20509
cat >>conftest.$ac_ext <<_ACEOF
20510
/* end confdefs.h. */
20511
#include <$ac_header>
20513
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20514
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20516
grep -v '^ *+' conftest.er1 >conftest.err
20518
cat conftest.err >&5
20519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520
(exit $ac_status); } >/dev/null; then
20521
if test -s conftest.err; then
20522
ac_cpp_err=$ac_c_preproc_warn_flag
20523
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20530
if test -z "$ac_cpp_err"; then
20531
ac_header_preproc=yes
20533
echo "$as_me: failed program was:" >&5
20534
sed 's/^/| /' conftest.$ac_ext >&5
20536
ac_header_preproc=no
20538
rm -f conftest.err conftest.$ac_ext
20539
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20540
echo "${ECHO_T}$ac_header_preproc" >&6
20542
# So? What about this header?
20543
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20545
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20546
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20547
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20548
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20549
ac_header_preproc=yes
20552
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20553
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20554
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20555
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20556
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20557
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20558
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20559
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20560
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20561
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20562
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20563
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20566
## ---------------------------------------------------- ##
20567
## Report this to net-snmp-coders@lists.sourceforge.net ##
20568
## ---------------------------------------------------- ##
20571
sed "s/^/$as_me: WARNING: /" >&2
20574
echo "$as_me:$LINENO: checking for $ac_header" >&5
20575
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20576
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20577
echo $ECHO_N "(cached) $ECHO_C" >&6
20579
eval "$as_ac_Header=\$ac_header_preproc"
20581
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20582
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20585
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20586
cat >>confdefs.h <<_ACEOF
20587
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20594
# BSDi3/IRIX headers
20595
# at least IRIX 6.5 needs _KMEMUSER and sys/types.h (mprot_t) to compile
20598
for ac_header in sys/vnode.h
20600
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20601
echo "$as_me:$LINENO: checking for $ac_header" >&5
20602
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20603
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20604
echo $ECHO_N "(cached) $ECHO_C" >&6
20606
cat >conftest.$ac_ext <<_ACEOF
20609
cat confdefs.h >>conftest.$ac_ext
20610
cat >>conftest.$ac_ext <<_ACEOF
20611
/* end confdefs.h. */
20613
#define _KMEMUSER 1
20614
#if HAVE_SYS_TYPES_H
20615
#include <sys/types.h>
20619
#include <$ac_header>
20621
rm -f conftest.$ac_objext
20622
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20623
(eval $ac_compile) 2>conftest.er1
20625
grep -v '^ *+' conftest.er1 >conftest.err
20627
cat conftest.err >&5
20628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629
(exit $ac_status); } &&
20630
{ ac_try='test -z "$ac_c_werror_flag"
20631
|| test ! -s conftest.err'
20632
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633
(eval $ac_try) 2>&5
20635
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636
(exit $ac_status); }; } &&
20637
{ ac_try='test -s conftest.$ac_objext'
20638
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639
(eval $ac_try) 2>&5
20641
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642
(exit $ac_status); }; }; then
20643
eval "$as_ac_Header=yes"
20645
echo "$as_me: failed program was:" >&5
20646
sed 's/^/| /' conftest.$ac_ext >&5
20648
eval "$as_ac_Header=no"
20650
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20652
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20653
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20654
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20655
cat >>confdefs.h <<_ACEOF
20656
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20663
# at least IRIX 6.5 needs sys/sema.h (mrlock_t) to compile sys/hashing.h
20665
for ac_header in sys/sema.h
20667
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20668
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20669
echo "$as_me:$LINENO: checking for $ac_header" >&5
20670
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20671
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20672
echo $ECHO_N "(cached) $ECHO_C" >&6
20674
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20675
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20677
# Is the header compilable?
20678
echo "$as_me:$LINENO: checking $ac_header usability" >&5
20679
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20680
cat >conftest.$ac_ext <<_ACEOF
20683
cat confdefs.h >>conftest.$ac_ext
20684
cat >>conftest.$ac_ext <<_ACEOF
20685
/* end confdefs.h. */
20686
$ac_includes_default
20687
#include <$ac_header>
20689
rm -f conftest.$ac_objext
20690
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20691
(eval $ac_compile) 2>conftest.er1
20693
grep -v '^ *+' conftest.er1 >conftest.err
20695
cat conftest.err >&5
20696
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697
(exit $ac_status); } &&
20698
{ ac_try='test -z "$ac_c_werror_flag"
20699
|| test ! -s conftest.err'
20700
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701
(eval $ac_try) 2>&5
20703
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704
(exit $ac_status); }; } &&
20705
{ ac_try='test -s conftest.$ac_objext'
20706
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707
(eval $ac_try) 2>&5
20709
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710
(exit $ac_status); }; }; then
20711
ac_header_compiler=yes
20713
echo "$as_me: failed program was:" >&5
20714
sed 's/^/| /' conftest.$ac_ext >&5
20716
ac_header_compiler=no
20718
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20719
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20720
echo "${ECHO_T}$ac_header_compiler" >&6
20722
# Is the header present?
20723
echo "$as_me:$LINENO: checking $ac_header presence" >&5
20724
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20725
cat >conftest.$ac_ext <<_ACEOF
20728
cat confdefs.h >>conftest.$ac_ext
20729
cat >>conftest.$ac_ext <<_ACEOF
20730
/* end confdefs.h. */
20731
#include <$ac_header>
20733
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20734
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20736
grep -v '^ *+' conftest.er1 >conftest.err
20738
cat conftest.err >&5
20739
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740
(exit $ac_status); } >/dev/null; then
20741
if test -s conftest.err; then
20742
ac_cpp_err=$ac_c_preproc_warn_flag
20743
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20750
if test -z "$ac_cpp_err"; then
20751
ac_header_preproc=yes
20753
echo "$as_me: failed program was:" >&5
20754
sed 's/^/| /' conftest.$ac_ext >&5
20756
ac_header_preproc=no
20758
rm -f conftest.err conftest.$ac_ext
20759
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20760
echo "${ECHO_T}$ac_header_preproc" >&6
20762
# So? What about this header?
20763
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20765
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20766
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20767
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20768
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20769
ac_header_preproc=yes
20772
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20773
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20774
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20775
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20776
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20777
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20778
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20779
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20780
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20781
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20782
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20783
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20786
## ---------------------------------------------------- ##
20787
## Report this to net-snmp-coders@lists.sourceforge.net ##
20788
## ---------------------------------------------------- ##
20791
sed "s/^/$as_me: WARNING: /" >&2
20794
echo "$as_me:$LINENO: checking for $ac_header" >&5
20795
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20796
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20797
echo $ECHO_N "(cached) $ECHO_C" >&6
20799
eval "$as_ac_Header=\$ac_header_preproc"
20801
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20802
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20805
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20806
cat >>confdefs.h <<_ACEOF
20807
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20815
for ac_header in sys/hashing.h
20817
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20818
echo "$as_me:$LINENO: checking for $ac_header" >&5
20819
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20820
if eval "test \"\${$as_ac_Header+set}\" = set"; then
20821
echo $ECHO_N "(cached) $ECHO_C" >&6
20823
cat >conftest.$ac_ext <<_ACEOF
20826
cat confdefs.h >>conftest.$ac_ext
20827
cat >>conftest.$ac_ext <<_ACEOF
20828
/* end confdefs.h. */
20829
$ac_includes_default
20831
#if HAVE_SYS_SEMA_H
20832
#include <sys/sema.h>
20836
#include <$ac_header>
20838
rm -f conftest.$ac_objext
20839
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20840
(eval $ac_compile) 2>conftest.er1
20842
grep -v '^ *+' conftest.er1 >conftest.err
20844
cat conftest.err >&5
20845
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846
(exit $ac_status); } &&
20847
{ ac_try='test -z "$ac_c_werror_flag"
20848
|| test ! -s conftest.err'
20849
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850
(eval $ac_try) 2>&5
20852
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853
(exit $ac_status); }; } &&
20854
{ ac_try='test -s conftest.$ac_objext'
20855
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20856
(eval $ac_try) 2>&5
20858
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859
(exit $ac_status); }; }; then
20860
eval "$as_ac_Header=yes"
20862
echo "$as_me: failed program was:" >&5
20863
sed 's/^/| /' conftest.$ac_ext >&5
20865
eval "$as_ac_Header=no"
20867
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20869
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20870
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20871
if test `eval echo '${'$as_ac_Header'}'` = yes; then
20872
cat >>confdefs.h <<_ACEOF
20873
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20880
# more IRIX headers
20883
for ac_header in sys/tcpipstats.h sys/sysmp.h
20388
20885
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20389
20886
if eval "test \"\${$as_ac_Header+set}\" = set"; then