367
1034
ac_prev=x_includes ;;
368
1035
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
369
1036
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
370
x_includes="$ac_optarg" ;;
1037
x_includes=$ac_optarg ;;
372
1039
-x-libraries | --x-libraries | --x-librarie | --x-librari \
373
1040
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
374
1041
ac_prev=x_libraries ;;
375
1042
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
376
1043
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
377
x_libraries="$ac_optarg" ;;
1044
x_libraries=$ac_optarg ;;
379
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
1046
-*) { echo "$as_me: error: unrecognized option: $ac_option
1047
Try \`$0 --help' for more information." >&2
1048
{ (exit 1); exit 1; }; }
1052
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1053
# Reject names that are not valid shell variable names.
1054
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1055
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1056
{ (exit 1); exit 1; }; }
1057
eval $ac_envvar=\$ac_optarg
1058
export $ac_envvar ;;
383
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
384
echo "configure: warning: $ac_option: invalid host type" 1>&2
386
if test "x$nonopt" != xNONE; then
387
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
1061
# FIXME: should be removed in autoconf 3.0.
1062
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1063
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1064
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1065
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
395
1071
if test -n "$ac_prev"; then
396
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
399
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
401
# File descriptor usage:
404
# 2 errors and warnings
405
# 3 some systems may open it to /dev/tty
406
# 4 used on the Kubota Titan
407
# 6 checking for... messages and results
408
# 5 compiler messages saved in config.log
409
if test "$silent" = yes; then
417
This file contains any messages produced by compilers while
418
running configure, to aid debugging if configure makes a mistake.
421
# Strip out --no-create and --no-recursion so they do not pile up.
422
# Also quote any args containing shell metacharacters.
1072
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1073
{ echo "$as_me: error: missing argument to $ac_option" >&2
1074
{ (exit 1); exit 1; }; }
1077
# Be sure to have absolute directory names.
1078
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1079
datadir sysconfdir sharedstatedir localstatedir includedir \
1080
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1081
libdir localedir mandir
427
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
428
| --no-cr | --no-c) ;;
429
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
430
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
431
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
432
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
433
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
1083
eval ac_val=\$$ac_var
1085
[\\/$]* | ?:[\\/]* ) continue;;
1086
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1088
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1089
{ (exit 1); exit 1; }; }
438
# Only set these to C if already set. These must not be set unconditionally
439
# because not all systems understand e.g. LANG=C (notably SCO).
440
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
441
# Non-C LC_CTYPE values break the ctype check.
442
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
443
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
444
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
445
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
447
# confdefs.h avoids OS command line length limits that DEFS can exceed.
448
rm -rf conftest* confdefs.h
449
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
452
# A filename unique to this package, relative to the directory that
453
# configure is in, which we can look for to find out if srcdir is correct.
454
ac_unique_file=include/EST.h
1092
# There might be people who depend on the old broken behavior: `$host'
1093
# used to hold the argument of --host etc.
1094
# FIXME: To remove some day.
1097
target=$target_alias
1099
# FIXME: To remove some day.
1100
if test "x$host_alias" != x; then
1101
if test "x$build_alias" = x; then
1102
cross_compiling=maybe
1103
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1104
If a cross compiler is detected then cross compile mode will be used." >&2
1105
elif test "x$build_alias" != "x$host_alias"; then
1111
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1113
test "$silent" = yes && exec 6>/dev/null
1116
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1117
ac_ls_di=`ls -di .` &&
1118
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1119
{ echo "$as_me: error: Working directory cannot be determined" >&2
1120
{ (exit 1); exit 1; }; }
1121
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1122
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1123
{ (exit 1); exit 1; }; }
456
1126
# Find the source files, if location was not specified.
457
1127
if test -z "$srcdir"; then
458
1128
ac_srcdir_defaulted=yes
459
# Try the directory containing this script, then its parent.
461
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
462
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1129
# Try the directory containing this script, then the parent directory.
1130
ac_confdir=`$as_dirname -- "$0" ||
1131
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132
X"$0" : 'X\(//\)[^/]' \| \
1133
X"$0" : 'X\(//\)$' \| \
1134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1136
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
463
1153
srcdir=$ac_confdir
464
if test ! -r $srcdir/$ac_unique_file; then
1154
if test ! -r "$srcdir/$ac_unique_file"; then
468
1158
ac_srcdir_defaulted=no
470
if test ! -r $srcdir/$ac_unique_file; then
471
if test "$ac_srcdir_defaulted" = yes; then
472
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
474
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
477
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1160
if test ! -r "$srcdir/$ac_unique_file"; then
1161
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1163
{ (exit 1); exit 1; }; }
1165
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1167
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1168
{ (exit 1); exit 1; }; }
1170
# When building in place, set srcdir=.
1171
if test "$ac_abs_confdir" = "$ac_pwd"; then
1174
# Remove unnecessary trailing slashes from srcdir.
1175
# Double slashes in file names in object file debugging info
1176
# mess up M-x gdb in Emacs.
1178
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1180
for ac_var in $ac_precious_vars; do
1181
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1182
eval ac_env_${ac_var}_value=\$${ac_var}
1183
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1184
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1188
# Report the --help message.
1190
if test "$ac_init_help" = "long"; then
1191
# Omit some internal or obsolete options to make the list less imposing.
1192
# This message is too long to be a string in the A/UX 3.1 sh.
1194
\`configure' configures this package to adapt to many kinds of systems.
1196
Usage: $0 [OPTION]... [VAR=VALUE]...
1198
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1199
VAR=VALUE. See below for descriptions of some of the useful variables.
1201
Defaults for the options are specified in brackets.
1204
-h, --help display this help and exit
1205
--help=short display options specific to this package
1206
--help=recursive display the short help of all the included packages
1207
-V, --version display version information and exit
1208
-q, --quiet, --silent do not print \`checking...' messages
1209
--cache-file=FILE cache test results in FILE [disabled]
1210
-C, --config-cache alias for \`--cache-file=config.cache'
1211
-n, --no-create do not create output files
1212
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1214
Installation directories:
1215
--prefix=PREFIX install architecture-independent files in PREFIX
1216
[$ac_default_prefix]
1217
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1220
By default, \`make install' will install all the files in
1221
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1222
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1223
for instance \`--prefix=\$HOME'.
1225
For better control, use the options below.
1227
Fine tuning of the installation directories:
1228
--bindir=DIR user executables [EPREFIX/bin]
1229
--sbindir=DIR system admin executables [EPREFIX/sbin]
1230
--libexecdir=DIR program executables [EPREFIX/libexec]
1231
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1232
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1233
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1234
--libdir=DIR object code libraries [EPREFIX/lib]
1235
--includedir=DIR C header files [PREFIX/include]
1236
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1237
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1238
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1239
--infodir=DIR info documentation [DATAROOTDIR/info]
1240
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1241
--mandir=DIR man documentation [DATAROOTDIR/man]
1242
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1243
--htmldir=DIR html documentation [DOCDIR]
1244
--dvidir=DIR dvi documentation [DOCDIR]
1245
--pdfdir=DIR pdf documentation [DOCDIR]
1246
--psdir=DIR ps documentation [DOCDIR]
1252
--build=BUILD configure for building on BUILD [guessed]
1253
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1254
--target=TARGET configure for building compilers for TARGET [HOST]
1258
if test -n "$ac_init_help"; then
1262
Some influential environment variables:
1263
CC C compiler command
1264
CFLAGS C compiler flags
1265
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1266
nonstandard directory <lib dir>
1267
LIBS libraries to pass to the linker, e.g. -l<library>
1268
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1269
you have headers in a nonstandard directory <include dir>
1272
Use these variables to override the choices made by `configure' or to help
1273
it to find libraries and programs with nonstandard names/locations.
1279
if test "$ac_init_help" = "recursive"; then
1280
# If there are subdirs, report their specific --help.
1281
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1282
test -d "$ac_dir" || continue
1286
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1288
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1289
# A ".." for each directory in $ac_dir_suffix.
1290
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1291
case $ac_top_builddir_sub in
1292
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1293
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1296
ac_abs_top_builddir=$ac_pwd
1297
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1298
# for backward compatibility:
1299
ac_top_builddir=$ac_top_build_prefix
1302
.) # We are building in place.
1304
ac_top_srcdir=$ac_top_builddir_sub
1305
ac_abs_top_srcdir=$ac_pwd ;;
1306
[\\/]* | ?:[\\/]* ) # Absolute name.
1307
ac_srcdir=$srcdir$ac_dir_suffix;
1308
ac_top_srcdir=$srcdir
1309
ac_abs_top_srcdir=$srcdir ;;
1311
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1312
ac_top_srcdir=$ac_top_build_prefix$srcdir
1313
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1315
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1317
cd "$ac_dir" || { ac_status=$?; continue; }
1318
# Check for guested configure.
1319
if test -f "$ac_srcdir/configure.gnu"; then
1321
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1322
elif test -f "$ac_srcdir/configure"; then
1324
$SHELL "$ac_srcdir/configure" --help=recursive
1326
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1328
cd "$ac_pwd" || { ac_status=$?; break; }
1332
test -n "$ac_init_help" && exit $ac_status
1333
if $ac_init_version; then
1336
generated by GNU Autoconf 2.61
1338
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1339
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1340
This configure script is free software; the Free Software Foundation
1341
gives unlimited permission to copy, distribute and modify it.
1345
cat >config.log <<_ACEOF
1346
This file contains any messages produced by compilers while
1347
running configure, to aid debugging if configure makes a mistake.
1349
It was created by $as_me, which was
1350
generated by GNU Autoconf 2.61. Invocation command line was
1362
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1363
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1364
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1365
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1366
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1368
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1369
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1371
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1372
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1373
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1374
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1375
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1376
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1377
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385
test -z "$as_dir" && as_dir=.
1386
echo "PATH: $as_dir"
1402
# Keep a trace of the command line.
1403
# Strip out --no-create and --no-recursion so they do not pile up.
1404
# Strip out --silent because we don't want to record it for future runs.
1405
# Also quote any args containing shell meta-characters.
1406
# Make two passes to allow for proper duplicate-argument suppression.
1410
ac_must_keep_next=false
1416
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1417
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1418
| -silent | --silent | --silen | --sile | --sil)
1421
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1426
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1427
if test $ac_must_keep_next = true; then
1428
ac_must_keep_next=false # Got value, back to normal.
1431
*=* | --config-cache | -C | -disable-* | --disable-* \
1432
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1433
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1434
| -with-* | --with-* | -without-* | --without-* | --x)
1435
case "$ac_configure_args0 " in
1436
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439
-* ) ac_must_keep_next=true ;;
1442
ac_configure_args="$ac_configure_args '$ac_arg'"
1447
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1448
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1450
# When interrupted or exit'd, cleanup temporary files, and complete
1451
# config.log. We remove comments because anyway the quotes in there
1452
# would cause problems or look ugly.
1453
# WARNING: Use '\'' to represent an apostrophe within the trap.
1454
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1455
trap 'exit_status=$?
1456
# Save into config.log some information that might help in debugging.
1461
## ---------------- ##
1462
## Cache variables. ##
1463
## ---------------- ##
1466
# The following way of writing the cache mishandles newlines in values,
1468
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1469
eval ac_val=\$$ac_var
1473
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1474
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1477
_ | IFS | as_nl) ;; #(
1478
*) $as_unset $ac_var ;;
1483
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1484
*${as_nl}ac_space=\ *)
1486
"s/'\''/'\''\\\\'\'''\''/g;
1487
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1490
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1498
## ----------------- ##
1499
## Output variables. ##
1500
## ----------------- ##
1503
for ac_var in $ac_subst_vars
1505
eval ac_val=\$$ac_var
1507
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1509
echo "$ac_var='\''$ac_val'\''"
1513
if test -n "$ac_subst_files"; then
1515
## ------------------- ##
1516
## File substitutions. ##
1517
## ------------------- ##
1520
for ac_var in $ac_subst_files
1522
eval ac_val=\$$ac_var
1524
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1526
echo "$ac_var='\''$ac_val'\''"
1531
if test -s confdefs.h; then
1541
test "$ac_signal" != 0 &&
1542
echo "$as_me: caught signal $ac_signal"
1543
echo "$as_me: exit $exit_status"
1545
rm -f core *.core core.conftest.* &&
1546
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1549
for ac_signal in 1 2 13 15; do
1550
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1554
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1555
rm -f -r conftest* confdefs.h
1557
# Predefined preprocessor variables.
1559
cat >>confdefs.h <<_ACEOF
1560
#define PACKAGE_NAME "$PACKAGE_NAME"
1564
cat >>confdefs.h <<_ACEOF
1565
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1569
cat >>confdefs.h <<_ACEOF
1570
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1574
cat >>confdefs.h <<_ACEOF
1575
#define PACKAGE_STRING "$PACKAGE_STRING"
1579
cat >>confdefs.h <<_ACEOF
1580
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1584
# Let the site file select an alternate cache file if it wants to.
479
1585
# Prefer explicitly selected file to automatically selected ones.
480
if test -z "$CONFIG_SITE"; then
481
if test "x$prefix" != xNONE; then
482
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
484
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1586
if test -n "$CONFIG_SITE"; then
1587
set x "$CONFIG_SITE"
1588
elif test "x$prefix" != xNONE; then
1589
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1591
set x "$ac_default_prefix/share/config.site" \
1592
"$ac_default_prefix/etc/config.site"
487
for ac_site_file in $CONFIG_SITE; do
488
1597
if test -r "$ac_site_file"; then
489
echo "loading site script $ac_site_file"
1598
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1599
echo "$as_me: loading site script $ac_site_file" >&6;}
1600
sed 's/^/| /' "$ac_site_file" >&5
490
1601
. "$ac_site_file"
494
1605
if test -r "$cache_file"; then
495
echo "loading cache $cache_file"
1606
# Some versions of bash will fail to source /dev/null (special
1607
# files actually), so we avoid doing that.
1608
if test -f "$cache_file"; then
1609
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1610
echo "$as_me: loading cache $cache_file" >&6;}
1612
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1613
*) . "./$cache_file";;
498
echo "creating cache $cache_file"
1617
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1618
echo "$as_me: creating cache $cache_file" >&6;}
1622
# Check that the precious variables saved in the cache have kept the same
1624
ac_cache_corrupted=false
1625
for ac_var in $ac_precious_vars; do
1626
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1627
eval ac_new_set=\$ac_env_${ac_var}_set
1628
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1629
eval ac_new_val=\$ac_env_${ac_var}_value
1630
case $ac_old_set,$ac_new_set in
1632
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1633
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1634
ac_cache_corrupted=: ;;
1636
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1637
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1638
ac_cache_corrupted=: ;;
1641
if test "x$ac_old_val" != "x$ac_new_val"; then
1642
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1643
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1644
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1645
echo "$as_me: former value: $ac_old_val" >&2;}
1646
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1647
echo "$as_me: current value: $ac_new_val" >&2;}
1648
ac_cache_corrupted=:
1651
# Pass precious variables to config.status.
1652
if test "$ac_new_set" = set; then
1654
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1655
*) ac_arg=$ac_var=$ac_new_val ;;
1657
case " $ac_configure_args " in
1658
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1659
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1663
if $ac_cache_corrupted; then
1664
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1665
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1666
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1667
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1668
{ (exit 1); exit 1; }; }
503
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
504
1688
ac_cpp='$CPP $CPPFLAGS'
505
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
506
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
507
cross_compiling=$ac_cv_prog_cc_cross
511
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
512
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
513
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
520
ac_n= ac_c='\c' ac_t=
1689
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1690
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1691
ac_compiler_gnu=$ac_cv_c_compiler_gnu
526
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
527
if test -f $ac_dir/install-sh; then
1696
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1697
if test -f "$ac_dir/install-sh"; then
528
1698
ac_aux_dir=$ac_dir
529
1699
ac_install_sh="$ac_aux_dir/install-sh -c"
531
elif test -f $ac_dir/install.sh; then
1701
elif test -f "$ac_dir/install.sh"; then
532
1702
ac_aux_dir=$ac_dir
533
1703
ac_install_sh="$ac_aux_dir/install.sh -c"
1705
elif test -f "$ac_dir/shtool"; then
1707
ac_install_sh="$ac_aux_dir/shtool install -c"
537
1711
if test -z "$ac_aux_dir"; then
538
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
540
ac_config_guess=$ac_aux_dir/config.guess
541
ac_config_sub=$ac_aux_dir/config.sub
542
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
545
# Do some error checking and defaulting for the host and target type.
547
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
550
# 1. You are not allowed to specify --host, --target, and nonopt at the
552
# 2. Host defaults to nonopt.
553
# 3. If nonopt is not specified, then host defaults to the current host,
554
# as determined by config.guess.
555
# 4. Target and build default to nonopt.
556
# 5. If nonopt is not specified, then target and build default to host.
1712
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1713
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1714
{ (exit 1); exit 1; }; }
1717
# These three variables are undocumented and unsupported,
1718
# and are intended to be withdrawn in a future Autoconf release.
1719
# They can cause serious problems if a builder's source tree is in a directory
1720
# whose full name contains unusual characters.
1721
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1722
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1723
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1726
# Make sure we can run config.sub.
1727
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1728
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1729
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1730
{ (exit 1); exit 1; }; }
1732
{ echo "$as_me:$LINENO: checking build system type" >&5
1733
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1734
if test "${ac_cv_build+set}" = set; then
1735
echo $ECHO_N "(cached) $ECHO_C" >&6
1737
ac_build_alias=$build_alias
1738
test "x$ac_build_alias" = x &&
1739
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1740
test "x$ac_build_alias" = x &&
1741
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1742
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1743
{ (exit 1); exit 1; }; }
1744
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1745
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1746
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1747
{ (exit 1); exit 1; }; }
1750
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1751
echo "${ECHO_T}$ac_cv_build" >&6; }
1752
case $ac_cv_build in
1754
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1755
echo "$as_me: error: invalid value of canonical build" >&2;}
1756
{ (exit 1); exit 1; }; };;
1759
ac_save_IFS=$IFS; IFS='-'
1765
# Remember, the first character of IFS is used to create $*,
1766
# except with old shells:
1769
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1772
{ echo "$as_me:$LINENO: checking host system type" >&5
1773
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1774
if test "${ac_cv_host+set}" = set; then
1775
echo $ECHO_N "(cached) $ECHO_C" >&6
1777
if test "x$host_alias" = x; then
1778
ac_cv_host=$ac_cv_build
1780
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1781
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1782
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1783
{ (exit 1); exit 1; }; }
1787
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1788
echo "${ECHO_T}$ac_cv_host" >&6; }
1791
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1792
echo "$as_me: error: invalid value of canonical host" >&2;}
1793
{ (exit 1); exit 1; }; };;
1796
ac_save_IFS=$IFS; IFS='-'
1802
# Remember, the first character of IFS is used to create $*,
1803
# except with old shells:
1806
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1809
{ echo "$as_me:$LINENO: checking target system type" >&5
1810
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1811
if test "${ac_cv_target+set}" = set; then
1812
echo $ECHO_N "(cached) $ECHO_C" >&6
1814
if test "x$target_alias" = x; then
1815
ac_cv_target=$ac_cv_host
1817
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1818
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1819
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1820
{ (exit 1); exit 1; }; }
1824
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1825
echo "${ECHO_T}$ac_cv_target" >&6; }
1826
case $ac_cv_target in
1828
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1829
echo "$as_me: error: invalid value of canonical target" >&2;}
1830
{ (exit 1); exit 1; }; };;
1832
target=$ac_cv_target
1833
ac_save_IFS=$IFS; IFS='-'
1839
# Remember, the first character of IFS is used to create $*,
1840
# except with old shells:
1843
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
558
1846
# The aliases save the names the user supplied, while $host etc.
559
1847
# will get canonicalized.
560
case $host---$target---$nonopt in
561
NONE---*---* | *---NONE---* | *---*---NONE) ;;
562
*) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
566
# Make sure we can run config.sub.
567
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
568
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
571
echo $ac_n "checking host system type""... $ac_c" 1>&6
572
echo "configure:573: checking host system type" >&5
575
case "$host_alias" in
579
if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
580
else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
582
*) host_alias=$nonopt ;;
586
host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
587
host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
588
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
589
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
590
echo "$ac_t""$host" 1>&6
592
echo $ac_n "checking target system type""... $ac_c" 1>&6
593
echo "configure:594: checking target system type" >&5
596
case "$target_alias" in
599
NONE) target_alias=$host_alias ;;
600
*) target_alias=$nonopt ;;
604
target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
605
target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
606
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
607
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
608
echo "$ac_t""$target" 1>&6
610
echo $ac_n "checking build system type""... $ac_c" 1>&6
611
echo "configure:612: checking build system type" >&5
614
case "$build_alias" in
617
NONE) build_alias=$host_alias ;;
618
*) build_alias=$nonopt ;;
622
build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
623
build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
624
build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
625
build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
626
echo "$ac_t""$build" 1>&6
628
test "$host_alias" != "$target_alias" &&
1848
test -n "$target_alias" &&
629
1849
test "$program_prefix$program_suffix$program_transform_name" = \
630
1850
NONENONEs,x,x, &&
631
1851
program_prefix=${target_alias}-
633
# Extract the first word of "gcc", so it can be a program name with args.
1853
ac_cpp='$CPP $CPPFLAGS'
1854
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1857
if test -n "$ac_tool_prefix"; then
1858
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1859
set dummy ${ac_tool_prefix}gcc; ac_word=$2
1860
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1861
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1862
if test "${ac_cv_prog_CC+set}" = set; then
1863
echo $ECHO_N "(cached) $ECHO_C" >&6
1865
if test -n "$CC"; then
1866
ac_cv_prog_CC="$CC" # Let the user override the test.
1868
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1872
test -z "$as_dir" && as_dir=.
1873
for ac_exec_ext in '' $ac_executable_extensions; do
1874
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1875
ac_cv_prog_CC="${ac_tool_prefix}gcc"
1876
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1886
if test -n "$CC"; then
1887
{ echo "$as_me:$LINENO: result: $CC" >&5
1888
echo "${ECHO_T}$CC" >&6; }
1890
{ echo "$as_me:$LINENO: result: no" >&5
1891
echo "${ECHO_T}no" >&6; }
1896
if test -z "$ac_cv_prog_CC"; then
1898
# Extract the first word of "gcc", so it can be a program name with args.
634
1899
set dummy gcc; ac_word=$2
635
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
636
echo "configure:637: checking for $ac_word" >&5
637
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
638
echo $ac_n "(cached) $ac_c" 1>&6
1900
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1901
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1902
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1903
echo $ECHO_N "(cached) $ECHO_C" >&6
1905
if test -n "$ac_ct_CC"; then
1906
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1908
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912
test -z "$as_dir" && as_dir=.
1913
for ac_exec_ext in '' $ac_executable_extensions; do
1914
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1915
ac_cv_prog_ac_ct_CC="gcc"
1916
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925
ac_ct_CC=$ac_cv_prog_ac_ct_CC
1926
if test -n "$ac_ct_CC"; then
1927
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1928
echo "${ECHO_T}$ac_ct_CC" >&6; }
1930
{ echo "$as_me:$LINENO: result: no" >&5
1931
echo "${ECHO_T}no" >&6; }
1934
if test "x$ac_ct_CC" = x; then
1937
case $cross_compiling:$ac_tool_warned in
1939
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1940
whose name does not start with the host triplet. If you think this
1941
configuration is useful to you, please write to autoconf@gnu.org." >&5
1942
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1943
whose name does not start with the host triplet. If you think this
1944
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1945
ac_tool_warned=yes ;;
1953
if test -z "$CC"; then
1954
if test -n "$ac_tool_prefix"; then
1955
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1956
set dummy ${ac_tool_prefix}cc; ac_word=$2
1957
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1958
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1959
if test "${ac_cv_prog_CC+set}" = set; then
1960
echo $ECHO_N "(cached) $ECHO_C" >&6
640
1962
if test -n "$CC"; then
641
1963
ac_cv_prog_CC="$CC" # Let the user override the test.
643
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
645
for ac_dir in $ac_dummy; do
646
test -z "$ac_dir" && ac_dir=.
647
if test -f $ac_dir/$ac_word; then
1965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1969
test -z "$as_dir" && as_dir=.
1970
for ac_exec_ext in '' $ac_executable_extensions; do
1971
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1972
ac_cv_prog_CC="${ac_tool_prefix}cc"
1973
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
656
1983
if test -n "$CC"; then
657
echo "$ac_t""$CC" 1>&6
1984
{ echo "$as_me:$LINENO: result: $CC" >&5
1985
echo "${ECHO_T}$CC" >&6; }
659
echo "$ac_t""no" 1>&6
1987
{ echo "$as_me:$LINENO: result: no" >&5
1988
echo "${ECHO_T}no" >&6; }
662
1994
if test -z "$CC"; then
663
1995
# Extract the first word of "cc", so it can be a program name with args.
664
1996
set dummy cc; ac_word=$2
665
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
666
echo "configure:667: checking for $ac_word" >&5
667
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
668
echo $ac_n "(cached) $ac_c" 1>&6
1997
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1998
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1999
if test "${ac_cv_prog_CC+set}" = set; then
2000
echo $ECHO_N "(cached) $ECHO_C" >&6
670
2002
if test -n "$CC"; then
671
2003
ac_cv_prog_CC="$CC" # Let the user override the test.
673
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
674
2005
ac_prog_rejected=no
676
for ac_dir in $ac_dummy; do
677
test -z "$ac_dir" && ac_dir=.
678
if test -f $ac_dir/$ac_word; then
679
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2006
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010
test -z "$as_dir" && as_dir=.
2011
for ac_exec_ext in '' $ac_executable_extensions; do
2012
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2013
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2014
ac_prog_rejected=yes
2018
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
688
2025
if test $ac_prog_rejected = yes; then
689
2026
# We found a bogon in the path, so make sure we never use it.
690
2027
set dummy $ac_cv_prog_CC
692
if test $# -gt 0; then
2029
if test $# != 0; then
693
2030
# We chose a different compiler from the bogus one.
694
2031
# However, it has the same basename, so the bogon will be chosen
695
2032
# first if we set CC to just the basename; use the full file name.
697
set dummy "$ac_dir/$ac_word" "$@"
2034
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
705
2040
if test -n "$CC"; then
706
echo "$ac_t""$CC" 1>&6
2041
{ echo "$as_me:$LINENO: result: $CC" >&5
2042
echo "${ECHO_T}$CC" >&6; }
708
echo "$ac_t""no" 1>&6
711
if test -z "$CC"; then
714
# Extract the first word of "cl", so it can be a program name with args.
715
set dummy cl; ac_word=$2
716
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
717
echo "configure:718: checking for $ac_word" >&5
718
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
719
echo $ac_n "(cached) $ac_c" 1>&6
2044
{ echo "$as_me:$LINENO: result: no" >&5
2045
echo "${ECHO_T}no" >&6; }
2050
if test -z "$CC"; then
2051
if test -n "$ac_tool_prefix"; then
2052
for ac_prog in cl.exe
2054
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2055
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2056
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2057
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2058
if test "${ac_cv_prog_CC+set}" = set; then
2059
echo $ECHO_N "(cached) $ECHO_C" >&6
721
2061
if test -n "$CC"; then
722
2062
ac_cv_prog_CC="$CC" # Let the user override the test.
724
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
726
for ac_dir in $ac_dummy; do
727
test -z "$ac_dir" && ac_dir=.
728
if test -f $ac_dir/$ac_word; then
2064
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068
test -z "$as_dir" && as_dir=.
2069
for ac_exec_ext in '' $ac_executable_extensions; do
2070
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2071
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2072
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2082
if test -n "$CC"; then
2083
{ echo "$as_me:$LINENO: result: $CC" >&5
2084
echo "${ECHO_T}$CC" >&6; }
2086
{ echo "$as_me:$LINENO: result: no" >&5
2087
echo "${ECHO_T}no" >&6; }
2091
test -n "$CC" && break
2094
if test -z "$CC"; then
2096
for ac_prog in cl.exe
2098
# Extract the first word of "$ac_prog", so it can be a program name with args.
2099
set dummy $ac_prog; ac_word=$2
2100
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2101
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2102
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2103
echo $ECHO_N "(cached) $ECHO_C" >&6
2105
if test -n "$ac_ct_CC"; then
2106
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2108
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2112
test -z "$as_dir" && as_dir=.
2113
for ac_exec_ext in '' $ac_executable_extensions; do
2114
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2115
ac_cv_prog_ac_ct_CC="$ac_prog"
2116
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2126
if test -n "$ac_ct_CC"; then
2127
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2128
echo "${ECHO_T}$ac_ct_CC" >&6; }
2130
{ echo "$as_me:$LINENO: result: no" >&5
2131
echo "${ECHO_T}no" >&6; }
2135
test -n "$ac_ct_CC" && break
2138
if test "x$ac_ct_CC" = x; then
2141
case $cross_compiling:$ac_tool_warned in
2143
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2144
whose name does not start with the host triplet. If you think this
2145
configuration is useful to you, please write to autoconf@gnu.org." >&5
2146
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2147
whose name does not start with the host triplet. If you think this
2148
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2149
ac_tool_warned=yes ;;
2158
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2159
See \`config.log' for more details." >&5
2160
echo "$as_me: error: no acceptable C compiler found in \$PATH
2161
See \`config.log' for more details." >&2;}
2162
{ (exit 1); exit 1; }; }
2164
# Provide some information about the compiler.
2165
echo "$as_me:$LINENO: checking for C compiler version" >&5
2166
ac_compiler=`set X $ac_compile; echo $2`
2167
{ (ac_try="$ac_compiler --version >&5"
2169
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2170
*) ac_try_echo=$ac_try;;
2172
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2173
(eval "$ac_compiler --version >&5") 2>&5
2175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2176
(exit $ac_status); }
2177
{ (ac_try="$ac_compiler -v >&5"
2179
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2180
*) ac_try_echo=$ac_try;;
2182
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2183
(eval "$ac_compiler -v >&5") 2>&5
2185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2186
(exit $ac_status); }
2187
{ (ac_try="$ac_compiler -V >&5"
2189
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2190
*) ac_try_echo=$ac_try;;
2192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2193
(eval "$ac_compiler -V >&5") 2>&5
2195
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2196
(exit $ac_status); }
2198
cat >conftest.$ac_ext <<_ACEOF
2201
cat confdefs.h >>conftest.$ac_ext
2202
cat >>conftest.$ac_ext <<_ACEOF
2203
/* end confdefs.h. */
2213
ac_clean_files_save=$ac_clean_files
2214
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2215
# Try to create an executable without -o first, disregard a.out.
2216
# It will help us diagnose broken compilers, and finding out an intuition
2218
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2219
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2220
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2222
# List of possible output files, starting from the most likely.
2223
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2224
# only as a last resort. b.out is created by i960 compilers.
2225
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2227
# The IRIX 6 linker writes into existing files which may not be
2228
# executable, retaining their permissions. Remove them first so a
2229
# subsequent execution test works.
2231
for ac_file in $ac_files
2234
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2235
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2240
if { (ac_try="$ac_link_default"
2242
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2243
*) ac_try_echo=$ac_try;;
2245
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2246
(eval "$ac_link_default") 2>&5
2248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249
(exit $ac_status); }; then
2250
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2251
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2252
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2253
# so that the user can short-circuit this test for compilers unknown to
2255
for ac_file in $ac_files ''
2257
test -f "$ac_file" || continue
2259
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2262
# We found the default executable, but exeext='' is most
2266
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2268
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2270
# We set ac_cv_exeext here because the later test for it is not
2271
# safe: cross compilers may not add the suffix if given an `-o'
2272
# argument, so we may need to know it at that point already.
2273
# Even if this section looks crufty: it has the advantage of
2280
test "$ac_cv_exeext" = no && ac_cv_exeext=
2286
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2287
echo "${ECHO_T}$ac_file" >&6; }
2288
if test -z "$ac_file"; then
2289
echo "$as_me: failed program was:" >&5
2290
sed 's/^/| /' conftest.$ac_ext >&5
2292
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2293
See \`config.log' for more details." >&5
2294
echo "$as_me: error: C compiler cannot create executables
2295
See \`config.log' for more details." >&2;}
2296
{ (exit 77); exit 77; }; }
2299
ac_exeext=$ac_cv_exeext
2301
# Check that the compiler produces executables we can run. If not, either
2302
# the compiler is broken, or we cross compile.
2303
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2304
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2305
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2306
# If not cross compiling, check that we can run a simple program.
2307
if test "$cross_compiling" != yes; then
2308
if { ac_try='./$ac_file'
2309
{ (case "(($ac_try" in
2310
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2311
*) ac_try_echo=$ac_try;;
2313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2314
(eval "$ac_try") 2>&5
2316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317
(exit $ac_status); }; }; then
2320
if test "$cross_compiling" = maybe; then
2323
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2324
If you meant to cross compile, use \`--host'.
2325
See \`config.log' for more details." >&5
2326
echo "$as_me: error: cannot run C compiled programs.
2327
If you meant to cross compile, use \`--host'.
2328
See \`config.log' for more details." >&2;}
2329
{ (exit 1); exit 1; }; }
737
if test -n "$CC"; then
738
echo "$ac_t""$CC" 1>&6
740
echo "$ac_t""no" 1>&6
745
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
748
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
749
echo "configure:750: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
752
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
753
ac_cpp='$CPP $CPPFLAGS'
754
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
755
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
756
cross_compiling=$ac_cv_prog_cc_cross
758
cat > conftest.$ac_ext << EOF
760
#line 761 "configure"
761
#include "confdefs.h"
765
if { (eval echo configure:766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
766
ac_cv_prog_cc_works=yes
767
# If we can't run a trivial program, we are probably using a cross compiler.
768
if (./conftest; exit) 2>/dev/null; then
769
ac_cv_prog_cc_cross=no
771
ac_cv_prog_cc_cross=yes
774
echo "configure: failed program was:" >&5
775
cat conftest.$ac_ext >&5
776
ac_cv_prog_cc_works=no
780
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
781
ac_cpp='$CPP $CPPFLAGS'
782
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
783
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
784
cross_compiling=$ac_cv_prog_cc_cross
786
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
787
if test $ac_cv_prog_cc_works = no; then
788
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
790
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
791
echo "configure:792: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
792
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
793
cross_compiling=$ac_cv_prog_cc_cross
795
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
796
echo "configure:797: checking whether we are using GNU C" >&5
797
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
798
echo $ac_n "(cached) $ac_c" 1>&6
800
cat > conftest.c <<EOF
2333
{ echo "$as_me:$LINENO: result: yes" >&5
2334
echo "${ECHO_T}yes" >&6; }
2336
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2337
ac_clean_files=$ac_clean_files_save
2338
# Check that the compiler produces executables we can run. If not, either
2339
# the compiler is broken, or we cross compile.
2340
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2341
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2342
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2343
echo "${ECHO_T}$cross_compiling" >&6; }
2345
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2346
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2347
if { (ac_try="$ac_link"
2349
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350
*) ac_try_echo=$ac_try;;
2352
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353
(eval "$ac_link") 2>&5
2355
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356
(exit $ac_status); }; then
2357
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2358
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2359
# work properly (i.e., refer to `conftest.exe'), while it won't with
2361
for ac_file in conftest.exe conftest conftest.*; do
2362
test -f "$ac_file" || continue
2364
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2365
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2371
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2372
See \`config.log' for more details." >&5
2373
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2374
See \`config.log' for more details." >&2;}
2375
{ (exit 1); exit 1; }; }
2378
rm -f conftest$ac_cv_exeext
2379
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2380
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2382
rm -f conftest.$ac_ext
2383
EXEEXT=$ac_cv_exeext
2385
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2386
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2387
if test "${ac_cv_objext+set}" = set; then
2388
echo $ECHO_N "(cached) $ECHO_C" >&6
2390
cat >conftest.$ac_ext <<_ACEOF
2393
cat confdefs.h >>conftest.$ac_ext
2394
cat >>conftest.$ac_ext <<_ACEOF
2395
/* end confdefs.h. */
2405
rm -f conftest.o conftest.obj
2406
if { (ac_try="$ac_compile"
2408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2409
*) ac_try_echo=$ac_try;;
2411
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2412
(eval "$ac_compile") 2>&5
2414
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415
(exit $ac_status); }; then
2416
for ac_file in conftest.o conftest.obj conftest.*; do
2417
test -f "$ac_file" || continue;
2419
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2420
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2425
echo "$as_me: failed program was:" >&5
2426
sed 's/^/| /' conftest.$ac_ext >&5
2428
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2429
See \`config.log' for more details." >&5
2430
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2431
See \`config.log' for more details." >&2;}
2432
{ (exit 1); exit 1; }; }
2435
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2437
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2438
echo "${ECHO_T}$ac_cv_objext" >&6; }
2439
OBJEXT=$ac_cv_objext
2441
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2442
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2443
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2444
echo $ECHO_N "(cached) $ECHO_C" >&6
2446
cat >conftest.$ac_ext <<_ACEOF
2449
cat confdefs.h >>conftest.$ac_ext
2450
cat >>conftest.$ac_ext <<_ACEOF
2451
/* end confdefs.h. */
805
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:806: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
812
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
814
if test $ac_cv_prog_gcc = yes; then
820
ac_test_CFLAGS="${CFLAGS+set}"
821
ac_save_CFLAGS="$CFLAGS"
823
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
824
echo "configure:825: checking whether ${CC-cc} accepts -g" >&5
825
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
826
echo $ac_n "(cached) $ac_c" 1>&6
828
echo 'void f(){}' > conftest.c
829
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
838
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
2464
rm -f conftest.$ac_objext
2465
if { (ac_try="$ac_compile"
2467
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468
*) ac_try_echo=$ac_try;;
2470
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2471
(eval "$ac_compile") 2>conftest.er1
2473
grep -v '^ *+' conftest.er1 >conftest.err
2475
cat conftest.err >&5
2476
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
(exit $ac_status); } && {
2478
test -z "$ac_c_werror_flag" ||
2479
test ! -s conftest.err
2480
} && test -s conftest.$ac_objext; then
2483
echo "$as_me: failed program was:" >&5
2484
sed 's/^/| /' conftest.$ac_ext >&5
2489
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2493
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2494
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2495
GCC=`test $ac_compiler_gnu = yes && echo yes`
2496
ac_test_CFLAGS=${CFLAGS+set}
2497
ac_save_CFLAGS=$CFLAGS
2498
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2499
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2500
if test "${ac_cv_prog_cc_g+set}" = set; then
2501
echo $ECHO_N "(cached) $ECHO_C" >&6
2503
ac_save_c_werror_flag=$ac_c_werror_flag
2504
ac_c_werror_flag=yes
2507
cat >conftest.$ac_ext <<_ACEOF
2510
cat confdefs.h >>conftest.$ac_ext
2511
cat >>conftest.$ac_ext <<_ACEOF
2512
/* end confdefs.h. */
2522
rm -f conftest.$ac_objext
2523
if { (ac_try="$ac_compile"
2525
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2526
*) ac_try_echo=$ac_try;;
2528
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2529
(eval "$ac_compile") 2>conftest.er1
2531
grep -v '^ *+' conftest.er1 >conftest.err
2533
cat conftest.err >&5
2534
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535
(exit $ac_status); } && {
2536
test -z "$ac_c_werror_flag" ||
2537
test ! -s conftest.err
2538
} && test -s conftest.$ac_objext; then
2541
echo "$as_me: failed program was:" >&5
2542
sed 's/^/| /' conftest.$ac_ext >&5
2545
cat >conftest.$ac_ext <<_ACEOF
2548
cat confdefs.h >>conftest.$ac_ext
2549
cat >>conftest.$ac_ext <<_ACEOF
2550
/* end confdefs.h. */
2560
rm -f conftest.$ac_objext
2561
if { (ac_try="$ac_compile"
2563
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564
*) ac_try_echo=$ac_try;;
2566
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2567
(eval "$ac_compile") 2>conftest.er1
2569
grep -v '^ *+' conftest.er1 >conftest.err
2571
cat conftest.err >&5
2572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
(exit $ac_status); } && {
2574
test -z "$ac_c_werror_flag" ||
2575
test ! -s conftest.err
2576
} && test -s conftest.$ac_objext; then
2579
echo "$as_me: failed program was:" >&5
2580
sed 's/^/| /' conftest.$ac_ext >&5
2582
ac_c_werror_flag=$ac_save_c_werror_flag
2584
cat >conftest.$ac_ext <<_ACEOF
2587
cat confdefs.h >>conftest.$ac_ext
2588
cat >>conftest.$ac_ext <<_ACEOF
2589
/* end confdefs.h. */
2599
rm -f conftest.$ac_objext
2600
if { (ac_try="$ac_compile"
2602
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603
*) ac_try_echo=$ac_try;;
2605
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606
(eval "$ac_compile") 2>conftest.er1
2608
grep -v '^ *+' conftest.er1 >conftest.err
2610
cat conftest.err >&5
2611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
(exit $ac_status); } && {
2613
test -z "$ac_c_werror_flag" ||
2614
test ! -s conftest.err
2615
} && test -s conftest.$ac_objext; then
2618
echo "$as_me: failed program was:" >&5
2619
sed 's/^/| /' conftest.$ac_ext >&5
2624
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2627
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2630
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2631
ac_c_werror_flag=$ac_save_c_werror_flag
2633
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2634
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
839
2635
if test "$ac_test_CFLAGS" = set; then
840
CFLAGS="$ac_save_CFLAGS"
2636
CFLAGS=$ac_save_CFLAGS
841
2637
elif test $ac_cv_prog_cc_g = yes; then
842
2638
if test "$GCC" = yes; then
2650
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2651
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2652
if test "${ac_cv_prog_cc_c89+set}" = set; then
2653
echo $ECHO_N "(cached) $ECHO_C" >&6
2655
ac_cv_prog_cc_c89=no
2657
cat >conftest.$ac_ext <<_ACEOF
2660
cat confdefs.h >>conftest.$ac_ext
2661
cat >>conftest.$ac_ext <<_ACEOF
2662
/* end confdefs.h. */
2665
#include <sys/types.h>
2666
#include <sys/stat.h>
2667
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2668
struct buf { int x; };
2669
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2670
static char *e (p, i)
2676
static char *f (char * (*g) (char **, int), char **p, ...)
2681
s = g (p, va_arg (v,int));
2686
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2687
function prototypes and stuff, but not '\xHH' hex character constants.
2688
These don't provoke an error unfortunately, instead are silently treated
2689
as 'x'. The following induces an error, until -std is added to get
2690
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2691
array size at least. It's necessary to write '\x00'==0 to get something
2692
that's true only with -std. */
2693
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2695
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2696
inside strings and character constants. */
2698
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2700
int test (int i, double x);
2701
struct s1 {int (*f) (int a);};
2702
struct s2 {int (*f) (double a);};
2703
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2709
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2714
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2715
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2717
CC="$ac_save_CC $ac_arg"
2718
rm -f conftest.$ac_objext
2719
if { (ac_try="$ac_compile"
2721
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722
*) ac_try_echo=$ac_try;;
2724
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2725
(eval "$ac_compile") 2>conftest.er1
2727
grep -v '^ *+' conftest.er1 >conftest.err
2729
cat conftest.err >&5
2730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
(exit $ac_status); } && {
2732
test -z "$ac_c_werror_flag" ||
2733
test ! -s conftest.err
2734
} && test -s conftest.$ac_objext; then
2735
ac_cv_prog_cc_c89=$ac_arg
2737
echo "$as_me: failed program was:" >&5
2738
sed 's/^/| /' conftest.$ac_ext >&5
2743
rm -f core conftest.err conftest.$ac_objext
2744
test "x$ac_cv_prog_cc_c89" != "xno" && break
2746
rm -f conftest.$ac_ext
2751
case "x$ac_cv_prog_cc_c89" in
2753
{ echo "$as_me:$LINENO: result: none needed" >&5
2754
echo "${ECHO_T}none needed" >&6; } ;;
2756
{ echo "$as_me:$LINENO: result: unsupported" >&5
2757
echo "${ECHO_T}unsupported" >&6; } ;;
2759
CC="$CC $ac_cv_prog_cc_c89"
2760
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2761
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2766
ac_cpp='$CPP $CPPFLAGS'
2767
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2768
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2769
ac_compiler_gnu=$ac_cv_c_compiler_gnu
855
2771
if test "x$GCC" = "xyes"; then
856
2772
CFLAGS="$CFLAGS -Wall"
858
# Extract the first word of "ranlib", so it can be a program name with args.
859
set dummy ranlib; ac_word=$2
860
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
861
echo "configure:862: checking for $ac_word" >&5
862
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
863
echo $ac_n "(cached) $ac_c" 1>&6
2774
if test -n "$ac_tool_prefix"; then
2775
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2776
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2777
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2778
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2779
if test "${ac_cv_prog_RANLIB+set}" = set; then
2780
echo $ECHO_N "(cached) $ECHO_C" >&6
865
2782
if test -n "$RANLIB"; then
866
2783
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
868
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
870
for ac_dir in $ac_dummy; do
871
test -z "$ac_dir" && ac_dir=.
872
if test -f $ac_dir/$ac_word; then
873
ac_cv_prog_RANLIB="ranlib"
878
test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
881
RANLIB="$ac_cv_prog_RANLIB"
2785
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789
test -z "$as_dir" && as_dir=.
2790
for ac_exec_ext in '' $ac_executable_extensions; do
2791
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2792
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2793
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2802
RANLIB=$ac_cv_prog_RANLIB
882
2803
if test -n "$RANLIB"; then
883
echo "$ac_t""$RANLIB" 1>&6
885
echo "$ac_t""no" 1>&6
888
if test $host != $build; then
889
ac_tool_prefix=${host_alias}-
894
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
2804
{ echo "$as_me:$LINENO: result: $RANLIB" >&5
2805
echo "${ECHO_T}$RANLIB" >&6; }
2807
{ echo "$as_me:$LINENO: result: no" >&5
2808
echo "${ECHO_T}no" >&6; }
2813
if test -z "$ac_cv_prog_RANLIB"; then
2814
ac_ct_RANLIB=$RANLIB
2815
# Extract the first word of "ranlib", so it can be a program name with args.
2816
set dummy ranlib; ac_word=$2
2817
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2818
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2819
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2820
echo $ECHO_N "(cached) $ECHO_C" >&6
2822
if test -n "$ac_ct_RANLIB"; then
2823
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2825
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2829
test -z "$as_dir" && as_dir=.
2830
for ac_exec_ext in '' $ac_executable_extensions; do
2831
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2832
ac_cv_prog_ac_ct_RANLIB="ranlib"
2833
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2843
if test -n "$ac_ct_RANLIB"; then
2844
{ echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2845
echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
2847
{ echo "$as_me:$LINENO: result: no" >&5
2848
echo "${ECHO_T}no" >&6; }
2851
if test "x$ac_ct_RANLIB" = x; then
2854
case $cross_compiling:$ac_tool_warned in
2856
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2857
whose name does not start with the host triplet. If you think this
2858
configuration is useful to you, please write to autoconf@gnu.org." >&5
2859
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2860
whose name does not start with the host triplet. If you think this
2861
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2862
ac_tool_warned=yes ;;
2864
RANLIB=$ac_ct_RANLIB
2867
RANLIB="$ac_cv_prog_RANLIB"
2870
if test -n "$ac_tool_prefix"; then
2871
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
895
2872
set dummy ${ac_tool_prefix}ar; ac_word=$2
896
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
897
echo "configure:898: checking for $ac_word" >&5
898
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
899
echo $ac_n "(cached) $ac_c" 1>&6
2873
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2874
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2875
if test "${ac_cv_prog_AR+set}" = set; then
2876
echo $ECHO_N "(cached) $ECHO_C" >&6
901
2878
if test -n "$AR"; then
902
2879
ac_cv_prog_AR="$AR" # Let the user override the test.
904
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
906
for ac_dir in $ac_dummy; do
907
test -z "$ac_dir" && ac_dir=.
908
if test -f $ac_dir/$ac_word; then
909
ac_cv_prog_AR="${ac_tool_prefix}ar"
914
test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
2881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2885
test -z "$as_dir" && as_dir=.
2886
for ac_exec_ext in '' $ac_executable_extensions; do
2887
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2888
ac_cv_prog_AR="${ac_tool_prefix}ar"
2889
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
918
2899
if test -n "$AR"; then
919
echo "$ac_t""$AR" 1>&6
921
echo "$ac_t""no" 1>&6
927
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
928
echo "configure:929: checking whether byte ordering is bigendian" >&5
929
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
930
echo $ac_n "(cached) $ac_c" 1>&6
932
ac_cv_c_bigendian=unknown
933
# See if sys/param.h defines the BYTE_ORDER macro.
934
cat > conftest.$ac_ext <<EOF
935
#line 936 "configure"
936
#include "confdefs.h"
2900
{ echo "$as_me:$LINENO: result: $AR" >&5
2901
echo "${ECHO_T}$AR" >&6; }
2903
{ echo "$as_me:$LINENO: result: no" >&5
2904
echo "${ECHO_T}no" >&6; }
2909
if test -z "$ac_cv_prog_AR"; then
2911
# Extract the first word of "ar", so it can be a program name with args.
2912
set dummy ar; ac_word=$2
2913
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2914
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2915
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
2916
echo $ECHO_N "(cached) $ECHO_C" >&6
2918
if test -n "$ac_ct_AR"; then
2919
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
2921
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2925
test -z "$as_dir" && as_dir=.
2926
for ac_exec_ext in '' $ac_executable_extensions; do
2927
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2928
ac_cv_prog_ac_ct_AR="ar"
2929
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2938
ac_ct_AR=$ac_cv_prog_ac_ct_AR
2939
if test -n "$ac_ct_AR"; then
2940
{ echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
2941
echo "${ECHO_T}$ac_ct_AR" >&6; }
2943
{ echo "$as_me:$LINENO: result: no" >&5
2944
echo "${ECHO_T}no" >&6; }
2947
if test "x$ac_ct_AR" = x; then
2950
case $cross_compiling:$ac_tool_warned in
2952
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2953
whose name does not start with the host triplet. If you think this
2954
configuration is useful to you, please write to autoconf@gnu.org." >&5
2955
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2956
whose name does not start with the host triplet. If you think this
2957
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2958
ac_tool_warned=yes ;;
2969
ac_cpp='$CPP $CPPFLAGS'
2970
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2971
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2972
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2973
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2974
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2975
# On Suns, sometimes $CPP names a directory.
2976
if test -n "$CPP" && test -d "$CPP"; then
2979
if test -z "$CPP"; then
2980
if test "${ac_cv_prog_CPP+set}" = set; then
2981
echo $ECHO_N "(cached) $ECHO_C" >&6
2983
# Double quotes because CPP needs to be expanded
2984
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2987
for ac_c_preproc_warn_flag in '' yes
2989
# Use a header file that comes with gcc, so configuring glibc
2990
# with a fresh cross-compiler works.
2991
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2992
# <limits.h> exists even on freestanding compilers.
2993
# On the NeXT, cc -E runs the code through the compiler's parser,
2994
# not just through cpp. "Syntax error" is here to catch this case.
2995
cat >conftest.$ac_ext <<_ACEOF
2998
cat confdefs.h >>conftest.$ac_ext
2999
cat >>conftest.$ac_ext <<_ACEOF
3000
/* end confdefs.h. */
3002
# include <limits.h>
3004
# include <assert.h>
3008
if { (ac_try="$ac_cpp conftest.$ac_ext"
3010
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3011
*) ac_try_echo=$ac_try;;
3013
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3014
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3016
grep -v '^ *+' conftest.er1 >conftest.err
3018
cat conftest.err >&5
3019
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3020
(exit $ac_status); } >/dev/null && {
3021
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3022
test ! -s conftest.err
3026
echo "$as_me: failed program was:" >&5
3027
sed 's/^/| /' conftest.$ac_ext >&5
3029
# Broken: fails on valid input.
3033
rm -f conftest.err conftest.$ac_ext
3035
# OK, works on sane cases. Now check whether nonexistent headers
3036
# can be detected and how.
3037
cat >conftest.$ac_ext <<_ACEOF
3040
cat confdefs.h >>conftest.$ac_ext
3041
cat >>conftest.$ac_ext <<_ACEOF
3042
/* end confdefs.h. */
3043
#include <ac_nonexistent.h>
3045
if { (ac_try="$ac_cpp conftest.$ac_ext"
3047
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048
*) ac_try_echo=$ac_try;;
3050
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3053
grep -v '^ *+' conftest.er1 >conftest.err
3055
cat conftest.err >&5
3056
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057
(exit $ac_status); } >/dev/null && {
3058
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3059
test ! -s conftest.err
3061
# Broken: success on invalid input.
3064
echo "$as_me: failed program was:" >&5
3065
sed 's/^/| /' conftest.$ac_ext >&5
3067
# Passes both tests.
3072
rm -f conftest.err conftest.$ac_ext
3075
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3076
rm -f conftest.err conftest.$ac_ext
3077
if $ac_preproc_ok; then
3089
{ echo "$as_me:$LINENO: result: $CPP" >&5
3090
echo "${ECHO_T}$CPP" >&6; }
3092
for ac_c_preproc_warn_flag in '' yes
3094
# Use a header file that comes with gcc, so configuring glibc
3095
# with a fresh cross-compiler works.
3096
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3097
# <limits.h> exists even on freestanding compilers.
3098
# On the NeXT, cc -E runs the code through the compiler's parser,
3099
# not just through cpp. "Syntax error" is here to catch this case.
3100
cat >conftest.$ac_ext <<_ACEOF
3103
cat confdefs.h >>conftest.$ac_ext
3104
cat >>conftest.$ac_ext <<_ACEOF
3105
/* end confdefs.h. */
3107
# include <limits.h>
3109
# include <assert.h>
3113
if { (ac_try="$ac_cpp conftest.$ac_ext"
3115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3116
*) ac_try_echo=$ac_try;;
3118
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3121
grep -v '^ *+' conftest.er1 >conftest.err
3123
cat conftest.err >&5
3124
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125
(exit $ac_status); } >/dev/null && {
3126
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3127
test ! -s conftest.err
3131
echo "$as_me: failed program was:" >&5
3132
sed 's/^/| /' conftest.$ac_ext >&5
3134
# Broken: fails on valid input.
3138
rm -f conftest.err conftest.$ac_ext
3140
# OK, works on sane cases. Now check whether nonexistent headers
3141
# can be detected and how.
3142
cat >conftest.$ac_ext <<_ACEOF
3145
cat confdefs.h >>conftest.$ac_ext
3146
cat >>conftest.$ac_ext <<_ACEOF
3147
/* end confdefs.h. */
3148
#include <ac_nonexistent.h>
3150
if { (ac_try="$ac_cpp conftest.$ac_ext"
3152
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153
*) ac_try_echo=$ac_try;;
3155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3158
grep -v '^ *+' conftest.er1 >conftest.err
3160
cat conftest.err >&5
3161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162
(exit $ac_status); } >/dev/null && {
3163
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3164
test ! -s conftest.err
3166
# Broken: success on invalid input.
3169
echo "$as_me: failed program was:" >&5
3170
sed 's/^/| /' conftest.$ac_ext >&5
3172
# Passes both tests.
3177
rm -f conftest.err conftest.$ac_ext
3180
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3181
rm -f conftest.err conftest.$ac_ext
3182
if $ac_preproc_ok; then
3185
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3186
See \`config.log' for more details." >&5
3187
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3188
See \`config.log' for more details." >&2;}
3189
{ (exit 1); exit 1; }; }
3193
ac_cpp='$CPP $CPPFLAGS'
3194
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3200
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3201
if test "${ac_cv_path_GREP+set}" = set; then
3202
echo $ECHO_N "(cached) $ECHO_C" >&6
3204
# Extract the first word of "grep ggrep" to use in msg output
3205
if test -z "$GREP"; then
3206
set dummy grep ggrep; ac_prog_name=$2
3207
if test "${ac_cv_path_GREP+set}" = set; then
3208
echo $ECHO_N "(cached) $ECHO_C" >&6
3210
ac_path_GREP_found=false
3211
# Loop through the user's path and test for each of PROGNAME-LIST
3212
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3213
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3216
test -z "$as_dir" && as_dir=.
3217
for ac_prog in grep ggrep; do
3218
for ac_exec_ext in '' $ac_executable_extensions; do
3219
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3220
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3221
# Check for GNU ac_path_GREP and select it if it is found.
3222
# Check for GNU $ac_path_GREP
3223
case `"$ac_path_GREP" --version 2>&1` in
3225
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3228
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3231
cat "conftest.in" "conftest.in" >"conftest.tmp"
3232
mv "conftest.tmp" "conftest.in"
3233
cp "conftest.in" "conftest.nl"
3234
echo 'GREP' >> "conftest.nl"
3235
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3236
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3237
ac_count=`expr $ac_count + 1`
3238
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3239
# Best one so far, save it but keep looking for a better one
3240
ac_cv_path_GREP="$ac_path_GREP"
3241
ac_path_GREP_max=$ac_count
3243
# 10*(2^10) chars as input seems more than enough
3244
test $ac_count -gt 10 && break
3246
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3250
$ac_path_GREP_found && break 3
3260
GREP="$ac_cv_path_GREP"
3261
if test -z "$GREP"; then
3262
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3263
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3264
{ (exit 1); exit 1; }; }
3268
ac_cv_path_GREP=$GREP
3273
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3274
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3275
GREP="$ac_cv_path_GREP"
3278
{ echo "$as_me:$LINENO: checking for egrep" >&5
3279
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3280
if test "${ac_cv_path_EGREP+set}" = set; then
3281
echo $ECHO_N "(cached) $ECHO_C" >&6
3283
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3284
then ac_cv_path_EGREP="$GREP -E"
3286
# Extract the first word of "egrep" to use in msg output
3287
if test -z "$EGREP"; then
3288
set dummy egrep; ac_prog_name=$2
3289
if test "${ac_cv_path_EGREP+set}" = set; then
3290
echo $ECHO_N "(cached) $ECHO_C" >&6
3292
ac_path_EGREP_found=false
3293
# Loop through the user's path and test for each of PROGNAME-LIST
3294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3298
test -z "$as_dir" && as_dir=.
3299
for ac_prog in egrep; do
3300
for ac_exec_ext in '' $ac_executable_extensions; do
3301
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3302
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3303
# Check for GNU ac_path_EGREP and select it if it is found.
3304
# Check for GNU $ac_path_EGREP
3305
case `"$ac_path_EGREP" --version 2>&1` in
3307
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3310
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3313
cat "conftest.in" "conftest.in" >"conftest.tmp"
3314
mv "conftest.tmp" "conftest.in"
3315
cp "conftest.in" "conftest.nl"
3316
echo 'EGREP' >> "conftest.nl"
3317
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3318
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3319
ac_count=`expr $ac_count + 1`
3320
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3321
# Best one so far, save it but keep looking for a better one
3322
ac_cv_path_EGREP="$ac_path_EGREP"
3323
ac_path_EGREP_max=$ac_count
3325
# 10*(2^10) chars as input seems more than enough
3326
test $ac_count -gt 10 && break
3328
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3332
$ac_path_EGREP_found && break 3
3342
EGREP="$ac_cv_path_EGREP"
3343
if test -z "$EGREP"; then
3344
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3345
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3346
{ (exit 1); exit 1; }; }
3350
ac_cv_path_EGREP=$EGREP
3356
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3357
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3358
EGREP="$ac_cv_path_EGREP"
3361
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3362
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3363
if test "${ac_cv_header_stdc+set}" = set; then
3364
echo $ECHO_N "(cached) $ECHO_C" >&6
3366
cat >conftest.$ac_ext <<_ACEOF
3369
cat confdefs.h >>conftest.$ac_ext
3370
cat >>conftest.$ac_ext <<_ACEOF
3371
/* end confdefs.h. */
3385
rm -f conftest.$ac_objext
3386
if { (ac_try="$ac_compile"
3388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389
*) ac_try_echo=$ac_try;;
3391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392
(eval "$ac_compile") 2>conftest.er1
3394
grep -v '^ *+' conftest.er1 >conftest.err
3396
cat conftest.err >&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); } && {
3399
test -z "$ac_c_werror_flag" ||
3400
test ! -s conftest.err
3401
} && test -s conftest.$ac_objext; then
3402
ac_cv_header_stdc=yes
3404
echo "$as_me: failed program was:" >&5
3405
sed 's/^/| /' conftest.$ac_ext >&5
3407
ac_cv_header_stdc=no
3410
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412
if test $ac_cv_header_stdc = yes; then
3413
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3414
cat >conftest.$ac_ext <<_ACEOF
3417
cat confdefs.h >>conftest.$ac_ext
3418
cat >>conftest.$ac_ext <<_ACEOF
3419
/* end confdefs.h. */
3423
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3424
$EGREP "memchr" >/dev/null 2>&1; then
3427
ac_cv_header_stdc=no
3433
if test $ac_cv_header_stdc = yes; then
3434
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3435
cat >conftest.$ac_ext <<_ACEOF
3438
cat confdefs.h >>conftest.$ac_ext
3439
cat >>conftest.$ac_ext <<_ACEOF
3440
/* end confdefs.h. */
3444
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3445
$EGREP "free" >/dev/null 2>&1; then
3448
ac_cv_header_stdc=no
3454
if test $ac_cv_header_stdc = yes; then
3455
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3456
if test "$cross_compiling" = yes; then
3459
cat >conftest.$ac_ext <<_ACEOF
3462
cat confdefs.h >>conftest.$ac_ext
3463
cat >>conftest.$ac_ext <<_ACEOF
3464
/* end confdefs.h. */
3467
#if ((' ' & 0x0FF) == 0x020)
3468
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3469
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3471
# define ISLOWER(c) \
3472
(('a' <= (c) && (c) <= 'i') \
3473
|| ('j' <= (c) && (c) <= 'r') \
3474
|| ('s' <= (c) && (c) <= 'z'))
3475
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3478
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3483
for (i = 0; i < 256; i++)
3484
if (XOR (islower (i), ISLOWER (i))
3485
|| toupper (i) != TOUPPER (i))
3490
rm -f conftest$ac_exeext
3491
if { (ac_try="$ac_link"
3493
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494
*) ac_try_echo=$ac_try;;
3496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3497
(eval "$ac_link") 2>&5
3499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3501
{ (case "(($ac_try" in
3502
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3503
*) ac_try_echo=$ac_try;;
3505
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3506
(eval "$ac_try") 2>&5
3508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509
(exit $ac_status); }; }; then
3512
echo "$as_me: program exited with status $ac_status" >&5
3513
echo "$as_me: failed program was:" >&5
3514
sed 's/^/| /' conftest.$ac_ext >&5
3517
ac_cv_header_stdc=no
3519
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3525
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3526
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3527
if test $ac_cv_header_stdc = yes; then
3529
cat >>confdefs.h <<\_ACEOF
3530
#define STDC_HEADERS 1
3535
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3545
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3546
inttypes.h stdint.h unistd.h
3548
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3549
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3550
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3551
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3552
echo $ECHO_N "(cached) $ECHO_C" >&6
3554
cat >conftest.$ac_ext <<_ACEOF
3557
cat confdefs.h >>conftest.$ac_ext
3558
cat >>conftest.$ac_ext <<_ACEOF
3559
/* end confdefs.h. */
3560
$ac_includes_default
3562
#include <$ac_header>
3564
rm -f conftest.$ac_objext
3565
if { (ac_try="$ac_compile"
3567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3568
*) ac_try_echo=$ac_try;;
3570
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3571
(eval "$ac_compile") 2>conftest.er1
3573
grep -v '^ *+' conftest.er1 >conftest.err
3575
cat conftest.err >&5
3576
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577
(exit $ac_status); } && {
3578
test -z "$ac_c_werror_flag" ||
3579
test ! -s conftest.err
3580
} && test -s conftest.$ac_objext; then
3581
eval "$as_ac_Header=yes"
3583
echo "$as_me: failed program was:" >&5
3584
sed 's/^/| /' conftest.$ac_ext >&5
3586
eval "$as_ac_Header=no"
3589
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3591
ac_res=`eval echo '${'$as_ac_Header'}'`
3592
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3593
echo "${ECHO_T}$ac_res" >&6; }
3594
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3595
cat >>confdefs.h <<_ACEOF
3596
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3604
{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3605
echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
3606
if test "${ac_cv_c_bigendian+set}" = set; then
3607
echo $ECHO_N "(cached) $ECHO_C" >&6
3609
# See if sys/param.h defines the BYTE_ORDER macro.
3610
cat >conftest.$ac_ext <<_ACEOF
3613
cat confdefs.h >>conftest.$ac_ext
3614
cat >>conftest.$ac_ext <<_ACEOF
3615
/* end confdefs.h. */
937
3616
#include <sys/types.h>
938
3617
#include <sys/param.h>
941
#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3622
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
3623
&& BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
942
3624
bogus endian macros
946
if { (eval echo configure:947: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3631
rm -f conftest.$ac_objext
3632
if { (ac_try="$ac_compile"
3634
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3635
*) ac_try_echo=$ac_try;;
3637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3638
(eval "$ac_compile") 2>conftest.er1
3640
grep -v '^ *+' conftest.er1 >conftest.err
3642
cat conftest.err >&5
3643
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644
(exit $ac_status); } && {
3645
test -z "$ac_c_werror_flag" ||
3646
test ! -s conftest.err
3647
} && test -s conftest.$ac_objext; then
948
3648
# It does; now see whether it defined to BIG_ENDIAN or not.
949
cat > conftest.$ac_ext <<EOF
950
#line 951 "configure"
951
#include "confdefs.h"
3649
cat >conftest.$ac_ext <<_ACEOF
3652
cat confdefs.h >>conftest.$ac_ext
3653
cat >>conftest.$ac_ext <<_ACEOF
3654
/* end confdefs.h. */
952
3655
#include <sys/types.h>
953
3656
#include <sys/param.h>
956
3661
#if BYTE_ORDER != BIG_ENDIAN
961
if { (eval echo configure:962: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3669
rm -f conftest.$ac_objext
3670
if { (ac_try="$ac_compile"
3672
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673
*) ac_try_echo=$ac_try;;
3675
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3676
(eval "$ac_compile") 2>conftest.er1
3678
grep -v '^ *+' conftest.er1 >conftest.err
3680
cat conftest.err >&5
3681
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682
(exit $ac_status); } && {
3683
test -z "$ac_c_werror_flag" ||
3684
test ! -s conftest.err
3685
} && test -s conftest.$ac_objext; then
963
3686
ac_cv_c_bigendian=yes
965
echo "configure: failed program was:" >&5
966
cat conftest.$ac_ext >&5
3688
echo "$as_me: failed program was:" >&5
3689
sed 's/^/| /' conftest.$ac_ext >&5
3691
ac_cv_c_bigendian=no
3694
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
972
echo "configure: failed program was:" >&5
973
cat conftest.$ac_ext >&5
976
if test $ac_cv_c_bigendian = unknown; then
3696
echo "$as_me: failed program was:" >&5
3697
sed 's/^/| /' conftest.$ac_ext >&5
3699
# It does not; compile a test program.
977
3700
if test "$cross_compiling" = yes; then
978
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
980
cat > conftest.$ac_ext <<EOF
981
#line 982 "configure"
982
#include "confdefs.h"
3701
# try to guess the endianness by grepping values into an object file
3702
ac_cv_c_bigendian=unknown
3703
cat >conftest.$ac_ext <<_ACEOF
3706
cat confdefs.h >>conftest.$ac_ext
3707
cat >>conftest.$ac_ext <<_ACEOF
3708
/* end confdefs.h. */
3709
short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3710
short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3711
void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3712
short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3713
short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3714
void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3718
_ascii (); _ebcdic ();
3723
rm -f conftest.$ac_objext
3724
if { (ac_try="$ac_compile"
3726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727
*) ac_try_echo=$ac_try;;
3729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730
(eval "$ac_compile") 2>conftest.er1
3732
grep -v '^ *+' conftest.er1 >conftest.err
3734
cat conftest.err >&5
3735
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736
(exit $ac_status); } && {
3737
test -z "$ac_c_werror_flag" ||
3738
test ! -s conftest.err
3739
} && test -s conftest.$ac_objext; then
3740
if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3741
ac_cv_c_bigendian=yes
3743
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3744
if test "$ac_cv_c_bigendian" = unknown; then
3745
ac_cv_c_bigendian=no
3747
# finding both strings is unlikely to happen, but who knows?
3748
ac_cv_c_bigendian=unknown
3752
echo "$as_me: failed program was:" >&5
3753
sed 's/^/| /' conftest.$ac_ext >&5
3758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760
cat >conftest.$ac_ext <<_ACEOF
3763
cat confdefs.h >>conftest.$ac_ext
3764
cat >>conftest.$ac_ext <<_ACEOF
3765
/* end confdefs.h. */
3766
$ac_includes_default
984
3771
/* Are we little or big endian? From Harbison&Steele. */
988
char c[sizeof (long)];
3775
char c[sizeof (long int)];
991
exit (u.c[sizeof (long) - 1] == 1);
3778
return u.c[sizeof (long int) - 1] == 1;
994
if { (eval echo configure:995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3784
rm -f conftest$ac_exeext
3785
if { (ac_try="$ac_link"
3787
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3788
*) ac_try_echo=$ac_try;;
3790
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3791
(eval "$ac_link") 2>&5
3793
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3795
{ (case "(($ac_try" in
3796
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3797
*) ac_try_echo=$ac_try;;
3799
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3800
(eval "$ac_try") 2>&5
3802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803
(exit $ac_status); }; }; then
996
3804
ac_cv_c_bigendian=no
998
echo "configure: failed program was:" >&5
999
cat conftest.$ac_ext >&5
1001
ac_cv_c_bigendian=yes
1009
echo "$ac_t""$ac_cv_c_bigendian" 1>&6
1010
if test $ac_cv_c_bigendian = yes; then
1011
cat >> confdefs.h <<\EOF
3806
echo "$as_me: program exited with status $ac_status" >&5
3807
echo "$as_me: failed program was:" >&5
3808
sed 's/^/| /' conftest.$ac_ext >&5
3811
ac_cv_c_bigendian=yes
3813
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3819
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3821
{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3822
echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
3823
case $ac_cv_c_bigendian in
3826
cat >>confdefs.h <<\_ACEOF
1012
3827
#define WORDS_BIGENDIAN 1
1018
echo $ac_n "checking for tputs in -ltermcap""... $ac_c" 1>&6
1019
echo "configure:1020: checking for tputs in -ltermcap" >&5
1020
ac_lib_var=`echo termcap'_'tputs | sed 'y%./+-%__p_%'`
1021
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1022
echo $ac_n "(cached) $ac_c" 1>&6
1024
ac_save_LIBS="$LIBS"
1025
LIBS="-ltermcap $LIBS"
1026
cat > conftest.$ac_ext <<EOF
1027
#line 1028 "configure"
1028
#include "confdefs.h"
1029
/* Override any gcc2 internal prototype to avoid an error. */
1030
/* We use char because int might match the return type of a gcc2
1031
builtin and then its argument prototype would still apply. */
1038
if { (eval echo configure:1039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1040
eval "ac_cv_lib_$ac_lib_var=yes"
1042
echo "configure: failed program was:" >&5
1043
cat conftest.$ac_ext >&5
1045
eval "ac_cv_lib_$ac_lib_var=no"
1048
LIBS="$ac_save_LIBS"
1051
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1052
echo "$ac_t""yes" 1>&6
1053
TERMCAPLIB=-ltermcap
1055
echo "$ac_t""no" 1>&6
1056
TERMCAPLIB=-lncurses
1059
if test "$TERMCAPLIB" != "-ltermcap"; then
1060
echo $ac_n "checking for tputs in -lncurses""... $ac_c" 1>&6
1061
echo "configure:1062: checking for tputs in -lncurses" >&5
1062
ac_lib_var=`echo ncurses'_'tputs | sed 'y%./+-%__p_%'`
1063
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1064
echo $ac_n "(cached) $ac_c" 1>&6
1066
ac_save_LIBS="$LIBS"
3833
{ { echo "$as_me:$LINENO: error: unknown endianness
3834
presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3835
echo "$as_me: error: unknown endianness
3836
presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3837
{ (exit 1); exit 1; }; } ;;
3841
{ echo "$as_me:$LINENO: checking for tputs in -lncurses" >&5
3842
echo $ECHO_N "checking for tputs in -lncurses... $ECHO_C" >&6; }
3843
if test "${ac_cv_lib_ncurses_tputs+set}" = set; then
3844
echo $ECHO_N "(cached) $ECHO_C" >&6
3846
ac_check_lib_save_LIBS=$LIBS
1067
3847
LIBS="-lncurses $LIBS"
1068
cat > conftest.$ac_ext <<EOF
1069
#line 1070 "configure"
1070
#include "confdefs.h"
1071
/* Override any gcc2 internal prototype to avoid an error. */
1072
/* We use char because int might match the return type of a gcc2
1073
builtin and then its argument prototype would still apply. */
3848
cat >conftest.$ac_ext <<_ACEOF
3851
cat confdefs.h >>conftest.$ac_ext
3852
cat >>conftest.$ac_ext <<_ACEOF
3853
/* end confdefs.h. */
1080
if { (eval echo configure:1081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1082
eval "ac_cv_lib_$ac_lib_var=yes"
3855
/* Override any GCC internal prototype to avoid an error.
3856
Use char because int might match the return type of a GCC
3857
builtin and then its argument prototype would still apply. */
3870
rm -f conftest.$ac_objext conftest$ac_exeext
3871
if { (ac_try="$ac_link"
3873
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874
*) ac_try_echo=$ac_try;;
3876
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877
(eval "$ac_link") 2>conftest.er1
3879
grep -v '^ *+' conftest.er1 >conftest.err
3881
cat conftest.err >&5
3882
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883
(exit $ac_status); } && {
3884
test -z "$ac_c_werror_flag" ||
3885
test ! -s conftest.err
3886
} && test -s conftest$ac_exeext &&
3887
$as_test_x conftest$ac_exeext; then
3888
ac_cv_lib_ncurses_tputs=yes
1084
echo "configure: failed program was:" >&5
1085
cat conftest.$ac_ext >&5
1087
eval "ac_cv_lib_$ac_lib_var=no"
1090
LIBS="$ac_save_LIBS"
1093
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1094
echo "$ac_t""yes" 1>&6
3890
echo "$as_me: failed program was:" >&5
3891
sed 's/^/| /' conftest.$ac_ext >&5
3893
ac_cv_lib_ncurses_tputs=no
3896
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3897
conftest$ac_exeext conftest.$ac_ext
3898
LIBS=$ac_check_lib_save_LIBS
3900
{ echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_tputs" >&5
3901
echo "${ECHO_T}$ac_cv_lib_ncurses_tputs" >&6; }
3902
if test $ac_cv_lib_ncurses_tputs = yes; then
1095
3903
TERMCAPLIB=-lncurses
1097
echo "$ac_t""no" 1>&6
1104
3910
COMPILERTYPE=gcc
1105
cat > conftest.$ac_ext <<EOF
1106
#line 1107 "configure"
1107
#include "confdefs.h"
3911
cat >conftest.$ac_ext <<_ACEOF
3914
cat confdefs.h >>conftest.$ac_ext
3915
cat >>conftest.$ac_ext <<_ACEOF
3916
/* end confdefs.h. */
1108
3917
#include <stdio.h>
1111
3922
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
1116
if { (eval echo configure:1117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3929
rm -f conftest.$ac_objext
3930
if { (ac_try="$ac_compile"
3932
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3933
*) ac_try_echo=$ac_try;;
3935
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3936
(eval "$ac_compile") 2>conftest.er1
3938
grep -v '^ *+' conftest.er1 >conftest.err
3940
cat conftest.err >&5
3941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3942
(exit $ac_status); } && {
3943
test -z "$ac_c_werror_flag" ||
3944
test ! -s conftest.err
3945
} && test -s conftest.$ac_objext; then
1118
3946
COMPILERTYPE=gcc295
1120
echo "configure: failed program was:" >&5
1121
cat conftest.$ac_ext >&5
3948
echo "$as_me: failed program was:" >&5
3949
sed 's/^/| /' conftest.$ac_ext >&5
1124
cat > conftest.$ac_ext <<EOF
1125
#line 1126 "configure"
1126
#include "confdefs.h"
3954
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3955
cat >conftest.$ac_ext <<_ACEOF
3958
cat confdefs.h >>conftest.$ac_ext
3959
cat >>conftest.$ac_ext <<_ACEOF
3960
/* end confdefs.h. */
1127
3961
#include <stdio.h>
1135
if { (eval echo configure:1136: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3973
rm -f conftest.$ac_objext
3974
if { (ac_try="$ac_compile"
3976
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3977
*) ac_try_echo=$ac_try;;
3979
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3980
(eval "$ac_compile") 2>conftest.er1
3982
grep -v '^ *+' conftest.er1 >conftest.err
3984
cat conftest.err >&5
3985
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986
(exit $ac_status); } && {
3987
test -z "$ac_c_werror_flag" ||
3988
test ! -s conftest.err
3989
} && test -s conftest.$ac_objext; then
1137
3990
COMPILERTYPE=gcc32
1139
echo "configure: failed program was:" >&5
1140
cat conftest.$ac_ext >&5
3992
echo "$as_me: failed program was:" >&5
3993
sed 's/^/| /' conftest.$ac_ext >&5
1143
cat > conftest.$ac_ext <<EOF
1144
#line 1145 "configure"
1145
#include "confdefs.h"
3998
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999
cat >conftest.$ac_ext <<_ACEOF
4002
cat confdefs.h >>conftest.$ac_ext
4003
cat >>conftest.$ac_ext <<_ACEOF
4004
/* end confdefs.h. */
1146
4005
#include <stdio.h>
1149
4010
#if __GNUC__ == 2 && __GNUC_MINOR__ == 96
1154
if { (eval echo configure:1155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4017
rm -f conftest.$ac_objext
4018
if { (ac_try="$ac_compile"
4020
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021
*) ac_try_echo=$ac_try;;
4023
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4024
(eval "$ac_compile") 2>conftest.er1
4026
grep -v '^ *+' conftest.er1 >conftest.err
4028
cat conftest.err >&5
4029
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030
(exit $ac_status); } && {
4031
test -z "$ac_c_werror_flag" ||
4032
test ! -s conftest.err
4033
} && test -s conftest.$ac_objext; then
1156
4034
COMPILERTYPE=gcc296
1158
echo "configure: failed program was:" >&5
1159
cat conftest.$ac_ext >&5
4036
echo "$as_me: failed program was:" >&5
4037
sed 's/^/| /' conftest.$ac_ext >&5
1162
cat > conftest.$ac_ext <<EOF
1163
#line 1164 "configure"
1164
#include "confdefs.h"
4042
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4043
cat >conftest.$ac_ext <<_ACEOF
4046
cat confdefs.h >>conftest.$ac_ext
4047
cat >>conftest.$ac_ext <<_ACEOF
4048
/* end confdefs.h. */
1165
4049
#include <stdio.h>
1168
4054
#if __GNUC__ == 2 && __GNUC_MINOR__ == 91
1173
if { (eval echo configure:1174: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4061
rm -f conftest.$ac_objext
4062
if { (ac_try="$ac_compile"
4064
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065
*) ac_try_echo=$ac_try;;
4067
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4068
(eval "$ac_compile") 2>conftest.er1
4070
grep -v '^ *+' conftest.er1 >conftest.err
4072
cat conftest.err >&5
4073
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074
(exit $ac_status); } && {
4075
test -z "$ac_c_werror_flag" ||
4076
test ! -s conftest.err
4077
} && test -s conftest.$ac_objext; then
1175
4078
COMPILERTYPE=egcs
1177
echo "configure: failed program was:" >&5
1178
cat conftest.$ac_ext >&5
4080
echo "$as_me: failed program was:" >&5
4081
sed 's/^/| /' conftest.$ac_ext >&5
1181
cat > conftest.$ac_ext <<EOF
1182
#line 1183 "configure"
1183
#include "confdefs.h"
4086
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4087
cat >conftest.$ac_ext <<_ACEOF
4090
cat confdefs.h >>conftest.$ac_ext
4091
cat >>conftest.$ac_ext <<_ACEOF
4092
/* end confdefs.h. */
1184
4093
#include <stdio.h>
1187
4098
#if __GNUC__ == 2 && __GNUC_MINOR__ == 8
1192
if { (eval echo configure:1193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4105
rm -f conftest.$ac_objext
4106
if { (ac_try="$ac_compile"
4108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109
*) ac_try_echo=$ac_try;;
4111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112
(eval "$ac_compile") 2>conftest.er1
4114
grep -v '^ *+' conftest.er1 >conftest.err
4116
cat conftest.err >&5
4117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118
(exit $ac_status); } && {
4119
test -z "$ac_c_werror_flag" ||
4120
test ! -s conftest.err
4121
} && test -s conftest.$ac_objext; then
1194
4122
COMPILERTYPE=gcc28
1196
echo "configure: failed program was:" >&5
1197
cat conftest.$ac_ext >&5
1203
cat > confcache <<\EOF
4124
echo "$as_me: failed program was:" >&5
4125
sed 's/^/| /' conftest.$ac_ext >&5
4130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134
cat >conftest.$ac_ext <<_ACEOF
4137
cat confdefs.h >>conftest.$ac_ext
4138
cat >>conftest.$ac_ext <<_ACEOF
4139
/* end confdefs.h. */
4140
#include <alsa/version.h>
4145
#if SND_LIB_SUBMINOR >= 14
4152
rm -f conftest.$ac_objext
4153
if { (ac_try="$ac_compile"
4155
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4156
*) ac_try_echo=$ac_try;;
4158
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4159
(eval "$ac_compile") 2>conftest.er1
4161
grep -v '^ *+' conftest.er1 >conftest.err
4163
cat conftest.err >&5
4164
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165
(exit $ac_status); } && {
4166
test -z "$ac_c_werror_flag" ||
4167
test ! -s conftest.err
4168
} && test -s conftest.$ac_objext; then
4171
echo "$as_me: failed program was:" >&5
4172
sed 's/^/| /' conftest.$ac_ext >&5
4177
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4180
ac_config_files="$ac_config_files config/config"
4182
cat >confcache <<\_ACEOF
1204
4183
# This file is a shell script that caches the results of configure
1205
4184
# tests run on this system so they can be shared between configure
1206
# scripts and configure runs. It is not useful on other systems.
1207
# If it contains results you don't want to keep, you may remove or edit it.
1209
# By default, configure uses ./config.cache as the cache file,
1210
# creating it if it does not exist already. You can give configure
1211
# the --cache-file=FILE option to use a different cache file; that is
1212
# what configure does when it calls configure scripts in
1213
# subdirectories, so they share the cache.
1214
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1215
# config.status only pays attention to the cache file if you give it the
1216
# --recheck option to rerun configure.
4185
# scripts and configure runs, see configure's option --config-cache.
4186
# It is not useful on other systems. If it contains results you don't
4187
# want to keep, you may remove or edit it.
4189
# config.status only pays attention to the cache file if you give it
4190
# the --recheck option to rerun configure.
4192
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4193
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1219
4198
# The following way of writing the cache mishandles newlines in values,
1220
4199
# but we know of no workaround that is simple, portable, and efficient.
1221
# So, don't put newlines in cache variables' values.
4200
# So, we kill variables containing newlines.
1222
4201
# Ultrix sh set writes to stderr and can't be redirected directly,
1223
4202
# and sets the high bit in the cache file unless we assign to the vars.
1225
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1227
# `set' does not quote correctly, so add quotes (double-quote substitution
1228
# turns \\\\ into \\, and sed turns \\ into \).
1230
-e "s/'/'\\\\''/g" \
1231
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1234
# `set' quotes correctly as required by POSIX, so do not add quotes.
1235
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1238
if cmp -s $cache_file confcache; then
1241
if test -w $cache_file; then
1242
echo "updating cache $cache_file"
1243
cat confcache > $cache_file
4204
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4205
eval ac_val=\$$ac_var
4209
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4210
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4213
_ | IFS | as_nl) ;; #(
4214
*) $as_unset $ac_var ;;
4220
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4221
*${as_nl}ac_space=\ *)
4222
# `set' does not quote correctly, so add quotes (double-quote
4223
# substitution turns \\\\ into \\, and sed turns \\ into \).
4226
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4229
# `set' quotes correctly as required by POSIX, so do not add quotes.
4230
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4239
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4241
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4243
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4244
if test -w "$cache_file"; then
4245
test "x$cache_file" != "x/dev/null" &&
4246
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4247
echo "$as_me: updating cache $cache_file" >&6;}
4248
cat confcache >$cache_file
1245
echo "not updating unwritable cache $cache_file"
4250
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4251
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1248
4254
rm -f confcache
1250
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1252
4256
test "x$prefix" = xNONE && prefix=$ac_default_prefix
1253
4257
# Let make expand exec_prefix.
1254
4258
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1256
# Any assignment to VPATH causes Sun make to only execute
1257
# the first set of double-colon rules, so remove it if not needed.
1258
# If there is a colon in the path, we need to keep it.
1259
if test "x$srcdir" = x.; then
1260
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1263
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1265
4260
# Transform confdefs.h into DEFS.
1266
4261
# Protect against shell expansion while executing Makefile rules.
1267
4262
# Protect against Makefile macro expansion.
1268
cat > conftest.defs <<\EOF
1269
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1270
s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1275
DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1279
# Without the "./", some shells look in PATH for config.status.
4264
# If the first sed substitution is executed (which looks for macros that
4265
# take arguments), then branch to the quote section. Otherwise,
4266
# look for a macro that doesn't take arguments.
4270
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4272
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4276
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4289
DEFS=`sed -n "$ac_script" confdefs.h`
4294
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4295
# 1. Remove the extension, and $U if already installed.
4296
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4297
ac_i=`echo "$ac_i" | sed "$ac_script"`
4298
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4299
# will be set to the directory where LIBOBJS objects are built.
4300
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4301
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4305
LTLIBOBJS=$ac_ltlibobjs
1280
4309
: ${CONFIG_STATUS=./config.status}
1282
echo creating $CONFIG_STATUS
1283
rm -f $CONFIG_STATUS
1284
cat > $CONFIG_STATUS <<EOF
1286
# Generated automatically by configure.
4310
ac_clean_files_save=$ac_clean_files
4311
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4312
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4313
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4314
cat >$CONFIG_STATUS <<_ACEOF
4316
# Generated by $as_me.
1287
4317
# Run this file to recreate the current configuration.
1288
# This directory was configured as follows,
1289
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1291
# $0 $ac_configure_args
1293
4318
# Compiler output produced by configure, useful for debugging
1294
# configure, is in ./config.log if it exists.
1296
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1299
case "\$ac_option" in
4319
# configure, is in config.log if it exists.
4324
SHELL=\${CONFIG_SHELL-$SHELL}
4327
cat >>$CONFIG_STATUS <<\_ACEOF
4328
## --------------------- ##
4329
## M4sh Initialization. ##
4330
## --------------------- ##
4332
# Be more Bourne compatible
4333
DUALCASE=1; export DUALCASE # for MKS sh
4334
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4337
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4338
# is contrary to our usage. Disable this feature.
4339
alias -g '${1+"$@"}'='"$@"'
4340
setopt NO_GLOB_SUBST
4342
case `(set -o) 2>/dev/null` in
4343
*posix*) set -o posix ;;
4352
# Avoid depending upon Character Ranges.
4353
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4354
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4355
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4356
as_cr_digits='0123456789'
4357
as_cr_alnum=$as_cr_Letters$as_cr_digits
4359
# The user is always right.
4360
if test "${PATH_SEPARATOR+set}" != set; then
4361
echo "#! /bin/sh" >conf$$.sh
4362
echo "exit 0" >>conf$$.sh
4364
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4372
# Support unset when possible.
4373
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4381
# We need space, tab and new line, in precisely that order. Quoting is
4382
# there to prevent editors from complaining about space-tab.
4383
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4384
# splitting by setting IFS to empty value.)
4389
# Find who we are. Look in the path if we contain no directory separator.
4391
*[\\/]* ) as_myself=$0 ;;
4392
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396
test -z "$as_dir" && as_dir=.
4397
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4403
# We did not find ourselves, most probably we were run as `sh COMMAND'
4404
# in which case we are not to be found in the path.
4405
if test "x$as_myself" = x; then
4408
if test ! -f "$as_myself"; then
4409
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4410
{ (exit 1); exit 1; }
4413
# Work around bugs in pre-3.0 UWIN ksh.
4414
for as_var in ENV MAIL MAILPATH
4415
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4423
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4424
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4425
LC_TELEPHONE LC_TIME
4427
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4428
eval $as_var=C; export $as_var
4430
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4434
# Required to use basename.
4435
if expr a : '\(a\)' >/dev/null 2>&1 &&
4436
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4442
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4443
as_basename=basename
4449
# Name of the executable.
4450
as_me=`$as_basename -- "$0" ||
4451
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4452
X"$0" : 'X\(//\)$' \| \
4453
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4455
sed '/^.*\/\([^/][^/]*\)\/*$/{
4476
test "x$as_lineno_1" != "x$as_lineno_2" &&
4477
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4479
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4480
# uniformly replaced by the line number. The first 'sed' inserts a
4481
# line-number line after each line using $LINENO; the second 'sed'
4482
# does the real work. The second script uses 'N' to pair each
4483
# line-number line with the line containing $LINENO, and appends
4484
# trailing '-' during substitution so that $LINENO is not a special
4486
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4487
# scripts with optimization help from Paolo Bonzini. Blame Lee
4488
# E. McMahon (1931-1989) for sed's syntax. :-)
4500
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4504
chmod +x "$as_me.lineno" ||
4505
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4506
{ (exit 1); exit 1; }; }
4508
# Don't try to exec as it changes $[0], causing all sort of problems
4509
# (the dirname of $[0] is not the place where we might find the
4510
# original and so on. Autoconf is especially sensitive to this).
4512
# Exit status is that of the last command.
4517
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4523
ECHO_C= ECHO_N= ECHO_T=
4526
case `echo 'x\c'` in
4527
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4534
if expr a : '\(a\)' >/dev/null 2>&1 &&
4535
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4541
rm -f conf$$ conf$$.exe conf$$.file
4542
if test -d conf$$.dir; then
4543
rm -f conf$$.dir/conf$$.file
4549
if ln -s conf$$.file conf$$ 2>/dev/null; then
4551
# ... but there are two gotchas:
4552
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4553
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4554
# In both cases, we have to default to `cp -p'.
4555
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4557
elif ln conf$$.file conf$$ 2>/dev/null; then
4562
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4563
rmdir conf$$.dir 2>/dev/null
4565
if mkdir -p . 2>/dev/null; then
4568
test -d ./-p && rmdir ./-p
4572
if test -x / >/dev/null 2>&1; then
4575
if ls -dL / >/dev/null 2>&1; then
4582
if test -d "$1"; then
4588
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4589
???[sx]*):;;*)false;;esac;fi
4593
as_executable_p=$as_test_x
4595
# Sed expression to map a string onto a valid CPP name.
4596
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4598
# Sed expression to map a string onto a valid variable name.
4599
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4604
# Save the log message, to keep $[0] and so on meaningful, and to
4605
# report actual input values of CONFIG_FILES etc. instead of their
4606
# values after options handling.
4608
This file was extended by $as_me, which was
4609
generated by GNU Autoconf 2.61. Invocation command line was
4611
CONFIG_FILES = $CONFIG_FILES
4612
CONFIG_HEADERS = $CONFIG_HEADERS
4613
CONFIG_LINKS = $CONFIG_LINKS
4614
CONFIG_COMMANDS = $CONFIG_COMMANDS
4617
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4622
cat >>$CONFIG_STATUS <<_ACEOF
4623
# Files that config.status was made for.
4624
config_files="$ac_config_files"
4628
cat >>$CONFIG_STATUS <<\_ACEOF
4630
\`$as_me' instantiates files from templates according to the
4631
current configuration.
4633
Usage: $0 [OPTIONS] [FILE]...
4635
-h, --help print this help, then exit
4636
-V, --version print version number and configuration settings, then exit
4637
-q, --quiet do not print progress messages
4638
-d, --debug don't remove temporary files
4639
--recheck update $as_me by reconfiguring in the same conditions
4640
--file=FILE[:TEMPLATE]
4641
instantiate the configuration file FILE
4643
Configuration files:
4646
Report bugs to <bug-autoconf@gnu.org>."
4649
cat >>$CONFIG_STATUS <<_ACEOF
4652
configured by $0, generated by GNU Autoconf 2.61,
4653
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4655
Copyright (C) 2006 Free Software Foundation, Inc.
4656
This config.status script is free software; the Free Software Foundation
4657
gives unlimited permission to copy, distribute and modify it."
4663
cat >>$CONFIG_STATUS <<\_ACEOF
4664
# If no file are specified by the user, then we need to provide default
4665
# value. By we need to know if files were specified by the user.
4671
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4672
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4683
# Handling of the options.
1300
4684
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1301
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1302
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1303
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1304
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1306
-help | --help | --hel | --he | --h)
1307
echo "\$ac_cs_usage"; exit 0 ;;
1308
*) echo "\$ac_cs_usage"; exit 1 ;;
1312
ac_given_srcdir=$srcdir
1314
trap 'rm -fr `echo "config/config" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1316
cat >> $CONFIG_STATUS <<EOF
1318
# Protect against being on the right side of a sed subst in config.status.
1319
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1320
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4686
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4687
echo "$ac_cs_version"; exit ;;
4688
--debug | --debu | --deb | --de | --d | -d )
4690
--file | --fil | --fi | --f )
4692
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4693
ac_need_defaults=false;;
4694
--he | --h | --help | --hel | -h )
4695
echo "$ac_cs_usage"; exit ;;
4696
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4697
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4701
-*) { echo "$as_me: error: unrecognized option: $1
4702
Try \`$0 --help' for more information." >&2
4703
{ (exit 1); exit 1; }; } ;;
4705
*) ac_config_targets="$ac_config_targets $1"
4706
ac_need_defaults=false ;;
4712
ac_configure_extra_args=
4714
if $ac_cs_silent; then
4716
ac_configure_extra_args="$ac_configure_extra_args --silent"
4720
cat >>$CONFIG_STATUS <<_ACEOF
4721
if \$ac_cs_recheck; then
4722
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4725
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4729
cat >>$CONFIG_STATUS <<\_ACEOF
4733
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4734
## Running $as_me. ##
4740
cat >>$CONFIG_STATUS <<_ACEOF
4743
cat >>$CONFIG_STATUS <<\_ACEOF
4745
# Handling of arguments.
4746
for ac_config_target in $ac_config_targets
4748
case $ac_config_target in
4749
"config/config") CONFIG_FILES="$CONFIG_FILES config/config" ;;
4751
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4752
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4753
{ (exit 1); exit 1; }; };;
4758
# If the user did not use the arguments to specify the items to instantiate,
4759
# then the envvar interface is used. Set only those that are not.
4760
# We use the long form for the default assignment because of an extremely
4761
# bizarre bug on SunOS 4.1.3.
4762
if $ac_need_defaults; then
4763
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4766
# Have a temporary directory for convenience. Make it in the build tree
4767
# simply because there is no reason against having it here, and in addition,
4768
# creating and moving files from /tmp can sometimes cause problems.
4769
# Hook for its removal unless debugging.
4770
# Note that there is a small window in which the directory will not be cleaned:
4771
# after its creation but before its name has been assigned to `$tmp'.
4775
trap 'exit_status=$?
4776
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4778
trap '{ (exit 1); exit 1; }' 1 2 13 15
4780
# Create a (secure) tmp directory for tmp files.
4783
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4784
test -n "$tmp" && test -d "$tmp"
4787
tmp=./conf$$-$RANDOM
4788
(umask 077 && mkdir "$tmp")
4791
echo "$me: cannot create a temporary directory in ." >&2
4792
{ (exit 1); exit 1; }
4796
# Set up the sed scripts for CONFIG_FILES section.
4799
# No need to generate the scripts if there are no CONFIG_FILES.
4800
# This happens for instance when ./config.status config.h
4801
if test -n "$CONFIG_FILES"; then
4808
for ac_last_try in false false false false false :; do
4809
cat >conf$$subs.sed <<_ACEOF
4810
SHELL!$SHELL$ac_delim
4811
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4812
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4813
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4814
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4815
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4816
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4817
exec_prefix!$exec_prefix$ac_delim
4818
prefix!$prefix$ac_delim
4819
program_transform_name!$program_transform_name$ac_delim
4820
bindir!$bindir$ac_delim
4821
sbindir!$sbindir$ac_delim
4822
libexecdir!$libexecdir$ac_delim
4823
datarootdir!$datarootdir$ac_delim
4824
datadir!$datadir$ac_delim
4825
sysconfdir!$sysconfdir$ac_delim
4826
sharedstatedir!$sharedstatedir$ac_delim
4827
localstatedir!$localstatedir$ac_delim
4828
includedir!$includedir$ac_delim
4829
oldincludedir!$oldincludedir$ac_delim
4830
docdir!$docdir$ac_delim
4831
infodir!$infodir$ac_delim
4832
htmldir!$htmldir$ac_delim
4833
dvidir!$dvidir$ac_delim
4834
pdfdir!$pdfdir$ac_delim
4835
psdir!$psdir$ac_delim
4836
libdir!$libdir$ac_delim
4837
localedir!$localedir$ac_delim
4838
mandir!$mandir$ac_delim
4840
ECHO_C!$ECHO_C$ac_delim
4841
ECHO_N!$ECHO_N$ac_delim
4842
ECHO_T!$ECHO_T$ac_delim
4844
build_alias!$build_alias$ac_delim
4845
host_alias!$host_alias$ac_delim
4846
target_alias!$target_alias$ac_delim
4847
build!$build$ac_delim
4848
build_cpu!$build_cpu$ac_delim
4849
build_vendor!$build_vendor$ac_delim
4850
build_os!$build_os$ac_delim
4852
host_cpu!$host_cpu$ac_delim
4853
host_vendor!$host_vendor$ac_delim
4854
host_os!$host_os$ac_delim
4855
target!$target$ac_delim
4856
target_cpu!$target_cpu$ac_delim
4857
target_vendor!$target_vendor$ac_delim
4858
target_os!$target_os$ac_delim
4860
CFLAGS!$CFLAGS$ac_delim
4861
LDFLAGS!$LDFLAGS$ac_delim
4862
CPPFLAGS!$CPPFLAGS$ac_delim
4863
ac_ct_CC!$ac_ct_CC$ac_delim
4864
EXEEXT!$EXEEXT$ac_delim
4865
OBJEXT!$OBJEXT$ac_delim
4866
RANLIB!$RANLIB$ac_delim
4870
EGREP!$EGREP$ac_delim
4871
TERMCAPLIB!$TERMCAPLIB$ac_delim
4872
COMPILERTYPE!$COMPILERTYPE$ac_delim
4873
LINUXAUDIO!$LINUXAUDIO$ac_delim
4874
LIBOBJS!$LIBOBJS$ac_delim
4875
LTLIBOBJS!$LTLIBOBJS$ac_delim
4878
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
4880
elif $ac_last_try; then
4881
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4882
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4883
{ (exit 1); exit 1; }; }
4885
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4889
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4890
if test -n "$ac_eof"; then
4891
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4892
ac_eof=`expr $ac_eof + 1`
4895
cat >>$CONFIG_STATUS <<_ACEOF
4896
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4897
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4900
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4901
s/^/s,@/; s/!/@,|#_!!_#|/
4904
s/'"$ac_delim"'$/,g/; t
4906
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4907
' >>$CONFIG_STATUS <conf$$subs.sed
4908
rm -f conf$$subs.sed
4909
cat >>$CONFIG_STATUS <<_ACEOF
4916
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4917
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4918
# trailing colons and then remove the whole line if VPATH becomes empty
4919
# (actually we leave an empty line to preserve line numbers).
4920
if test "x$srcdir" = x.; then
4921
ac_vpsub='/^[ ]*VPATH[ ]*=/{
4925
s/^\([^=]*=[ ]*\):*/\1/
4931
cat >>$CONFIG_STATUS <<\_ACEOF
4932
fi # test -n "$CONFIG_FILES"
4935
for ac_tag in :F $CONFIG_FILES
4938
:[FHLC]) ac_mode=$ac_tag; continue;;
4940
case $ac_mode$ac_tag in
4942
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4943
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4944
{ (exit 1); exit 1; }; };;
4945
:[FH]-) ac_tag=-:-;;
4946
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4963
-) ac_f="$tmp/stdin";;
4964
*) # Look for the file first in the build tree, then in the source tree
4965
# (if the path is not absolute). The absolute path cannot be DOS-style,
4966
# because $ac_f cannot contain `:'.
4970
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4972
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4973
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4974
{ (exit 1); exit 1; }; };;
4976
ac_file_inputs="$ac_file_inputs $ac_f"
4979
# Let's still pretend it is `configure' which instantiates (i.e., don't
4980
# use $as_me), people would be surprised to read:
4981
# /* config.h. Generated by config.status. */
4982
configure_input="Generated from "`IFS=:
4983
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4984
if test x"$ac_file" != x-; then
4985
configure_input="$ac_file. $configure_input"
4986
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4987
echo "$as_me: creating $ac_file" >&6;}
4991
*:-:* | *:-) cat >"$tmp/stdin";;
4996
ac_dir=`$as_dirname -- "$ac_file" ||
4997
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4998
X"$ac_file" : 'X\(//\)[^/]' \| \
4999
X"$ac_file" : 'X\(//\)$' \| \
5000
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5002
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5021
-*) as_dir=./$as_dir;;
5023
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5027
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5028
*) as_qdir=$as_dir;;
5030
as_dirs="'$as_qdir' $as_dirs"
5031
as_dir=`$as_dirname -- "$as_dir" ||
5032
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5033
X"$as_dir" : 'X\(//\)[^/]' \| \
5034
X"$as_dir" : 'X\(//\)$' \| \
5035
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5037
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5054
test -d "$as_dir" && break
5056
test -z "$as_dirs" || eval "mkdir $as_dirs"
5057
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5058
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5059
{ (exit 1); exit 1; }; }; }
5063
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5065
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5066
# A ".." for each directory in $ac_dir_suffix.
5067
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5068
case $ac_top_builddir_sub in
5069
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5070
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5073
ac_abs_top_builddir=$ac_pwd
5074
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5075
# for backward compatibility:
5076
ac_top_builddir=$ac_top_build_prefix
5079
.) # We are building in place.
5081
ac_top_srcdir=$ac_top_builddir_sub
5082
ac_abs_top_srcdir=$ac_pwd ;;
5083
[\\/]* | ?:[\\/]* ) # Absolute name.
5084
ac_srcdir=$srcdir$ac_dir_suffix;
5085
ac_top_srcdir=$srcdir
5086
ac_abs_top_srcdir=$srcdir ;;
5088
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5089
ac_top_srcdir=$ac_top_build_prefix$srcdir
5090
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5092
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5103
cat >>$CONFIG_STATUS <<\_ACEOF
5104
# If the template does not know about datarootdir, expand it.
5105
# FIXME: This hack should be removed a few years after 2.60.
5106
ac_datarootdir_hack=; ac_datarootdir_seen=
5108
case `sed -n '/datarootdir/ {
5117
' $ac_file_inputs` in
5118
*datarootdir*) ac_datarootdir_seen=yes;;
5119
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5120
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5121
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5123
cat >>$CONFIG_STATUS <<_ACEOF
5124
ac_datarootdir_hack='
5125
s&@datadir@&$datadir&g
5126
s&@docdir@&$docdir&g
5127
s&@infodir@&$infodir&g
5128
s&@localedir@&$localedir&g
5129
s&@mandir@&$mandir&g
5130
s&\\\${datarootdir}&$datarootdir&g' ;;
5134
# Neutralize VPATH when `$srcdir' = `.'.
5135
# Shell code in configure.ac might set extrasub.
5136
# FIXME: do we really want to maintain this feature?
5137
cat >>$CONFIG_STATUS <<_ACEOF
1324
s%@CFLAGS@%$CFLAGS%g
1325
s%@CPPFLAGS@%$CPPFLAGS%g
1326
s%@CXXFLAGS@%$CXXFLAGS%g
1327
s%@FFLAGS@%$FFLAGS%g
1329
s%@LDFLAGS@%$LDFLAGS%g
1331
s%@exec_prefix@%$exec_prefix%g
1332
s%@prefix@%$prefix%g
1333
s%@program_transform_name@%$program_transform_name%g
1334
s%@bindir@%$bindir%g
1335
s%@sbindir@%$sbindir%g
1336
s%@libexecdir@%$libexecdir%g
1337
s%@datadir@%$datadir%g
1338
s%@sysconfdir@%$sysconfdir%g
1339
s%@sharedstatedir@%$sharedstatedir%g
1340
s%@localstatedir@%$localstatedir%g
1341
s%@libdir@%$libdir%g
1342
s%@includedir@%$includedir%g
1343
s%@oldincludedir@%$oldincludedir%g
1344
s%@infodir@%$infodir%g
1345
s%@mandir@%$mandir%g
1347
s%@host_alias@%$host_alias%g
1348
s%@host_cpu@%$host_cpu%g
1349
s%@host_vendor@%$host_vendor%g
1350
s%@host_os@%$host_os%g
1351
s%@target@%$target%g
1352
s%@target_alias@%$target_alias%g
1353
s%@target_cpu@%$target_cpu%g
1354
s%@target_vendor@%$target_vendor%g
1355
s%@target_os@%$target_os%g
1357
s%@build_alias@%$build_alias%g
1358
s%@build_cpu@%$build_cpu%g
1359
s%@build_vendor@%$build_vendor%g
1360
s%@build_os@%$build_os%g
1362
s%@RANLIB@%$RANLIB%g
1364
s%@TERMCAPLIB@%$TERMCAPLIB%g
1365
s%@COMPILERTYPE@%$COMPILERTYPE%g
1370
cat >> $CONFIG_STATUS <<\EOF
1372
# Split the substitutions into bite-sized pieces for seds with
1373
# small command number limits, like on Digital OSF/1 and HP-UX.
1374
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1375
ac_file=1 # Number of current file.
1376
ac_beg=1 # First line for current file.
1377
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1380
while $ac_more_lines; do
1381
if test $ac_beg -gt 1; then
1382
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1384
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1386
if test ! -s conftest.s$ac_file; then
1388
rm -f conftest.s$ac_file
1390
if test -z "$ac_sed_cmds"; then
1391
ac_sed_cmds="sed -f conftest.s$ac_file"
1393
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1395
ac_file=`expr $ac_file + 1`
1397
ac_end=`expr $ac_end + $ac_max_sed_cmds`
1400
if test -z "$ac_sed_cmds"; then
1405
cat >> $CONFIG_STATUS <<EOF
1407
CONFIG_FILES=\${CONFIG_FILES-"config/config"}
1409
cat >> $CONFIG_STATUS <<\EOF
1410
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1411
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1413
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1414
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1415
*) ac_file_in="${ac_file}.in" ;;
1418
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1420
# Remove last slash and all that follows it. Not all systems have dirname.
1421
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1422
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1423
# The file is in a subdirectory.
1424
test ! -d "$ac_dir" && mkdir "$ac_dir"
1425
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1426
# A "../" for each directory in $ac_dir_suffix.
1427
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1429
ac_dir_suffix= ac_dots=
1432
case "$ac_given_srcdir" in
1434
if test -z "$ac_dots"; then top_srcdir=.
1435
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1436
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1438
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1439
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1443
echo creating "$ac_file"
1445
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1447
*Makefile*) ac_comsub="1i\\
1448
# $configure_input" ;;
1452
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1454
s%@configure_input@%$configure_input%g
1455
s%@srcdir@%$srcdir%g
1456
s%@top_srcdir@%$top_srcdir%g
1457
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1462
cat >> $CONFIG_STATUS <<EOF
1465
cat >> $CONFIG_STATUS <<\EOF
5141
cat >>$CONFIG_STATUS <<\_ACEOF
5143
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5144
s&@configure_input@&$configure_input&;t t
5145
s&@top_builddir@&$ac_top_builddir_sub&;t t
5146
s&@srcdir@&$ac_srcdir&;t t
5147
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5148
s&@top_srcdir@&$ac_top_srcdir&;t t
5149
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5150
s&@builddir@&$ac_builddir&;t t
5151
s&@abs_builddir@&$ac_abs_builddir&;t t
5152
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5153
$ac_datarootdir_hack
5154
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5156
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5157
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5158
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5159
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5160
which seems to be undefined. Please make sure it is defined." >&5
5161
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5162
which seems to be undefined. Please make sure it is defined." >&2;}
5166
-) cat "$tmp/out"; rm -f "$tmp/out";;
5167
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5178
{ (exit 0); exit 0; }
1469
5180
chmod +x $CONFIG_STATUS
1470
rm -fr confdefs* $ac_clean_files
1471
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
5181
ac_clean_files=$ac_clean_files_save
5184
# configure is writing to config.log, and then calls config.status.
5185
# config.status does its own redirection, appending to config.log.
5186
# Unfortunately, on DOS this fails, as config.log is still kept open
5187
# by configure, so config.status won't be able to write to it; its
5188
# output is simply discarded. So we exec the FD to /dev/null,
5189
# effectively closing config.log, so it can be properly (re)opened and
5190
# appended to by config.status. When coming back to configure, we
5191
# need to make the FD available again.
5192
if test "$no_create" != yes; then
5194
ac_config_status_args=
5195
test "$silent" = yes &&
5196
ac_config_status_args="$ac_config_status_args --quiet"
5198
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5200
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5201
# would make configure fail if this is the last instruction.
5202
$ac_cs_success || { (exit 1); exit 1; }