2
2
# From configure.in configure.in.
3
3
# Guess values for system-dependent variables and create Makefiles.
4
# Generated by GNU Autoconf 2.61.
4
# Generated by GNU Autoconf 2.63.
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8
8
# This configure script is free software; the Free Software Foundation
9
9
# gives unlimited permission to copy, distribute and modify it.
10
10
## --------------------- ##
38
38
as_cr_digits='0123456789'
39
39
as_cr_alnum=$as_cr_Letters$as_cr_digits
44
# Printing a long string crashes Solaris 7 /usr/bin/printf.
45
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
46
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
47
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54
as_echo_n='/usr/ucb/echo -n'
56
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61
expr "X$arg" : "X\\(.*\\)$as_nl";
62
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67
as_echo_n='sh -c $as_echo_n_body as_echo'
70
as_echo='sh -c $as_echo_body as_echo'
41
73
# The user is always right.
42
74
if test "${PATH_SEPARATOR+set}" != set; then
43
echo "#! /bin/sh" >conf$$.sh
44
echo "exit 0" >>conf$$.sh
46
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
76
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
54
82
# Support unset when possible.
1023
1067
ac_init_version=: ;;
1025
1069
-with-* | --with-*)
1026
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1070
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1027
1071
# Reject names that are not valid shell variable names.
1028
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1072
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1073
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1030
1074
{ (exit 1); exit 1; }; }
1031
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1032
eval with_$ac_package=\$ac_optarg ;;
1075
ac_useropt_orig=$ac_useropt
1076
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1077
case $ac_user_opts in
1081
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082
ac_unrecognized_sep=', ';;
1084
eval with_$ac_useropt=\$ac_optarg ;;
1034
1086
-without-* | --without-*)
1035
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1087
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1036
1088
# Reject names that are not valid shell variable names.
1037
expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1038
{ echo "$as_me: error: invalid package name: $ac_package" >&2
1089
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090
{ $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1039
1091
{ (exit 1); exit 1; }; }
1040
ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1041
eval with_$ac_package=no ;;
1092
ac_useropt_orig=$ac_useropt
1093
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1094
case $ac_user_opts in
1098
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1099
ac_unrecognized_sep=', ';;
1101
eval with_$ac_useropt=no ;;
1044
1104
# Obsolete; use --with-x.
1086
1146
if test -n "$ac_prev"; then
1087
1147
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1088
{ echo "$as_me: error: missing argument to $ac_option" >&2
1148
{ $as_echo "$as_me: error: missing argument to $ac_option" >&2
1089
1149
{ (exit 1); exit 1; }; }
1092
# Be sure to have absolute directory names.
1152
if test -n "$ac_unrecognized_opts"; then
1153
case $enable_option_checking in
1155
fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1156
{ (exit 1); exit 1; }; } ;;
1157
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1161
# Check all directory arguments for consistency.
1093
1162
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094
1163
datadir sysconfdir sharedstatedir localstatedir includedir \
1095
1164
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096
1165
libdir localedir mandir
1098
1167
eval ac_val=\$$ac_var
1168
# Remove trailing slashes.
1171
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1172
eval $ac_var=\$ac_val;;
1174
# Be sure to have absolute directory names.
1099
1175
case $ac_val in
1100
1176
[\\/$]* | ?:[\\/]* ) continue;;
1101
1177
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1103
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1179
{ $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1104
1180
{ (exit 1); exit 1; }; }
1240
1316
For better control, use the options below.
1242
1318
Fine tuning of the installation directories:
1243
--bindir=DIR user executables [EPREFIX/bin]
1244
--sbindir=DIR system admin executables [EPREFIX/sbin]
1245
--libexecdir=DIR program executables [EPREFIX/libexec]
1246
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1247
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1248
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1249
--libdir=DIR object code libraries [EPREFIX/lib]
1250
--includedir=DIR C header files [PREFIX/include]
1251
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1252
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1253
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1254
--infodir=DIR info documentation [DATAROOTDIR/info]
1255
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1256
--mandir=DIR man documentation [DATAROOTDIR/man]
1257
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1258
--htmldir=DIR html documentation [DOCDIR]
1259
--dvidir=DIR dvi documentation [DOCDIR]
1260
--pdfdir=DIR pdf documentation [DOCDIR]
1261
--psdir=DIR ps documentation [DOCDIR]
1319
--bindir=DIR user executables [EPREFIX/bin]
1320
--sbindir=DIR system admin executables [EPREFIX/sbin]
1321
--libexecdir=DIR program executables [EPREFIX/libexec]
1322
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325
--libdir=DIR object code libraries [EPREFIX/lib]
1326
--includedir=DIR C header files [PREFIX/include]
1327
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1328
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330
--infodir=DIR info documentation [DATAROOTDIR/info]
1331
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332
--mandir=DIR man documentation [DATAROOTDIR/man]
1333
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1334
--htmldir=DIR html documentation [DOCDIR]
1335
--dvidir=DIR dvi documentation [DOCDIR]
1336
--pdfdir=DIR pdf documentation [DOCDIR]
1337
--psdir=DIR ps documentation [DOCDIR]
1604
1683
# Let the site file select an alternate cache file if it wants to.
1605
# Prefer explicitly selected file to automatically selected ones.
1684
# Prefer an explicitly selected file to automatically selected ones.
1606
1687
if test -n "$CONFIG_SITE"; then
1607
set x "$CONFIG_SITE"
1688
ac_site_file1=$CONFIG_SITE
1608
1689
elif test "x$prefix" != xNONE; then
1609
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1690
ac_site_file1=$prefix/share/config.site
1691
ac_site_file2=$prefix/etc/config.site
1611
set x "$ac_default_prefix/share/config.site" \
1612
"$ac_default_prefix/etc/config.site"
1693
ac_site_file1=$ac_default_prefix/share/config.site
1694
ac_site_file2=$ac_default_prefix/etc/config.site
1696
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1698
test "x$ac_site_file" = xNONE && continue
1617
1699
if test -r "$ac_site_file"; then
1618
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1619
echo "$as_me: loading site script $ac_site_file" >&6;}
1700
{ $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1701
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1620
1702
sed 's/^/| /' "$ac_site_file" >&5
1621
1703
. "$ac_site_file"
1649
1731
eval ac_new_val=\$ac_env_${ac_var}_value
1650
1732
case $ac_old_set,$ac_new_set in
1652
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1653
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1734
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1735
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1654
1736
ac_cache_corrupted=: ;;
1656
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1657
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1738
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1739
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1658
1740
ac_cache_corrupted=: ;;
1661
1743
if test "x$ac_old_val" != "x$ac_new_val"; then
1662
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1663
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1664
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1665
echo "$as_me: former value: $ac_old_val" >&2;}
1666
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1667
echo "$as_me: current value: $ac_new_val" >&2;}
1668
ac_cache_corrupted=:
1744
# differences in whitespace do not lead to failure.
1745
ac_old_val_w=`echo x $ac_old_val`
1746
ac_new_val_w=`echo x $ac_new_val`
1747
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1748
{ $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1749
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1750
ac_cache_corrupted=:
1752
{ $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1753
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1754
eval $ac_var=\$ac_old_val
1756
{ $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1757
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1758
{ $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1759
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1671
1762
# Pass precious variables to config.status.
1672
1763
if test "$ac_new_set" = set; then
1673
1764
case $ac_new_val in
1674
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1675
1766
*) ac_arg=$ac_var=$ac_new_val ;;
1677
1768
case " $ac_configure_args " in
2053
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2138
test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2139
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2140
{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2054
2141
See \`config.log' for more details." >&5
2055
echo "$as_me: error: no acceptable C compiler found in \$PATH
2142
$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2056
2143
See \`config.log' for more details." >&2;}
2057
{ (exit 1); exit 1; }; }
2144
{ (exit 1); exit 1; }; }; }
2059
2146
# Provide some information about the compiler.
2060
echo "$as_me:$LINENO: checking for C compiler version" >&5
2061
ac_compiler=`set X $ac_compile; echo $2`
2147
$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2062
2150
{ (ac_try="$ac_compiler --version >&5"
2063
2151
case "(($ac_try" in
2064
2152
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2065
2153
*) ac_try_echo=$ac_try;;
2067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2155
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2156
$as_echo "$ac_try_echo") >&5
2068
2157
(eval "$ac_compiler --version >&5") 2>&5
2070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2071
2160
(exit $ac_status); }
2072
2161
{ (ac_try="$ac_compiler -v >&5"
2073
2162
case "(($ac_try" in
2074
2163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2075
2164
*) ac_try_echo=$ac_try;;
2077
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2166
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2167
$as_echo "$ac_try_echo") >&5
2078
2168
(eval "$ac_compiler -v >&5") 2>&5
2080
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081
2171
(exit $ac_status); }
2082
2172
{ (ac_try="$ac_compiler -V >&5"
2083
2173
case "(($ac_try" in
2084
2174
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2085
2175
*) ac_try_echo=$ac_try;;
2087
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2177
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2178
$as_echo "$ac_try_echo") >&5
2088
2179
(eval "$ac_compiler -V >&5") 2>&5
2090
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2091
2182
(exit $ac_status); }
2093
2184
cat >conftest.$ac_ext <<_ACEOF
2108
2199
ac_clean_files_save=$ac_clean_files
2109
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2200
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2110
2201
# Try to create an executable without -o first, disregard a.out.
2111
2202
# It will help us diagnose broken compilers, and finding out an intuition
2113
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2114
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2115
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2117
# List of possible output files, starting from the most likely.
2118
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2119
# only as a last resort. b.out is created by i960 compilers.
2120
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2122
# The IRIX 6 linker writes into existing files which may not be
2123
# executable, retaining their permissions. Remove them first so a
2124
# subsequent execution test works.
2204
{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2205
$as_echo_n "checking for C compiler default output file name... " >&6; }
2206
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2208
# The possible output files:
2209
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2126
2212
for ac_file in $ac_files
2128
2214
case $ac_file in
2129
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2215
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2130
2216
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2181
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2182
echo "${ECHO_T}$ac_file" >&6; }
2268
{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2269
$as_echo "$ac_file" >&6; }
2183
2270
if test -z "$ac_file"; then
2184
echo "$as_me: failed program was:" >&5
2271
$as_echo "$as_me: failed program was:" >&5
2185
2272
sed 's/^/| /' conftest.$ac_ext >&5
2187
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2274
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2275
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2276
{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2188
2277
See \`config.log' for more details." >&5
2189
echo "$as_me: error: C compiler cannot create executables
2278
$as_echo "$as_me: error: C compiler cannot create executables
2190
2279
See \`config.log' for more details." >&2;}
2191
{ (exit 77); exit 77; }; }
2280
{ (exit 77); exit 77; }; }; }
2194
2283
ac_exeext=$ac_cv_exeext
2196
2285
# Check that the compiler produces executables we can run. If not, either
2197
2286
# the compiler is broken, or we cross compile.
2198
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2199
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2287
{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2288
$as_echo_n "checking whether the C compiler works... " >&6; }
2200
2289
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2201
2290
# If not cross compiling, check that we can run a simple program.
2202
2291
if test "$cross_compiling" != yes; then
2205
2294
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2206
2295
*) ac_try_echo=$ac_try;;
2208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2297
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2298
$as_echo "$ac_try_echo") >&5
2209
2299
(eval "$ac_try") 2>&5
2211
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2301
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212
2302
(exit $ac_status); }; }; then
2213
2303
cross_compiling=no
2215
2305
if test "$cross_compiling" = maybe; then
2216
2306
cross_compiling=yes
2218
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2308
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2309
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310
{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2219
2311
If you meant to cross compile, use \`--host'.
2220
2312
See \`config.log' for more details." >&5
2221
echo "$as_me: error: cannot run C compiled programs.
2313
$as_echo "$as_me: error: cannot run C compiled programs.
2222
2314
If you meant to cross compile, use \`--host'.
2223
2315
See \`config.log' for more details." >&2;}
2224
{ (exit 1); exit 1; }; }
2316
{ (exit 1); exit 1; }; }; }
2228
{ echo "$as_me:$LINENO: result: yes" >&5
2229
echo "${ECHO_T}yes" >&6; }
2320
{ $as_echo "$as_me:$LINENO: result: yes" >&5
2321
$as_echo "yes" >&6; }
2231
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2323
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2232
2324
ac_clean_files=$ac_clean_files_save
2233
2325
# Check that the compiler produces executables we can run. If not, either
2234
2326
# the compiler is broken, or we cross compile.
2235
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2236
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2237
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2238
echo "${ECHO_T}$cross_compiling" >&6; }
2327
{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2328
$as_echo_n "checking whether we are cross compiling... " >&6; }
2329
{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2330
$as_echo "$cross_compiling" >&6; }
2240
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2241
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2332
{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2333
$as_echo_n "checking for suffix of executables... " >&6; }
2242
2334
if { (ac_try="$ac_link"
2243
2335
case "(($ac_try" in
2244
2336
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2245
2337
*) ac_try_echo=$ac_try;;
2247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2339
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2340
$as_echo "$ac_try_echo") >&5
2248
2341
(eval "$ac_link") 2>&5
2250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251
2344
(exit $ac_status); }; then
2252
2345
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2253
2346
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2256
2349
for ac_file in conftest.exe conftest conftest.*; do
2257
2350
test -f "$ac_file" || continue
2258
2351
case $ac_file in
2259
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2352
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2260
2353
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2266
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2359
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2360
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2361
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2267
2362
See \`config.log' for more details." >&5
2268
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2363
$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2269
2364
See \`config.log' for more details." >&2;}
2270
{ (exit 1); exit 1; }; }
2365
{ (exit 1); exit 1; }; }; }
2273
2368
rm -f conftest$ac_cv_exeext
2274
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2275
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2369
{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2370
$as_echo "$ac_cv_exeext" >&6; }
2277
2372
rm -f conftest.$ac_ext
2278
2373
EXEEXT=$ac_cv_exeext
2279
2374
ac_exeext=$EXEEXT
2280
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2281
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2375
{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2376
$as_echo_n "checking for suffix of object files... " >&6; }
2282
2377
if test "${ac_cv_objext+set}" = set; then
2283
echo $ECHO_N "(cached) $ECHO_C" >&6
2378
$as_echo_n "(cached) " >&6
2285
2380
cat >conftest.$ac_ext <<_ACEOF
2286
2381
/* confdefs.h. */
2303
2398
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2304
2399
*) ac_try_echo=$ac_try;;
2306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2401
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2402
$as_echo "$ac_try_echo") >&5
2307
2403
(eval "$ac_compile") 2>&5
2309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2310
2406
(exit $ac_status); }; then
2311
2407
for ac_file in conftest.o conftest.obj conftest.*; do
2312
2408
test -f "$ac_file" || continue;
2313
2409
case $ac_file in
2314
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2410
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2315
2411
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2320
echo "$as_me: failed program was:" >&5
2416
$as_echo "$as_me: failed program was:" >&5
2321
2417
sed 's/^/| /' conftest.$ac_ext >&5
2323
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2419
{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2420
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2421
{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2324
2422
See \`config.log' for more details." >&5
2325
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2423
$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2326
2424
See \`config.log' for more details." >&2;}
2327
{ (exit 1); exit 1; }; }
2425
{ (exit 1); exit 1; }; }; }
2330
2428
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2332
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2333
echo "${ECHO_T}$ac_cv_objext" >&6; }
2430
{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2431
$as_echo "$ac_cv_objext" >&6; }
2334
2432
OBJEXT=$ac_cv_objext
2335
2433
ac_objext=$OBJEXT
2336
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2337
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2434
{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2435
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2338
2436
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2339
echo $ECHO_N "(cached) $ECHO_C" >&6
2437
$as_echo_n "(cached) " >&6
2341
2439
cat >conftest.$ac_ext <<_ACEOF
2342
2440
/* confdefs.h. */
2914
3030
test -n "$YACC" || YACC="yacc"
2916
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
2917
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3032
{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3033
$as_echo_n "checking whether ln -s works... " >&6; }
2919
3035
if test "$LN_S" = "ln -s"; then
2920
{ echo "$as_me:$LINENO: result: yes" >&5
2921
echo "${ECHO_T}yes" >&6; }
3036
{ $as_echo "$as_me:$LINENO: result: yes" >&5
3037
$as_echo "yes" >&6; }
2923
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2924
echo "${ECHO_T}no, using $LN_S" >&6; }
3039
{ $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3040
$as_echo "no, using $LN_S" >&6; }
2928
3044
# check for programs.
2929
3045
# Extract the first word of "dvips", so it can be a program name with args.
2930
3046
set dummy dvips; ac_word=$2
2931
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2932
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3047
{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3048
$as_echo_n "checking for $ac_word... " >&6; }
2933
3049
if test "${ac_cv_path_DVIPS+set}" = set; then
2934
echo $ECHO_N "(cached) $ECHO_C" >&6
3050
$as_echo_n "(cached) " >&6
2937
3053
[\\/]* | ?:[\\/]*)
3516
3638
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3519
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3520
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3521
if test "${ac_cv_path_GREP+set}" = set; then
3522
echo $ECHO_N "(cached) $ECHO_C" >&6
3524
# Extract the first word of "grep ggrep" to use in msg output
3525
if test -z "$GREP"; then
3526
set dummy grep ggrep; ac_prog_name=$2
3527
if test "${ac_cv_path_GREP+set}" = set; then
3528
echo $ECHO_N "(cached) $ECHO_C" >&6
3641
{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3642
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3643
if test "${ac_cv_path_GREP+set}" = set; then
3644
$as_echo_n "(cached) " >&6
3646
if test -z "$GREP"; then
3530
3647
ac_path_GREP_found=false
3531
# Loop through the user's path and test for each of PROGNAME-LIST
3532
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648
# Loop through the user's path and test for each of PROGNAME-LIST
3649
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533
3650
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3535
3652
IFS=$as_save_IFS
3536
3653
test -z "$as_dir" && as_dir=.
3537
3654
for ac_prog in grep ggrep; do
3538
for ac_exec_ext in '' $ac_executable_extensions; do
3539
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3540
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3541
# Check for GNU ac_path_GREP and select it if it is found.
3655
for ac_exec_ext in '' $ac_executable_extensions; do
3656
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3657
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3658
# Check for GNU ac_path_GREP and select it if it is found.
3542
3659
# Check for GNU $ac_path_GREP
3543
3660
case `"$ac_path_GREP" --version 2>&1` in
3545
3662
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3548
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3665
$as_echo_n 0123456789 >"conftest.in"
3551
3668
cat "conftest.in" "conftest.in" >"conftest.tmp"
3552
3669
mv "conftest.tmp" "conftest.in"
3553
3670
cp "conftest.in" "conftest.nl"
3554
echo 'GREP' >> "conftest.nl"
3671
$as_echo 'GREP' >> "conftest.nl"
3555
3672
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3556
3673
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3557
3674
ac_count=`expr $ac_count + 1`
3566
3683
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3570
$ac_path_GREP_found && break 3
3686
$ac_path_GREP_found && break 3
3575
3690
IFS=$as_save_IFS
3580
GREP="$ac_cv_path_GREP"
3581
if test -z "$GREP"; then
3582
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3583
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3691
if test -z "$ac_cv_path_GREP"; then
3692
{ { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3693
$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3584
3694
{ (exit 1); exit 1; }; }
3588
3697
ac_cv_path_GREP=$GREP
3593
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3594
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3701
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3702
$as_echo "$ac_cv_path_GREP" >&6; }
3595
3703
GREP="$ac_cv_path_GREP"
3598
{ echo "$as_me:$LINENO: checking for egrep" >&5
3599
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3706
{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
3707
$as_echo_n "checking for egrep... " >&6; }
3600
3708
if test "${ac_cv_path_EGREP+set}" = set; then
3601
echo $ECHO_N "(cached) $ECHO_C" >&6
3709
$as_echo_n "(cached) " >&6
3603
3711
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3604
3712
then ac_cv_path_EGREP="$GREP -E"
3606
# Extract the first word of "egrep" to use in msg output
3607
if test -z "$EGREP"; then
3608
set dummy egrep; ac_prog_name=$2
3609
if test "${ac_cv_path_EGREP+set}" = set; then
3610
echo $ECHO_N "(cached) $ECHO_C" >&6
3714
if test -z "$EGREP"; then
3612
3715
ac_path_EGREP_found=false
3613
# Loop through the user's path and test for each of PROGNAME-LIST
3614
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3716
# Loop through the user's path and test for each of PROGNAME-LIST
3717
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615
3718
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3617
3720
IFS=$as_save_IFS
3618
3721
test -z "$as_dir" && as_dir=.
3619
3722
for ac_prog in egrep; do
3620
for ac_exec_ext in '' $ac_executable_extensions; do
3621
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3622
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3623
# Check for GNU ac_path_EGREP and select it if it is found.
3723
for ac_exec_ext in '' $ac_executable_extensions; do
3724
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3725
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3726
# Check for GNU ac_path_EGREP and select it if it is found.
3624
3727
# Check for GNU $ac_path_EGREP
3625
3728
case `"$ac_path_EGREP" --version 2>&1` in
3627
3730
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3630
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3733
$as_echo_n 0123456789 >"conftest.in"
3633
3736
cat "conftest.in" "conftest.in" >"conftest.tmp"
3634
3737
mv "conftest.tmp" "conftest.in"
3635
3738
cp "conftest.in" "conftest.nl"
3636
echo 'EGREP' >> "conftest.nl"
3739
$as_echo 'EGREP' >> "conftest.nl"
3637
3740
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3638
3741
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3639
3742
ac_count=`expr $ac_count + 1`
3648
3751
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3652
$ac_path_EGREP_found && break 3
3754
$ac_path_EGREP_found && break 3
3657
3758
IFS=$as_save_IFS
3662
EGREP="$ac_cv_path_EGREP"
3663
if test -z "$EGREP"; then
3664
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3665
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3759
if test -z "$ac_cv_path_EGREP"; then
3760
{ { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3761
$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3666
3762
{ (exit 1); exit 1; }; }
3670
3765
ac_cv_path_EGREP=$EGREP
3676
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3677
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3770
{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3771
$as_echo "$ac_cv_path_EGREP" >&6; }
3678
3772
EGREP="$ac_cv_path_EGREP"
3681
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3682
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3775
{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3776
$as_echo_n "checking for ANSI C header files... " >&6; }
3683
3777
if test "${ac_cv_header_stdc+set}" = set; then
3684
echo $ECHO_N "(cached) $ECHO_C" >&6
3778
$as_echo_n "(cached) " >&6
3686
3780
cat >conftest.$ac_ext <<_ACEOF
3687
3781
/* confdefs.h. */
3813
3908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3814
3909
*) ac_try_echo=$ac_try;;
3816
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3911
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3912
$as_echo "$ac_try_echo") >&5
3817
3913
(eval "$ac_link") 2>&5
3819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3915
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820
3916
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3821
3917
{ (case "(($ac_try" in
3822
3918
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823
3919
*) ac_try_echo=$ac_try;;
3825
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3921
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3922
$as_echo "$ac_try_echo") >&5
3826
3923
(eval "$ac_try") 2>&5
3828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829
3926
(exit $ac_status); }; }; then
3832
echo "$as_me: program exited with status $ac_status" >&5
3833
echo "$as_me: failed program was:" >&5
3929
$as_echo "$as_me: program exited with status $ac_status" >&5
3930
$as_echo "$as_me: failed program was:" >&5
3834
3931
sed 's/^/| /' conftest.$ac_ext >&5
3836
3933
( exit $ac_status )
3837
3934
ac_cv_header_stdc=no
3936
rm -rf conftest.dSYM
3839
3937
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3845
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3846
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3943
{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3944
$as_echo "$ac_cv_header_stdc" >&6; }
3847
3945
if test $ac_cv_header_stdc = yes; then
3849
3947
cat >>confdefs.h <<\_ACEOF
3930
for ac_header in syslog.h linux/input.h linux/joystick.h ncurses.h ncurses/curses.h curses.h
4033
for ac_header in syslog.h linux/input.h linux/joystick.h ncurses.h ncurses/curses.h curses.h term.h
3932
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3933
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3934
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3935
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3936
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3937
echo $ECHO_N "(cached) $ECHO_C" >&6
4035
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4036
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4037
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4038
$as_echo_n "checking for $ac_header... " >&6; }
4039
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4040
$as_echo_n "(cached) " >&6
3939
ac_res=`eval echo '${'$as_ac_Header'}'`
3940
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3941
echo "${ECHO_T}$ac_res" >&6; }
4042
ac_res=`eval 'as_val=${'$as_ac_Header'}
4043
$as_echo "$as_val"'`
4044
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4045
$as_echo "$ac_res" >&6; }
3943
4047
# Is the header compilable?
3944
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3945
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4048
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4049
$as_echo_n "checking $ac_header usability... " >&6; }
3946
4050
cat >conftest.$ac_ext <<_ACEOF
3947
4051
/* confdefs.h. */
3958
4062
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959
4063
*) ac_try_echo=$ac_try;;
3961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4065
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4066
$as_echo "$ac_try_echo") >&5
3962
4067
(eval "$ac_compile") 2>conftest.er1
3964
4069
grep -v '^ *+' conftest.er1 >conftest.err
3965
4070
rm -f conftest.er1
3966
4071
cat conftest.err >&5
3967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3968
4073
(exit $ac_status); } && {
3969
4074
test -z "$ac_c_werror_flag" ||
3970
4075
test ! -s conftest.err
3971
4076
} && test -s conftest.$ac_objext; then
3972
4077
ac_header_compiler=yes
3974
echo "$as_me: failed program was:" >&5
4079
$as_echo "$as_me: failed program was:" >&5
3975
4080
sed 's/^/| /' conftest.$ac_ext >&5
3977
4082
ac_header_compiler=no
3980
4085
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3981
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3982
echo "${ECHO_T}$ac_header_compiler" >&6; }
4086
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4087
$as_echo "$ac_header_compiler" >&6; }
3984
4089
# Is the header present?
3985
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3986
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4090
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4091
$as_echo_n "checking $ac_header presence... " >&6; }
3987
4092
cat >conftest.$ac_ext <<_ACEOF
3988
4093
/* confdefs.h. */
3997
4102
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
4103
*) ac_try_echo=$ac_try;;
4000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4105
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4106
$as_echo "$ac_try_echo") >&5
4001
4107
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4003
4109
grep -v '^ *+' conftest.er1 >conftest.err
4004
4110
rm -f conftest.er1
4005
4111
cat conftest.err >&5
4006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4007
4113
(exit $ac_status); } >/dev/null && {
4008
4114
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4009
4115
test ! -s conftest.err
4011
4117
ac_header_preproc=yes
4013
echo "$as_me: failed program was:" >&5
4119
$as_echo "$as_me: failed program was:" >&5
4014
4120
sed 's/^/| /' conftest.$ac_ext >&5
4016
4122
ac_header_preproc=no
4019
4125
rm -f conftest.err conftest.$ac_ext
4020
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4021
echo "${ECHO_T}$ac_header_preproc" >&6; }
4126
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4127
$as_echo "$ac_header_preproc" >&6; }
4023
4129
# So? What about this header?
4024
4130
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4026
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4027
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4028
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4029
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4132
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4133
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4134
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4135
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4030
4136
ac_header_preproc=yes
4033
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4034
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4035
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4036
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4037
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4038
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4039
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4040
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4041
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4042
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4043
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4044
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4139
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4140
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4141
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4142
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4143
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4144
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4145
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4146
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4147
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4148
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4149
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4150
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4048
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4049
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4154
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4155
$as_echo_n "checking for $ac_header... " >&6; }
4050
4156
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4051
echo $ECHO_N "(cached) $ECHO_C" >&6
4157
$as_echo_n "(cached) " >&6
4053
4159
eval "$as_ac_Header=\$ac_header_preproc"
4055
ac_res=`eval echo '${'$as_ac_Header'}'`
4056
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4057
echo "${ECHO_T}$ac_res" >&6; }
4161
ac_res=`eval 'as_val=${'$as_ac_Header'}
4162
$as_echo "$as_val"'`
4163
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4164
$as_echo "$ac_res" >&6; }
4060
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4167
as_val=`eval 'as_val=${'$as_ac_Header'}
4168
$as_echo "$as_val"'`
4169
if test "x$as_val" = x""yes; then
4061
4170
cat >>confdefs.h <<_ACEOF
4062
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4171
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4090
4199
for ac_header in sys/sysmacros.h linux/major.h linux/tty.h
4092
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4093
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4094
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4095
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4096
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4097
echo $ECHO_N "(cached) $ECHO_C" >&6
4201
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4202
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4203
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4204
$as_echo_n "checking for $ac_header... " >&6; }
4205
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4206
$as_echo_n "(cached) " >&6
4099
ac_res=`eval echo '${'$as_ac_Header'}'`
4100
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4101
echo "${ECHO_T}$ac_res" >&6; }
4208
ac_res=`eval 'as_val=${'$as_ac_Header'}
4209
$as_echo "$as_val"'`
4210
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4211
$as_echo "$ac_res" >&6; }
4103
4213
# Is the header compilable?
4104
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4105
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4214
{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4215
$as_echo_n "checking $ac_header usability... " >&6; }
4106
4216
cat >conftest.$ac_ext <<_ACEOF
4107
4217
/* confdefs.h. */
4118
4228
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119
4229
*) ac_try_echo=$ac_try;;
4121
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4232
$as_echo "$ac_try_echo") >&5
4122
4233
(eval "$ac_compile") 2>conftest.er1
4124
4235
grep -v '^ *+' conftest.er1 >conftest.err
4125
4236
rm -f conftest.er1
4126
4237
cat conftest.err >&5
4127
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4238
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128
4239
(exit $ac_status); } && {
4129
4240
test -z "$ac_c_werror_flag" ||
4130
4241
test ! -s conftest.err
4131
4242
} && test -s conftest.$ac_objext; then
4132
4243
ac_header_compiler=yes
4134
echo "$as_me: failed program was:" >&5
4245
$as_echo "$as_me: failed program was:" >&5
4135
4246
sed 's/^/| /' conftest.$ac_ext >&5
4137
4248
ac_header_compiler=no
4140
4251
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4141
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4142
echo "${ECHO_T}$ac_header_compiler" >&6; }
4252
{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4253
$as_echo "$ac_header_compiler" >&6; }
4144
4255
# Is the header present?
4145
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4146
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4256
{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4257
$as_echo_n "checking $ac_header presence... " >&6; }
4147
4258
cat >conftest.$ac_ext <<_ACEOF
4148
4259
/* confdefs.h. */
4157
4268
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4158
4269
*) ac_try_echo=$ac_try;;
4160
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4272
$as_echo "$ac_try_echo") >&5
4161
4273
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4163
4275
grep -v '^ *+' conftest.er1 >conftest.err
4164
4276
rm -f conftest.er1
4165
4277
cat conftest.err >&5
4166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4278
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167
4279
(exit $ac_status); } >/dev/null && {
4168
4280
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4169
4281
test ! -s conftest.err
4171
4283
ac_header_preproc=yes
4173
echo "$as_me: failed program was:" >&5
4285
$as_echo "$as_me: failed program was:" >&5
4174
4286
sed 's/^/| /' conftest.$ac_ext >&5
4176
4288
ac_header_preproc=no
4179
4291
rm -f conftest.err conftest.$ac_ext
4180
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4181
echo "${ECHO_T}$ac_header_preproc" >&6; }
4292
{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4293
$as_echo "$ac_header_preproc" >&6; }
4183
4295
# So? What about this header?
4184
4296
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4186
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4187
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4188
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4189
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4298
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4299
$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4300
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4301
$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4190
4302
ac_header_preproc=yes
4193
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4194
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4195
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4196
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4197
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4198
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4199
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4200
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4201
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4202
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4203
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4204
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4305
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4306
$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4307
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4308
$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4309
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4310
$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4311
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4312
$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4313
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4314
$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4315
{ $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4316
$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4208
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4209
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4320
{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4321
$as_echo_n "checking for $ac_header... " >&6; }
4210
4322
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4211
echo $ECHO_N "(cached) $ECHO_C" >&6
4323
$as_echo_n "(cached) " >&6
4213
4325
eval "$as_ac_Header=\$ac_header_preproc"
4215
ac_res=`eval echo '${'$as_ac_Header'}'`
4216
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4217
echo "${ECHO_T}$ac_res" >&6; }
4327
ac_res=`eval 'as_val=${'$as_ac_Header'}
4328
$as_echo "$as_val"'`
4329
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4330
$as_echo "$ac_res" >&6; }
4220
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4333
as_val=`eval 'as_val=${'$as_ac_Header'}
4334
$as_echo "$as_val"'`
4335
if test "x$as_val" = x""yes; then
4221
4336
cat >>confdefs.h <<_ACEOF
4222
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4337
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4394
4510
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4395
4511
*) ac_try_echo=$ac_try;;
4397
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4513
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4514
$as_echo "$ac_try_echo") >&5
4398
4515
(eval "$ac_link") 2>conftest.er1
4400
4517
grep -v '^ *+' conftest.er1 >conftest.err
4401
4518
rm -f conftest.er1
4402
4519
cat conftest.err >&5
4403
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404
4521
(exit $ac_status); } && {
4405
4522
test -z "$ac_c_werror_flag" ||
4406
4523
test ! -s conftest.err
4407
} && test -s conftest$ac_exeext &&
4408
$as_test_x conftest$ac_exeext; then
4524
} && test -s conftest$ac_exeext && {
4525
test "$cross_compiling" = yes ||
4526
$as_test_x conftest$ac_exeext
4409
4528
eval "$as_ac_var=yes"
4411
echo "$as_me: failed program was:" >&5
4530
$as_echo "$as_me: failed program was:" >&5
4412
4531
sed 's/^/| /' conftest.$ac_ext >&5
4414
4533
eval "$as_ac_var=no"
4536
rm -rf conftest.dSYM
4417
4537
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4418
4538
conftest$ac_exeext conftest.$ac_ext
4420
ac_res=`eval echo '${'$as_ac_var'}'`
4421
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4422
echo "${ECHO_T}$ac_res" >&6; }
4423
if test `eval echo '${'$as_ac_var'}'` = yes; then
4540
ac_res=`eval 'as_val=${'$as_ac_var'}
4541
$as_echo "$as_val"'`
4542
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4543
$as_echo "$ac_res" >&6; }
4544
as_val=`eval 'as_val=${'$as_ac_var'}
4545
$as_echo "$as_val"'`
4546
if test "x$as_val" = x""yes; then
4424
4547
cat >>confdefs.h <<_ACEOF
4425
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4548
#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4457
4580
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458
4581
*) ac_try_echo=$ac_try;;
4460
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4583
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4584
$as_echo "$ac_try_echo") >&5
4461
4585
(eval "$ac_link") 2>conftest.er1
4463
4587
grep -v '^ *+' conftest.er1 >conftest.err
4464
4588
rm -f conftest.er1
4465
4589
cat conftest.err >&5
4466
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4467
4591
(exit $ac_status); } && {
4468
4592
test -z "$ac_c_werror_flag" ||
4469
4593
test ! -s conftest.err
4470
} && test -s conftest$ac_exeext &&
4471
$as_test_x conftest$ac_exeext; then
4594
} && test -s conftest$ac_exeext && {
4595
test "$cross_compiling" = yes ||
4596
$as_test_x conftest$ac_exeext
4472
4598
ac_cv_working_alloca_h=yes
4474
echo "$as_me: failed program was:" >&5
4600
$as_echo "$as_me: failed program was:" >&5
4475
4601
sed 's/^/| /' conftest.$ac_ext >&5
4477
4603
ac_cv_working_alloca_h=no
4606
rm -rf conftest.dSYM
4480
4607
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4481
4608
conftest$ac_exeext conftest.$ac_ext
4483
{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4484
echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
4610
{ $as_echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
4611
$as_echo "$ac_cv_working_alloca_h" >&6; }
4485
4612
if test $ac_cv_working_alloca_h = yes; then
4487
4614
cat >>confdefs.h <<\_ACEOF
4537
4664
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4538
4665
*) ac_try_echo=$ac_try;;
4540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4667
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4668
$as_echo "$ac_try_echo") >&5
4541
4669
(eval "$ac_link") 2>conftest.er1
4543
4671
grep -v '^ *+' conftest.er1 >conftest.err
4544
4672
rm -f conftest.er1
4545
4673
cat conftest.err >&5
4546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4674
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547
4675
(exit $ac_status); } && {
4548
4676
test -z "$ac_c_werror_flag" ||
4549
4677
test ! -s conftest.err
4550
} && test -s conftest$ac_exeext &&
4551
$as_test_x conftest$ac_exeext; then
4678
} && test -s conftest$ac_exeext && {
4679
test "$cross_compiling" = yes ||
4680
$as_test_x conftest$ac_exeext
4552
4682
ac_cv_func_alloca_works=yes
4554
echo "$as_me: failed program was:" >&5
4684
$as_echo "$as_me: failed program was:" >&5
4555
4685
sed 's/^/| /' conftest.$ac_ext >&5
4557
4687
ac_cv_func_alloca_works=no
4690
rm -rf conftest.dSYM
4560
4691
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4561
4692
conftest$ac_exeext conftest.$ac_ext
4563
{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4564
echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
4694
{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
4695
$as_echo "$ac_cv_func_alloca_works" >&6; }
4566
4697
if test $ac_cv_func_alloca_works = yes; then
4670
4801
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4671
4802
*) ac_try_echo=$ac_try;;
4673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4804
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4805
$as_echo "$ac_try_echo") >&5
4674
4806
(eval "$ac_link") 2>conftest.er1
4676
4808
grep -v '^ *+' conftest.er1 >conftest.err
4677
4809
rm -f conftest.er1
4678
4810
cat conftest.err >&5
4679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4811
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680
4812
(exit $ac_status); } && {
4681
4813
test -z "$ac_c_werror_flag" ||
4682
4814
test ! -s conftest.err
4683
} && test -s conftest$ac_exeext &&
4684
$as_test_x conftest$ac_exeext; then
4815
} && test -s conftest$ac_exeext && {
4816
test "$cross_compiling" = yes ||
4817
$as_test_x conftest$ac_exeext
4685
4819
eval "$as_ac_var=yes"
4687
echo "$as_me: failed program was:" >&5
4821
$as_echo "$as_me: failed program was:" >&5
4688
4822
sed 's/^/| /' conftest.$ac_ext >&5
4690
4824
eval "$as_ac_var=no"
4827
rm -rf conftest.dSYM
4693
4828
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4694
4829
conftest$ac_exeext conftest.$ac_ext
4696
ac_res=`eval echo '${'$as_ac_var'}'`
4697
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4698
echo "${ECHO_T}$ac_res" >&6; }
4699
if test `eval echo '${'$as_ac_var'}'` = yes; then
4831
ac_res=`eval 'as_val=${'$as_ac_var'}
4832
$as_echo "$as_val"'`
4833
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4834
$as_echo "$ac_res" >&6; }
4835
as_val=`eval 'as_val=${'$as_ac_var'}
4836
$as_echo "$as_val"'`
4837
if test "x$as_val" = x""yes; then
4701
4839
cat >>confdefs.h <<_ACEOF
4702
4840
#define CRAY_STACKSEG_END $ac_func
4749
4887
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4750
4888
*) ac_try_echo=$ac_try;;
4752
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4891
$as_echo "$ac_try_echo") >&5
4753
4892
(eval "$ac_link") 2>&5
4755
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4894
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756
4895
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4757
4896
{ (case "(($ac_try" in
4758
4897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4759
4898
*) ac_try_echo=$ac_try;;
4761
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4900
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4901
$as_echo "$ac_try_echo") >&5
4762
4902
(eval "$ac_try") 2>&5
4764
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765
4905
(exit $ac_status); }; }; then
4766
4906
ac_cv_c_stack_direction=1
4768
echo "$as_me: program exited with status $ac_status" >&5
4769
echo "$as_me: failed program was:" >&5
4908
$as_echo "$as_me: program exited with status $ac_status" >&5
4909
$as_echo "$as_me: failed program was:" >&5
4770
4910
sed 's/^/| /' conftest.$ac_ext >&5
4772
4912
( exit $ac_status )
4773
4913
ac_cv_c_stack_direction=-1
4915
rm -rf conftest.dSYM
4775
4916
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4780
{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4781
echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
4921
{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
4922
$as_echo "$ac_cv_c_stack_direction" >&6; }
4783
4924
cat >>confdefs.h <<_ACEOF
4784
4925
#define STACK_DIRECTION $ac_cv_c_stack_direction
4832
4974
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833
4975
*) ac_try_echo=$ac_try;;
4835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4977
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4978
$as_echo "$ac_try_echo") >&5
4836
4979
(eval "$ac_link") 2>conftest.er1
4838
4981
grep -v '^ *+' conftest.er1 >conftest.err
4839
4982
rm -f conftest.er1
4840
4983
cat conftest.err >&5
4841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842
4985
(exit $ac_status); } && {
4843
4986
test -z "$ac_c_werror_flag" ||
4844
4987
test ! -s conftest.err
4845
} && test -s conftest$ac_exeext &&
4846
$as_test_x conftest$ac_exeext; then
4988
} && test -s conftest$ac_exeext && {
4989
test "$cross_compiling" = yes ||
4990
$as_test_x conftest$ac_exeext
4847
4992
eval "$as_ac_Lib=yes"
4849
echo "$as_me: failed program was:" >&5
4994
$as_echo "$as_me: failed program was:" >&5
4850
4995
sed 's/^/| /' conftest.$ac_ext >&5
4852
4997
eval "$as_ac_Lib=no"
5000
rm -rf conftest.dSYM
4855
5001
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4856
5002
conftest$ac_exeext conftest.$ac_ext
4857
5003
LIBS=$ac_check_lib_save_LIBS
4859
ac_res=`eval echo '${'$as_ac_Lib'}'`
4860
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4861
echo "${ECHO_T}$ac_res" >&6; }
4862
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
5005
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5006
$as_echo "$as_val"'`
5007
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5008
$as_echo "$ac_res" >&6; }
5009
as_val=`eval 'as_val=${'$as_ac_Lib'}
5010
$as_echo "$as_val"'`
5011
if test "x$as_val" = x""yes; then
4863
5012
cat >>confdefs.h <<_ACEOF
4864
#define `echo "HAVE_LIB$i" | $as_tr_cpp` 1
5013
#define `$as_echo "HAVE_LIB$i" | $as_tr_cpp` 1
4867
5016
LIBS="-l$i $LIBS"
4911
5060
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4912
5061
*) ac_try_echo=$ac_try;;
4914
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5063
eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5064
$as_echo "$ac_try_echo") >&5
4915
5065
(eval "$ac_link") 2>conftest.er1
4917
5067
grep -v '^ *+' conftest.er1 >conftest.err
4918
5068
rm -f conftest.er1
4919
5069
cat conftest.err >&5
4920
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4921
5071
(exit $ac_status); } && {
4922
5072
test -z "$ac_c_werror_flag" ||
4923
5073
test ! -s conftest.err
4924
} && test -s conftest$ac_exeext &&
4925
$as_test_x conftest$ac_exeext; then
5074
} && test -s conftest$ac_exeext && {
5075
test "$cross_compiling" = yes ||
5076
$as_test_x conftest$ac_exeext
4926
5078
eval "$as_ac_Lib=yes"
4928
echo "$as_me: failed program was:" >&5
5080
$as_echo "$as_me: failed program was:" >&5
4929
5081
sed 's/^/| /' conftest.$ac_ext >&5
4931
5083
eval "$as_ac_Lib=no"
5086
rm -rf conftest.dSYM
4934
5087
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4935
5088
conftest$ac_exeext conftest.$ac_ext
4936
5089
LIBS=$ac_check_lib_save_LIBS
4938
ac_res=`eval echo '${'$as_ac_Lib'}'`
4939
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4940
echo "${ECHO_T}$ac_res" >&6; }
4941
if test `eval echo '${'$as_ac_Lib'}'` = yes; then
5091
ac_res=`eval 'as_val=${'$as_ac_Lib'}
5092
$as_echo "$as_val"'`
5093
{ $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5094
$as_echo "$ac_res" >&6; }
5095
as_val=`eval 'as_val=${'$as_ac_Lib'}
5096
$as_echo "$as_val"'`
5097
if test "x$as_val" = x""yes; then
4942
5098
cat >>confdefs.h <<_ACEOF
4943
#define `echo "HAVE_LIB$i" | $as_tr_cpp` 1
5099
#define `$as_echo "HAVE_LIB$i" | $as_tr_cpp` 1
4946
5102
LIBS="-l$i $LIBS"
5120
5279
as_cr_digits='0123456789'
5121
5280
as_cr_alnum=$as_cr_Letters$as_cr_digits
5285
# Printing a long string crashes Solaris 7 /usr/bin/printf.
5286
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5287
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5288
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5289
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5290
as_echo='printf %s\n'
5291
as_echo_n='printf %s'
5293
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5294
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5295
as_echo_n='/usr/ucb/echo -n'
5297
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5298
as_echo_n_body='eval
5302
expr "X$arg" : "X\\(.*\\)$as_nl";
5303
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5305
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5307
export as_echo_n_body
5308
as_echo_n='sh -c $as_echo_n_body as_echo'
5311
as_echo='sh -c $as_echo_body as_echo'
5123
5314
# The user is always right.
5124
5315
if test "${PATH_SEPARATOR+set}" != set; then
5125
echo "#! /bin/sh" >conf$$.sh
5126
echo "exit 0" >>conf$$.sh
5128
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5317
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5318
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5136
5323
# Support unset when possible.
5386
cat >>$CONFIG_STATUS <<_ACEOF
5566
case $ac_config_files in *"
5567
"*) set x $ac_config_files; shift; ac_config_files=$*;;
5570
case $ac_config_headers in *"
5571
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5575
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5387
5576
# Files that config.status was made for.
5388
5577
config_files="$ac_config_files"
5389
5578
config_headers="$ac_config_headers"
5393
cat >>$CONFIG_STATUS <<\_ACEOF
5582
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5395
5584
\`$as_me' instantiates files from templates according to the
5396
5585
current configuration.
5398
Usage: $0 [OPTIONS] [FILE]...
5587
Usage: $0 [OPTION]... [FILE]...
5400
5589
-h, --help print this help, then exit
5401
5590
-V, --version print version number and configuration settings, then exit
5402
-q, --quiet do not print progress messages
5591
-q, --quiet, --silent
5592
do not print progress messages
5403
5593
-d, --debug don't remove temporary files
5404
5594
--recheck update $as_me by reconfiguring in the same conditions
5405
--file=FILE[:TEMPLATE]
5406
instantiate the configuration file FILE
5407
--header=FILE[:TEMPLATE]
5408
instantiate the configuration header FILE
5595
--file=FILE[:TEMPLATE]
5596
instantiate the configuration file FILE
5597
--header=FILE[:TEMPLATE]
5598
instantiate the configuration header FILE
5410
5600
Configuration files:
5416
5606
Report bugs to <bug-autoconf@gnu.org>."
5419
cat >>$CONFIG_STATUS <<_ACEOF
5609
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5420
5610
ac_cs_version="\\
5422
configured by $0, generated by GNU Autoconf 2.61,
5423
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5612
configured by $0, generated by GNU Autoconf 2.63,
5613
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
5425
Copyright (C) 2006 Free Software Foundation, Inc.
5615
Copyright (C) 2008 Free Software Foundation, Inc.
5426
5616
This config.status script is free software; the Free Software Foundation
5427
5617
gives unlimited permission to copy, distribute and modify it."
5429
5619
ac_pwd='$ac_pwd'
5430
5620
srcdir='$srcdir'
5431
5621
INSTALL='$INSTALL'
5622
test -n "\$AWK" || AWK=awk
5434
cat >>$CONFIG_STATUS <<\_ACEOF
5435
# If no file are specified by the user, then we need to provide default
5436
# value. By we need to know if files were specified by the user.
5625
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5626
# The default lists apply if the user does not specify any file.
5437
5627
ac_need_defaults=:
5438
5628
while test $# != 0
5455
5645
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5456
5646
ac_cs_recheck=: ;;
5457
5647
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5458
echo "$ac_cs_version"; exit ;;
5648
$as_echo "$ac_cs_version"; exit ;;
5459
5649
--debug | --debu | --deb | --de | --d | -d )
5461
5651
--file | --fil | --fi | --f )
5463
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5654
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5656
CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
5464
5657
ac_need_defaults=false;;
5465
5658
--header | --heade | --head | --hea )
5467
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5661
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5663
CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
5468
5664
ac_need_defaults=false;;
5470
5666
# Conflict between --help and --header
5471
{ echo "$as_me: error: ambiguous option: $1
5667
{ $as_echo "$as_me: error: ambiguous option: $1
5472
5668
Try \`$0 --help' for more information." >&2
5473
5669
{ (exit 1); exit 1; }; };;
5474
5670
--help | --hel | -h )
5475
echo "$ac_cs_usage"; exit ;;
5671
$as_echo "$ac_cs_usage"; exit ;;
5476
5672
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
5477
5673
| -silent | --silent | --silen | --sile | --sil | --si | --s)
5478
5674
ac_cs_silent=: ;;
5480
5676
# This is an error.
5481
-*) { echo "$as_me: error: unrecognized option: $1
5677
-*) { $as_echo "$as_me: error: unrecognized option: $1
5482
5678
Try \`$0 --help' for more information." >&2
5483
5679
{ (exit 1); exit 1; }; } ;;
5575
5773
(umask 077 && mkdir "$tmp")
5578
echo "$me: cannot create a temporary directory in ." >&2
5776
$as_echo "$as_me: cannot create a temporary directory in ." >&2
5579
5777
{ (exit 1); exit 1; }
5583
# Set up the sed scripts for CONFIG_FILES section.
5586
# No need to generate the scripts if there are no CONFIG_FILES.
5587
# This happens for instance when ./config.status config.h
5780
# Set up the scripts for CONFIG_FILES section.
5781
# No need to generate them if there are no CONFIG_FILES.
5782
# This happens for instance with `./config.status config.h'.
5588
5783
if test -n "$CONFIG_FILES"; then
5787
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5788
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5794
echo 'BEGIN {' >"$tmp/subs1.awk" &&
5799
echo "cat >conf$$subs.awk <<_ACEOF" &&
5800
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5803
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5804
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5805
{ (exit 1); exit 1; }; }
5806
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
5594
5807
ac_delim='%!_!# '
5595
5808
for ac_last_try in false false false false false :; do
5596
cat >conf$$subs.sed <<_ACEOF
5597
SHELL!$SHELL$ac_delim
5598
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5599
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5600
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5601
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5602
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5603
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5604
exec_prefix!$exec_prefix$ac_delim
5605
prefix!$prefix$ac_delim
5606
program_transform_name!$program_transform_name$ac_delim
5607
bindir!$bindir$ac_delim
5608
sbindir!$sbindir$ac_delim
5609
libexecdir!$libexecdir$ac_delim
5610
datarootdir!$datarootdir$ac_delim
5611
datadir!$datadir$ac_delim
5612
sysconfdir!$sysconfdir$ac_delim
5613
sharedstatedir!$sharedstatedir$ac_delim
5614
localstatedir!$localstatedir$ac_delim
5615
includedir!$includedir$ac_delim
5616
oldincludedir!$oldincludedir$ac_delim
5617
docdir!$docdir$ac_delim
5618
infodir!$infodir$ac_delim
5619
htmldir!$htmldir$ac_delim
5620
dvidir!$dvidir$ac_delim
5621
pdfdir!$pdfdir$ac_delim
5622
psdir!$psdir$ac_delim
5623
libdir!$libdir$ac_delim
5624
localedir!$localedir$ac_delim
5625
mandir!$mandir$ac_delim
5627
ECHO_C!$ECHO_C$ac_delim
5628
ECHO_N!$ECHO_N$ac_delim
5629
ECHO_T!$ECHO_T$ac_delim
5631
build_alias!$build_alias$ac_delim
5632
host_alias!$host_alias$ac_delim
5633
target_alias!$target_alias$ac_delim
5635
CFLAGS!$CFLAGS$ac_delim
5636
LDFLAGS!$LDFLAGS$ac_delim
5637
CPPFLAGS!$CPPFLAGS$ac_delim
5638
ac_ct_CC!$ac_ct_CC$ac_delim
5639
EXEEXT!$EXEEXT$ac_delim
5640
OBJEXT!$OBJEXT$ac_delim
5641
RANLIB!$RANLIB$ac_delim
5642
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5643
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5644
INSTALL_DATA!$INSTALL_DATA$ac_delim
5646
YFLAGS!$YFLAGS$ac_delim
5648
DVIPS!$DVIPS$ac_delim
5649
TEXI2HTML!$TEXI2HTML$ac_delim
5651
TEXINDEX!$TEXINDEX$ac_delim
5652
MAKEINFO!$MAKEINFO$ac_delim
5655
emacs!$emacs$ac_delim
5658
EGREP!$EGREP$ac_delim
5659
ALLOCA!$ALLOCA$ac_delim
5660
GPMXTERM!$GPMXTERM$ac_delim
5661
release!$release$ac_delim
5662
release_date!$release_date$ac_delim
5663
abi_lev!$abi_lev$ac_delim
5664
abi_full!$abi_full$ac_delim
5665
EMACS!$EMACS$ac_delim
5666
ELISP!$ELISP$ac_delim
5667
SHLIB!$SHLIB$ac_delim
5668
PICFLAGS!$PICFLAGS$ac_delim
5669
SOLDFLAGS!$SOLDFLAGS$ac_delim
5670
CURSES_OBJS!$CURSES_OBJS$ac_delim
5671
SHARED_LIBS!$SHARED_LIBS$ac_delim
5672
lispdir!$lispdir$ac_delim
5673
LIBOBJS!$LIBOBJS$ac_delim
5674
LTLIBOBJS!$LTLIBOBJS$ac_delim
5809
. ./conf$$subs.sh ||
5810
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5811
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5812
{ (exit 1); exit 1; }; }
5677
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
5814
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5815
if test $ac_delim_n = $ac_delim_num; then
5679
5817
elif $ac_last_try; then
5680
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5681
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5818
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5819
$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5682
5820
{ (exit 1); exit 1; }; }
5684
5822
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5688
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5689
if test -n "$ac_eof"; then
5690
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5691
ac_eof=`expr $ac_eof + 1`
5694
cat >>$CONFIG_STATUS <<_ACEOF
5695
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5696
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5699
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5700
s/^/s,@/; s/!/@,|#_!!_#|/
5703
s/'"$ac_delim"'$/,g/; t
5705
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5706
' >>$CONFIG_STATUS <conf$$subs.sed
5707
rm -f conf$$subs.sed
5708
cat >>$CONFIG_STATUS <<_ACEOF
5827
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5828
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
5832
s/^/S["/; s/!.*/"]=/
5842
s/\(.\{148\}\).*/\1/
5844
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5849
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5856
s/\(.\{148\}\).*/\1/
5858
s/["\\]/\\&/g; s/^/"/; s/$/"/
5862
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5867
' <conf$$subs.awk | sed '
5872
' >>$CONFIG_STATUS || ac_write_fail=1
5873
rm -f conf$$subs.awk
5874
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5876
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
5877
for (key in S) S_is_set[key] = 1
5883
nfields = split(line, field, "@")
5885
len = length(field[1])
5886
for (i = 2; i < nfields; i++) {
5888
keylen = length(key)
5889
if (S_is_set[key]) {
5891
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5892
len += length(value) + length(field[++i])
5903
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5904
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5905
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5908
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
5909
|| { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
5910
$as_echo "$as_me: error: could not setup config files machinery" >&2;}
5911
{ (exit 1); exit 1; }; }
5715
5914
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5716
5915
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5730
cat >>$CONFIG_STATUS <<\_ACEOF
5929
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5731
5930
fi # test -n "$CONFIG_FILES"
5734
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
5932
# Set up the scripts for CONFIG_HEADERS section.
5933
# No need to generate them if there are no CONFIG_HEADERS.
5934
# This happens for instance with `./config.status Makefile'.
5935
if test -n "$CONFIG_HEADERS"; then
5936
cat >"$tmp/defines.awk" <<\_ACAWK ||
5940
# Transform confdefs.h into an awk script `defines.awk', embedded as
5941
# here-document in config.status, that substitutes the proper values into
5942
# config.h.in to produce config.h.
5944
# Create a delimiter string that does not exist in confdefs.h, to ease
5945
# handling of long lines.
5947
for ac_last_try in false false :; do
5948
ac_t=`sed -n "/$ac_delim/p" confdefs.h`
5949
if test -z "$ac_t"; then
5951
elif $ac_last_try; then
5952
{ { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
5953
$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
5954
{ (exit 1); exit 1; }; }
5956
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5960
# For the awk script, D is an array of macro values keyed by name,
5961
# likewise P contains macro parameters if any. Preserve backslash
5962
# newline sequences.
5964
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5966
s/.\{148\}/&'"$ac_delim"'/g
5969
s/^[ ]*#[ ]*define[ ][ ]*/ /
5976
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5978
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5982
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5983
D["\1"]=" \3\\\\\\n"\\/p
5985
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5990
s/.\{148\}/&'"$ac_delim"'/g
5995
s/["\\]/\\&/g; s/^/"/; s/$/"/p
5998
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6000
' <confdefs.h | sed '
6001
s/'"$ac_delim"'/"\\\
6002
"/g' >>$CONFIG_STATUS || ac_write_fail=1
6004
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6005
for (key in D) D_is_set[key] = 1
6008
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6010
split(line, arg, " ")
6011
if (arg[1] == "#") {
6015
defundef = substr(arg[1], 2)
6018
split(mac1, mac2, "(") #)
6020
prefix = substr(line, 1, index(line, defundef) - 1)
6021
if (D_is_set[macro]) {
6022
# Preserve the white space surrounding the "#".
6023
print prefix "define", macro P[macro] D[macro]
6026
# Replace #undef with comments. This is necessary, for example,
6027
# in the case of _POSIX_SOURCE, which is predefined and required
6028
# on some systems where configure will not decide to define it.
6029
if (defundef == "undef") {
6030
print "/*", prefix defundef, macro, "*/"
6038
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6039
{ { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
6040
$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
6041
{ (exit 1); exit 1; }; }
6042
fi # test -n "$CONFIG_HEADERS"
6045
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5736
6049
case $ac_tag in
5737
6050
:[FHLC]) ac_mode=$ac_tag; continue;;
5739
6052
case $ac_mode$ac_tag in
5741
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5742
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6054
:L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
6055
$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
5743
6056
{ (exit 1); exit 1; }; };;
5744
6057
:[FH]-) ac_tag=-:-;;
5745
6058
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5768
6081
[\\/$]*) false;;
5769
6082
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5771
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5772
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6084
{ { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6085
$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5773
6086
{ (exit 1); exit 1; }; };;
5775
ac_file_inputs="$ac_file_inputs $ac_f"
6088
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6089
ac_file_inputs="$ac_file_inputs '$ac_f'"
5778
6092
# Let's still pretend it is `configure' which instantiates (i.e., don't
5779
6093
# use $as_me), people would be surprised to read:
5780
6094
# /* config.h. Generated by config.status. */
5781
configure_input="Generated from "`IFS=:
5782
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6095
configure_input='Generated from '`
6096
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5783
6098
if test x"$ac_file" != x-; then
5784
6099
configure_input="$ac_file. $configure_input"
5785
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5786
echo "$as_me: creating $ac_file" >&6;}
6100
{ $as_echo "$as_me:$LINENO: creating $ac_file" >&5
6101
$as_echo "$as_me: creating $ac_file" >&6;}
6103
# Neutralize special characters interpreted by sed in replacement strings.
6104
case $configure_input in #(
6105
*\&* | *\|* | *\\* )
6106
ac_sed_conf_input=`$as_echo "$configure_input" |
6107
sed 's/[\\\\&|]/\\\\&/g'`;; #(
6108
*) ac_sed_conf_input=$configure_input;;
5789
6111
case $ac_tag in
5790
*:-:* | *:-) cat >"$tmp/stdin";;
6112
*:-:* | *:-) cat >"$tmp/stdin" \
6113
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6114
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6115
{ (exit 1); exit 1; }; } ;;
5853
6178
test -d "$as_dir" && break
5855
6180
test -z "$as_dirs" || eval "mkdir $as_dirs"
5856
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5857
echo "$as_me: error: cannot create directory $as_dir" >&2;}
6181
} || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6182
$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
5858
6183
{ (exit 1); exit 1; }; }; }
5861
6186
case "$ac_dir" in
5862
6187
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5864
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6189
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5865
6190
# A ".." for each directory in $ac_dir_suffix.
5866
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6191
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5867
6192
case $ac_top_builddir_sub in
5868
6193
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5869
6194
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5955
6283
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5956
6284
s&@INSTALL@&$ac_INSTALL&;t t
5957
6285
$ac_datarootdir_hack
5958
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
6287
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
6288
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6289
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6290
{ (exit 1); exit 1; }; }
5960
6292
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5961
6293
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5962
6294
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5963
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6295
{ $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5964
6296
which seems to be undefined. Please make sure it is defined." >&5
5965
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6297
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5966
6298
which seems to be undefined. Please make sure it is defined." >&2;}
5968
6300
rm -f "$tmp/stdin"
5969
6301
case $ac_file in
5970
-) cat "$tmp/out"; rm -f "$tmp/out";;
5971
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
6302
-) cat "$tmp/out" && rm -f "$tmp/out";;
6303
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
6305
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6306
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6307
{ (exit 1); exit 1; }; }
5976
6311
# CONFIG_HEADER
5980
# Transform confdefs.h into a sed script `conftest.defines', that
5981
# substitutes the proper values into config.h.in to produce config.h.
5982
rm -f conftest.defines conftest.tail
5983
# First, append a space to every undef/define line, to ease matching.
5984
echo 's/$/ /' >conftest.defines
5985
# Then, protect against being on the right side of a sed subst, or in
5986
# an unquoted here document, in config.status. If some macros were
5987
# called several times there might be several #defines for the same
5988
# symbol, which is useless. But do not sort them, since the last
5989
# AC_DEFINE must be honored.
5990
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5991
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5992
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5993
# PARAMS is the parameter list in the macro definition--in most cases, it's
5994
# just an empty string.
5995
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5996
ac_dB='\\)[ (].*,\\1define\\2'
6004
s/^[ ]*#[ ]*define[ ][ ]*//
6009
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6010
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6011
' >>conftest.defines
6013
# Remove the space that was appended to ease matching.
6014
# Then replace #undef with comments. This is necessary, for
6015
# example, in the case of _POSIX_SOURCE, which is predefined and required
6016
# on some systems where configure will not decide to define it.
6017
# (The regexp can be short, since the line contains either #define or #undef.)
6019
s,^[ #]*u.*,/* & */,' >>conftest.defines
6021
# Break up conftest.defines:
6024
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6025
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6026
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6028
ac_in='$ac_file_inputs'
6029
ac_out='"$tmp/out1"'
6030
ac_nxt='"$tmp/out2"'
6034
# Write a here document:
6035
cat >>$CONFIG_STATUS <<_ACEOF
6036
# First, check the format of the line:
6037
cat >"\$tmp/defines.sed" <<\\CEOF
6038
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6039
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
6043
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
6045
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6046
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6047
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6048
grep . conftest.tail >/dev/null || break
6049
rm -f conftest.defines
6050
mv conftest.tail conftest.defines
6052
rm -f conftest.defines conftest.tail
6054
echo "ac_result=$ac_in" >>$CONFIG_STATUS
6055
cat >>$CONFIG_STATUS <<\_ACEOF
6056
6313
if test x"$ac_file" != x-; then
6057
echo "/* $configure_input */" >"$tmp/config.h"
6058
cat "$ac_result" >>"$tmp/config.h"
6059
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
6060
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6061
echo "$as_me: $ac_file is unchanged" >&6;}
6315
$as_echo "/* $configure_input */" \
6316
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
6317
} >"$tmp/config.h" \
6318
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6319
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6320
{ (exit 1); exit 1; }; }
6321
if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
6322
{ $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6323
$as_echo "$as_me: $ac_file is unchanged" >&6;}
6064
mv "$tmp/config.h" $ac_file
6326
mv "$tmp/config.h" "$ac_file" \
6327
|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
6328
$as_echo "$as_me: error: could not create $ac_file" >&2;}
6329
{ (exit 1); exit 1; }; }
6067
echo "/* $configure_input */"
6332
$as_echo "/* $configure_input */" \
6333
&& eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
6334
|| { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
6335
$as_echo "$as_me: error: could not create -" >&2;}
6336
{ (exit 1); exit 1; }; }