1887
2444
rm -f conftest.o conftest.obj
1888
if { (eval echo "$as_me:1888: \"$ac_compile\"") >&5
2445
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1889
2446
(eval $ac_compile) 2>&5
1891
echo "$as_me:1891: \$? = $ac_status" >&5
2448
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1892
2449
(exit $ac_status); }; then
1893
2450
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1894
2451
case $ac_file in
1895
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2452
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1896
2453
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1901
2458
echo "$as_me: failed program was:" >&5
1902
cat conftest.$ac_ext >&5
1903
{ { echo "$as_me:1903: error: cannot compute OBJEXT: cannot compile" >&5
1904
echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
2459
sed 's/^/| /' conftest.$ac_ext >&5
2461
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2462
See \`config.log' for more details." >&5
2463
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2464
See \`config.log' for more details." >&2;}
1905
2465
{ (exit 1); exit 1; }; }
1908
2468
rm -f conftest.$ac_cv_objext conftest.$ac_ext
1910
echo "$as_me:1910: result: $ac_cv_objext" >&5
2470
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1911
2471
echo "${ECHO_T}$ac_cv_objext" >&6
1912
2472
OBJEXT=$ac_cv_objext
1913
2473
ac_objext=$OBJEXT
1914
echo "$as_me:1914: checking whether we are using the GNU C compiler" >&5
1915
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1916
if test "${ac_cv_c_compiler_gnu+set}" = set; then
1917
echo $ECHO_N "(cached) $ECHO_C" >&6
1919
cat >conftest.$ac_ext <<_ACEOF
1920
#line 1920 "configure"
1921
#include "confdefs.h"
1934
rm -f conftest.$ac_objext
1935
if { (eval echo "$as_me:1935: \"$ac_compile\"") >&5
1936
(eval $ac_compile) 2>&5
1938
echo "$as_me:1938: \$? = $ac_status" >&5
1939
(exit $ac_status); } &&
1940
{ ac_try='test -s conftest.$ac_objext'
1941
{ (eval echo "$as_me:1941: \"$ac_try\"") >&5
1944
echo "$as_me:1944: \$? = $ac_status" >&5
1945
(exit $ac_status); }; }; then
1948
echo "$as_me: failed program was:" >&5
1949
cat conftest.$ac_ext >&5
1952
rm -f conftest.$ac_objext conftest.$ac_ext
1953
ac_cv_c_compiler_gnu=$ac_compiler_gnu
1956
echo "$as_me:1956: result: $ac_cv_c_compiler_gnu" >&5
1957
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1958
GCC=`test $ac_compiler_gnu = yes && echo yes`
1959
ac_test_CFLAGS=${CFLAGS+set}
1960
ac_save_CFLAGS=$CFLAGS
1962
echo "$as_me:1962: checking whether $CC accepts -g" >&5
1963
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1964
if test "${ac_cv_prog_cc_g+set}" = set; then
1965
echo $ECHO_N "(cached) $ECHO_C" >&6
1967
cat >conftest.$ac_ext <<_ACEOF
1968
#line 1968 "configure"
1969
#include "confdefs.h"
1979
rm -f conftest.$ac_objext
1980
if { (eval echo "$as_me:1980: \"$ac_compile\"") >&5
1981
(eval $ac_compile) 2>&5
1983
echo "$as_me:1983: \$? = $ac_status" >&5
1984
(exit $ac_status); } &&
1985
{ ac_try='test -s conftest.$ac_objext'
1986
{ (eval echo "$as_me:1986: \"$ac_try\"") >&5
1989
echo "$as_me:1989: \$? = $ac_status" >&5
1990
(exit $ac_status); }; }; then
1993
echo "$as_me: failed program was:" >&5
1994
cat conftest.$ac_ext >&5
1997
rm -f conftest.$ac_objext conftest.$ac_ext
1999
echo "$as_me:1999: result: $ac_cv_prog_cc_g" >&5
2000
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2001
if test "$ac_test_CFLAGS" = set; then
2002
CFLAGS=$ac_save_CFLAGS
2003
elif test $ac_cv_prog_cc_g = yes; then
2004
if test "$GCC" = yes; then
2010
if test "$GCC" = yes; then
2016
# Some people use a C++ compiler to compile C. Since we use `exit',
2017
# in C++ we need to declare it. In case someone uses the same compiler
2018
# for both compiling C and C++ we need to have the C++ compiler decide
2019
# the declaration of exit, since it's the most demanding environment.
2020
cat >conftest.$ac_ext <<_ACEOF
2025
rm -f conftest.$ac_objext
2026
if { (eval echo "$as_me:2026: \"$ac_compile\"") >&5
2027
(eval $ac_compile) 2>&5
2029
echo "$as_me:2029: \$? = $ac_status" >&5
2030
(exit $ac_status); } &&
2031
{ ac_try='test -s conftest.$ac_objext'
2032
{ (eval echo "$as_me:2032: \"$ac_try\"") >&5
2035
echo "$as_me:2035: \$? = $ac_status" >&5
2036
(exit $ac_status); }; }; then
2037
for ac_declaration in \
2039
'#include <stdlib.h>' \
2040
'extern "C" void std::exit (int) throw (); using std::exit;' \
2041
'extern "C" void std::exit (int); using std::exit;' \
2042
'extern "C" void exit (int) throw ();' \
2043
'extern "C" void exit (int);' \
2046
cat >conftest.$ac_ext <<_ACEOF
2047
#line 2047 "configure"
2048
#include "confdefs.h"
2059
rm -f conftest.$ac_objext
2060
if { (eval echo "$as_me:2060: \"$ac_compile\"") >&5
2061
(eval $ac_compile) 2>&5
2063
echo "$as_me:2063: \$? = $ac_status" >&5
2064
(exit $ac_status); } &&
2065
{ ac_try='test -s conftest.$ac_objext'
2066
{ (eval echo "$as_me:2066: \"$ac_try\"") >&5
2069
echo "$as_me:2069: \$? = $ac_status" >&5
2070
(exit $ac_status); }; }; then
2073
echo "$as_me: failed program was:" >&5
2074
cat conftest.$ac_ext >&5
2077
rm -f conftest.$ac_objext conftest.$ac_ext
2078
cat >conftest.$ac_ext <<_ACEOF
2079
#line 2079 "configure"
2080
#include "confdefs.h"
2090
rm -f conftest.$ac_objext
2091
if { (eval echo "$as_me:2091: \"$ac_compile\"") >&5
2092
(eval $ac_compile) 2>&5
2094
echo "$as_me:2094: \$? = $ac_status" >&5
2095
(exit $ac_status); } &&
2096
{ ac_try='test -s conftest.$ac_objext'
2097
{ (eval echo "$as_me:2097: \"$ac_try\"") >&5
2100
echo "$as_me:2100: \$? = $ac_status" >&5
2101
(exit $ac_status); }; }; then
2104
echo "$as_me: failed program was:" >&5
2105
cat conftest.$ac_ext >&5
2107
rm -f conftest.$ac_objext conftest.$ac_ext
2109
echo '#ifdef __cplusplus' >>confdefs.h
2110
echo $ac_declaration >>confdefs.h
2111
echo '#endif' >>confdefs.h
2114
echo "$as_me: failed program was:" >&5
2115
cat conftest.$ac_ext >&5
2117
rm -f conftest.$ac_objext conftest.$ac_ext
2119
ac_cpp='$CPP $CPPFLAGS'
2120
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2121
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2122
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2124
ac_config_commands="$ac_config_commands default-2"
2127
ac_cpp='$CPP $CPPFLAGS'
2128
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2129
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2130
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2131
echo "$as_me:2131: checking how to run the C preprocessor" >&5
2132
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2133
# On Suns, sometimes $CPP names a directory.
2134
if test -n "$CPP" && test -d "$CPP"; then
2137
if test -z "$CPP"; then
2138
if test "${ac_cv_prog_CPP+set}" = set; then
2139
echo $ECHO_N "(cached) $ECHO_C" >&6
2141
# Double quotes because CPP needs to be expanded
2142
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2144
# break 2 since there is a loop in there.
2146
for ac_c_preproc_warn_flag in '' yes
2148
# Use a header file that comes with gcc, so configuring glibc
2149
# with a fresh cross-compiler works.
2150
# On the NeXT, cc -E runs the code through the compiler's parser,
2151
# not just through cpp. "Syntax error" is here to catch this case.
2152
cat >conftest.$ac_ext <<_ACEOF
2153
#line 2153 "configure"
2154
#include "confdefs.h"
2158
if { (eval echo "$as_me:2158: \"$ac_cpp conftest.$ac_ext\"") >&5
2159
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2161
egrep -v '^ *\+' conftest.er1 >conftest.err
2163
cat conftest.err >&5
2164
echo "$as_me:2164: \$? = $ac_status" >&5
2165
(exit $ac_status); } >/dev/null; then
2166
if test -s conftest.err; then
2167
ac_cpp_err=$ac_c_preproc_warn_flag
2174
if test -z "$ac_cpp_err"; then
2177
echo "$as_me: failed program was:" >&5
2178
cat conftest.$ac_ext >&5
2179
# Broken: fails on valid input.
2182
rm -f conftest.err conftest.$ac_ext
2184
# OK, works on sane cases. Now check whether non-existent headers
2185
# can be detected and how.
2186
cat >conftest.$ac_ext <<_ACEOF
2187
#line 2187 "configure"
2188
#include "confdefs.h"
2189
#include <ac_nonexistent.h>
2191
if { (eval echo "$as_me:2191: \"$ac_cpp conftest.$ac_ext\"") >&5
2192
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2194
egrep -v '^ *\+' conftest.er1 >conftest.err
2196
cat conftest.err >&5
2197
echo "$as_me:2197: \$? = $ac_status" >&5
2198
(exit $ac_status); } >/dev/null; then
2199
if test -s conftest.err; then
2200
ac_cpp_err=$ac_c_preproc_warn_flag
2207
if test -z "$ac_cpp_err"; then
2208
# Broken: success on invalid input.
2211
echo "$as_me: failed program was:" >&5
2212
cat conftest.$ac_ext >&5
2213
# Passes both tests.
2217
rm -f conftest.err conftest.$ac_ext
2220
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2221
rm -f conftest.err conftest.$ac_ext
2222
if $ac_preproc_ok; then
2234
echo "$as_me:2234: result: $CPP" >&5
2235
echo "${ECHO_T}$CPP" >&6
2237
for ac_c_preproc_warn_flag in '' yes
2239
# Use a header file that comes with gcc, so configuring glibc
2240
# with a fresh cross-compiler works.
2241
# On the NeXT, cc -E runs the code through the compiler's parser,
2242
# not just through cpp. "Syntax error" is here to catch this case.
2243
cat >conftest.$ac_ext <<_ACEOF
2244
#line 2244 "configure"
2245
#include "confdefs.h"
2249
if { (eval echo "$as_me:2249: \"$ac_cpp conftest.$ac_ext\"") >&5
2250
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2252
egrep -v '^ *\+' conftest.er1 >conftest.err
2254
cat conftest.err >&5
2255
echo "$as_me:2255: \$? = $ac_status" >&5
2256
(exit $ac_status); } >/dev/null; then
2257
if test -s conftest.err; then
2258
ac_cpp_err=$ac_c_preproc_warn_flag
2265
if test -z "$ac_cpp_err"; then
2268
echo "$as_me: failed program was:" >&5
2269
cat conftest.$ac_ext >&5
2270
# Broken: fails on valid input.
2273
rm -f conftest.err conftest.$ac_ext
2275
# OK, works on sane cases. Now check whether non-existent headers
2276
# can be detected and how.
2277
cat >conftest.$ac_ext <<_ACEOF
2278
#line 2278 "configure"
2279
#include "confdefs.h"
2280
#include <ac_nonexistent.h>
2282
if { (eval echo "$as_me:2282: \"$ac_cpp conftest.$ac_ext\"") >&5
2283
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2285
egrep -v '^ *\+' conftest.er1 >conftest.err
2287
cat conftest.err >&5
2288
echo "$as_me:2288: \$? = $ac_status" >&5
2289
(exit $ac_status); } >/dev/null; then
2290
if test -s conftest.err; then
2291
ac_cpp_err=$ac_c_preproc_warn_flag
2298
if test -z "$ac_cpp_err"; then
2299
# Broken: success on invalid input.
2302
echo "$as_me: failed program was:" >&5
2303
cat conftest.$ac_ext >&5
2304
# Passes both tests.
2308
rm -f conftest.err conftest.$ac_ext
2311
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2312
rm -f conftest.err conftest.$ac_ext
2313
if $ac_preproc_ok; then
2316
{ { echo "$as_me:2316: error: C preprocessor \"$CPP\" fails sanity check" >&5
2317
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2318
{ (exit 1); exit 1; }; }
2322
ac_cpp='$CPP $CPPFLAGS'
2323
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2324
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2325
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2327
am_make=${MAKE-make}
2328
# BSD make uses .include
2329
cat > confinc << 'END'
2333
# If we don't find an include directive, just comment out the code.
2334
echo "$as_me:2334: checking for style of include used by $am_make" >&5
2335
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2337
for am_inc in include .include; do
2338
echo "$am_inc confinc" > confmf
2339
if test "`$am_make -f confmf 2> /dev/null`" = "done"; then
2345
echo "$as_me:2345: result: $_am_include" >&5
2346
echo "${ECHO_T}$_am_include" >&6
2347
rm -f confinc confmf
2352
echo "$as_me:2352: checking dependency style of $depcc" >&5
2353
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2354
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2355
echo $ECHO_N "(cached) $ECHO_C" >&6
2357
if test -z "$AMDEP"; then
2358
# We make a subdir and do the tests there. Otherwise we can end up
2359
# making bogus files that we don't know about and never remove. For
2360
# instance it was reported that on HP-UX the gcc test will end up
2361
# making a dummy file named `D' -- because `-MD' means `put the output
2364
# Copy depcomp to subdir because otherwise we won't find it if we're
2365
# using a relative directory.
2366
cp "$am_depcomp" confdir
2369
am_cv_CC_dependencies_compiler_type=none
2370
for depmode in `sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < "./depcomp"`; do
2371
# We need to recreate these files for each test, as the compiler may
2372
# overwrite some of them when testing with obscure command lines.
2373
# This happens at least with the AIX C compiler.
2374
echo '#include "conftest.h"' > conftest.c
2375
echo 'int i;' > conftest.h
2379
# after this tag, mechanisms are not by side-effect, so they'll
2380
# only be used when explicitly requested
2381
if test "x$enable_dependency_tracking" = xyes; then
2389
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2390
# mode. It turns out that the SunPro C++ compiler does not properly
2391
# handle `-M -o', and we need to detect this.
2392
if depmode="$depmode" \
2393
source=conftest.c object=conftest.o \
2394
depfile=conftest.Po tmpdepfile=conftest.TPo \
2395
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2396
grep conftest.h conftest.Po > /dev/null 2>&1; then
2397
am_cv_CC_dependencies_compiler_type="$depmode"
2405
am_cv_CC_dependencies_compiler_type=none
2409
echo "$as_me:2409: result: $am_cv_CC_dependencies_compiler_type" >&5
2410
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2411
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2413
echo "$as_me:2413: checking for $CC option to accept ANSI C" >&5
2414
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2415
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2416
echo $ECHO_N "(cached) $ECHO_C" >&6
2418
ac_cv_prog_cc_stdc=no
2420
cat >conftest.$ac_ext <<_ACEOF
2421
#line 2421 "configure"
2422
#include "confdefs.h"
2425
#include <sys/types.h>
2426
#include <sys/stat.h>
2427
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2428
struct buf { int x; };
2429
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2430
static char *e (p, i)
2436
static char *f (char * (*g) (char **, int), char **p, ...)
2441
s = g (p, va_arg (v,int));
2445
int test (int i, double x);
2446
struct s1 {int (*f) (int a);};
2447
struct s2 {int (*f) (double a);};
2448
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2454
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2459
# Don't try gcc -ansi; that turns off useful extensions and
2460
# breaks some systems' header files.
2461
# AIX -qlanglvl=ansi
2462
# Ultrix and OSF/1 -std1
2463
# HP-UX 10.20 and later -Ae
2464
# HP-UX older versions -Aa -D_HPUX_SOURCE
2465
# SVR4 -Xc -D__EXTENSIONS__
2466
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2468
CC="$ac_save_CC $ac_arg"
2469
rm -f conftest.$ac_objext
2470
if { (eval echo "$as_me:2470: \"$ac_compile\"") >&5
2471
(eval $ac_compile) 2>&5
2473
echo "$as_me:2473: \$? = $ac_status" >&5
2474
(exit $ac_status); } &&
2475
{ ac_try='test -s conftest.$ac_objext'
2476
{ (eval echo "$as_me:2476: \"$ac_try\"") >&5
2479
echo "$as_me:2479: \$? = $ac_status" >&5
2480
(exit $ac_status); }; }; then
2481
ac_cv_prog_cc_stdc=$ac_arg
2484
echo "$as_me: failed program was:" >&5
2485
cat conftest.$ac_ext >&5
2487
rm -f conftest.$ac_objext
2489
rm -f conftest.$ac_ext conftest.$ac_objext
2494
case "x$ac_cv_prog_cc_stdc" in
2496
echo "$as_me:2496: result: none needed" >&5
2497
echo "${ECHO_T}none needed" >&6 ;;
2499
echo "$as_me:2499: result: $ac_cv_prog_cc_stdc" >&5
2500
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2501
CC="$CC $ac_cv_prog_cc_stdc" ;;
2505
ac_cpp='$CPP $CPPFLAGS'
2506
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2509
echo "$as_me:2509: checking how to run the C preprocessor" >&5
2510
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2511
# On Suns, sometimes $CPP names a directory.
2512
if test -n "$CPP" && test -d "$CPP"; then
2515
if test -z "$CPP"; then
2516
if test "${ac_cv_prog_CPP+set}" = set; then
2517
echo $ECHO_N "(cached) $ECHO_C" >&6
2519
# Double quotes because CPP needs to be expanded
2520
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2522
# break 2 since there is a loop in there.
2524
for ac_c_preproc_warn_flag in '' yes
2526
# Use a header file that comes with gcc, so configuring glibc
2527
# with a fresh cross-compiler works.
2528
# On the NeXT, cc -E runs the code through the compiler's parser,
2529
# not just through cpp. "Syntax error" is here to catch this case.
2530
cat >conftest.$ac_ext <<_ACEOF
2531
#line 2531 "configure"
2532
#include "confdefs.h"
2536
if { (eval echo "$as_me:2536: \"$ac_cpp conftest.$ac_ext\"") >&5
2537
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2539
egrep -v '^ *\+' conftest.er1 >conftest.err
2541
cat conftest.err >&5
2542
echo "$as_me:2542: \$? = $ac_status" >&5
2543
(exit $ac_status); } >/dev/null; then
2544
if test -s conftest.err; then
2545
ac_cpp_err=$ac_c_preproc_warn_flag
2552
if test -z "$ac_cpp_err"; then
2555
echo "$as_me: failed program was:" >&5
2556
cat conftest.$ac_ext >&5
2557
# Broken: fails on valid input.
2560
rm -f conftest.err conftest.$ac_ext
2562
# OK, works on sane cases. Now check whether non-existent headers
2563
# can be detected and how.
2564
cat >conftest.$ac_ext <<_ACEOF
2565
#line 2565 "configure"
2566
#include "confdefs.h"
2567
#include <ac_nonexistent.h>
2569
if { (eval echo "$as_me:2569: \"$ac_cpp conftest.$ac_ext\"") >&5
2570
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2572
egrep -v '^ *\+' conftest.er1 >conftest.err
2574
cat conftest.err >&5
2575
echo "$as_me:2575: \$? = $ac_status" >&5
2576
(exit $ac_status); } >/dev/null; then
2577
if test -s conftest.err; then
2578
ac_cpp_err=$ac_c_preproc_warn_flag
2585
if test -z "$ac_cpp_err"; then
2586
# Broken: success on invalid input.
2589
echo "$as_me: failed program was:" >&5
2590
cat conftest.$ac_ext >&5
2591
# Passes both tests.
2595
rm -f conftest.err conftest.$ac_ext
2598
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2599
rm -f conftest.err conftest.$ac_ext
2600
if $ac_preproc_ok; then
2612
echo "$as_me:2612: result: $CPP" >&5
2613
echo "${ECHO_T}$CPP" >&6
2615
for ac_c_preproc_warn_flag in '' yes
2617
# Use a header file that comes with gcc, so configuring glibc
2618
# with a fresh cross-compiler works.
2619
# On the NeXT, cc -E runs the code through the compiler's parser,
2620
# not just through cpp. "Syntax error" is here to catch this case.
2621
cat >conftest.$ac_ext <<_ACEOF
2622
#line 2622 "configure"
2623
#include "confdefs.h"
2627
if { (eval echo "$as_me:2627: \"$ac_cpp conftest.$ac_ext\"") >&5
2628
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2630
egrep -v '^ *\+' conftest.er1 >conftest.err
2632
cat conftest.err >&5
2633
echo "$as_me:2633: \$? = $ac_status" >&5
2634
(exit $ac_status); } >/dev/null; then
2635
if test -s conftest.err; then
2636
ac_cpp_err=$ac_c_preproc_warn_flag
2643
if test -z "$ac_cpp_err"; then
2646
echo "$as_me: failed program was:" >&5
2647
cat conftest.$ac_ext >&5
2648
# Broken: fails on valid input.
2651
rm -f conftest.err conftest.$ac_ext
2653
# OK, works on sane cases. Now check whether non-existent headers
2654
# can be detected and how.
2655
cat >conftest.$ac_ext <<_ACEOF
2656
#line 2656 "configure"
2657
#include "confdefs.h"
2658
#include <ac_nonexistent.h>
2660
if { (eval echo "$as_me:2660: \"$ac_cpp conftest.$ac_ext\"") >&5
2661
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2663
egrep -v '^ *\+' conftest.er1 >conftest.err
2665
cat conftest.err >&5
2666
echo "$as_me:2666: \$? = $ac_status" >&5
2667
(exit $ac_status); } >/dev/null; then
2668
if test -s conftest.err; then
2669
ac_cpp_err=$ac_c_preproc_warn_flag
2676
if test -z "$ac_cpp_err"; then
2677
# Broken: success on invalid input.
2680
echo "$as_me: failed program was:" >&5
2681
cat conftest.$ac_ext >&5
2682
# Passes both tests.
2686
rm -f conftest.err conftest.$ac_ext
2689
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2690
rm -f conftest.err conftest.$ac_ext
2691
if $ac_preproc_ok; then
2694
{ { echo "$as_me:2694: error: C preprocessor \"$CPP\" fails sanity check" >&5
2695
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2696
{ (exit 1); exit 1; }; }
2700
ac_cpp='$CPP $CPPFLAGS'
2701
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2702
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2703
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2474
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2475
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2476
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2477
echo $ECHO_N "(cached) $ECHO_C" >&6
2479
cat >conftest.$ac_ext <<_ACEOF
2482
cat confdefs.h >>conftest.$ac_ext
2483
cat >>conftest.$ac_ext <<_ACEOF
2484
/* end confdefs.h. */
2497
rm -f conftest.$ac_objext
2498
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2499
(eval $ac_compile) 2>conftest.er1
2501
grep -v '^ *+' conftest.er1 >conftest.err
2503
cat conftest.err >&5
2504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505
(exit $ac_status); } &&
2506
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2507
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2510
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511
(exit $ac_status); }; } &&
2512
{ ac_try='test -s conftest.$ac_objext'
2513
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2516
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2517
(exit $ac_status); }; }; then
2520
echo "$as_me: failed program was:" >&5
2521
sed 's/^/| /' conftest.$ac_ext >&5
2525
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2526
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2529
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2530
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2531
GCC=`test $ac_compiler_gnu = yes && echo yes`
2532
ac_test_CFLAGS=${CFLAGS+set}
2533
ac_save_CFLAGS=$CFLAGS
2535
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2536
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2537
if test "${ac_cv_prog_cc_g+set}" = set; then
2538
echo $ECHO_N "(cached) $ECHO_C" >&6
2540
cat >conftest.$ac_ext <<_ACEOF
2543
cat confdefs.h >>conftest.$ac_ext
2544
cat >>conftest.$ac_ext <<_ACEOF
2545
/* end confdefs.h. */
2555
rm -f conftest.$ac_objext
2556
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2557
(eval $ac_compile) 2>conftest.er1
2559
grep -v '^ *+' conftest.er1 >conftest.err
2561
cat conftest.err >&5
2562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563
(exit $ac_status); } &&
2564
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569
(exit $ac_status); }; } &&
2570
{ ac_try='test -s conftest.$ac_objext'
2571
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575
(exit $ac_status); }; }; then
2578
echo "$as_me: failed program was:" >&5
2579
sed 's/^/| /' conftest.$ac_ext >&5
2583
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2585
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2586
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2587
if test "$ac_test_CFLAGS" = set; then
2588
CFLAGS=$ac_save_CFLAGS
2589
elif test $ac_cv_prog_cc_g = yes; then
2590
if test "$GCC" = yes; then
2596
if test "$GCC" = yes; then
2602
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2603
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2604
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2605
echo $ECHO_N "(cached) $ECHO_C" >&6
2607
ac_cv_prog_cc_stdc=no
2609
cat >conftest.$ac_ext <<_ACEOF
2612
cat confdefs.h >>conftest.$ac_ext
2613
cat >>conftest.$ac_ext <<_ACEOF
2614
/* end confdefs.h. */
2617
#include <sys/types.h>
2618
#include <sys/stat.h>
2619
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2620
struct buf { int x; };
2621
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2622
static char *e (p, i)
2628
static char *f (char * (*g) (char **, int), char **p, ...)
2633
s = g (p, va_arg (v,int));
2638
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2639
function prototypes and stuff, but not '\xHH' hex character constants.
2640
These don't provoke an error unfortunately, instead are silently treated
2641
as 'x'. The following induces an error, until -std1 is added to get
2642
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2643
array size at least. It's necessary to write '\x00'==0 to get something
2644
that's true only with -std1. */
2645
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2647
int test (int i, double x);
2648
struct s1 {int (*f) (int a);};
2649
struct s2 {int (*f) (double a);};
2650
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2656
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2661
# Don't try gcc -ansi; that turns off useful extensions and
2662
# breaks some systems' header files.
2663
# AIX -qlanglvl=ansi
2664
# Ultrix and OSF/1 -std1
2665
# HP-UX 10.20 and later -Ae
2666
# HP-UX older versions -Aa -D_HPUX_SOURCE
2667
# SVR4 -Xc -D__EXTENSIONS__
2668
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2670
CC="$ac_save_CC $ac_arg"
2671
rm -f conftest.$ac_objext
2672
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673
(eval $ac_compile) 2>conftest.er1
2675
grep -v '^ *+' conftest.er1 >conftest.err
2677
cat conftest.err >&5
2678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679
(exit $ac_status); } &&
2680
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2681
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685
(exit $ac_status); }; } &&
2686
{ ac_try='test -s conftest.$ac_objext'
2687
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691
(exit $ac_status); }; }; then
2692
ac_cv_prog_cc_stdc=$ac_arg
2695
echo "$as_me: failed program was:" >&5
2696
sed 's/^/| /' conftest.$ac_ext >&5
2699
rm -f conftest.err conftest.$ac_objext
2701
rm -f conftest.$ac_ext conftest.$ac_objext
2706
case "x$ac_cv_prog_cc_stdc" in
2708
echo "$as_me:$LINENO: result: none needed" >&5
2709
echo "${ECHO_T}none needed" >&6 ;;
2711
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2712
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2713
CC="$CC $ac_cv_prog_cc_stdc" ;;
2716
# Some people use a C++ compiler to compile C. Since we use `exit',
2717
# in C++ we need to declare it. In case someone uses the same compiler
2718
# for both compiling C and C++ we need to have the C++ compiler decide
2719
# the declaration of exit, since it's the most demanding environment.
2720
cat >conftest.$ac_ext <<_ACEOF
2725
rm -f conftest.$ac_objext
2726
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2727
(eval $ac_compile) 2>conftest.er1
2729
grep -v '^ *+' conftest.er1 >conftest.err
2731
cat conftest.err >&5
2732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733
(exit $ac_status); } &&
2734
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2735
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739
(exit $ac_status); }; } &&
2740
{ ac_try='test -s conftest.$ac_objext'
2741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
(exit $ac_status); }; }; then
2746
for ac_declaration in \
2748
'extern "C" void std::exit (int) throw (); using std::exit;' \
2749
'extern "C" void std::exit (int); using std::exit;' \
2750
'extern "C" void exit (int) throw ();' \
2751
'extern "C" void exit (int);' \
2754
cat >conftest.$ac_ext <<_ACEOF
2757
cat confdefs.h >>conftest.$ac_ext
2758
cat >>conftest.$ac_ext <<_ACEOF
2759
/* end confdefs.h. */
2770
rm -f conftest.$ac_objext
2771
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2772
(eval $ac_compile) 2>conftest.er1
2774
grep -v '^ *+' conftest.er1 >conftest.err
2776
cat conftest.err >&5
2777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
(exit $ac_status); } &&
2779
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
(exit $ac_status); }; } &&
2785
{ ac_try='test -s conftest.$ac_objext'
2786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790
(exit $ac_status); }; }; then
2793
echo "$as_me: failed program was:" >&5
2794
sed 's/^/| /' conftest.$ac_ext >&5
2798
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2799
cat >conftest.$ac_ext <<_ACEOF
2802
cat confdefs.h >>conftest.$ac_ext
2803
cat >>conftest.$ac_ext <<_ACEOF
2804
/* end confdefs.h. */
2814
rm -f conftest.$ac_objext
2815
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2816
(eval $ac_compile) 2>conftest.er1
2818
grep -v '^ *+' conftest.er1 >conftest.err
2820
cat conftest.err >&5
2821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822
(exit $ac_status); } &&
2823
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2824
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2827
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828
(exit $ac_status); }; } &&
2829
{ ac_try='test -s conftest.$ac_objext'
2830
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2833
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834
(exit $ac_status); }; }; then
2837
echo "$as_me: failed program was:" >&5
2838
sed 's/^/| /' conftest.$ac_ext >&5
2841
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2844
if test -n "$ac_declaration"; then
2845
echo '#ifdef __cplusplus' >>confdefs.h
2846
echo $ac_declaration >>confdefs.h
2847
echo '#endif' >>confdefs.h
2851
echo "$as_me: failed program was:" >&5
2852
sed 's/^/| /' conftest.$ac_ext >&5
2855
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2857
ac_cpp='$CPP $CPPFLAGS'
2858
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2859
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2860
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2862
depcc="$CC" am_compiler_list=
2864
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2865
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2866
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2867
echo $ECHO_N "(cached) $ECHO_C" >&6
2869
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2870
# We make a subdir and do the tests there. Otherwise we can end up
2871
# making bogus files that we don't know about and never remove. For
2872
# instance it was reported that on HP-UX the gcc test will end up
2873
# making a dummy file named `D' -- because `-MD' means `put the output
2876
# Copy depcomp to subdir because otherwise we won't find it if we're
2877
# using a relative directory.
2878
cp "$am_depcomp" conftest.dir
2880
# We will build objects and dependencies in a subdirectory because
2881
# it helps to detect inapplicable dependency modes. For instance
2882
# both Tru64's cc and ICC support -MD to output dependencies as a
2883
# side effect of compilation, but ICC will put the dependencies in
2884
# the current directory while Tru64 will put them in the object
2888
am_cv_CC_dependencies_compiler_type=none
2889
if test "$am_compiler_list" = ""; then
2890
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2892
for depmode in $am_compiler_list; do
2893
# Setup a source with many dependencies, because some compilers
2894
# like to wrap large dependency lists on column 80 (with \), and
2895
# we should not choose a depcomp mode which is confused by this.
2897
# We need to recreate these files for each test, as the compiler may
2898
# overwrite some of them when testing with obscure command lines.
2899
# This happens at least with the AIX C compiler.
2901
for i in 1 2 3 4 5 6; do
2902
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2905
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2909
# after this tag, mechanisms are not by side-effect, so they'll
2910
# only be used when explicitly requested
2911
if test "x$enable_dependency_tracking" = xyes; then
2919
# We check with `-c' and `-o' for the sake of the "dashmstdout"
2920
# mode. It turns out that the SunPro C++ compiler does not properly
2921
# handle `-M -o', and we need to detect this.
2922
if depmode=$depmode \
2923
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2924
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2925
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2926
>/dev/null 2>conftest.err &&
2927
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2928
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2929
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2930
# icc doesn't choke on unknown options, it will just issue warnings
2931
# (even with -Werror). So we grep stderr for any message
2932
# that says an option was ignored.
2933
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
2934
am_cv_CC_dependencies_compiler_type=$depmode
2943
am_cv_CC_dependencies_compiler_type=none
2947
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2948
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2949
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2954
test "x$enable_dependency_tracking" != xno \
2955
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2957
am__fastdepCC_FALSE='#'
2959
am__fastdepCC_TRUE='#'
2960
am__fastdepCC_FALSE=
2966
ac_cpp='$CPP $CPPFLAGS'
2967
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2968
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2969
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2970
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2971
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2972
# On Suns, sometimes $CPP names a directory.
2973
if test -n "$CPP" && test -d "$CPP"; then
2976
if test -z "$CPP"; then
2977
if test "${ac_cv_prog_CPP+set}" = set; then
2978
echo $ECHO_N "(cached) $ECHO_C" >&6
2980
# Double quotes because CPP needs to be expanded
2981
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2984
for ac_c_preproc_warn_flag in '' yes
2986
# Use a header file that comes with gcc, so configuring glibc
2987
# with a fresh cross-compiler works.
2988
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2989
# <limits.h> exists even on freestanding compilers.
2990
# On the NeXT, cc -E runs the code through the compiler's parser,
2991
# not just through cpp. "Syntax error" is here to catch this case.
2992
cat >conftest.$ac_ext <<_ACEOF
2995
cat confdefs.h >>conftest.$ac_ext
2996
cat >>conftest.$ac_ext <<_ACEOF
2997
/* end confdefs.h. */
2999
# include <limits.h>
3001
# include <assert.h>
3005
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3006
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3008
grep -v '^ *+' conftest.er1 >conftest.err
3010
cat conftest.err >&5
3011
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3012
(exit $ac_status); } >/dev/null; then
3013
if test -s conftest.err; then
3014
ac_cpp_err=$ac_c_preproc_warn_flag
3015
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3022
if test -z "$ac_cpp_err"; then
3025
echo "$as_me: failed program was:" >&5
3026
sed 's/^/| /' conftest.$ac_ext >&5
3028
# Broken: fails on valid input.
3031
rm -f conftest.err conftest.$ac_ext
3033
# OK, works on sane cases. Now check whether non-existent headers
3034
# can be detected and how.
3035
cat >conftest.$ac_ext <<_ACEOF
3038
cat confdefs.h >>conftest.$ac_ext
3039
cat >>conftest.$ac_ext <<_ACEOF
3040
/* end confdefs.h. */
3041
#include <ac_nonexistent.h>
3043
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3046
grep -v '^ *+' conftest.er1 >conftest.err
3048
cat conftest.err >&5
3049
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050
(exit $ac_status); } >/dev/null; then
3051
if test -s conftest.err; then
3052
ac_cpp_err=$ac_c_preproc_warn_flag
3053
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3060
if test -z "$ac_cpp_err"; then
3061
# Broken: success on invalid input.
3064
echo "$as_me: failed program was:" >&5
3065
sed 's/^/| /' conftest.$ac_ext >&5
3067
# Passes both tests.
3071
rm -f conftest.err conftest.$ac_ext
3074
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3075
rm -f conftest.err conftest.$ac_ext
3076
if $ac_preproc_ok; then
3088
echo "$as_me:$LINENO: result: $CPP" >&5
3089
echo "${ECHO_T}$CPP" >&6
3091
for ac_c_preproc_warn_flag in '' yes
3093
# Use a header file that comes with gcc, so configuring glibc
3094
# with a fresh cross-compiler works.
3095
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3096
# <limits.h> exists even on freestanding compilers.
3097
# On the NeXT, cc -E runs the code through the compiler's parser,
3098
# not just through cpp. "Syntax error" is here to catch this case.
3099
cat >conftest.$ac_ext <<_ACEOF
3102
cat confdefs.h >>conftest.$ac_ext
3103
cat >>conftest.$ac_ext <<_ACEOF
3104
/* end confdefs.h. */
3106
# include <limits.h>
3108
# include <assert.h>
3112
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3113
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3115
grep -v '^ *+' conftest.er1 >conftest.err
3117
cat conftest.err >&5
3118
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3119
(exit $ac_status); } >/dev/null; then
3120
if test -s conftest.err; then
3121
ac_cpp_err=$ac_c_preproc_warn_flag
3122
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3129
if test -z "$ac_cpp_err"; then
3132
echo "$as_me: failed program was:" >&5
3133
sed 's/^/| /' conftest.$ac_ext >&5
3135
# Broken: fails on valid input.
3138
rm -f conftest.err conftest.$ac_ext
3140
# OK, works on sane cases. Now check whether non-existent headers
3141
# can be detected and how.
3142
cat >conftest.$ac_ext <<_ACEOF
3145
cat confdefs.h >>conftest.$ac_ext
3146
cat >>conftest.$ac_ext <<_ACEOF
3147
/* end confdefs.h. */
3148
#include <ac_nonexistent.h>
3150
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3151
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3153
grep -v '^ *+' conftest.er1 >conftest.err
3155
cat conftest.err >&5
3156
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157
(exit $ac_status); } >/dev/null; then
3158
if test -s conftest.err; then
3159
ac_cpp_err=$ac_c_preproc_warn_flag
3160
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3167
if test -z "$ac_cpp_err"; then
3168
# Broken: success on invalid input.
3171
echo "$as_me: failed program was:" >&5
3172
sed 's/^/| /' conftest.$ac_ext >&5
3174
# Passes both tests.
3178
rm -f conftest.err conftest.$ac_ext
3181
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3182
rm -f conftest.err conftest.$ac_ext
3183
if $ac_preproc_ok; then
3186
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3187
See \`config.log' for more details." >&5
3188
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3189
See \`config.log' for more details." >&2;}
3190
{ (exit 1); exit 1; }; }
3194
ac_cpp='$CPP $CPPFLAGS'
3195
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3196
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3197
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3200
echo "$as_me:$LINENO: checking for egrep" >&5
3201
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3202
if test "${ac_cv_prog_egrep+set}" = set; then
3203
echo $ECHO_N "(cached) $ECHO_C" >&6
3205
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3206
then ac_cv_prog_egrep='grep -E'
3207
else ac_cv_prog_egrep='egrep'
3210
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3211
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3212
EGREP=$ac_cv_prog_egrep
3216
echo "$as_me:$LINENO: checking for AIX" >&5
3217
echo $ECHO_N "checking for AIX... $ECHO_C" >&6
3218
cat >conftest.$ac_ext <<_ACEOF
3221
cat confdefs.h >>conftest.$ac_ext
3222
cat >>conftest.$ac_ext <<_ACEOF
3223
/* end confdefs.h. */
3229
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3230
$EGREP "yes" >/dev/null 2>&1; then
3231
echo "$as_me:$LINENO: result: yes" >&5
3232
echo "${ECHO_T}yes" >&6
3233
cat >>confdefs.h <<\_ACEOF
3234
#define _ALL_SOURCE 1
3238
echo "$as_me:$LINENO: result: no" >&5
3239
echo "${ECHO_T}no" >&6
3244
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3245
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3246
if test "${ac_cv_header_stdc+set}" = set; then
3247
echo $ECHO_N "(cached) $ECHO_C" >&6
3249
cat >conftest.$ac_ext <<_ACEOF
3252
cat confdefs.h >>conftest.$ac_ext
3253
cat >>conftest.$ac_ext <<_ACEOF
3254
/* end confdefs.h. */
3268
rm -f conftest.$ac_objext
3269
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3270
(eval $ac_compile) 2>conftest.er1
3272
grep -v '^ *+' conftest.er1 >conftest.err
3274
cat conftest.err >&5
3275
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276
(exit $ac_status); } &&
3277
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3278
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282
(exit $ac_status); }; } &&
3283
{ ac_try='test -s conftest.$ac_objext'
3284
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288
(exit $ac_status); }; }; then
3289
ac_cv_header_stdc=yes
3291
echo "$as_me: failed program was:" >&5
3292
sed 's/^/| /' conftest.$ac_ext >&5
3294
ac_cv_header_stdc=no
3296
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3298
if test $ac_cv_header_stdc = yes; then
3299
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3300
cat >conftest.$ac_ext <<_ACEOF
3303
cat confdefs.h >>conftest.$ac_ext
3304
cat >>conftest.$ac_ext <<_ACEOF
3305
/* end confdefs.h. */
3309
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3310
$EGREP "memchr" >/dev/null 2>&1; then
3313
ac_cv_header_stdc=no
3319
if test $ac_cv_header_stdc = yes; then
3320
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3321
cat >conftest.$ac_ext <<_ACEOF
3324
cat confdefs.h >>conftest.$ac_ext
3325
cat >>conftest.$ac_ext <<_ACEOF
3326
/* end confdefs.h. */
3330
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3331
$EGREP "free" >/dev/null 2>&1; then
3334
ac_cv_header_stdc=no
3340
if test $ac_cv_header_stdc = yes; then
3341
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3342
if test "$cross_compiling" = yes; then
3345
cat >conftest.$ac_ext <<_ACEOF
3348
cat confdefs.h >>conftest.$ac_ext
3349
cat >>conftest.$ac_ext <<_ACEOF
3350
/* end confdefs.h. */
3352
#if ((' ' & 0x0FF) == 0x020)
3353
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3354
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3356
# define ISLOWER(c) \
3357
(('a' <= (c) && (c) <= 'i') \
3358
|| ('j' <= (c) && (c) <= 'r') \
3359
|| ('s' <= (c) && (c) <= 'z'))
3360
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3363
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3368
for (i = 0; i < 256; i++)
3369
if (XOR (islower (i), ISLOWER (i))
3370
|| toupper (i) != TOUPPER (i))
3375
rm -f conftest$ac_exeext
3376
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3377
(eval $ac_link) 2>&5
3379
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3381
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3385
(exit $ac_status); }; }; then
3388
echo "$as_me: program exited with status $ac_status" >&5
3389
echo "$as_me: failed program was:" >&5
3390
sed 's/^/| /' conftest.$ac_ext >&5
3393
ac_cv_header_stdc=no
3395
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3399
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3400
echo "${ECHO_T}$ac_cv_header_stdc" >&6
3401
if test $ac_cv_header_stdc = yes; then
3403
cat >>confdefs.h <<\_ACEOF
3404
#define STDC_HEADERS 1
3409
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3419
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3420
inttypes.h stdint.h unistd.h
3422
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3423
echo "$as_me:$LINENO: checking for $ac_header" >&5
3424
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3425
if eval "test \"\${$as_ac_Header+set}\" = set"; then
3426
echo $ECHO_N "(cached) $ECHO_C" >&6
3428
cat >conftest.$ac_ext <<_ACEOF
3431
cat confdefs.h >>conftest.$ac_ext
3432
cat >>conftest.$ac_ext <<_ACEOF
3433
/* end confdefs.h. */
3434
$ac_includes_default
3436
#include <$ac_header>
3438
rm -f conftest.$ac_objext
3439
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440
(eval $ac_compile) 2>conftest.er1
3442
grep -v '^ *+' conftest.er1 >conftest.err
3444
cat conftest.err >&5
3445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446
(exit $ac_status); } &&
3447
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3448
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452
(exit $ac_status); }; } &&
3453
{ ac_try='test -s conftest.$ac_objext'
3454
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458
(exit $ac_status); }; }; then
3459
eval "$as_ac_Header=yes"
3461
echo "$as_me: failed program was:" >&5
3462
sed 's/^/| /' conftest.$ac_ext >&5
3464
eval "$as_ac_Header=no"
3466
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3468
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3469
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3470
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3471
cat >>confdefs.h <<_ACEOF
3472
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3480
if test "${ac_cv_header_minix_config_h+set}" = set; then
3481
echo "$as_me:$LINENO: checking for minix/config.h" >&5
3482
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3483
if test "${ac_cv_header_minix_config_h+set}" = set; then
3484
echo $ECHO_N "(cached) $ECHO_C" >&6
3486
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3487
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3489
# Is the header compilable?
3490
echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3491
echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3492
cat >conftest.$ac_ext <<_ACEOF
3495
cat confdefs.h >>conftest.$ac_ext
3496
cat >>conftest.$ac_ext <<_ACEOF
3497
/* end confdefs.h. */
3498
$ac_includes_default
3499
#include <minix/config.h>
3501
rm -f conftest.$ac_objext
3502
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3503
(eval $ac_compile) 2>conftest.er1
3505
grep -v '^ *+' conftest.er1 >conftest.err
3507
cat conftest.err >&5
3508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509
(exit $ac_status); } &&
3510
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3511
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515
(exit $ac_status); }; } &&
3516
{ ac_try='test -s conftest.$ac_objext'
3517
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521
(exit $ac_status); }; }; then
3522
ac_header_compiler=yes
3524
echo "$as_me: failed program was:" >&5
3525
sed 's/^/| /' conftest.$ac_ext >&5
3527
ac_header_compiler=no
3529
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3530
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3531
echo "${ECHO_T}$ac_header_compiler" >&6
3533
# Is the header present?
3534
echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3535
echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3536
cat >conftest.$ac_ext <<_ACEOF
3539
cat confdefs.h >>conftest.$ac_ext
3540
cat >>conftest.$ac_ext <<_ACEOF
3541
/* end confdefs.h. */
3542
#include <minix/config.h>
3544
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3545
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3547
grep -v '^ *+' conftest.er1 >conftest.err
3549
cat conftest.err >&5
3550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551
(exit $ac_status); } >/dev/null; then
3552
if test -s conftest.err; then
3553
ac_cpp_err=$ac_c_preproc_warn_flag
3554
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3561
if test -z "$ac_cpp_err"; then
3562
ac_header_preproc=yes
3564
echo "$as_me: failed program was:" >&5
3565
sed 's/^/| /' conftest.$ac_ext >&5
3567
ac_header_preproc=no
3569
rm -f conftest.err conftest.$ac_ext
3570
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3571
echo "${ECHO_T}$ac_header_preproc" >&6
3573
# So? What about this header?
3574
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3576
{ echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3577
echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3578
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3579
echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3580
ac_header_preproc=yes
3583
{ echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3584
echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3585
{ echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3586
echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3587
{ echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3588
echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3589
{ echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3590
echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3591
{ echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3592
echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3593
{ echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3594
echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3597
## ------------------------------ ##
3598
## Report this to the ntp lists. ##
3599
## ------------------------------ ##
3602
sed "s/^/$as_me: WARNING: /" >&2
3605
echo "$as_me:$LINENO: checking for minix/config.h" >&5
3606
echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3607
if test "${ac_cv_header_minix_config_h+set}" = set; then
3608
echo $ECHO_N "(cached) $ECHO_C" >&6
3610
ac_cv_header_minix_config_h=$ac_header_preproc
3612
echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3613
echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3616
if test $ac_cv_header_minix_config_h = yes; then
3623
if test "$MINIX" = yes; then
3625
cat >>confdefs.h <<\_ACEOF
3626
#define _POSIX_SOURCE 1
3630
cat >>confdefs.h <<\_ACEOF
3631
#define _POSIX_1_SOURCE 2
3635
cat >>confdefs.h <<\_ACEOF
3643
ac_cpp='$CPP $CPPFLAGS'
3644
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3645
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3646
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3647
if test -n "$ac_tool_prefix"; then
3648
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3649
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3650
echo "$as_me:$LINENO: checking for $ac_word" >&5
3651
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3652
if test "${ac_cv_prog_CC+set}" = set; then
3653
echo $ECHO_N "(cached) $ECHO_C" >&6
3655
if test -n "$CC"; then
3656
ac_cv_prog_CC="$CC" # Let the user override the test.
3658
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662
test -z "$as_dir" && as_dir=.
3663
for ac_exec_ext in '' $ac_executable_extensions; do
3664
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3666
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675
if test -n "$CC"; then
3676
echo "$as_me:$LINENO: result: $CC" >&5
3677
echo "${ECHO_T}$CC" >&6
3679
echo "$as_me:$LINENO: result: no" >&5
3680
echo "${ECHO_T}no" >&6
3684
if test -z "$ac_cv_prog_CC"; then
3686
# Extract the first word of "gcc", so it can be a program name with args.
3687
set dummy gcc; ac_word=$2
3688
echo "$as_me:$LINENO: checking for $ac_word" >&5
3689
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3690
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3691
echo $ECHO_N "(cached) $ECHO_C" >&6
3693
if test -n "$ac_ct_CC"; then
3694
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3696
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3700
test -z "$as_dir" && as_dir=.
3701
for ac_exec_ext in '' $ac_executable_extensions; do
3702
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3703
ac_cv_prog_ac_ct_CC="gcc"
3704
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3712
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3713
if test -n "$ac_ct_CC"; then
3714
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3715
echo "${ECHO_T}$ac_ct_CC" >&6
3717
echo "$as_me:$LINENO: result: no" >&5
3718
echo "${ECHO_T}no" >&6
3726
if test -z "$CC"; then
3727
if test -n "$ac_tool_prefix"; then
3728
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3729
set dummy ${ac_tool_prefix}cc; ac_word=$2
3730
echo "$as_me:$LINENO: checking for $ac_word" >&5
3731
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3732
if test "${ac_cv_prog_CC+set}" = set; then
3733
echo $ECHO_N "(cached) $ECHO_C" >&6
3735
if test -n "$CC"; then
3736
ac_cv_prog_CC="$CC" # Let the user override the test.
3738
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742
test -z "$as_dir" && as_dir=.
3743
for ac_exec_ext in '' $ac_executable_extensions; do
3744
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3745
ac_cv_prog_CC="${ac_tool_prefix}cc"
3746
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3755
if test -n "$CC"; then
3756
echo "$as_me:$LINENO: result: $CC" >&5
3757
echo "${ECHO_T}$CC" >&6
3759
echo "$as_me:$LINENO: result: no" >&5
3760
echo "${ECHO_T}no" >&6
3764
if test -z "$ac_cv_prog_CC"; then
3766
# Extract the first word of "cc", so it can be a program name with args.
3767
set dummy cc; ac_word=$2
3768
echo "$as_me:$LINENO: checking for $ac_word" >&5
3769
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3770
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3771
echo $ECHO_N "(cached) $ECHO_C" >&6
3773
if test -n "$ac_ct_CC"; then
3774
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3776
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780
test -z "$as_dir" && as_dir=.
3781
for ac_exec_ext in '' $ac_executable_extensions; do
3782
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783
ac_cv_prog_ac_ct_CC="cc"
3784
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3793
if test -n "$ac_ct_CC"; then
3794
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3795
echo "${ECHO_T}$ac_ct_CC" >&6
3797
echo "$as_me:$LINENO: result: no" >&5
3798
echo "${ECHO_T}no" >&6
3807
if test -z "$CC"; then
3808
# Extract the first word of "cc", so it can be a program name with args.
3809
set dummy cc; ac_word=$2
3810
echo "$as_me:$LINENO: checking for $ac_word" >&5
3811
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3812
if test "${ac_cv_prog_CC+set}" = set; then
3813
echo $ECHO_N "(cached) $ECHO_C" >&6
3815
if test -n "$CC"; then
3816
ac_cv_prog_CC="$CC" # Let the user override the test.
3819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3823
test -z "$as_dir" && as_dir=.
3824
for ac_exec_ext in '' $ac_executable_extensions; do
3825
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3826
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3827
ac_prog_rejected=yes
3831
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3837
if test $ac_prog_rejected = yes; then
3838
# We found a bogon in the path, so make sure we never use it.
3839
set dummy $ac_cv_prog_CC
3841
if test $# != 0; then
3842
# We chose a different compiler from the bogus one.
3843
# However, it has the same basename, so the bogon will be chosen
3844
# first if we set CC to just the basename; use the full file name.
3846
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3852
if test -n "$CC"; then
3853
echo "$as_me:$LINENO: result: $CC" >&5
3854
echo "${ECHO_T}$CC" >&6
3856
echo "$as_me:$LINENO: result: no" >&5
3857
echo "${ECHO_T}no" >&6
3861
if test -z "$CC"; then
3862
if test -n "$ac_tool_prefix"; then
3865
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3866
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3867
echo "$as_me:$LINENO: checking for $ac_word" >&5
3868
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3869
if test "${ac_cv_prog_CC+set}" = set; then
3870
echo $ECHO_N "(cached) $ECHO_C" >&6
3872
if test -n "$CC"; then
3873
ac_cv_prog_CC="$CC" # Let the user override the test.
3875
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879
test -z "$as_dir" && as_dir=.
3880
for ac_exec_ext in '' $ac_executable_extensions; do
3881
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3882
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3883
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3892
if test -n "$CC"; then
3893
echo "$as_me:$LINENO: result: $CC" >&5
3894
echo "${ECHO_T}$CC" >&6
3896
echo "$as_me:$LINENO: result: no" >&5
3897
echo "${ECHO_T}no" >&6
3900
test -n "$CC" && break
3903
if test -z "$CC"; then
3907
# Extract the first word of "$ac_prog", so it can be a program name with args.
3908
set dummy $ac_prog; ac_word=$2
3909
echo "$as_me:$LINENO: checking for $ac_word" >&5
3910
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3911
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3912
echo $ECHO_N "(cached) $ECHO_C" >&6
3914
if test -n "$ac_ct_CC"; then
3915
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921
test -z "$as_dir" && as_dir=.
3922
for ac_exec_ext in '' $ac_executable_extensions; do
3923
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924
ac_cv_prog_ac_ct_CC="$ac_prog"
3925
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3933
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3934
if test -n "$ac_ct_CC"; then
3935
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3936
echo "${ECHO_T}$ac_ct_CC" >&6
3938
echo "$as_me:$LINENO: result: no" >&5
3939
echo "${ECHO_T}no" >&6
3942
test -n "$ac_ct_CC" && break
3951
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3952
See \`config.log' for more details." >&5
3953
echo "$as_me: error: no acceptable C compiler found in \$PATH
3954
See \`config.log' for more details." >&2;}
3955
{ (exit 1); exit 1; }; }
3957
# Provide some information about the compiler.
3958
echo "$as_me:$LINENO:" \
3959
"checking for C compiler version" >&5
3960
ac_compiler=`set X $ac_compile; echo $2`
3961
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3962
(eval $ac_compiler --version </dev/null >&5) 2>&5
3964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3965
(exit $ac_status); }
3966
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3967
(eval $ac_compiler -v </dev/null >&5) 2>&5
3969
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970
(exit $ac_status); }
3971
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3972
(eval $ac_compiler -V </dev/null >&5) 2>&5
3974
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975
(exit $ac_status); }
3977
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3978
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3979
if test "${ac_cv_c_compiler_gnu+set}" = set; then
3980
echo $ECHO_N "(cached) $ECHO_C" >&6
3982
cat >conftest.$ac_ext <<_ACEOF
3985
cat confdefs.h >>conftest.$ac_ext
3986
cat >>conftest.$ac_ext <<_ACEOF
3987
/* end confdefs.h. */
4000
rm -f conftest.$ac_objext
4001
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4002
(eval $ac_compile) 2>conftest.er1
4004
grep -v '^ *+' conftest.er1 >conftest.err
4006
cat conftest.err >&5
4007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4008
(exit $ac_status); } &&
4009
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4010
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014
(exit $ac_status); }; } &&
4015
{ ac_try='test -s conftest.$ac_objext'
4016
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4020
(exit $ac_status); }; }; then
4023
echo "$as_me: failed program was:" >&5
4024
sed 's/^/| /' conftest.$ac_ext >&5
4028
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4029
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4032
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
4033
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
4034
GCC=`test $ac_compiler_gnu = yes && echo yes`
4035
ac_test_CFLAGS=${CFLAGS+set}
4036
ac_save_CFLAGS=$CFLAGS
4038
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
4039
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
4040
if test "${ac_cv_prog_cc_g+set}" = set; then
4041
echo $ECHO_N "(cached) $ECHO_C" >&6
4043
cat >conftest.$ac_ext <<_ACEOF
4046
cat confdefs.h >>conftest.$ac_ext
4047
cat >>conftest.$ac_ext <<_ACEOF
4048
/* end confdefs.h. */
4058
rm -f conftest.$ac_objext
4059
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4060
(eval $ac_compile) 2>conftest.er1
4062
grep -v '^ *+' conftest.er1 >conftest.err
4064
cat conftest.err >&5
4065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4066
(exit $ac_status); } &&
4067
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4068
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4071
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072
(exit $ac_status); }; } &&
4073
{ ac_try='test -s conftest.$ac_objext'
4074
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4078
(exit $ac_status); }; }; then
4081
echo "$as_me: failed program was:" >&5
4082
sed 's/^/| /' conftest.$ac_ext >&5
4086
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4088
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
4089
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
4090
if test "$ac_test_CFLAGS" = set; then
4091
CFLAGS=$ac_save_CFLAGS
4092
elif test $ac_cv_prog_cc_g = yes; then
4093
if test "$GCC" = yes; then
4099
if test "$GCC" = yes; then
4105
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
4106
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
4107
if test "${ac_cv_prog_cc_stdc+set}" = set; then
4108
echo $ECHO_N "(cached) $ECHO_C" >&6
4110
ac_cv_prog_cc_stdc=no
4112
cat >conftest.$ac_ext <<_ACEOF
4115
cat confdefs.h >>conftest.$ac_ext
4116
cat >>conftest.$ac_ext <<_ACEOF
4117
/* end confdefs.h. */
4120
#include <sys/types.h>
4121
#include <sys/stat.h>
4122
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4123
struct buf { int x; };
4124
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4125
static char *e (p, i)
4131
static char *f (char * (*g) (char **, int), char **p, ...)
4136
s = g (p, va_arg (v,int));
4141
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4142
function prototypes and stuff, but not '\xHH' hex character constants.
4143
These don't provoke an error unfortunately, instead are silently treated
4144
as 'x'. The following induces an error, until -std1 is added to get
4145
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4146
array size at least. It's necessary to write '\x00'==0 to get something
4147
that's true only with -std1. */
4148
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4150
int test (int i, double x);
4151
struct s1 {int (*f) (int a);};
4152
struct s2 {int (*f) (double a);};
4153
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4159
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4164
# Don't try gcc -ansi; that turns off useful extensions and
4165
# breaks some systems' header files.
4166
# AIX -qlanglvl=ansi
4167
# Ultrix and OSF/1 -std1
4168
# HP-UX 10.20 and later -Ae
4169
# HP-UX older versions -Aa -D_HPUX_SOURCE
4170
# SVR4 -Xc -D__EXTENSIONS__
4171
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4173
CC="$ac_save_CC $ac_arg"
4174
rm -f conftest.$ac_objext
4175
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4176
(eval $ac_compile) 2>conftest.er1
4178
grep -v '^ *+' conftest.er1 >conftest.err
4180
cat conftest.err >&5
4181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4182
(exit $ac_status); } &&
4183
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4184
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4188
(exit $ac_status); }; } &&
4189
{ ac_try='test -s conftest.$ac_objext'
4190
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194
(exit $ac_status); }; }; then
4195
ac_cv_prog_cc_stdc=$ac_arg
4198
echo "$as_me: failed program was:" >&5
4199
sed 's/^/| /' conftest.$ac_ext >&5
4202
rm -f conftest.err conftest.$ac_objext
4204
rm -f conftest.$ac_ext conftest.$ac_objext
4209
case "x$ac_cv_prog_cc_stdc" in
4211
echo "$as_me:$LINENO: result: none needed" >&5
4212
echo "${ECHO_T}none needed" >&6 ;;
4214
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4215
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4216
CC="$CC $ac_cv_prog_cc_stdc" ;;
4219
# Some people use a C++ compiler to compile C. Since we use `exit',
4220
# in C++ we need to declare it. In case someone uses the same compiler
4221
# for both compiling C and C++ we need to have the C++ compiler decide
4222
# the declaration of exit, since it's the most demanding environment.
4223
cat >conftest.$ac_ext <<_ACEOF
4228
rm -f conftest.$ac_objext
4229
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4230
(eval $ac_compile) 2>conftest.er1
4232
grep -v '^ *+' conftest.er1 >conftest.err
4234
cat conftest.err >&5
4235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236
(exit $ac_status); } &&
4237
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4238
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4241
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4242
(exit $ac_status); }; } &&
4243
{ ac_try='test -s conftest.$ac_objext'
4244
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4247
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248
(exit $ac_status); }; }; then
4249
for ac_declaration in \
4251
'extern "C" void std::exit (int) throw (); using std::exit;' \
4252
'extern "C" void std::exit (int); using std::exit;' \
4253
'extern "C" void exit (int) throw ();' \
4254
'extern "C" void exit (int);' \
4257
cat >conftest.$ac_ext <<_ACEOF
4260
cat confdefs.h >>conftest.$ac_ext
4261
cat >>conftest.$ac_ext <<_ACEOF
4262
/* end confdefs.h. */
4273
rm -f conftest.$ac_objext
4274
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4275
(eval $ac_compile) 2>conftest.er1
4277
grep -v '^ *+' conftest.er1 >conftest.err
4279
cat conftest.err >&5
4280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4281
(exit $ac_status); } &&
4282
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4283
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4286
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4287
(exit $ac_status); }; } &&
4288
{ ac_try='test -s conftest.$ac_objext'
4289
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4293
(exit $ac_status); }; }; then
4296
echo "$as_me: failed program was:" >&5
4297
sed 's/^/| /' conftest.$ac_ext >&5
4301
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4302
cat >conftest.$ac_ext <<_ACEOF
4305
cat confdefs.h >>conftest.$ac_ext
4306
cat >>conftest.$ac_ext <<_ACEOF
4307
/* end confdefs.h. */
4317
rm -f conftest.$ac_objext
4318
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4319
(eval $ac_compile) 2>conftest.er1
4321
grep -v '^ *+' conftest.er1 >conftest.err
4323
cat conftest.err >&5
4324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4325
(exit $ac_status); } &&
4326
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331
(exit $ac_status); }; } &&
4332
{ ac_try='test -s conftest.$ac_objext'
4333
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337
(exit $ac_status); }; }; then
4340
echo "$as_me: failed program was:" >&5
4341
sed 's/^/| /' conftest.$ac_ext >&5
4344
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4347
if test -n "$ac_declaration"; then
4348
echo '#ifdef __cplusplus' >>confdefs.h
4349
echo $ac_declaration >>confdefs.h
4350
echo '#endif' >>confdefs.h
4354
echo "$as_me: failed program was:" >&5
4355
sed 's/^/| /' conftest.$ac_ext >&5
4358
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4360
ac_cpp='$CPP $CPPFLAGS'
4361
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4362
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4363
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4365
depcc="$CC" am_compiler_list=
4367
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4368
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
4369
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4370
echo $ECHO_N "(cached) $ECHO_C" >&6
4372
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4373
# We make a subdir and do the tests there. Otherwise we can end up
4374
# making bogus files that we don't know about and never remove. For
4375
# instance it was reported that on HP-UX the gcc test will end up
4376
# making a dummy file named `D' -- because `-MD' means `put the output
4379
# Copy depcomp to subdir because otherwise we won't find it if we're
4380
# using a relative directory.
4381
cp "$am_depcomp" conftest.dir
4383
# We will build objects and dependencies in a subdirectory because
4384
# it helps to detect inapplicable dependency modes. For instance
4385
# both Tru64's cc and ICC support -MD to output dependencies as a
4386
# side effect of compilation, but ICC will put the dependencies in
4387
# the current directory while Tru64 will put them in the object
4391
am_cv_CC_dependencies_compiler_type=none
4392
if test "$am_compiler_list" = ""; then
4393
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4395
for depmode in $am_compiler_list; do
4396
# Setup a source with many dependencies, because some compilers
4397
# like to wrap large dependency lists on column 80 (with \), and
4398
# we should not choose a depcomp mode which is confused by this.
4400
# We need to recreate these files for each test, as the compiler may
4401
# overwrite some of them when testing with obscure command lines.
4402
# This happens at least with the AIX C compiler.
4404
for i in 1 2 3 4 5 6; do
4405
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4408
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4412
# after this tag, mechanisms are not by side-effect, so they'll
4413
# only be used when explicitly requested
4414
if test "x$enable_dependency_tracking" = xyes; then
4422
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4423
# mode. It turns out that the SunPro C++ compiler does not properly
4424
# handle `-M -o', and we need to detect this.
4425
if depmode=$depmode \
4426
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
4427
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4428
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4429
>/dev/null 2>conftest.err &&
4430
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4431
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4432
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4433
# icc doesn't choke on unknown options, it will just issue warnings
4434
# (even with -Werror). So we grep stderr for any message
4435
# that says an option was ignored.
4436
if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
4437
am_cv_CC_dependencies_compiler_type=$depmode
4446
am_cv_CC_dependencies_compiler_type=none
4450
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4451
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
4452
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4457
test "x$enable_dependency_tracking" != xno \
4458
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4460
am__fastdepCC_FALSE='#'
4462
am__fastdepCC_TRUE='#'
4463
am__fastdepCC_FALSE=
4469
ac_cpp='$CPP $CPPFLAGS'
4470
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4471
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4472
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4473
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4474
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
4475
# On Suns, sometimes $CPP names a directory.
4476
if test -n "$CPP" && test -d "$CPP"; then
4479
if test -z "$CPP"; then
4480
if test "${ac_cv_prog_CPP+set}" = set; then
4481
echo $ECHO_N "(cached) $ECHO_C" >&6
4483
# Double quotes because CPP needs to be expanded
4484
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4487
for ac_c_preproc_warn_flag in '' yes
4489
# Use a header file that comes with gcc, so configuring glibc
4490
# with a fresh cross-compiler works.
4491
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4492
# <limits.h> exists even on freestanding compilers.
4493
# On the NeXT, cc -E runs the code through the compiler's parser,
4494
# not just through cpp. "Syntax error" is here to catch this case.
4495
cat >conftest.$ac_ext <<_ACEOF
4498
cat confdefs.h >>conftest.$ac_ext
4499
cat >>conftest.$ac_ext <<_ACEOF
4500
/* end confdefs.h. */
4502
# include <limits.h>
4504
# include <assert.h>
4508
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4509
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4511
grep -v '^ *+' conftest.er1 >conftest.err
4513
cat conftest.err >&5
4514
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4515
(exit $ac_status); } >/dev/null; then
4516
if test -s conftest.err; then
4517
ac_cpp_err=$ac_c_preproc_warn_flag
4518
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4525
if test -z "$ac_cpp_err"; then
4528
echo "$as_me: failed program was:" >&5
4529
sed 's/^/| /' conftest.$ac_ext >&5
4531
# Broken: fails on valid input.
4534
rm -f conftest.err conftest.$ac_ext
4536
# OK, works on sane cases. Now check whether non-existent headers
4537
# can be detected and how.
4538
cat >conftest.$ac_ext <<_ACEOF
4541
cat confdefs.h >>conftest.$ac_ext
4542
cat >>conftest.$ac_ext <<_ACEOF
4543
/* end confdefs.h. */
4544
#include <ac_nonexistent.h>
4546
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4547
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4549
grep -v '^ *+' conftest.er1 >conftest.err
4551
cat conftest.err >&5
4552
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553
(exit $ac_status); } >/dev/null; then
4554
if test -s conftest.err; then
4555
ac_cpp_err=$ac_c_preproc_warn_flag
4556
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4563
if test -z "$ac_cpp_err"; then
4564
# Broken: success on invalid input.
4567
echo "$as_me: failed program was:" >&5
4568
sed 's/^/| /' conftest.$ac_ext >&5
4570
# Passes both tests.
4574
rm -f conftest.err conftest.$ac_ext
4577
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4578
rm -f conftest.err conftest.$ac_ext
4579
if $ac_preproc_ok; then
4591
echo "$as_me:$LINENO: result: $CPP" >&5
4592
echo "${ECHO_T}$CPP" >&6
4594
for ac_c_preproc_warn_flag in '' yes
4596
# Use a header file that comes with gcc, so configuring glibc
4597
# with a fresh cross-compiler works.
4598
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4599
# <limits.h> exists even on freestanding compilers.
4600
# On the NeXT, cc -E runs the code through the compiler's parser,
4601
# not just through cpp. "Syntax error" is here to catch this case.
4602
cat >conftest.$ac_ext <<_ACEOF
4605
cat confdefs.h >>conftest.$ac_ext
4606
cat >>conftest.$ac_ext <<_ACEOF
4607
/* end confdefs.h. */
4609
# include <limits.h>
4611
# include <assert.h>
4615
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4616
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4618
grep -v '^ *+' conftest.er1 >conftest.err
4620
cat conftest.err >&5
4621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622
(exit $ac_status); } >/dev/null; then
4623
if test -s conftest.err; then
4624
ac_cpp_err=$ac_c_preproc_warn_flag
4625
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4632
if test -z "$ac_cpp_err"; then
4635
echo "$as_me: failed program was:" >&5
4636
sed 's/^/| /' conftest.$ac_ext >&5
4638
# Broken: fails on valid input.
4641
rm -f conftest.err conftest.$ac_ext
4643
# OK, works on sane cases. Now check whether non-existent headers
4644
# can be detected and how.
4645
cat >conftest.$ac_ext <<_ACEOF
4648
cat confdefs.h >>conftest.$ac_ext
4649
cat >>conftest.$ac_ext <<_ACEOF
4650
/* end confdefs.h. */
4651
#include <ac_nonexistent.h>
4653
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4654
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4656
grep -v '^ *+' conftest.er1 >conftest.err
4658
cat conftest.err >&5
4659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660
(exit $ac_status); } >/dev/null; then
4661
if test -s conftest.err; then
4662
ac_cpp_err=$ac_c_preproc_warn_flag
4663
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4670
if test -z "$ac_cpp_err"; then
4671
# Broken: success on invalid input.
4674
echo "$as_me: failed program was:" >&5
4675
sed 's/^/| /' conftest.$ac_ext >&5
4677
# Passes both tests.
4681
rm -f conftest.err conftest.$ac_ext
4684
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4685
rm -f conftest.err conftest.$ac_ext
4686
if $ac_preproc_ok; then
4689
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4690
See \`config.log' for more details." >&5
4691
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4692
See \`config.log' for more details." >&2;}
4693
{ (exit 1); exit 1; }; }
4697
ac_cpp='$CPP $CPPFLAGS'
4698
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4699
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4700
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705
CFLAGS="$CFLAGS -Dfork=vfork -DSYS_AMIGA"
2707
4708
CFLAGS="$CFLAGS -DSYS_CYGWIN32"
2709
4710
i386-sequent-sysv4)
2712
CFLAGS="$CFLAGS -Wc,+Abi-socket"
2719
CFLAGS="$CFLAGS -std1"
2728
*) case "$target" in
4713
CFLAGS="$CFLAGS -Wc,+abi-socket"
4718
CPPFLAGS="$CPPFLAGS -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -I/SYSLOG/PUB"
4719
LDFLAGS="$LDFLAGS -L/SYSLOG/PUB"
4720
LIBS="$LIBS -lcurses"
4724
echo "$as_me:$LINENO: checking if we should use /dev/clockctl" >&5
4725
echo $ECHO_N "checking if we should use /dev/clockctl... $ECHO_C" >&6
4726
if test "${ac_clockctl+set}" = set; then
4727
echo $ECHO_N "(cached) $ECHO_C" >&6
4729
# Check whether --enable-clockctl or --disable-clockctl was given.
4730
if test "${enable_clockctl+set}" = set; then
4731
enableval="$enable_clockctl"
4745
echo "$as_me:$LINENO: result: $ac_clockctl" >&5
4746
echo "${ECHO_T}$ac_clockctl" >&6
4747
# End of AC_CACHE_CHECK for clockctl
4749
for ac_header in sys/clockctl.h
4751
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4752
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4753
echo "$as_me:$LINENO: checking for $ac_header" >&5
4754
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4755
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4756
echo $ECHO_N "(cached) $ECHO_C" >&6
4758
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4759
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4761
# Is the header compilable?
4762
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4763
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4764
cat >conftest.$ac_ext <<_ACEOF
4767
cat confdefs.h >>conftest.$ac_ext
4768
cat >>conftest.$ac_ext <<_ACEOF
4769
/* end confdefs.h. */
4770
$ac_includes_default
4771
#include <$ac_header>
4773
rm -f conftest.$ac_objext
4774
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4775
(eval $ac_compile) 2>conftest.er1
4777
grep -v '^ *+' conftest.er1 >conftest.err
4779
cat conftest.err >&5
4780
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781
(exit $ac_status); } &&
4782
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4783
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787
(exit $ac_status); }; } &&
4788
{ ac_try='test -s conftest.$ac_objext'
4789
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4792
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4793
(exit $ac_status); }; }; then
4794
ac_header_compiler=yes
4796
echo "$as_me: failed program was:" >&5
4797
sed 's/^/| /' conftest.$ac_ext >&5
4799
ac_header_compiler=no
4801
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4802
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4803
echo "${ECHO_T}$ac_header_compiler" >&6
4805
# Is the header present?
4806
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4807
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4808
cat >conftest.$ac_ext <<_ACEOF
4811
cat confdefs.h >>conftest.$ac_ext
4812
cat >>conftest.$ac_ext <<_ACEOF
4813
/* end confdefs.h. */
4814
#include <$ac_header>
4816
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4817
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4819
grep -v '^ *+' conftest.er1 >conftest.err
4821
cat conftest.err >&5
4822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823
(exit $ac_status); } >/dev/null; then
4824
if test -s conftest.err; then
4825
ac_cpp_err=$ac_c_preproc_warn_flag
4826
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4833
if test -z "$ac_cpp_err"; then
4834
ac_header_preproc=yes
4836
echo "$as_me: failed program was:" >&5
4837
sed 's/^/| /' conftest.$ac_ext >&5
4839
ac_header_preproc=no
4841
rm -f conftest.err conftest.$ac_ext
4842
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4843
echo "${ECHO_T}$ac_header_preproc" >&6
4845
# So? What about this header?
4846
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4848
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4849
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4850
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4851
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4852
ac_header_preproc=yes
4855
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4856
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4857
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4858
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4859
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4860
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4861
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4862
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4863
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4864
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4865
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4866
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4869
## ------------------------------ ##
4870
## Report this to the ntp lists. ##
4871
## ------------------------------ ##
4874
sed "s/^/$as_me: WARNING: /" >&2
4877
echo "$as_me:$LINENO: checking for $ac_header" >&5
4878
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4879
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4880
echo $ECHO_N "(cached) $ECHO_C" >&6
4882
eval "$as_ac_Header=\$ac_header_preproc"
4884
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4885
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4888
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4889
cat >>confdefs.h <<_ACEOF
4890
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4897
case "$ac_clockctl$ac_cv_header_sys_clockctl_h" in
4900
cat >>confdefs.h <<\_ACEOF
4901
#define HAVE_DROPROOT
4907
echo "$as_me:$LINENO: checking if we have linux capabilities (libcap)" >&5
4908
echo $ECHO_N "checking if we have linux capabilities (libcap)... $ECHO_C" >&6
4909
if test "${ac_linuxcaps+set}" = set; then
4910
echo $ECHO_N "(cached) $ECHO_C" >&6
4912
# Check whether --enable-linuxcaps or --disable-linuxcaps was given.
4913
if test "${enable_linuxcaps+set}" = set; then
4914
enableval="$enable_linuxcaps"
4921
echo "$as_me:$LINENO: result: $ac_linuxcaps" >&5
4922
echo "${ECHO_T}$ac_linuxcaps" >&6
4923
# End of AC_CACHE_CHECK for linuxcaps
4925
for ac_header in sys/capability.h
4927
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4928
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4929
echo "$as_me:$LINENO: checking for $ac_header" >&5
4930
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4931
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4932
echo $ECHO_N "(cached) $ECHO_C" >&6
4934
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4935
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4937
# Is the header compilable?
4938
echo "$as_me:$LINENO: checking $ac_header usability" >&5
4939
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4940
cat >conftest.$ac_ext <<_ACEOF
4943
cat confdefs.h >>conftest.$ac_ext
4944
cat >>conftest.$ac_ext <<_ACEOF
4945
/* end confdefs.h. */
4946
$ac_includes_default
4947
#include <$ac_header>
4949
rm -f conftest.$ac_objext
4950
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4951
(eval $ac_compile) 2>conftest.er1
4953
grep -v '^ *+' conftest.er1 >conftest.err
4955
cat conftest.err >&5
4956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4957
(exit $ac_status); } &&
4958
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4959
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963
(exit $ac_status); }; } &&
4964
{ ac_try='test -s conftest.$ac_objext'
4965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4968
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969
(exit $ac_status); }; }; then
4970
ac_header_compiler=yes
4972
echo "$as_me: failed program was:" >&5
4973
sed 's/^/| /' conftest.$ac_ext >&5
4975
ac_header_compiler=no
4977
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4978
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4979
echo "${ECHO_T}$ac_header_compiler" >&6
4981
# Is the header present?
4982
echo "$as_me:$LINENO: checking $ac_header presence" >&5
4983
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4984
cat >conftest.$ac_ext <<_ACEOF
4987
cat confdefs.h >>conftest.$ac_ext
4988
cat >>conftest.$ac_ext <<_ACEOF
4989
/* end confdefs.h. */
4990
#include <$ac_header>
4992
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4993
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4995
grep -v '^ *+' conftest.er1 >conftest.err
4997
cat conftest.err >&5
4998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999
(exit $ac_status); } >/dev/null; then
5000
if test -s conftest.err; then
5001
ac_cpp_err=$ac_c_preproc_warn_flag
5002
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5009
if test -z "$ac_cpp_err"; then
5010
ac_header_preproc=yes
5012
echo "$as_me: failed program was:" >&5
5013
sed 's/^/| /' conftest.$ac_ext >&5
5015
ac_header_preproc=no
5017
rm -f conftest.err conftest.$ac_ext
5018
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5019
echo "${ECHO_T}$ac_header_preproc" >&6
5021
# So? What about this header?
5022
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5024
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5025
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5026
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5027
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5028
ac_header_preproc=yes
5031
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5032
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5033
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5034
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5035
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5036
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5037
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5038
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5039
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5040
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5041
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5042
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5045
## ------------------------------ ##
5046
## Report this to the ntp lists. ##
5047
## ------------------------------ ##
5050
sed "s/^/$as_me: WARNING: /" >&2
5053
echo "$as_me:$LINENO: checking for $ac_header" >&5
5054
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5055
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5056
echo $ECHO_N "(cached) $ECHO_C" >&6
5058
eval "$as_ac_Header=\$ac_header_preproc"
5060
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5061
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5064
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5065
cat >>confdefs.h <<_ACEOF
5066
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5074
for ac_header in sys/prctl.h
5076
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5077
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5078
echo "$as_me:$LINENO: checking for $ac_header" >&5
5079
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5080
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5081
echo $ECHO_N "(cached) $ECHO_C" >&6
5083
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5084
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5086
# Is the header compilable?
5087
echo "$as_me:$LINENO: checking $ac_header usability" >&5
5088
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5089
cat >conftest.$ac_ext <<_ACEOF
5092
cat confdefs.h >>conftest.$ac_ext
5093
cat >>conftest.$ac_ext <<_ACEOF
5094
/* end confdefs.h. */
5095
$ac_includes_default
5096
#include <$ac_header>
5098
rm -f conftest.$ac_objext
5099
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5100
(eval $ac_compile) 2>conftest.er1
5102
grep -v '^ *+' conftest.er1 >conftest.err
5104
cat conftest.err >&5
5105
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106
(exit $ac_status); } &&
5107
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5108
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5111
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112
(exit $ac_status); }; } &&
5113
{ ac_try='test -s conftest.$ac_objext'
5114
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118
(exit $ac_status); }; }; then
5119
ac_header_compiler=yes
5121
echo "$as_me: failed program was:" >&5
5122
sed 's/^/| /' conftest.$ac_ext >&5
5124
ac_header_compiler=no
5126
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5127
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5128
echo "${ECHO_T}$ac_header_compiler" >&6
5130
# Is the header present?
5131
echo "$as_me:$LINENO: checking $ac_header presence" >&5
5132
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5133
cat >conftest.$ac_ext <<_ACEOF
5136
cat confdefs.h >>conftest.$ac_ext
5137
cat >>conftest.$ac_ext <<_ACEOF
5138
/* end confdefs.h. */
5139
#include <$ac_header>
5141
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5142
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5144
grep -v '^ *+' conftest.er1 >conftest.err
5146
cat conftest.err >&5
5147
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148
(exit $ac_status); } >/dev/null; then
5149
if test -s conftest.err; then
5150
ac_cpp_err=$ac_c_preproc_warn_flag
5151
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5158
if test -z "$ac_cpp_err"; then
5159
ac_header_preproc=yes
5161
echo "$as_me: failed program was:" >&5
5162
sed 's/^/| /' conftest.$ac_ext >&5
5164
ac_header_preproc=no
5166
rm -f conftest.err conftest.$ac_ext
5167
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5168
echo "${ECHO_T}$ac_header_preproc" >&6
5170
# So? What about this header?
5171
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5173
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5174
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5175
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5176
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5177
ac_header_preproc=yes
5180
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5181
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5182
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5183
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5184
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5185
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5186
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5187
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5188
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5189
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5190
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5191
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5194
## ------------------------------ ##
5195
## Report this to the ntp lists. ##
5196
## ------------------------------ ##
5199
sed "s/^/$as_me: WARNING: /" >&2
5202
echo "$as_me:$LINENO: checking for $ac_header" >&5
5203
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5204
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5205
echo $ECHO_N "(cached) $ECHO_C" >&6
5207
eval "$as_ac_Header=\$ac_header_preproc"
5209
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5210
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5213
if test `eval echo '${'$as_ac_Header'}'` = yes; then
5214
cat >>confdefs.h <<_ACEOF
5215
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5222
case "$ac_linuxcaps$ac_cv_header_sys_capability_h$ac_cv_header_sys_prctl_h" in
5225
cat >>confdefs.h <<\_ACEOF
5226
#define HAVE_LINUX_CAPABILITIES
5230
cat >>confdefs.h <<\_ACEOF
5231
#define HAVE_DROPROOT
2730
5244
# Quick and dirty sanity check
2731
5245
case "$VX_KERNEL" in
2732
'') { { echo "$as_me:2732: error: Please follow the directions in html/vxworks.html!" >&5
5246
'') { { echo "$as_me:$LINENO: error: Please follow the directions in html/vxworks.html!" >&5
2733
5247
echo "$as_me: error: Please follow the directions in html/vxworks.html!" >&2;}
2734
5248
{ (exit 1); exit 1; }; }
4252
7734
for (i = 0; i < 256; i++)
4253
7735
if (XOR (islower (i), ISLOWER (i))
4254
|| toupper (i) != TOUPPER (i))
7736
|| toupper (i) != TOUPPER (i))
4259
7741
rm -f conftest$ac_exeext
4260
if { (eval echo "$as_me:4260: \"$ac_link\"") >&5
7742
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4261
7743
(eval $ac_link) 2>&5
4263
echo "$as_me:4263: \$? = $ac_status" >&5
7745
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264
7746
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4265
{ (eval echo "$as_me:4265: \"$ac_try\"") >&5
7747
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266
7748
(eval $ac_try) 2>&5
4268
echo "$as_me:4268: \$? = $ac_status" >&5
7750
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269
7751
(exit $ac_status); }; }; then
4272
7754
echo "$as_me: program exited with status $ac_status" >&5
4273
7755
echo "$as_me: failed program was:" >&5
4274
cat conftest.$ac_ext >&5
7756
sed 's/^/| /' conftest.$ac_ext >&5
4275
7759
ac_cv_header_stdc=no
4277
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
4281
echo "$as_me:4281: result: $ac_cv_header_stdc" >&5
7761
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7765
echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4282
7766
echo "${ECHO_T}$ac_cv_header_stdc" >&6
4283
7767
if test $ac_cv_header_stdc = yes; then
4285
cat >>confdefs.h <<\EOF
7769
cat >>confdefs.h <<\_ACEOF
4286
7770
#define STDC_HEADERS 1
4291
for ac_header in bstring.h errno.h fcntl.h ieeefp.h math.h memory.h netdb.h
4293
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4294
echo "$as_me:4294: checking for $ac_header" >&5
4295
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4296
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4297
echo $ECHO_N "(cached) $ECHO_C" >&6
4299
cat >conftest.$ac_ext <<_ACEOF
4300
#line 4300 "configure"
4301
#include "confdefs.h"
4302
#include <$ac_header>
4304
if { (eval echo "$as_me:4304: \"$ac_cpp conftest.$ac_ext\"") >&5
4305
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4307
egrep -v '^ *\+' conftest.er1 >conftest.err
4309
cat conftest.err >&5
4310
echo "$as_me:4310: \$? = $ac_status" >&5
4311
(exit $ac_status); } >/dev/null; then
4312
if test -s conftest.err; then
4313
ac_cpp_err=$ac_c_preproc_warn_flag
4320
if test -z "$ac_cpp_err"; then
4321
eval "$ac_ac_Header=yes"
4323
echo "$as_me: failed program was:" >&5
4324
cat conftest.$ac_ext >&5
4325
eval "$ac_ac_Header=no"
4327
rm -f conftest.err conftest.$ac_ext
4329
echo "$as_me:4329: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4330
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4331
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4332
cat >>confdefs.h <<EOF
4333
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4339
for ac_header in poll.h resolv.h sched.h sgtty.h stdlib.h string.h termio.h
4341
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4342
echo "$as_me:4342: checking for $ac_header" >&5
4343
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4344
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4345
echo $ECHO_N "(cached) $ECHO_C" >&6
4347
cat >conftest.$ac_ext <<_ACEOF
4348
#line 4348 "configure"
4349
#include "confdefs.h"
4350
#include <$ac_header>
4352
if { (eval echo "$as_me:4352: \"$ac_cpp conftest.$ac_ext\"") >&5
4353
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4355
egrep -v '^ *\+' conftest.er1 >conftest.err
4357
cat conftest.err >&5
4358
echo "$as_me:4358: \$? = $ac_status" >&5
4359
(exit $ac_status); } >/dev/null; then
4360
if test -s conftest.err; then
4361
ac_cpp_err=$ac_c_preproc_warn_flag
4368
if test -z "$ac_cpp_err"; then
4369
eval "$ac_ac_Header=yes"
4371
echo "$as_me: failed program was:" >&5
4372
cat conftest.$ac_ext >&5
4373
eval "$ac_ac_Header=no"
4375
rm -f conftest.err conftest.$ac_ext
4377
echo "$as_me:4377: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4378
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4379
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4380
cat >>confdefs.h <<EOF
4381
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4387
for ac_header in termios.h timepps.h timex.h unistd.h utmp.h utmpx.h
4389
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4390
echo "$as_me:4390: checking for $ac_header" >&5
4391
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4392
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4393
echo $ECHO_N "(cached) $ECHO_C" >&6
4395
cat >conftest.$ac_ext <<_ACEOF
4396
#line 4396 "configure"
4397
#include "confdefs.h"
4398
#include <$ac_header>
4400
if { (eval echo "$as_me:4400: \"$ac_cpp conftest.$ac_ext\"") >&5
4401
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4403
egrep -v '^ *\+' conftest.er1 >conftest.err
4405
cat conftest.err >&5
4406
echo "$as_me:4406: \$? = $ac_status" >&5
4407
(exit $ac_status); } >/dev/null; then
4408
if test -s conftest.err; then
4409
ac_cpp_err=$ac_c_preproc_warn_flag
4416
if test -z "$ac_cpp_err"; then
4417
eval "$ac_ac_Header=yes"
4419
echo "$as_me: failed program was:" >&5
4420
cat conftest.$ac_ext >&5
4421
eval "$ac_ac_Header=no"
4423
rm -f conftest.err conftest.$ac_ext
4425
echo "$as_me:4425: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4426
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4427
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4428
cat >>confdefs.h <<EOF
4429
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4435
for ac_header in arpa/nameser.h net/if.h netinet/in_systm.h netinet/in.h
4437
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4438
echo "$as_me:4438: checking for $ac_header" >&5
4439
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4440
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4441
echo $ECHO_N "(cached) $ECHO_C" >&6
4443
cat >conftest.$ac_ext <<_ACEOF
4444
#line 4444 "configure"
4445
#include "confdefs.h"
4446
#include <$ac_header>
4448
if { (eval echo "$as_me:4448: \"$ac_cpp conftest.$ac_ext\"") >&5
4449
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4451
egrep -v '^ *\+' conftest.er1 >conftest.err
4453
cat conftest.err >&5
4454
echo "$as_me:4454: \$? = $ac_status" >&5
4455
(exit $ac_status); } >/dev/null; then
4456
if test -s conftest.err; then
4457
ac_cpp_err=$ac_c_preproc_warn_flag
4464
if test -z "$ac_cpp_err"; then
4465
eval "$ac_ac_Header=yes"
4467
echo "$as_me: failed program was:" >&5
4468
cat conftest.$ac_ext >&5
4469
eval "$ac_ac_Header=no"
4471
rm -f conftest.err conftest.$ac_ext
4473
echo "$as_me:4473: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4474
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4475
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4476
cat >>confdefs.h <<EOF
4477
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
7780
for ac_header in bstring.h errno.h fcntl.h ieeefp.h math.h
7782
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7783
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7784
echo "$as_me:$LINENO: checking for $ac_header" >&5
7785
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7786
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7787
echo $ECHO_N "(cached) $ECHO_C" >&6
7789
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7790
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7792
# Is the header compilable?
7793
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7794
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7795
cat >conftest.$ac_ext <<_ACEOF
7798
cat confdefs.h >>conftest.$ac_ext
7799
cat >>conftest.$ac_ext <<_ACEOF
7800
/* end confdefs.h. */
7801
$ac_includes_default
7802
#include <$ac_header>
7804
rm -f conftest.$ac_objext
7805
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7806
(eval $ac_compile) 2>conftest.er1
7808
grep -v '^ *+' conftest.er1 >conftest.err
7810
cat conftest.err >&5
7811
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7812
(exit $ac_status); } &&
7813
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7814
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7817
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818
(exit $ac_status); }; } &&
7819
{ ac_try='test -s conftest.$ac_objext'
7820
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824
(exit $ac_status); }; }; then
7825
ac_header_compiler=yes
7827
echo "$as_me: failed program was:" >&5
7828
sed 's/^/| /' conftest.$ac_ext >&5
7830
ac_header_compiler=no
7832
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7833
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7834
echo "${ECHO_T}$ac_header_compiler" >&6
7836
# Is the header present?
7837
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7838
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7839
cat >conftest.$ac_ext <<_ACEOF
7842
cat confdefs.h >>conftest.$ac_ext
7843
cat >>conftest.$ac_ext <<_ACEOF
7844
/* end confdefs.h. */
7845
#include <$ac_header>
7847
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7848
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7850
grep -v '^ *+' conftest.er1 >conftest.err
7852
cat conftest.err >&5
7853
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854
(exit $ac_status); } >/dev/null; then
7855
if test -s conftest.err; then
7856
ac_cpp_err=$ac_c_preproc_warn_flag
7857
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7864
if test -z "$ac_cpp_err"; then
7865
ac_header_preproc=yes
7867
echo "$as_me: failed program was:" >&5
7868
sed 's/^/| /' conftest.$ac_ext >&5
7870
ac_header_preproc=no
7872
rm -f conftest.err conftest.$ac_ext
7873
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7874
echo "${ECHO_T}$ac_header_preproc" >&6
7876
# So? What about this header?
7877
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7879
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7880
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7881
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7882
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7883
ac_header_preproc=yes
7886
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7887
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7888
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7889
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7890
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7891
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7892
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7893
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7894
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7895
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7896
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7897
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7900
## ------------------------------ ##
7901
## Report this to the ntp lists. ##
7902
## ------------------------------ ##
7905
sed "s/^/$as_me: WARNING: /" >&2
7908
echo "$as_me:$LINENO: checking for $ac_header" >&5
7909
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7910
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7911
echo $ECHO_N "(cached) $ECHO_C" >&6
7913
eval "$as_ac_Header=\$ac_header_preproc"
7915
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7916
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7919
if test `eval echo '${'$as_ac_Header'}'` = yes; then
7920
cat >>confdefs.h <<_ACEOF
7921
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7928
# HMS: Lame, but fast.
7929
if test -f /etc/redhat-release
7934
for ac_header in md5.h
7936
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7937
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7938
echo "$as_me:$LINENO: checking for $ac_header" >&5
7939
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7940
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7941
echo $ECHO_N "(cached) $ECHO_C" >&6
7943
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7944
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7946
# Is the header compilable?
7947
echo "$as_me:$LINENO: checking $ac_header usability" >&5
7948
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7949
cat >conftest.$ac_ext <<_ACEOF
7952
cat confdefs.h >>conftest.$ac_ext
7953
cat >>conftest.$ac_ext <<_ACEOF
7954
/* end confdefs.h. */
7955
$ac_includes_default
7956
#include <$ac_header>
7958
rm -f conftest.$ac_objext
7959
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7960
(eval $ac_compile) 2>conftest.er1
7962
grep -v '^ *+' conftest.er1 >conftest.err
7964
cat conftest.err >&5
7965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7966
(exit $ac_status); } &&
7967
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7968
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7971
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7972
(exit $ac_status); }; } &&
7973
{ ac_try='test -s conftest.$ac_objext'
7974
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7977
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978
(exit $ac_status); }; }; then
7979
ac_header_compiler=yes
7981
echo "$as_me: failed program was:" >&5
7982
sed 's/^/| /' conftest.$ac_ext >&5
7984
ac_header_compiler=no
7986
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7987
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7988
echo "${ECHO_T}$ac_header_compiler" >&6
7990
# Is the header present?
7991
echo "$as_me:$LINENO: checking $ac_header presence" >&5
7992
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7993
cat >conftest.$ac_ext <<_ACEOF
7996
cat confdefs.h >>conftest.$ac_ext
7997
cat >>conftest.$ac_ext <<_ACEOF
7998
/* end confdefs.h. */
7999
#include <$ac_header>
8001
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8002
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8004
grep -v '^ *+' conftest.er1 >conftest.err
8006
cat conftest.err >&5
8007
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8008
(exit $ac_status); } >/dev/null; then
8009
if test -s conftest.err; then
8010
ac_cpp_err=$ac_c_preproc_warn_flag
8011
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8018
if test -z "$ac_cpp_err"; then
8019
ac_header_preproc=yes
8021
echo "$as_me: failed program was:" >&5
8022
sed 's/^/| /' conftest.$ac_ext >&5
8024
ac_header_preproc=no
8026
rm -f conftest.err conftest.$ac_ext
8027
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8028
echo "${ECHO_T}$ac_header_preproc" >&6
8030
# So? What about this header?
8031
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8033
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8034
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8035
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8036
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8037
ac_header_preproc=yes
8040
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8041
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8042
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8043
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8044
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8045
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8046
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8047
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8048
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8049
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8050
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8051
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8054
## ------------------------------ ##
8055
## Report this to the ntp lists. ##
8056
## ------------------------------ ##
8059
sed "s/^/$as_me: WARNING: /" >&2
8062
echo "$as_me:$LINENO: checking for $ac_header" >&5
8063
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8064
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8065
echo $ECHO_N "(cached) $ECHO_C" >&6
8067
eval "$as_ac_Header=\$ac_header_preproc"
8069
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8070
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8073
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074
cat >>confdefs.h <<_ACEOF
8075
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086
for ac_header in memory.h netdb.h poll.h
8088
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8089
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8090
echo "$as_me:$LINENO: checking for $ac_header" >&5
8091
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8092
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8093
echo $ECHO_N "(cached) $ECHO_C" >&6
8095
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8096
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8098
# Is the header compilable?
8099
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8100
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8101
cat >conftest.$ac_ext <<_ACEOF
8104
cat confdefs.h >>conftest.$ac_ext
8105
cat >>conftest.$ac_ext <<_ACEOF
8106
/* end confdefs.h. */
8107
$ac_includes_default
8108
#include <$ac_header>
8110
rm -f conftest.$ac_objext
8111
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8112
(eval $ac_compile) 2>conftest.er1
8114
grep -v '^ *+' conftest.er1 >conftest.err
8116
cat conftest.err >&5
8117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118
(exit $ac_status); } &&
8119
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8120
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124
(exit $ac_status); }; } &&
8125
{ ac_try='test -s conftest.$ac_objext'
8126
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130
(exit $ac_status); }; }; then
8131
ac_header_compiler=yes
8133
echo "$as_me: failed program was:" >&5
8134
sed 's/^/| /' conftest.$ac_ext >&5
8136
ac_header_compiler=no
8138
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8139
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8140
echo "${ECHO_T}$ac_header_compiler" >&6
8142
# Is the header present?
8143
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8144
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8145
cat >conftest.$ac_ext <<_ACEOF
8148
cat confdefs.h >>conftest.$ac_ext
8149
cat >>conftest.$ac_ext <<_ACEOF
8150
/* end confdefs.h. */
8151
#include <$ac_header>
8153
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8154
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8156
grep -v '^ *+' conftest.er1 >conftest.err
8158
cat conftest.err >&5
8159
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160
(exit $ac_status); } >/dev/null; then
8161
if test -s conftest.err; then
8162
ac_cpp_err=$ac_c_preproc_warn_flag
8163
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8170
if test -z "$ac_cpp_err"; then
8171
ac_header_preproc=yes
8173
echo "$as_me: failed program was:" >&5
8174
sed 's/^/| /' conftest.$ac_ext >&5
8176
ac_header_preproc=no
8178
rm -f conftest.err conftest.$ac_ext
8179
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8180
echo "${ECHO_T}$ac_header_preproc" >&6
8182
# So? What about this header?
8183
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8185
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8186
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8187
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8188
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8189
ac_header_preproc=yes
8192
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8193
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8194
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8195
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8196
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8197
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8198
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8199
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8200
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8201
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8202
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8203
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8206
## ------------------------------ ##
8207
## Report this to the ntp lists. ##
8208
## ------------------------------ ##
8211
sed "s/^/$as_me: WARNING: /" >&2
8214
echo "$as_me:$LINENO: checking for $ac_header" >&5
8215
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8216
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8217
echo $ECHO_N "(cached) $ECHO_C" >&6
8219
eval "$as_ac_Header=\$ac_header_preproc"
8221
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8222
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8225
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8226
cat >>confdefs.h <<_ACEOF
8227
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8239
for ac_header in sched.h sgtty.h stdlib.h string.h termio.h
8241
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8242
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8243
echo "$as_me:$LINENO: checking for $ac_header" >&5
8244
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8245
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8246
echo $ECHO_N "(cached) $ECHO_C" >&6
8248
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8249
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8251
# Is the header compilable?
8252
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8253
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8254
cat >conftest.$ac_ext <<_ACEOF
8257
cat confdefs.h >>conftest.$ac_ext
8258
cat >>conftest.$ac_ext <<_ACEOF
8259
/* end confdefs.h. */
8260
$ac_includes_default
8261
#include <$ac_header>
8263
rm -f conftest.$ac_objext
8264
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8265
(eval $ac_compile) 2>conftest.er1
8267
grep -v '^ *+' conftest.er1 >conftest.err
8269
cat conftest.err >&5
8270
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271
(exit $ac_status); } &&
8272
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8273
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277
(exit $ac_status); }; } &&
8278
{ ac_try='test -s conftest.$ac_objext'
8279
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283
(exit $ac_status); }; }; then
8284
ac_header_compiler=yes
8286
echo "$as_me: failed program was:" >&5
8287
sed 's/^/| /' conftest.$ac_ext >&5
8289
ac_header_compiler=no
8291
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8292
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8293
echo "${ECHO_T}$ac_header_compiler" >&6
8295
# Is the header present?
8296
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8297
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8298
cat >conftest.$ac_ext <<_ACEOF
8301
cat confdefs.h >>conftest.$ac_ext
8302
cat >>conftest.$ac_ext <<_ACEOF
8303
/* end confdefs.h. */
8304
#include <$ac_header>
8306
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8307
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8309
grep -v '^ *+' conftest.er1 >conftest.err
8311
cat conftest.err >&5
8312
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313
(exit $ac_status); } >/dev/null; then
8314
if test -s conftest.err; then
8315
ac_cpp_err=$ac_c_preproc_warn_flag
8316
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8323
if test -z "$ac_cpp_err"; then
8324
ac_header_preproc=yes
8326
echo "$as_me: failed program was:" >&5
8327
sed 's/^/| /' conftest.$ac_ext >&5
8329
ac_header_preproc=no
8331
rm -f conftest.err conftest.$ac_ext
8332
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8333
echo "${ECHO_T}$ac_header_preproc" >&6
8335
# So? What about this header?
8336
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8338
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8339
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8340
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8341
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8342
ac_header_preproc=yes
8345
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8346
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8347
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8348
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8349
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8350
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8351
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8352
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8353
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8354
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8355
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8356
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8359
## ------------------------------ ##
8360
## Report this to the ntp lists. ##
8361
## ------------------------------ ##
8364
sed "s/^/$as_me: WARNING: /" >&2
8367
echo "$as_me:$LINENO: checking for $ac_header" >&5
8368
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8369
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8370
echo $ECHO_N "(cached) $ECHO_C" >&6
8372
eval "$as_ac_Header=\$ac_header_preproc"
8374
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8375
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8378
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8379
cat >>confdefs.h <<_ACEOF
8380
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8391
for ac_header in termios.h timepps.h timex.h unistd.h
8393
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8394
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8395
echo "$as_me:$LINENO: checking for $ac_header" >&5
8396
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8397
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8398
echo $ECHO_N "(cached) $ECHO_C" >&6
8400
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8401
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8403
# Is the header compilable?
8404
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8405
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8406
cat >conftest.$ac_ext <<_ACEOF
8409
cat confdefs.h >>conftest.$ac_ext
8410
cat >>conftest.$ac_ext <<_ACEOF
8411
/* end confdefs.h. */
8412
$ac_includes_default
8413
#include <$ac_header>
8415
rm -f conftest.$ac_objext
8416
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8417
(eval $ac_compile) 2>conftest.er1
8419
grep -v '^ *+' conftest.er1 >conftest.err
8421
cat conftest.err >&5
8422
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423
(exit $ac_status); } &&
8424
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8425
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429
(exit $ac_status); }; } &&
8430
{ ac_try='test -s conftest.$ac_objext'
8431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435
(exit $ac_status); }; }; then
8436
ac_header_compiler=yes
8438
echo "$as_me: failed program was:" >&5
8439
sed 's/^/| /' conftest.$ac_ext >&5
8441
ac_header_compiler=no
8443
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8444
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8445
echo "${ECHO_T}$ac_header_compiler" >&6
8447
# Is the header present?
8448
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8449
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8450
cat >conftest.$ac_ext <<_ACEOF
8453
cat confdefs.h >>conftest.$ac_ext
8454
cat >>conftest.$ac_ext <<_ACEOF
8455
/* end confdefs.h. */
8456
#include <$ac_header>
8458
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8459
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8461
grep -v '^ *+' conftest.er1 >conftest.err
8463
cat conftest.err >&5
8464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465
(exit $ac_status); } >/dev/null; then
8466
if test -s conftest.err; then
8467
ac_cpp_err=$ac_c_preproc_warn_flag
8468
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8475
if test -z "$ac_cpp_err"; then
8476
ac_header_preproc=yes
8478
echo "$as_me: failed program was:" >&5
8479
sed 's/^/| /' conftest.$ac_ext >&5
8481
ac_header_preproc=no
8483
rm -f conftest.err conftest.$ac_ext
8484
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8485
echo "${ECHO_T}$ac_header_preproc" >&6
8487
# So? What about this header?
8488
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8490
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8491
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8492
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8493
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8494
ac_header_preproc=yes
8497
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8498
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8499
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8500
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8501
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8502
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8503
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8504
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8505
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8506
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8507
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8508
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8511
## ------------------------------ ##
8512
## Report this to the ntp lists. ##
8513
## ------------------------------ ##
8516
sed "s/^/$as_me: WARNING: /" >&2
8519
echo "$as_me:$LINENO: checking for $ac_header" >&5
8520
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8521
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8522
echo $ECHO_N "(cached) $ECHO_C" >&6
8524
eval "$as_ac_Header=\$ac_header_preproc"
8526
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8527
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8530
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8531
cat >>confdefs.h <<_ACEOF
8532
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8542
for ac_header in utmpx.h
8544
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8545
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8546
echo "$as_me:$LINENO: checking for $ac_header" >&5
8547
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8548
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8549
echo $ECHO_N "(cached) $ECHO_C" >&6
8551
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8552
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8554
# Is the header compilable?
8555
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8556
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8557
cat >conftest.$ac_ext <<_ACEOF
8560
cat confdefs.h >>conftest.$ac_ext
8561
cat >>conftest.$ac_ext <<_ACEOF
8562
/* end confdefs.h. */
8563
$ac_includes_default
8564
#include <$ac_header>
8566
rm -f conftest.$ac_objext
8567
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8568
(eval $ac_compile) 2>conftest.er1
8570
grep -v '^ *+' conftest.er1 >conftest.err
8572
cat conftest.err >&5
8573
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8574
(exit $ac_status); } &&
8575
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8576
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580
(exit $ac_status); }; } &&
8581
{ ac_try='test -s conftest.$ac_objext'
8582
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586
(exit $ac_status); }; }; then
8587
ac_header_compiler=yes
8589
echo "$as_me: failed program was:" >&5
8590
sed 's/^/| /' conftest.$ac_ext >&5
8592
ac_header_compiler=no
8594
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8595
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8596
echo "${ECHO_T}$ac_header_compiler" >&6
8598
# Is the header present?
8599
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8600
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8601
cat >conftest.$ac_ext <<_ACEOF
8604
cat confdefs.h >>conftest.$ac_ext
8605
cat >>conftest.$ac_ext <<_ACEOF
8606
/* end confdefs.h. */
8607
#include <$ac_header>
8609
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8610
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8612
grep -v '^ *+' conftest.er1 >conftest.err
8614
cat conftest.err >&5
8615
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8616
(exit $ac_status); } >/dev/null; then
8617
if test -s conftest.err; then
8618
ac_cpp_err=$ac_c_preproc_warn_flag
8619
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8626
if test -z "$ac_cpp_err"; then
8627
ac_header_preproc=yes
8629
echo "$as_me: failed program was:" >&5
8630
sed 's/^/| /' conftest.$ac_ext >&5
8632
ac_header_preproc=no
8634
rm -f conftest.err conftest.$ac_ext
8635
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8636
echo "${ECHO_T}$ac_header_preproc" >&6
8638
# So? What about this header?
8639
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8641
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8642
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8643
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8644
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8645
ac_header_preproc=yes
8648
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8649
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8650
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8651
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8652
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8653
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8654
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8655
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8656
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8657
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8658
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8659
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8662
## ------------------------------ ##
8663
## Report this to the ntp lists. ##
8664
## ------------------------------ ##
8667
sed "s/^/$as_me: WARNING: /" >&2
8670
echo "$as_me:$LINENO: checking for $ac_header" >&5
8671
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8672
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8673
echo $ECHO_N "(cached) $ECHO_C" >&6
8675
eval "$as_ac_Header=\$ac_header_preproc"
8677
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8678
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8681
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8682
cat >>confdefs.h <<_ACEOF
8683
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8690
case "$ac_cv_header_utmpx_h" in
8693
for ac_header in utmp.h
8695
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8696
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8697
echo "$as_me:$LINENO: checking for $ac_header" >&5
8698
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8699
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8700
echo $ECHO_N "(cached) $ECHO_C" >&6
8702
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8703
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8705
# Is the header compilable?
8706
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8707
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8708
cat >conftest.$ac_ext <<_ACEOF
8711
cat confdefs.h >>conftest.$ac_ext
8712
cat >>conftest.$ac_ext <<_ACEOF
8713
/* end confdefs.h. */
8714
$ac_includes_default
8715
#include <$ac_header>
8717
rm -f conftest.$ac_objext
8718
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8719
(eval $ac_compile) 2>conftest.er1
8721
grep -v '^ *+' conftest.er1 >conftest.err
8723
cat conftest.err >&5
8724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725
(exit $ac_status); } &&
8726
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8727
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731
(exit $ac_status); }; } &&
8732
{ ac_try='test -s conftest.$ac_objext'
8733
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8736
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8737
(exit $ac_status); }; }; then
8738
ac_header_compiler=yes
8740
echo "$as_me: failed program was:" >&5
8741
sed 's/^/| /' conftest.$ac_ext >&5
8743
ac_header_compiler=no
8745
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8746
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8747
echo "${ECHO_T}$ac_header_compiler" >&6
8749
# Is the header present?
8750
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8751
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8752
cat >conftest.$ac_ext <<_ACEOF
8755
cat confdefs.h >>conftest.$ac_ext
8756
cat >>conftest.$ac_ext <<_ACEOF
8757
/* end confdefs.h. */
8758
#include <$ac_header>
8760
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8761
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8763
grep -v '^ *+' conftest.er1 >conftest.err
8765
cat conftest.err >&5
8766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767
(exit $ac_status); } >/dev/null; then
8768
if test -s conftest.err; then
8769
ac_cpp_err=$ac_c_preproc_warn_flag
8770
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8777
if test -z "$ac_cpp_err"; then
8778
ac_header_preproc=yes
8780
echo "$as_me: failed program was:" >&5
8781
sed 's/^/| /' conftest.$ac_ext >&5
8783
ac_header_preproc=no
8785
rm -f conftest.err conftest.$ac_ext
8786
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8787
echo "${ECHO_T}$ac_header_preproc" >&6
8789
# So? What about this header?
8790
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8792
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8793
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8794
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8795
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8796
ac_header_preproc=yes
8799
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8800
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8801
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8802
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8803
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8804
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8805
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8806
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8807
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8808
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8809
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8810
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8813
## ------------------------------ ##
8814
## Report this to the ntp lists. ##
8815
## ------------------------------ ##
8818
sed "s/^/$as_me: WARNING: /" >&2
8821
echo "$as_me:$LINENO: checking for $ac_header" >&5
8822
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8823
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8824
echo $ECHO_N "(cached) $ECHO_C" >&6
8826
eval "$as_ac_Header=\$ac_header_preproc"
8828
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8829
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8832
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8833
cat >>confdefs.h <<_ACEOF
8834
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8845
for ac_header in utmp.h utmpx.h
8847
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8848
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8849
echo "$as_me:$LINENO: checking for $ac_header" >&5
8850
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8851
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8852
echo $ECHO_N "(cached) $ECHO_C" >&6
8854
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8855
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8857
# Is the header compilable?
8858
echo "$as_me:$LINENO: checking $ac_header usability" >&5
8859
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8860
cat >conftest.$ac_ext <<_ACEOF
8863
cat confdefs.h >>conftest.$ac_ext
8864
cat >>conftest.$ac_ext <<_ACEOF
8865
/* end confdefs.h. */
8866
$ac_includes_default
8867
#include <$ac_header>
8869
rm -f conftest.$ac_objext
8870
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8871
(eval $ac_compile) 2>conftest.er1
8873
grep -v '^ *+' conftest.er1 >conftest.err
8875
cat conftest.err >&5
8876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8877
(exit $ac_status); } &&
8878
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8879
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883
(exit $ac_status); }; } &&
8884
{ ac_try='test -s conftest.$ac_objext'
8885
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8889
(exit $ac_status); }; }; then
8890
ac_header_compiler=yes
8892
echo "$as_me: failed program was:" >&5
8893
sed 's/^/| /' conftest.$ac_ext >&5
8895
ac_header_compiler=no
8897
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8898
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8899
echo "${ECHO_T}$ac_header_compiler" >&6
8901
# Is the header present?
8902
echo "$as_me:$LINENO: checking $ac_header presence" >&5
8903
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8904
cat >conftest.$ac_ext <<_ACEOF
8907
cat confdefs.h >>conftest.$ac_ext
8908
cat >>conftest.$ac_ext <<_ACEOF
8909
/* end confdefs.h. */
8910
#include <$ac_header>
8912
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8913
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8915
grep -v '^ *+' conftest.er1 >conftest.err
8917
cat conftest.err >&5
8918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8919
(exit $ac_status); } >/dev/null; then
8920
if test -s conftest.err; then
8921
ac_cpp_err=$ac_c_preproc_warn_flag
8922
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8929
if test -z "$ac_cpp_err"; then
8930
ac_header_preproc=yes
8932
echo "$as_me: failed program was:" >&5
8933
sed 's/^/| /' conftest.$ac_ext >&5
8935
ac_header_preproc=no
8937
rm -f conftest.err conftest.$ac_ext
8938
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8939
echo "${ECHO_T}$ac_header_preproc" >&6
8941
# So? What about this header?
8942
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8944
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8945
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8946
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8947
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8948
ac_header_preproc=yes
8951
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8952
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8953
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8954
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8955
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8956
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8957
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8958
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8959
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8960
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8961
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8962
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8965
## ------------------------------ ##
8966
## Report this to the ntp lists. ##
8967
## ------------------------------ ##
8970
sed "s/^/$as_me: WARNING: /" >&2
8973
echo "$as_me:$LINENO: checking for $ac_header" >&5
8974
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8975
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8976
echo $ECHO_N "(cached) $ECHO_C" >&6
8978
eval "$as_ac_Header=\$ac_header_preproc"
8980
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8981
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8984
if test `eval echo '${'$as_ac_Header'}'` = yes; then
8985
cat >>confdefs.h <<_ACEOF
8986
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8995
for ac_header in arpa/nameser.h
8997
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8998
if eval "test \"\${$as_ac_Header+set}\" = set"; then
8999
echo "$as_me:$LINENO: checking for $ac_header" >&5
9000
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9001
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9002
echo $ECHO_N "(cached) $ECHO_C" >&6
9004
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9005
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9007
# Is the header compilable?
9008
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9009
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9010
cat >conftest.$ac_ext <<_ACEOF
9013
cat confdefs.h >>conftest.$ac_ext
9014
cat >>conftest.$ac_ext <<_ACEOF
9015
/* end confdefs.h. */
9016
$ac_includes_default
9017
#include <$ac_header>
9019
rm -f conftest.$ac_objext
9020
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9021
(eval $ac_compile) 2>conftest.er1
9023
grep -v '^ *+' conftest.er1 >conftest.err
9025
cat conftest.err >&5
9026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027
(exit $ac_status); } &&
9028
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033
(exit $ac_status); }; } &&
9034
{ ac_try='test -s conftest.$ac_objext'
9035
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039
(exit $ac_status); }; }; then
9040
ac_header_compiler=yes
9042
echo "$as_me: failed program was:" >&5
9043
sed 's/^/| /' conftest.$ac_ext >&5
9045
ac_header_compiler=no
9047
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9048
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9049
echo "${ECHO_T}$ac_header_compiler" >&6
9051
# Is the header present?
9052
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9053
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9054
cat >conftest.$ac_ext <<_ACEOF
9057
cat confdefs.h >>conftest.$ac_ext
9058
cat >>conftest.$ac_ext <<_ACEOF
9059
/* end confdefs.h. */
9060
#include <$ac_header>
9062
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9063
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9065
grep -v '^ *+' conftest.er1 >conftest.err
9067
cat conftest.err >&5
9068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069
(exit $ac_status); } >/dev/null; then
9070
if test -s conftest.err; then
9071
ac_cpp_err=$ac_c_preproc_warn_flag
9072
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9079
if test -z "$ac_cpp_err"; then
9080
ac_header_preproc=yes
9082
echo "$as_me: failed program was:" >&5
9083
sed 's/^/| /' conftest.$ac_ext >&5
9085
ac_header_preproc=no
9087
rm -f conftest.err conftest.$ac_ext
9088
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9089
echo "${ECHO_T}$ac_header_preproc" >&6
9091
# So? What about this header?
9092
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9094
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9095
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9096
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9097
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9098
ac_header_preproc=yes
9101
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9102
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9103
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9104
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9105
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9106
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9107
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9108
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9109
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9110
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9111
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9112
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9115
## ------------------------------ ##
9116
## Report this to the ntp lists. ##
9117
## ------------------------------ ##
9120
sed "s/^/$as_me: WARNING: /" >&2
9123
echo "$as_me:$LINENO: checking for $ac_header" >&5
9124
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9125
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9126
echo $ECHO_N "(cached) $ECHO_C" >&6
9128
eval "$as_ac_Header=\$ac_header_preproc"
9130
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9131
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9134
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9135
cat >>confdefs.h <<_ACEOF
9136
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9144
for ac_header in net/if.h
9146
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9147
echo "$as_me:$LINENO: checking for $ac_header" >&5
9148
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9149
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9150
echo $ECHO_N "(cached) $ECHO_C" >&6
9152
cat >conftest.$ac_ext <<_ACEOF
9155
cat confdefs.h >>conftest.$ac_ext
9156
cat >>conftest.$ac_ext <<_ACEOF
9157
/* end confdefs.h. */
9158
#if HAVE_SYS_SOCKET_H
9159
#include <sys/socket.h>
9163
#include <$ac_header>
9165
rm -f conftest.$ac_objext
9166
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9167
(eval $ac_compile) 2>conftest.er1
9169
grep -v '^ *+' conftest.er1 >conftest.err
9171
cat conftest.err >&5
9172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173
(exit $ac_status); } &&
9174
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9175
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9179
(exit $ac_status); }; } &&
9180
{ ac_try='test -s conftest.$ac_objext'
9181
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9185
(exit $ac_status); }; }; then
9186
eval "$as_ac_Header=yes"
9188
echo "$as_me: failed program was:" >&5
9189
sed 's/^/| /' conftest.$ac_ext >&5
9191
eval "$as_ac_Header=no"
9193
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9195
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9196
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9197
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9198
cat >>confdefs.h <<_ACEOF
9199
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9207
for ac_header in net/if6.h
9209
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9210
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9211
echo "$as_me:$LINENO: checking for $ac_header" >&5
9212
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9213
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9214
echo $ECHO_N "(cached) $ECHO_C" >&6
9216
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9217
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9219
# Is the header compilable?
9220
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9221
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9222
cat >conftest.$ac_ext <<_ACEOF
9225
cat confdefs.h >>conftest.$ac_ext
9226
cat >>conftest.$ac_ext <<_ACEOF
9227
/* end confdefs.h. */
9228
$ac_includes_default
9229
#include <$ac_header>
9231
rm -f conftest.$ac_objext
9232
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9233
(eval $ac_compile) 2>conftest.er1
9235
grep -v '^ *+' conftest.er1 >conftest.err
9237
cat conftest.err >&5
9238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239
(exit $ac_status); } &&
9240
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9241
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9244
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245
(exit $ac_status); }; } &&
9246
{ ac_try='test -s conftest.$ac_objext'
9247
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251
(exit $ac_status); }; }; then
9252
ac_header_compiler=yes
9254
echo "$as_me: failed program was:" >&5
9255
sed 's/^/| /' conftest.$ac_ext >&5
9257
ac_header_compiler=no
9259
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9260
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9261
echo "${ECHO_T}$ac_header_compiler" >&6
9263
# Is the header present?
9264
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9265
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9266
cat >conftest.$ac_ext <<_ACEOF
9269
cat confdefs.h >>conftest.$ac_ext
9270
cat >>conftest.$ac_ext <<_ACEOF
9271
/* end confdefs.h. */
9272
#include <$ac_header>
9274
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9275
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9277
grep -v '^ *+' conftest.er1 >conftest.err
9279
cat conftest.err >&5
9280
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281
(exit $ac_status); } >/dev/null; then
9282
if test -s conftest.err; then
9283
ac_cpp_err=$ac_c_preproc_warn_flag
9284
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9291
if test -z "$ac_cpp_err"; then
9292
ac_header_preproc=yes
9294
echo "$as_me: failed program was:" >&5
9295
sed 's/^/| /' conftest.$ac_ext >&5
9297
ac_header_preproc=no
9299
rm -f conftest.err conftest.$ac_ext
9300
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9301
echo "${ECHO_T}$ac_header_preproc" >&6
9303
# So? What about this header?
9304
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9306
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9307
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9308
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9309
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9310
ac_header_preproc=yes
9313
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9314
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9315
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9316
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9317
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9318
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9319
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9320
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9321
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9322
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9323
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9324
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9327
## ------------------------------ ##
9328
## Report this to the ntp lists. ##
9329
## ------------------------------ ##
9332
sed "s/^/$as_me: WARNING: /" >&2
9335
echo "$as_me:$LINENO: checking for $ac_header" >&5
9336
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9337
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9338
echo $ECHO_N "(cached) $ECHO_C" >&6
9340
eval "$as_ac_Header=\$ac_header_preproc"
9342
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9343
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9346
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9347
cat >>confdefs.h <<_ACEOF
9348
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9357
for ac_header in netinet/in_system.h netinet/in_systm.h
9359
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9360
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9361
echo "$as_me:$LINENO: checking for $ac_header" >&5
9362
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9363
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9364
echo $ECHO_N "(cached) $ECHO_C" >&6
9366
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9367
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9369
# Is the header compilable?
9370
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9371
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9372
cat >conftest.$ac_ext <<_ACEOF
9375
cat confdefs.h >>conftest.$ac_ext
9376
cat >>conftest.$ac_ext <<_ACEOF
9377
/* end confdefs.h. */
9378
$ac_includes_default
9379
#include <$ac_header>
9381
rm -f conftest.$ac_objext
9382
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9383
(eval $ac_compile) 2>conftest.er1
9385
grep -v '^ *+' conftest.er1 >conftest.err
9387
cat conftest.err >&5
9388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389
(exit $ac_status); } &&
9390
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395
(exit $ac_status); }; } &&
9396
{ ac_try='test -s conftest.$ac_objext'
9397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401
(exit $ac_status); }; }; then
9402
ac_header_compiler=yes
9404
echo "$as_me: failed program was:" >&5
9405
sed 's/^/| /' conftest.$ac_ext >&5
9407
ac_header_compiler=no
9409
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9410
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9411
echo "${ECHO_T}$ac_header_compiler" >&6
9413
# Is the header present?
9414
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9415
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9416
cat >conftest.$ac_ext <<_ACEOF
9419
cat confdefs.h >>conftest.$ac_ext
9420
cat >>conftest.$ac_ext <<_ACEOF
9421
/* end confdefs.h. */
9422
#include <$ac_header>
9424
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9425
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9427
grep -v '^ *+' conftest.er1 >conftest.err
9429
cat conftest.err >&5
9430
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431
(exit $ac_status); } >/dev/null; then
9432
if test -s conftest.err; then
9433
ac_cpp_err=$ac_c_preproc_warn_flag
9434
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9441
if test -z "$ac_cpp_err"; then
9442
ac_header_preproc=yes
9444
echo "$as_me: failed program was:" >&5
9445
sed 's/^/| /' conftest.$ac_ext >&5
9447
ac_header_preproc=no
9449
rm -f conftest.err conftest.$ac_ext
9450
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9451
echo "${ECHO_T}$ac_header_preproc" >&6
9453
# So? What about this header?
9454
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9456
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9457
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9458
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9459
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9460
ac_header_preproc=yes
9463
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9464
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9465
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9466
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9467
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9468
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9469
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9470
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9471
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9472
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9473
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9474
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9477
## ------------------------------ ##
9478
## Report this to the ntp lists. ##
9479
## ------------------------------ ##
9482
sed "s/^/$as_me: WARNING: /" >&2
9485
echo "$as_me:$LINENO: checking for $ac_header" >&5
9486
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9487
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9488
echo $ECHO_N "(cached) $ECHO_C" >&6
9490
eval "$as_ac_Header=\$ac_header_preproc"
9492
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9493
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9496
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9497
cat >>confdefs.h <<_ACEOF
9498
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9506
for ac_header in netinet/in.h
9508
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9509
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9510
echo "$as_me:$LINENO: checking for $ac_header" >&5
9511
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9512
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9513
echo $ECHO_N "(cached) $ECHO_C" >&6
9515
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9516
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9518
# Is the header compilable?
9519
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9520
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9521
cat >conftest.$ac_ext <<_ACEOF
9524
cat confdefs.h >>conftest.$ac_ext
9525
cat >>conftest.$ac_ext <<_ACEOF
9526
/* end confdefs.h. */
9527
$ac_includes_default
9528
#include <$ac_header>
9530
rm -f conftest.$ac_objext
9531
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9532
(eval $ac_compile) 2>conftest.er1
9534
grep -v '^ *+' conftest.er1 >conftest.err
9536
cat conftest.err >&5
9537
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538
(exit $ac_status); } &&
9539
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9540
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544
(exit $ac_status); }; } &&
9545
{ ac_try='test -s conftest.$ac_objext'
9546
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550
(exit $ac_status); }; }; then
9551
ac_header_compiler=yes
9553
echo "$as_me: failed program was:" >&5
9554
sed 's/^/| /' conftest.$ac_ext >&5
9556
ac_header_compiler=no
9558
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9559
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9560
echo "${ECHO_T}$ac_header_compiler" >&6
9562
# Is the header present?
9563
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9564
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9565
cat >conftest.$ac_ext <<_ACEOF
9568
cat confdefs.h >>conftest.$ac_ext
9569
cat >>conftest.$ac_ext <<_ACEOF
9570
/* end confdefs.h. */
9571
#include <$ac_header>
9573
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9574
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9576
grep -v '^ *+' conftest.er1 >conftest.err
9578
cat conftest.err >&5
9579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580
(exit $ac_status); } >/dev/null; then
9581
if test -s conftest.err; then
9582
ac_cpp_err=$ac_c_preproc_warn_flag
9583
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9590
if test -z "$ac_cpp_err"; then
9591
ac_header_preproc=yes
9593
echo "$as_me: failed program was:" >&5
9594
sed 's/^/| /' conftest.$ac_ext >&5
9596
ac_header_preproc=no
9598
rm -f conftest.err conftest.$ac_ext
9599
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9600
echo "${ECHO_T}$ac_header_preproc" >&6
9602
# So? What about this header?
9603
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9605
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9606
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9607
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9608
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9609
ac_header_preproc=yes
9612
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9613
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9614
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9615
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9616
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9617
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9618
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9619
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9620
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9621
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9622
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9623
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9626
## ------------------------------ ##
9627
## Report this to the ntp lists. ##
9628
## ------------------------------ ##
9631
sed "s/^/$as_me: WARNING: /" >&2
9634
echo "$as_me:$LINENO: checking for $ac_header" >&5
9635
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9636
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9637
echo $ECHO_N "(cached) $ECHO_C" >&6
9639
eval "$as_ac_Header=\$ac_header_preproc"
9641
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9642
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9645
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9646
cat >>confdefs.h <<_ACEOF
9647
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9655
for ac_header in netinet/ip.h
9657
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9658
echo "$as_me:$LINENO: checking for $ac_header" >&5
9659
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9660
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9661
echo $ECHO_N "(cached) $ECHO_C" >&6
9663
cat >conftest.$ac_ext <<_ACEOF
9666
cat confdefs.h >>conftest.$ac_ext
9667
cat >>conftest.$ac_ext <<_ACEOF
9668
/* end confdefs.h. */
9669
#if HAVE_SYS_TYPES_H
9670
#include <sys/types.h>
9672
#if HAVE_NETINET_IN_H
9673
#include <netinet/in.h>
9675
#if HAVE_NETINET_IN_SYSTM_H
9676
#include <netinet/in_systm.h>
9680
#include <$ac_header>
9682
rm -f conftest.$ac_objext
9683
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9684
(eval $ac_compile) 2>conftest.er1
9686
grep -v '^ *+' conftest.er1 >conftest.err
9688
cat conftest.err >&5
9689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9690
(exit $ac_status); } &&
9691
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9692
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9695
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9696
(exit $ac_status); }; } &&
9697
{ ac_try='test -s conftest.$ac_objext'
9698
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9701
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9702
(exit $ac_status); }; }; then
9703
eval "$as_ac_Header=yes"
9705
echo "$as_me: failed program was:" >&5
9706
sed 's/^/| /' conftest.$ac_ext >&5
9708
eval "$as_ac_Header=no"
9710
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9712
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9713
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9714
if test `eval echo '${'$as_ac_Header'}'` = yes; then
9715
cat >>confdefs.h <<_ACEOF
9716
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4483
9724
for ac_header in netinfo/ni.h
4485
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4486
echo "$as_me:4486: checking for $ac_header" >&5
9726
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9727
if eval "test \"\${$as_ac_Header+set}\" = set"; then
9728
echo "$as_me:$LINENO: checking for $ac_header" >&5
4487
9729
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4488
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
9730
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4489
9731
echo $ECHO_N "(cached) $ECHO_C" >&6
4491
cat >conftest.$ac_ext <<_ACEOF
4492
#line 4492 "configure"
4493
#include "confdefs.h"
4494
#include <$ac_header>
4496
if { (eval echo "$as_me:4496: \"$ac_cpp conftest.$ac_ext\"") >&5
9733
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9734
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9736
# Is the header compilable?
9737
echo "$as_me:$LINENO: checking $ac_header usability" >&5
9738
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9739
cat >conftest.$ac_ext <<_ACEOF
9742
cat confdefs.h >>conftest.$ac_ext
9743
cat >>conftest.$ac_ext <<_ACEOF
9744
/* end confdefs.h. */
9745
$ac_includes_default
9746
#include <$ac_header>
9748
rm -f conftest.$ac_objext
9749
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9750
(eval $ac_compile) 2>conftest.er1
9752
grep -v '^ *+' conftest.er1 >conftest.err
9754
cat conftest.err >&5
9755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756
(exit $ac_status); } &&
9757
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9758
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762
(exit $ac_status); }; } &&
9763
{ ac_try='test -s conftest.$ac_objext'
9764
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9767
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768
(exit $ac_status); }; }; then
9769
ac_header_compiler=yes
9771
echo "$as_me: failed program was:" >&5
9772
sed 's/^/| /' conftest.$ac_ext >&5
9774
ac_header_compiler=no
9776
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9777
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9778
echo "${ECHO_T}$ac_header_compiler" >&6
9780
# Is the header present?
9781
echo "$as_me:$LINENO: checking $ac_header presence" >&5
9782
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9783
cat >conftest.$ac_ext <<_ACEOF
9786
cat confdefs.h >>conftest.$ac_ext
9787
cat >>conftest.$ac_ext <<_ACEOF
9788
/* end confdefs.h. */
9789
#include <$ac_header>
9791
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4497
9792
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4499
egrep -v '^ *\+' conftest.er1 >conftest.err
9794
grep -v '^ *+' conftest.er1 >conftest.err
4500
9795
rm -f conftest.er1
4501
9796
cat conftest.err >&5
4502
echo "$as_me:4502: \$? = $ac_status" >&5
9797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503
9798
(exit $ac_status); } >/dev/null; then
4504
9799
if test -s conftest.err; then
4505
9800
ac_cpp_err=$ac_c_preproc_warn_flag
9801
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4759
10718
ac_cpp_err=yes
4761
10720
if test -z "$ac_cpp_err"; then
4762
eval "$ac_ac_Header=yes"
10721
ac_header_preproc=yes
4764
10723
echo "$as_me: failed program was:" >&5
4765
cat conftest.$ac_ext >&5
4766
eval "$ac_ac_Header=no"
10724
sed 's/^/| /' conftest.$ac_ext >&5
10726
ac_header_preproc=no
4768
10728
rm -f conftest.err conftest.$ac_ext
4770
echo "$as_me:4770: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4771
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4772
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4773
cat >>confdefs.h <<EOF
4774
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
10729
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10730
echo "${ECHO_T}$ac_header_preproc" >&6
10732
# So? What about this header?
10733
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10735
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10736
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10737
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10738
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10739
ac_header_preproc=yes
10742
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10743
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10744
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10745
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10746
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10747
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10748
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10749
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10750
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10751
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10752
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10753
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10756
## ------------------------------ ##
10757
## Report this to the ntp lists. ##
10758
## ------------------------------ ##
10761
sed "s/^/$as_me: WARNING: /" >&2
10764
echo "$as_me:$LINENO: checking for $ac_header" >&5
10765
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10766
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10767
echo $ECHO_N "(cached) $ECHO_C" >&6
10769
eval "$as_ac_Header=\$ac_header_preproc"
10771
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10772
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10775
if test `eval echo '${'$as_ac_Header'}'` = yes; then
10776
cat >>confdefs.h <<_ACEOF
10777
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4783
10787
for ac_header in sys/sio.h
4785
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4786
echo "$as_me:4786: checking for $ac_header" >&5
4787
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4788
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4789
echo $ECHO_N "(cached) $ECHO_C" >&6
4791
cat >conftest.$ac_ext <<_ACEOF
4792
#line 4792 "configure"
4793
#include "confdefs.h"
4794
#include <$ac_header>
4796
if { (eval echo "$as_me:4796: \"$ac_cpp conftest.$ac_ext\"") >&5
4797
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4799
egrep -v '^ *\+' conftest.er1 >conftest.err
4801
cat conftest.err >&5
4802
echo "$as_me:4802: \$? = $ac_status" >&5
4803
(exit $ac_status); } >/dev/null; then
4804
if test -s conftest.err; then
4805
ac_cpp_err=$ac_c_preproc_warn_flag
4812
if test -z "$ac_cpp_err"; then
4813
eval "$ac_ac_Header=yes"
4815
echo "$as_me: failed program was:" >&5
4816
cat conftest.$ac_ext >&5
4817
eval "$ac_ac_Header=no"
4819
rm -f conftest.err conftest.$ac_ext
4821
echo "$as_me:4821: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4822
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4823
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4824
cat >>confdefs.h <<EOF
4825
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4834
for ac_header in sys/select.h sys/sockio.h sys/stat.h sys/stream.h
4836
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4837
echo "$as_me:4837: checking for $ac_header" >&5
4838
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4839
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4840
echo $ECHO_N "(cached) $ECHO_C" >&6
4842
cat >conftest.$ac_ext <<_ACEOF
4843
#line 4843 "configure"
4844
#include "confdefs.h"
4845
#include <$ac_header>
4847
if { (eval echo "$as_me:4847: \"$ac_cpp conftest.$ac_ext\"") >&5
4848
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4850
egrep -v '^ *\+' conftest.er1 >conftest.err
4852
cat conftest.err >&5
4853
echo "$as_me:4853: \$? = $ac_status" >&5
4854
(exit $ac_status); } >/dev/null; then
4855
if test -s conftest.err; then
4856
ac_cpp_err=$ac_c_preproc_warn_flag
4863
if test -z "$ac_cpp_err"; then
4864
eval "$ac_ac_Header=yes"
4866
echo "$as_me: failed program was:" >&5
4867
cat conftest.$ac_ext >&5
4868
eval "$ac_ac_Header=no"
4870
rm -f conftest.err conftest.$ac_ext
4872
echo "$as_me:4872: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4873
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4874
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4875
cat >>confdefs.h <<EOF
4876
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4882
for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/termios.h
4884
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4885
echo "$as_me:4885: checking for $ac_header" >&5
4886
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4887
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4888
echo $ECHO_N "(cached) $ECHO_C" >&6
4890
cat >conftest.$ac_ext <<_ACEOF
4891
#line 4891 "configure"
4892
#include "confdefs.h"
4893
#include <$ac_header>
4895
if { (eval echo "$as_me:4895: \"$ac_cpp conftest.$ac_ext\"") >&5
4896
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4898
egrep -v '^ *\+' conftest.er1 >conftest.err
4900
cat conftest.err >&5
4901
echo "$as_me:4901: \$? = $ac_status" >&5
4902
(exit $ac_status); } >/dev/null; then
4903
if test -s conftest.err; then
4904
ac_cpp_err=$ac_c_preproc_warn_flag
4911
if test -z "$ac_cpp_err"; then
4912
eval "$ac_ac_Header=yes"
4914
echo "$as_me: failed program was:" >&5
4915
cat conftest.$ac_ext >&5
4916
eval "$ac_ac_Header=no"
4918
rm -f conftest.err conftest.$ac_ext
4920
echo "$as_me:4920: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4921
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4922
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4923
cat >>confdefs.h <<EOF
4924
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4930
for ac_header in sys/time.h
4932
ac_ac_Header=`echo "ac_cv_header_$ac_header" | $ac_tr_sh`
4933
echo "$as_me:4933: checking for $ac_header" >&5
4934
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4935
if eval "test \"\${$ac_ac_Header+set}\" = set"; then
4936
echo $ECHO_N "(cached) $ECHO_C" >&6
4938
cat >conftest.$ac_ext <<_ACEOF
4939
#line 4939 "configure"
4940
#include "confdefs.h"
4941
#include <$ac_header>
4943
if { (eval echo "$as_me:4943: \"$ac_cpp conftest.$ac_ext\"") >&5
4944
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4946
egrep -v '^ *\+' conftest.er1 >conftest.err
4948
cat conftest.err >&5
4949
echo "$as_me:4949: \$? = $ac_status" >&5
4950
(exit $ac_status); } >/dev/null; then
4951
if test -s conftest.err; then
4952
ac_cpp_err=$ac_c_preproc_warn_flag
4959
if test -z "$ac_cpp_err"; then
4960
eval "$ac_ac_Header=yes"
4962
echo "$as_me: failed program was:" >&5
4963
cat conftest.$ac_ext >&5
4964
eval "$ac_ac_Header=no"
4966
rm -f conftest.err conftest.$ac_ext
4968
echo "$as_me:4968: result: `eval echo '${'$ac_ac_Header'}'`" >&5
4969
echo "${ECHO_T}`eval echo '${'$ac_ac_Header'}'`" >&6
4970
if test `eval echo '${'$ac_ac_Header'}'` = yes; then
4971
cat >>confdefs.h <<EOF
4972
#define `echo "HAVE_$ac_header" | $ac_tr_cpp` 1
4978
cat >conftest.$ac_ext <<_ACEOF
4979
#line 4979 "configure"
4980
#include "confdefs.h"
10789
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10790
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10791
echo "$as_me:$LINENO: checking for $ac_header" >&5
10792
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10793
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10794
echo $ECHO_N "(cached) $ECHO_C" >&6
10796
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10797
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10799
# Is the header compilable?
10800
echo "$as_me:$LINENO: checking $ac_header usability" >&5
10801
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10802
cat >conftest.$ac_ext <<_ACEOF
10805
cat confdefs.h >>conftest.$ac_ext
10806
cat >>conftest.$ac_ext <<_ACEOF
10807
/* end confdefs.h. */
10808
$ac_includes_default
10809
#include <$ac_header>
10811
rm -f conftest.$ac_objext
10812
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10813
(eval $ac_compile) 2>conftest.er1
10815
grep -v '^ *+' conftest.er1 >conftest.err
10817
cat conftest.err >&5
10818
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10819
(exit $ac_status); } &&
10820
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10821
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10822
(eval $ac_try) 2>&5
10824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10825
(exit $ac_status); }; } &&
10826
{ ac_try='test -s conftest.$ac_objext'
10827
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10828
(eval $ac_try) 2>&5
10830
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831
(exit $ac_status); }; }; then
10832
ac_header_compiler=yes
10834
echo "$as_me: failed program was:" >&5
10835
sed 's/^/| /' conftest.$ac_ext >&5
10837
ac_header_compiler=no
10839
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10840
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10841
echo "${ECHO_T}$ac_header_compiler" >&6
10843
# Is the header present?
10844
echo "$as_me:$LINENO: checking $ac_header presence" >&5
10845
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10846
cat >conftest.$ac_ext <<_ACEOF
10849
cat confdefs.h >>conftest.$ac_ext
10850
cat >>conftest.$ac_ext <<_ACEOF
10851
/* end confdefs.h. */
10852
#include <$ac_header>
10854
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10855
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10857
grep -v '^ *+' conftest.er1 >conftest.err
10859
cat conftest.err >&5
10860
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861
(exit $ac_status); } >/dev/null; then
10862
if test -s conftest.err; then
10863
ac_cpp_err=$ac_c_preproc_warn_flag
10864
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10871
if test -z "$ac_cpp_err"; then
10872
ac_header_preproc=yes
10874
echo "$as_me: failed program was:" >&5
10875
sed 's/^/| /' conftest.$ac_ext >&5
10877
ac_header_preproc=no
10879
rm -f conftest.err conftest.$ac_ext
10880
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10881
echo "${ECHO_T}$ac_header_preproc" >&6
10883
# So? What about this header?
10884
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10886
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10887
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10888
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10889
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10890
ac_header_preproc=yes
10893
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10894
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10895
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10896
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10897
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10898
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10899
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10900
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10901
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10902
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10903
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10904
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10907
## ------------------------------ ##
10908
## Report this to the ntp lists. ##
10909
## ------------------------------ ##
10912
sed "s/^/$as_me: WARNING: /" >&2
10915
echo "$as_me:$LINENO: checking for $ac_header" >&5
10916
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10917
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10918
echo $ECHO_N "(cached) $ECHO_C" >&6
10920
eval "$as_ac_Header=\$ac_header_preproc"
10922
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10923
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10926
if test `eval echo '${'$as_ac_Header'}'` = yes; then
10927
cat >>confdefs.h <<_ACEOF
10928
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10941
for ac_header in sys/select.h sys/shm.h sys/signal.h sys/sockio.h
10943
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10944
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10945
echo "$as_me:$LINENO: checking for $ac_header" >&5
10946
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10947
if eval "test \"\${$as_ac_Header+set}\" = set"; then
10948
echo $ECHO_N "(cached) $ECHO_C" >&6
10950
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10951
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10953
# Is the header compilable?
10954
echo "$as_me:$LINENO: checking $ac_header usability" >&5
10955
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10956
cat >conftest.$ac_ext <<_ACEOF
10959
cat confdefs.h >>conftest.$ac_ext
10960
cat >>conftest.$ac_ext <<_ACEOF
10961
/* end confdefs.h. */
10962
$ac_includes_default
10963
#include <$ac_header>
10965
rm -f conftest.$ac_objext
10966
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10967
(eval $ac_compile) 2>conftest.er1
10969
grep -v '^ *+' conftest.er1 >conftest.err
10971
cat conftest.err >&5
10972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973
(exit $ac_status); } &&
10974
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976
(eval $ac_try) 2>&5
10978
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979
(exit $ac_status); }; } &&
10980
{ ac_try='test -s conftest.$ac_objext'
10981
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982
(eval $ac_try) 2>&5
10984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985
(exit $ac_status); }; }; then
10986
ac_header_compiler=yes
10988
echo "$as_me: failed program was:" >&5
10989
sed 's/^/| /' conftest.$ac_ext >&5
10991
ac_header_compiler=no
10993
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10994
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10995
echo "${ECHO_T}$ac_header_compiler" >&6
10997
# Is the header present?
10998
echo "$as_me:$LINENO: checking $ac_header presence" >&5
10999
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11000
cat >conftest.$ac_ext <<_ACEOF
11003
cat confdefs.h >>conftest.$ac_ext
11004
cat >>conftest.$ac_ext <<_ACEOF
11005
/* end confdefs.h. */
11006
#include <$ac_header>
11008
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11009
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11011
grep -v '^ *+' conftest.er1 >conftest.err
11013
cat conftest.err >&5
11014
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015
(exit $ac_status); } >/dev/null; then
11016
if test -s conftest.err; then
11017
ac_cpp_err=$ac_c_preproc_warn_flag
11018
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11025
if test -z "$ac_cpp_err"; then
11026
ac_header_preproc=yes
11028
echo "$as_me: failed program was:" >&5
11029
sed 's/^/| /' conftest.$ac_ext >&5
11031
ac_header_preproc=no
11033
rm -f conftest.err conftest.$ac_ext
11034
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11035
echo "${ECHO_T}$ac_header_preproc" >&6
11037
# So? What about this header?
11038
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11040
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11041
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11042
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11043
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11044
ac_header_preproc=yes
11047
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11048
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11049
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11050
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11051
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11052
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11053
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11054
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11055
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11056
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11057
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11058
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11061
## ------------------------------ ##
11062
## Report this to the ntp lists. ##
11063
## ------------------------------ ##
11066
sed "s/^/$as_me: WARNING: /" >&2
11069
echo "$as_me:$LINENO: checking for $ac_header" >&5
11070
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11071
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11072
echo $ECHO_N "(cached) $ECHO_C" >&6
11074
eval "$as_ac_Header=\$ac_header_preproc"
11076
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11077
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11080
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11081
cat >>confdefs.h <<_ACEOF
11082
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11093
for ac_header in machine/soundcard.h sys/soundcard.h
11095
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11096
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11097
echo "$as_me:$LINENO: checking for $ac_header" >&5
11098
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11099
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11100
echo $ECHO_N "(cached) $ECHO_C" >&6
11102
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11103
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11105
# Is the header compilable?
11106
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11107
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11108
cat >conftest.$ac_ext <<_ACEOF
11111
cat confdefs.h >>conftest.$ac_ext
11112
cat >>conftest.$ac_ext <<_ACEOF
11113
/* end confdefs.h. */
11114
$ac_includes_default
11115
#include <$ac_header>
11117
rm -f conftest.$ac_objext
11118
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119
(eval $ac_compile) 2>conftest.er1
11121
grep -v '^ *+' conftest.er1 >conftest.err
11123
cat conftest.err >&5
11124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125
(exit $ac_status); } &&
11126
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11127
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11128
(eval $ac_try) 2>&5
11130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11131
(exit $ac_status); }; } &&
11132
{ ac_try='test -s conftest.$ac_objext'
11133
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11134
(eval $ac_try) 2>&5
11136
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137
(exit $ac_status); }; }; then
11138
ac_header_compiler=yes
11140
echo "$as_me: failed program was:" >&5
11141
sed 's/^/| /' conftest.$ac_ext >&5
11143
ac_header_compiler=no
11145
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11146
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11147
echo "${ECHO_T}$ac_header_compiler" >&6
11149
# Is the header present?
11150
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11151
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11152
cat >conftest.$ac_ext <<_ACEOF
11155
cat confdefs.h >>conftest.$ac_ext
11156
cat >>conftest.$ac_ext <<_ACEOF
11157
/* end confdefs.h. */
11158
#include <$ac_header>
11160
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11161
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11163
grep -v '^ *+' conftest.er1 >conftest.err
11165
cat conftest.err >&5
11166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167
(exit $ac_status); } >/dev/null; then
11168
if test -s conftest.err; then
11169
ac_cpp_err=$ac_c_preproc_warn_flag
11170
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11177
if test -z "$ac_cpp_err"; then
11178
ac_header_preproc=yes
11180
echo "$as_me: failed program was:" >&5
11181
sed 's/^/| /' conftest.$ac_ext >&5
11183
ac_header_preproc=no
11185
rm -f conftest.err conftest.$ac_ext
11186
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11187
echo "${ECHO_T}$ac_header_preproc" >&6
11189
# So? What about this header?
11190
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11192
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11193
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11194
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11195
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11196
ac_header_preproc=yes
11199
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11200
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11201
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11202
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11203
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11204
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11205
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11206
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11207
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11208
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11209
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11210
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11213
## ------------------------------ ##
11214
## Report this to the ntp lists. ##
11215
## ------------------------------ ##
11218
sed "s/^/$as_me: WARNING: /" >&2
11221
echo "$as_me:$LINENO: checking for $ac_header" >&5
11222
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11223
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11224
echo $ECHO_N "(cached) $ECHO_C" >&6
11226
eval "$as_ac_Header=\$ac_header_preproc"
11228
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11229
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11232
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11233
cat >>confdefs.h <<_ACEOF
11234
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11245
for ac_header in sys/stat.h sys/stream.h
11247
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11249
echo "$as_me:$LINENO: checking for $ac_header" >&5
11250
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11251
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11252
echo $ECHO_N "(cached) $ECHO_C" >&6
11254
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11255
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11257
# Is the header compilable?
11258
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11259
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11260
cat >conftest.$ac_ext <<_ACEOF
11263
cat confdefs.h >>conftest.$ac_ext
11264
cat >>conftest.$ac_ext <<_ACEOF
11265
/* end confdefs.h. */
11266
$ac_includes_default
11267
#include <$ac_header>
11269
rm -f conftest.$ac_objext
11270
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11271
(eval $ac_compile) 2>conftest.er1
11273
grep -v '^ *+' conftest.er1 >conftest.err
11275
cat conftest.err >&5
11276
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277
(exit $ac_status); } &&
11278
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11279
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11280
(eval $ac_try) 2>&5
11282
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283
(exit $ac_status); }; } &&
11284
{ ac_try='test -s conftest.$ac_objext'
11285
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286
(eval $ac_try) 2>&5
11288
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289
(exit $ac_status); }; }; then
11290
ac_header_compiler=yes
11292
echo "$as_me: failed program was:" >&5
11293
sed 's/^/| /' conftest.$ac_ext >&5
11295
ac_header_compiler=no
11297
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11298
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11299
echo "${ECHO_T}$ac_header_compiler" >&6
11301
# Is the header present?
11302
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11303
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11304
cat >conftest.$ac_ext <<_ACEOF
11307
cat confdefs.h >>conftest.$ac_ext
11308
cat >>conftest.$ac_ext <<_ACEOF
11309
/* end confdefs.h. */
11310
#include <$ac_header>
11312
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11313
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11315
grep -v '^ *+' conftest.er1 >conftest.err
11317
cat conftest.err >&5
11318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11319
(exit $ac_status); } >/dev/null; then
11320
if test -s conftest.err; then
11321
ac_cpp_err=$ac_c_preproc_warn_flag
11322
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11329
if test -z "$ac_cpp_err"; then
11330
ac_header_preproc=yes
11332
echo "$as_me: failed program was:" >&5
11333
sed 's/^/| /' conftest.$ac_ext >&5
11335
ac_header_preproc=no
11337
rm -f conftest.err conftest.$ac_ext
11338
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11339
echo "${ECHO_T}$ac_header_preproc" >&6
11341
# So? What about this header?
11342
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11344
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11345
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11346
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11347
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11348
ac_header_preproc=yes
11351
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11352
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11353
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11354
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11355
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11356
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11357
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11358
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11359
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11360
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11361
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11362
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11365
## ------------------------------ ##
11366
## Report this to the ntp lists. ##
11367
## ------------------------------ ##
11370
sed "s/^/$as_me: WARNING: /" >&2
11373
echo "$as_me:$LINENO: checking for $ac_header" >&5
11374
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11375
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11376
echo $ECHO_N "(cached) $ECHO_C" >&6
11378
eval "$as_ac_Header=\$ac_header_preproc"
11380
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11381
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11384
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11385
cat >>confdefs.h <<_ACEOF
11386
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11397
for ac_header in sys/stropts.h sys/sysctl.h sys/syssgi.h sys/systune.h
11399
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11401
echo "$as_me:$LINENO: checking for $ac_header" >&5
11402
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11403
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11404
echo $ECHO_N "(cached) $ECHO_C" >&6
11406
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11407
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11409
# Is the header compilable?
11410
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11411
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11412
cat >conftest.$ac_ext <<_ACEOF
11415
cat confdefs.h >>conftest.$ac_ext
11416
cat >>conftest.$ac_ext <<_ACEOF
11417
/* end confdefs.h. */
11418
$ac_includes_default
11419
#include <$ac_header>
11421
rm -f conftest.$ac_objext
11422
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11423
(eval $ac_compile) 2>conftest.er1
11425
grep -v '^ *+' conftest.er1 >conftest.err
11427
cat conftest.err >&5
11428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429
(exit $ac_status); } &&
11430
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432
(eval $ac_try) 2>&5
11434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435
(exit $ac_status); }; } &&
11436
{ ac_try='test -s conftest.$ac_objext'
11437
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438
(eval $ac_try) 2>&5
11440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441
(exit $ac_status); }; }; then
11442
ac_header_compiler=yes
11444
echo "$as_me: failed program was:" >&5
11445
sed 's/^/| /' conftest.$ac_ext >&5
11447
ac_header_compiler=no
11449
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11450
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11451
echo "${ECHO_T}$ac_header_compiler" >&6
11453
# Is the header present?
11454
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11455
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11456
cat >conftest.$ac_ext <<_ACEOF
11459
cat confdefs.h >>conftest.$ac_ext
11460
cat >>conftest.$ac_ext <<_ACEOF
11461
/* end confdefs.h. */
11462
#include <$ac_header>
11464
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11465
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11467
grep -v '^ *+' conftest.er1 >conftest.err
11469
cat conftest.err >&5
11470
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471
(exit $ac_status); } >/dev/null; then
11472
if test -s conftest.err; then
11473
ac_cpp_err=$ac_c_preproc_warn_flag
11474
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11481
if test -z "$ac_cpp_err"; then
11482
ac_header_preproc=yes
11484
echo "$as_me: failed program was:" >&5
11485
sed 's/^/| /' conftest.$ac_ext >&5
11487
ac_header_preproc=no
11489
rm -f conftest.err conftest.$ac_ext
11490
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11491
echo "${ECHO_T}$ac_header_preproc" >&6
11493
# So? What about this header?
11494
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11496
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11497
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11498
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11499
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11500
ac_header_preproc=yes
11503
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11504
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11505
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11506
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11507
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11508
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11509
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11510
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11511
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11512
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11513
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11514
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11517
## ------------------------------ ##
11518
## Report this to the ntp lists. ##
11519
## ------------------------------ ##
11522
sed "s/^/$as_me: WARNING: /" >&2
11525
echo "$as_me:$LINENO: checking for $ac_header" >&5
11526
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11527
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11528
echo $ECHO_N "(cached) $ECHO_C" >&6
11530
eval "$as_ac_Header=\$ac_header_preproc"
11532
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11533
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11536
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11537
cat >>confdefs.h <<_ACEOF
11538
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11548
for ac_header in sys/termios.h sys/time.h sys/signal.h
11550
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11551
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11552
echo "$as_me:$LINENO: checking for $ac_header" >&5
11553
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11554
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11555
echo $ECHO_N "(cached) $ECHO_C" >&6
11557
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11558
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11560
# Is the header compilable?
11561
echo "$as_me:$LINENO: checking $ac_header usability" >&5
11562
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11563
cat >conftest.$ac_ext <<_ACEOF
11566
cat confdefs.h >>conftest.$ac_ext
11567
cat >>conftest.$ac_ext <<_ACEOF
11568
/* end confdefs.h. */
11569
$ac_includes_default
11570
#include <$ac_header>
11572
rm -f conftest.$ac_objext
11573
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11574
(eval $ac_compile) 2>conftest.er1
11576
grep -v '^ *+' conftest.er1 >conftest.err
11578
cat conftest.err >&5
11579
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580
(exit $ac_status); } &&
11581
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11582
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11583
(eval $ac_try) 2>&5
11585
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586
(exit $ac_status); }; } &&
11587
{ ac_try='test -s conftest.$ac_objext'
11588
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11589
(eval $ac_try) 2>&5
11591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592
(exit $ac_status); }; }; then
11593
ac_header_compiler=yes
11595
echo "$as_me: failed program was:" >&5
11596
sed 's/^/| /' conftest.$ac_ext >&5
11598
ac_header_compiler=no
11600
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11601
echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11602
echo "${ECHO_T}$ac_header_compiler" >&6
11604
# Is the header present?
11605
echo "$as_me:$LINENO: checking $ac_header presence" >&5
11606
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11607
cat >conftest.$ac_ext <<_ACEOF
11610
cat confdefs.h >>conftest.$ac_ext
11611
cat >>conftest.$ac_ext <<_ACEOF
11612
/* end confdefs.h. */
11613
#include <$ac_header>
11615
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11616
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11618
grep -v '^ *+' conftest.er1 >conftest.err
11620
cat conftest.err >&5
11621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622
(exit $ac_status); } >/dev/null; then
11623
if test -s conftest.err; then
11624
ac_cpp_err=$ac_c_preproc_warn_flag
11625
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11632
if test -z "$ac_cpp_err"; then
11633
ac_header_preproc=yes
11635
echo "$as_me: failed program was:" >&5
11636
sed 's/^/| /' conftest.$ac_ext >&5
11638
ac_header_preproc=no
11640
rm -f conftest.err conftest.$ac_ext
11641
echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11642
echo "${ECHO_T}$ac_header_preproc" >&6
11644
# So? What about this header?
11645
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11647
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11648
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11649
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11650
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11651
ac_header_preproc=yes
11654
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11655
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11656
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11657
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11658
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11659
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11660
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11661
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11662
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11663
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11664
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11665
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11668
## ------------------------------ ##
11669
## Report this to the ntp lists. ##
11670
## ------------------------------ ##
11673
sed "s/^/$as_me: WARNING: /" >&2
11676
echo "$as_me:$LINENO: checking for $ac_header" >&5
11677
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11678
if eval "test \"\${$as_ac_Header+set}\" = set"; then
11679
echo $ECHO_N "(cached) $ECHO_C" >&6
11681
eval "$as_ac_Header=\$ac_header_preproc"
11683
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11684
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11687
if test `eval echo '${'$as_ac_Header'}'` = yes; then
11688
cat >>confdefs.h <<_ACEOF
11689
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11696
cat >conftest.$ac_ext <<_ACEOF
11699
cat confdefs.h >>conftest.$ac_ext
11700
cat >>conftest.$ac_ext <<_ACEOF
11701
/* end confdefs.h. */
4981
11702
#include <sys/timepps.h>
4982
11703
#ifdef PPS_API_VERS_1
6776
15170
ac_cv_c_inline=no
6777
15171
for ac_kw in inline __inline__ __inline; do
6778
15172
cat >conftest.$ac_ext <<_ACEOF
6779
#line 6779 "configure"
6780
#include "confdefs.h"
15175
cat confdefs.h >>conftest.$ac_ext
15176
cat >>conftest.$ac_ext <<_ACEOF
15177
/* end confdefs.h. */
6781
15178
#ifndef __cplusplus
6782
static $ac_kw int static_foo () {return 0; }
6783
$ac_kw int foo () {return 0; }
15180
static $ac_kw foo_t static_foo () {return 0; }
15181
$ac_kw foo_t foo () {return 0; }
6787
15185
rm -f conftest.$ac_objext
6788
if { (eval echo "$as_me:6788: \"$ac_compile\"") >&5
6789
(eval $ac_compile) 2>&5
15186
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15187
(eval $ac_compile) 2>conftest.er1
6791
echo "$as_me:6791: \$? = $ac_status" >&5
15189
grep -v '^ *+' conftest.er1 >conftest.err
15191
cat conftest.err >&5
15192
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792
15193
(exit $ac_status); } &&
6793
{ ac_try='test -s conftest.$ac_objext'
6794
{ (eval echo "$as_me:6794: \"$ac_try\"") >&5
6797
echo "$as_me:6797: \$? = $ac_status" >&5
15194
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15195
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15196
(eval $ac_try) 2>&5
15198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15199
(exit $ac_status); }; } &&
15200
{ ac_try='test -s conftest.$ac_objext'
15201
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15202
(eval $ac_try) 2>&5
15204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798
15205
(exit $ac_status); }; }; then
6799
15206
ac_cv_c_inline=$ac_kw; break
6801
15208
echo "$as_me: failed program was:" >&5
6802
cat conftest.$ac_ext >&5
15209
sed 's/^/| /' conftest.$ac_ext >&5
6804
rm -f conftest.$ac_objext conftest.$ac_ext
15212
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6808
echo "$as_me:6808: result: $ac_cv_c_inline" >&5
15216
echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
6809
15217
echo "${ECHO_T}$ac_cv_c_inline" >&6
6810
15220
case $ac_cv_c_inline in
6811
15221
inline | yes) ;;
6813
cat >>confdefs.h <<\EOF
6817
*) cat >>confdefs.h <<EOF
6818
#define inline $ac_cv_c_inline
15223
case $ac_cv_c_inline in
15225
*) ac_val=$ac_cv_c_inline;;
15227
cat >>confdefs.h <<_ACEOF
15228
#ifndef __cplusplus
15229
#define inline $ac_val
6823
echo "$as_me:6823: checking whether char is unsigned" >&5
15236
echo "$as_me:$LINENO: checking whether char is unsigned" >&5
6824
15237
echo $ECHO_N "checking whether char is unsigned... $ECHO_C" >&6
6825
15238
if test "${ac_cv_c_char_unsigned+set}" = set; then
6826
15239
echo $ECHO_N "(cached) $ECHO_C" >&6
6828
15241
cat >conftest.$ac_ext <<_ACEOF
6829
#line 6829 "configure"
6830
#include "confdefs.h"
15244
cat confdefs.h >>conftest.$ac_ext
15245
cat >>conftest.$ac_ext <<_ACEOF
15246
/* end confdefs.h. */
6831
15247
$ac_includes_default
6835
int _array_ [1 - 2 * !(((char) -1) < 0)]
15251
static int test_array [1 - 2 * !(((char) -1) < 0)];
6840
15258
rm -f conftest.$ac_objext
6841
if { (eval echo "$as_me:6841: \"$ac_compile\"") >&5
6842
(eval $ac_compile) 2>&5
15259
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15260
(eval $ac_compile) 2>conftest.er1
6844
echo "$as_me:6844: \$? = $ac_status" >&5
15262
grep -v '^ *+' conftest.er1 >conftest.err
15264
cat conftest.err >&5
15265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845
15266
(exit $ac_status); } &&
6846
{ ac_try='test -s conftest.$ac_objext'
6847
{ (eval echo "$as_me:6847: \"$ac_try\"") >&5
6850
echo "$as_me:6850: \$? = $ac_status" >&5
15267
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15268
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15269
(eval $ac_try) 2>&5
15271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15272
(exit $ac_status); }; } &&
15273
{ ac_try='test -s conftest.$ac_objext'
15274
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15275
(eval $ac_try) 2>&5
15277
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851
15278
(exit $ac_status); }; }; then
6852
15279
ac_cv_c_char_unsigned=no
6854
15281
echo "$as_me: failed program was:" >&5
6855
cat conftest.$ac_ext >&5
15282
sed 's/^/| /' conftest.$ac_ext >&5
6856
15284
ac_cv_c_char_unsigned=yes
6858
rm -f conftest.$ac_objext conftest.$ac_ext
15286
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6860
echo "$as_me:6860: result: $ac_cv_c_char_unsigned" >&5
15288
echo "$as_me:$LINENO: result: $ac_cv_c_char_unsigned" >&5
6861
15289
echo "${ECHO_T}$ac_cv_c_char_unsigned" >&6
6862
15290
if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
6863
cat >>confdefs.h <<\EOF
15291
cat >>confdefs.h <<\_ACEOF
6864
15292
#define __CHAR_UNSIGNED__ 1
6870
echo "$as_me:6870: checking for signed char" >&5
6871
echo $ECHO_N "checking for signed char... $ECHO_C" >&6
6872
if test "${ac_cv_type_signed_char+set}" = set; then
6873
echo $ECHO_N "(cached) $ECHO_C" >&6
6875
cat >conftest.$ac_ext <<_ACEOF
6876
#line 6876 "configure"
6877
#include "confdefs.h"
6878
$ac_includes_default
6882
if ((signed char *) 0)
6884
if (sizeof (signed char))
6890
rm -f conftest.$ac_objext
6891
if { (eval echo "$as_me:6891: \"$ac_compile\"") >&5
6892
(eval $ac_compile) 2>&5
6894
echo "$as_me:6894: \$? = $ac_status" >&5
6895
(exit $ac_status); } &&
6896
{ ac_try='test -s conftest.$ac_objext'
6897
{ (eval echo "$as_me:6897: \"$ac_try\"") >&5
6900
echo "$as_me:6900: \$? = $ac_status" >&5
6901
(exit $ac_status); }; }; then
6902
ac_cv_type_signed_char=yes
6904
echo "$as_me: failed program was:" >&5
6905
cat conftest.$ac_ext >&5
6906
ac_cv_type_signed_char=no
6908
rm -f conftest.$ac_objext conftest.$ac_ext
6910
echo "$as_me:6910: result: $ac_cv_type_signed_char" >&5
6911
echo "${ECHO_T}$ac_cv_type_signed_char" >&6
6913
echo "$as_me:6913: checking size of signed char" >&5
6914
echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
6915
if test "${ac_cv_sizeof_signed_char+set}" = set; then
6916
echo $ECHO_N "(cached) $ECHO_C" >&6
6918
if test "$ac_cv_type_signed_char" = yes; then
6919
if test "$cross_compiling" = yes; then
6920
# Depending upon the size, compute the lo and hi bounds.
6921
cat >conftest.$ac_ext <<_ACEOF
6922
#line 6922 "configure"
6923
#include "confdefs.h"
6924
$ac_includes_default
6928
int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
6933
rm -f conftest.$ac_objext
6934
if { (eval echo "$as_me:6934: \"$ac_compile\"") >&5
6935
(eval $ac_compile) 2>&5
6937
echo "$as_me:6937: \$? = $ac_status" >&5
6938
(exit $ac_status); } &&
6939
{ ac_try='test -s conftest.$ac_objext'
6940
{ (eval echo "$as_me:6940: \"$ac_try\"") >&5
6943
echo "$as_me:6943: \$? = $ac_status" >&5
6944
(exit $ac_status); }; }; then
6947
cat >conftest.$ac_ext <<_ACEOF
6948
#line 6948 "configure"
6949
#include "confdefs.h"
6950
$ac_includes_default
6954
int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
6959
rm -f conftest.$ac_objext
6960
if { (eval echo "$as_me:6960: \"$ac_compile\"") >&5
6961
(eval $ac_compile) 2>&5
6963
echo "$as_me:6963: \$? = $ac_status" >&5
6964
(exit $ac_status); } &&
6965
{ ac_try='test -s conftest.$ac_objext'
6966
{ (eval echo "$as_me:6966: \"$ac_try\"") >&5
6969
echo "$as_me:6969: \$? = $ac_status" >&5
6970
(exit $ac_status); }; }; then
6971
ac_hi=$ac_mid; break
6973
echo "$as_me: failed program was:" >&5
6974
cat conftest.$ac_ext >&5
6975
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
6977
rm -f conftest.$ac_objext conftest.$ac_ext
6980
echo "$as_me: failed program was:" >&5
6981
cat conftest.$ac_ext >&5
6984
cat >conftest.$ac_ext <<_ACEOF
6985
#line 6985 "configure"
6986
#include "confdefs.h"
6987
$ac_includes_default
6991
int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)]
6996
rm -f conftest.$ac_objext
6997
if { (eval echo "$as_me:6997: \"$ac_compile\"") >&5
6998
(eval $ac_compile) 2>&5
7000
echo "$as_me:7000: \$? = $ac_status" >&5
7001
(exit $ac_status); } &&
7002
{ ac_try='test -s conftest.$ac_objext'
7003
{ (eval echo "$as_me:7003: \"$ac_try\"") >&5
7006
echo "$as_me:7006: \$? = $ac_status" >&5
7007
(exit $ac_status); }; }; then
7008
ac_lo=$ac_mid; break
7010
echo "$as_me: failed program was:" >&5
7011
cat conftest.$ac_ext >&5
7012
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7014
rm -f conftest.$ac_objext conftest.$ac_ext
7017
rm -f conftest.$ac_objext conftest.$ac_ext
7018
# Binary search between lo and hi bounds.
7019
while test "x$ac_lo" != "x$ac_hi"; do
7020
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7021
cat >conftest.$ac_ext <<_ACEOF
7022
#line 7022 "configure"
7023
#include "confdefs.h"
7024
$ac_includes_default
7028
int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
7033
rm -f conftest.$ac_objext
7034
if { (eval echo "$as_me:7034: \"$ac_compile\"") >&5
7035
(eval $ac_compile) 2>&5
7037
echo "$as_me:7037: \$? = $ac_status" >&5
7038
(exit $ac_status); } &&
7039
{ ac_try='test -s conftest.$ac_objext'
7040
{ (eval echo "$as_me:7040: \"$ac_try\"") >&5
7043
echo "$as_me:7043: \$? = $ac_status" >&5
7044
(exit $ac_status); }; }; then
7047
echo "$as_me: failed program was:" >&5
7048
cat conftest.$ac_ext >&5
7049
ac_lo=`expr $ac_mid + 1`
7051
rm -f conftest.$ac_objext conftest.$ac_ext
7053
ac_cv_sizeof_signed_char=$ac_lo
7055
if test "$cross_compiling" = yes; then
7056
{ { echo "$as_me:7056: error: cannot run test program while cross compiling" >&5
7057
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7058
{ (exit 1); exit 1; }; }
7060
cat >conftest.$ac_ext <<_ACEOF
7061
#line 7061 "configure"
7062
#include "confdefs.h"
7063
$ac_includes_default
7067
FILE *f = fopen ("conftest.val", "w");
7070
fprintf (f, "%d", (sizeof (signed char)));
7076
rm -f conftest$ac_exeext
7077
if { (eval echo "$as_me:7077: \"$ac_link\"") >&5
7078
(eval $ac_link) 2>&5
7080
echo "$as_me:7080: \$? = $ac_status" >&5
7081
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7082
{ (eval echo "$as_me:7082: \"$ac_try\"") >&5
7085
echo "$as_me:7085: \$? = $ac_status" >&5
7086
(exit $ac_status); }; }; then
7087
ac_cv_sizeof_signed_char=`cat conftest.val`
7089
echo "$as_me: program exited with status $ac_status" >&5
7090
echo "$as_me: failed program was:" >&5
7091
cat conftest.$ac_ext >&5
7093
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7098
ac_cv_sizeof_signed_char=0
7101
echo "$as_me:7101: result: $ac_cv_sizeof_signed_char" >&5
7102
echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
7103
cat >>confdefs.h <<EOF
7104
#define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
7108
*) case "$target" in
7110
echo "$as_me:7110: checking for signed char" >&5
7111
echo $ECHO_N "checking for signed char... $ECHO_C" >&6
7112
if test "${ac_cv_type_signed_char+set}" = set; then
7113
echo $ECHO_N "(cached) $ECHO_C" >&6
7115
cat >conftest.$ac_ext <<_ACEOF
7116
#line 7116 "configure"
7117
#include "confdefs.h"
7118
$ac_includes_default
7122
if ((signed char *) 0)
7124
if (sizeof (signed char))
7130
rm -f conftest.$ac_objext
7131
if { (eval echo "$as_me:7131: \"$ac_compile\"") >&5
7132
(eval $ac_compile) 2>&5
7134
echo "$as_me:7134: \$? = $ac_status" >&5
7135
(exit $ac_status); } &&
7136
{ ac_try='test -s conftest.$ac_objext'
7137
{ (eval echo "$as_me:7137: \"$ac_try\"") >&5
7140
echo "$as_me:7140: \$? = $ac_status" >&5
7141
(exit $ac_status); }; }; then
7142
ac_cv_type_signed_char=yes
7144
echo "$as_me: failed program was:" >&5
7145
cat conftest.$ac_ext >&5
7146
ac_cv_type_signed_char=no
7148
rm -f conftest.$ac_objext conftest.$ac_ext
7150
echo "$as_me:7150: result: $ac_cv_type_signed_char" >&5
7151
echo "${ECHO_T}$ac_cv_type_signed_char" >&6
7153
echo "$as_me:7153: checking size of signed char" >&5
7154
echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
7155
if test "${ac_cv_sizeof_signed_char+set}" = set; then
7156
echo $ECHO_N "(cached) $ECHO_C" >&6
7158
if test "$ac_cv_type_signed_char" = yes; then
7159
if test "$cross_compiling" = yes; then
7160
# Depending upon the size, compute the lo and hi bounds.
7161
cat >conftest.$ac_ext <<_ACEOF
7162
#line 7162 "configure"
7163
#include "confdefs.h"
7164
$ac_includes_default
7168
int _array_ [1 - 2 * !((sizeof (signed char)) >= 0)]
7173
rm -f conftest.$ac_objext
7174
if { (eval echo "$as_me:7174: \"$ac_compile\"") >&5
7175
(eval $ac_compile) 2>&5
7177
echo "$as_me:7177: \$? = $ac_status" >&5
7178
(exit $ac_status); } &&
7179
{ ac_try='test -s conftest.$ac_objext'
7180
{ (eval echo "$as_me:7180: \"$ac_try\"") >&5
7183
echo "$as_me:7183: \$? = $ac_status" >&5
7184
(exit $ac_status); }; }; then
7187
cat >conftest.$ac_ext <<_ACEOF
7188
#line 7188 "configure"
7189
#include "confdefs.h"
7190
$ac_includes_default
7194
int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
7199
rm -f conftest.$ac_objext
7200
if { (eval echo "$as_me:7200: \"$ac_compile\"") >&5
7201
(eval $ac_compile) 2>&5
7203
echo "$as_me:7203: \$? = $ac_status" >&5
7204
(exit $ac_status); } &&
7205
{ ac_try='test -s conftest.$ac_objext'
7206
{ (eval echo "$as_me:7206: \"$ac_try\"") >&5
7209
echo "$as_me:7209: \$? = $ac_status" >&5
7210
(exit $ac_status); }; }; then
7211
ac_hi=$ac_mid; break
7213
echo "$as_me: failed program was:" >&5
7214
cat conftest.$ac_ext >&5
7215
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7217
rm -f conftest.$ac_objext conftest.$ac_ext
7220
echo "$as_me: failed program was:" >&5
7221
cat conftest.$ac_ext >&5
7224
cat >conftest.$ac_ext <<_ACEOF
7225
#line 7225 "configure"
7226
#include "confdefs.h"
7227
$ac_includes_default
7231
int _array_ [1 - 2 * !((sizeof (signed char)) >= $ac_mid)]
7236
rm -f conftest.$ac_objext
7237
if { (eval echo "$as_me:7237: \"$ac_compile\"") >&5
7238
(eval $ac_compile) 2>&5
7240
echo "$as_me:7240: \$? = $ac_status" >&5
7241
(exit $ac_status); } &&
7242
{ ac_try='test -s conftest.$ac_objext'
7243
{ (eval echo "$as_me:7243: \"$ac_try\"") >&5
7246
echo "$as_me:7246: \$? = $ac_status" >&5
7247
(exit $ac_status); }; }; then
7248
ac_lo=$ac_mid; break
7250
echo "$as_me: failed program was:" >&5
7251
cat conftest.$ac_ext >&5
7252
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7254
rm -f conftest.$ac_objext conftest.$ac_ext
7257
rm -f conftest.$ac_objext conftest.$ac_ext
7258
# Binary search between lo and hi bounds.
7259
while test "x$ac_lo" != "x$ac_hi"; do
7260
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7261
cat >conftest.$ac_ext <<_ACEOF
7262
#line 7262 "configure"
7263
#include "confdefs.h"
7264
$ac_includes_default
7268
int _array_ [1 - 2 * !((sizeof (signed char)) <= $ac_mid)]
7273
rm -f conftest.$ac_objext
7274
if { (eval echo "$as_me:7274: \"$ac_compile\"") >&5
7275
(eval $ac_compile) 2>&5
7277
echo "$as_me:7277: \$? = $ac_status" >&5
7278
(exit $ac_status); } &&
7279
{ ac_try='test -s conftest.$ac_objext'
7280
{ (eval echo "$as_me:7280: \"$ac_try\"") >&5
7283
echo "$as_me:7283: \$? = $ac_status" >&5
7284
(exit $ac_status); }; }; then
7287
echo "$as_me: failed program was:" >&5
7288
cat conftest.$ac_ext >&5
7289
ac_lo=`expr $ac_mid + 1`
7291
rm -f conftest.$ac_objext conftest.$ac_ext
7293
ac_cv_sizeof_signed_char=$ac_lo
7295
if test "$cross_compiling" = yes; then
7296
{ { echo "$as_me:7296: error: cannot run test program while cross compiling" >&5
7297
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7298
{ (exit 1); exit 1; }; }
7300
cat >conftest.$ac_ext <<_ACEOF
7301
#line 7301 "configure"
7302
#include "confdefs.h"
7303
$ac_includes_default
7307
FILE *f = fopen ("conftest.val", "w");
7310
fprintf (f, "%d", (sizeof (signed char)));
7316
rm -f conftest$ac_exeext
7317
if { (eval echo "$as_me:7317: \"$ac_link\"") >&5
7318
(eval $ac_link) 2>&5
7320
echo "$as_me:7320: \$? = $ac_status" >&5
7321
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7322
{ (eval echo "$as_me:7322: \"$ac_try\"") >&5
7325
echo "$as_me:7325: \$? = $ac_status" >&5
7326
(exit $ac_status); }; }; then
7327
ac_cv_sizeof_signed_char=`cat conftest.val`
7329
echo "$as_me: program exited with status $ac_status" >&5
7330
echo "$as_me: failed program was:" >&5
7331
cat conftest.$ac_ext >&5
7333
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7338
ac_cv_sizeof_signed_char=0
7341
echo "$as_me:7341: result: $ac_cv_sizeof_signed_char" >&5
7342
echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
7343
cat >>confdefs.h <<EOF
7344
#define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
7348
*) { { echo "$as_me:7348: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" >&5
7349
echo "$as_me: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" >&2;}
7350
{ (exit 1); exit 1; }; }
7358
echo "$as_me:7358: checking for int" >&5
7359
echo $ECHO_N "checking for int... $ECHO_C" >&6
7360
if test "${ac_cv_type_int+set}" = set; then
7361
echo $ECHO_N "(cached) $ECHO_C" >&6
7363
cat >conftest.$ac_ext <<_ACEOF
7364
#line 7364 "configure"
7365
#include "confdefs.h"
7366
$ac_includes_default
7378
rm -f conftest.$ac_objext
7379
if { (eval echo "$as_me:7379: \"$ac_compile\"") >&5
7380
(eval $ac_compile) 2>&5
7382
echo "$as_me:7382: \$? = $ac_status" >&5
7383
(exit $ac_status); } &&
7384
{ ac_try='test -s conftest.$ac_objext'
7385
{ (eval echo "$as_me:7385: \"$ac_try\"") >&5
7388
echo "$as_me:7388: \$? = $ac_status" >&5
7389
(exit $ac_status); }; }; then
7392
echo "$as_me: failed program was:" >&5
7393
cat conftest.$ac_ext >&5
7396
rm -f conftest.$ac_objext conftest.$ac_ext
7398
echo "$as_me:7398: result: $ac_cv_type_int" >&5
7399
echo "${ECHO_T}$ac_cv_type_int" >&6
7401
echo "$as_me:7401: checking size of int" >&5
7402
echo $ECHO_N "checking size of int... $ECHO_C" >&6
7403
if test "${ac_cv_sizeof_int+set}" = set; then
7404
echo $ECHO_N "(cached) $ECHO_C" >&6
7406
if test "$ac_cv_type_int" = yes; then
7407
if test "$cross_compiling" = yes; then
7408
# Depending upon the size, compute the lo and hi bounds.
7409
cat >conftest.$ac_ext <<_ACEOF
7410
#line 7410 "configure"
7411
#include "confdefs.h"
7412
$ac_includes_default
7416
int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
7421
rm -f conftest.$ac_objext
7422
if { (eval echo "$as_me:7422: \"$ac_compile\"") >&5
7423
(eval $ac_compile) 2>&5
7425
echo "$as_me:7425: \$? = $ac_status" >&5
7426
(exit $ac_status); } &&
7427
{ ac_try='test -s conftest.$ac_objext'
7428
{ (eval echo "$as_me:7428: \"$ac_try\"") >&5
7431
echo "$as_me:7431: \$? = $ac_status" >&5
7432
(exit $ac_status); }; }; then
7435
cat >conftest.$ac_ext <<_ACEOF
7436
#line 7436 "configure"
7437
#include "confdefs.h"
7438
$ac_includes_default
7442
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7447
rm -f conftest.$ac_objext
7448
if { (eval echo "$as_me:7448: \"$ac_compile\"") >&5
7449
(eval $ac_compile) 2>&5
7451
echo "$as_me:7451: \$? = $ac_status" >&5
7452
(exit $ac_status); } &&
7453
{ ac_try='test -s conftest.$ac_objext'
7454
{ (eval echo "$as_me:7454: \"$ac_try\"") >&5
7457
echo "$as_me:7457: \$? = $ac_status" >&5
7458
(exit $ac_status); }; }; then
7459
ac_hi=$ac_mid; break
7461
echo "$as_me: failed program was:" >&5
7462
cat conftest.$ac_ext >&5
7463
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7465
rm -f conftest.$ac_objext conftest.$ac_ext
7468
echo "$as_me: failed program was:" >&5
7469
cat conftest.$ac_ext >&5
7472
cat >conftest.$ac_ext <<_ACEOF
7473
#line 7473 "configure"
7474
#include "confdefs.h"
7475
$ac_includes_default
7479
int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
7484
rm -f conftest.$ac_objext
7485
if { (eval echo "$as_me:7485: \"$ac_compile\"") >&5
7486
(eval $ac_compile) 2>&5
7488
echo "$as_me:7488: \$? = $ac_status" >&5
7489
(exit $ac_status); } &&
7490
{ ac_try='test -s conftest.$ac_objext'
7491
{ (eval echo "$as_me:7491: \"$ac_try\"") >&5
7494
echo "$as_me:7494: \$? = $ac_status" >&5
7495
(exit $ac_status); }; }; then
7496
ac_lo=$ac_mid; break
7498
echo "$as_me: failed program was:" >&5
7499
cat conftest.$ac_ext >&5
7500
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7502
rm -f conftest.$ac_objext conftest.$ac_ext
7505
rm -f conftest.$ac_objext conftest.$ac_ext
7506
# Binary search between lo and hi bounds.
7507
while test "x$ac_lo" != "x$ac_hi"; do
7508
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7509
cat >conftest.$ac_ext <<_ACEOF
7510
#line 7510 "configure"
7511
#include "confdefs.h"
7512
$ac_includes_default
7516
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7521
rm -f conftest.$ac_objext
7522
if { (eval echo "$as_me:7522: \"$ac_compile\"") >&5
7523
(eval $ac_compile) 2>&5
7525
echo "$as_me:7525: \$? = $ac_status" >&5
7526
(exit $ac_status); } &&
7527
{ ac_try='test -s conftest.$ac_objext'
7528
{ (eval echo "$as_me:7528: \"$ac_try\"") >&5
7531
echo "$as_me:7531: \$? = $ac_status" >&5
7532
(exit $ac_status); }; }; then
7535
echo "$as_me: failed program was:" >&5
7536
cat conftest.$ac_ext >&5
7537
ac_lo=`expr $ac_mid + 1`
7539
rm -f conftest.$ac_objext conftest.$ac_ext
7541
ac_cv_sizeof_int=$ac_lo
7543
if test "$cross_compiling" = yes; then
7544
{ { echo "$as_me:7544: error: cannot run test program while cross compiling" >&5
7545
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7546
{ (exit 1); exit 1; }; }
7548
cat >conftest.$ac_ext <<_ACEOF
7549
#line 7549 "configure"
7550
#include "confdefs.h"
7551
$ac_includes_default
7555
FILE *f = fopen ("conftest.val", "w");
7558
fprintf (f, "%d", (sizeof (int)));
7564
rm -f conftest$ac_exeext
7565
if { (eval echo "$as_me:7565: \"$ac_link\"") >&5
7566
(eval $ac_link) 2>&5
7568
echo "$as_me:7568: \$? = $ac_status" >&5
7569
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7570
{ (eval echo "$as_me:7570: \"$ac_try\"") >&5
7573
echo "$as_me:7573: \$? = $ac_status" >&5
7574
(exit $ac_status); }; }; then
7575
ac_cv_sizeof_int=`cat conftest.val`
7577
echo "$as_me: program exited with status $ac_status" >&5
7578
echo "$as_me: failed program was:" >&5
7579
cat conftest.$ac_ext >&5
7581
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7589
echo "$as_me:7589: result: $ac_cv_sizeof_int" >&5
7590
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7591
cat >>confdefs.h <<EOF
7592
#define SIZEOF_INT $ac_cv_sizeof_int
7596
*) case "$target" in
7598
echo "$as_me:7598: checking for int" >&5
7599
echo $ECHO_N "checking for int... $ECHO_C" >&6
7600
if test "${ac_cv_type_int+set}" = set; then
7601
echo $ECHO_N "(cached) $ECHO_C" >&6
7603
cat >conftest.$ac_ext <<_ACEOF
7604
#line 7604 "configure"
7605
#include "confdefs.h"
7606
$ac_includes_default
7618
rm -f conftest.$ac_objext
7619
if { (eval echo "$as_me:7619: \"$ac_compile\"") >&5
7620
(eval $ac_compile) 2>&5
7622
echo "$as_me:7622: \$? = $ac_status" >&5
7623
(exit $ac_status); } &&
7624
{ ac_try='test -s conftest.$ac_objext'
7625
{ (eval echo "$as_me:7625: \"$ac_try\"") >&5
7628
echo "$as_me:7628: \$? = $ac_status" >&5
7629
(exit $ac_status); }; }; then
7632
echo "$as_me: failed program was:" >&5
7633
cat conftest.$ac_ext >&5
7636
rm -f conftest.$ac_objext conftest.$ac_ext
7638
echo "$as_me:7638: result: $ac_cv_type_int" >&5
7639
echo "${ECHO_T}$ac_cv_type_int" >&6
7641
echo "$as_me:7641: checking size of int" >&5
7642
echo $ECHO_N "checking size of int... $ECHO_C" >&6
7643
if test "${ac_cv_sizeof_int+set}" = set; then
7644
echo $ECHO_N "(cached) $ECHO_C" >&6
7646
if test "$ac_cv_type_int" = yes; then
7647
if test "$cross_compiling" = yes; then
7648
# Depending upon the size, compute the lo and hi bounds.
7649
cat >conftest.$ac_ext <<_ACEOF
7650
#line 7650 "configure"
7651
#include "confdefs.h"
7652
$ac_includes_default
7656
int _array_ [1 - 2 * !((sizeof (int)) >= 0)]
7661
rm -f conftest.$ac_objext
7662
if { (eval echo "$as_me:7662: \"$ac_compile\"") >&5
7663
(eval $ac_compile) 2>&5
7665
echo "$as_me:7665: \$? = $ac_status" >&5
7666
(exit $ac_status); } &&
7667
{ ac_try='test -s conftest.$ac_objext'
7668
{ (eval echo "$as_me:7668: \"$ac_try\"") >&5
7671
echo "$as_me:7671: \$? = $ac_status" >&5
7672
(exit $ac_status); }; }; then
7675
cat >conftest.$ac_ext <<_ACEOF
7676
#line 7676 "configure"
7677
#include "confdefs.h"
7678
$ac_includes_default
7682
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7687
rm -f conftest.$ac_objext
7688
if { (eval echo "$as_me:7688: \"$ac_compile\"") >&5
7689
(eval $ac_compile) 2>&5
7691
echo "$as_me:7691: \$? = $ac_status" >&5
7692
(exit $ac_status); } &&
7693
{ ac_try='test -s conftest.$ac_objext'
7694
{ (eval echo "$as_me:7694: \"$ac_try\"") >&5
7697
echo "$as_me:7697: \$? = $ac_status" >&5
7698
(exit $ac_status); }; }; then
7699
ac_hi=$ac_mid; break
7701
echo "$as_me: failed program was:" >&5
7702
cat conftest.$ac_ext >&5
7703
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7705
rm -f conftest.$ac_objext conftest.$ac_ext
7708
echo "$as_me: failed program was:" >&5
7709
cat conftest.$ac_ext >&5
7712
cat >conftest.$ac_ext <<_ACEOF
7713
#line 7713 "configure"
7714
#include "confdefs.h"
7715
$ac_includes_default
7719
int _array_ [1 - 2 * !((sizeof (int)) >= $ac_mid)]
7724
rm -f conftest.$ac_objext
7725
if { (eval echo "$as_me:7725: \"$ac_compile\"") >&5
7726
(eval $ac_compile) 2>&5
7728
echo "$as_me:7728: \$? = $ac_status" >&5
7729
(exit $ac_status); } &&
7730
{ ac_try='test -s conftest.$ac_objext'
7731
{ (eval echo "$as_me:7731: \"$ac_try\"") >&5
7734
echo "$as_me:7734: \$? = $ac_status" >&5
7735
(exit $ac_status); }; }; then
7736
ac_lo=$ac_mid; break
7738
echo "$as_me: failed program was:" >&5
7739
cat conftest.$ac_ext >&5
7740
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7742
rm -f conftest.$ac_objext conftest.$ac_ext
7745
rm -f conftest.$ac_objext conftest.$ac_ext
7746
# Binary search between lo and hi bounds.
7747
while test "x$ac_lo" != "x$ac_hi"; do
7748
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7749
cat >conftest.$ac_ext <<_ACEOF
7750
#line 7750 "configure"
7751
#include "confdefs.h"
7752
$ac_includes_default
7756
int _array_ [1 - 2 * !((sizeof (int)) <= $ac_mid)]
7761
rm -f conftest.$ac_objext
7762
if { (eval echo "$as_me:7762: \"$ac_compile\"") >&5
7763
(eval $ac_compile) 2>&5
7765
echo "$as_me:7765: \$? = $ac_status" >&5
7766
(exit $ac_status); } &&
7767
{ ac_try='test -s conftest.$ac_objext'
7768
{ (eval echo "$as_me:7768: \"$ac_try\"") >&5
7771
echo "$as_me:7771: \$? = $ac_status" >&5
7772
(exit $ac_status); }; }; then
7775
echo "$as_me: failed program was:" >&5
7776
cat conftest.$ac_ext >&5
7777
ac_lo=`expr $ac_mid + 1`
7779
rm -f conftest.$ac_objext conftest.$ac_ext
7781
ac_cv_sizeof_int=$ac_lo
7783
if test "$cross_compiling" = yes; then
7784
{ { echo "$as_me:7784: error: cannot run test program while cross compiling" >&5
7785
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
7786
{ (exit 1); exit 1; }; }
7788
cat >conftest.$ac_ext <<_ACEOF
7789
#line 7789 "configure"
7790
#include "confdefs.h"
7791
$ac_includes_default
7795
FILE *f = fopen ("conftest.val", "w");
7798
fprintf (f, "%d", (sizeof (int)));
7804
rm -f conftest$ac_exeext
7805
if { (eval echo "$as_me:7805: \"$ac_link\"") >&5
7806
(eval $ac_link) 2>&5
7808
echo "$as_me:7808: \$? = $ac_status" >&5
7809
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7810
{ (eval echo "$as_me:7810: \"$ac_try\"") >&5
7813
echo "$as_me:7813: \$? = $ac_status" >&5
7814
(exit $ac_status); }; }; then
7815
ac_cv_sizeof_int=`cat conftest.val`
7817
echo "$as_me: program exited with status $ac_status" >&5
7818
echo "$as_me: failed program was:" >&5
7819
cat conftest.$ac_ext >&5
7821
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
7829
echo "$as_me:7829: result: $ac_cv_sizeof_int" >&5
7830
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
7831
cat >>confdefs.h <<EOF
7832
#define SIZEOF_INT $ac_cv_sizeof_int
7836
*) { { echo "$as_me:7836: error: Cross-compiling needs explicit SIZEOF_INT" >&5
7837
echo "$as_me: error: Cross-compiling needs explicit SIZEOF_INT" >&2;}
7838
{ (exit 1); exit 1; }; }
7846
echo "$as_me:7846: checking for long" >&5
7847
echo $ECHO_N "checking for long... $ECHO_C" >&6
7848
if test "${ac_cv_type_long+set}" = set; then
7849
echo $ECHO_N "(cached) $ECHO_C" >&6
7851
cat >conftest.$ac_ext <<_ACEOF
7852
#line 7852 "configure"
7853
#include "confdefs.h"
7854
$ac_includes_default
7866
rm -f conftest.$ac_objext
7867
if { (eval echo "$as_me:7867: \"$ac_compile\"") >&5
7868
(eval $ac_compile) 2>&5
7870
echo "$as_me:7870: \$? = $ac_status" >&5
7871
(exit $ac_status); } &&
7872
{ ac_try='test -s conftest.$ac_objext'
7873
{ (eval echo "$as_me:7873: \"$ac_try\"") >&5
7876
echo "$as_me:7876: \$? = $ac_status" >&5
7877
(exit $ac_status); }; }; then
7880
echo "$as_me: failed program was:" >&5
7881
cat conftest.$ac_ext >&5
7884
rm -f conftest.$ac_objext conftest.$ac_ext
7886
echo "$as_me:7886: result: $ac_cv_type_long" >&5
7887
echo "${ECHO_T}$ac_cv_type_long" >&6
7889
echo "$as_me:7889: checking size of long" >&5
7890
echo $ECHO_N "checking size of long... $ECHO_C" >&6
7891
if test "${ac_cv_sizeof_long+set}" = set; then
7892
echo $ECHO_N "(cached) $ECHO_C" >&6
7894
if test "$ac_cv_type_long" = yes; then
7895
if test "$cross_compiling" = yes; then
7896
# Depending upon the size, compute the lo and hi bounds.
7897
cat >conftest.$ac_ext <<_ACEOF
7898
#line 7898 "configure"
7899
#include "confdefs.h"
7900
$ac_includes_default
7904
int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
7909
rm -f conftest.$ac_objext
7910
if { (eval echo "$as_me:7910: \"$ac_compile\"") >&5
7911
(eval $ac_compile) 2>&5
7913
echo "$as_me:7913: \$? = $ac_status" >&5
7914
(exit $ac_status); } &&
7915
{ ac_try='test -s conftest.$ac_objext'
7916
{ (eval echo "$as_me:7916: \"$ac_try\"") >&5
7919
echo "$as_me:7919: \$? = $ac_status" >&5
7920
(exit $ac_status); }; }; then
7923
cat >conftest.$ac_ext <<_ACEOF
7924
#line 7924 "configure"
7925
#include "confdefs.h"
7926
$ac_includes_default
7930
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
7935
rm -f conftest.$ac_objext
7936
if { (eval echo "$as_me:7936: \"$ac_compile\"") >&5
7937
(eval $ac_compile) 2>&5
7939
echo "$as_me:7939: \$? = $ac_status" >&5
7940
(exit $ac_status); } &&
7941
{ ac_try='test -s conftest.$ac_objext'
7942
{ (eval echo "$as_me:7942: \"$ac_try\"") >&5
7945
echo "$as_me:7945: \$? = $ac_status" >&5
7946
(exit $ac_status); }; }; then
7947
ac_hi=$ac_mid; break
7949
echo "$as_me: failed program was:" >&5
7950
cat conftest.$ac_ext >&5
7951
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
7953
rm -f conftest.$ac_objext conftest.$ac_ext
7956
echo "$as_me: failed program was:" >&5
7957
cat conftest.$ac_ext >&5
7960
cat >conftest.$ac_ext <<_ACEOF
7961
#line 7961 "configure"
7962
#include "confdefs.h"
7963
$ac_includes_default
7967
int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
7972
rm -f conftest.$ac_objext
7973
if { (eval echo "$as_me:7973: \"$ac_compile\"") >&5
7974
(eval $ac_compile) 2>&5
7976
echo "$as_me:7976: \$? = $ac_status" >&5
7977
(exit $ac_status); } &&
7978
{ ac_try='test -s conftest.$ac_objext'
7979
{ (eval echo "$as_me:7979: \"$ac_try\"") >&5
7982
echo "$as_me:7982: \$? = $ac_status" >&5
7983
(exit $ac_status); }; }; then
7984
ac_lo=$ac_mid; break
7986
echo "$as_me: failed program was:" >&5
7987
cat conftest.$ac_ext >&5
7988
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
7990
rm -f conftest.$ac_objext conftest.$ac_ext
7993
rm -f conftest.$ac_objext conftest.$ac_ext
7994
# Binary search between lo and hi bounds.
7995
while test "x$ac_lo" != "x$ac_hi"; do
7996
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
7997
cat >conftest.$ac_ext <<_ACEOF
7998
#line 7998 "configure"
7999
#include "confdefs.h"
8000
$ac_includes_default
8004
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
8009
rm -f conftest.$ac_objext
8010
if { (eval echo "$as_me:8010: \"$ac_compile\"") >&5
8011
(eval $ac_compile) 2>&5
8013
echo "$as_me:8013: \$? = $ac_status" >&5
8014
(exit $ac_status); } &&
8015
{ ac_try='test -s conftest.$ac_objext'
8016
{ (eval echo "$as_me:8016: \"$ac_try\"") >&5
8019
echo "$as_me:8019: \$? = $ac_status" >&5
8020
(exit $ac_status); }; }; then
8023
echo "$as_me: failed program was:" >&5
8024
cat conftest.$ac_ext >&5
8025
ac_lo=`expr $ac_mid + 1`
8027
rm -f conftest.$ac_objext conftest.$ac_ext
8029
ac_cv_sizeof_long=$ac_lo
8031
if test "$cross_compiling" = yes; then
8032
{ { echo "$as_me:8032: error: cannot run test program while cross compiling" >&5
8033
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8034
{ (exit 1); exit 1; }; }
8036
cat >conftest.$ac_ext <<_ACEOF
8037
#line 8037 "configure"
8038
#include "confdefs.h"
8039
$ac_includes_default
8043
FILE *f = fopen ("conftest.val", "w");
8046
fprintf (f, "%d", (sizeof (long)));
8052
rm -f conftest$ac_exeext
8053
if { (eval echo "$as_me:8053: \"$ac_link\"") >&5
8054
(eval $ac_link) 2>&5
8056
echo "$as_me:8056: \$? = $ac_status" >&5
8057
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8058
{ (eval echo "$as_me:8058: \"$ac_try\"") >&5
8061
echo "$as_me:8061: \$? = $ac_status" >&5
8062
(exit $ac_status); }; }; then
8063
ac_cv_sizeof_long=`cat conftest.val`
8065
echo "$as_me: program exited with status $ac_status" >&5
8066
echo "$as_me: failed program was:" >&5
8067
cat conftest.$ac_ext >&5
8069
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
8077
echo "$as_me:8077: result: $ac_cv_sizeof_long" >&5
8078
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8079
cat >>confdefs.h <<EOF
8080
#define SIZEOF_LONG $ac_cv_sizeof_long
8084
*) case "$target" in
8086
echo "$as_me:8086: checking for long" >&5
8087
echo $ECHO_N "checking for long... $ECHO_C" >&6
8088
if test "${ac_cv_type_long+set}" = set; then
8089
echo $ECHO_N "(cached) $ECHO_C" >&6
8091
cat >conftest.$ac_ext <<_ACEOF
8092
#line 8092 "configure"
8093
#include "confdefs.h"
8094
$ac_includes_default
8106
rm -f conftest.$ac_objext
8107
if { (eval echo "$as_me:8107: \"$ac_compile\"") >&5
8108
(eval $ac_compile) 2>&5
8110
echo "$as_me:8110: \$? = $ac_status" >&5
8111
(exit $ac_status); } &&
8112
{ ac_try='test -s conftest.$ac_objext'
8113
{ (eval echo "$as_me:8113: \"$ac_try\"") >&5
8116
echo "$as_me:8116: \$? = $ac_status" >&5
8117
(exit $ac_status); }; }; then
8120
echo "$as_me: failed program was:" >&5
8121
cat conftest.$ac_ext >&5
8124
rm -f conftest.$ac_objext conftest.$ac_ext
8126
echo "$as_me:8126: result: $ac_cv_type_long" >&5
8127
echo "${ECHO_T}$ac_cv_type_long" >&6
8129
echo "$as_me:8129: checking size of long" >&5
8130
echo $ECHO_N "checking size of long... $ECHO_C" >&6
8131
if test "${ac_cv_sizeof_long+set}" = set; then
8132
echo $ECHO_N "(cached) $ECHO_C" >&6
8134
if test "$ac_cv_type_long" = yes; then
8135
if test "$cross_compiling" = yes; then
8136
# Depending upon the size, compute the lo and hi bounds.
8137
cat >conftest.$ac_ext <<_ACEOF
8138
#line 8138 "configure"
8139
#include "confdefs.h"
8140
$ac_includes_default
8144
int _array_ [1 - 2 * !((sizeof (long)) >= 0)]
8149
rm -f conftest.$ac_objext
8150
if { (eval echo "$as_me:8150: \"$ac_compile\"") >&5
8151
(eval $ac_compile) 2>&5
8153
echo "$as_me:8153: \$? = $ac_status" >&5
8154
(exit $ac_status); } &&
8155
{ ac_try='test -s conftest.$ac_objext'
8156
{ (eval echo "$as_me:8156: \"$ac_try\"") >&5
8159
echo "$as_me:8159: \$? = $ac_status" >&5
8160
(exit $ac_status); }; }; then
8163
cat >conftest.$ac_ext <<_ACEOF
8164
#line 8164 "configure"
8165
#include "confdefs.h"
8166
$ac_includes_default
8170
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
8175
rm -f conftest.$ac_objext
8176
if { (eval echo "$as_me:8176: \"$ac_compile\"") >&5
8177
(eval $ac_compile) 2>&5
8179
echo "$as_me:8179: \$? = $ac_status" >&5
8180
(exit $ac_status); } &&
8181
{ ac_try='test -s conftest.$ac_objext'
8182
{ (eval echo "$as_me:8182: \"$ac_try\"") >&5
8185
echo "$as_me:8185: \$? = $ac_status" >&5
8186
(exit $ac_status); }; }; then
8187
ac_hi=$ac_mid; break
8189
echo "$as_me: failed program was:" >&5
8190
cat conftest.$ac_ext >&5
8191
ac_lo=`expr $ac_mid + 1`; ac_mid=`expr 2 '*' $ac_mid + 1`
8193
rm -f conftest.$ac_objext conftest.$ac_ext
8196
echo "$as_me: failed program was:" >&5
8197
cat conftest.$ac_ext >&5
8200
cat >conftest.$ac_ext <<_ACEOF
8201
#line 8201 "configure"
8202
#include "confdefs.h"
8203
$ac_includes_default
8207
int _array_ [1 - 2 * !((sizeof (long)) >= $ac_mid)]
8212
rm -f conftest.$ac_objext
8213
if { (eval echo "$as_me:8213: \"$ac_compile\"") >&5
8214
(eval $ac_compile) 2>&5
8216
echo "$as_me:8216: \$? = $ac_status" >&5
8217
(exit $ac_status); } &&
8218
{ ac_try='test -s conftest.$ac_objext'
8219
{ (eval echo "$as_me:8219: \"$ac_try\"") >&5
8222
echo "$as_me:8222: \$? = $ac_status" >&5
8223
(exit $ac_status); }; }; then
8224
ac_lo=$ac_mid; break
8226
echo "$as_me: failed program was:" >&5
8227
cat conftest.$ac_ext >&5
8228
ac_hi=`expr $ac_mid - 1`; ac_mid=`expr 2 '*' $ac_mid`
8230
rm -f conftest.$ac_objext conftest.$ac_ext
8233
rm -f conftest.$ac_objext conftest.$ac_ext
8234
# Binary search between lo and hi bounds.
8235
while test "x$ac_lo" != "x$ac_hi"; do
8236
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
8237
cat >conftest.$ac_ext <<_ACEOF
8238
#line 8238 "configure"
8239
#include "confdefs.h"
8240
$ac_includes_default
8244
int _array_ [1 - 2 * !((sizeof (long)) <= $ac_mid)]
8249
rm -f conftest.$ac_objext
8250
if { (eval echo "$as_me:8250: \"$ac_compile\"") >&5
8251
(eval $ac_compile) 2>&5
8253
echo "$as_me:8253: \$? = $ac_status" >&5
8254
(exit $ac_status); } &&
8255
{ ac_try='test -s conftest.$ac_objext'
8256
{ (eval echo "$as_me:8256: \"$ac_try\"") >&5
8259
echo "$as_me:8259: \$? = $ac_status" >&5
8260
(exit $ac_status); }; }; then
8263
echo "$as_me: failed program was:" >&5
8264
cat conftest.$ac_ext >&5
8265
ac_lo=`expr $ac_mid + 1`
8267
rm -f conftest.$ac_objext conftest.$ac_ext
8269
ac_cv_sizeof_long=$ac_lo
8271
if test "$cross_compiling" = yes; then
8272
{ { echo "$as_me:8272: error: cannot run test program while cross compiling" >&5
8273
echo "$as_me: error: cannot run test program while cross compiling" >&2;}
8274
{ (exit 1); exit 1; }; }
8276
cat >conftest.$ac_ext <<_ACEOF
8277
#line 8277 "configure"
8278
#include "confdefs.h"
8279
$ac_includes_default
8283
FILE *f = fopen ("conftest.val", "w");
8286
fprintf (f, "%d", (sizeof (long)));
8292
rm -f conftest$ac_exeext
8293
if { (eval echo "$as_me:8293: \"$ac_link\"") >&5
8294
(eval $ac_link) 2>&5
8296
echo "$as_me:8296: \$? = $ac_status" >&5
8297
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8298
{ (eval echo "$as_me:8298: \"$ac_try\"") >&5
8301
echo "$as_me:8301: \$? = $ac_status" >&5
8302
(exit $ac_status); }; }; then
8303
ac_cv_sizeof_long=`cat conftest.val`
8305
echo "$as_me: program exited with status $ac_status" >&5
8306
echo "$as_me: failed program was:" >&5
8307
cat conftest.$ac_ext >&5
8309
rm -f core core.* *.core conftest$ac_exeext conftest.$ac_ext
8317
echo "$as_me:8317: result: $ac_cv_sizeof_long" >&5
8318
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
8319
cat >>confdefs.h <<EOF
8320
#define SIZEOF_LONG $ac_cv_sizeof_long
8324
*) { { echo "$as_me:8324: error: Cross-compiling needs explicit SIZEOF_LONG" >&5
8325
echo "$as_me: error: Cross-compiling needs explicit SIZEOF_LONG" >&2;}
8326
{ (exit 1); exit 1; }; }
8332
echo "$as_me:8332: checking for s_char" >&5
15296
echo "$as_me:$LINENO: checking for signed char" >&5
15297
echo $ECHO_N "checking for signed char... $ECHO_C" >&6
15298
if test "${ac_cv_type_signed_char+set}" = set; then
15299
echo $ECHO_N "(cached) $ECHO_C" >&6
15301
cat >conftest.$ac_ext <<_ACEOF
15304
cat confdefs.h >>conftest.$ac_ext
15305
cat >>conftest.$ac_ext <<_ACEOF
15306
/* end confdefs.h. */
15307
$ac_includes_default
15311
if ((signed char *) 0)
15313
if (sizeof (signed char))
15319
rm -f conftest.$ac_objext
15320
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15321
(eval $ac_compile) 2>conftest.er1
15323
grep -v '^ *+' conftest.er1 >conftest.err
15325
cat conftest.err >&5
15326
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15327
(exit $ac_status); } &&
15328
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15329
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330
(eval $ac_try) 2>&5
15332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333
(exit $ac_status); }; } &&
15334
{ ac_try='test -s conftest.$ac_objext'
15335
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336
(eval $ac_try) 2>&5
15338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339
(exit $ac_status); }; }; then
15340
ac_cv_type_signed_char=yes
15342
echo "$as_me: failed program was:" >&5
15343
sed 's/^/| /' conftest.$ac_ext >&5
15345
ac_cv_type_signed_char=no
15347
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15349
echo "$as_me:$LINENO: result: $ac_cv_type_signed_char" >&5
15350
echo "${ECHO_T}$ac_cv_type_signed_char" >&6
15352
echo "$as_me:$LINENO: checking size of signed char" >&5
15353
echo $ECHO_N "checking size of signed char... $ECHO_C" >&6
15354
if test "${ac_cv_sizeof_signed_char+set}" = set; then
15355
echo $ECHO_N "(cached) $ECHO_C" >&6
15357
if test "$ac_cv_type_signed_char" = yes; then
15358
# The cast to unsigned long works around a bug in the HP C Compiler
15359
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15360
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15361
# This bug is HP SR number 8606223364.
15362
if test "$cross_compiling" = yes; then
15363
# Depending upon the size, compute the lo and hi bounds.
15364
cat >conftest.$ac_ext <<_ACEOF
15367
cat confdefs.h >>conftest.$ac_ext
15368
cat >>conftest.$ac_ext <<_ACEOF
15369
/* end confdefs.h. */
15370
$ac_includes_default
15374
static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= 0)];
15381
rm -f conftest.$ac_objext
15382
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15383
(eval $ac_compile) 2>conftest.er1
15385
grep -v '^ *+' conftest.er1 >conftest.err
15387
cat conftest.err >&5
15388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389
(exit $ac_status); } &&
15390
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15391
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15392
(eval $ac_try) 2>&5
15394
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15395
(exit $ac_status); }; } &&
15396
{ ac_try='test -s conftest.$ac_objext'
15397
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15398
(eval $ac_try) 2>&5
15400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401
(exit $ac_status); }; }; then
15404
cat >conftest.$ac_ext <<_ACEOF
15407
cat confdefs.h >>conftest.$ac_ext
15408
cat >>conftest.$ac_ext <<_ACEOF
15409
/* end confdefs.h. */
15410
$ac_includes_default
15414
static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
15421
rm -f conftest.$ac_objext
15422
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15423
(eval $ac_compile) 2>conftest.er1
15425
grep -v '^ *+' conftest.er1 >conftest.err
15427
cat conftest.err >&5
15428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15429
(exit $ac_status); } &&
15430
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15432
(eval $ac_try) 2>&5
15434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435
(exit $ac_status); }; } &&
15436
{ ac_try='test -s conftest.$ac_objext'
15437
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438
(eval $ac_try) 2>&5
15440
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441
(exit $ac_status); }; }; then
15442
ac_hi=$ac_mid; break
15444
echo "$as_me: failed program was:" >&5
15445
sed 's/^/| /' conftest.$ac_ext >&5
15447
ac_lo=`expr $ac_mid + 1`
15448
if test $ac_lo -le $ac_mid; then
15452
ac_mid=`expr 2 '*' $ac_mid + 1`
15454
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15457
echo "$as_me: failed program was:" >&5
15458
sed 's/^/| /' conftest.$ac_ext >&5
15460
cat >conftest.$ac_ext <<_ACEOF
15463
cat confdefs.h >>conftest.$ac_ext
15464
cat >>conftest.$ac_ext <<_ACEOF
15465
/* end confdefs.h. */
15466
$ac_includes_default
15470
static int test_array [1 - 2 * !(((long) (sizeof (signed char))) < 0)];
15477
rm -f conftest.$ac_objext
15478
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15479
(eval $ac_compile) 2>conftest.er1
15481
grep -v '^ *+' conftest.er1 >conftest.err
15483
cat conftest.err >&5
15484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485
(exit $ac_status); } &&
15486
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15487
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15488
(eval $ac_try) 2>&5
15490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491
(exit $ac_status); }; } &&
15492
{ ac_try='test -s conftest.$ac_objext'
15493
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15494
(eval $ac_try) 2>&5
15496
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15497
(exit $ac_status); }; }; then
15500
cat >conftest.$ac_ext <<_ACEOF
15503
cat confdefs.h >>conftest.$ac_ext
15504
cat >>conftest.$ac_ext <<_ACEOF
15505
/* end confdefs.h. */
15506
$ac_includes_default
15510
static int test_array [1 - 2 * !(((long) (sizeof (signed char))) >= $ac_mid)];
15517
rm -f conftest.$ac_objext
15518
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15519
(eval $ac_compile) 2>conftest.er1
15521
grep -v '^ *+' conftest.er1 >conftest.err
15523
cat conftest.err >&5
15524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525
(exit $ac_status); } &&
15526
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528
(eval $ac_try) 2>&5
15530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531
(exit $ac_status); }; } &&
15532
{ ac_try='test -s conftest.$ac_objext'
15533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534
(eval $ac_try) 2>&5
15536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537
(exit $ac_status); }; }; then
15538
ac_lo=$ac_mid; break
15540
echo "$as_me: failed program was:" >&5
15541
sed 's/^/| /' conftest.$ac_ext >&5
15543
ac_hi=`expr '(' $ac_mid ')' - 1`
15544
if test $ac_mid -le $ac_hi; then
15548
ac_mid=`expr 2 '*' $ac_mid`
15550
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15553
echo "$as_me: failed program was:" >&5
15554
sed 's/^/| /' conftest.$ac_ext >&5
15558
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15560
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561
# Binary search between lo and hi bounds.
15562
while test "x$ac_lo" != "x$ac_hi"; do
15563
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15564
cat >conftest.$ac_ext <<_ACEOF
15567
cat confdefs.h >>conftest.$ac_ext
15568
cat >>conftest.$ac_ext <<_ACEOF
15569
/* end confdefs.h. */
15570
$ac_includes_default
15574
static int test_array [1 - 2 * !(((long) (sizeof (signed char))) <= $ac_mid)];
15581
rm -f conftest.$ac_objext
15582
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15583
(eval $ac_compile) 2>conftest.er1
15585
grep -v '^ *+' conftest.er1 >conftest.err
15587
cat conftest.err >&5
15588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589
(exit $ac_status); } &&
15590
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15591
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15592
(eval $ac_try) 2>&5
15594
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595
(exit $ac_status); }; } &&
15596
{ ac_try='test -s conftest.$ac_objext'
15597
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598
(eval $ac_try) 2>&5
15600
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601
(exit $ac_status); }; }; then
15604
echo "$as_me: failed program was:" >&5
15605
sed 's/^/| /' conftest.$ac_ext >&5
15607
ac_lo=`expr '(' $ac_mid ')' + 1`
15609
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15612
?*) ac_cv_sizeof_signed_char=$ac_lo;;
15613
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77
15614
See \`config.log' for more details." >&5
15615
echo "$as_me: error: cannot compute sizeof (signed char), 77
15616
See \`config.log' for more details." >&2;}
15617
{ (exit 1); exit 1; }; } ;;
15620
if test "$cross_compiling" = yes; then
15621
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
15622
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
15623
{ (exit 1); exit 1; }; }
15625
cat >conftest.$ac_ext <<_ACEOF
15628
cat confdefs.h >>conftest.$ac_ext
15629
cat >>conftest.$ac_ext <<_ACEOF
15630
/* end confdefs.h. */
15631
$ac_includes_default
15632
long longval () { return (long) (sizeof (signed char)); }
15633
unsigned long ulongval () { return (long) (sizeof (signed char)); }
15635
#include <stdlib.h>
15640
FILE *f = fopen ("conftest.val", "w");
15643
if (((long) (sizeof (signed char))) < 0)
15645
long i = longval ();
15646
if (i != ((long) (sizeof (signed char))))
15648
fprintf (f, "%ld\n", i);
15652
unsigned long i = ulongval ();
15653
if (i != ((long) (sizeof (signed char))))
15655
fprintf (f, "%lu\n", i);
15657
exit (ferror (f) || fclose (f) != 0);
15663
rm -f conftest$ac_exeext
15664
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15665
(eval $ac_link) 2>&5
15667
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15669
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15670
(eval $ac_try) 2>&5
15672
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673
(exit $ac_status); }; }; then
15674
ac_cv_sizeof_signed_char=`cat conftest.val`
15676
echo "$as_me: program exited with status $ac_status" >&5
15677
echo "$as_me: failed program was:" >&5
15678
sed 's/^/| /' conftest.$ac_ext >&5
15680
( exit $ac_status )
15681
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (signed char), 77
15682
See \`config.log' for more details." >&5
15683
echo "$as_me: error: cannot compute sizeof (signed char), 77
15684
See \`config.log' for more details." >&2;}
15685
{ (exit 1); exit 1; }; }
15687
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15692
ac_cv_sizeof_signed_char=0
15695
echo "$as_me:$LINENO: result: $ac_cv_sizeof_signed_char" >&5
15696
echo "${ECHO_T}$ac_cv_sizeof_signed_char" >&6
15697
cat >>confdefs.h <<_ACEOF
15698
#define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char
15702
echo "$as_me:$LINENO: checking for int" >&5
15703
echo $ECHO_N "checking for int... $ECHO_C" >&6
15704
if test "${ac_cv_type_int+set}" = set; then
15705
echo $ECHO_N "(cached) $ECHO_C" >&6
15707
cat >conftest.$ac_ext <<_ACEOF
15710
cat confdefs.h >>conftest.$ac_ext
15711
cat >>conftest.$ac_ext <<_ACEOF
15712
/* end confdefs.h. */
15713
$ac_includes_default
15725
rm -f conftest.$ac_objext
15726
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15727
(eval $ac_compile) 2>conftest.er1
15729
grep -v '^ *+' conftest.er1 >conftest.err
15731
cat conftest.err >&5
15732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733
(exit $ac_status); } &&
15734
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15735
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736
(eval $ac_try) 2>&5
15738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739
(exit $ac_status); }; } &&
15740
{ ac_try='test -s conftest.$ac_objext'
15741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742
(eval $ac_try) 2>&5
15744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745
(exit $ac_status); }; }; then
15748
echo "$as_me: failed program was:" >&5
15749
sed 's/^/| /' conftest.$ac_ext >&5
15753
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15755
echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
15756
echo "${ECHO_T}$ac_cv_type_int" >&6
15758
echo "$as_me:$LINENO: checking size of int" >&5
15759
echo $ECHO_N "checking size of int... $ECHO_C" >&6
15760
if test "${ac_cv_sizeof_int+set}" = set; then
15761
echo $ECHO_N "(cached) $ECHO_C" >&6
15763
if test "$ac_cv_type_int" = yes; then
15764
# The cast to unsigned long works around a bug in the HP C Compiler
15765
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15766
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15767
# This bug is HP SR number 8606223364.
15768
if test "$cross_compiling" = yes; then
15769
# Depending upon the size, compute the lo and hi bounds.
15770
cat >conftest.$ac_ext <<_ACEOF
15773
cat confdefs.h >>conftest.$ac_ext
15774
cat >>conftest.$ac_ext <<_ACEOF
15775
/* end confdefs.h. */
15776
$ac_includes_default
15780
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
15787
rm -f conftest.$ac_objext
15788
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15789
(eval $ac_compile) 2>conftest.er1
15791
grep -v '^ *+' conftest.er1 >conftest.err
15793
cat conftest.err >&5
15794
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795
(exit $ac_status); } &&
15796
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15797
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798
(eval $ac_try) 2>&5
15800
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801
(exit $ac_status); }; } &&
15802
{ ac_try='test -s conftest.$ac_objext'
15803
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804
(eval $ac_try) 2>&5
15806
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807
(exit $ac_status); }; }; then
15810
cat >conftest.$ac_ext <<_ACEOF
15813
cat confdefs.h >>conftest.$ac_ext
15814
cat >>conftest.$ac_ext <<_ACEOF
15815
/* end confdefs.h. */
15816
$ac_includes_default
15820
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15827
rm -f conftest.$ac_objext
15828
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829
(eval $ac_compile) 2>conftest.er1
15831
grep -v '^ *+' conftest.er1 >conftest.err
15833
cat conftest.err >&5
15834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835
(exit $ac_status); } &&
15836
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15838
(eval $ac_try) 2>&5
15840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841
(exit $ac_status); }; } &&
15842
{ ac_try='test -s conftest.$ac_objext'
15843
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844
(eval $ac_try) 2>&5
15846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847
(exit $ac_status); }; }; then
15848
ac_hi=$ac_mid; break
15850
echo "$as_me: failed program was:" >&5
15851
sed 's/^/| /' conftest.$ac_ext >&5
15853
ac_lo=`expr $ac_mid + 1`
15854
if test $ac_lo -le $ac_mid; then
15858
ac_mid=`expr 2 '*' $ac_mid + 1`
15860
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15863
echo "$as_me: failed program was:" >&5
15864
sed 's/^/| /' conftest.$ac_ext >&5
15866
cat >conftest.$ac_ext <<_ACEOF
15869
cat confdefs.h >>conftest.$ac_ext
15870
cat >>conftest.$ac_ext <<_ACEOF
15871
/* end confdefs.h. */
15872
$ac_includes_default
15876
static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
15883
rm -f conftest.$ac_objext
15884
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15885
(eval $ac_compile) 2>conftest.er1
15887
grep -v '^ *+' conftest.er1 >conftest.err
15889
cat conftest.err >&5
15890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891
(exit $ac_status); } &&
15892
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15893
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15894
(eval $ac_try) 2>&5
15896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897
(exit $ac_status); }; } &&
15898
{ ac_try='test -s conftest.$ac_objext'
15899
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900
(eval $ac_try) 2>&5
15902
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903
(exit $ac_status); }; }; then
15906
cat >conftest.$ac_ext <<_ACEOF
15909
cat confdefs.h >>conftest.$ac_ext
15910
cat >>conftest.$ac_ext <<_ACEOF
15911
/* end confdefs.h. */
15912
$ac_includes_default
15916
static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
15923
rm -f conftest.$ac_objext
15924
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925
(eval $ac_compile) 2>conftest.er1
15927
grep -v '^ *+' conftest.er1 >conftest.err
15929
cat conftest.err >&5
15930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931
(exit $ac_status); } &&
15932
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934
(eval $ac_try) 2>&5
15936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937
(exit $ac_status); }; } &&
15938
{ ac_try='test -s conftest.$ac_objext'
15939
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940
(eval $ac_try) 2>&5
15942
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943
(exit $ac_status); }; }; then
15944
ac_lo=$ac_mid; break
15946
echo "$as_me: failed program was:" >&5
15947
sed 's/^/| /' conftest.$ac_ext >&5
15949
ac_hi=`expr '(' $ac_mid ')' - 1`
15950
if test $ac_mid -le $ac_hi; then
15954
ac_mid=`expr 2 '*' $ac_mid`
15956
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15959
echo "$as_me: failed program was:" >&5
15960
sed 's/^/| /' conftest.$ac_ext >&5
15964
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15966
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15967
# Binary search between lo and hi bounds.
15968
while test "x$ac_lo" != "x$ac_hi"; do
15969
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15970
cat >conftest.$ac_ext <<_ACEOF
15973
cat confdefs.h >>conftest.$ac_ext
15974
cat >>conftest.$ac_ext <<_ACEOF
15975
/* end confdefs.h. */
15976
$ac_includes_default
15980
static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
15987
rm -f conftest.$ac_objext
15988
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15989
(eval $ac_compile) 2>conftest.er1
15991
grep -v '^ *+' conftest.er1 >conftest.err
15993
cat conftest.err >&5
15994
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995
(exit $ac_status); } &&
15996
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15997
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15998
(eval $ac_try) 2>&5
16000
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16001
(exit $ac_status); }; } &&
16002
{ ac_try='test -s conftest.$ac_objext'
16003
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004
(eval $ac_try) 2>&5
16006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007
(exit $ac_status); }; }; then
16010
echo "$as_me: failed program was:" >&5
16011
sed 's/^/| /' conftest.$ac_ext >&5
16013
ac_lo=`expr '(' $ac_mid ')' + 1`
16015
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16018
?*) ac_cv_sizeof_int=$ac_lo;;
16019
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16020
See \`config.log' for more details." >&5
16021
echo "$as_me: error: cannot compute sizeof (int), 77
16022
See \`config.log' for more details." >&2;}
16023
{ (exit 1); exit 1; }; } ;;
16026
if test "$cross_compiling" = yes; then
16027
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16028
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16029
{ (exit 1); exit 1; }; }
16031
cat >conftest.$ac_ext <<_ACEOF
16034
cat confdefs.h >>conftest.$ac_ext
16035
cat >>conftest.$ac_ext <<_ACEOF
16036
/* end confdefs.h. */
16037
$ac_includes_default
16038
long longval () { return (long) (sizeof (int)); }
16039
unsigned long ulongval () { return (long) (sizeof (int)); }
16041
#include <stdlib.h>
16046
FILE *f = fopen ("conftest.val", "w");
16049
if (((long) (sizeof (int))) < 0)
16051
long i = longval ();
16052
if (i != ((long) (sizeof (int))))
16054
fprintf (f, "%ld\n", i);
16058
unsigned long i = ulongval ();
16059
if (i != ((long) (sizeof (int))))
16061
fprintf (f, "%lu\n", i);
16063
exit (ferror (f) || fclose (f) != 0);
16069
rm -f conftest$ac_exeext
16070
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16071
(eval $ac_link) 2>&5
16073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16074
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16075
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16076
(eval $ac_try) 2>&5
16078
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079
(exit $ac_status); }; }; then
16080
ac_cv_sizeof_int=`cat conftest.val`
16082
echo "$as_me: program exited with status $ac_status" >&5
16083
echo "$as_me: failed program was:" >&5
16084
sed 's/^/| /' conftest.$ac_ext >&5
16086
( exit $ac_status )
16087
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16088
See \`config.log' for more details." >&5
16089
echo "$as_me: error: cannot compute sizeof (int), 77
16090
See \`config.log' for more details." >&2;}
16091
{ (exit 1); exit 1; }; }
16093
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16101
echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16102
echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16103
cat >>confdefs.h <<_ACEOF
16104
#define SIZEOF_INT $ac_cv_sizeof_int
16108
echo "$as_me:$LINENO: checking for long" >&5
16109
echo $ECHO_N "checking for long... $ECHO_C" >&6
16110
if test "${ac_cv_type_long+set}" = set; then
16111
echo $ECHO_N "(cached) $ECHO_C" >&6
16113
cat >conftest.$ac_ext <<_ACEOF
16116
cat confdefs.h >>conftest.$ac_ext
16117
cat >>conftest.$ac_ext <<_ACEOF
16118
/* end confdefs.h. */
16119
$ac_includes_default
16131
rm -f conftest.$ac_objext
16132
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16133
(eval $ac_compile) 2>conftest.er1
16135
grep -v '^ *+' conftest.er1 >conftest.err
16137
cat conftest.err >&5
16138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16139
(exit $ac_status); } &&
16140
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16141
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16142
(eval $ac_try) 2>&5
16144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16145
(exit $ac_status); }; } &&
16146
{ ac_try='test -s conftest.$ac_objext'
16147
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16148
(eval $ac_try) 2>&5
16150
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16151
(exit $ac_status); }; }; then
16152
ac_cv_type_long=yes
16154
echo "$as_me: failed program was:" >&5
16155
sed 's/^/| /' conftest.$ac_ext >&5
16159
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16161
echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16162
echo "${ECHO_T}$ac_cv_type_long" >&6
16164
echo "$as_me:$LINENO: checking size of long" >&5
16165
echo $ECHO_N "checking size of long... $ECHO_C" >&6
16166
if test "${ac_cv_sizeof_long+set}" = set; then
16167
echo $ECHO_N "(cached) $ECHO_C" >&6
16169
if test "$ac_cv_type_long" = yes; then
16170
# The cast to unsigned long works around a bug in the HP C Compiler
16171
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16172
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16173
# This bug is HP SR number 8606223364.
16174
if test "$cross_compiling" = yes; then
16175
# Depending upon the size, compute the lo and hi bounds.
16176
cat >conftest.$ac_ext <<_ACEOF
16179
cat confdefs.h >>conftest.$ac_ext
16180
cat >>conftest.$ac_ext <<_ACEOF
16181
/* end confdefs.h. */
16182
$ac_includes_default
16186
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16193
rm -f conftest.$ac_objext
16194
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16195
(eval $ac_compile) 2>conftest.er1
16197
grep -v '^ *+' conftest.er1 >conftest.err
16199
cat conftest.err >&5
16200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201
(exit $ac_status); } &&
16202
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16203
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16204
(eval $ac_try) 2>&5
16206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16207
(exit $ac_status); }; } &&
16208
{ ac_try='test -s conftest.$ac_objext'
16209
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16210
(eval $ac_try) 2>&5
16212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213
(exit $ac_status); }; }; then
16216
cat >conftest.$ac_ext <<_ACEOF
16219
cat confdefs.h >>conftest.$ac_ext
16220
cat >>conftest.$ac_ext <<_ACEOF
16221
/* end confdefs.h. */
16222
$ac_includes_default
16226
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16233
rm -f conftest.$ac_objext
16234
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235
(eval $ac_compile) 2>conftest.er1
16237
grep -v '^ *+' conftest.er1 >conftest.err
16239
cat conftest.err >&5
16240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241
(exit $ac_status); } &&
16242
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16243
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16244
(eval $ac_try) 2>&5
16246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247
(exit $ac_status); }; } &&
16248
{ ac_try='test -s conftest.$ac_objext'
16249
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16250
(eval $ac_try) 2>&5
16252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253
(exit $ac_status); }; }; then
16254
ac_hi=$ac_mid; break
16256
echo "$as_me: failed program was:" >&5
16257
sed 's/^/| /' conftest.$ac_ext >&5
16259
ac_lo=`expr $ac_mid + 1`
16260
if test $ac_lo -le $ac_mid; then
16264
ac_mid=`expr 2 '*' $ac_mid + 1`
16266
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16269
echo "$as_me: failed program was:" >&5
16270
sed 's/^/| /' conftest.$ac_ext >&5
16272
cat >conftest.$ac_ext <<_ACEOF
16275
cat confdefs.h >>conftest.$ac_ext
16276
cat >>conftest.$ac_ext <<_ACEOF
16277
/* end confdefs.h. */
16278
$ac_includes_default
16282
static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16289
rm -f conftest.$ac_objext
16290
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16291
(eval $ac_compile) 2>conftest.er1
16293
grep -v '^ *+' conftest.er1 >conftest.err
16295
cat conftest.err >&5
16296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297
(exit $ac_status); } &&
16298
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16299
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16300
(eval $ac_try) 2>&5
16302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303
(exit $ac_status); }; } &&
16304
{ ac_try='test -s conftest.$ac_objext'
16305
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16306
(eval $ac_try) 2>&5
16308
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309
(exit $ac_status); }; }; then
16312
cat >conftest.$ac_ext <<_ACEOF
16315
cat confdefs.h >>conftest.$ac_ext
16316
cat >>conftest.$ac_ext <<_ACEOF
16317
/* end confdefs.h. */
16318
$ac_includes_default
16322
static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16329
rm -f conftest.$ac_objext
16330
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331
(eval $ac_compile) 2>conftest.er1
16333
grep -v '^ *+' conftest.er1 >conftest.err
16335
cat conftest.err >&5
16336
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337
(exit $ac_status); } &&
16338
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16339
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16340
(eval $ac_try) 2>&5
16342
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16343
(exit $ac_status); }; } &&
16344
{ ac_try='test -s conftest.$ac_objext'
16345
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16346
(eval $ac_try) 2>&5
16348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349
(exit $ac_status); }; }; then
16350
ac_lo=$ac_mid; break
16352
echo "$as_me: failed program was:" >&5
16353
sed 's/^/| /' conftest.$ac_ext >&5
16355
ac_hi=`expr '(' $ac_mid ')' - 1`
16356
if test $ac_mid -le $ac_hi; then
16360
ac_mid=`expr 2 '*' $ac_mid`
16362
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16365
echo "$as_me: failed program was:" >&5
16366
sed 's/^/| /' conftest.$ac_ext >&5
16370
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16372
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16373
# Binary search between lo and hi bounds.
16374
while test "x$ac_lo" != "x$ac_hi"; do
16375
ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16376
cat >conftest.$ac_ext <<_ACEOF
16379
cat confdefs.h >>conftest.$ac_ext
16380
cat >>conftest.$ac_ext <<_ACEOF
16381
/* end confdefs.h. */
16382
$ac_includes_default
16386
static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16393
rm -f conftest.$ac_objext
16394
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16395
(eval $ac_compile) 2>conftest.er1
16397
grep -v '^ *+' conftest.er1 >conftest.err
16399
cat conftest.err >&5
16400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16401
(exit $ac_status); } &&
16402
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16403
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16404
(eval $ac_try) 2>&5
16406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407
(exit $ac_status); }; } &&
16408
{ ac_try='test -s conftest.$ac_objext'
16409
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16410
(eval $ac_try) 2>&5
16412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413
(exit $ac_status); }; }; then
16416
echo "$as_me: failed program was:" >&5
16417
sed 's/^/| /' conftest.$ac_ext >&5
16419
ac_lo=`expr '(' $ac_mid ')' + 1`
16421
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16424
?*) ac_cv_sizeof_long=$ac_lo;;
16425
'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16426
See \`config.log' for more details." >&5
16427
echo "$as_me: error: cannot compute sizeof (long), 77
16428
See \`config.log' for more details." >&2;}
16429
{ (exit 1); exit 1; }; } ;;
16432
if test "$cross_compiling" = yes; then
16433
{ { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
16434
echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
16435
{ (exit 1); exit 1; }; }
16437
cat >conftest.$ac_ext <<_ACEOF
16440
cat confdefs.h >>conftest.$ac_ext
16441
cat >>conftest.$ac_ext <<_ACEOF
16442
/* end confdefs.h. */
16443
$ac_includes_default
16444
long longval () { return (long) (sizeof (long)); }
16445
unsigned long ulongval () { return (long) (sizeof (long)); }
16447
#include <stdlib.h>
16452
FILE *f = fopen ("conftest.val", "w");
16455
if (((long) (sizeof (long))) < 0)
16457
long i = longval ();
16458
if (i != ((long) (sizeof (long))))
16460
fprintf (f, "%ld\n", i);
16464
unsigned long i = ulongval ();
16465
if (i != ((long) (sizeof (long))))
16467
fprintf (f, "%lu\n", i);
16469
exit (ferror (f) || fclose (f) != 0);
16475
rm -f conftest$ac_exeext
16476
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16477
(eval $ac_link) 2>&5
16479
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16481
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16482
(eval $ac_try) 2>&5
16484
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16485
(exit $ac_status); }; }; then
16486
ac_cv_sizeof_long=`cat conftest.val`
16488
echo "$as_me: program exited with status $ac_status" >&5
16489
echo "$as_me: failed program was:" >&5
16490
sed 's/^/| /' conftest.$ac_ext >&5
16492
( exit $ac_status )
16493
{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16494
See \`config.log' for more details." >&5
16495
echo "$as_me: error: cannot compute sizeof (long), 77
16496
See \`config.log' for more details." >&2;}
16497
{ (exit 1); exit 1; }; }
16499
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16504
ac_cv_sizeof_long=0
16507
echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16508
echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16509
cat >>confdefs.h <<_ACEOF
16510
#define SIZEOF_LONG $ac_cv_sizeof_long
16515
echo "$as_me:$LINENO: checking for s_char" >&5
8333
16516
echo $ECHO_N "checking for s_char... $ECHO_C" >&6
8334
16517
if test "${ac_cv_type_s_char+set}" = set; then
8335
16518
echo $ECHO_N "(cached) $ECHO_C" >&6
8337
16520
cat >conftest.$ac_ext <<_ACEOF
8338
#line 8338 "configure"
8339
#include "confdefs.h"
16523
cat confdefs.h >>conftest.$ac_ext
16524
cat >>conftest.$ac_ext <<_ACEOF
16525
/* end confdefs.h. */
8340
16526
$ac_includes_default
9743
18813
for ac_func in sched_setscheduler
9745
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9746
echo "$as_me:9746: checking for $ac_func" >&5
9747
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9748
if eval "test \"\${$ac_ac_var+set}\" = set"; then
9749
echo $ECHO_N "(cached) $ECHO_C" >&6
9751
cat >conftest.$ac_ext <<_ACEOF
9752
#line 9752 "configure"
9753
#include "confdefs.h"
9754
/* System header to define __stub macros and hopefully few prototypes,
9755
which can conflict with char $ac_func (); below. */
9757
/* Override any gcc2 internal prototype to avoid an error. */
9761
/* We use char because int might match the return type of a gcc2
9762
builtin and then its argument prototype would still apply. */
9769
/* The GNU C library defines this for functions which it implements
9770
to always fail with ENOSYS. Some functions are actually named
9771
something starting with __ and the normal name is an alias. */
9772
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9782
rm -f conftest.$ac_objext conftest$ac_exeext
9783
if { (eval echo "$as_me:9783: \"$ac_link\"") >&5
9784
(eval $ac_link) 2>&5
9786
echo "$as_me:9786: \$? = $ac_status" >&5
9787
(exit $ac_status); } &&
9788
{ ac_try='test -s conftest$ac_exeext'
9789
{ (eval echo "$as_me:9789: \"$ac_try\"") >&5
9792
echo "$as_me:9792: \$? = $ac_status" >&5
9793
(exit $ac_status); }; }; then
9794
eval "$ac_ac_var=yes"
9796
echo "$as_me: failed program was:" >&5
9797
cat conftest.$ac_ext >&5
9798
eval "$ac_ac_var=no"
9800
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9802
echo "$as_me:9802: result: `eval echo '${'$ac_ac_var'}'`" >&5
9803
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9804
if test `eval echo '${'$ac_ac_var'}'` = yes; then
9805
cat >>confdefs.h <<EOF
9806
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9815
for ac_func in setlinebuf
9817
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9818
echo "$as_me:9818: checking for $ac_func" >&5
9819
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9820
if eval "test \"\${$ac_ac_var+set}\" = set"; then
9821
echo $ECHO_N "(cached) $ECHO_C" >&6
9823
cat >conftest.$ac_ext <<_ACEOF
9824
#line 9824 "configure"
9825
#include "confdefs.h"
9826
/* System header to define __stub macros and hopefully few prototypes,
9827
which can conflict with char $ac_func (); below. */
9829
/* Override any gcc2 internal prototype to avoid an error. */
9833
/* We use char because int might match the return type of a gcc2
9834
builtin and then its argument prototype would still apply. */
9841
/* The GNU C library defines this for functions which it implements
9842
to always fail with ENOSYS. Some functions are actually named
9843
something starting with __ and the normal name is an alias. */
9844
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9854
rm -f conftest.$ac_objext conftest$ac_exeext
9855
if { (eval echo "$as_me:9855: \"$ac_link\"") >&5
9856
(eval $ac_link) 2>&5
9858
echo "$as_me:9858: \$? = $ac_status" >&5
9859
(exit $ac_status); } &&
9860
{ ac_try='test -s conftest$ac_exeext'
9861
{ (eval echo "$as_me:9861: \"$ac_try\"") >&5
9864
echo "$as_me:9864: \$? = $ac_status" >&5
9865
(exit $ac_status); }; }; then
9866
eval "$ac_ac_var=yes"
9868
echo "$as_me: failed program was:" >&5
9869
cat conftest.$ac_ext >&5
9870
eval "$ac_ac_var=no"
9872
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9874
echo "$as_me:9874: result: `eval echo '${'$ac_ac_var'}'`" >&5
9875
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9876
if test `eval echo '${'$ac_ac_var'}'` = yes; then
9877
cat >>confdefs.h <<EOF
9878
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
9884
for ac_func in setpgid setpriority setsid settimeofday setvbuf sigaction
9886
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9887
echo "$as_me:9887: checking for $ac_func" >&5
9888
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9889
if eval "test \"\${$ac_ac_var+set}\" = set"; then
9890
echo $ECHO_N "(cached) $ECHO_C" >&6
9892
cat >conftest.$ac_ext <<_ACEOF
9893
#line 9893 "configure"
9894
#include "confdefs.h"
9895
/* System header to define __stub macros and hopefully few prototypes,
9896
which can conflict with char $ac_func (); below. */
9898
/* Override any gcc2 internal prototype to avoid an error. */
9902
/* We use char because int might match the return type of a gcc2
9903
builtin and then its argument prototype would still apply. */
9910
/* The GNU C library defines this for functions which it implements
9911
to always fail with ENOSYS. Some functions are actually named
9912
something starting with __ and the normal name is an alias. */
9913
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9923
rm -f conftest.$ac_objext conftest$ac_exeext
9924
if { (eval echo "$as_me:9924: \"$ac_link\"") >&5
9925
(eval $ac_link) 2>&5
9927
echo "$as_me:9927: \$? = $ac_status" >&5
9928
(exit $ac_status); } &&
9929
{ ac_try='test -s conftest$ac_exeext'
9930
{ (eval echo "$as_me:9930: \"$ac_try\"") >&5
9933
echo "$as_me:9933: \$? = $ac_status" >&5
9934
(exit $ac_status); }; }; then
9935
eval "$ac_ac_var=yes"
9937
echo "$as_me: failed program was:" >&5
9938
cat conftest.$ac_ext >&5
9939
eval "$ac_ac_var=no"
9941
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9943
echo "$as_me:9943: result: `eval echo '${'$ac_ac_var'}'`" >&5
9944
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
9945
if test `eval echo '${'$ac_ac_var'}'` = yes; then
9946
cat >>confdefs.h <<EOF
9947
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
18815
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18816
echo "$as_me:$LINENO: checking for $ac_func" >&5
18817
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18818
if eval "test \"\${$as_ac_var+set}\" = set"; then
18819
echo $ECHO_N "(cached) $ECHO_C" >&6
18821
cat >conftest.$ac_ext <<_ACEOF
18824
cat confdefs.h >>conftest.$ac_ext
18825
cat >>conftest.$ac_ext <<_ACEOF
18826
/* end confdefs.h. */
18827
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18828
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18829
#define $ac_func innocuous_$ac_func
18831
/* System header to define __stub macros and hopefully few prototypes,
18832
which can conflict with char $ac_func (); below.
18833
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18834
<limits.h> exists even on freestanding compilers. */
18837
# include <limits.h>
18839
# include <assert.h>
18844
/* Override any gcc2 internal prototype to avoid an error. */
18849
/* We use char because int might match the return type of a gcc2
18850
builtin and then its argument prototype would still apply. */
18852
/* The GNU C library defines this for functions which it implements
18853
to always fail with ENOSYS. Some functions are actually named
18854
something starting with __ and the normal name is an alias. */
18855
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18858
char (*f) () = $ac_func;
18867
return f != $ac_func;
18872
rm -f conftest.$ac_objext conftest$ac_exeext
18873
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18874
(eval $ac_link) 2>conftest.er1
18876
grep -v '^ *+' conftest.er1 >conftest.err
18878
cat conftest.err >&5
18879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18880
(exit $ac_status); } &&
18881
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18882
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18883
(eval $ac_try) 2>&5
18885
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886
(exit $ac_status); }; } &&
18887
{ ac_try='test -s conftest$ac_exeext'
18888
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889
(eval $ac_try) 2>&5
18891
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892
(exit $ac_status); }; }; then
18893
eval "$as_ac_var=yes"
18895
echo "$as_me: failed program was:" >&5
18896
sed 's/^/| /' conftest.$ac_ext >&5
18898
eval "$as_ac_var=no"
18900
rm -f conftest.err conftest.$ac_objext \
18901
conftest$ac_exeext conftest.$ac_ext
18903
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18904
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18905
if test `eval echo '${'$as_ac_var'}'` = yes; then
18906
cat >>confdefs.h <<_ACEOF
18907
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18919
for ac_func in setlinebuf setpgid setpriority setsid
18921
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18922
echo "$as_me:$LINENO: checking for $ac_func" >&5
18923
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18924
if eval "test \"\${$as_ac_var+set}\" = set"; then
18925
echo $ECHO_N "(cached) $ECHO_C" >&6
18927
cat >conftest.$ac_ext <<_ACEOF
18930
cat confdefs.h >>conftest.$ac_ext
18931
cat >>conftest.$ac_ext <<_ACEOF
18932
/* end confdefs.h. */
18933
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18934
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18935
#define $ac_func innocuous_$ac_func
18937
/* System header to define __stub macros and hopefully few prototypes,
18938
which can conflict with char $ac_func (); below.
18939
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18940
<limits.h> exists even on freestanding compilers. */
18943
# include <limits.h>
18945
# include <assert.h>
18950
/* Override any gcc2 internal prototype to avoid an error. */
18955
/* We use char because int might match the return type of a gcc2
18956
builtin and then its argument prototype would still apply. */
18958
/* The GNU C library defines this for functions which it implements
18959
to always fail with ENOSYS. Some functions are actually named
18960
something starting with __ and the normal name is an alias. */
18961
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18964
char (*f) () = $ac_func;
18973
return f != $ac_func;
18978
rm -f conftest.$ac_objext conftest$ac_exeext
18979
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980
(eval $ac_link) 2>conftest.er1
18982
grep -v '^ *+' conftest.er1 >conftest.err
18984
cat conftest.err >&5
18985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986
(exit $ac_status); } &&
18987
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18988
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989
(eval $ac_try) 2>&5
18991
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992
(exit $ac_status); }; } &&
18993
{ ac_try='test -s conftest$ac_exeext'
18994
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995
(eval $ac_try) 2>&5
18997
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998
(exit $ac_status); }; }; then
18999
eval "$as_ac_var=yes"
19001
echo "$as_me: failed program was:" >&5
19002
sed 's/^/| /' conftest.$ac_ext >&5
19004
eval "$as_ac_var=no"
19006
rm -f conftest.err conftest.$ac_objext \
19007
conftest$ac_exeext conftest.$ac_ext
19009
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19010
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19011
if test `eval echo '${'$as_ac_var'}'` = yes; then
19012
cat >>confdefs.h <<_ACEOF
19013
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19020
for ac_func in setrlimit
19022
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19023
echo "$as_me:$LINENO: checking for $ac_func" >&5
19024
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19025
if eval "test \"\${$as_ac_var+set}\" = set"; then
19026
echo $ECHO_N "(cached) $ECHO_C" >&6
19028
cat >conftest.$ac_ext <<_ACEOF
19031
cat confdefs.h >>conftest.$ac_ext
19032
cat >>conftest.$ac_ext <<_ACEOF
19033
/* end confdefs.h. */
19034
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19035
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19036
#define $ac_func innocuous_$ac_func
19038
/* System header to define __stub macros and hopefully few prototypes,
19039
which can conflict with char $ac_func (); below.
19040
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19041
<limits.h> exists even on freestanding compilers. */
19044
# include <limits.h>
19046
# include <assert.h>
19051
/* Override any gcc2 internal prototype to avoid an error. */
19056
/* We use char because int might match the return type of a gcc2
19057
builtin and then its argument prototype would still apply. */
19059
/* The GNU C library defines this for functions which it implements
19060
to always fail with ENOSYS. Some functions are actually named
19061
something starting with __ and the normal name is an alias. */
19062
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19065
char (*f) () = $ac_func;
19074
return f != $ac_func;
19079
rm -f conftest.$ac_objext conftest$ac_exeext
19080
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19081
(eval $ac_link) 2>conftest.er1
19083
grep -v '^ *+' conftest.er1 >conftest.err
19085
cat conftest.err >&5
19086
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087
(exit $ac_status); } &&
19088
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19089
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090
(eval $ac_try) 2>&5
19092
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093
(exit $ac_status); }; } &&
19094
{ ac_try='test -s conftest$ac_exeext'
19095
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19096
(eval $ac_try) 2>&5
19098
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099
(exit $ac_status); }; }; then
19100
eval "$as_ac_var=yes"
19102
echo "$as_me: failed program was:" >&5
19103
sed 's/^/| /' conftest.$ac_ext >&5
19105
eval "$as_ac_var=no"
19107
rm -f conftest.err conftest.$ac_objext \
19108
conftest$ac_exeext conftest.$ac_ext
19110
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19111
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19112
if test `eval echo '${'$as_ac_var'}'` = yes; then
19113
cat >>confdefs.h <<_ACEOF
19114
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19121
for ac_func in settimeofday
19123
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19124
echo "$as_me:$LINENO: checking for $ac_func" >&5
19125
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19126
if eval "test \"\${$as_ac_var+set}\" = set"; then
19127
echo $ECHO_N "(cached) $ECHO_C" >&6
19129
cat >conftest.$ac_ext <<_ACEOF
19132
cat confdefs.h >>conftest.$ac_ext
19133
cat >>conftest.$ac_ext <<_ACEOF
19134
/* end confdefs.h. */
19135
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19136
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19137
#define $ac_func innocuous_$ac_func
19139
/* System header to define __stub macros and hopefully few prototypes,
19140
which can conflict with char $ac_func (); below.
19141
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19142
<limits.h> exists even on freestanding compilers. */
19145
# include <limits.h>
19147
# include <assert.h>
19152
/* Override any gcc2 internal prototype to avoid an error. */
19157
/* We use char because int might match the return type of a gcc2
19158
builtin and then its argument prototype would still apply. */
19160
/* The GNU C library defines this for functions which it implements
19161
to always fail with ENOSYS. Some functions are actually named
19162
something starting with __ and the normal name is an alias. */
19163
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19166
char (*f) () = $ac_func;
19175
return f != $ac_func;
19180
rm -f conftest.$ac_objext conftest$ac_exeext
19181
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19182
(eval $ac_link) 2>conftest.er1
19184
grep -v '^ *+' conftest.er1 >conftest.err
19186
cat conftest.err >&5
19187
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188
(exit $ac_status); } &&
19189
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19190
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191
(eval $ac_try) 2>&5
19193
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194
(exit $ac_status); }; } &&
19195
{ ac_try='test -s conftest$ac_exeext'
19196
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197
(eval $ac_try) 2>&5
19199
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200
(exit $ac_status); }; }; then
19201
eval "$as_ac_var=yes"
19203
echo "$as_me: failed program was:" >&5
19204
sed 's/^/| /' conftest.$ac_ext >&5
19206
eval "$as_ac_var=no"
19208
rm -f conftest.err conftest.$ac_objext \
19209
conftest$ac_exeext conftest.$ac_ext
19211
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19212
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19213
if test `eval echo '${'$as_ac_var'}'` = yes; then
19214
cat >>confdefs.h <<_ACEOF
19215
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19221
*-*-mpeix*) ac_cv_func_settimeofday=yes
19229
for ac_func in setvbuf sigaction
19231
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19232
echo "$as_me:$LINENO: checking for $ac_func" >&5
19233
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19234
if eval "test \"\${$as_ac_var+set}\" = set"; then
19235
echo $ECHO_N "(cached) $ECHO_C" >&6
19237
cat >conftest.$ac_ext <<_ACEOF
19240
cat confdefs.h >>conftest.$ac_ext
19241
cat >>conftest.$ac_ext <<_ACEOF
19242
/* end confdefs.h. */
19243
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19244
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19245
#define $ac_func innocuous_$ac_func
19247
/* System header to define __stub macros and hopefully few prototypes,
19248
which can conflict with char $ac_func (); below.
19249
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19250
<limits.h> exists even on freestanding compilers. */
19253
# include <limits.h>
19255
# include <assert.h>
19260
/* Override any gcc2 internal prototype to avoid an error. */
19265
/* We use char because int might match the return type of a gcc2
19266
builtin and then its argument prototype would still apply. */
19268
/* The GNU C library defines this for functions which it implements
19269
to always fail with ENOSYS. Some functions are actually named
19270
something starting with __ and the normal name is an alias. */
19271
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19274
char (*f) () = $ac_func;
19283
return f != $ac_func;
19288
rm -f conftest.$ac_objext conftest$ac_exeext
19289
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19290
(eval $ac_link) 2>conftest.er1
19292
grep -v '^ *+' conftest.er1 >conftest.err
19294
cat conftest.err >&5
19295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296
(exit $ac_status); } &&
19297
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19298
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19299
(eval $ac_try) 2>&5
19301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302
(exit $ac_status); }; } &&
19303
{ ac_try='test -s conftest$ac_exeext'
19304
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19305
(eval $ac_try) 2>&5
19307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19308
(exit $ac_status); }; }; then
19309
eval "$as_ac_var=yes"
19311
echo "$as_me: failed program was:" >&5
19312
sed 's/^/| /' conftest.$ac_ext >&5
19314
eval "$as_ac_var=no"
19316
rm -f conftest.err conftest.$ac_objext \
19317
conftest$ac_exeext conftest.$ac_ext
19319
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19320
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19321
if test `eval echo '${'$as_ac_var'}'` = yes; then
19322
cat >>confdefs.h <<_ACEOF
19323
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9953
19336
for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl
9955
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
9956
echo "$as_me:9956: checking for $ac_func" >&5
9957
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9958
if eval "test \"\${$ac_ac_var+set}\" = set"; then
9959
echo $ECHO_N "(cached) $ECHO_C" >&6
9961
cat >conftest.$ac_ext <<_ACEOF
9962
#line 9962 "configure"
9963
#include "confdefs.h"
9964
/* System header to define __stub macros and hopefully few prototypes,
9965
which can conflict with char $ac_func (); below. */
9967
/* Override any gcc2 internal prototype to avoid an error. */
9971
/* We use char because int might match the return type of a gcc2
9972
builtin and then its argument prototype would still apply. */
9979
/* The GNU C library defines this for functions which it implements
9980
to always fail with ENOSYS. Some functions are actually named
9981
something starting with __ and the normal name is an alias. */
9982
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9992
rm -f conftest.$ac_objext conftest$ac_exeext
9993
if { (eval echo "$as_me:9993: \"$ac_link\"") >&5
9994
(eval $ac_link) 2>&5
9996
echo "$as_me:9996: \$? = $ac_status" >&5
9997
(exit $ac_status); } &&
9998
{ ac_try='test -s conftest$ac_exeext'
9999
{ (eval echo "$as_me:9999: \"$ac_try\"") >&5
10000
(eval $ac_try) 2>&5
10002
echo "$as_me:10002: \$? = $ac_status" >&5
10003
(exit $ac_status); }; }; then
10004
eval "$ac_ac_var=yes"
10006
echo "$as_me: failed program was:" >&5
10007
cat conftest.$ac_ext >&5
10008
eval "$ac_ac_var=no"
10010
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10012
echo "$as_me:10012: result: `eval echo '${'$ac_ac_var'}'`" >&5
10013
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10014
if test `eval echo '${'$ac_ac_var'}'` = yes; then
10015
cat >>confdefs.h <<EOF
10016
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10022
for ac_func in snprintf strdup strerror
10024
ac_ac_var=`echo "ac_cv_func_$ac_func" | $ac_tr_sh`
10025
echo "$as_me:10025: checking for $ac_func" >&5
10026
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10027
if eval "test \"\${$ac_ac_var+set}\" = set"; then
10028
echo $ECHO_N "(cached) $ECHO_C" >&6
10030
cat >conftest.$ac_ext <<_ACEOF
10031
#line 10031 "configure"
10032
#include "confdefs.h"
10033
/* System header to define __stub macros and hopefully few prototypes,
10034
which can conflict with char $ac_func (); below. */
10035
#include <assert.h>
10036
/* Override any gcc2 internal prototype to avoid an error. */
10040
/* We use char because int might match the return type of a gcc2
10041
builtin and then its argument prototype would still apply. */
10048
/* The GNU C library defines this for functions which it implements
10049
to always fail with ENOSYS. Some functions are actually named
10050
something starting with __ and the normal name is an alias. */
10051
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10061
rm -f conftest.$ac_objext conftest$ac_exeext
10062
if { (eval echo "$as_me:10062: \"$ac_link\"") >&5
10063
(eval $ac_link) 2>&5
10065
echo "$as_me:10065: \$? = $ac_status" >&5
10066
(exit $ac_status); } &&
10067
{ ac_try='test -s conftest$ac_exeext'
10068
{ (eval echo "$as_me:10068: \"$ac_try\"") >&5
10069
(eval $ac_try) 2>&5
10071
echo "$as_me:10071: \$? = $ac_status" >&5
10072
(exit $ac_status); }; }; then
10073
eval "$ac_ac_var=yes"
10075
echo "$as_me: failed program was:" >&5
10076
cat conftest.$ac_ext >&5
10077
eval "$ac_ac_var=no"
10079
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
10081
echo "$as_me:10081: result: `eval echo '${'$ac_ac_var'}'`" >&5
10082
echo "${ECHO_T}`eval echo '${'$ac_ac_var'}'`" >&6
10083
if test `eval echo '${'$ac_ac_var'}'` = yes; then
10084
cat >>confdefs.h <<EOF
10085
#define `echo "HAVE_$ac_func" | $ac_tr_cpp` 1
10089
LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
10095
# Just stubs. Idiots.
19338
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19339
echo "$as_me:$LINENO: checking for $ac_func" >&5
19340
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19341
if eval "test \"\${$as_ac_var+set}\" = set"; then
19342
echo $ECHO_N "(cached) $ECHO_C" >&6
19344
cat >conftest.$ac_ext <<_ACEOF
19347
cat confdefs.h >>conftest.$ac_ext
19348
cat >>conftest.$ac_ext <<_ACEOF
19349
/* end confdefs.h. */
19350
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19351
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19352
#define $ac_func innocuous_$ac_func
19354
/* System header to define __stub macros and hopefully few prototypes,
19355
which can conflict with char $ac_func (); below.
19356
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19357
<limits.h> exists even on freestanding compilers. */
19360
# include <limits.h>
19362
# include <assert.h>
19367
/* Override any gcc2 internal prototype to avoid an error. */
19372
/* We use char because int might match the return type of a gcc2
19373
builtin and then its argument prototype would still apply. */
19375
/* The GNU C library defines this for functions which it implements
19376
to always fail with ENOSYS. Some functions are actually named
19377
something starting with __ and the normal name is an alias. */
19378
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19381
char (*f) () = $ac_func;
19390
return f != $ac_func;
19395
rm -f conftest.$ac_objext conftest$ac_exeext
19396
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19397
(eval $ac_link) 2>conftest.er1
19399
grep -v '^ *+' conftest.er1 >conftest.err
19401
cat conftest.err >&5
19402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403
(exit $ac_status); } &&
19404
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19405
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406
(eval $ac_try) 2>&5
19408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409
(exit $ac_status); }; } &&
19410
{ ac_try='test -s conftest$ac_exeext'
19411
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412
(eval $ac_try) 2>&5
19414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415
(exit $ac_status); }; }; then
19416
eval "$as_ac_var=yes"
19418
echo "$as_me: failed program was:" >&5
19419
sed 's/^/| /' conftest.$ac_ext >&5
19421
eval "$as_ac_var=no"
19423
rm -f conftest.err conftest.$ac_objext \
19424
conftest$ac_exeext conftest.$ac_ext
19426
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19427
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19428
if test `eval echo '${'$as_ac_var'}'` = yes; then
19429
cat >>confdefs.h <<_ACEOF
19430
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19440
for ac_func in snprintf strdup strerror strstr
19442
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19443
echo "$as_me:$LINENO: checking for $ac_func" >&5
19444
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19445
if eval "test \"\${$as_ac_var+set}\" = set"; then
19446
echo $ECHO_N "(cached) $ECHO_C" >&6
19448
cat >conftest.$ac_ext <<_ACEOF
19451
cat confdefs.h >>conftest.$ac_ext
19452
cat >>conftest.$ac_ext <<_ACEOF
19453
/* end confdefs.h. */
19454
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19455
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19456
#define $ac_func innocuous_$ac_func
19458
/* System header to define __stub macros and hopefully few prototypes,
19459
which can conflict with char $ac_func (); below.
19460
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19461
<limits.h> exists even on freestanding compilers. */
19464
# include <limits.h>
19466
# include <assert.h>
19471
/* Override any gcc2 internal prototype to avoid an error. */
19476
/* We use char because int might match the return type of a gcc2
19477
builtin and then its argument prototype would still apply. */
19479
/* The GNU C library defines this for functions which it implements
19480
to always fail with ENOSYS. Some functions are actually named
19481
something starting with __ and the normal name is an alias. */
19482
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19485
char (*f) () = $ac_func;
19494
return f != $ac_func;
19499
rm -f conftest.$ac_objext conftest$ac_exeext
19500
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19501
(eval $ac_link) 2>conftest.er1
19503
grep -v '^ *+' conftest.er1 >conftest.err
19505
cat conftest.err >&5
19506
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507
(exit $ac_status); } &&
19508
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19509
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510
(eval $ac_try) 2>&5
19512
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513
(exit $ac_status); }; } &&
19514
{ ac_try='test -s conftest$ac_exeext'
19515
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516
(eval $ac_try) 2>&5
19518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519
(exit $ac_status); }; }; then
19520
eval "$as_ac_var=yes"
19522
echo "$as_me: failed program was:" >&5
19523
sed 's/^/| /' conftest.$ac_ext >&5
19525
eval "$as_ac_var=no"
19527
rm -f conftest.err conftest.$ac_objext \
19528
conftest$ac_exeext conftest.$ac_ext
19530
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19531
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19532
if test `eval echo '${'$as_ac_var'}'` = yes; then
19533
cat >>confdefs.h <<_ACEOF
19534
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19541
for ac_func in timegm
19543
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19544
echo "$as_me:$LINENO: checking for $ac_func" >&5
19545
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19546
if eval "test \"\${$as_ac_var+set}\" = set"; then
19547
echo $ECHO_N "(cached) $ECHO_C" >&6
19549
cat >conftest.$ac_ext <<_ACEOF
19552
cat confdefs.h >>conftest.$ac_ext
19553
cat >>conftest.$ac_ext <<_ACEOF
19554
/* end confdefs.h. */
19555
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19556
For example, HP-UX 11i <limits.h> declares gettimeofday. */
19557
#define $ac_func innocuous_$ac_func
19559
/* System header to define __stub macros and hopefully few prototypes,
19560
which can conflict with char $ac_func (); below.
19561
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19562
<limits.h> exists even on freestanding compilers. */
19565
# include <limits.h>
19567
# include <assert.h>
19572
/* Override any gcc2 internal prototype to avoid an error. */
19577
/* We use char because int might match the return type of a gcc2
19578
builtin and then its argument prototype would still apply. */
19580
/* The GNU C library defines this for functions which it implements
19581
to always fail with ENOSYS. Some functions are actually named
19582
something starting with __ and the normal name is an alias. */
19583
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19586
char (*f) () = $ac_func;
19595
return f != $ac_func;
19600
rm -f conftest.$ac_objext conftest$ac_exeext
19601
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19602
(eval $ac_link) 2>conftest.er1
19604
grep -v '^ *+' conftest.er1 >conftest.err
19606
cat conftest.err >&5
19607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608
(exit $ac_status); } &&
19609
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19611
(eval $ac_try) 2>&5
19613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19614
(exit $ac_status); }; } &&
19615
{ ac_try='test -s conftest$ac_exeext'
19616
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19617
(eval $ac_try) 2>&5
19619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620
(exit $ac_status); }; }; then
19621
eval "$as_ac_var=yes"
19623
echo "$as_me: failed program was:" >&5
19624
sed 's/^/| /' conftest.$ac_ext >&5
19626
eval "$as_ac_var=no"
19628
rm -f conftest.err conftest.$ac_objext \
19629
conftest$ac_exeext conftest.$ac_ext
19631
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19632
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19633
if test `eval echo '${'$as_ac_var'}'` = yes; then
19634
cat >>confdefs.h <<_ACEOF
19635
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19643
# Just stubs. Idiots.
19646
# Just stubs. Idiots.
10098
19649
# Just stubs. Idiots.
10100
19651
*-*-openbsd*)