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\(/\)$' \| \
1033
1083
# Keep a trace of the command line.
1034
1084
# Strip out --no-create and --no-recursion so they do not pile up.
1085
# Strip out --silent because we don't want to record it for future runs.
1035
1086
# Also quote any args containing shell meta-characters.
1087
# Make two passes to allow for proper duplicate-argument suppression.
1036
1088
ac_configure_args=
1092
ac_must_keep_next=false
1041
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1042
| --no-cr | --no-c | -n ) continue ;;
1043
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1044
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1046
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1047
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1049
case " $ac_configure_args " in
1050
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1051
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1054
# Get rid of the leading space.
1098
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100
| -silent | --silent | --silen | --sile | --sil)
1102
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1106
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109
if test $ac_must_keep_next = true; then
1110
ac_must_keep_next=false # Got value, back to normal.
1113
*=* | --config-cache | -C | -disable-* | --disable-* \
1114
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116
| -with-* | --with-* | -without-* | --without-* | --x)
1117
case "$ac_configure_args0 " in
1118
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1121
-* ) ac_must_keep_next=true ;;
1124
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125
# Get rid of the leading space.
1131
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1057
1134
# When interrupted or exit'd, cleanup temporary files, and complete
1058
1135
# config.log. We remove comments because anyway the quotes in there
1899
# Some people use a C++ compiler to compile C. Since we use `exit',
1900
# in C++ we need to declare it. In case someone uses the same compiler
1901
# for both compiling C and C++ we need to have the C++ compiler decide
1902
# the declaration of exit, since it's the most demanding environment.
1903
cat >conftest.$ac_ext <<_ACEOF
1908
rm -f conftest.$ac_objext
1909
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1910
(eval $ac_compile) 2>&5
1912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1913
(exit $ac_status); } &&
1914
{ ac_try='test -s conftest.$ac_objext'
1915
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1919
(exit $ac_status); }; }; then
1920
for ac_declaration in \
1922
'#include <stdlib.h>' \
1923
'extern "C" void std::exit (int) throw (); using std::exit;' \
1924
'extern "C" void std::exit (int); using std::exit;' \
1925
'extern "C" void exit (int) throw ();' \
1926
'extern "C" void exit (int);' \
1929
cat >conftest.$ac_ext <<_ACEOF
1930
#line $LINENO "configure"
1931
#include "confdefs.h"
1934
#ifdef F77_DUMMY_MAIN
1938
int F77_DUMMY_MAIN() { return 1; }
1948
rm -f conftest.$ac_objext
1949
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1950
(eval $ac_compile) 2>&5
1952
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953
(exit $ac_status); } &&
1954
{ ac_try='test -s conftest.$ac_objext'
1955
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1958
echo "$as_me:$LINENO: \$? = $ac_status" >&5
1959
(exit $ac_status); }; }; then
1962
echo "$as_me: failed program was:" >&5
1963
cat conftest.$ac_ext >&5
1966
rm -f conftest.$ac_objext conftest.$ac_ext
1967
cat >conftest.$ac_ext <<_ACEOF
1968
#line $LINENO "configure"
1969
#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
2002
rm -f conftest.$ac_objext conftest.$ac_ext
2005
if test -n "$ac_declaration"; then
2006
echo '#ifdef __cplusplus' >>confdefs.h
2007
echo $ac_declaration >>confdefs.h
2008
echo '#endif' >>confdefs.h
2012
echo "$as_me: failed program was:" >&5
2013
cat conftest.$ac_ext >&5
2015
rm -f conftest.$ac_objext conftest.$ac_ext
2017
ac_cpp='$CPP $CPPFLAGS'
2018
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2019
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2020
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2026
ac_cpp='$CPP $CPPFLAGS'
2027
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2028
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2029
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2030
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2031
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2032
# On Suns, sometimes $CPP names a directory.
2033
if test -n "$CPP" && test -d "$CPP"; then
2036
if test -z "$CPP"; then
2037
if test "${ac_cv_prog_CPP+set}" = set; then
2038
echo $ECHO_N "(cached) $ECHO_C" >&6
2040
# Double quotes because CPP needs to be expanded
2041
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2044
for ac_c_preproc_warn_flag in '' yes
2046
# Use a header file that comes with gcc, so configuring glibc
2047
# with a fresh cross-compiler works.
2048
# On the NeXT, cc -E runs the code through the compiler's parser,
2049
# not just through cpp. "Syntax error" is here to catch this case.
2050
cat >conftest.$ac_ext <<_ACEOF
2051
#line $LINENO "configure"
2052
#include "confdefs.h"
2056
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2057
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2059
egrep -v '^ *\+' conftest.er1 >conftest.err
2061
cat conftest.err >&5
2062
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2063
(exit $ac_status); } >/dev/null; then
2064
if test -s conftest.err; then
2065
ac_cpp_err=$ac_c_preproc_warn_flag
2072
if test -z "$ac_cpp_err"; then
2075
echo "$as_me: failed program was:" >&5
2076
cat conftest.$ac_ext >&5
2077
# Broken: fails on valid input.
2080
rm -f conftest.err conftest.$ac_ext
2082
# OK, works on sane cases. Now check whether non-existent headers
2083
# can be detected and how.
2084
cat >conftest.$ac_ext <<_ACEOF
2085
#line $LINENO "configure"
2086
#include "confdefs.h"
2087
#include <ac_nonexistent.h>
2089
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2090
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2092
egrep -v '^ *\+' conftest.er1 >conftest.err
2094
cat conftest.err >&5
2095
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2096
(exit $ac_status); } >/dev/null; then
2097
if test -s conftest.err; then
2098
ac_cpp_err=$ac_c_preproc_warn_flag
2105
if test -z "$ac_cpp_err"; then
2106
# Broken: success on invalid input.
2109
echo "$as_me: failed program was:" >&5
2110
cat conftest.$ac_ext >&5
2111
# Passes both tests.
2115
rm -f conftest.err conftest.$ac_ext
2118
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2119
rm -f conftest.err conftest.$ac_ext
2120
if $ac_preproc_ok; then
2132
echo "$as_me:$LINENO: result: $CPP" >&5
2133
echo "${ECHO_T}$CPP" >&6
2135
for ac_c_preproc_warn_flag in '' yes
2137
# Use a header file that comes with gcc, so configuring glibc
2138
# with a fresh cross-compiler works.
2139
# On the NeXT, cc -E runs the code through the compiler's parser,
2140
# not just through cpp. "Syntax error" is here to catch this case.
2141
cat >conftest.$ac_ext <<_ACEOF
2142
#line $LINENO "configure"
2143
#include "confdefs.h"
2147
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2148
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2150
egrep -v '^ *\+' conftest.er1 >conftest.err
2152
cat conftest.err >&5
2153
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2154
(exit $ac_status); } >/dev/null; then
2155
if test -s conftest.err; then
2156
ac_cpp_err=$ac_c_preproc_warn_flag
2163
if test -z "$ac_cpp_err"; then
2166
echo "$as_me: failed program was:" >&5
2167
cat conftest.$ac_ext >&5
2168
# Broken: fails on valid input.
2171
rm -f conftest.err conftest.$ac_ext
2173
# OK, works on sane cases. Now check whether non-existent headers
2174
# can be detected and how.
2175
cat >conftest.$ac_ext <<_ACEOF
2176
#line $LINENO "configure"
2177
#include "confdefs.h"
2178
#include <ac_nonexistent.h>
2180
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2181
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2183
egrep -v '^ *\+' conftest.er1 >conftest.err
2185
cat conftest.err >&5
2186
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187
(exit $ac_status); } >/dev/null; then
2188
if test -s conftest.err; then
2189
ac_cpp_err=$ac_c_preproc_warn_flag
2196
if test -z "$ac_cpp_err"; then
2197
# Broken: success on invalid input.
2200
echo "$as_me: failed program was:" >&5
2201
cat conftest.$ac_ext >&5
2202
# Passes both tests.
2206
rm -f conftest.err conftest.$ac_ext
2209
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2210
rm -f conftest.err conftest.$ac_ext
2211
if $ac_preproc_ok; then
2214
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2215
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2216
{ (exit 1); exit 1; }; }
2220
ac_cpp='$CPP $CPPFLAGS'
2221
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2222
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2223
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226
2036
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2227
2037
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2228
2038
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2320
2147
CC="$CC $ac_cv_prog_cc_stdc" ;;
2150
# Some people use a C++ compiler to compile C. Since we use `exit',
2151
# in C++ we need to declare it. In case someone uses the same compiler
2152
# for both compiling C and C++ we need to have the C++ compiler decide
2153
# the declaration of exit, since it's the most demanding environment.
2154
cat >conftest.$ac_ext <<_ACEOF
2159
rm -f conftest.$ac_objext
2160
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2161
(eval $ac_compile) 2>conftest.er1
2163
grep -v '^ *+' conftest.er1 >conftest.err
2165
cat conftest.err >&5
2166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167
(exit $ac_status); } &&
2168
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2169
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173
(exit $ac_status); }; } &&
2174
{ ac_try='test -s conftest.$ac_objext'
2175
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
(exit $ac_status); }; }; then
2180
for ac_declaration in \
2182
'extern "C" void std::exit (int) throw (); using std::exit;' \
2183
'extern "C" void std::exit (int); using std::exit;' \
2184
'extern "C" void exit (int) throw ();' \
2185
'extern "C" void exit (int);' \
2188
cat >conftest.$ac_ext <<_ACEOF
2191
cat confdefs.h >>conftest.$ac_ext
2192
cat >>conftest.$ac_ext <<_ACEOF
2193
/* end confdefs.h. */
2204
rm -f conftest.$ac_objext
2205
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2206
(eval $ac_compile) 2>conftest.er1
2208
grep -v '^ *+' conftest.er1 >conftest.err
2210
cat conftest.err >&5
2211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212
(exit $ac_status); } &&
2213
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2214
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218
(exit $ac_status); }; } &&
2219
{ ac_try='test -s conftest.$ac_objext'
2220
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224
(exit $ac_status); }; }; then
2227
echo "$as_me: failed program was:" >&5
2228
sed 's/^/| /' conftest.$ac_ext >&5
2232
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2233
cat >conftest.$ac_ext <<_ACEOF
2236
cat confdefs.h >>conftest.$ac_ext
2237
cat >>conftest.$ac_ext <<_ACEOF
2238
/* end confdefs.h. */
2248
rm -f conftest.$ac_objext
2249
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2250
(eval $ac_compile) 2>conftest.er1
2252
grep -v '^ *+' conftest.er1 >conftest.err
2254
cat conftest.err >&5
2255
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2256
(exit $ac_status); } &&
2257
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2258
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2261
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262
(exit $ac_status); }; } &&
2263
{ ac_try='test -s conftest.$ac_objext'
2264
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268
(exit $ac_status); }; }; then
2271
echo "$as_me: failed program was:" >&5
2272
sed 's/^/| /' conftest.$ac_ext >&5
2275
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2278
if test -n "$ac_declaration"; then
2279
echo '#ifdef __cplusplus' >>confdefs.h
2280
echo $ac_declaration >>confdefs.h
2281
echo '#endif' >>confdefs.h
2285
echo "$as_me: failed program was:" >&5
2286
sed 's/^/| /' conftest.$ac_ext >&5
2289
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2291
ac_cpp='$CPP $CPPFLAGS'
2292
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2293
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2294
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300
ac_cpp='$CPP $CPPFLAGS'
2301
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2302
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2303
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2304
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2305
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2306
# On Suns, sometimes $CPP names a directory.
2307
if test -n "$CPP" && test -d "$CPP"; then
2310
if test -z "$CPP"; then
2311
if test "${ac_cv_prog_CPP+set}" = set; then
2312
echo $ECHO_N "(cached) $ECHO_C" >&6
2314
# Double quotes because CPP needs to be expanded
2315
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2318
for ac_c_preproc_warn_flag in '' yes
2320
# Use a header file that comes with gcc, so configuring glibc
2321
# with a fresh cross-compiler works.
2322
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2323
# <limits.h> exists even on freestanding compilers.
2324
# On the NeXT, cc -E runs the code through the compiler's parser,
2325
# not just through cpp. "Syntax error" is here to catch this case.
2326
cat >conftest.$ac_ext <<_ACEOF
2329
cat confdefs.h >>conftest.$ac_ext
2330
cat >>conftest.$ac_ext <<_ACEOF
2331
/* end confdefs.h. */
2333
# include <limits.h>
2335
# include <assert.h>
2339
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2340
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2342
grep -v '^ *+' conftest.er1 >conftest.err
2344
cat conftest.err >&5
2345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346
(exit $ac_status); } >/dev/null; then
2347
if test -s conftest.err; then
2348
ac_cpp_err=$ac_c_preproc_warn_flag
2349
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2356
if test -z "$ac_cpp_err"; then
2359
echo "$as_me: failed program was:" >&5
2360
sed 's/^/| /' conftest.$ac_ext >&5
2362
# Broken: fails on valid input.
2365
rm -f conftest.err conftest.$ac_ext
2367
# OK, works on sane cases. Now check whether non-existent headers
2368
# can be detected and how.
2369
cat >conftest.$ac_ext <<_ACEOF
2372
cat confdefs.h >>conftest.$ac_ext
2373
cat >>conftest.$ac_ext <<_ACEOF
2374
/* end confdefs.h. */
2375
#include <ac_nonexistent.h>
2377
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2378
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2380
grep -v '^ *+' conftest.er1 >conftest.err
2382
cat conftest.err >&5
2383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384
(exit $ac_status); } >/dev/null; then
2385
if test -s conftest.err; then
2386
ac_cpp_err=$ac_c_preproc_warn_flag
2387
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2394
if test -z "$ac_cpp_err"; then
2395
# Broken: success on invalid input.
2398
echo "$as_me: failed program was:" >&5
2399
sed 's/^/| /' conftest.$ac_ext >&5
2401
# Passes both tests.
2405
rm -f conftest.err conftest.$ac_ext
2408
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2409
rm -f conftest.err conftest.$ac_ext
2410
if $ac_preproc_ok; then
2422
echo "$as_me:$LINENO: result: $CPP" >&5
2423
echo "${ECHO_T}$CPP" >&6
2425
for ac_c_preproc_warn_flag in '' yes
2427
# Use a header file that comes with gcc, so configuring glibc
2428
# with a fresh cross-compiler works.
2429
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2430
# <limits.h> exists even on freestanding compilers.
2431
# On the NeXT, cc -E runs the code through the compiler's parser,
2432
# not just through cpp. "Syntax error" is here to catch this case.
2433
cat >conftest.$ac_ext <<_ACEOF
2436
cat confdefs.h >>conftest.$ac_ext
2437
cat >>conftest.$ac_ext <<_ACEOF
2438
/* end confdefs.h. */
2440
# include <limits.h>
2442
# include <assert.h>
2446
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2447
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2449
grep -v '^ *+' conftest.er1 >conftest.err
2451
cat conftest.err >&5
2452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453
(exit $ac_status); } >/dev/null; then
2454
if test -s conftest.err; then
2455
ac_cpp_err=$ac_c_preproc_warn_flag
2456
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2463
if test -z "$ac_cpp_err"; then
2466
echo "$as_me: failed program was:" >&5
2467
sed 's/^/| /' conftest.$ac_ext >&5
2469
# Broken: fails on valid input.
2472
rm -f conftest.err conftest.$ac_ext
2474
# OK, works on sane cases. Now check whether non-existent headers
2475
# can be detected and how.
2476
cat >conftest.$ac_ext <<_ACEOF
2479
cat confdefs.h >>conftest.$ac_ext
2480
cat >>conftest.$ac_ext <<_ACEOF
2481
/* end confdefs.h. */
2482
#include <ac_nonexistent.h>
2484
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2485
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2487
grep -v '^ *+' conftest.er1 >conftest.err
2489
cat conftest.err >&5
2490
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491
(exit $ac_status); } >/dev/null; then
2492
if test -s conftest.err; then
2493
ac_cpp_err=$ac_c_preproc_warn_flag
2494
ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2501
if test -z "$ac_cpp_err"; then
2502
# Broken: success on invalid input.
2505
echo "$as_me: failed program was:" >&5
2506
sed 's/^/| /' conftest.$ac_ext >&5
2508
# Passes both tests.
2512
rm -f conftest.err conftest.$ac_ext
2515
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2516
rm -f conftest.err conftest.$ac_ext
2517
if $ac_preproc_ok; then
2520
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2521
See \`config.log' for more details." >&5
2522
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2523
See \`config.log' for more details." >&2;}
2524
{ (exit 1); exit 1; }; }
2528
ac_cpp='$CPP $CPPFLAGS'
2529
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2530
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2531
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2325
2536
for x in . .. ../.. ../../.. ../../../..; do
2991
3236
echo $ECHO_N "(cached) $ECHO_C" >&6
2993
3238
cat >conftest.$ac_ext <<_ACEOF
2994
#line $LINENO "configure"
2995
#include "confdefs.h"
3241
cat confdefs.h >>conftest.$ac_ext
3242
cat >>conftest.$ac_ext <<_ACEOF
3243
/* end confdefs.h. */
3244
/* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3245
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3246
#define gethostbyname innocuous_gethostbyname
2996
3248
/* System header to define __stub macros and hopefully few prototypes,
2997
which can conflict with char gethostbyname (); below. */
3249
which can conflict with char gethostbyname (); below.
3250
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3251
<limits.h> exists even on freestanding compilers. */
3254
# include <limits.h>
3256
# include <assert.h>
3259
#undef gethostbyname
2999
3261
/* Override any gcc2 internal prototype to avoid an error. */
3000
3262
#ifdef __cplusplus
3003
3266
/* We use char because int might match the return type of a gcc2
3004
3267
builtin and then its argument prototype would still apply. */
3005
3268
char gethostbyname ();
3008
#ifdef F77_DUMMY_MAIN
3012
int F77_DUMMY_MAIN() { return 1; }
3017
3269
/* The GNU C library defines this for functions which it implements
3018
3270
to always fail with ENOSYS. Some functions are actually named
3019
3271
something starting with __ and the normal name is an alias. */
3020
3272
#if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3275
char (*f) () = gethostbyname;
3284
return f != gethostbyname;
3030
3289
rm -f conftest.$ac_objext conftest$ac_exeext
3031
3290
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3032
(eval $ac_link) 2>&5
3291
(eval $ac_link) 2>conftest.er1
3293
grep -v '^ *+' conftest.er1 >conftest.err
3295
cat conftest.err >&5
3034
3296
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035
3297
(exit $ac_status); } &&
3036
{ ac_try='test -s conftest$ac_exeext'
3298
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3299
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3302
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303
(exit $ac_status); }; } &&
3304
{ ac_try='test -s conftest$ac_exeext'
3037
3305
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3038
3306
(eval $ac_try) 2>&5
3322
3624
echo $ECHO_N "(cached) $ECHO_C" >&6
3324
3626
cat >conftest.$ac_ext <<_ACEOF
3325
#line $LINENO "configure"
3326
#include "confdefs.h"
3629
cat confdefs.h >>conftest.$ac_ext
3630
cat >>conftest.$ac_ext <<_ACEOF
3631
/* end confdefs.h. */
3632
/* Define socket to an innocuous variant, in case <limits.h> declares socket.
3633
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3634
#define socket innocuous_socket
3327
3636
/* System header to define __stub macros and hopefully few prototypes,
3328
which can conflict with char socket (); below. */
3637
which can conflict with char socket (); below.
3638
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3639
<limits.h> exists even on freestanding compilers. */
3642
# include <limits.h>
3644
# include <assert.h>
3330
3649
/* Override any gcc2 internal prototype to avoid an error. */
3331
3650
#ifdef __cplusplus
3334
3654
/* We use char because int might match the return type of a gcc2
3335
3655
builtin and then its argument prototype would still apply. */
3336
3656
char socket ();
3339
#ifdef F77_DUMMY_MAIN
3343
int F77_DUMMY_MAIN() { return 1; }
3348
3657
/* The GNU C library defines this for functions which it implements
3349
3658
to always fail with ENOSYS. Some functions are actually named
3350
3659
something starting with __ and the normal name is an alias. */
3351
3660
#if defined (__stub_socket) || defined (__stub___socket)
3663
char (*f) () = socket;
3361
3677
rm -f conftest.$ac_objext conftest$ac_exeext
3362
3678
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3363
(eval $ac_link) 2>&5
3679
(eval $ac_link) 2>conftest.er1
3681
grep -v '^ *+' conftest.er1 >conftest.err
3683
cat conftest.err >&5
3365
3684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366
3685
(exit $ac_status); } &&
3367
{ ac_try='test -s conftest$ac_exeext'
3686
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3687
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691
(exit $ac_status); }; } &&
3692
{ ac_try='test -s conftest$ac_exeext'
3368
3693
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3369
3694
(eval $ac_try) 2>&5
3600
3941
/* We use char because int might match the return type of a gcc2
3601
3942
builtin and then its argument prototype would still apply. */
3602
3943
char res_search ();
3605
#ifdef F77_DUMMY_MAIN
3609
int F77_DUMMY_MAIN() { return 1; }
3614
/* The GNU C library defines this for functions which it implements
3615
to always fail with ENOSYS. Some functions are actually named
3616
something starting with __ and the normal name is an alias. */
3617
#if defined (__stub_res_search) || defined (__stub___res_search)
3627
3952
rm -f conftest.$ac_objext conftest$ac_exeext
3628
3953
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3629
(eval $ac_link) 2>&5
3954
(eval $ac_link) 2>conftest.er1
3956
grep -v '^ *+' conftest.er1 >conftest.err
3958
cat conftest.err >&5
3631
3959
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632
3960
(exit $ac_status); } &&
3633
{ ac_try='test -s conftest$ac_exeext'
3961
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3962
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966
(exit $ac_status); }; } &&
3967
{ ac_try='test -s conftest$ac_exeext'
3634
3968
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635
3969
(eval $ac_try) 2>&5
3637
3971
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638
3972
(exit $ac_status); }; }; then
3639
ac_cv_func_res_search=yes
3973
echo "$as_me:$LINENO: result: yes" >&5
3974
echo "${ECHO_T}yes" >&6
3641
3976
echo "$as_me: failed program was:" >&5
3642
cat conftest.$ac_ext >&5
3643
ac_cv_func_res_search=no
3645
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3647
echo "$as_me:$LINENO: result: $ac_cv_func_res_search" >&5
3648
echo "${ECHO_T}$ac_cv_func_res_search" >&6
3649
if test $ac_cv_func_res_search = yes; then
3652
echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3977
sed 's/^/| /' conftest.$ac_ext >&5
3979
echo "$as_me:$LINENO: result: no" >&5
3980
echo "${ECHO_T}no" >&6
3982
rm -f conftest.err conftest.$ac_objext \
3983
conftest$ac_exeext conftest.$ac_ext
3985
LIBS="$LIBS -lresolv"
3986
echo "$as_me:$LINENO: checking for res_search in -lresolv" >&5
3653
3987
echo $ECHO_N "checking for res_search in -lresolv... $ECHO_C" >&6
3654
if test "${ac_cv_lib_resolv_res_search+set}" = set; then
3655
echo $ECHO_N "(cached) $ECHO_C" >&6
3657
ac_check_lib_save_LIBS=$LIBS
3658
LIBS="-lresolv $LIBS"
3659
cat >conftest.$ac_ext <<_ACEOF
3660
#line $LINENO "configure"
3661
#include "confdefs.h"
3988
cat >conftest.$ac_ext <<_ACEOF
3663
/* Override any gcc2 internal prototype to avoid an error. */
3667
/* We use char because int might match the return type of a gcc2
3668
builtin and then its argument prototype would still apply. */
3670
#ifdef F77_DUMMY_MAIN
3674
int F77_DUMMY_MAIN() { return 1; }
3993
res_search (0, 0, 0, 0, 0);
3684
3997
rm -f conftest.$ac_objext conftest$ac_exeext
3685
3998
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3686
(eval $ac_link) 2>&5
3999
(eval $ac_link) 2>conftest.er1
4001
grep -v '^ *+' conftest.er1 >conftest.err
4003
cat conftest.err >&5
3688
4004
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689
4005
(exit $ac_status); } &&
3690
{ ac_try='test -s conftest$ac_exeext'
4006
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011
(exit $ac_status); }; } &&
4012
{ ac_try='test -s conftest$ac_exeext'
3691
4013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692
4014
(eval $ac_try) 2>&5
3694
4016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695
4017
(exit $ac_status); }; }; then
3696
ac_cv_lib_resolv_res_search=yes
4018
LIBS="$LIBS -lresolv"; RESOLV_LIB=-lresolv; echo "$as_me:$LINENO: result: yes" >&5
4019
echo "${ECHO_T}yes" >&6
3698
4021
echo "$as_me: failed program was:" >&5
3699
cat conftest.$ac_ext >&5
3700
ac_cv_lib_resolv_res_search=no
3702
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3703
LIBS=$ac_check_lib_save_LIBS
3705
echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_search" >&5
3706
echo "${ECHO_T}$ac_cv_lib_resolv_res_search" >&6
3707
if test $ac_cv_lib_resolv_res_search = yes; then
3708
LIBS="$LIBS -lresolv" ; RESOLV_LIB=-lresolv
3710
{ { echo "$as_me:$LINENO: error: Cannot find resolver support routine res_search in -lresolv." >&5
3711
echo "$as_me: error: Cannot find resolver support routine res_search in -lresolv." >&2;}
3712
{ (exit 1); exit 1; }; }
4022
sed 's/^/| /' conftest.$ac_ext >&5
4024
LIBS="$saved_LIBS"; echo "$as_me:$LINENO: result: no" >&5
4025
echo "${ECHO_T}no" >&6
4027
rm -f conftest.err conftest.$ac_objext \
4028
conftest$ac_exeext conftest.$ac_ext
4678
echo "$as_me:$LINENO: checking for egrep" >&5
4679
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4680
if test "${ac_cv_prog_egrep+set}" = set; then
4681
echo $ECHO_N "(cached) $ECHO_C" >&6
4683
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4684
then ac_cv_prog_egrep='grep -E'
4685
else ac_cv_prog_egrep='egrep'
4688
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4689
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4690
EGREP=$ac_cv_prog_egrep
4309
4693
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4310
4694
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4311
4695
if test "${ac_cv_header_stdc+set}" = set; then
4312
4696
echo $ECHO_N "(cached) $ECHO_C" >&6
4314
4698
cat >conftest.$ac_ext <<_ACEOF
4315
#line $LINENO "configure"
4316
#include "confdefs.h"
4701
cat confdefs.h >>conftest.$ac_ext
4702
cat >>conftest.$ac_ext <<_ACEOF
4703
/* end confdefs.h. */
4317
4704
#include <stdlib.h>
4318
4705
#include <stdarg.h>
4319
4706
#include <string.h>
4320
4707
#include <float.h>
4323
if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4324
(eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4717
rm -f conftest.$ac_objext
4718
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4719
(eval $ac_compile) 2>conftest.er1
4326
egrep -v '^ *\+' conftest.er1 >conftest.err
4721
grep -v '^ *+' conftest.er1 >conftest.err
4327
4722
rm -f conftest.er1
4328
4723
cat conftest.err >&5
4329
4724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330
(exit $ac_status); } >/dev/null; then
4331
if test -s conftest.err; then
4332
ac_cpp_err=$ac_c_preproc_warn_flag
4339
if test -z "$ac_cpp_err"; then
4725
(exit $ac_status); } &&
4726
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4727
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731
(exit $ac_status); }; } &&
4732
{ ac_try='test -s conftest.$ac_objext'
4733
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4736
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737
(exit $ac_status); }; }; then
4340
4738
ac_cv_header_stdc=yes
4342
4740
echo "$as_me: failed program was:" >&5
4343
cat conftest.$ac_ext >&5
4344
ac_cv_header_stdc=no
4741
sed 's/^/| /' conftest.$ac_ext >&5
4743
ac_cv_header_stdc=no
4346
rm -f conftest.err conftest.$ac_ext
4745
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4348
4747
if test $ac_cv_header_stdc = yes; then
4349
4748
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4350
4749
cat >conftest.$ac_ext <<_ACEOF
4351
#line $LINENO "configure"
4352
#include "confdefs.h"
4752
cat confdefs.h >>conftest.$ac_ext
4753
cat >>conftest.$ac_ext <<_ACEOF
4754
/* end confdefs.h. */
4353
4755
#include <string.h>
4356
4758
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4357
egrep "memchr" >/dev/null 2>&1; then
4759
$EGREP "memchr" >/dev/null 2>&1; then
4360
4762
ac_cv_header_stdc=no
4642
5090
echo "${ECHO_T}$ac_header_preproc" >&6
4644
5092
# So? What about this header?
4645
case $ac_header_compiler:$ac_header_preproc in
5093
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4647
5095
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4648
5096
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4649
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4650
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5097
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5098
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5099
ac_header_preproc=yes
4652
5102
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4653
5103
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4654
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4655
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5104
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5105
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5106
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5107
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5108
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5109
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4656
5110
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4657
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5111
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5112
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5113
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5116
## ------------------------------------------ ##
5117
## Report this to the AC_PACKAGE_NAME lists. ##
5118
## ------------------------------------------ ##
5121
sed "s/^/$as_me: WARNING: /" >&2
4659
5124
echo "$as_me:$LINENO: checking for $ac_header" >&5
4660
5125
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4661
5126
if eval "test \"\${$as_ac_Header+set}\" = set"; then
4662
5127
echo $ECHO_N "(cached) $ECHO_C" >&6
4664
eval "$as_ac_Header=$ac_header_preproc"
5129
eval "$as_ac_Header=\$ac_header_preproc"
4666
5131
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4667
5132
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4687
5152
echo $ECHO_N "(cached) $ECHO_C" >&6
4689
5154
cat >conftest.$ac_ext <<_ACEOF
4690
#line $LINENO "configure"
4691
#include "confdefs.h"
5157
cat confdefs.h >>conftest.$ac_ext
5158
cat >>conftest.$ac_ext <<_ACEOF
5159
/* end confdefs.h. */
5160
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5161
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5162
#define $ac_func innocuous_$ac_func
4692
5164
/* System header to define __stub macros and hopefully few prototypes,
4693
which can conflict with char $ac_func (); below. */
5165
which can conflict with char $ac_func (); below.
5166
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5167
<limits.h> exists even on freestanding compilers. */
5170
# include <limits.h>
5172
# include <assert.h>
4695
5177
/* Override any gcc2 internal prototype to avoid an error. */
4696
5178
#ifdef __cplusplus
4699
5182
/* We use char because int might match the return type of a gcc2
4700
5183
builtin and then its argument prototype would still apply. */
4701
5184
char $ac_func ();
4704
#ifdef F77_DUMMY_MAIN
4708
int F77_DUMMY_MAIN() { return 1; }
4713
5185
/* The GNU C library defines this for functions which it implements
4714
5186
to always fail with ENOSYS. Some functions are actually named
4715
5187
something starting with __ and the normal name is an alias. */
4716
5188
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5191
char (*f) () = $ac_func;
5200
return f != $ac_func;
4726
5205
rm -f conftest.$ac_objext conftest$ac_exeext
4727
5206
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4728
(eval $ac_link) 2>&5
5207
(eval $ac_link) 2>conftest.er1
5209
grep -v '^ *+' conftest.er1 >conftest.err
5211
cat conftest.err >&5
4730
5212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731
5213
(exit $ac_status); } &&
4732
{ ac_try='test -s conftest$ac_exeext'
5214
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5215
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219
(exit $ac_status); }; } &&
5220
{ ac_try='test -s conftest$ac_exeext'
4733
5221
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4734
5222
(eval $ac_try) 2>&5
5063
5568
echo $ECHO_N "(cached) $ECHO_C" >&6
5065
5570
cat >conftest.$ac_ext <<_ACEOF
5066
#line $LINENO "configure"
5067
#include "confdefs.h"
5573
cat confdefs.h >>conftest.$ac_ext
5574
cat >>conftest.$ac_ext <<_ACEOF
5575
/* end confdefs.h. */
5576
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5577
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5578
#define $ac_func innocuous_$ac_func
5068
5580
/* System header to define __stub macros and hopefully few prototypes,
5069
which can conflict with char $ac_func (); below. */
5581
which can conflict with char $ac_func (); below.
5582
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5583
<limits.h> exists even on freestanding compilers. */
5586
# include <limits.h>
5588
# include <assert.h>
5071
5593
/* Override any gcc2 internal prototype to avoid an error. */
5072
5594
#ifdef __cplusplus
5075
5598
/* We use char because int might match the return type of a gcc2
5076
5599
builtin and then its argument prototype would still apply. */
5077
5600
char $ac_func ();
5080
#ifdef F77_DUMMY_MAIN
5084
int F77_DUMMY_MAIN() { return 1; }
5089
5601
/* The GNU C library defines this for functions which it implements
5090
5602
to always fail with ENOSYS. Some functions are actually named
5091
5603
something starting with __ and the normal name is an alias. */
5092
5604
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5607
char (*f) () = $ac_func;
5616
return f != $ac_func;
5102
5621
rm -f conftest.$ac_objext conftest$ac_exeext
5103
5622
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5104
(eval $ac_link) 2>&5
5623
(eval $ac_link) 2>conftest.er1
5625
grep -v '^ *+' conftest.er1 >conftest.err
5627
cat conftest.err >&5
5106
5628
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107
5629
(exit $ac_status); } &&
5108
{ ac_try='test -s conftest$ac_exeext'
5630
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5631
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5635
(exit $ac_status); }; } &&
5636
{ ac_try='test -s conftest$ac_exeext'
5109
5637
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5110
5638
(eval $ac_try) 2>&5
5225
5773
echo "${ECHO_T}$ac_header_preproc" >&6
5227
5775
# So? What about this header?
5228
case $ac_header_compiler:$ac_header_preproc in
5776
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5230
5778
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5231
5779
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5232
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5233
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5780
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5781
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5782
ac_header_preproc=yes
5235
5785
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5236
5786
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5237
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5238
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5787
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5788
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5789
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5790
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5791
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5792
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5239
5793
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5240
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
5794
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5795
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5796
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5799
## ------------------------------------------ ##
5800
## Report this to the AC_PACKAGE_NAME lists. ##
5801
## ------------------------------------------ ##
5804
sed "s/^/$as_me: WARNING: /" >&2
5242
5807
echo "$as_me:$LINENO: checking for $ac_header" >&5
5243
5808
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5244
5809
if eval "test \"\${$as_ac_Header+set}\" = set"; then
5245
5810
echo $ECHO_N "(cached) $ECHO_C" >&6
5247
eval "$as_ac_Header=$ac_header_preproc"
5812
eval "$as_ac_Header=\$ac_header_preproc"
5249
5814
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5250
5815
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5399
5978
echo $ECHO_N "(cached) $ECHO_C" >&6
5401
5980
cat >conftest.$ac_ext <<_ACEOF
5402
#line $LINENO "configure"
5403
#include "confdefs.h"
5983
cat confdefs.h >>conftest.$ac_ext
5984
cat >>conftest.$ac_ext <<_ACEOF
5985
/* end confdefs.h. */
5986
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5987
For example, HP-UX 11i <limits.h> declares gettimeofday. */
5988
#define $ac_func innocuous_$ac_func
5404
5990
/* System header to define __stub macros and hopefully few prototypes,
5405
which can conflict with char $ac_func (); below. */
5991
which can conflict with char $ac_func (); below.
5992
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5993
<limits.h> exists even on freestanding compilers. */
5996
# include <limits.h>
5998
# include <assert.h>
5407
6003
/* Override any gcc2 internal prototype to avoid an error. */
5408
6004
#ifdef __cplusplus
5411
6008
/* We use char because int might match the return type of a gcc2
5412
6009
builtin and then its argument prototype would still apply. */
5413
6010
char $ac_func ();
5416
#ifdef F77_DUMMY_MAIN
5420
int F77_DUMMY_MAIN() { return 1; }
5425
6011
/* The GNU C library defines this for functions which it implements
5426
6012
to always fail with ENOSYS. Some functions are actually named
5427
6013
something starting with __ and the normal name is an alias. */
5428
6014
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6017
char (*f) () = $ac_func;
6026
return f != $ac_func;
5438
6031
rm -f conftest.$ac_objext conftest$ac_exeext
5439
6032
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5440
(eval $ac_link) 2>&5
6033
(eval $ac_link) 2>conftest.er1
6035
grep -v '^ *+' conftest.er1 >conftest.err
6037
cat conftest.err >&5
5442
6038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5443
6039
(exit $ac_status); } &&
5444
{ ac_try='test -s conftest$ac_exeext'
6040
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6041
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045
(exit $ac_status); }; } &&
6046
{ ac_try='test -s conftest$ac_exeext'
5445
6047
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5446
6048
(eval $ac_try) 2>&5
5607
6232
echo $ECHO_N "(cached) $ECHO_C" >&6
5609
6234
cat >conftest.$ac_ext <<_ACEOF
5610
#line $LINENO "configure"
5611
#include "confdefs.h"
6237
cat confdefs.h >>conftest.$ac_ext
6238
cat >>conftest.$ac_ext <<_ACEOF
6239
/* end confdefs.h. */
6240
/* Define sigprocmask to an innocuous variant, in case <limits.h> declares sigprocmask.
6241
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6242
#define sigprocmask innocuous_sigprocmask
5612
6244
/* System header to define __stub macros and hopefully few prototypes,
5613
which can conflict with char sigprocmask (); below. */
6245
which can conflict with char sigprocmask (); below.
6246
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6247
<limits.h> exists even on freestanding compilers. */
6250
# include <limits.h>
6252
# include <assert.h>
5615
6257
/* Override any gcc2 internal prototype to avoid an error. */
5616
6258
#ifdef __cplusplus
5619
6262
/* We use char because int might match the return type of a gcc2
5620
6263
builtin and then its argument prototype would still apply. */
5621
6264
char sigprocmask ();
5624
#ifdef F77_DUMMY_MAIN
5628
int F77_DUMMY_MAIN() { return 1; }
5633
6265
/* The GNU C library defines this for functions which it implements
5634
6266
to always fail with ENOSYS. Some functions are actually named
5635
6267
something starting with __ and the normal name is an alias. */
5636
6268
#if defined (__stub_sigprocmask) || defined (__stub___sigprocmask)
6271
char (*f) () = sigprocmask;
6280
return f != sigprocmask;
5646
6285
rm -f conftest.$ac_objext conftest$ac_exeext
5647
6286
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648
(eval $ac_link) 2>&5
6287
(eval $ac_link) 2>conftest.er1
6289
grep -v '^ *+' conftest.er1 >conftest.err
6291
cat conftest.err >&5
5650
6292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651
6293
(exit $ac_status); } &&
5652
{ ac_try='test -s conftest$ac_exeext'
6294
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6295
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299
(exit $ac_status); }; } &&
6300
{ ac_try='test -s conftest$ac_exeext'
5653
6301
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5654
6302
(eval $ac_try) 2>&5
5729
6386
echo $ECHO_N "(cached) $ECHO_C" >&6
5731
6388
cat >conftest.$ac_ext <<_ACEOF
5732
#line $LINENO "configure"
5733
#include "confdefs.h"
6391
cat confdefs.h >>conftest.$ac_ext
6392
cat >>conftest.$ac_ext <<_ACEOF
6393
/* end confdefs.h. */
6394
/* Define sigsetjmp to an innocuous variant, in case <limits.h> declares sigsetjmp.
6395
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6396
#define sigsetjmp innocuous_sigsetjmp
5734
6398
/* System header to define __stub macros and hopefully few prototypes,
5735
which can conflict with char sigsetjmp (); below. */
6399
which can conflict with char sigsetjmp (); below.
6400
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6401
<limits.h> exists even on freestanding compilers. */
6404
# include <limits.h>
6406
# include <assert.h>
5737
6411
/* Override any gcc2 internal prototype to avoid an error. */
5738
6412
#ifdef __cplusplus
5741
6416
/* We use char because int might match the return type of a gcc2
5742
6417
builtin and then its argument prototype would still apply. */
5743
6418
char sigsetjmp ();
5746
#ifdef F77_DUMMY_MAIN
5750
int F77_DUMMY_MAIN() { return 1; }
5755
6419
/* The GNU C library defines this for functions which it implements
5756
6420
to always fail with ENOSYS. Some functions are actually named
5757
6421
something starting with __ and the normal name is an alias. */
5758
6422
#if defined (__stub_sigsetjmp) || defined (__stub___sigsetjmp)
6425
char (*f) () = sigsetjmp;
6434
return f != sigsetjmp;
5768
6439
rm -f conftest.$ac_objext conftest$ac_exeext
5769
6440
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5770
(eval $ac_link) 2>&5
6441
(eval $ac_link) 2>conftest.er1
6443
grep -v '^ *+' conftest.er1 >conftest.err
6445
cat conftest.err >&5
5772
6446
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773
6447
(exit $ac_status); } &&
5774
{ ac_try='test -s conftest$ac_exeext'
6448
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6449
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453
(exit $ac_status); }; } &&
6454
{ ac_try='test -s conftest$ac_exeext'
5775
6455
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5776
6456
(eval $ac_try) 2>&5
5920
6627
echo "${ECHO_T}$ac_header_preproc" >&6
5922
6629
# So? What about this header?
5923
case $ac_header_compiler:$ac_header_preproc in
6630
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5925
6632
{ echo "$as_me:$LINENO: WARNING: dirent.h: accepted by the compiler, rejected by the preprocessor!" >&5
5926
6633
echo "$as_me: WARNING: dirent.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
5927
{ echo "$as_me:$LINENO: WARNING: dirent.h: proceeding with the preprocessor's result" >&5
5928
echo "$as_me: WARNING: dirent.h: proceeding with the preprocessor's result" >&2;};;
6634
{ echo "$as_me:$LINENO: WARNING: dirent.h: proceeding with the compiler's result" >&5
6635
echo "$as_me: WARNING: dirent.h: proceeding with the compiler's result" >&2;}
6636
ac_header_preproc=yes
5930
6639
{ echo "$as_me:$LINENO: WARNING: dirent.h: present but cannot be compiled" >&5
5931
6640
echo "$as_me: WARNING: dirent.h: present but cannot be compiled" >&2;}
5932
{ echo "$as_me:$LINENO: WARNING: dirent.h: check for missing prerequisite headers?" >&5
5933
echo "$as_me: WARNING: dirent.h: check for missing prerequisite headers?" >&2;}
6641
{ echo "$as_me:$LINENO: WARNING: dirent.h: check for missing prerequisite headers?" >&5
6642
echo "$as_me: WARNING: dirent.h: check for missing prerequisite headers?" >&2;}
6643
{ echo "$as_me:$LINENO: WARNING: dirent.h: see the Autoconf documentation" >&5
6644
echo "$as_me: WARNING: dirent.h: see the Autoconf documentation" >&2;}
6645
{ echo "$as_me:$LINENO: WARNING: dirent.h: section \"Present But Cannot Be Compiled\"" >&5
6646
echo "$as_me: WARNING: dirent.h: section \"Present But Cannot Be Compiled\"" >&2;}
5934
6647
{ echo "$as_me:$LINENO: WARNING: dirent.h: proceeding with the preprocessor's result" >&5
5935
echo "$as_me: WARNING: dirent.h: proceeding with the preprocessor's result" >&2;};;
6648
echo "$as_me: WARNING: dirent.h: proceeding with the preprocessor's result" >&2;}
6649
{ echo "$as_me:$LINENO: WARNING: dirent.h: in the future, the compiler will take precedence" >&5
6650
echo "$as_me: WARNING: dirent.h: in the future, the compiler will take precedence" >&2;}
6653
## ------------------------------------------ ##
6654
## Report this to the AC_PACKAGE_NAME lists. ##
6655
## ------------------------------------------ ##
6658
sed "s/^/$as_me: WARNING: /" >&2
5937
6661
echo "$as_me:$LINENO: checking for dirent.h" >&5
5938
6662
echo $ECHO_N "checking for dirent.h... $ECHO_C" >&6
6127
6883
echo "${ECHO_T}$ac_header_preproc" >&6
6129
6885
# So? What about this header?
6130
case $ac_header_compiler:$ac_header_preproc in
6886
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6132
6888
{ echo "$as_me:$LINENO: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&5
6133
6889
echo "$as_me: WARNING: termios.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6134
{ echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
6135
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
6890
{ echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the compiler's result" >&5
6891
echo "$as_me: WARNING: termios.h: proceeding with the compiler's result" >&2;}
6892
ac_header_preproc=yes
6137
6895
{ echo "$as_me:$LINENO: WARNING: termios.h: present but cannot be compiled" >&5
6138
6896
echo "$as_me: WARNING: termios.h: present but cannot be compiled" >&2;}
6139
{ echo "$as_me:$LINENO: WARNING: termios.h: check for missing prerequisite headers?" >&5
6140
echo "$as_me: WARNING: termios.h: check for missing prerequisite headers?" >&2;}
6897
{ echo "$as_me:$LINENO: WARNING: termios.h: check for missing prerequisite headers?" >&5
6898
echo "$as_me: WARNING: termios.h: check for missing prerequisite headers?" >&2;}
6899
{ echo "$as_me:$LINENO: WARNING: termios.h: see the Autoconf documentation" >&5
6900
echo "$as_me: WARNING: termios.h: see the Autoconf documentation" >&2;}
6901
{ echo "$as_me:$LINENO: WARNING: termios.h: section \"Present But Cannot Be Compiled\"" >&5
6902
echo "$as_me: WARNING: termios.h: section \"Present But Cannot Be Compiled\"" >&2;}
6141
6903
{ echo "$as_me:$LINENO: WARNING: termios.h: proceeding with the preprocessor's result" >&5
6142
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;};;
6904
echo "$as_me: WARNING: termios.h: proceeding with the preprocessor's result" >&2;}
6905
{ echo "$as_me:$LINENO: WARNING: termios.h: in the future, the compiler will take precedence" >&5
6906
echo "$as_me: WARNING: termios.h: in the future, the compiler will take precedence" >&2;}
6909
## ------------------------------------------ ##
6910
## Report this to the AC_PACKAGE_NAME lists. ##
6911
## ------------------------------------------ ##
6914
sed "s/^/$as_me: WARNING: /" >&2
6144
6917
echo "$as_me:$LINENO: checking for termios.h" >&5
6145
6918
echo $ECHO_N "checking for termios.h... $ECHO_C" >&6
6159
6932
echo $ECHO_N "(cached) $ECHO_C" >&6
6161
6934
cat >conftest.$ac_ext <<_ACEOF
6162
#line $LINENO "configure"
6163
#include "confdefs.h"
6937
cat confdefs.h >>conftest.$ac_ext
6938
cat >>conftest.$ac_ext <<_ACEOF
6939
/* end confdefs.h. */
6940
/* Define cfsetispeed to an innocuous variant, in case <limits.h> declares cfsetispeed.
6941
For example, HP-UX 11i <limits.h> declares gettimeofday. */
6942
#define cfsetispeed innocuous_cfsetispeed
6164
6944
/* System header to define __stub macros and hopefully few prototypes,
6165
which can conflict with char cfsetispeed (); below. */
6945
which can conflict with char cfsetispeed (); below.
6946
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6947
<limits.h> exists even on freestanding compilers. */
6950
# include <limits.h>
6952
# include <assert.h>
6167
6957
/* Override any gcc2 internal prototype to avoid an error. */
6168
6958
#ifdef __cplusplus
6171
6962
/* We use char because int might match the return type of a gcc2
6172
6963
builtin and then its argument prototype would still apply. */
6173
6964
char cfsetispeed ();
6176
#ifdef F77_DUMMY_MAIN
6180
int F77_DUMMY_MAIN() { return 1; }
6185
6965
/* The GNU C library defines this for functions which it implements
6186
6966
to always fail with ENOSYS. Some functions are actually named
6187
6967
something starting with __ and the normal name is an alias. */
6188
6968
#if defined (__stub_cfsetispeed) || defined (__stub___cfsetispeed)
6971
char (*f) () = cfsetispeed;
6980
return f != cfsetispeed;
6198
6985
rm -f conftest.$ac_objext conftest$ac_exeext
6199
6986
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6200
(eval $ac_link) 2>&5
6987
(eval $ac_link) 2>conftest.er1
6989
grep -v '^ *+' conftest.er1 >conftest.err
6991
cat conftest.err >&5
6202
6992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6203
6993
(exit $ac_status); } &&
6204
{ ac_try='test -s conftest$ac_exeext'
6994
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6995
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999
(exit $ac_status); }; } &&
7000
{ ac_try='test -s conftest$ac_exeext'
6205
7001
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206
7002
(eval $ac_try) 2>&5
6446
7272
echo $ECHO_N "(cached) $ECHO_C" >&6
6448
7274
cat >conftest.$ac_ext <<_ACEOF
6449
#line $LINENO "configure"
6450
#include "confdefs.h"
7277
cat confdefs.h >>conftest.$ac_ext
7278
cat >>conftest.$ac_ext <<_ACEOF
7279
/* end confdefs.h. */
7280
/* Define setutent to an innocuous variant, in case <limits.h> declares setutent.
7281
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7282
#define setutent innocuous_setutent
6451
7284
/* System header to define __stub macros and hopefully few prototypes,
6452
which can conflict with char setutent (); below. */
7285
which can conflict with char setutent (); below.
7286
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7287
<limits.h> exists even on freestanding compilers. */
7290
# include <limits.h>
7292
# include <assert.h>
6454
7297
/* Override any gcc2 internal prototype to avoid an error. */
6455
7298
#ifdef __cplusplus
6458
7302
/* We use char because int might match the return type of a gcc2
6459
7303
builtin and then its argument prototype would still apply. */
6460
7304
char setutent ();
6463
#ifdef F77_DUMMY_MAIN
6467
int F77_DUMMY_MAIN() { return 1; }
6472
7305
/* The GNU C library defines this for functions which it implements
6473
7306
to always fail with ENOSYS. Some functions are actually named
6474
7307
something starting with __ and the normal name is an alias. */
6475
7308
#if defined (__stub_setutent) || defined (__stub___setutent)
7311
char (*f) () = setutent;
7320
return f != setutent;
6485
7325
rm -f conftest.$ac_objext conftest$ac_exeext
6486
7326
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6487
(eval $ac_link) 2>&5
7327
(eval $ac_link) 2>conftest.er1
7329
grep -v '^ *+' conftest.er1 >conftest.err
7331
cat conftest.err >&5
6489
7332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490
7333
(exit $ac_status); } &&
6491
{ ac_try='test -s conftest$ac_exeext'
7334
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7335
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7338
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7339
(exit $ac_status); }; } &&
7340
{ ac_try='test -s conftest$ac_exeext'
6492
7341
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493
7342
(eval $ac_try) 2>&5
6517
7368
echo $ECHO_N "(cached) $ECHO_C" >&6
6519
7370
cat >conftest.$ac_ext <<_ACEOF
6520
#line $LINENO "configure"
6521
#include "confdefs.h"
7373
cat confdefs.h >>conftest.$ac_ext
7374
cat >>conftest.$ac_ext <<_ACEOF
7375
/* end confdefs.h. */
7376
/* Define setutxent to an innocuous variant, in case <limits.h> declares setutxent.
7377
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7378
#define setutxent innocuous_setutxent
6522
7380
/* System header to define __stub macros and hopefully few prototypes,
6523
which can conflict with char setutxent (); below. */
7381
which can conflict with char setutxent (); below.
7382
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7383
<limits.h> exists even on freestanding compilers. */
7386
# include <limits.h>
7388
# include <assert.h>
6525
7393
/* Override any gcc2 internal prototype to avoid an error. */
6526
7394
#ifdef __cplusplus
6529
7398
/* We use char because int might match the return type of a gcc2
6530
7399
builtin and then its argument prototype would still apply. */
6531
7400
char setutxent ();
6534
#ifdef F77_DUMMY_MAIN
6538
int F77_DUMMY_MAIN() { return 1; }
6543
7401
/* The GNU C library defines this for functions which it implements
6544
7402
to always fail with ENOSYS. Some functions are actually named
6545
7403
something starting with __ and the normal name is an alias. */
6546
7404
#if defined (__stub_setutxent) || defined (__stub___setutxent)
7407
char (*f) () = setutxent;
7416
return f != setutxent;
6556
7421
rm -f conftest.$ac_objext conftest$ac_exeext
6557
7422
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6558
(eval $ac_link) 2>&5
7423
(eval $ac_link) 2>conftest.er1
7425
grep -v '^ *+' conftest.er1 >conftest.err
7427
cat conftest.err >&5
6560
7428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561
7429
(exit $ac_status); } &&
6562
{ ac_try='test -s conftest$ac_exeext'
7430
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7431
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435
(exit $ac_status); }; } &&
7436
{ ac_try='test -s conftest$ac_exeext'
6563
7437
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6564
7438
(eval $ac_try) 2>&5
6588
7464
echo $ECHO_N "(cached) $ECHO_C" >&6
6590
7466
cat >conftest.$ac_ext <<_ACEOF
6591
#line $LINENO "configure"
6592
#include "confdefs.h"
7469
cat confdefs.h >>conftest.$ac_ext
7470
cat >>conftest.$ac_ext <<_ACEOF
7471
/* end confdefs.h. */
7472
/* Define updwtmp to an innocuous variant, in case <limits.h> declares updwtmp.
7473
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7474
#define updwtmp innocuous_updwtmp
6593
7476
/* System header to define __stub macros and hopefully few prototypes,
6594
which can conflict with char updwtmp (); below. */
7477
which can conflict with char updwtmp (); below.
7478
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7479
<limits.h> exists even on freestanding compilers. */
7482
# include <limits.h>
7484
# include <assert.h>
6596
7489
/* Override any gcc2 internal prototype to avoid an error. */
6597
7490
#ifdef __cplusplus
6600
7494
/* We use char because int might match the return type of a gcc2
6601
7495
builtin and then its argument prototype would still apply. */
6602
7496
char updwtmp ();
6605
#ifdef F77_DUMMY_MAIN
6609
int F77_DUMMY_MAIN() { return 1; }
6614
7497
/* The GNU C library defines this for functions which it implements
6615
7498
to always fail with ENOSYS. Some functions are actually named
6616
7499
something starting with __ and the normal name is an alias. */
6617
7500
#if defined (__stub_updwtmp) || defined (__stub___updwtmp)
7503
char (*f) () = updwtmp;
7512
return f != updwtmp;
6627
7517
rm -f conftest.$ac_objext conftest$ac_exeext
6628
7518
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6629
(eval $ac_link) 2>&5
7519
(eval $ac_link) 2>conftest.er1
7521
grep -v '^ *+' conftest.er1 >conftest.err
7523
cat conftest.err >&5
6631
7524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632
7525
(exit $ac_status); } &&
6633
{ ac_try='test -s conftest$ac_exeext'
7526
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7531
(exit $ac_status); }; } &&
7532
{ ac_try='test -s conftest$ac_exeext'
6634
7533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6635
7534
(eval $ac_try) 2>&5
6659
7560
echo $ECHO_N "(cached) $ECHO_C" >&6
6661
7562
cat >conftest.$ac_ext <<_ACEOF
6662
#line $LINENO "configure"
6663
#include "confdefs.h"
7565
cat confdefs.h >>conftest.$ac_ext
7566
cat >>conftest.$ac_ext <<_ACEOF
7567
/* end confdefs.h. */
7568
/* Define updwtmpx to an innocuous variant, in case <limits.h> declares updwtmpx.
7569
For example, HP-UX 11i <limits.h> declares gettimeofday. */
7570
#define updwtmpx innocuous_updwtmpx
6664
7572
/* System header to define __stub macros and hopefully few prototypes,
6665
which can conflict with char updwtmpx (); below. */
7573
which can conflict with char updwtmpx (); below.
7574
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7575
<limits.h> exists even on freestanding compilers. */
7578
# include <limits.h>
7580
# include <assert.h>
6667
7585
/* Override any gcc2 internal prototype to avoid an error. */
6668
7586
#ifdef __cplusplus
6671
7590
/* We use char because int might match the return type of a gcc2
6672
7591
builtin and then its argument prototype would still apply. */
6673
7592
char updwtmpx ();
6676
#ifdef F77_DUMMY_MAIN
6680
int F77_DUMMY_MAIN() { return 1; }
6685
7593
/* The GNU C library defines this for functions which it implements
6686
7594
to always fail with ENOSYS. Some functions are actually named
6687
7595
something starting with __ and the normal name is an alias. */
6688
7596
#if defined (__stub_updwtmpx) || defined (__stub___updwtmpx)
7599
char (*f) () = updwtmpx;
7608
return f != updwtmpx;
6698
7613
rm -f conftest.$ac_objext conftest$ac_exeext
6699
7614
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6700
(eval $ac_link) 2>&5
7615
(eval $ac_link) 2>conftest.er1
7617
grep -v '^ *+' conftest.er1 >conftest.err
7619
cat conftest.err >&5
6702
7620
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703
7621
(exit $ac_status); } &&
6704
{ ac_try='test -s conftest$ac_exeext'
7622
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7623
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627
(exit $ac_status); }; } &&
7628
{ ac_try='test -s conftest$ac_exeext'
6705
7629
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6706
7630
(eval $ac_try) 2>&5
7365
8342
echo $ECHO_N "(cached) $ECHO_C" >&6
7367
8344
cat >conftest.$ac_ext <<_ACEOF
7368
#line $LINENO "configure"
7369
#include "confdefs.h"
8347
cat confdefs.h >>conftest.$ac_ext
8348
cat >>conftest.$ac_ext <<_ACEOF
8349
/* end confdefs.h. */
8350
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8351
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8352
#define $ac_func innocuous_$ac_func
7370
8354
/* System header to define __stub macros and hopefully few prototypes,
7371
which can conflict with char $ac_func (); below. */
8355
which can conflict with char $ac_func (); below.
8356
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8357
<limits.h> exists even on freestanding compilers. */
8360
# include <limits.h>
8362
# include <assert.h>
7373
8367
/* Override any gcc2 internal prototype to avoid an error. */
7374
8368
#ifdef __cplusplus
7377
8372
/* We use char because int might match the return type of a gcc2
7378
8373
builtin and then its argument prototype would still apply. */
7379
8374
char $ac_func ();
7382
#ifdef F77_DUMMY_MAIN
7386
int F77_DUMMY_MAIN() { return 1; }
7391
8375
/* The GNU C library defines this for functions which it implements
7392
8376
to always fail with ENOSYS. Some functions are actually named
7393
8377
something starting with __ and the normal name is an alias. */
7394
8378
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8381
char (*f) () = $ac_func;
8390
return f != $ac_func;
7404
8395
rm -f conftest.$ac_objext conftest$ac_exeext
7405
8396
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7406
(eval $ac_link) 2>&5
8397
(eval $ac_link) 2>conftest.er1
8399
grep -v '^ *+' conftest.er1 >conftest.err
8401
cat conftest.err >&5
7408
8402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7409
8403
(exit $ac_status); } &&
7410
{ ac_try='test -s conftest$ac_exeext'
8404
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8405
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8408
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409
(exit $ac_status); }; } &&
8410
{ ac_try='test -s conftest$ac_exeext'
7411
8411
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7412
8412
(eval $ac_try) 2>&5
7514
8534
echo "${ECHO_T}$ac_header_preproc" >&6
7516
8536
# So? What about this header?
7517
case $ac_header_compiler:$ac_header_preproc in
8537
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7519
8539
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7520
8540
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7521
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7522
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8541
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8542
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8543
ac_header_preproc=yes
7524
8546
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7525
8547
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7526
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7527
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8548
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8549
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8550
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8551
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8552
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8553
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7528
8554
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7529
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
8555
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8556
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8557
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8560
## ------------------------------------------ ##
8561
## Report this to the AC_PACKAGE_NAME lists. ##
8562
## ------------------------------------------ ##
8565
sed "s/^/$as_me: WARNING: /" >&2
7531
8568
echo "$as_me:$LINENO: checking for $ac_header" >&5
7532
8569
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7533
8570
if eval "test \"\${$as_ac_Header+set}\" = set"; then
7534
8571
echo $ECHO_N "(cached) $ECHO_C" >&6
7536
eval "$as_ac_Header=$ac_header_preproc"
8573
eval "$as_ac_Header=\$ac_header_preproc"
7538
8575
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7539
8576
echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7787
8828
echo $ECHO_N "(cached) $ECHO_C" >&6
7789
8830
cat >conftest.$ac_ext <<_ACEOF
7790
#line $LINENO "configure"
7791
#include "confdefs.h"
8833
cat confdefs.h >>conftest.$ac_ext
8834
cat >>conftest.$ac_ext <<_ACEOF
8835
/* end confdefs.h. */
8836
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8837
For example, HP-UX 11i <limits.h> declares gettimeofday. */
8838
#define $ac_func innocuous_$ac_func
7792
8840
/* System header to define __stub macros and hopefully few prototypes,
7793
which can conflict with char $ac_func (); below. */
8841
which can conflict with char $ac_func (); below.
8842
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8843
<limits.h> exists even on freestanding compilers. */
8846
# include <limits.h>
8848
# include <assert.h>
7795
8853
/* Override any gcc2 internal prototype to avoid an error. */
7796
8854
#ifdef __cplusplus
7799
8858
/* We use char because int might match the return type of a gcc2
7800
8859
builtin and then its argument prototype would still apply. */
7801
8860
char $ac_func ();
7804
#ifdef F77_DUMMY_MAIN
7808
int F77_DUMMY_MAIN() { return 1; }
7813
8861
/* The GNU C library defines this for functions which it implements
7814
8862
to always fail with ENOSYS. Some functions are actually named
7815
8863
something starting with __ and the normal name is an alias. */
7816
8864
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8867
char (*f) () = $ac_func;
8876
return f != $ac_func;
7826
8881
rm -f conftest.$ac_objext conftest$ac_exeext
7827
8882
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7828
(eval $ac_link) 2>&5
8883
(eval $ac_link) 2>conftest.er1
8885
grep -v '^ *+' conftest.er1 >conftest.err
8887
cat conftest.err >&5
7830
8888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7831
8889
(exit $ac_status); } &&
7832
{ ac_try='test -s conftest$ac_exeext'
8890
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8891
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895
(exit $ac_status); }; } &&
8896
{ ac_try='test -s conftest$ac_exeext'
7833
8897
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7834
8898
(eval $ac_try) 2>&5
8060
9150
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
9153
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9154
# is contrary to our usage. Disable this feature.
9155
alias -g '${1+"$@"}'='"$@"'
8063
9156
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
9159
DUALCASE=1; export DUALCASE # for MKS sh
8068
9161
# Support unset when possible.
8069
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
9162
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8075
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
8076
{ $as_unset LANG || test "${LANG+set}" != set; } ||
8077
{ LANG=C; export LANG; }
8078
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
8079
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
8080
{ LC_ALL=C; export LC_ALL; }
8081
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
8082
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
8083
{ LC_TIME=C; export LC_TIME; }
8084
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
8085
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
8086
{ LC_CTYPE=C; export LC_CTYPE; }
8087
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
8088
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
8089
{ LANGUAGE=C; export LANGUAGE; }
8090
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
8091
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
8092
{ LC_COLLATE=C; export LC_COLLATE; }
8093
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
8094
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
8095
{ LC_NUMERIC=C; export LC_NUMERIC; }
8096
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
8097
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
8098
{ LC_MESSAGES=C; export LC_MESSAGES; }
9169
# Work around bugs in pre-3.0 UWIN ksh.
9170
$as_unset ENV MAIL MAILPATH
9177
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9178
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9179
LC_TELEPHONE LC_TIME
9181
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9182
eval $as_var=C; export $as_var
9188
# Required to use basename.
9189
if expr a : '\(a\)' >/dev/null 2>&1; then
9195
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
9196
as_basename=basename
8101
9202
# Name of the executable.
8102
as_me=`(basename "$0") 2>/dev/null ||
9203
as_me=`$as_basename "$0" ||
8103
9204
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8104
9205
X"$0" : 'X\(//\)$' \| \
8105
9206
X"$0" : 'X\(/\)$' \| \
8633
9766
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8634
9767
case $ac_file in
8635
9768
- | *:- | *:-:* ) # input from stdin
8637
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8638
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9770
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
9771
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8639
9772
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8640
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
9773
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8641
9774
* ) ac_file_in=$ac_file.in ;;
8644
9777
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8645
9778
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8646
9779
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8647
X"$ac_file" : 'X\(//\)[^/]' \| \
8648
X"$ac_file" : 'X\(//\)$' \| \
8649
X"$ac_file" : 'X\(/\)' \| \
8650
. : '\(.\)' 2>/dev/null ||
9780
X"$ac_file" : 'X\(//\)[^/]' \| \
9781
X"$ac_file" : 'X\(//\)$' \| \
9782
X"$ac_file" : 'X\(/\)' \| \
9783
. : '\(.\)' 2>/dev/null ||
8651
9784
echo X"$ac_file" |
8652
9785
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8653
9786
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8654
9787
/^X\(\/\/\)$/{ s//\1/; q; }
8655
9788
/^X\(\/\).*/{ s//\1/; q; }
8658
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
8662
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
8663
case $as_mkdir_dir in
8664
# Skip DOS drivespec
8665
?:) as_incr_dir=$as_mkdir_dir ;;
8667
as_incr_dir=$as_incr_dir/$as_mkdir_dir
8668
test -d "$as_incr_dir" ||
8669
mkdir "$as_incr_dir" ||
8670
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
8671
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
8672
{ (exit 1); exit 1; }; }
9790
{ if $as_mkdir_p; then
9795
while test ! -d "$as_dir"; do
9796
as_dirs="$as_dir $as_dirs"
9797
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9798
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9799
X"$as_dir" : 'X\(//\)[^/]' \| \
9800
X"$as_dir" : 'X\(//\)$' \| \
9801
X"$as_dir" : 'X\(/\)' \| \
9802
. : '\(.\)' 2>/dev/null ||
9804
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9805
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
9806
/^X\(\/\/\)$/{ s//\1/; q; }
9807
/^X\(\/\).*/{ s//\1/; q; }
9810
test ! -n "$as_dirs" || mkdir $as_dirs
9811
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9812
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9813
{ (exit 1); exit 1; }; }; }