26
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21
# is contrary to our usage. Disable this feature.
22
alias -g '${1+"$@"}'='"$@"'
29
23
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26
DUALCASE=1; export DUALCASE # for MKS sh
34
28
# Support unset when possible.
35
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
29
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
41
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
42
{ $as_unset LANG || test "${LANG+set}" != set; } ||
43
{ LANG=C; export LANG; }
44
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
45
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
46
{ LC_ALL=C; export LC_ALL; }
47
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
48
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
49
{ LC_TIME=C; export LC_TIME; }
50
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
51
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
52
{ LC_CTYPE=C; export LC_CTYPE; }
53
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
54
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
55
{ LANGUAGE=C; export LANGUAGE; }
56
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
57
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
58
{ LC_COLLATE=C; export LC_COLLATE; }
59
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
60
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
61
{ LC_NUMERIC=C; export LC_NUMERIC; }
62
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
63
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
64
{ LC_MESSAGES=C; export LC_MESSAGES; }
36
# Work around bugs in pre-3.0 UWIN ksh.
37
$as_unset ENV MAIL MAILPATH
44
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
45
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
48
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49
eval $as_var=C; export $as_var
55
# Required to use basename.
56
if expr a : '\(a\)' >/dev/null 2>&1; then
62
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67
69
# Name of the executable.
68
as_me=`(basename "$0") 2>/dev/null ||
70
as_me=`$as_basename "$0" ||
69
71
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
72
X"$0" : 'X\(//\)$' \| \
71
73
X"$0" : 'X\(/\)$' \| \
1029
1079
# Keep a trace of the command line.
1030
1080
# Strip out --no-create and --no-recursion so they do not pile up.
1081
# Strip out --silent because we don't want to record it for future runs.
1031
1082
# Also quote any args containing shell meta-characters.
1083
# Make two passes to allow for proper duplicate-argument suppression.
1032
1084
ac_configure_args=
1088
ac_must_keep_next=false
1037
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1038
| --no-cr | --no-c | -n ) continue ;;
1039
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1040
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1042
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1043
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1045
case " $ac_configure_args " in
1046
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1047
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1050
# Get rid of the leading space.
1094
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1095
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1096
| -silent | --silent | --silen | --sile | --sil)
1098
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1099
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1102
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1104
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1105
if test $ac_must_keep_next = true; then
1106
ac_must_keep_next=false # Got value, back to normal.
1109
*=* | --config-cache | -C | -disable-* | --disable-* \
1110
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1111
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1112
| -with-* | --with-* | -without-* | --without-* | --x)
1113
case "$ac_configure_args0 " in
1114
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1117
-* ) ac_must_keep_next=true ;;
1120
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1121
# Get rid of the leading space.
1127
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1128
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1053
1130
# When interrupted or exit'd, cleanup temporary files, and complete
1054
1131
# config.log. We remove comments because anyway the quotes in there
1936
# Some people use a C++ compiler to compile C. Since we use `exit',
1937
# in C++ we need to declare it. In case someone uses the same compiler
1938
# for both compiling C and C++ we need to have the C++ compiler decide
1939
# the declaration of exit, since it's the most demanding environment.
1940
cat >conftest.$ac_ext <<_ACEOF
1945
rm -f conftest.$ac_objext
1946
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1947
(eval $ac_compile) 2>&5
1949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950
(exit $ac_status); } &&
1951
{ ac_try='test -s conftest.$ac_objext'
1952
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956
(exit $ac_status); }; }; then
1957
for ac_declaration in \
1959
'#include <stdlib.h>' \
1960
'extern "C" void std::exit (int) throw (); using std::exit;' \
1961
'extern "C" void std::exit (int); using std::exit;' \
1962
'extern "C" void exit (int) throw ();' \
1963
'extern "C" void exit (int);' \
1966
cat >conftest.$ac_ext <<_ACEOF
1967
#line $LINENO "configure"
1968
#include "confdefs.h"
1971
#ifdef F77_DUMMY_MAIN
1975
int F77_DUMMY_MAIN() { return 1; }
1985
rm -f conftest.$ac_objext
1986
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1987
(eval $ac_compile) 2>&5
1989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990
(exit $ac_status); } &&
1991
{ ac_try='test -s conftest.$ac_objext'
1992
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996
(exit $ac_status); }; }; then
1999
echo "$as_me: failed program was:" >&5
2000
cat conftest.$ac_ext >&5
2003
rm -f conftest.$ac_objext conftest.$ac_ext
2004
cat >conftest.$ac_ext <<_ACEOF
2005
#line $LINENO "configure"
2006
#include "confdefs.h"
2008
#ifdef F77_DUMMY_MAIN
2012
int F77_DUMMY_MAIN() { return 1; }
2022
rm -f conftest.$ac_objext
2023
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2024
(eval $ac_compile) 2>&5
2026
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027
(exit $ac_status); } &&
2028
{ ac_try='test -s conftest.$ac_objext'
2029
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2032
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2033
(exit $ac_status); }; }; then
2036
echo "$as_me: failed program was:" >&5
2037
cat conftest.$ac_ext >&5
2039
rm -f conftest.$ac_objext conftest.$ac_ext
2042
if test -n "$ac_declaration"; then
2043
echo '#ifdef __cplusplus' >>confdefs.h
2044
echo $ac_declaration >>confdefs.h
2045
echo '#endif' >>confdefs.h
2049
echo "$as_me: failed program was:" >&5
2050
cat conftest.$ac_ext >&5
2052
rm -f conftest.$ac_objext conftest.$ac_ext
2054
ac_cpp='$CPP $CPPFLAGS'
2055
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2056
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2057
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2061
ac_cpp='$CPP $CPPFLAGS'
2062
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2066
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2067
# On Suns, sometimes $CPP names a directory.
2068
if test -n "$CPP" && test -d "$CPP"; then
2071
if test -z "$CPP"; then
2072
if test "${ac_cv_prog_CPP+set}" = set; then
2073
echo $ECHO_N "(cached) $ECHO_C" >&6
2075
# Double quotes because CPP needs to be expanded
2076
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2079
for ac_c_preproc_warn_flag in '' yes
2081
# Use a header file that comes with gcc, so configuring glibc
2082
# with a fresh cross-compiler works.
2083
# On the NeXT, cc -E runs the code through the compiler's parser,
2084
# not just through cpp. "Syntax error" is here to catch this case.
2085
cat >conftest.$ac_ext <<_ACEOF
2086
#line $LINENO "configure"
2087
#include "confdefs.h"
2091
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2092
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2094
egrep -v '^ *\+' conftest.er1 >conftest.err
2096
cat conftest.err >&5
2097
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098
(exit $ac_status); } >/dev/null; then
2099
if test -s conftest.err; then
2100
ac_cpp_err=$ac_c_preproc_warn_flag
2107
if test -z "$ac_cpp_err"; then
2110
echo "$as_me: failed program was:" >&5
2111
cat conftest.$ac_ext >&5
2112
# Broken: fails on valid input.
2115
rm -f conftest.err conftest.$ac_ext
2117
# OK, works on sane cases. Now check whether non-existent headers
2118
# can be detected and how.
2119
cat >conftest.$ac_ext <<_ACEOF
2120
#line $LINENO "configure"
2121
#include "confdefs.h"
2122
#include <ac_nonexistent.h>
2124
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2125
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2127
egrep -v '^ *\+' conftest.er1 >conftest.err
2129
cat conftest.err >&5
2130
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131
(exit $ac_status); } >/dev/null; then
2132
if test -s conftest.err; then
2133
ac_cpp_err=$ac_c_preproc_warn_flag
2140
if test -z "$ac_cpp_err"; then
2141
# Broken: success on invalid input.
2144
echo "$as_me: failed program was:" >&5
2145
cat conftest.$ac_ext >&5
2146
# Passes both tests.
2150
rm -f conftest.err conftest.$ac_ext
2153
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2154
rm -f conftest.err conftest.$ac_ext
2155
if $ac_preproc_ok; then
2167
echo "$as_me:$LINENO: result: $CPP" >&5
2168
echo "${ECHO_T}$CPP" >&6
2170
for ac_c_preproc_warn_flag in '' yes
2172
# Use a header file that comes with gcc, so configuring glibc
2173
# with a fresh cross-compiler works.
2174
# On the NeXT, cc -E runs the code through the compiler's parser,
2175
# not just through cpp. "Syntax error" is here to catch this case.
2176
cat >conftest.$ac_ext <<_ACEOF
2177
#line $LINENO "configure"
2178
#include "confdefs.h"
2182
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2183
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2185
egrep -v '^ *\+' conftest.er1 >conftest.err
2187
cat conftest.err >&5
2188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189
(exit $ac_status); } >/dev/null; then
2190
if test -s conftest.err; then
2191
ac_cpp_err=$ac_c_preproc_warn_flag
2198
if test -z "$ac_cpp_err"; then
2201
echo "$as_me: failed program was:" >&5
2202
cat conftest.$ac_ext >&5
2203
# Broken: fails on valid input.
2206
rm -f conftest.err conftest.$ac_ext
2208
# OK, works on sane cases. Now check whether non-existent headers
2209
# can be detected and how.
2210
cat >conftest.$ac_ext <<_ACEOF
2211
#line $LINENO "configure"
2212
#include "confdefs.h"
2213
#include <ac_nonexistent.h>
2215
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2216
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2218
egrep -v '^ *\+' conftest.er1 >conftest.err
2220
cat conftest.err >&5
2221
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222
(exit $ac_status); } >/dev/null; then
2223
if test -s conftest.err; then
2224
ac_cpp_err=$ac_c_preproc_warn_flag
2231
if test -z "$ac_cpp_err"; then
2232
# Broken: success on invalid input.
2235
echo "$as_me: failed program was:" >&5
2236
cat conftest.$ac_ext >&5
2237
# Passes both tests.
2241
rm -f conftest.err conftest.$ac_ext
2244
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2245
rm -f conftest.err conftest.$ac_ext
2246
if $ac_preproc_ok; then
2249
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2250
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2251
{ (exit 1); exit 1; }; }
2255
ac_cpp='$CPP $CPPFLAGS'
2256
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2257
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2258
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2261
2075
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2262
2076
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2263
2077
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2355
2187
CC="$CC $ac_cv_prog_cc_stdc" ;;
2190
# Some people use a C++ compiler to compile C. Since we use `exit',
2191
# in C++ we need to declare it. In case someone uses the same compiler
2192
# for both compiling C and C++ we need to have the C++ compiler decide
2193
# the declaration of exit, since it's the most demanding environment.
2194
cat >conftest.$ac_ext <<_ACEOF
2199
rm -f conftest.$ac_objext
2200
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2201
(eval $ac_compile) 2>conftest.er1
2203
grep -v '^ *+' conftest.er1 >conftest.err
2205
cat conftest.err >&5
2206
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207
(exit $ac_status); } &&
2208
{ ac_try='test -z "$ac_c_werror_flag"
2209
|| test ! -s conftest.err'
2210
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214
(exit $ac_status); }; } &&
2215
{ ac_try='test -s conftest.$ac_objext'
2216
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220
(exit $ac_status); }; }; then
2221
for ac_declaration in \
2223
'extern "C" void std::exit (int) throw (); using std::exit;' \
2224
'extern "C" void std::exit (int); using std::exit;' \
2225
'extern "C" void exit (int) throw ();' \
2226
'extern "C" void exit (int);' \
2229
cat >conftest.$ac_ext <<_ACEOF
2232
cat confdefs.h >>conftest.$ac_ext
2233
cat >>conftest.$ac_ext <<_ACEOF
2234
/* end confdefs.h. */
2245
rm -f conftest.$ac_objext
2246
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2247
(eval $ac_compile) 2>conftest.er1
2249
grep -v '^ *+' conftest.er1 >conftest.err
2251
cat conftest.err >&5
2252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253
(exit $ac_status); } &&
2254
{ ac_try='test -z "$ac_c_werror_flag"
2255
|| test ! -s conftest.err'
2256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260
(exit $ac_status); }; } &&
2261
{ ac_try='test -s conftest.$ac_objext'
2262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266
(exit $ac_status); }; }; then
2269
echo "$as_me: failed program was:" >&5
2270
sed 's/^/| /' conftest.$ac_ext >&5
2274
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2275
cat >conftest.$ac_ext <<_ACEOF
2278
cat confdefs.h >>conftest.$ac_ext
2279
cat >>conftest.$ac_ext <<_ACEOF
2280
/* end confdefs.h. */
2290
rm -f conftest.$ac_objext
2291
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292
(eval $ac_compile) 2>conftest.er1
2294
grep -v '^ *+' conftest.er1 >conftest.err
2296
cat conftest.err >&5
2297
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298
(exit $ac_status); } &&
2299
{ ac_try='test -z "$ac_c_werror_flag"
2300
|| test ! -s conftest.err'
2301
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305
(exit $ac_status); }; } &&
2306
{ ac_try='test -s conftest.$ac_objext'
2307
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311
(exit $ac_status); }; }; then
2314
echo "$as_me: failed program was:" >&5
2315
sed 's/^/| /' conftest.$ac_ext >&5
2318
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2321
if test -n "$ac_declaration"; then
2322
echo '#ifdef __cplusplus' >>confdefs.h
2323
echo $ac_declaration >>confdefs.h
2324
echo '#endif' >>confdefs.h
2328
echo "$as_me: failed program was:" >&5
2329
sed 's/^/| /' conftest.$ac_ext >&5
2332
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2334
ac_cpp='$CPP $CPPFLAGS'
2335
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2336
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2337
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2341
ac_cpp='$CPP $CPPFLAGS'
2342
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2343
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2344
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2345
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2346
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2347
# On Suns, sometimes $CPP names a directory.
2348
if test -n "$CPP" && test -d "$CPP"; then
2351
if test -z "$CPP"; then
2352
if test "${ac_cv_prog_CPP+set}" = set; then
2353
echo $ECHO_N "(cached) $ECHO_C" >&6
2355
# Double quotes because CPP needs to be expanded
2356
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2359
for ac_c_preproc_warn_flag in '' yes
2361
# Use a header file that comes with gcc, so configuring glibc
2362
# with a fresh cross-compiler works.
2363
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2364
# <limits.h> exists even on freestanding compilers.
2365
# On the NeXT, cc -E runs the code through the compiler's parser,
2366
# not just through cpp. "Syntax error" is here to catch this case.
2367
cat >conftest.$ac_ext <<_ACEOF
2370
cat confdefs.h >>conftest.$ac_ext
2371
cat >>conftest.$ac_ext <<_ACEOF
2372
/* end confdefs.h. */
2374
# include <limits.h>
2376
# include <assert.h>
2380
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2381
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2383
grep -v '^ *+' conftest.er1 >conftest.err
2385
cat conftest.err >&5
2386
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387
(exit $ac_status); } >/dev/null; then
2388
if test -s conftest.err; then
2389
ac_cpp_err=$ac_c_preproc_warn_flag
2390
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2397
if test -z "$ac_cpp_err"; then
2400
echo "$as_me: failed program was:" >&5
2401
sed 's/^/| /' conftest.$ac_ext >&5
2403
# Broken: fails on valid input.
2406
rm -f conftest.err conftest.$ac_ext
2408
# OK, works on sane cases. Now check whether non-existent headers
2409
# can be detected and how.
2410
cat >conftest.$ac_ext <<_ACEOF
2413
cat confdefs.h >>conftest.$ac_ext
2414
cat >>conftest.$ac_ext <<_ACEOF
2415
/* end confdefs.h. */
2416
#include <ac_nonexistent.h>
2418
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2419
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2421
grep -v '^ *+' conftest.er1 >conftest.err
2423
cat conftest.err >&5
2424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425
(exit $ac_status); } >/dev/null; then
2426
if test -s conftest.err; then
2427
ac_cpp_err=$ac_c_preproc_warn_flag
2428
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2435
if test -z "$ac_cpp_err"; then
2436
# Broken: success on invalid input.
2439
echo "$as_me: failed program was:" >&5
2440
sed 's/^/| /' conftest.$ac_ext >&5
2442
# Passes both tests.
2446
rm -f conftest.err conftest.$ac_ext
2449
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2450
rm -f conftest.err conftest.$ac_ext
2451
if $ac_preproc_ok; then
2463
echo "$as_me:$LINENO: result: $CPP" >&5
2464
echo "${ECHO_T}$CPP" >&6
2466
for ac_c_preproc_warn_flag in '' yes
2468
# Use a header file that comes with gcc, so configuring glibc
2469
# with a fresh cross-compiler works.
2470
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2471
# <limits.h> exists even on freestanding compilers.
2472
# On the NeXT, cc -E runs the code through the compiler's parser,
2473
# not just through cpp. "Syntax error" is here to catch this case.
2474
cat >conftest.$ac_ext <<_ACEOF
2477
cat confdefs.h >>conftest.$ac_ext
2478
cat >>conftest.$ac_ext <<_ACEOF
2479
/* end confdefs.h. */
2481
# include <limits.h>
2483
# include <assert.h>
2487
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2488
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2490
grep -v '^ *+' conftest.er1 >conftest.err
2492
cat conftest.err >&5
2493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2494
(exit $ac_status); } >/dev/null; then
2495
if test -s conftest.err; then
2496
ac_cpp_err=$ac_c_preproc_warn_flag
2497
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2504
if test -z "$ac_cpp_err"; then
2507
echo "$as_me: failed program was:" >&5
2508
sed 's/^/| /' conftest.$ac_ext >&5
2510
# Broken: fails on valid input.
2513
rm -f conftest.err conftest.$ac_ext
2515
# OK, works on sane cases. Now check whether non-existent headers
2516
# can be detected and how.
2517
cat >conftest.$ac_ext <<_ACEOF
2520
cat confdefs.h >>conftest.$ac_ext
2521
cat >>conftest.$ac_ext <<_ACEOF
2522
/* end confdefs.h. */
2523
#include <ac_nonexistent.h>
2525
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2526
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2528
grep -v '^ *+' conftest.er1 >conftest.err
2530
cat conftest.err >&5
2531
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532
(exit $ac_status); } >/dev/null; then
2533
if test -s conftest.err; then
2534
ac_cpp_err=$ac_c_preproc_warn_flag
2535
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2542
if test -z "$ac_cpp_err"; then
2543
# Broken: success on invalid input.
2546
echo "$as_me: failed program was:" >&5
2547
sed 's/^/| /' conftest.$ac_ext >&5
2549
# Passes both tests.
2553
rm -f conftest.err conftest.$ac_ext
2556
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2557
rm -f conftest.err conftest.$ac_ext
2558
if $ac_preproc_ok; then
2561
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2562
See \`config.log' for more details." >&5
2563
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2564
See \`config.log' for more details." >&2;}
2565
{ (exit 1); exit 1; }; }
2569
ac_cpp='$CPP $CPPFLAGS'
2570
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2571
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2572
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2358
2575
# Make sure we can run config.sub.
2359
2576
$ac_config_sub sun4 >/dev/null 2>&1 ||
2360
2577
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3074
3329
echo $ECHO_N "(cached) $ECHO_C" >&6
3076
3331
cat >conftest.$ac_ext <<_ACEOF
3077
#line $LINENO "configure"
3078
#include "confdefs.h"
3334
cat confdefs.h >>conftest.$ac_ext
3335
cat >>conftest.$ac_ext <<_ACEOF
3336
/* end confdefs.h. */
3337
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3338
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3339
#define gethostbyname innocuous_gethostbyname
3079
3341
/* System header to define __stub macros and hopefully few prototypes,
3080
which can conflict with char gethostbyname (); below. */
3342
which can conflict with char gethostbyname (); below.
3343
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344
<limits.h> exists even on freestanding compilers. */
3347
# include <limits.h>
3349
# include <assert.h>
3352
#undef gethostbyname
3082
3354
/* Override any gcc2 internal prototype to avoid an error. */
3083
3355
#ifdef __cplusplus
3086
3359
/* We use char because int might match the return type of a gcc2
3087
3360
builtin and then its argument prototype would still apply. */
3088
3361
char gethostbyname ();
3091
#ifdef F77_DUMMY_MAIN
3095
int F77_DUMMY_MAIN() { return 1; }
3100
3362
/* The GNU C library defines this for functions which it implements
3101
3363
to always fail with ENOSYS. Some functions are actually named
3102
3364
something starting with __ and the normal name is an alias. */
3103
3365
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3368
char (*f) () = gethostbyname;
3377
return f != gethostbyname;
3113
3382
rm -f conftest.$ac_objext conftest$ac_exeext
3114
3383
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3115
(eval $ac_link) 2>&5
3384
(eval $ac_link) 2>conftest.er1
3386
grep -v '^ *+' conftest.er1 >conftest.err
3388
cat conftest.err >&5
3117
3389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
3390
(exit $ac_status); } &&
3119
{ ac_try='test -s conftest$ac_exeext'
3391
{ ac_try='test -z "$ac_c_werror_flag"
3392
|| test ! -s conftest.err'
3393
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397
(exit $ac_status); }; } &&
3398
{ ac_try='test -s conftest$ac_exeext'
3120
3399
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3121
3400
(eval $ac_try) 2>&5
3405
3722
echo $ECHO_N "(cached) $ECHO_C" >&6
3407
3724
cat >conftest.$ac_ext <<_ACEOF
3408
#line $LINENO "configure"
3409
#include "confdefs.h"
3727
cat confdefs.h >>conftest.$ac_ext
3728
cat >>conftest.$ac_ext <<_ACEOF
3729
/* end confdefs.h. */
3730
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
3731
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3732
#define socket innocuous_socket
3410
3734
/* System header to define __stub macros and hopefully few prototypes,
3411
which can conflict with char socket (); below. */
3735
which can conflict with char socket (); below.
3736
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3737
<limits.h> exists even on freestanding compilers. */
3740
# include <limits.h>
3742
# include <assert.h>
3413
3747
/* Override any gcc2 internal prototype to avoid an error. */
3414
3748
#ifdef __cplusplus
3417
3752
/* We use char because int might match the return type of a gcc2
3418
3753
builtin and then its argument prototype would still apply. */
3419
3754
char socket ();
3422
#ifdef F77_DUMMY_MAIN
3426
int F77_DUMMY_MAIN() { return 1; }
3431
3755
/* The GNU C library defines this for functions which it implements
3432
3756
to always fail with ENOSYS. Some functions are actually named
3433
3757
something starting with __ and the normal name is an alias. */
3434
3758
#if defined (__stub_socket) || defined (__stub___socket)
3761
char (*f) () = socket;
3444
3775
rm -f conftest.$ac_objext conftest$ac_exeext
3445
3776
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3446
(eval $ac_link) 2>&5
3777
(eval $ac_link) 2>conftest.er1
3779
grep -v '^ *+' conftest.er1 >conftest.err
3781
cat conftest.err >&5
3448
3782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449
3783
(exit $ac_status); } &&
3450
{ ac_try='test -s conftest$ac_exeext'
3784
{ ac_try='test -z "$ac_c_werror_flag"
3785
|| test ! -s conftest.err'
3786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3790
(exit $ac_status); }; } &&
3791
{ ac_try='test -s conftest$ac_exeext'
3451
3792
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452
3793
(eval $ac_try) 2>&5
3771
4150
echo $ECHO_N "(cached) $ECHO_C" >&6
3773
4152
cat >conftest.$ac_ext <<_ACEOF
3774
#line $LINENO "configure"
3775
#include "confdefs.h"
4155
cat confdefs.h >>conftest.$ac_ext
4156
cat >>conftest.$ac_ext <<_ACEOF
4157
/* end confdefs.h. */
4158
/* Define res_search to an innocuous variant, in case <limits.h> declares res_search.
4159
For example, HP-UX 11i <limits.h> declares gettimeofday. */
4160
#define res_search innocuous_res_search
3776
4162
/* System header to define __stub macros and hopefully few prototypes,
3777
which can conflict with char res_search (); below. */
4163
which can conflict with char res_search (); below.
4164
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4165
<limits.h> exists even on freestanding compilers. */
4168
# include <limits.h>
4170
# include <assert.h>
3779
4175
/* Override any gcc2 internal prototype to avoid an error. */
3780
4176
#ifdef __cplusplus
3783
4180
/* We use char because int might match the return type of a gcc2
3784
4181
builtin and then its argument prototype would still apply. */
3785
4182
char res_search ();
3788
#ifdef F77_DUMMY_MAIN
3792
int F77_DUMMY_MAIN() { return 1; }
3797
4183
/* The GNU C library defines this for functions which it implements
3798
4184
to always fail with ENOSYS. Some functions are actually named
3799
4185
something starting with __ and the normal name is an alias. */
3800
4186
#if defined (__stub_res_search) || defined (__stub___res_search)
4189
char (*f) () = res_search;
4198
return f != res_search;
3810
4203
rm -f conftest.$ac_objext conftest$ac_exeext
3811
4204
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3812
(eval $ac_link) 2>&5
4205
(eval $ac_link) 2>conftest.er1
4207
grep -v '^ *+' conftest.er1 >conftest.err
4209
cat conftest.err >&5
3814
4210
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815
4211
(exit $ac_status); } &&
3816
{ ac_try='test -s conftest$ac_exeext'
4212
{ ac_try='test -z "$ac_c_werror_flag"
4213
|| test ! -s conftest.err'
4214
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218
(exit $ac_status); }; } &&
4219
{ ac_try='test -s conftest$ac_exeext'
3817
4220
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818
4221
(eval $ac_try) 2>&5
4644
5107
echo $ECHO_N "(cached) $ECHO_C" >&6
4646
5109
cat >conftest.$ac_ext <<_ACEOF
4647
#line $LINENO "configure"
4648
#include "confdefs.h"
5112
cat confdefs.h >>conftest.$ac_ext
5113
cat >>conftest.$ac_ext <<_ACEOF
5114
/* end confdefs.h. */
5115
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5116
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5117
#define $ac_func innocuous_$ac_func
4649
5119
/* System header to define __stub macros and hopefully few prototypes,
4650
which can conflict with char $ac_func (); below. */
5120
which can conflict with char $ac_func (); below.
5121
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5122
<limits.h> exists even on freestanding compilers. */
5125
# include <limits.h>
5127
# include <assert.h>
4652
5132
/* Override any gcc2 internal prototype to avoid an error. */
4653
5133
#ifdef __cplusplus
4656
5137
/* We use char because int might match the return type of a gcc2
4657
5138
builtin and then its argument prototype would still apply. */
4658
5139
char $ac_func ();
4661
#ifdef F77_DUMMY_MAIN
4665
int F77_DUMMY_MAIN() { return 1; }
4670
5140
/* The GNU C library defines this for functions which it implements
4671
5141
to always fail with ENOSYS. Some functions are actually named
4672
5142
something starting with __ and the normal name is an alias. */
4673
5143
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5146
char (*f) () = $ac_func;
5155
return f != $ac_func;
4683
5160
rm -f conftest.$ac_objext conftest$ac_exeext
4684
5161
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4685
(eval $ac_link) 2>&5
5162
(eval $ac_link) 2>conftest.er1
5164
grep -v '^ *+' conftest.er1 >conftest.err
5166
cat conftest.err >&5
4687
5167
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688
5168
(exit $ac_status); } &&
4689
{ ac_try='test -s conftest$ac_exeext'
5169
{ ac_try='test -z "$ac_c_werror_flag"
5170
|| test ! -s conftest.err'
5171
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5174
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5175
(exit $ac_status); }; } &&
5176
{ ac_try='test -s conftest$ac_exeext'
4690
5177
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4691
5178
(eval $ac_try) 2>&5
5146
5671
echo $ECHO_N "(cached) $ECHO_C" >&6
5148
5673
cat >conftest.$ac_ext <<_ACEOF
5149
#line $LINENO "configure"
5150
#include "confdefs.h"
5676
cat confdefs.h >>conftest.$ac_ext
5677
cat >>conftest.$ac_ext <<_ACEOF
5678
/* end confdefs.h. */
5679
/* Define sigprocmask to an innocuous variant, in case <limits.h> declares sigprocmask.
5680
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5681
#define sigprocmask innocuous_sigprocmask
5151
5683
/* System header to define __stub macros and hopefully few prototypes,
5152
which can conflict with char sigprocmask (); below. */
5684
which can conflict with char sigprocmask (); below.
5685
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5686
<limits.h> exists even on freestanding compilers. */
5689
# include <limits.h>
5691
# include <assert.h>
5154
5696
/* Override any gcc2 internal prototype to avoid an error. */
5155
5697
#ifdef __cplusplus
5158
5701
/* We use char because int might match the return type of a gcc2
5159
5702
builtin and then its argument prototype would still apply. */
5160
5703
char sigprocmask ();
5163
#ifdef F77_DUMMY_MAIN
5167
int F77_DUMMY_MAIN() { return 1; }
5172
5704
/* The GNU C library defines this for functions which it implements
5173
5705
to always fail with ENOSYS. Some functions are actually named
5174
5706
something starting with __ and the normal name is an alias. */
5175
5707
#if defined (__stub_sigprocmask) || defined (__stub___sigprocmask)
5710
char (*f) () = sigprocmask;
5719
return f != sigprocmask;
5185
5724
rm -f conftest.$ac_objext conftest$ac_exeext
5186
5725
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5187
(eval $ac_link) 2>&5
5726
(eval $ac_link) 2>conftest.er1
5728
grep -v '^ *+' conftest.er1 >conftest.err
5730
cat conftest.err >&5
5189
5731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190
5732
(exit $ac_status); } &&
5191
{ ac_try='test -s conftest$ac_exeext'
5733
{ ac_try='test -z "$ac_c_werror_flag"
5734
|| test ! -s conftest.err'
5735
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739
(exit $ac_status); }; } &&
5740
{ ac_try='test -s conftest$ac_exeext'
5192
5741
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5193
5742
(eval $ac_try) 2>&5
5358
5935
echo $ECHO_N "(cached) $ECHO_C" >&6
5360
5937
cat >conftest.$ac_ext <<_ACEOF
5361
#line $LINENO "configure"
5362
#include "confdefs.h"
5940
cat confdefs.h >>conftest.$ac_ext
5941
cat >>conftest.$ac_ext <<_ACEOF
5942
/* end confdefs.h. */
5943
/* Define sigsetjmp to an innocuous variant, in case <limits.h> declares sigsetjmp.
5944
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5945
#define sigsetjmp innocuous_sigsetjmp
5363
5947
/* System header to define __stub macros and hopefully few prototypes,
5364
which can conflict with char sigsetjmp (); below. */
5948
which can conflict with char sigsetjmp (); below.
5949
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5950
<limits.h> exists even on freestanding compilers. */
5953
# include <limits.h>
5955
# include <assert.h>
5366
5960
/* Override any gcc2 internal prototype to avoid an error. */
5367
5961
#ifdef __cplusplus
5370
5965
/* We use char because int might match the return type of a gcc2
5371
5966
builtin and then its argument prototype would still apply. */
5372
5967
char sigsetjmp ();
5375
#ifdef F77_DUMMY_MAIN
5379
int F77_DUMMY_MAIN() { return 1; }
5384
5968
/* The GNU C library defines this for functions which it implements
5385
5969
to always fail with ENOSYS. Some functions are actually named
5386
5970
something starting with __ and the normal name is an alias. */
5387
5971
#if defined (__stub_sigsetjmp) || defined (__stub___sigsetjmp)
5974
char (*f) () = sigsetjmp;
5983
return f != sigsetjmp;
5397
5988
rm -f conftest.$ac_objext conftest$ac_exeext
5398
5989
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5399
(eval $ac_link) 2>&5
5990
(eval $ac_link) 2>conftest.er1
5992
grep -v '^ *+' conftest.er1 >conftest.err
5994
cat conftest.err >&5
5401
5995
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5402
5996
(exit $ac_status); } &&
5403
{ ac_try='test -s conftest$ac_exeext'
5997
{ ac_try='test -z "$ac_c_werror_flag"
5998
|| test ! -s conftest.err'
5999
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6003
(exit $ac_status); }; } &&
6004
{ ac_try='test -s conftest$ac_exeext'
5404
6005
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5405
6006
(eval $ac_try) 2>&5
5692
6336
echo "$as_me: WARNING: sys_errlist is neither in errno.h nor in libc" >&2;}
6339
echo "$as_me:$LINENO: checking for egrep" >&5
6340
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6341
if test "${ac_cv_prog_egrep+set}" = set; then
6342
echo $ECHO_N "(cached) $ECHO_C" >&6
6344
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
6345
then ac_cv_prog_egrep='grep -E'
6346
else ac_cv_prog_egrep='egrep'
6349
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6350
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6351
EGREP=$ac_cv_prog_egrep
5695
6354
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5696
6355
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5697
6356
if test "${ac_cv_header_stdc+set}" = set; then
5698
6357
echo $ECHO_N "(cached) $ECHO_C" >&6
5700
6359
cat >conftest.$ac_ext <<_ACEOF
5701
#line $LINENO "configure"
5702
#include "confdefs.h"
6362
cat confdefs.h >>conftest.$ac_ext
6363
cat >>conftest.$ac_ext <<_ACEOF
6364
/* end confdefs.h. */
5703
6365
#include <stdlib.h>
5704
6366
#include <stdarg.h>
5705
6367
#include <string.h>
5706
6368
#include <float.h>
5709
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5710
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6378
rm -f conftest.$ac_objext
6379
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6380
(eval $ac_compile) 2>conftest.er1
5712
egrep -v '^ *\+' conftest.er1 >conftest.err
6382
grep -v '^ *+' conftest.er1 >conftest.err
5713
6383
rm -f conftest.er1
5714
6384
cat conftest.err >&5
5715
6385
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716
(exit $ac_status); } >/dev/null; then
5717
if test -s conftest.err; then
5718
ac_cpp_err=$ac_c_preproc_warn_flag
5725
if test -z "$ac_cpp_err"; then
6386
(exit $ac_status); } &&
6387
{ ac_try='test -z "$ac_c_werror_flag"
6388
|| test ! -s conftest.err'
6389
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6392
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393
(exit $ac_status); }; } &&
6394
{ ac_try='test -s conftest.$ac_objext'
6395
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6399
(exit $ac_status); }; }; then
5726
6400
ac_cv_header_stdc=yes
5728
6402
echo "$as_me: failed program was:" >&5
5729
cat conftest.$ac_ext >&5
5730
ac_cv_header_stdc=no
6403
sed 's/^/| /' conftest.$ac_ext >&5
6405
ac_cv_header_stdc=no
5732
rm -f conftest.err conftest.$ac_ext
6407
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5734
6409
if test $ac_cv_header_stdc = yes; then
5735
6410
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5736
6411
cat >conftest.$ac_ext <<_ACEOF
5737
#line $LINENO "configure"
5738
#include "confdefs.h"
6414
cat confdefs.h >>conftest.$ac_ext
6415
cat >>conftest.$ac_ext <<_ACEOF
6416
/* end confdefs.h. */
5739
6417
#include <string.h>
5742
6420
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5743
egrep "memchr" >/dev/null 2>&1; then
6421
$EGREP "memchr" >/dev/null 2>&1; then
5746
6424
ac_cv_header_stdc=no
7181
8072
echo "${ECHO_T}$ac_header_preproc" >&6
7183
8074
# So? What about this header?
7184
case $ac_header_compiler:$ac_header_preproc in
8075
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7186
8077
{ echo "$as_me:$LINENO: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&5
7187
8078
echo "$as_me: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
7188
{ echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
7189
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
8079
{ echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the compiler's result" >&5
8080
echo "$as_me: WARNING: termios.h: proceeding with the compiler's result" >&2;}
8081
ac_header_preproc=yes
7191
8084
{ echo "$as_me:$LINENO: WARNING: termios.h: present but cannot be compiled" >&5
7192
8085
echo "$as_me: WARNING: termios.h: present but cannot be compiled" >&2;}
7193
{ echo "$as_me:$LINENO: WARNING: termios.h: check for missing prerequisite headers?" >&5
7194
echo "$as_me: WARNING: termios.h: check for missing prerequisite headers?" >&2;}
8086
{ echo "$as_me:$LINENO: WARNING: termios.h: check for missing prerequisite headers?" >&5
8087
echo "$as_me: WARNING: termios.h: check for missing prerequisite headers?" >&2;}
8088
{ echo "$as_me:$LINENO: WARNING: termios.h: see the Autoconf documentation" >&5
8089
echo "$as_me: WARNING: termios.h: see the Autoconf documentation" >&2;}
8090
{ echo "$as_me:$LINENO: WARNING: termios.h: section \"Present But Cannot Be Compiled\"" >&5
8091
echo "$as_me: WARNING: termios.h: section \"Present But Cannot Be Compiled\"" >&2;}
7195
8092
{ echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
7196
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
8093
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;}
8094
{ echo "$as_me:$LINENO: WARNING: termios.h: in the future, the compiler will take precedence" >&5
8095
echo "$as_me: WARNING: termios.h: in the future, the compiler will take precedence" >&2;}
8098
## ------------------------------------------ ##
8099
## Report this to the AC_PACKAGE_NAME lists. ##
8100
## ------------------------------------------ ##
8103
sed "s/^/$as_me: WARNING: /" >&2
7198
8106
echo "$as_me:$LINENO: checking for termios.h" >&5
7199
8107
echo $ECHO_N "checking for termios.h... $ECHO_C" >&6
7213
8121
echo $ECHO_N "(cached) $ECHO_C" >&6
7215
8123
cat >conftest.$ac_ext <<_ACEOF
7216
#line $LINENO "configure"
7217
#include "confdefs.h"
8126
cat confdefs.h >>conftest.$ac_ext
8127
cat >>conftest.$ac_ext <<_ACEOF
8128
/* end confdefs.h. */
8129
/* Define cfsetispeed to an innocuous variant, in case <limits.h> declares cfsetispeed.
8130
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8131
#define cfsetispeed innocuous_cfsetispeed
7218
8133
/* System header to define __stub macros and hopefully few prototypes,
7219
which can conflict with char cfsetispeed (); below. */
8134
which can conflict with char cfsetispeed (); below.
8135
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8136
<limits.h> exists even on freestanding compilers. */
8139
# include <limits.h>
8141
# include <assert.h>
7221
8146
/* Override any gcc2 internal prototype to avoid an error. */
7222
8147
#ifdef __cplusplus
7225
8151
/* We use char because int might match the return type of a gcc2
7226
8152
builtin and then its argument prototype would still apply. */
7227
8153
char cfsetispeed ();
7230
#ifdef F77_DUMMY_MAIN
7234
int F77_DUMMY_MAIN() { return 1; }
7239
8154
/* The GNU C library defines this for functions which it implements
7240
8155
to always fail with ENOSYS. Some functions are actually named
7241
8156
something starting with __ and the normal name is an alias. */
7242
8157
#if defined (__stub_cfsetispeed) || defined (__stub___cfsetispeed)
8160
char (*f) () = cfsetispeed;
8169
return f != cfsetispeed;
7252
8174
rm -f conftest.$ac_objext conftest$ac_exeext
7253
8175
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7254
(eval $ac_link) 2>&5
8176
(eval $ac_link) 2>conftest.er1
8178
grep -v '^ *+' conftest.er1 >conftest.err
8180
cat conftest.err >&5
7256
8181
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257
8182
(exit $ac_status); } &&
7258
{ ac_try='test -s conftest$ac_exeext'
8183
{ ac_try='test -z "$ac_c_werror_flag"
8184
|| test ! -s conftest.err'
8185
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189
(exit $ac_status); }; } &&
8190
{ ac_try='test -s conftest$ac_exeext'
7259
8191
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7260
8192
(eval $ac_try) 2>&5
7366
8319
echo "${ECHO_T}$ac_header_preproc" >&6
7368
8321
# So? What about this header?
7369
case $ac_header_compiler:$ac_header_preproc in
8322
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7371
8324
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7372
8325
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7373
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7374
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8326
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8327
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8328
ac_header_preproc=yes
7376
8331
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7377
8332
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7378
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7379
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8333
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8334
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8335
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8336
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8337
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8338
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7380
8339
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7381
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8340
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8341
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8342
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8345
## ------------------------------------------ ##
8346
## Report this to the AC_PACKAGE_NAME lists. ##
8347
## ------------------------------------------ ##
8350
sed "s/^/$as_me: WARNING: /" >&2
7383
8353
echo "$as_me:$LINENO: checking for $ac_header" >&5
7384
8354
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7385
8355
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7386
8356
echo $ECHO_N "(cached) $ECHO_C" >&6
7388
eval "$as_ac_Header=$ac_header_preproc"
8358
eval "$as_ac_Header=\$ac_header_preproc"
7390
8360
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7391
8361
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7619
8621
echo $ECHO_N "(cached) $ECHO_C" >&6
7621
8623
cat >conftest.$ac_ext <<_ACEOF
7622
#line $LINENO "configure"
7623
#include "confdefs.h"
8626
cat confdefs.h >>conftest.$ac_ext
8627
cat >>conftest.$ac_ext <<_ACEOF
8628
/* end confdefs.h. */
8629
/* Define setutent to an innocuous variant, in case <limits.h> declares setutent.
8630
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8631
#define setutent innocuous_setutent
7624
8633
/* System header to define __stub macros and hopefully few prototypes,
7625
which can conflict with char setutent (); below. */
8634
which can conflict with char setutent (); below.
8635
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8636
<limits.h> exists even on freestanding compilers. */
8639
# include <limits.h>
8641
# include <assert.h>
7627
8646
/* Override any gcc2 internal prototype to avoid an error. */
7628
8647
#ifdef __cplusplus
7631
8651
/* We use char because int might match the return type of a gcc2
7632
8652
builtin and then its argument prototype would still apply. */
7633
8653
char setutent ();
7636
#ifdef F77_DUMMY_MAIN
7640
int F77_DUMMY_MAIN() { return 1; }
7645
8654
/* The GNU C library defines this for functions which it implements
7646
8655
to always fail with ENOSYS. Some functions are actually named
7647
8656
something starting with __ and the normal name is an alias. */
7648
8657
#if defined (__stub_setutent) || defined (__stub___setutent)
8660
char (*f) () = setutent;
8669
return f != setutent;
7658
8674
rm -f conftest.$ac_objext conftest$ac_exeext
7659
8675
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7660
(eval $ac_link) 2>&5
8676
(eval $ac_link) 2>conftest.er1
8678
grep -v '^ *+' conftest.er1 >conftest.err
8680
cat conftest.err >&5
7662
8681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663
8682
(exit $ac_status); } &&
7664
{ ac_try='test -s conftest$ac_exeext'
8683
{ ac_try='test -z "$ac_c_werror_flag"
8684
|| test ! -s conftest.err'
8685
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689
(exit $ac_status); }; } &&
8690
{ ac_try='test -s conftest$ac_exeext'
7665
8691
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7666
8692
(eval $ac_try) 2>&5
7690
8718
echo $ECHO_N "(cached) $ECHO_C" >&6
7692
8720
cat >conftest.$ac_ext <<_ACEOF
7693
#line $LINENO "configure"
7694
#include "confdefs.h"
8723
cat confdefs.h >>conftest.$ac_ext
8724
cat >>conftest.$ac_ext <<_ACEOF
8725
/* end confdefs.h. */
8726
/* Define setutxent to an innocuous variant, in case <limits.h> declares setutxent.
8727
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8728
#define setutxent innocuous_setutxent
7695
8730
/* System header to define __stub macros and hopefully few prototypes,
7696
which can conflict with char setutxent (); below. */
8731
which can conflict with char setutxent (); below.
8732
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8733
<limits.h> exists even on freestanding compilers. */
8736
# include <limits.h>
8738
# include <assert.h>
7698
8743
/* Override any gcc2 internal prototype to avoid an error. */
7699
8744
#ifdef __cplusplus
7702
8748
/* We use char because int might match the return type of a gcc2
7703
8749
builtin and then its argument prototype would still apply. */
7704
8750
char setutxent ();
7707
#ifdef F77_DUMMY_MAIN
7711
int F77_DUMMY_MAIN() { return 1; }
7716
8751
/* The GNU C library defines this for functions which it implements
7717
8752
to always fail with ENOSYS. Some functions are actually named
7718
8753
something starting with __ and the normal name is an alias. */
7719
8754
#if defined (__stub_setutxent) || defined (__stub___setutxent)
8757
char (*f) () = setutxent;
8766
return f != setutxent;
7729
8771
rm -f conftest.$ac_objext conftest$ac_exeext
7730
8772
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7731
(eval $ac_link) 2>&5
8773
(eval $ac_link) 2>conftest.er1
8775
grep -v '^ *+' conftest.er1 >conftest.err
8777
cat conftest.err >&5
7733
8778
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734
8779
(exit $ac_status); } &&
7735
{ ac_try='test -s conftest$ac_exeext'
8780
{ ac_try='test -z "$ac_c_werror_flag"
8781
|| test ! -s conftest.err'
8782
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8785
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786
(exit $ac_status); }; } &&
8787
{ ac_try='test -s conftest$ac_exeext'
7736
8788
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737
8789
(eval $ac_try) 2>&5
7761
8815
echo $ECHO_N "(cached) $ECHO_C" >&6
7763
8817
cat >conftest.$ac_ext <<_ACEOF
7764
#line $LINENO "configure"
7765
#include "confdefs.h"
8820
cat confdefs.h >>conftest.$ac_ext
8821
cat >>conftest.$ac_ext <<_ACEOF
8822
/* end confdefs.h. */
8823
/* Define updwtmp to an innocuous variant, in case <limits.h> declares updwtmp.
8824
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8825
#define updwtmp innocuous_updwtmp
7766
8827
/* System header to define __stub macros and hopefully few prototypes,
7767
which can conflict with char updwtmp (); below. */
8828
which can conflict with char updwtmp (); below.
8829
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8830
<limits.h> exists even on freestanding compilers. */
8833
# include <limits.h>
8835
# include <assert.h>
7769
8840
/* Override any gcc2 internal prototype to avoid an error. */
7770
8841
#ifdef __cplusplus
7773
8845
/* We use char because int might match the return type of a gcc2
7774
8846
builtin and then its argument prototype would still apply. */
7775
8847
char updwtmp ();
7778
#ifdef F77_DUMMY_MAIN
7782
int F77_DUMMY_MAIN() { return 1; }
7787
8848
/* The GNU C library defines this for functions which it implements
7788
8849
to always fail with ENOSYS. Some functions are actually named
7789
8850
something starting with __ and the normal name is an alias. */
7790
8851
#if defined (__stub_updwtmp) || defined (__stub___updwtmp)
8854
char (*f) () = updwtmp;
8863
return f != updwtmp;
7800
8868
rm -f conftest.$ac_objext conftest$ac_exeext
7801
8869
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7802
(eval $ac_link) 2>&5
8870
(eval $ac_link) 2>conftest.er1
8872
grep -v '^ *+' conftest.er1 >conftest.err
8874
cat conftest.err >&5
7804
8875
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805
8876
(exit $ac_status); } &&
7806
{ ac_try='test -s conftest$ac_exeext'
8877
{ ac_try='test -z "$ac_c_werror_flag"
8878
|| 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_exeext'
7807
8885
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7808
8886
(eval $ac_try) 2>&5
7832
8912
echo $ECHO_N "(cached) $ECHO_C" >&6
7834
8914
cat >conftest.$ac_ext <<_ACEOF
7835
#line $LINENO "configure"
7836
#include "confdefs.h"
8917
cat confdefs.h >>conftest.$ac_ext
8918
cat >>conftest.$ac_ext <<_ACEOF
8919
/* end confdefs.h. */
8920
/* Define updwtmpx to an innocuous variant, in case <limits.h> declares updwtmpx.
8921
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8922
#define updwtmpx innocuous_updwtmpx
7837
8924
/* System header to define __stub macros and hopefully few prototypes,
7838
which can conflict with char updwtmpx (); below. */
8925
which can conflict with char updwtmpx (); below.
8926
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8927
<limits.h> exists even on freestanding compilers. */
8930
# include <limits.h>
8932
# include <assert.h>
7840
8937
/* Override any gcc2 internal prototype to avoid an error. */
7841
8938
#ifdef __cplusplus
7844
8942
/* We use char because int might match the return type of a gcc2
7845
8943
builtin and then its argument prototype would still apply. */
7846
8944
char updwtmpx ();
7849
#ifdef F77_DUMMY_MAIN
7853
int F77_DUMMY_MAIN() { return 1; }
7858
8945
/* The GNU C library defines this for functions which it implements
7859
8946
to always fail with ENOSYS. Some functions are actually named
7860
8947
something starting with __ and the normal name is an alias. */
7861
8948
#if defined (__stub_updwtmpx) || defined (__stub___updwtmpx)
8951
char (*f) () = updwtmpx;
8960
return f != updwtmpx;
7871
8965
rm -f conftest.$ac_objext conftest$ac_exeext
7872
8966
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7873
(eval $ac_link) 2>&5
8967
(eval $ac_link) 2>conftest.er1
8969
grep -v '^ *+' conftest.er1 >conftest.err
8971
cat conftest.err >&5
7875
8972
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876
8973
(exit $ac_status); } &&
7877
{ ac_try='test -s conftest$ac_exeext'
8974
{ ac_try='test -z "$ac_c_werror_flag"
8975
|| test ! -s conftest.err'
8976
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980
(exit $ac_status); }; } &&
8981
{ ac_try='test -s conftest$ac_exeext'
7878
8982
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7879
8983
(eval $ac_try) 2>&5
8031
9154
echo $ECHO_N "(cached) $ECHO_C" >&6
8033
9156
cat >conftest.$ac_ext <<_ACEOF
8034
#line $LINENO "configure"
8035
#include "confdefs.h"
9159
cat confdefs.h >>conftest.$ac_ext
9160
cat >>conftest.$ac_ext <<_ACEOF
9161
/* end confdefs.h. */
9162
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9163
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9164
#define $ac_func innocuous_$ac_func
8036
9166
/* System header to define __stub macros and hopefully few prototypes,
8037
which can conflict with char $ac_func (); below. */
9167
which can conflict with char $ac_func (); below.
9168
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9169
<limits.h> exists even on freestanding compilers. */
9172
# include <limits.h>
9174
# include <assert.h>
8039
9179
/* Override any gcc2 internal prototype to avoid an error. */
8040
9180
#ifdef __cplusplus
8043
9184
/* We use char because int might match the return type of a gcc2
8044
9185
builtin and then its argument prototype would still apply. */
8045
9186
char $ac_func ();
8048
#ifdef F77_DUMMY_MAIN
8052
int F77_DUMMY_MAIN() { return 1; }
8057
9187
/* The GNU C library defines this for functions which it implements
8058
9188
to always fail with ENOSYS. Some functions are actually named
8059
9189
something starting with __ and the normal name is an alias. */
8060
9190
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9193
char (*f) () = $ac_func;
9202
return f != $ac_func;
8070
9207
rm -f conftest.$ac_objext conftest$ac_exeext
8071
9208
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8072
(eval $ac_link) 2>&5
9209
(eval $ac_link) 2>conftest.er1
9211
grep -v '^ *+' conftest.er1 >conftest.err
9213
cat conftest.err >&5
8074
9214
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075
9215
(exit $ac_status); } &&
8076
{ ac_try='test -s conftest$ac_exeext'
9216
{ ac_try='test -z "$ac_c_werror_flag"
9217
|| test ! -s conftest.err'
9218
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9221
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9222
(exit $ac_status); }; } &&
9223
{ ac_try='test -s conftest$ac_exeext'
8077
9224
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078
9225
(eval $ac_try) 2>&5
8117
9273
echo $ECHO_N "(cached) $ECHO_C" >&6
8119
9275
cat >conftest.$ac_ext <<_ACEOF
8120
#line $LINENO "configure"
8121
#include "confdefs.h"
9278
cat confdefs.h >>conftest.$ac_ext
9279
cat >>conftest.$ac_ext <<_ACEOF
9280
/* end confdefs.h. */
9281
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9282
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9283
#define $ac_func innocuous_$ac_func
8122
9285
/* System header to define __stub macros and hopefully few prototypes,
8123
which can conflict with char $ac_func (); below. */
9286
which can conflict with char $ac_func (); below.
9287
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9288
<limits.h> exists even on freestanding compilers. */
9291
# include <limits.h>
9293
# include <assert.h>
8125
9298
/* Override any gcc2 internal prototype to avoid an error. */
8126
9299
#ifdef __cplusplus
8129
9303
/* We use char because int might match the return type of a gcc2
8130
9304
builtin and then its argument prototype would still apply. */
8131
9305
char $ac_func ();
8134
#ifdef F77_DUMMY_MAIN
8138
int F77_DUMMY_MAIN() { return 1; }
8143
9306
/* The GNU C library defines this for functions which it implements
8144
9307
to always fail with ENOSYS. Some functions are actually named
8145
9308
something starting with __ and the normal name is an alias. */
8146
9309
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9312
char (*f) () = $ac_func;
9321
return f != $ac_func;
8156
9326
rm -f conftest.$ac_objext conftest$ac_exeext
8157
9327
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8158
(eval $ac_link) 2>&5
9328
(eval $ac_link) 2>conftest.er1
9330
grep -v '^ *+' conftest.er1 >conftest.err
9332
cat conftest.err >&5
8160
9333
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161
9334
(exit $ac_status); } &&
8162
{ ac_try='test -s conftest$ac_exeext'
9335
{ ac_try='test -z "$ac_c_werror_flag"
9336
|| test ! -s conftest.err'
9337
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9340
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341
(exit $ac_status); }; } &&
9342
{ ac_try='test -s conftest$ac_exeext'
8163
9343
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164
9344
(eval $ac_try) 2>&5
8664
9895
echo $ECHO_N "(cached) $ECHO_C" >&6
8666
9897
cat >conftest.$ac_ext <<_ACEOF
8667
#line $LINENO "configure"
8668
#include "confdefs.h"
9900
cat confdefs.h >>conftest.$ac_ext
9901
cat >>conftest.$ac_ext <<_ACEOF
9902
/* end confdefs.h. */
9903
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9904
For example, HP-UX 11i <limits.h> declares gettimeofday. */
9905
#define $ac_func innocuous_$ac_func
8669
9907
/* System header to define __stub macros and hopefully few prototypes,
8670
which can conflict with char $ac_func (); below. */
9908
which can conflict with char $ac_func (); below.
9909
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9910
<limits.h> exists even on freestanding compilers. */
9913
# include <limits.h>
9915
# include <assert.h>
8672
9920
/* Override any gcc2 internal prototype to avoid an error. */
8673
9921
#ifdef __cplusplus
8676
9925
/* We use char because int might match the return type of a gcc2
8677
9926
builtin and then its argument prototype would still apply. */
8678
9927
char $ac_func ();
8681
#ifdef F77_DUMMY_MAIN
8685
int F77_DUMMY_MAIN() { return 1; }
8690
9928
/* The GNU C library defines this for functions which it implements
8691
9929
to always fail with ENOSYS. Some functions are actually named
8692
9930
something starting with __ and the normal name is an alias. */
8693
9931
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9934
char (*f) () = $ac_func;
9943
return f != $ac_func;
8703
9948
rm -f conftest.$ac_objext conftest$ac_exeext
8704
9949
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8705
(eval $ac_link) 2>&5
9950
(eval $ac_link) 2>conftest.er1
9952
grep -v '^ *+' conftest.er1 >conftest.err
9954
cat conftest.err >&5
8707
9955
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708
9956
(exit $ac_status); } &&
8709
{ ac_try='test -s conftest$ac_exeext'
9957
{ ac_try='test -z "$ac_c_werror_flag"
9958
|| test ! -s conftest.err'
9959
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9962
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963
(exit $ac_status); }; } &&
9964
{ ac_try='test -s conftest$ac_exeext'
8710
9965
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8711
9966
(eval $ac_try) 2>&5
8939
10221
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
10224
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10225
# is contrary to our usage. Disable this feature.
10226
alias -g '${1+"$@"}'='"$@"'
8942
10227
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
10230
DUALCASE=1; export DUALCASE # for MKS sh
8947
10232
# Support unset when possible.
8948
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
10233
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8949
10234
as_unset=unset
8951
10236
as_unset=false
8954
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
8955
{ $as_unset LANG || test "${LANG+set}" != set; } ||
8956
{ LANG=C; export LANG; }
8957
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
8958
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
8959
{ LC_ALL=C; export LC_ALL; }
8960
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
8961
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
8962
{ LC_TIME=C; export LC_TIME; }
8963
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
8964
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
8965
{ LC_CTYPE=C; export LC_CTYPE; }
8966
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
8967
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
8968
{ LANGUAGE=C; export LANGUAGE; }
8969
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
8970
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
8971
{ LC_COLLATE=C; export LC_COLLATE; }
8972
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
8973
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
8974
{ LC_NUMERIC=C; export LC_NUMERIC; }
8975
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
8976
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
8977
{ LC_MESSAGES=C; export LC_MESSAGES; }
10240
# Work around bugs in pre-3.0 UWIN ksh.
10241
$as_unset ENV MAIL MAILPATH
10248
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10249
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10250
LC_TELEPHONE LC_TIME
10252
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10253
eval $as_var=C; export $as_var
10259
# Required to use basename.
10260
if expr a : '\(a\)' >/dev/null 2>&1; then
10266
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
10267
as_basename=basename
8980
10273
# Name of the executable.
8981
as_me=`(basename "$0") 2>/dev/null ||
10274
as_me=`$as_basename "$0" ||
8982
10275
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8983
10276
X"$0" : 'X\(//\)$' \| \
8984
10277
X"$0" : 'X\(/\)$' \| \
9512
10837
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9513
10838
case $ac_file in
9514
10839
- | *:- | *:-:* ) # input from stdin
9516
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9517
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10841
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
10842
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9518
10843
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9519
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
10844
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9520
10845
* ) ac_file_in=$ac_file.in ;;
9523
10848
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9524
10849
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
9525
10850
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9526
X"$ac_file" : 'X\(//\)[^/]' \| \
9527
X"$ac_file" : 'X\(//\)$' \| \
9528
X"$ac_file" : 'X\(/\)' \| \
9529
. : '\(.\)' 2>/dev/null ||
10851
X"$ac_file" : 'X\(//\)[^/]' \| \
10852
X"$ac_file" : 'X\(//\)$' \| \
10853
X"$ac_file" : 'X\(/\)' \| \
10854
. : '\(.\)' 2>/dev/null ||
9530
10855
echo X"$ac_file" |
9531
10856
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9532
10857
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9533
10858
/^X\(\/\/\)$/{ s//\1/; q; }
9534
10859
/^X\(\/\).*/{ s//\1/; q; }
9537
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
9541
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
9542
case $as_mkdir_dir in
9543
# Skip DOS drivespec
9544
?:) as_incr_dir=$as_mkdir_dir ;;
9546
as_incr_dir=$as_incr_dir/$as_mkdir_dir
9547
test -d "$as_incr_dir" ||
9548
mkdir "$as_incr_dir" ||
9549
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
9550
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
9551
{ (exit 1); exit 1; }; }
10861
{ if $as_mkdir_p; then
10866
while test ! -d "$as_dir"; do
10867
as_dirs="$as_dir $as_dirs"
10868
as_dir=`(dirname "$as_dir") 2>/dev/null ||
10869
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10870
X"$as_dir" : 'X\(//\)[^/]' \| \
10871
X"$as_dir" : 'X\(//\)$' \| \
10872
X"$as_dir" : 'X\(/\)' \| \
10873
. : '\(.\)' 2>/dev/null ||
10875
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10876
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
10877
/^X\(\/\/\)$/{ s//\1/; q; }
10878
/^X\(\/\).*/{ s//\1/; q; }
10881
test ! -n "$as_dirs" || mkdir $as_dirs
10882
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10883
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10884
{ (exit 1); exit 1; }; }; }