1052
372
ac_prev=x_includes ;;
1053
373
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1054
374
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1055
x_includes=$ac_optarg ;;
375
x_includes="$ac_optarg" ;;
1057
377
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1058
378
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1059
379
ac_prev=x_libraries ;;
1060
380
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1061
381
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1062
x_libraries=$ac_optarg ;;
382
x_libraries="$ac_optarg" ;;
1064
-*) { echo "$as_me: error: unrecognized option: $ac_option
1065
Try \`$0 --help' for more information." >&2
1066
{ (exit 1); exit 1; }; }
384
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
1070
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1071
# Reject names that are not valid shell variable names.
1072
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1073
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1074
{ (exit 1); exit 1; }; }
1075
eval $ac_envvar=\$ac_optarg
1076
export $ac_envvar ;;
1079
# FIXME: should be removed in autoconf 3.0.
1080
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1082
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
388
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
389
echo "configure: warning: $ac_option: invalid host type" 1>&2
391
if test "x$nonopt" != xNONE; then
392
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
1089
400
if test -n "$ac_prev"; then
1090
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1091
{ echo "$as_me: error: missing argument to $ac_option" >&2
1092
{ (exit 1); exit 1; }; }
1095
# Be sure to have absolute directory names.
1096
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1097
datadir sysconfdir sharedstatedir localstatedir includedir \
1098
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1099
libdir localedir mandir
401
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
404
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
406
# File descriptor usage:
409
# 2 errors and warnings
410
# 3 some systems may open it to /dev/tty
411
# 4 used on the Kubota Titan
412
# 6 checking for... messages and results
413
# 5 compiler messages saved in config.log
414
if test "$silent" = yes; then
422
This file contains any messages produced by compilers while
423
running configure, to aid debugging if configure makes a mistake.
426
# Strip out --no-create and --no-recursion so they do not pile up.
427
# Also quote any args containing shell metacharacters.
1101
eval ac_val=\$$ac_var
1103
[\\/$]* | ?:[\\/]* ) continue;;
1104
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
432
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
433
| --no-cr | --no-c) ;;
434
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
435
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
436
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
437
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
438
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
1106
{ echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1107
{ (exit 1); exit 1; }; }
1110
# There might be people who depend on the old broken behavior: `$host'
1111
# used to hold the argument of --host etc.
1112
# FIXME: To remove some day.
1115
target=$target_alias
1117
# FIXME: To remove some day.
1118
if test "x$host_alias" != x; then
1119
if test "x$build_alias" = x; then
1120
cross_compiling=maybe
1121
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1122
If a cross compiler is detected then cross compile mode will be used." >&2
1123
elif test "x$build_alias" != "x$host_alias"; then
1129
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1131
test "$silent" = yes && exec 6>/dev/null
1134
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1135
ac_ls_di=`ls -di .` &&
1136
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1137
{ echo "$as_me: error: Working directory cannot be determined" >&2
1138
{ (exit 1); exit 1; }; }
1139
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1140
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1141
{ (exit 1); exit 1; }; }
443
# Only set these to C if already set. These must not be set unconditionally
444
# because not all systems understand e.g. LANG=C (notably SCO).
445
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
446
# Non-C LC_CTYPE values break the ctype check.
447
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
448
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
449
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
450
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
452
# confdefs.h avoids OS command line length limits that DEFS can exceed.
453
rm -rf conftest* confdefs.h
454
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
457
# A filename unique to this package, relative to the directory that
458
# configure is in, which we can look for to find out if srcdir is correct.
459
ac_unique_file=capifax.c
1144
461
# Find the source files, if location was not specified.
1145
462
if test -z "$srcdir"; then
1146
463
ac_srcdir_defaulted=yes
1147
# Try the directory containing this script, then the parent directory.
1148
ac_confdir=`$as_dirname -- "$0" ||
1149
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150
X"$0" : 'X\(//\)[^/]' \| \
1151
X"$0" : 'X\(//\)$' \| \
1152
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1154
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
464
# Try the directory containing this script, then its parent.
466
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
467
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
1171
468
srcdir=$ac_confdir
1172
if test ! -r "$srcdir/$ac_unique_file"; then
469
if test ! -r $srcdir/$ac_unique_file; then
1176
473
ac_srcdir_defaulted=no
1178
if test ! -r "$srcdir/$ac_unique_file"; then
1179
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1181
{ (exit 1); exit 1; }; }
1183
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1186
{ (exit 1); exit 1; }; }
1188
# When building in place, set srcdir=.
1189
if test "$ac_abs_confdir" = "$ac_pwd"; then
1192
# Remove unnecessary trailing slashes from srcdir.
1193
# Double slashes in file names in object file debugging info
1194
# mess up M-x gdb in Emacs.
1196
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1198
for ac_var in $ac_precious_vars; do
1199
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1200
eval ac_env_${ac_var}_value=\$${ac_var}
1201
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1202
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1206
# Report the --help message.
1208
if test "$ac_init_help" = "long"; then
1209
# Omit some internal or obsolete options to make the list less imposing.
1210
# This message is too long to be a string in the A/UX 3.1 sh.
1212
\`configure' configures this package to adapt to many kinds of systems.
1214
Usage: $0 [OPTION]... [VAR=VALUE]...
1216
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1217
VAR=VALUE. See below for descriptions of some of the useful variables.
1219
Defaults for the options are specified in brackets.
1222
-h, --help display this help and exit
1223
--help=short display options specific to this package
1224
--help=recursive display the short help of all the included packages
1225
-V, --version display version information and exit
1226
-q, --quiet, --silent do not print \`checking...' messages
1227
--cache-file=FILE cache test results in FILE [disabled]
1228
-C, --config-cache alias for \`--cache-file=config.cache'
1229
-n, --no-create do not create output files
1230
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1232
Installation directories:
1233
--prefix=PREFIX install architecture-independent files in PREFIX
1234
[$ac_default_prefix]
1235
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1238
By default, \`make install' will install all the files in
1239
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1240
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1241
for instance \`--prefix=\$HOME'.
1243
For better control, use the options below.
1245
Fine tuning of the installation directories:
1246
--bindir=DIR user executables [EPREFIX/bin]
1247
--sbindir=DIR system admin executables [EPREFIX/sbin]
1248
--libexecdir=DIR program executables [EPREFIX/libexec]
1249
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1250
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1251
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1252
--libdir=DIR object code libraries [EPREFIX/lib]
1253
--includedir=DIR C header files [PREFIX/include]
1254
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1255
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257
--infodir=DIR info documentation [DATAROOTDIR/info]
1258
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259
--mandir=DIR man documentation [DATAROOTDIR/man]
1260
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1261
--htmldir=DIR html documentation [DOCDIR]
1262
--dvidir=DIR dvi documentation [DOCDIR]
1263
--pdfdir=DIR pdf documentation [DOCDIR]
1264
--psdir=DIR ps documentation [DOCDIR]
1270
--program-prefix=PREFIX prepend PREFIX to installed program names
1271
--program-suffix=SUFFIX append SUFFIX to installed program names
1272
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1276
if test -n "$ac_init_help"; then
1281
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1282
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1283
--disable-dependency-tracking speeds up one-time build
1284
--enable-dependency-tracking do not reject slow dependency extractors
1287
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1288
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1289
--with-sbin=DIR Set dir where binary is istalled. /sbin
1290
--with-man=DIR Set manpage dir. /usr/man
1292
Some influential environment variables:
1293
CC C compiler command
1294
CFLAGS C compiler flags
1295
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1296
nonstandard directory <lib dir>
1297
LIBS libraries to pass to the linker, e.g. -l<library>
1298
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1299
you have headers in a nonstandard directory <include dir>
1302
Use these variables to override the choices made by `configure' or to help
1303
it to find libraries and programs with nonstandard names/locations.
1309
if test "$ac_init_help" = "recursive"; then
1310
# If there are subdirs, report their specific --help.
1311
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1312
test -d "$ac_dir" || continue
1316
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1319
# A ".." for each directory in $ac_dir_suffix.
1320
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1321
case $ac_top_builddir_sub in
1322
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1323
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1326
ac_abs_top_builddir=$ac_pwd
1327
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1328
# for backward compatibility:
1329
ac_top_builddir=$ac_top_build_prefix
1332
.) # We are building in place.
1334
ac_top_srcdir=$ac_top_builddir_sub
1335
ac_abs_top_srcdir=$ac_pwd ;;
1336
[\\/]* | ?:[\\/]* ) # Absolute name.
1337
ac_srcdir=$srcdir$ac_dir_suffix;
1338
ac_top_srcdir=$srcdir
1339
ac_abs_top_srcdir=$srcdir ;;
1341
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1342
ac_top_srcdir=$ac_top_build_prefix$srcdir
1343
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1345
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1347
cd "$ac_dir" || { ac_status=$?; continue; }
1348
# Check for guested configure.
1349
if test -f "$ac_srcdir/configure.gnu"; then
1351
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1352
elif test -f "$ac_srcdir/configure"; then
1354
$SHELL "$ac_srcdir/configure" --help=recursive
1356
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1358
cd "$ac_pwd" || { ac_status=$?; break; }
1362
test -n "$ac_init_help" && exit $ac_status
1363
if $ac_init_version; then
1366
generated by GNU Autoconf 2.61
1368
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1369
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1370
This configure script is free software; the Free Software Foundation
1371
gives unlimited permission to copy, distribute and modify it.
1375
cat >config.log <<_ACEOF
1376
This file contains any messages produced by compilers while
1377
running configure, to aid debugging if configure makes a mistake.
1379
It was created by $as_me, which was
1380
generated by GNU Autoconf 2.61. Invocation command line was
1392
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1393
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1394
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1395
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1396
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1398
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1399
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1401
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1402
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1403
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1404
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1405
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1406
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1407
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1411
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1415
test -z "$as_dir" && as_dir=.
1416
echo "PATH: $as_dir"
1432
# Keep a trace of the command line.
1433
# Strip out --no-create and --no-recursion so they do not pile up.
1434
# Strip out --silent because we don't want to record it for future runs.
1435
# Also quote any args containing shell meta-characters.
1436
# Make two passes to allow for proper duplicate-argument suppression.
1440
ac_must_keep_next=false
1446
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1447
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1448
| -silent | --silent | --silen | --sile | --sil)
1451
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1454
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1456
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1457
if test $ac_must_keep_next = true; then
1458
ac_must_keep_next=false # Got value, back to normal.
1461
*=* | --config-cache | -C | -disable-* | --disable-* \
1462
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1463
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1464
| -with-* | --with-* | -without-* | --without-* | --x)
1465
case "$ac_configure_args0 " in
1466
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1469
-* ) ac_must_keep_next=true ;;
1472
ac_configure_args="$ac_configure_args '$ac_arg'"
1477
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1478
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1480
# When interrupted or exit'd, cleanup temporary files, and complete
1481
# config.log. We remove comments because anyway the quotes in there
1482
# would cause problems or look ugly.
1483
# WARNING: Use '\'' to represent an apostrophe within the trap.
1484
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1485
trap 'exit_status=$?
1486
# Save into config.log some information that might help in debugging.
1491
## ---------------- ##
1492
## Cache variables. ##
1493
## ---------------- ##
1496
# The following way of writing the cache mishandles newlines in values,
1498
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1499
eval ac_val=\$$ac_var
1503
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1504
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1507
_ | IFS | as_nl) ;; #(
1508
*) $as_unset $ac_var ;;
1513
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1514
*${as_nl}ac_space=\ *)
1516
"s/'\''/'\''\\\\'\'''\''/g;
1517
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1520
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1528
## ----------------- ##
1529
## Output variables. ##
1530
## ----------------- ##
1533
for ac_var in $ac_subst_vars
1535
eval ac_val=\$$ac_var
1537
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1539
echo "$ac_var='\''$ac_val'\''"
1543
if test -n "$ac_subst_files"; then
1545
## ------------------- ##
1546
## File substitutions. ##
1547
## ------------------- ##
1550
for ac_var in $ac_subst_files
1552
eval ac_val=\$$ac_var
1554
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1556
echo "$ac_var='\''$ac_val'\''"
1561
if test -s confdefs.h; then
1571
test "$ac_signal" != 0 &&
1572
echo "$as_me: caught signal $ac_signal"
1573
echo "$as_me: exit $exit_status"
1575
rm -f core *.core core.conftest.* &&
1576
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1579
for ac_signal in 1 2 13 15; do
1580
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1584
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1585
rm -f -r conftest* confdefs.h
1587
# Predefined preprocessor variables.
1589
cat >>confdefs.h <<_ACEOF
1590
#define PACKAGE_NAME "$PACKAGE_NAME"
1594
cat >>confdefs.h <<_ACEOF
1595
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1599
cat >>confdefs.h <<_ACEOF
1600
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1604
cat >>confdefs.h <<_ACEOF
1605
#define PACKAGE_STRING "$PACKAGE_STRING"
1609
cat >>confdefs.h <<_ACEOF
1610
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1614
# Let the site file select an alternate cache file if it wants to.
475
if test ! -r $srcdir/$ac_unique_file; then
476
if test "$ac_srcdir_defaulted" = yes; then
477
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
479
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
482
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
1615
484
# Prefer explicitly selected file to automatically selected ones.
1616
if test -n "$CONFIG_SITE"; then
1617
set x "$CONFIG_SITE"
1618
elif test "x$prefix" != xNONE; then
1619
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1621
set x "$ac_default_prefix/share/config.site" \
1622
"$ac_default_prefix/etc/config.site"
485
if test -z "$CONFIG_SITE"; then
486
if test "x$prefix" != xNONE; then
487
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
489
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
492
for ac_site_file in $CONFIG_SITE; do
1627
493
if test -r "$ac_site_file"; then
1628
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1629
echo "$as_me: loading site script $ac_site_file" >&6;}
1630
sed 's/^/| /' "$ac_site_file" >&5
494
echo "loading site script $ac_site_file"
1631
495
. "$ac_site_file"
1635
499
if test -r "$cache_file"; then
1636
# Some versions of bash will fail to source /dev/null (special
1637
# files actually), so we avoid doing that.
1638
if test -f "$cache_file"; then
1639
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1640
echo "$as_me: loading cache $cache_file" >&6;}
1642
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1643
*) . "./$cache_file";;
500
echo "loading cache $cache_file"
1647
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1648
echo "$as_me: creating cache $cache_file" >&6;}
1652
# Check that the precious variables saved in the cache have kept the same
1654
ac_cache_corrupted=false
1655
for ac_var in $ac_precious_vars; do
1656
eval ac_old_set=\$ac_cv_env_${ac_var}_set
1657
eval ac_new_set=\$ac_env_${ac_var}_set
1658
eval ac_old_val=\$ac_cv_env_${ac_var}_value
1659
eval ac_new_val=\$ac_env_${ac_var}_value
1660
case $ac_old_set,$ac_new_set in
1662
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1663
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1664
ac_cache_corrupted=: ;;
1666
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1667
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1668
ac_cache_corrupted=: ;;
1671
if test "x$ac_old_val" != "x$ac_new_val"; then
1672
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1673
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1674
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1675
echo "$as_me: former value: $ac_old_val" >&2;}
1676
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1677
echo "$as_me: current value: $ac_new_val" >&2;}
1678
ac_cache_corrupted=:
1681
# Pass precious variables to config.status.
1682
if test "$ac_new_set" = set; then
1684
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1685
*) ac_arg=$ac_var=$ac_new_val ;;
1687
case " $ac_configure_args " in
1688
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1689
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1693
if $ac_cache_corrupted; then
1694
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1695
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1696
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1697
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1698
{ (exit 1); exit 1; }; }
503
echo "creating cache $cache_file"
508
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1718
509
ac_cpp='$CPP $CPPFLAGS'
1719
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1720
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1721
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1724
am__api_version='1.10'
510
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
511
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
512
cross_compiling=$ac_cv_prog_cc_cross
516
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
517
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
518
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
525
ac_n= ac_c='\c' ac_t=
1727
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1728
if test -f "$ac_dir/install-sh"; then
530
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
531
if test -f $ac_dir/install-sh; then
1729
532
ac_aux_dir=$ac_dir
1730
533
ac_install_sh="$ac_aux_dir/install-sh -c"
1732
elif test -f "$ac_dir/install.sh"; then
535
elif test -f $ac_dir/install.sh; then
1733
536
ac_aux_dir=$ac_dir
1734
537
ac_install_sh="$ac_aux_dir/install.sh -c"
1736
elif test -f "$ac_dir/shtool"; then
1738
ac_install_sh="$ac_aux_dir/shtool install -c"
1742
541
if test -z "$ac_aux_dir"; then
1743
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1744
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1745
{ (exit 1); exit 1; }; }
542
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1748
# These three variables are undocumented and unsupported,
1749
# and are intended to be withdrawn in a future Autoconf release.
1750
# They can cause serious problems if a builder's source tree is in a directory
1751
# whose full name contains unusual characters.
1752
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1753
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1754
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
544
ac_config_guess=$ac_aux_dir/config.guess
545
ac_config_sub=$ac_aux_dir/config.sub
546
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
548
am__api_version="1.4"
1757
549
# Find a good install program. We prefer a C program (faster),
1758
550
# so one script is as good as another. But avoid the broken or
1759
551
# incompatible versions:
1761
553
# SunOS /usr/etc/install
1762
554
# IRIX /sbin/install
1763
555
# AIX /bin/install
1764
# AmigaOS /C/install, which installs bootblocks on floppy discs
1765
556
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1766
557
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1767
558
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1768
# OS/2's system install, which has a completely different semantic
1769
559
# ./install, which can be erroneously created by make from ./install.sh.
1770
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1771
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
560
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
561
echo "configure:562: checking for a BSD compatible install" >&5
1772
562
if test -z "$INSTALL"; then
1773
if test "${ac_cv_path_install+set}" = set; then
1774
echo $ECHO_N "(cached) $ECHO_C" >&6
563
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
564
echo $ac_n "(cached) $ac_c" 1>&6
1776
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780
test -z "$as_dir" && as_dir=.
1781
# Account for people who put trailing slashes in PATH elements.
1783
./ | .// | /cC/* | \
1784
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1785
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1788
# OSF1 and SCO ODT 3.0 have their own names for install.
1789
# Don't use installbsd from OSF since it installs stuff as root
1791
for ac_prog in ginstall scoinst install; do
1792
for ac_exec_ext in '' $ac_executable_extensions; do
1793
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
566
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
567
for ac_dir in $PATH; do
568
# Account for people who put trailing slashes in PATH elements.
570
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
572
# OSF1 and SCO ODT 3.0 have their own names for install.
573
# Don't use installbsd from OSF since it installs stuff as root
575
for ac_prog in ginstall scoinst install; do
576
if test -f $ac_dir/$ac_prog; then
1794
577
if test $ac_prog = install &&
1795
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
578
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1796
579
# AIX install. It has an incompatible calling convention.
1798
elif test $ac_prog = install &&
1799
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1800
# program-specific install script used by HP pwplus--don't use.
1803
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
582
ac_cv_path_install="$ac_dir/$ac_prog -c"
1816
593
if test "${ac_cv_path_install+set}" = set; then
1817
INSTALL=$ac_cv_path_install
594
INSTALL="$ac_cv_path_install"
1819
# As a last resort, use the slow shell script. Don't cache a
1820
# value for INSTALL within a source directory, because that will
596
# As a last resort, use the slow shell script. We don't cache a
597
# path for INSTALL within a source directory, because that will
1821
598
# break other packages using the cache if that directory is
1822
# removed, or if the value is a relative name.
1823
INSTALL=$ac_install_sh
599
# removed, or if the path is relative.
600
INSTALL="$ac_install_sh"
1826
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1827
echo "${ECHO_T}$INSTALL" >&6; }
603
echo "$ac_t""$INSTALL" 1>&6
1829
605
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1830
606
# It thinks the first close brace ends the variable substitution.
1831
607
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1833
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
609
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1835
611
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1837
{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1838
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
613
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
614
echo "configure:615: checking whether build environment is sane" >&5
1841
echo timestamp > conftest.file
617
echo timestamp > conftestfile
1842
618
# Do `set' in a subshell so we don't clobber the current shell's
1843
619
# arguments. Must try -L first in case configure is actually a
1844
620
# symlink; some systems play weird games with the mod time of symlinks
1845
621
# (eg FreeBSD returns the mod time of the symlink's containing
1848
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
624
set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
1849
625
if test "$*" = "X"; then
1850
626
# -L didn't work.
1851
set X `ls -t $srcdir/configure conftest.file`
627
set X `ls -t $srcdir/configure conftestfile`
1854
if test "$*" != "X $srcdir/configure conftest.file" \
1855
&& test "$*" != "X conftest.file $srcdir/configure"; then
629
if test "$*" != "X $srcdir/configure conftestfile" \
630
&& test "$*" != "X conftestfile $srcdir/configure"; then
1857
632
# If neither matched, then we have a broken ls. This can happen
1858
633
# if, for instance, CONFIG_SHELL is bash and it inherits a
1859
634
# broken ls alias from the environment. This has actually
1860
635
# happened. Such a system could not be considered "sane".
1861
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1862
alias in your environment" >&5
1863
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1864
alias in your environment" >&2;}
1865
{ (exit 1); exit 1; }; }
636
{ echo "configure: error: ls -t appears to fail. Make sure there is not a broken
637
alias in your environment" 1>&2; exit 1; }
1868
test "$2" = conftest.file
640
test "$2" = conftestfile
1874
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1875
Check your system clock" >&5
1876
echo "$as_me: error: newly created file is older than distributed files!
1877
Check your system clock" >&2;}
1878
{ (exit 1); exit 1; }; }
1880
{ echo "$as_me:$LINENO: result: yes" >&5
1881
echo "${ECHO_T}yes" >&6; }
646
{ echo "configure: error: newly created file is older than distributed files!
647
Check your system clock" 1>&2; exit 1; }
650
echo "$ac_t""yes" 1>&6
651
if test "$program_transform_name" = s,x,x,; then
652
program_transform_name=
654
# Double any \ or $. echo might interpret backslashes.
655
cat <<\EOF_SED > conftestsed
656
s,\\,\\\\,g; s,\$,$$,g
658
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
1882
661
test "$program_prefix" != NONE &&
1883
program_transform_name="s&^&$program_prefix&;$program_transform_name"
662
program_transform_name="s,^,${program_prefix},; $program_transform_name"
1884
663
# Use a double $ so make ignores it.
1885
664
test "$program_suffix" != NONE &&
1886
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1887
# Double any \ or $. echo might interpret backslashes.
1888
# By default was `s,x,x', remove it if useless.
1889
cat <<\_ACEOF >conftest.sed
1890
s/[\\$]/&&/g;s/;s,x,x,$//
1892
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1895
# expand $ac_aux_dir to an absolute path
1896
am_aux_dir=`cd $ac_aux_dir && pwd`
1898
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1899
# Use eval to expand $SHELL
1900
if eval "$MISSING --run true"; then
1901
am_missing_run="$MISSING --run "
1904
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1905
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1908
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1909
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1910
if test -z "$MKDIR_P"; then
1911
if test "${ac_cv_path_mkdir+set}" = set; then
1912
echo $ECHO_N "(cached) $ECHO_C" >&6
1914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1915
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1918
test -z "$as_dir" && as_dir=.
1919
for ac_prog in mkdir gmkdir; do
1920
for ac_exec_ext in '' $ac_executable_extensions; do
1921
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1922
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
1923
'mkdir (GNU coreutils) '* | \
1924
'mkdir (coreutils) '* | \
1925
'mkdir (fileutils) '4.1*)
1926
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
1936
if test "${ac_cv_path_mkdir+set}" = set; then
1937
MKDIR_P="$ac_cv_path_mkdir -p"
1939
# As a last resort, use the slow shell script. Don't cache a
1940
# value for MKDIR_P within a source directory, because that will
1941
# break other packages using the cache if that directory is
1942
# removed, or if the value is a relative name.
1943
test -d ./--version && rmdir ./--version
1944
MKDIR_P="$ac_install_sh -d"
1947
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
1948
echo "${ECHO_T}$MKDIR_P" >&6; }
1952
[\\/$]* | ?:[\\/]*) ;;
1953
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
1956
for ac_prog in gawk mawk nawk awk
1958
# Extract the first word of "$ac_prog", so it can be a program name with args.
1959
set dummy $ac_prog; ac_word=$2
1960
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1961
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1962
if test "${ac_cv_prog_AWK+set}" = set; then
1963
echo $ECHO_N "(cached) $ECHO_C" >&6
1965
if test -n "$AWK"; then
1966
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972
test -z "$as_dir" && as_dir=.
1973
for ac_exec_ext in '' $ac_executable_extensions; do
1974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1975
ac_cv_prog_AWK="$ac_prog"
1976
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1986
if test -n "$AWK"; then
1987
{ echo "$as_me:$LINENO: result: $AWK" >&5
1988
echo "${ECHO_T}$AWK" >&6; }
1990
{ echo "$as_me:$LINENO: result: no" >&5
1991
echo "${ECHO_T}no" >&6; }
1995
test -n "$AWK" && break
1998
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1999
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2000
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2001
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2002
echo $ECHO_N "(cached) $ECHO_C" >&6
2004
cat >conftest.make <<\_ACEOF
665
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
667
# sed with no file args requires a program.
668
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
670
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
671
echo "configure:672: checking whether ${MAKE-make} sets \${MAKE}" >&5
672
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
673
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
674
echo $ac_n "(cached) $ac_c" 1>&6
676
cat > conftestmake <<\EOF
2007
@echo '@@@%%%=$(MAKE)=@@@%%%'
678
@echo 'ac_maketemp="${MAKE}"'
2009
680
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2010
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2012
eval ac_cv_prog_make_${ac_make}_set=yes;;
2014
eval ac_cv_prog_make_${ac_make}_set=no;;
2018
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2019
{ echo "$as_me:$LINENO: result: yes" >&5
2020
echo "${ECHO_T}yes" >&6; }
681
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
682
if test -n "$ac_maketemp"; then
683
eval ac_cv_prog_make_${ac_make}_set=yes
685
eval ac_cv_prog_make_${ac_make}_set=no
689
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
690
echo "$ac_t""yes" 1>&6
2023
{ echo "$as_me:$LINENO: result: no" >&5
2024
echo "${ECHO_T}no" >&6; }
693
echo "$ac_t""no" 1>&6
2025
694
SET_MAKE="MAKE=${MAKE-make}"
2028
rm -rf .tst 2>/dev/null
2029
mkdir .tst 2>/dev/null
2030
if test -d .tst; then
2035
rmdir .tst 2>/dev/null
2037
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2038
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2039
# is not polluted with repeated "-I."
2040
am__isrc=' -I$(srcdir)'
2041
# test to see if srcdir already configured
2042
if test -f $srcdir/config.status; then
2043
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2044
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2045
{ (exit 1); exit 1; }; }
2049
# test whether we have cygpath
2050
if test -z "$CYGPATH_W"; then
2051
if (cygpath --version) >/dev/null 2>/dev/null; then
2052
CYGPATH_W='cygpath -w'
2059
# Define the identity of the package.
2064
cat >>confdefs.h <<_ACEOF
702
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
703
{ echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
705
cat >> confdefs.h <<EOF
2065
706
#define PACKAGE "$PACKAGE"
2069
cat >>confdefs.h <<_ACEOF
709
cat >> confdefs.h <<EOF
2070
710
#define VERSION "$VERSION"
2073
# Some tools Automake needs.
2075
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2078
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2081
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2084
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2087
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2089
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2091
# Installed binaries are usually stripped using `strip' when the user
2092
# run `make install-strip'. However `strip' might not be the right
2093
# tool to use in cross-compilation environments, therefore Automake
2094
# will honor the `STRIP' environment variable to overrule this program.
2095
if test "$cross_compiling" != no; then
2096
if test -n "$ac_tool_prefix"; then
2097
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098
set dummy ${ac_tool_prefix}strip; ac_word=$2
2099
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2100
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2101
if test "${ac_cv_prog_STRIP+set}" = set; then
2102
echo $ECHO_N "(cached) $ECHO_C" >&6
2104
if test -n "$STRIP"; then
2105
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111
test -z "$as_dir" && as_dir=.
2112
for ac_exec_ext in '' $ac_executable_extensions; do
2113
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2114
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124
STRIP=$ac_cv_prog_STRIP
2125
if test -n "$STRIP"; then
2126
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2127
echo "${ECHO_T}$STRIP" >&6; }
2129
{ echo "$as_me:$LINENO: result: no" >&5
2130
echo "${ECHO_T}no" >&6; }
2135
if test -z "$ac_cv_prog_STRIP"; then
2137
# Extract the first word of "strip", so it can be a program name with args.
2138
set dummy strip; ac_word=$2
2139
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2140
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2141
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2142
echo $ECHO_N "(cached) $ECHO_C" >&6
2144
if test -n "$ac_ct_STRIP"; then
2145
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151
test -z "$as_dir" && as_dir=.
2152
for ac_exec_ext in '' $ac_executable_extensions; do
2153
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2154
ac_cv_prog_ac_ct_STRIP="strip"
2155
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2165
if test -n "$ac_ct_STRIP"; then
2166
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2167
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2169
{ echo "$as_me:$LINENO: result: no" >&5
2170
echo "${ECHO_T}no" >&6; }
2173
if test "x$ac_ct_STRIP" = x; then
2176
case $cross_compiling:$ac_tool_warned in
2178
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2179
whose name does not start with the host triplet. If you think this
2180
configuration is useful to you, please write to autoconf@gnu.org." >&5
2181
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2182
whose name does not start with the host triplet. If you think this
2183
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2184
ac_tool_warned=yes ;;
2189
STRIP="$ac_cv_prog_STRIP"
2193
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2195
# We need awk for the "check" target. The system "awk" is bad on
2197
# Always define AMTAR for backward compatibility.
2199
AMTAR=${AMTAR-"${am_missing_run}tar"}
2201
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
715
missing_dir=`cd $ac_aux_dir && pwd`
716
echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
717
echo "configure:718: checking for working aclocal-${am__api_version}" >&5
718
# Run test in a subshell; some versions of sh will print an error if
719
# an executable is not found, even if stderr is redirected.
720
# Redirect stdin to placate older versions of autoconf. Sigh.
721
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
722
ACLOCAL=aclocal-${am__api_version}
723
echo "$ac_t""found" 1>&6
725
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
726
echo "$ac_t""missing" 1>&6
729
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
730
echo "configure:731: checking for working autoconf" >&5
731
# Run test in a subshell; some versions of sh will print an error if
732
# an executable is not found, even if stderr is redirected.
733
# Redirect stdin to placate older versions of autoconf. Sigh.
734
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
736
echo "$ac_t""found" 1>&6
738
AUTOCONF="$missing_dir/missing autoconf"
739
echo "$ac_t""missing" 1>&6
742
echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
743
echo "configure:744: checking for working automake-${am__api_version}" >&5
744
# Run test in a subshell; some versions of sh will print an error if
745
# an executable is not found, even if stderr is redirected.
746
# Redirect stdin to placate older versions of autoconf. Sigh.
747
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
748
AUTOMAKE=automake-${am__api_version}
749
echo "$ac_t""found" 1>&6
751
AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
752
echo "$ac_t""missing" 1>&6
755
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
756
echo "configure:757: checking for working autoheader" >&5
757
# Run test in a subshell; some versions of sh will print an error if
758
# an executable is not found, even if stderr is redirected.
759
# Redirect stdin to placate older versions of autoconf. Sigh.
760
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
761
AUTOHEADER=autoheader
762
echo "$ac_t""found" 1>&6
764
AUTOHEADER="$missing_dir/missing autoheader"
765
echo "$ac_t""missing" 1>&6
768
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
769
echo "configure:770: checking for working makeinfo" >&5
770
# Run test in a subshell; some versions of sh will print an error if
771
# an executable is not found, even if stderr is redirected.
772
# Redirect stdin to placate older versions of autoconf. Sigh.
773
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
775
echo "$ac_t""found" 1>&6
777
MAKEINFO="$missing_dir/missing makeinfo"
778
echo "$ac_t""missing" 1>&6
2217
792
# SunOS /usr/etc/install
2218
793
# IRIX /sbin/install
2219
794
# AIX /bin/install
2220
# AmigaOS /C/install, which installs bootblocks on floppy discs
2221
795
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2222
796
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2223
797
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2224
# OS/2's system install, which has a completely different semantic
2225
798
# ./install, which can be erroneously created by make from ./install.sh.
2226
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2227
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
799
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
800
echo "configure:801: checking for a BSD compatible install" >&5
2228
801
if test -z "$INSTALL"; then
2229
if test "${ac_cv_path_install+set}" = set; then
2230
echo $ECHO_N "(cached) $ECHO_C" >&6
802
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
803
echo $ac_n "(cached) $ac_c" 1>&6
2232
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236
test -z "$as_dir" && as_dir=.
2237
# Account for people who put trailing slashes in PATH elements.
2239
./ | .// | /cC/* | \
2240
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2241
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2244
# OSF1 and SCO ODT 3.0 have their own names for install.
2245
# Don't use installbsd from OSF since it installs stuff as root
2247
for ac_prog in ginstall scoinst install; do
2248
for ac_exec_ext in '' $ac_executable_extensions; do
2249
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
805
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
806
for ac_dir in $PATH; do
807
# Account for people who put trailing slashes in PATH elements.
809
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
811
# OSF1 and SCO ODT 3.0 have their own names for install.
812
# Don't use installbsd from OSF since it installs stuff as root
814
for ac_prog in ginstall scoinst install; do
815
if test -f $ac_dir/$ac_prog; then
2250
816
if test $ac_prog = install &&
2251
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
817
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
2252
818
# AIX install. It has an incompatible calling convention.
2254
elif test $ac_prog = install &&
2255
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2256
# program-specific install script used by HP pwplus--don't use.
2259
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
821
ac_cv_path_install="$ac_dir/$ac_prog -c"
2272
832
if test "${ac_cv_path_install+set}" = set; then
2273
INSTALL=$ac_cv_path_install
833
INSTALL="$ac_cv_path_install"
2275
# As a last resort, use the slow shell script. Don't cache a
2276
# value for INSTALL within a source directory, because that will
835
# As a last resort, use the slow shell script. We don't cache a
836
# path for INSTALL within a source directory, because that will
2277
837
# break other packages using the cache if that directory is
2278
# removed, or if the value is a relative name.
2279
INSTALL=$ac_install_sh
838
# removed, or if the path is relative.
839
INSTALL="$ac_install_sh"
2282
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2283
echo "${ECHO_T}$INSTALL" >&6; }
842
echo "$ac_t""$INSTALL" 1>&6
2285
844
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2286
845
# It thinks the first close brace ends the variable substitution.
2287
846
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2289
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
848
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
2291
850
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2294
ac_cpp='$CPP $CPPFLAGS'
2295
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2296
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2297
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2298
if test -n "$ac_tool_prefix"; then
2299
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2300
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2301
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2302
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2303
if test "${ac_cv_prog_CC+set}" = set; then
2304
echo $ECHO_N "(cached) $ECHO_C" >&6
2306
if test -n "$CC"; then
2307
ac_cv_prog_CC="$CC" # Let the user override the test.
2309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313
test -z "$as_dir" && as_dir=.
2314
for ac_exec_ext in '' $ac_executable_extensions; do
2315
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2316
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2317
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2327
if test -n "$CC"; then
2328
{ echo "$as_me:$LINENO: result: $CC" >&5
2329
echo "${ECHO_T}$CC" >&6; }
2331
{ echo "$as_me:$LINENO: result: no" >&5
2332
echo "${ECHO_T}no" >&6; }
2337
if test -z "$ac_cv_prog_CC"; then
2339
# Extract the first word of "gcc", so it can be a program name with args.
852
# Extract the first word of "gcc", so it can be a program name with args.
2340
853
set dummy gcc; ac_word=$2
2341
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2342
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2343
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2344
echo $ECHO_N "(cached) $ECHO_C" >&6
2346
if test -n "$ac_ct_CC"; then
2347
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2353
test -z "$as_dir" && as_dir=.
2354
for ac_exec_ext in '' $ac_executable_extensions; do
2355
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2356
ac_cv_prog_ac_ct_CC="gcc"
2357
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2366
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2367
if test -n "$ac_ct_CC"; then
2368
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2369
echo "${ECHO_T}$ac_ct_CC" >&6; }
2371
{ echo "$as_me:$LINENO: result: no" >&5
2372
echo "${ECHO_T}no" >&6; }
2375
if test "x$ac_ct_CC" = x; then
2378
case $cross_compiling:$ac_tool_warned in
2380
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2381
whose name does not start with the host triplet. If you think this
2382
configuration is useful to you, please write to autoconf@gnu.org." >&5
2383
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2384
whose name does not start with the host triplet. If you think this
2385
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2386
ac_tool_warned=yes ;;
2394
if test -z "$CC"; then
2395
if test -n "$ac_tool_prefix"; then
2396
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2397
set dummy ${ac_tool_prefix}cc; ac_word=$2
2398
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2399
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2400
if test "${ac_cv_prog_CC+set}" = set; then
2401
echo $ECHO_N "(cached) $ECHO_C" >&6
854
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
855
echo "configure:856: checking for $ac_word" >&5
856
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
857
echo $ac_n "(cached) $ac_c" 1>&6
2403
859
if test -n "$CC"; then
2404
860
ac_cv_prog_CC="$CC" # Let the user override the test.
2406
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2410
test -z "$as_dir" && as_dir=.
2411
for ac_exec_ext in '' $ac_executable_extensions; do
2412
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2413
ac_cv_prog_CC="${ac_tool_prefix}cc"
2414
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
862
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
864
for ac_dir in $ac_dummy; do
865
test -z "$ac_dir" && ac_dir=.
866
if test -f $ac_dir/$ac_word; then
2424
875
if test -n "$CC"; then
2425
{ echo "$as_me:$LINENO: result: $CC" >&5
2426
echo "${ECHO_T}$CC" >&6; }
876
echo "$ac_t""$CC" 1>&6
2428
{ echo "$as_me:$LINENO: result: no" >&5
2429
echo "${ECHO_T}no" >&6; }
878
echo "$ac_t""no" 1>&6
2435
881
if test -z "$CC"; then
2436
882
# Extract the first word of "cc", so it can be a program name with args.
2437
883
set dummy cc; ac_word=$2
2438
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2439
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2440
if test "${ac_cv_prog_CC+set}" = set; then
2441
echo $ECHO_N "(cached) $ECHO_C" >&6
884
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
885
echo "configure:886: checking for $ac_word" >&5
886
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
887
echo $ac_n "(cached) $ac_c" 1>&6
2443
889
if test -n "$CC"; then
2444
890
ac_cv_prog_CC="$CC" # Let the user override the test.
892
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2446
893
ac_prog_rejected=no
2447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2451
test -z "$as_dir" && as_dir=.
2452
for ac_exec_ext in '' $ac_executable_extensions; do
2453
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2454
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2455
ac_prog_rejected=yes
2459
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
895
for ac_dir in $ac_dummy; do
896
test -z "$ac_dir" && ac_dir=.
897
if test -f $ac_dir/$ac_word; then
898
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
2466
907
if test $ac_prog_rejected = yes; then
2467
908
# We found a bogon in the path, so make sure we never use it.
2468
909
set dummy $ac_cv_prog_CC
2470
if test $# != 0; then
911
if test $# -gt 0; then
2471
912
# We chose a different compiler from the bogus one.
2472
913
# However, it has the same basename, so the bogon will be chosen
2473
914
# first if we set CC to just the basename; use the full file name.
2475
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
916
set dummy "$ac_dir/$ac_word" "$@"
2481
924
if test -n "$CC"; then
2482
{ echo "$as_me:$LINENO: result: $CC" >&5
2483
echo "${ECHO_T}$CC" >&6; }
925
echo "$ac_t""$CC" 1>&6
2485
{ echo "$as_me:$LINENO: result: no" >&5
2486
echo "${ECHO_T}no" >&6; }
2491
if test -z "$CC"; then
2492
if test -n "$ac_tool_prefix"; then
2493
for ac_prog in cl.exe
2495
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2496
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2497
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2498
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2499
if test "${ac_cv_prog_CC+set}" = set; then
2500
echo $ECHO_N "(cached) $ECHO_C" >&6
927
echo "$ac_t""no" 1>&6
930
if test -z "$CC"; then
933
# Extract the first word of "cl", so it can be a program name with args.
934
set dummy cl; ac_word=$2
935
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
936
echo "configure:937: checking for $ac_word" >&5
937
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
938
echo $ac_n "(cached) $ac_c" 1>&6
2502
940
if test -n "$CC"; then
2503
941
ac_cv_prog_CC="$CC" # Let the user override the test.
2505
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509
test -z "$as_dir" && as_dir=.
2510
for ac_exec_ext in '' $ac_executable_extensions; do
2511
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2512
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2513
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2523
if test -n "$CC"; then
2524
{ echo "$as_me:$LINENO: result: $CC" >&5
2525
echo "${ECHO_T}$CC" >&6; }
2527
{ echo "$as_me:$LINENO: result: no" >&5
2528
echo "${ECHO_T}no" >&6; }
2532
test -n "$CC" && break
943
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
945
for ac_dir in $ac_dummy; do
946
test -z "$ac_dir" && ac_dir=.
947
if test -f $ac_dir/$ac_word; then
2535
if test -z "$CC"; then
2537
for ac_prog in cl.exe
2539
# Extract the first word of "$ac_prog", so it can be a program name with args.
2540
set dummy $ac_prog; ac_word=$2
2541
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2542
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2543
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2544
echo $ECHO_N "(cached) $ECHO_C" >&6
2546
if test -n "$ac_ct_CC"; then
2547
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2549
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553
test -z "$as_dir" && as_dir=.
2554
for ac_exec_ext in '' $ac_executable_extensions; do
2555
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2556
ac_cv_prog_ac_ct_CC="$ac_prog"
2557
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2566
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2567
if test -n "$ac_ct_CC"; then
2568
{ echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2569
echo "${ECHO_T}$ac_ct_CC" >&6; }
2571
{ echo "$as_me:$LINENO: result: no" >&5
2572
echo "${ECHO_T}no" >&6; }
2576
test -n "$ac_ct_CC" && break
2579
if test "x$ac_ct_CC" = x; then
2582
case $cross_compiling:$ac_tool_warned in
2584
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2585
whose name does not start with the host triplet. If you think this
2586
configuration is useful to you, please write to autoconf@gnu.org." >&5
2587
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2588
whose name does not start with the host triplet. If you think this
2589
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2590
ac_tool_warned=yes ;;
2599
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2600
See \`config.log' for more details." >&5
2601
echo "$as_me: error: no acceptable C compiler found in \$PATH
2602
See \`config.log' for more details." >&2;}
2603
{ (exit 1); exit 1; }; }
2605
# Provide some information about the compiler.
2606
echo "$as_me:$LINENO: checking for C compiler version" >&5
2607
ac_compiler=`set X $ac_compile; echo $2`
2608
{ (ac_try="$ac_compiler --version >&5"
2610
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611
*) ac_try_echo=$ac_try;;
2613
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614
(eval "$ac_compiler --version >&5") 2>&5
2616
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617
(exit $ac_status); }
2618
{ (ac_try="$ac_compiler -v >&5"
2620
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2621
*) ac_try_echo=$ac_try;;
2623
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2624
(eval "$ac_compiler -v >&5") 2>&5
2626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627
(exit $ac_status); }
2628
{ (ac_try="$ac_compiler -V >&5"
2630
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631
*) ac_try_echo=$ac_try;;
2633
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2634
(eval "$ac_compiler -V >&5") 2>&5
2636
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637
(exit $ac_status); }
2639
cat >conftest.$ac_ext <<_ACEOF
2642
cat confdefs.h >>conftest.$ac_ext
2643
cat >>conftest.$ac_ext <<_ACEOF
2644
/* end confdefs.h. */
2654
ac_clean_files_save=$ac_clean_files
2655
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2656
# Try to create an executable without -o first, disregard a.out.
2657
# It will help us diagnose broken compilers, and finding out an intuition
2659
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2660
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2661
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2663
# List of possible output files, starting from the most likely.
2664
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2665
# only as a last resort. b.out is created by i960 compilers.
2666
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2668
# The IRIX 6 linker writes into existing files which may not be
2669
# executable, retaining their permissions. Remove them first so a
2670
# subsequent execution test works.
2672
for ac_file in $ac_files
2675
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2676
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2681
if { (ac_try="$ac_link_default"
2683
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684
*) ac_try_echo=$ac_try;;
2686
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2687
(eval "$ac_link_default") 2>&5
2689
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690
(exit $ac_status); }; then
2691
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2692
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2693
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2694
# so that the user can short-circuit this test for compilers unknown to
2696
for ac_file in $ac_files ''
2698
test -f "$ac_file" || continue
2700
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2703
# We found the default executable, but exeext='' is most
2707
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2709
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2711
# We set ac_cv_exeext here because the later test for it is not
2712
# safe: cross compilers may not add the suffix if given an `-o'
2713
# argument, so we may need to know it at that point already.
2714
# Even if this section looks crufty: it has the advantage of
2721
test "$ac_cv_exeext" = no && ac_cv_exeext=
2727
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2728
echo "${ECHO_T}$ac_file" >&6; }
2729
if test -z "$ac_file"; then
2730
echo "$as_me: failed program was:" >&5
2731
sed 's/^/| /' conftest.$ac_ext >&5
2733
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2734
See \`config.log' for more details." >&5
2735
echo "$as_me: error: C compiler cannot create executables
2736
See \`config.log' for more details." >&2;}
2737
{ (exit 77); exit 77; }; }
2740
ac_exeext=$ac_cv_exeext
2742
# Check that the compiler produces executables we can run. If not, either
2743
# the compiler is broken, or we cross compile.
2744
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2745
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2746
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2747
# If not cross compiling, check that we can run a simple program.
2748
if test "$cross_compiling" != yes; then
2749
if { ac_try='./$ac_file'
2750
{ (case "(($ac_try" in
2751
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752
*) ac_try_echo=$ac_try;;
2754
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2755
(eval "$ac_try") 2>&5
2757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758
(exit $ac_status); }; }; then
2761
if test "$cross_compiling" = maybe; then
2764
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2765
If you meant to cross compile, use \`--host'.
2766
See \`config.log' for more details." >&5
2767
echo "$as_me: error: cannot run C compiled programs.
2768
If you meant to cross compile, use \`--host'.
2769
See \`config.log' for more details." >&2;}
2770
{ (exit 1); exit 1; }; }
2774
{ echo "$as_me:$LINENO: result: yes" >&5
2775
echo "${ECHO_T}yes" >&6; }
2777
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2778
ac_clean_files=$ac_clean_files_save
2779
# Check that the compiler produces executables we can run. If not, either
2780
# the compiler is broken, or we cross compile.
2781
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2782
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2783
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2784
echo "${ECHO_T}$cross_compiling" >&6; }
2786
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2787
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2788
if { (ac_try="$ac_link"
2790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2791
*) ac_try_echo=$ac_try;;
2793
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2794
(eval "$ac_link") 2>&5
2796
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797
(exit $ac_status); }; then
2798
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2799
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2800
# work properly (i.e., refer to `conftest.exe'), while it won't with
2802
for ac_file in conftest.exe conftest conftest.*; do
2803
test -f "$ac_file" || continue
2805
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2806
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2812
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2813
See \`config.log' for more details." >&5
2814
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2815
See \`config.log' for more details." >&2;}
2816
{ (exit 1); exit 1; }; }
2819
rm -f conftest$ac_cv_exeext
2820
{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2821
echo "${ECHO_T}$ac_cv_exeext" >&6; }
2823
rm -f conftest.$ac_ext
2824
EXEEXT=$ac_cv_exeext
2826
{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2827
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2828
if test "${ac_cv_objext+set}" = set; then
2829
echo $ECHO_N "(cached) $ECHO_C" >&6
2831
cat >conftest.$ac_ext <<_ACEOF
2834
cat confdefs.h >>conftest.$ac_ext
2835
cat >>conftest.$ac_ext <<_ACEOF
2836
/* end confdefs.h. */
2846
rm -f conftest.o conftest.obj
2847
if { (ac_try="$ac_compile"
2849
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850
*) ac_try_echo=$ac_try;;
2852
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2853
(eval "$ac_compile") 2>&5
2855
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856
(exit $ac_status); }; then
2857
for ac_file in conftest.o conftest.obj conftest.*; do
2858
test -f "$ac_file" || continue;
2860
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2861
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2866
echo "$as_me: failed program was:" >&5
2867
sed 's/^/| /' conftest.$ac_ext >&5
2869
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2870
See \`config.log' for more details." >&5
2871
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2872
See \`config.log' for more details." >&2;}
2873
{ (exit 1); exit 1; }; }
2876
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2878
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2879
echo "${ECHO_T}$ac_cv_objext" >&6; }
2880
OBJEXT=$ac_cv_objext
2882
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2883
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2884
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2885
echo $ECHO_N "(cached) $ECHO_C" >&6
2887
cat >conftest.$ac_ext <<_ACEOF
2890
cat confdefs.h >>conftest.$ac_ext
2891
cat >>conftest.$ac_ext <<_ACEOF
2892
/* end confdefs.h. */
956
if test -n "$CC"; then
957
echo "$ac_t""$CC" 1>&6
959
echo "$ac_t""no" 1>&6
964
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
967
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
968
echo "configure:969: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
971
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
972
ac_cpp='$CPP $CPPFLAGS'
973
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
974
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
975
cross_compiling=$ac_cv_prog_cc_cross
977
cat > conftest.$ac_ext << EOF
979
#line 980 "configure"
980
#include "confdefs.h"
984
if { (eval echo configure:985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
985
ac_cv_prog_cc_works=yes
986
# If we can't run a trivial program, we are probably using a cross compiler.
987
if (./conftest; exit) 2>/dev/null; then
988
ac_cv_prog_cc_cross=no
990
ac_cv_prog_cc_cross=yes
993
echo "configure: failed program was:" >&5
994
cat conftest.$ac_ext >&5
995
ac_cv_prog_cc_works=no
999
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1000
ac_cpp='$CPP $CPPFLAGS'
1001
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1002
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1003
cross_compiling=$ac_cv_prog_cc_cross
1005
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1006
if test $ac_cv_prog_cc_works = no; then
1007
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1009
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1010
echo "configure:1011: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1011
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1012
cross_compiling=$ac_cv_prog_cc_cross
1014
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1015
echo "configure:1016: checking whether we are using GNU C" >&5
1016
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1017
echo $ac_n "(cached) $ac_c" 1>&6
1019
cat > conftest.c <<EOF
2905
rm -f conftest.$ac_objext
2906
if { (ac_try="$ac_compile"
2908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909
*) ac_try_echo=$ac_try;;
2911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912
(eval "$ac_compile") 2>conftest.er1
2914
grep -v '^ *+' conftest.er1 >conftest.err
2916
cat conftest.err >&5
2917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
(exit $ac_status); } && {
2919
test -z "$ac_c_werror_flag" ||
2920
test ! -s conftest.err
2921
} && test -s conftest.$ac_objext; then
2924
echo "$as_me: failed program was:" >&5
2925
sed 's/^/| /' conftest.$ac_ext >&5
2930
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2934
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2935
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2936
GCC=`test $ac_compiler_gnu = yes && echo yes`
2937
ac_test_CFLAGS=${CFLAGS+set}
2938
ac_save_CFLAGS=$CFLAGS
2939
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2940
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2941
if test "${ac_cv_prog_cc_g+set}" = set; then
2942
echo $ECHO_N "(cached) $ECHO_C" >&6
2944
ac_save_c_werror_flag=$ac_c_werror_flag
2945
ac_c_werror_flag=yes
2948
cat >conftest.$ac_ext <<_ACEOF
2951
cat confdefs.h >>conftest.$ac_ext
2952
cat >>conftest.$ac_ext <<_ACEOF
2953
/* end confdefs.h. */
2963
rm -f conftest.$ac_objext
2964
if { (ac_try="$ac_compile"
2966
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2967
*) ac_try_echo=$ac_try;;
2969
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2970
(eval "$ac_compile") 2>conftest.er1
2972
grep -v '^ *+' conftest.er1 >conftest.err
2974
cat conftest.err >&5
2975
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2976
(exit $ac_status); } && {
2977
test -z "$ac_c_werror_flag" ||
2978
test ! -s conftest.err
2979
} && test -s conftest.$ac_objext; then
2982
echo "$as_me: failed program was:" >&5
2983
sed 's/^/| /' conftest.$ac_ext >&5
2986
cat >conftest.$ac_ext <<_ACEOF
2989
cat confdefs.h >>conftest.$ac_ext
2990
cat >>conftest.$ac_ext <<_ACEOF
2991
/* end confdefs.h. */
3001
rm -f conftest.$ac_objext
3002
if { (ac_try="$ac_compile"
3004
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3005
*) ac_try_echo=$ac_try;;
3007
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3008
(eval "$ac_compile") 2>conftest.er1
3010
grep -v '^ *+' conftest.er1 >conftest.err
3012
cat conftest.err >&5
3013
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3014
(exit $ac_status); } && {
3015
test -z "$ac_c_werror_flag" ||
3016
test ! -s conftest.err
3017
} && test -s conftest.$ac_objext; then
3020
echo "$as_me: failed program was:" >&5
3021
sed 's/^/| /' conftest.$ac_ext >&5
3023
ac_c_werror_flag=$ac_save_c_werror_flag
3025
cat >conftest.$ac_ext <<_ACEOF
3028
cat confdefs.h >>conftest.$ac_ext
3029
cat >>conftest.$ac_ext <<_ACEOF
3030
/* end confdefs.h. */
3040
rm -f conftest.$ac_objext
3041
if { (ac_try="$ac_compile"
3043
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044
*) ac_try_echo=$ac_try;;
3046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3047
(eval "$ac_compile") 2>conftest.er1
3049
grep -v '^ *+' conftest.er1 >conftest.err
3051
cat conftest.err >&5
3052
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053
(exit $ac_status); } && {
3054
test -z "$ac_c_werror_flag" ||
3055
test ! -s conftest.err
3056
} && test -s conftest.$ac_objext; then
3059
echo "$as_me: failed program was:" >&5
3060
sed 's/^/| /' conftest.$ac_ext >&5
3065
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3068
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3071
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3072
ac_c_werror_flag=$ac_save_c_werror_flag
3074
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3075
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
1024
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1025: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1031
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1033
if test $ac_cv_prog_gcc = yes; then
1039
ac_test_CFLAGS="${CFLAGS+set}"
1040
ac_save_CFLAGS="$CFLAGS"
1042
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1043
echo "configure:1044: checking whether ${CC-cc} accepts -g" >&5
1044
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1045
echo $ac_n "(cached) $ac_c" 1>&6
1047
echo 'void f(){}' > conftest.c
1048
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1057
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
3076
1058
if test "$ac_test_CFLAGS" = set; then
3077
CFLAGS=$ac_save_CFLAGS
1059
CFLAGS="$ac_save_CFLAGS"
3078
1060
elif test $ac_cv_prog_cc_g = yes; then
3079
1061
if test "$GCC" = yes; then
3080
1062
CFLAGS="-g -O2"
3091
{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3092
echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3093
if test "${ac_cv_prog_cc_c89+set}" = set; then
3094
echo $ECHO_N "(cached) $ECHO_C" >&6
3096
ac_cv_prog_cc_c89=no
3098
cat >conftest.$ac_ext <<_ACEOF
3101
cat confdefs.h >>conftest.$ac_ext
3102
cat >>conftest.$ac_ext <<_ACEOF
3103
/* end confdefs.h. */
3106
#include <sys/types.h>
3107
#include <sys/stat.h>
3108
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3109
struct buf { int x; };
3110
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3111
static char *e (p, i)
3117
static char *f (char * (*g) (char **, int), char **p, ...)
3122
s = g (p, va_arg (v,int));
3127
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3128
function prototypes and stuff, but not '\xHH' hex character constants.
3129
These don't provoke an error unfortunately, instead are silently treated
3130
as 'x'. The following induces an error, until -std is added to get
3131
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3132
array size at least. It's necessary to write '\x00'==0 to get something
3133
that's true only with -std. */
3134
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3136
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3137
inside strings and character constants. */
3139
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3141
int test (int i, double x);
3142
struct s1 {int (*f) (int a);};
3143
struct s2 {int (*f) (double a);};
3144
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3150
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3155
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3156
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3158
CC="$ac_save_CC $ac_arg"
3159
rm -f conftest.$ac_objext
3160
if { (ac_try="$ac_compile"
3162
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163
*) ac_try_echo=$ac_try;;
3165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166
(eval "$ac_compile") 2>conftest.er1
3168
grep -v '^ *+' conftest.er1 >conftest.err
3170
cat conftest.err >&5
3171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
(exit $ac_status); } && {
3173
test -z "$ac_c_werror_flag" ||
3174
test ! -s conftest.err
3175
} && test -s conftest.$ac_objext; then
3176
ac_cv_prog_cc_c89=$ac_arg
3178
echo "$as_me: failed program was:" >&5
3179
sed 's/^/| /' conftest.$ac_ext >&5
3184
rm -f core conftest.err conftest.$ac_objext
3185
test "x$ac_cv_prog_cc_c89" != "xno" && break
3187
rm -f conftest.$ac_ext
3192
case "x$ac_cv_prog_cc_c89" in
3194
{ echo "$as_me:$LINENO: result: none needed" >&5
3195
echo "${ECHO_T}none needed" >&6; } ;;
3197
{ echo "$as_me:$LINENO: result: unsupported" >&5
3198
echo "${ECHO_T}unsupported" >&6; } ;;
3200
CC="$CC $ac_cv_prog_cc_c89"
3201
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3202
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3207
ac_cpp='$CPP $CPPFLAGS'
3208
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3209
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3210
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211
DEPDIR="${am__leading_dot}deps"
3213
ac_config_commands="$ac_config_commands depfiles"
3216
am_make=${MAKE-make}
3217
cat > confinc << 'END'
3222
# If we don't find an include directive, just comment out the code.
3223
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3224
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3228
# First try GNU make style include.
3229
echo "include confinc" > confmf
3230
# We grep out `Entering directory' and `Leaving directory'
3231
# messages which can occur if `w' ends up in MAKEFLAGS.
3232
# In particular we don't look at `^make:' because GNU make might
3233
# be invoked under some other name (usually "gmake"), in which
3234
# case it prints its new name instead of `make'.
3235
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3240
# Now try BSD make style include.
3241
if test "$am__include" = "#"; then
3242
echo '.include "confinc"' > confmf
3243
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3244
am__include=.include
3251
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3252
echo "${ECHO_T}$_am_result" >&6; }
3253
rm -f confinc confmf
3255
# Check whether --enable-dependency-tracking was given.
3256
if test "${enable_dependency_tracking+set}" = set; then
3257
enableval=$enable_dependency_tracking;
3260
if test "x$enable_dependency_tracking" != xno; then
3261
am_depcomp="$ac_aux_dir/depcomp"
3264
if test "x$enable_dependency_tracking" != xno; then
3274
depcc="$CC" am_compiler_list=
3276
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3277
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3278
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3279
echo $ECHO_N "(cached) $ECHO_C" >&6
3281
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3282
# We make a subdir and do the tests there. Otherwise we can end up
3283
# making bogus files that we don't know about and never remove. For
3284
# instance it was reported that on HP-UX the gcc test will end up
3285
# making a dummy file named `D' -- because `-MD' means `put the output
3288
# Copy depcomp to subdir because otherwise we won't find it if we're
3289
# using a relative directory.
3290
cp "$am_depcomp" conftest.dir
3292
# We will build objects and dependencies in a subdirectory because
3293
# it helps to detect inapplicable dependency modes. For instance
3294
# both Tru64's cc and ICC support -MD to output dependencies as a
3295
# side effect of compilation, but ICC will put the dependencies in
3296
# the current directory while Tru64 will put them in the object
3300
am_cv_CC_dependencies_compiler_type=none
3301
if test "$am_compiler_list" = ""; then
3302
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3304
for depmode in $am_compiler_list; do
3305
# Setup a source with many dependencies, because some compilers
3306
# like to wrap large dependency lists on column 80 (with \), and
3307
# we should not choose a depcomp mode which is confused by this.
3309
# We need to recreate these files for each test, as the compiler may
3310
# overwrite some of them when testing with obscure command lines.
3311
# This happens at least with the AIX C compiler.
3313
for i in 1 2 3 4 5 6; do
3314
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3315
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3316
# Solaris 8's {/usr,}/bin/sh.
3317
touch sub/conftst$i.h
3319
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3323
# after this tag, mechanisms are not by side-effect, so they'll
3324
# only be used when explicitly requested
3325
if test "x$enable_dependency_tracking" = xyes; then
3333
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3334
# mode. It turns out that the SunPro C++ compiler does not properly
3335
# handle `-M -o', and we need to detect this.
3336
if depmode=$depmode \
3337
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3338
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3339
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3340
>/dev/null 2>conftest.err &&
3341
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3342
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3343
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3344
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3345
# icc doesn't choke on unknown options, it will just issue warnings
3346
# or remarks (even with -Werror). So we grep stderr for any message
3347
# that says an option was ignored or not supported.
3348
# When given -MP, icc 7.0 and 7.1 complain thusly:
3349
# icc: Command line warning: ignoring option '-M'; no argument required
3350
# The diagnosis changed in icc 8.0:
3351
# icc: Command line remark: option '-MP' not supported
3352
if (grep 'ignoring option' conftest.err ||
3353
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3354
am_cv_CC_dependencies_compiler_type=$depmode
3363
am_cv_CC_dependencies_compiler_type=none
3367
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3368
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3369
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3372
test "x$enable_dependency_tracking" != xno \
3373
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3375
am__fastdepCC_FALSE='#'
3377
am__fastdepCC_TRUE='#'
3378
am__fastdepCC_FALSE=
3386
ac_cpp='$CPP $CPPFLAGS'
3387
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3390
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3391
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
1076
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1077
echo "configure:1078: checking how to run the C preprocessor" >&5
3392
1078
# On Suns, sometimes $CPP names a directory.
3393
1079
if test -n "$CPP" && test -d "$CPP"; then
3396
1082
if test -z "$CPP"; then
3397
if test "${ac_cv_prog_CPP+set}" = set; then
3398
echo $ECHO_N "(cached) $ECHO_C" >&6
3400
# Double quotes because CPP needs to be expanded
3401
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3404
for ac_c_preproc_warn_flag in '' yes
3406
# Use a header file that comes with gcc, so configuring glibc
3407
# with a fresh cross-compiler works.
3408
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3409
# <limits.h> exists even on freestanding compilers.
3410
# On the NeXT, cc -E runs the code through the compiler's parser,
3411
# not just through cpp. "Syntax error" is here to catch this case.
3412
cat >conftest.$ac_ext <<_ACEOF
3415
cat confdefs.h >>conftest.$ac_ext
3416
cat >>conftest.$ac_ext <<_ACEOF
3417
/* end confdefs.h. */
3419
# include <limits.h>
3421
# include <assert.h>
3425
if { (ac_try="$ac_cpp conftest.$ac_ext"
3427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3428
*) ac_try_echo=$ac_try;;
3430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3431
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3433
grep -v '^ *+' conftest.er1 >conftest.err
3435
cat conftest.err >&5
3436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437
(exit $ac_status); } >/dev/null && {
3438
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3439
test ! -s conftest.err
3443
echo "$as_me: failed program was:" >&5
3444
sed 's/^/| /' conftest.$ac_ext >&5
3446
# Broken: fails on valid input.
3450
rm -f conftest.err conftest.$ac_ext
3452
# OK, works on sane cases. Now check whether nonexistent headers
3453
# can be detected and how.
3454
cat >conftest.$ac_ext <<_ACEOF
3457
cat confdefs.h >>conftest.$ac_ext
3458
cat >>conftest.$ac_ext <<_ACEOF
3459
/* end confdefs.h. */
3460
#include <ac_nonexistent.h>
3462
if { (ac_try="$ac_cpp conftest.$ac_ext"
3464
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3465
*) ac_try_echo=$ac_try;;
3467
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3468
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3470
grep -v '^ *+' conftest.er1 >conftest.err
3472
cat conftest.err >&5
3473
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474
(exit $ac_status); } >/dev/null && {
3475
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3476
test ! -s conftest.err
3478
# Broken: success on invalid input.
3481
echo "$as_me: failed program was:" >&5
3482
sed 's/^/| /' conftest.$ac_ext >&5
3484
# Passes both tests.
3489
rm -f conftest.err conftest.$ac_ext
3492
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3493
rm -f conftest.err conftest.$ac_ext
3494
if $ac_preproc_ok; then
3506
{ echo "$as_me:$LINENO: result: $CPP" >&5
3507
echo "${ECHO_T}$CPP" >&6; }
3509
for ac_c_preproc_warn_flag in '' yes
3511
# Use a header file that comes with gcc, so configuring glibc
3512
# with a fresh cross-compiler works.
3513
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3514
# <limits.h> exists even on freestanding compilers.
3515
# On the NeXT, cc -E runs the code through the compiler's parser,
3516
# not just through cpp. "Syntax error" is here to catch this case.
3517
cat >conftest.$ac_ext <<_ACEOF
3520
cat confdefs.h >>conftest.$ac_ext
3521
cat >>conftest.$ac_ext <<_ACEOF
3522
/* end confdefs.h. */
3524
# include <limits.h>
3526
# include <assert.h>
3530
if { (ac_try="$ac_cpp conftest.$ac_ext"
3532
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3533
*) ac_try_echo=$ac_try;;
3535
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3536
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3538
grep -v '^ *+' conftest.er1 >conftest.err
3540
cat conftest.err >&5
3541
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542
(exit $ac_status); } >/dev/null && {
3543
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3544
test ! -s conftest.err
3548
echo "$as_me: failed program was:" >&5
3549
sed 's/^/| /' conftest.$ac_ext >&5
3551
# Broken: fails on valid input.
3555
rm -f conftest.err conftest.$ac_ext
3557
# OK, works on sane cases. Now check whether nonexistent headers
3558
# can be detected and how.
3559
cat >conftest.$ac_ext <<_ACEOF
3562
cat confdefs.h >>conftest.$ac_ext
3563
cat >>conftest.$ac_ext <<_ACEOF
3564
/* end confdefs.h. */
3565
#include <ac_nonexistent.h>
3567
if { (ac_try="$ac_cpp conftest.$ac_ext"
3569
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570
*) ac_try_echo=$ac_try;;
3572
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3573
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3575
grep -v '^ *+' conftest.er1 >conftest.err
3577
cat conftest.err >&5
3578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579
(exit $ac_status); } >/dev/null && {
3580
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3581
test ! -s conftest.err
3583
# Broken: success on invalid input.
3586
echo "$as_me: failed program was:" >&5
3587
sed 's/^/| /' conftest.$ac_ext >&5
3589
# Passes both tests.
3594
rm -f conftest.err conftest.$ac_ext
3597
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3598
rm -f conftest.err conftest.$ac_ext
3599
if $ac_preproc_ok; then
3602
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3603
See \`config.log' for more details." >&5
3604
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3605
See \`config.log' for more details." >&2;}
3606
{ (exit 1); exit 1; }; }
3610
ac_cpp='$CPP $CPPFLAGS'
3611
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3616
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3617
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3618
if test "${ac_cv_path_GREP+set}" = set; then
3619
echo $ECHO_N "(cached) $ECHO_C" >&6
3621
# Extract the first word of "grep ggrep" to use in msg output
3622
if test -z "$GREP"; then
3623
set dummy grep ggrep; ac_prog_name=$2
3624
if test "${ac_cv_path_GREP+set}" = set; then
3625
echo $ECHO_N "(cached) $ECHO_C" >&6
3627
ac_path_GREP_found=false
3628
# Loop through the user's path and test for each of PROGNAME-LIST
3629
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3633
test -z "$as_dir" && as_dir=.
3634
for ac_prog in grep ggrep; do
3635
for ac_exec_ext in '' $ac_executable_extensions; do
3636
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3637
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3638
# Check for GNU ac_path_GREP and select it if it is found.
3639
# Check for GNU $ac_path_GREP
3640
case `"$ac_path_GREP" --version 2>&1` in
3642
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3645
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3648
cat "conftest.in" "conftest.in" >"conftest.tmp"
3649
mv "conftest.tmp" "conftest.in"
3650
cp "conftest.in" "conftest.nl"
3651
echo 'GREP' >> "conftest.nl"
3652
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3653
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3654
ac_count=`expr $ac_count + 1`
3655
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3656
# Best one so far, save it but keep looking for a better one
3657
ac_cv_path_GREP="$ac_path_GREP"
3658
ac_path_GREP_max=$ac_count
3660
# 10*(2^10) chars as input seems more than enough
3661
test $ac_count -gt 10 && break
3663
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3667
$ac_path_GREP_found && break 3
3677
GREP="$ac_cv_path_GREP"
3678
if test -z "$GREP"; then
3679
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3680
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3681
{ (exit 1); exit 1; }; }
3685
ac_cv_path_GREP=$GREP
3690
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3691
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3692
GREP="$ac_cv_path_GREP"
3695
{ echo "$as_me:$LINENO: checking for egrep" >&5
3696
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3697
if test "${ac_cv_path_EGREP+set}" = set; then
3698
echo $ECHO_N "(cached) $ECHO_C" >&6
3700
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3701
then ac_cv_path_EGREP="$GREP -E"
3703
# Extract the first word of "egrep" to use in msg output
3704
if test -z "$EGREP"; then
3705
set dummy egrep; ac_prog_name=$2
3706
if test "${ac_cv_path_EGREP+set}" = set; then
3707
echo $ECHO_N "(cached) $ECHO_C" >&6
3709
ac_path_EGREP_found=false
3710
# Loop through the user's path and test for each of PROGNAME-LIST
3711
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3715
test -z "$as_dir" && as_dir=.
3716
for ac_prog in egrep; do
3717
for ac_exec_ext in '' $ac_executable_extensions; do
3718
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3719
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3720
# Check for GNU ac_path_EGREP and select it if it is found.
3721
# Check for GNU $ac_path_EGREP
3722
case `"$ac_path_EGREP" --version 2>&1` in
3724
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3727
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3730
cat "conftest.in" "conftest.in" >"conftest.tmp"
3731
mv "conftest.tmp" "conftest.in"
3732
cp "conftest.in" "conftest.nl"
3733
echo 'EGREP' >> "conftest.nl"
3734
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3735
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3736
ac_count=`expr $ac_count + 1`
3737
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3738
# Best one so far, save it but keep looking for a better one
3739
ac_cv_path_EGREP="$ac_path_EGREP"
3740
ac_path_EGREP_max=$ac_count
3742
# 10*(2^10) chars as input seems more than enough
3743
test $ac_count -gt 10 && break
3745
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3749
$ac_path_EGREP_found && break 3
3759
EGREP="$ac_cv_path_EGREP"
3760
if test -z "$EGREP"; then
3761
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3762
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3763
{ (exit 1); exit 1; }; }
3767
ac_cv_path_EGREP=$EGREP
3773
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3774
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3775
EGREP="$ac_cv_path_EGREP"
3778
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3779
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3780
if test "${ac_cv_header_stdc+set}" = set; then
3781
echo $ECHO_N "(cached) $ECHO_C" >&6
3783
cat >conftest.$ac_ext <<_ACEOF
3786
cat confdefs.h >>conftest.$ac_ext
3787
cat >>conftest.$ac_ext <<_ACEOF
3788
/* end confdefs.h. */
1083
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1084
echo $ac_n "(cached) $ac_c" 1>&6
1086
# This must be in double quotes, not single quotes, because CPP may get
1087
# substituted into the Makefile and "${CC-cc}" will confuse make.
1089
# On the NeXT, cc -E runs the code through the compiler's parser,
1090
# not just through cpp.
1091
cat > conftest.$ac_ext <<EOF
1092
#line 1093 "configure"
1093
#include "confdefs.h"
1097
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1098
{ (eval echo configure:1099: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1099
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1100
if test -z "$ac_err"; then
1104
echo "configure: failed program was:" >&5
1105
cat conftest.$ac_ext >&5
1107
CPP="${CC-cc} -E -traditional-cpp"
1108
cat > conftest.$ac_ext <<EOF
1109
#line 1110 "configure"
1110
#include "confdefs.h"
1114
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1115
{ (eval echo configure:1116: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1116
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1117
if test -z "$ac_err"; then
1121
echo "configure: failed program was:" >&5
1122
cat conftest.$ac_ext >&5
1124
CPP="${CC-cc} -nologo -E"
1125
cat > conftest.$ac_ext <<EOF
1126
#line 1127 "configure"
1127
#include "confdefs.h"
1131
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1132
{ (eval echo configure:1133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1133
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1134
if test -z "$ac_err"; then
1138
echo "configure: failed program was:" >&5
1139
cat conftest.$ac_ext >&5
1148
ac_cv_prog_CPP="$CPP"
1150
CPP="$ac_cv_prog_CPP"
1152
ac_cv_prog_CPP="$CPP"
1154
echo "$ac_t""$CPP" 1>&6
1156
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1157
echo "configure:1158: checking for ANSI C header files" >&5
1158
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1159
echo $ac_n "(cached) $ac_c" 1>&6
1161
cat > conftest.$ac_ext <<EOF
1162
#line 1163 "configure"
1163
#include "confdefs.h"
3789
1164
#include <stdlib.h>
3790
1165
#include <stdarg.h>
3791
1166
#include <string.h>
3792
1167
#include <float.h>
3802
rm -f conftest.$ac_objext
3803
if { (ac_try="$ac_compile"
3805
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806
*) ac_try_echo=$ac_try;;
3808
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3809
(eval "$ac_compile") 2>conftest.er1
3811
grep -v '^ *+' conftest.er1 >conftest.err
3813
cat conftest.err >&5
3814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3815
(exit $ac_status); } && {
3816
test -z "$ac_c_werror_flag" ||
3817
test ! -s conftest.err
3818
} && test -s conftest.$ac_objext; then
1169
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1170
{ (eval echo configure:1171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1171
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1172
if test -z "$ac_err"; then
3819
1174
ac_cv_header_stdc=yes
3821
echo "$as_me: failed program was:" >&5
3822
sed 's/^/| /' conftest.$ac_ext >&5
3824
ac_cv_header_stdc=no
1177
echo "configure: failed program was:" >&5
1178
cat conftest.$ac_ext >&5
1180
ac_cv_header_stdc=no
3827
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3829
1184
if test $ac_cv_header_stdc = yes; then
3830
1185
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3831
cat >conftest.$ac_ext <<_ACEOF
3834
cat confdefs.h >>conftest.$ac_ext
3835
cat >>conftest.$ac_ext <<_ACEOF
3836
/* end confdefs.h. */
1186
cat > conftest.$ac_ext <<EOF
1187
#line 1188 "configure"
1188
#include "confdefs.h"
3837
1189
#include <string.h>
3840
1191
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3841
$EGREP "memchr" >/dev/null 2>&1; then
1192
egrep "memchr" >/dev/null 2>&1; then
3844
1196
ac_cv_header_stdc=no
3846
1198
rm -f conftest*
3871
1220
if test $ac_cv_header_stdc = yes; then
3872
1221
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3873
if test "$cross_compiling" = yes; then
1222
if test "$cross_compiling" = yes; then
3876
cat >conftest.$ac_ext <<_ACEOF
3879
cat confdefs.h >>conftest.$ac_ext
3880
cat >>conftest.$ac_ext <<_ACEOF
3881
/* end confdefs.h. */
1225
cat > conftest.$ac_ext <<EOF
1226
#line 1227 "configure"
1227
#include "confdefs.h"
3882
1228
#include <ctype.h>
3884
#if ((' ' & 0x0FF) == 0x020)
3885
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3886
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3888
# define ISLOWER(c) \
3889
(('a' <= (c) && (c) <= 'i') \
3890
|| ('j' <= (c) && (c) <= 'r') \
3891
|| ('s' <= (c) && (c) <= 'z'))
3892
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1229
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1230
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3895
1231
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3900
for (i = 0; i < 256; i++)
3901
if (XOR (islower (i), ISLOWER (i))
3902
|| toupper (i) != TOUPPER (i))
3907
rm -f conftest$ac_exeext
3908
if { (ac_try="$ac_link"
3910
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3911
*) ac_try_echo=$ac_try;;
3913
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3914
(eval "$ac_link") 2>&5
3916
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3917
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3918
{ (case "(($ac_try" in
3919
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3920
*) ac_try_echo=$ac_try;;
3922
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3923
(eval "$ac_try") 2>&5
3925
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926
(exit $ac_status); }; }; then
1232
int main () { int i; for (i = 0; i < 256; i++)
1233
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1237
if { (eval echo configure:1238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
3929
echo "$as_me: program exited with status $ac_status" >&5
3930
echo "$as_me: failed program was:" >&5
3931
sed 's/^/| /' conftest.$ac_ext >&5
3934
ac_cv_header_stdc=no
3936
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3942
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3943
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
1241
echo "configure: failed program was:" >&5
1242
cat conftest.$ac_ext >&5
1244
ac_cv_header_stdc=no
1252
echo "$ac_t""$ac_cv_header_stdc" 1>&6
3944
1253
if test $ac_cv_header_stdc = yes; then
3946
cat >>confdefs.h <<\_ACEOF
1254
cat >> confdefs.h <<\EOF
3947
1255
#define STDC_HEADERS 1
3952
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3962
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3963
inttypes.h stdint.h unistd.h
3965
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3966
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3967
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3968
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3969
echo $ECHO_N "(cached) $ECHO_C" >&6
3971
cat >conftest.$ac_ext <<_ACEOF
3974
cat confdefs.h >>conftest.$ac_ext
3975
cat >>conftest.$ac_ext <<_ACEOF
3976
/* end confdefs.h. */
3977
$ac_includes_default
3979
#include <$ac_header>
3981
rm -f conftest.$ac_objext
3982
if { (ac_try="$ac_compile"
3984
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3985
*) ac_try_echo=$ac_try;;
3987
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3988
(eval "$ac_compile") 2>conftest.er1
3990
grep -v '^ *+' conftest.er1 >conftest.err
3992
cat conftest.err >&5
3993
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994
(exit $ac_status); } && {
3995
test -z "$ac_c_werror_flag" ||
3996
test ! -s conftest.err
3997
} && test -s conftest.$ac_objext; then
3998
eval "$as_ac_Header=yes"
4000
echo "$as_me: failed program was:" >&5
4001
sed 's/^/| /' conftest.$ac_ext >&5
4003
eval "$as_ac_Header=no"
4006
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4008
ac_res=`eval echo '${'$as_ac_Header'}'`
4009
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4010
echo "${ECHO_T}$ac_res" >&6; }
4011
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4012
cat >>confdefs.h <<_ACEOF
4013
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4023
for ac_header in sys/ioctl.h unistd.h
4025
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4026
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4027
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4028
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4029
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4030
echo $ECHO_N "(cached) $ECHO_C" >&6
4032
ac_res=`eval echo '${'$as_ac_Header'}'`
4033
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4034
echo "${ECHO_T}$ac_res" >&6; }
4036
# Is the header compilable?
4037
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
4038
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4039
cat >conftest.$ac_ext <<_ACEOF
4042
cat confdefs.h >>conftest.$ac_ext
4043
cat >>conftest.$ac_ext <<_ACEOF
4044
/* end confdefs.h. */
4045
$ac_includes_default
4046
#include <$ac_header>
4048
rm -f conftest.$ac_objext
4049
if { (ac_try="$ac_compile"
4051
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052
*) ac_try_echo=$ac_try;;
4054
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4055
(eval "$ac_compile") 2>conftest.er1
4057
grep -v '^ *+' conftest.er1 >conftest.err
4059
cat conftest.err >&5
4060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061
(exit $ac_status); } && {
4062
test -z "$ac_c_werror_flag" ||
4063
test ! -s conftest.err
4064
} && test -s conftest.$ac_objext; then
4065
ac_header_compiler=yes
4067
echo "$as_me: failed program was:" >&5
4068
sed 's/^/| /' conftest.$ac_ext >&5
4070
ac_header_compiler=no
4073
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4074
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4075
echo "${ECHO_T}$ac_header_compiler" >&6; }
4077
# Is the header present?
4078
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
4079
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4080
cat >conftest.$ac_ext <<_ACEOF
4083
cat confdefs.h >>conftest.$ac_ext
4084
cat >>conftest.$ac_ext <<_ACEOF
4085
/* end confdefs.h. */
4086
#include <$ac_header>
4088
if { (ac_try="$ac_cpp conftest.$ac_ext"
4090
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4091
*) ac_try_echo=$ac_try;;
4093
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4094
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4096
grep -v '^ *+' conftest.er1 >conftest.err
4098
cat conftest.err >&5
4099
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100
(exit $ac_status); } >/dev/null && {
4101
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4102
test ! -s conftest.err
4104
ac_header_preproc=yes
4106
echo "$as_me: failed program was:" >&5
4107
sed 's/^/| /' conftest.$ac_ext >&5
4109
ac_header_preproc=no
4112
rm -f conftest.err conftest.$ac_ext
4113
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4114
echo "${ECHO_T}$ac_header_preproc" >&6; }
4116
# So? What about this header?
4117
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4119
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4120
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4121
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4122
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4123
ac_header_preproc=yes
4126
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4127
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4128
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4129
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4130
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4131
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4132
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4133
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4134
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4135
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4136
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4137
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4141
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4142
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4143
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4144
echo $ECHO_N "(cached) $ECHO_C" >&6
4146
eval "$as_ac_Header=\$ac_header_preproc"
4148
ac_res=`eval echo '${'$as_ac_Header'}'`
4149
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4150
echo "${ECHO_T}$ac_res" >&6; }
4153
if test `eval echo '${'$as_ac_Header'}'` = yes; then
4154
cat >>confdefs.h <<_ACEOF
4155
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4165
# Check whether --with-sbin was given.
1260
for ac_hdr in sys/ioctl.h unistd.h
1262
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1263
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1264
echo "configure:1265: checking for $ac_hdr" >&5
1265
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1266
echo $ac_n "(cached) $ac_c" 1>&6
1268
cat > conftest.$ac_ext <<EOF
1269
#line 1270 "configure"
1270
#include "confdefs.h"
1273
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1274
{ (eval echo configure:1275: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1275
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1276
if test -z "$ac_err"; then
1278
eval "ac_cv_header_$ac_safe=yes"
1281
echo "configure: failed program was:" >&5
1282
cat conftest.$ac_ext >&5
1284
eval "ac_cv_header_$ac_safe=no"
1288
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1289
echo "$ac_t""yes" 1>&6
1290
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1291
cat >> confdefs.h <<EOF
1292
#define $ac_tr_hdr 1
1296
echo "$ac_t""no" 1>&6
1302
# Check whether --with-sbin or --without-sbin was given.
4166
1303
if test "${with_sbin+set}" = set; then
4167
withval=$with_sbin; CONFIG_SBINDIR="${withval}"
4168
cat >>confdefs.h <<\_ACEOF
1304
withval="$with_sbin"
1305
CONFIG_SBINDIR="${withval}"
1306
cat >> confdefs.h <<\EOF
4169
1307
#define CONFIG_SBINDIR "${withval}"
4176
# Check whether --with-man was given.
1313
# Check whether --with-man or --without-man was given.
4177
1314
if test "${with_man+set}" = set; then
4178
withval=$with_man; CONFIG_MANDIR="${withval}"
4179
cat >>confdefs.h <<\_ACEOF
1316
CONFIG_MANDIR="${withval}"
1317
cat >> confdefs.h <<\EOF
4180
1318
#define CONFIG_MANDIR "${withval}"
4186
{ echo "$as_me:$LINENO: checking for ../capi20/capi20.h" >&5
4187
echo $ECHO_N "checking for ../capi20/capi20.h... $ECHO_C" >&6; }
4188
if test "${ac_cv_file____capi20_capi20_h+set}" = set; then
4189
echo $ECHO_N "(cached) $ECHO_C" >&6
4191
test "$cross_compiling" = yes &&
4192
{ { echo "$as_me:$LINENO: error: cannot check for file existence when cross compiling" >&5
4193
echo "$as_me: error: cannot check for file existence when cross compiling" >&2;}
4194
{ (exit 1); exit 1; }; }
4195
if test -r "../capi20/capi20.h"; then
4196
ac_cv_file____capi20_capi20_h=yes
4198
ac_cv_file____capi20_capi20_h=no
4201
{ echo "$as_me:$LINENO: result: $ac_cv_file____capi20_capi20_h" >&5
4202
echo "${ECHO_T}$ac_cv_file____capi20_capi20_h" >&6; }
4203
if test $ac_cv_file____capi20_capi20_h = yes; then
1325
ac_safe=`echo "../capi20/capi20.h" | sed 'y%./+-%__p_%'`
1326
echo $ac_n "checking for ../capi20/capi20.h""... $ac_c" 1>&6
1327
echo "configure:1328: checking for ../capi20/capi20.h" >&5
1328
if eval "test \"`echo '$''{'ac_cv_file_$ac_safe'+set}'`\" = set"; then
1329
echo $ac_n "(cached) $ac_c" 1>&6
1331
if test "$cross_compiling" = yes; then
1332
{ echo "configure: error: Cannot check for file existence when cross compiling" 1>&2; exit 1; }
1334
if test -r ../capi20/capi20.h; then
1335
eval "ac_cv_file_$ac_safe=yes"
1337
eval "ac_cv_file_$ac_safe=no"
1341
if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then
1342
echo "$ac_t""yes" 1>&6
4204
1343
CPPFLAGS="-I ../capi20 $CPPFLAGS"
4207
if test "${ac_cv_header_capi20_h+set}" = set; then
4208
{ echo "$as_me:$LINENO: checking for capi20.h" >&5
4209
echo $ECHO_N "checking for capi20.h... $ECHO_C" >&6; }
4210
if test "${ac_cv_header_capi20_h+set}" = set; then
4211
echo $ECHO_N "(cached) $ECHO_C" >&6
4213
{ echo "$as_me:$LINENO: result: $ac_cv_header_capi20_h" >&5
4214
echo "${ECHO_T}$ac_cv_header_capi20_h" >&6; }
4216
# Is the header compilable?
4217
{ echo "$as_me:$LINENO: checking capi20.h usability" >&5
4218
echo $ECHO_N "checking capi20.h usability... $ECHO_C" >&6; }
4219
cat >conftest.$ac_ext <<_ACEOF
4222
cat confdefs.h >>conftest.$ac_ext
4223
cat >>conftest.$ac_ext <<_ACEOF
4224
/* end confdefs.h. */
4225
$ac_includes_default
4228
rm -f conftest.$ac_objext
4229
if { (ac_try="$ac_compile"
4231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4232
*) ac_try_echo=$ac_try;;
4234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4235
(eval "$ac_compile") 2>conftest.er1
4237
grep -v '^ *+' conftest.er1 >conftest.err
4239
cat conftest.err >&5
4240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241
(exit $ac_status); } && {
4242
test -z "$ac_c_werror_flag" ||
4243
test ! -s conftest.err
4244
} && test -s conftest.$ac_objext; then
4245
ac_header_compiler=yes
4247
echo "$as_me: failed program was:" >&5
4248
sed 's/^/| /' conftest.$ac_ext >&5
4250
ac_header_compiler=no
4253
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4254
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4255
echo "${ECHO_T}$ac_header_compiler" >&6; }
4257
# Is the header present?
4258
{ echo "$as_me:$LINENO: checking capi20.h presence" >&5
4259
echo $ECHO_N "checking capi20.h presence... $ECHO_C" >&6; }
4260
cat >conftest.$ac_ext <<_ACEOF
4263
cat confdefs.h >>conftest.$ac_ext
4264
cat >>conftest.$ac_ext <<_ACEOF
4265
/* end confdefs.h. */
4268
if { (ac_try="$ac_cpp conftest.$ac_ext"
4270
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4271
*) ac_try_echo=$ac_try;;
4273
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4274
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4276
grep -v '^ *+' conftest.er1 >conftest.err
4278
cat conftest.err >&5
4279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4280
(exit $ac_status); } >/dev/null && {
4281
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4282
test ! -s conftest.err
4284
ac_header_preproc=yes
4286
echo "$as_me: failed program was:" >&5
4287
sed 's/^/| /' conftest.$ac_ext >&5
4289
ac_header_preproc=no
4292
rm -f conftest.err conftest.$ac_ext
4293
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4294
echo "${ECHO_T}$ac_header_preproc" >&6; }
4296
# So? What about this header?
4297
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4299
{ echo "$as_me:$LINENO: WARNING: capi20.h: accepted by the compiler, rejected by the preprocessor!" >&5
4300
echo "$as_me: WARNING: capi20.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4301
{ echo "$as_me:$LINENO: WARNING: capi20.h: proceeding with the compiler's result" >&5
4302
echo "$as_me: WARNING: capi20.h: proceeding with the compiler's result" >&2;}
4303
ac_header_preproc=yes
4306
{ echo "$as_me:$LINENO: WARNING: capi20.h: present but cannot be compiled" >&5
4307
echo "$as_me: WARNING: capi20.h: present but cannot be compiled" >&2;}
4308
{ echo "$as_me:$LINENO: WARNING: capi20.h: check for missing prerequisite headers?" >&5
4309
echo "$as_me: WARNING: capi20.h: check for missing prerequisite headers?" >&2;}
4310
{ echo "$as_me:$LINENO: WARNING: capi20.h: see the Autoconf documentation" >&5
4311
echo "$as_me: WARNING: capi20.h: see the Autoconf documentation" >&2;}
4312
{ echo "$as_me:$LINENO: WARNING: capi20.h: section \"Present But Cannot Be Compiled\"" >&5
4313
echo "$as_me: WARNING: capi20.h: section \"Present But Cannot Be Compiled\"" >&2;}
4314
{ echo "$as_me:$LINENO: WARNING: capi20.h: proceeding with the preprocessor's result" >&5
4315
echo "$as_me: WARNING: capi20.h: proceeding with the preprocessor's result" >&2;}
4316
{ echo "$as_me:$LINENO: WARNING: capi20.h: in the future, the compiler will take precedence" >&5
4317
echo "$as_me: WARNING: capi20.h: in the future, the compiler will take precedence" >&2;}
4321
{ echo "$as_me:$LINENO: checking for capi20.h" >&5
4322
echo $ECHO_N "checking for capi20.h... $ECHO_C" >&6; }
4323
if test "${ac_cv_header_capi20_h+set}" = set; then
4324
echo $ECHO_N "(cached) $ECHO_C" >&6
4326
ac_cv_header_capi20_h=$ac_header_preproc
4328
{ echo "$as_me:$LINENO: result: $ac_cv_header_capi20_h" >&5
4329
echo "${ECHO_T}$ac_cv_header_capi20_h" >&6; }
4332
if test $ac_cv_header_capi20_h = yes; then
1345
echo "$ac_t""no" 1>&6
1349
ac_safe=`echo "capi20.h" | sed 'y%./+-%__p_%'`
1350
echo $ac_n "checking for capi20.h""... $ac_c" 1>&6
1351
echo "configure:1352: checking for capi20.h" >&5
1352
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1353
echo $ac_n "(cached) $ac_c" 1>&6
1355
cat > conftest.$ac_ext <<EOF
1356
#line 1357 "configure"
1357
#include "confdefs.h"
1360
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1361
{ (eval echo configure:1362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1362
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1363
if test -z "$ac_err"; then
1365
eval "ac_cv_header_$ac_safe=yes"
1368
echo "configure: failed program was:" >&5
1369
cat conftest.$ac_ext >&5
1371
eval "ac_cv_header_$ac_safe=no"
1375
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1376
echo "$ac_t""yes" 1>&6
4335
{ { echo "$as_me:$LINENO: error: capi20.h not found" >&5
4336
echo "$as_me: error: capi20.h not found" >&2;}
4337
{ (exit 1); exit 1; }; }
1379
echo "$ac_t""no" 1>&6
1380
{ echo "configure: error: capi20.h not found" 1>&2; exit 1; }
4342
{ echo "$as_me:$LINENO: checking for capi20 ALERT with sending complete" >&5
4343
echo $ECHO_N "checking for capi20 ALERT with sending complete... $ECHO_C" >&6; }
4344
cat >conftest.$ac_ext <<_ACEOF
4347
cat confdefs.h >>conftest.$ac_ext
4348
cat >>conftest.$ac_ext <<_ACEOF
4349
/* end confdefs.h. */
1384
echo $ac_n "checking for capi20 ALERT with sending complete""... $ac_c" 1>&6
1385
echo "configure:1386: checking for capi20 ALERT with sending complete" >&5
1386
cat > conftest.$ac_ext <<EOF
1387
#line 1388 "configure"
1388
#include "confdefs.h"
4350
1389
#include <capiutils.h>
4354
1391
_cmsg cm; ALERT_REQ(&cm, 1, 1, 1, NULL, NULL, NULL, NULL, NULL);
4359
rm -f conftest.$ac_objext
4360
if { (ac_try="$ac_compile"
4362
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4363
*) ac_try_echo=$ac_try;;
4365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4366
(eval "$ac_compile") 2>conftest.er1
4368
grep -v '^ *+' conftest.er1 >conftest.err
4370
cat conftest.err >&5
4371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372
(exit $ac_status); } && {
4373
test -z "$ac_c_werror_flag" ||
4374
test ! -s conftest.err
4375
} && test -s conftest.$ac_objext; then
4378
cat >>confdefs.h <<\_ACEOF
1394
if { (eval echo configure:1395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1397
cat >> confdefs.h <<\EOF
4379
1398
#define HAVE_ALERT_SENDING_COMPLETE 1
4382
{ echo "$as_me:$LINENO: result: yes" >&5
4383
echo "${ECHO_T}yes" >&6; }
1401
echo "$ac_t""yes" 1>&6
4386
echo "$as_me: failed program was:" >&5
4387
sed 's/^/| /' conftest.$ac_ext >&5
4389
{ echo "$as_me:$LINENO: result: no" >&5
4390
echo "${ECHO_T}no" >&6; }
1404
echo "configure: failed program was:" >&5
1405
cat conftest.$ac_ext >&5
1407
echo "$ac_t""no" 1>&6
4394
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395
{ echo "$as_me:$LINENO: checking for capi20 ALERT with sending complete" >&5
4396
echo $ECHO_N "checking for capi20 ALERT with sending complete... $ECHO_C" >&6; }
4397
cat >conftest.$ac_ext <<_ACEOF
4400
cat confdefs.h >>conftest.$ac_ext
4401
cat >>conftest.$ac_ext <<_ACEOF
4402
/* end confdefs.h. */
1411
echo $ac_n "checking for capi20 ALERT with sending complete""... $ac_c" 1>&6
1412
echo "configure:1413: checking for capi20 ALERT with sending complete" >&5
1413
cat > conftest.$ac_ext <<EOF
1414
#line 1415 "configure"
1415
#include "confdefs.h"
4403
1416
#include <capiutils.h>
4407
1418
_cmsg cm;void *p; p=CONNECT_REQ_GLOBALCONFIGURATION(&cm);
4412
rm -f conftest.$ac_objext
4413
if { (ac_try="$ac_compile"
4415
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4416
*) ac_try_echo=$ac_try;;
4418
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4419
(eval "$ac_compile") 2>conftest.er1
4421
grep -v '^ *+' conftest.er1 >conftest.err
4423
cat conftest.err >&5
4424
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4425
(exit $ac_status); } && {
4426
test -z "$ac_c_werror_flag" ||
4427
test ! -s conftest.err
4428
} && test -s conftest.$ac_objext; then
4431
cat >>confdefs.h <<\_ACEOF
1421
if { (eval echo configure:1422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1424
cat >> confdefs.h <<\EOF
4432
1425
#define HAVE_GLOBALCONFIGURATION 1
4435
{ echo "$as_me:$LINENO: result: yes" >&5
4436
echo "${ECHO_T}yes" >&6; }
1428
echo "$ac_t""yes" 1>&6
4439
echo "$as_me: failed program was:" >&5
4440
sed 's/^/| /' conftest.$ac_ext >&5
4442
{ echo "$as_me:$LINENO: result: no" >&5
4443
echo "${ECHO_T}no" >&6; }
1431
echo "configure: failed program was:" >&5
1432
cat conftest.$ac_ext >&5
1434
echo "$ac_t""no" 1>&6
4447
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4452
ac_config_headers="$ac_config_headers config.h"
4454
ac_config_files="$ac_config_files Makefile"
4456
cat >confcache <<\_ACEOF
1446
cat > confcache <<\EOF
4457
1447
# This file is a shell script that caches the results of configure
4458
1448
# tests run on this system so they can be shared between configure
4459
# scripts and configure runs, see configure's option --config-cache.
4460
# It is not useful on other systems. If it contains results you don't
4461
# want to keep, you may remove or edit it.
4463
# config.status only pays attention to the cache file if you give it
4464
# the --recheck option to rerun configure.
4466
# `ac_cv_env_foo' variables (set or unset) will be overridden when
4467
# loading this file, other *unset* `ac_cv_foo' will be assigned the
1449
# scripts and configure runs. It is not useful on other systems.
1450
# If it contains results you don't want to keep, you may remove or edit it.
1452
# By default, configure uses ./config.cache as the cache file,
1453
# creating it if it does not exist already. You can give configure
1454
# the --cache-file=FILE option to use a different cache file; that is
1455
# what configure does when it calls configure scripts in
1456
# subdirectories, so they share the cache.
1457
# Giving --cache-file=/dev/null disables caching, for debugging configure.
1458
# config.status only pays attention to the cache file if you give it the
1459
# --recheck option to rerun configure.
4472
1462
# The following way of writing the cache mishandles newlines in values,
4473
1463
# but we know of no workaround that is simple, portable, and efficient.
4474
# So, we kill variables containing newlines.
1464
# So, don't put newlines in cache variables' values.
4475
1465
# Ultrix sh set writes to stderr and can't be redirected directly,
4476
1466
# and sets the high bit in the cache file unless we assign to the vars.
4478
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4479
eval ac_val=\$$ac_var
4483
*_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4484
echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4487
_ | IFS | as_nl) ;; #(
4488
*) $as_unset $ac_var ;;
4494
case $as_nl`(ac_space=' '; set) 2>&1` in #(
4495
*${as_nl}ac_space=\ *)
4496
# `set' does not quote correctly, so add quotes (double-quote
4497
# substitution turns \\\\ into \\, and sed turns \\ into \).
4500
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4503
# `set' quotes correctly as required by POSIX, so do not add quotes.
4504
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4513
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4515
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4517
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4518
if test -w "$cache_file"; then
4519
test "x$cache_file" != "x/dev/null" &&
4520
{ echo "$as_me:$LINENO: updating cache $cache_file" >&5
4521
echo "$as_me: updating cache $cache_file" >&6;}
4522
cat confcache >$cache_file
1468
case `(ac_space=' '; set | grep ac_space) 2>&1` in
1470
# `set' does not quote correctly, so add quotes (double-quote substitution
1471
# turns \\\\ into \\, and sed turns \\ into \).
1473
-e "s/'/'\\\\''/g" \
1474
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1477
# `set' quotes correctly as required by POSIX, so do not add quotes.
1478
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1481
if cmp -s $cache_file confcache; then
1484
if test -w $cache_file; then
1485
echo "updating cache $cache_file"
1486
cat confcache > $cache_file
4524
{ echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4525
echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1488
echo "not updating unwritable cache $cache_file"
4528
1491
rm -f confcache
1493
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4530
1495
test "x$prefix" = xNONE && prefix=$ac_default_prefix
4531
1496
# Let make expand exec_prefix.
4532
1497
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1499
# Any assignment to VPATH causes Sun make to only execute
1500
# the first set of double-colon rules, so remove it if not needed.
1501
# If there is a colon in the path, we need to keep it.
1502
if test "x$srcdir" = x.; then
1503
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1506
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4534
1508
DEFS=-DHAVE_CONFIG_H
4538
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4539
# 1. Remove the extension, and $U if already installed.
4540
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4541
ac_i=`echo "$ac_i" | sed "$ac_script"`
4542
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4543
# will be set to the directory where LIBOBJS objects are built.
4544
ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4545
ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4549
LTLIBOBJS=$ac_ltlibobjs
4552
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4553
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4554
Usually this means the macro was only invoked conditionally." >&5
4555
echo "$as_me: error: conditional \"AMDEP\" was never defined.
4556
Usually this means the macro was only invoked conditionally." >&2;}
4557
{ (exit 1); exit 1; }; }
4559
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
4560
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
4561
Usually this means the macro was only invoked conditionally." >&5
4562
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
4563
Usually this means the macro was only invoked conditionally." >&2;}
4564
{ (exit 1); exit 1; }; }
1510
# Without the "./", some shells look in PATH for config.status.
4567
1511
: ${CONFIG_STATUS=./config.status}
4568
ac_clean_files_save=$ac_clean_files
4569
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4570
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4571
echo "$as_me: creating $CONFIG_STATUS" >&6;}
4572
cat >$CONFIG_STATUS <<_ACEOF
4574
# Generated by $as_me.
1513
echo creating $CONFIG_STATUS
1514
rm -f $CONFIG_STATUS
1515
cat > $CONFIG_STATUS <<EOF
1517
# Generated automatically by configure.
4575
1518
# Run this file to recreate the current configuration.
1519
# This directory was configured as follows,
1520
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1522
# $0 $ac_configure_args
4576
1524
# Compiler output produced by configure, useful for debugging
4577
# configure, is in config.log if it exists.
4582
SHELL=\${CONFIG_SHELL-$SHELL}
4585
cat >>$CONFIG_STATUS <<\_ACEOF
4586
## --------------------- ##
4587
## M4sh Initialization. ##
4588
## --------------------- ##
4590
# Be more Bourne compatible
4591
DUALCASE=1; export DUALCASE # for MKS sh
4592
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4595
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4596
# is contrary to our usage. Disable this feature.
4597
alias -g '${1+"$@"}'='"$@"'
4598
setopt NO_GLOB_SUBST
4600
case `(set -o) 2>/dev/null` in
4601
*posix*) set -o posix ;;
4610
# Avoid depending upon Character Ranges.
4611
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4612
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4613
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4614
as_cr_digits='0123456789'
4615
as_cr_alnum=$as_cr_Letters$as_cr_digits
4617
# The user is always right.
4618
if test "${PATH_SEPARATOR+set}" != set; then
4619
echo "#! /bin/sh" >conf$$.sh
4620
echo "exit 0" >>conf$$.sh
4622
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4630
# Support unset when possible.
4631
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4639
# We need space, tab and new line, in precisely that order. Quoting is
4640
# there to prevent editors from complaining about space-tab.
4641
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4642
# splitting by setting IFS to empty value.)
4647
# Find who we are. Look in the path if we contain no directory separator.
4649
*[\\/]* ) as_myself=$0 ;;
4650
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4654
test -z "$as_dir" && as_dir=.
4655
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4661
# We did not find ourselves, most probably we were run as `sh COMMAND'
4662
# in which case we are not to be found in the path.
4663
if test "x$as_myself" = x; then
4666
if test ! -f "$as_myself"; then
4667
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4668
{ (exit 1); exit 1; }
4671
# Work around bugs in pre-3.0 UWIN ksh.
4672
for as_var in ENV MAIL MAILPATH
4673
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4681
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4682
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4683
LC_TELEPHONE LC_TIME
4685
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4686
eval $as_var=C; export $as_var
4688
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4692
# Required to use basename.
4693
if expr a : '\(a\)' >/dev/null 2>&1 &&
4694
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4700
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4701
as_basename=basename
4707
# Name of the executable.
4708
as_me=`$as_basename -- "$0" ||
4709
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4710
X"$0" : 'X\(//\)$' \| \
4711
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4713
sed '/^.*\/\([^/][^/]*\)\/*$/{
4734
test "x$as_lineno_1" != "x$as_lineno_2" &&
4735
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4737
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4738
# uniformly replaced by the line number. The first 'sed' inserts a
4739
# line-number line after each line using $LINENO; the second 'sed'
4740
# does the real work. The second script uses 'N' to pair each
4741
# line-number line with the line containing $LINENO, and appends
4742
# trailing '-' during substitution so that $LINENO is not a special
4744
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4745
# scripts with optimization help from Paolo Bonzini. Blame Lee
4746
# E. McMahon (1931-1989) for sed's syntax. :-)
4758
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4762
chmod +x "$as_me.lineno" ||
4763
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4764
{ (exit 1); exit 1; }; }
4766
# Don't try to exec as it changes $[0], causing all sort of problems
4767
# (the dirname of $[0] is not the place where we might find the
4768
# original and so on. Autoconf is especially sensitive to this).
4770
# Exit status is that of the last command.
4775
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4781
ECHO_C= ECHO_N= ECHO_T=
4784
case `echo 'x\c'` in
4785
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4792
if expr a : '\(a\)' >/dev/null 2>&1 &&
4793
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4799
rm -f conf$$ conf$$.exe conf$$.file
4800
if test -d conf$$.dir; then
4801
rm -f conf$$.dir/conf$$.file
4807
if ln -s conf$$.file conf$$ 2>/dev/null; then
4809
# ... but there are two gotchas:
4810
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4811
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4812
# In both cases, we have to default to `cp -p'.
4813
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4815
elif ln conf$$.file conf$$ 2>/dev/null; then
4820
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4821
rmdir conf$$.dir 2>/dev/null
4823
if mkdir -p . 2>/dev/null; then
4826
test -d ./-p && rmdir ./-p
4830
if test -x / >/dev/null 2>&1; then
4833
if ls -dL / >/dev/null 2>&1; then
4840
if test -d "$1"; then
4846
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4847
???[sx]*):;;*)false;;esac;fi
4851
as_executable_p=$as_test_x
4853
# Sed expression to map a string onto a valid CPP name.
4854
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4856
# Sed expression to map a string onto a valid variable name.
4857
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4862
# Save the log message, to keep $[0] and so on meaningful, and to
4863
# report actual input values of CONFIG_FILES etc. instead of their
4864
# values after options handling.
4866
This file was extended by $as_me, which was
4867
generated by GNU Autoconf 2.61. Invocation command line was
4869
CONFIG_FILES = $CONFIG_FILES
4870
CONFIG_HEADERS = $CONFIG_HEADERS
4871
CONFIG_LINKS = $CONFIG_LINKS
4872
CONFIG_COMMANDS = $CONFIG_COMMANDS
4875
on `(hostname || uname -n) 2>/dev/null | sed 1q`
4880
cat >>$CONFIG_STATUS <<_ACEOF
4881
# Files that config.status was made for.
4882
config_files="$ac_config_files"
4883
config_headers="$ac_config_headers"
4884
config_commands="$ac_config_commands"
4888
cat >>$CONFIG_STATUS <<\_ACEOF
4890
\`$as_me' instantiates files from templates according to the
4891
current configuration.
4893
Usage: $0 [OPTIONS] [FILE]...
4895
-h, --help print this help, then exit
4896
-V, --version print version number and configuration settings, then exit
4897
-q, --quiet do not print progress messages
4898
-d, --debug don't remove temporary files
4899
--recheck update $as_me by reconfiguring in the same conditions
4900
--file=FILE[:TEMPLATE]
4901
instantiate the configuration file FILE
4902
--header=FILE[:TEMPLATE]
4903
instantiate the configuration header FILE
4905
Configuration files:
4908
Configuration headers:
4911
Configuration commands:
4914
Report bugs to <bug-autoconf@gnu.org>."
4917
cat >>$CONFIG_STATUS <<_ACEOF
4920
configured by $0, generated by GNU Autoconf 2.61,
4921
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4923
Copyright (C) 2006 Free Software Foundation, Inc.
4924
This config.status script is free software; the Free Software Foundation
4925
gives unlimited permission to copy, distribute and modify it."
4933
cat >>$CONFIG_STATUS <<\_ACEOF
4934
# If no file are specified by the user, then we need to provide default
4935
# value. By we need to know if files were specified by the user.
4941
ac_option=`expr "X$1" : 'X\([^=]*\)='`
4942
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4953
# Handling of the options.
1525
# configure, is in ./config.log if it exists.
1527
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1530
case "\$ac_option" in
4954
1531
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4956
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4957
echo "$ac_cs_version"; exit ;;
4958
--debug | --debu | --deb | --de | --d | -d )
4960
--file | --fil | --fi | --f )
4962
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4963
ac_need_defaults=false;;
4964
--header | --heade | --head | --hea )
4966
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
4967
ac_need_defaults=false;;
4969
# Conflict between --help and --header
4970
{ echo "$as_me: error: ambiguous option: $1
4971
Try \`$0 --help' for more information." >&2
4972
{ (exit 1); exit 1; }; };;
4973
--help | --hel | -h )
4974
echo "$ac_cs_usage"; exit ;;
4975
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
4976
| -silent | --silent | --silen | --sile | --sil | --si | --s)
4980
-*) { echo "$as_me: error: unrecognized option: $1
4981
Try \`$0 --help' for more information." >&2
4982
{ (exit 1); exit 1; }; } ;;
4984
*) ac_config_targets="$ac_config_targets $1"
4985
ac_need_defaults=false ;;
4991
ac_configure_extra_args=
4993
if $ac_cs_silent; then
4995
ac_configure_extra_args="$ac_configure_extra_args --silent"
4999
cat >>$CONFIG_STATUS <<_ACEOF
5000
if \$ac_cs_recheck; then
5001
echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5004
exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5008
cat >>$CONFIG_STATUS <<\_ACEOF
5012
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5013
## Running $as_me. ##
5019
cat >>$CONFIG_STATUS <<_ACEOF
5023
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5027
cat >>$CONFIG_STATUS <<\_ACEOF
5029
# Handling of arguments.
5030
for ac_config_target in $ac_config_targets
5032
case $ac_config_target in
5033
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5034
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5035
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5037
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5038
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5039
{ (exit 1); exit 1; }; };;
5044
# If the user did not use the arguments to specify the items to instantiate,
5045
# then the envvar interface is used. Set only those that are not.
5046
# We use the long form for the default assignment because of an extremely
5047
# bizarre bug on SunOS 4.1.3.
5048
if $ac_need_defaults; then
5049
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5050
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5051
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5054
# Have a temporary directory for convenience. Make it in the build tree
5055
# simply because there is no reason against having it here, and in addition,
5056
# creating and moving files from /tmp can sometimes cause problems.
5057
# Hook for its removal unless debugging.
5058
# Note that there is a small window in which the directory will not be cleaned:
5059
# after its creation but before its name has been assigned to `$tmp'.
5063
trap 'exit_status=$?
5064
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5066
trap '{ (exit 1); exit 1; }' 1 2 13 15
5068
# Create a (secure) tmp directory for tmp files.
5071
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5072
test -n "$tmp" && test -d "$tmp"
5075
tmp=./conf$$-$RANDOM
5076
(umask 077 && mkdir "$tmp")
5079
echo "$me: cannot create a temporary directory in ." >&2
5080
{ (exit 1); exit 1; }
5084
# Set up the sed scripts for CONFIG_FILES section.
5087
# No need to generate the scripts if there are no CONFIG_FILES.
5088
# This happens for instance when ./config.status config.h
5089
if test -n "$CONFIG_FILES"; then
5096
for ac_last_try in false false false false false :; do
5097
cat >conf$$subs.sed <<_ACEOF
5098
SHELL!$SHELL$ac_delim
5099
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5100
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5101
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5102
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5103
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5104
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5105
exec_prefix!$exec_prefix$ac_delim
5106
prefix!$prefix$ac_delim
5107
program_transform_name!$program_transform_name$ac_delim
5108
bindir!$bindir$ac_delim
5109
sbindir!$sbindir$ac_delim
5110
libexecdir!$libexecdir$ac_delim
5111
datarootdir!$datarootdir$ac_delim
5112
datadir!$datadir$ac_delim
5113
sysconfdir!$sysconfdir$ac_delim
5114
sharedstatedir!$sharedstatedir$ac_delim
5115
localstatedir!$localstatedir$ac_delim
5116
includedir!$includedir$ac_delim
5117
oldincludedir!$oldincludedir$ac_delim
5118
docdir!$docdir$ac_delim
5119
infodir!$infodir$ac_delim
5120
htmldir!$htmldir$ac_delim
5121
dvidir!$dvidir$ac_delim
5122
pdfdir!$pdfdir$ac_delim
5123
psdir!$psdir$ac_delim
5124
libdir!$libdir$ac_delim
5125
localedir!$localedir$ac_delim
5126
mandir!$mandir$ac_delim
5128
ECHO_C!$ECHO_C$ac_delim
5129
ECHO_N!$ECHO_N$ac_delim
5130
ECHO_T!$ECHO_T$ac_delim
5132
build_alias!$build_alias$ac_delim
5133
host_alias!$host_alias$ac_delim
5134
target_alias!$target_alias$ac_delim
5135
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5136
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5137
INSTALL_DATA!$INSTALL_DATA$ac_delim
5138
am__isrc!$am__isrc$ac_delim
5139
CYGPATH_W!$CYGPATH_W$ac_delim
5140
PACKAGE!$PACKAGE$ac_delim
5141
VERSION!$VERSION$ac_delim
5142
ACLOCAL!$ACLOCAL$ac_delim
5143
AUTOCONF!$AUTOCONF$ac_delim
5144
AUTOMAKE!$AUTOMAKE$ac_delim
5145
AUTOHEADER!$AUTOHEADER$ac_delim
5146
MAKEINFO!$MAKEINFO$ac_delim
5147
install_sh!$install_sh$ac_delim
5148
STRIP!$STRIP$ac_delim
5149
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5150
mkdir_p!$mkdir_p$ac_delim
5152
SET_MAKE!$SET_MAKE$ac_delim
5153
am__leading_dot!$am__leading_dot$ac_delim
5154
AMTAR!$AMTAR$ac_delim
5155
am__tar!$am__tar$ac_delim
5156
am__untar!$am__untar$ac_delim
5158
CFLAGS!$CFLAGS$ac_delim
5159
LDFLAGS!$LDFLAGS$ac_delim
5160
CPPFLAGS!$CPPFLAGS$ac_delim
5161
ac_ct_CC!$ac_ct_CC$ac_delim
5162
EXEEXT!$EXEEXT$ac_delim
5163
OBJEXT!$OBJEXT$ac_delim
5164
DEPDIR!$DEPDIR$ac_delim
5165
am__include!$am__include$ac_delim
5166
am__quote!$am__quote$ac_delim
5167
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5168
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5169
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5170
CCDEPMODE!$CCDEPMODE$ac_delim
5171
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5172
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5175
EGREP!$EGREP$ac_delim
5176
INSTALL!$INSTALL$ac_delim
5177
CONFIG_SBINDIR!$CONFIG_SBINDIR$ac_delim
5178
CONFIG_MANDIR!$CONFIG_MANDIR$ac_delim
5179
LIBOBJS!$LIBOBJS$ac_delim
5180
LTLIBOBJS!$LTLIBOBJS$ac_delim
5183
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 83; then
5185
elif $ac_last_try; then
5186
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5187
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5188
{ (exit 1); exit 1; }; }
5190
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5194
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5195
if test -n "$ac_eof"; then
5196
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5197
ac_eof=`expr $ac_eof + 1`
5200
cat >>$CONFIG_STATUS <<_ACEOF
5201
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5202
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
5205
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5206
s/^/s,@/; s/!/@,|#_!!_#|/
5209
s/'"$ac_delim"'$/,g/; t
5211
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5212
' >>$CONFIG_STATUS <conf$$subs.sed
5213
rm -f conf$$subs.sed
5214
cat >>$CONFIG_STATUS <<_ACEOF
5221
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5222
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5223
# trailing colons and then remove the whole line if VPATH becomes empty
5224
# (actually we leave an empty line to preserve line numbers).
5225
if test "x$srcdir" = x.; then
5226
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5230
s/^\([^=]*=[ ]*\):*/\1/
5236
cat >>$CONFIG_STATUS <<\_ACEOF
5237
fi # test -n "$CONFIG_FILES"
5240
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5243
:[FHLC]) ac_mode=$ac_tag; continue;;
5245
case $ac_mode$ac_tag in
5247
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5248
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5249
{ (exit 1); exit 1; }; };;
5250
:[FH]-) ac_tag=-:-;;
5251
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5268
-) ac_f="$tmp/stdin";;
5269
*) # Look for the file first in the build tree, then in the source tree
5270
# (if the path is not absolute). The absolute path cannot be DOS-style,
5271
# because $ac_f cannot contain `:'.
5275
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5277
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5278
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5279
{ (exit 1); exit 1; }; };;
5281
ac_file_inputs="$ac_file_inputs $ac_f"
5284
# Let's still pretend it is `configure' which instantiates (i.e., don't
5285
# use $as_me), people would be surprised to read:
5286
# /* config.h. Generated by config.status. */
5287
configure_input="Generated from "`IFS=:
5288
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5289
if test x"$ac_file" != x-; then
5290
configure_input="$ac_file. $configure_input"
5291
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5292
echo "$as_me: creating $ac_file" >&6;}
5296
*:-:* | *:-) cat >"$tmp/stdin";;
5301
ac_dir=`$as_dirname -- "$ac_file" ||
5302
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5303
X"$ac_file" : 'X\(//\)[^/]' \| \
5304
X"$ac_file" : 'X\(//\)$' \| \
5305
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5307
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5326
-*) as_dir=./$as_dir;;
5328
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5332
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5333
*) as_qdir=$as_dir;;
5335
as_dirs="'$as_qdir' $as_dirs"
5336
as_dir=`$as_dirname -- "$as_dir" ||
5337
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5338
X"$as_dir" : 'X\(//\)[^/]' \| \
5339
X"$as_dir" : 'X\(//\)$' \| \
5340
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5342
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5359
test -d "$as_dir" && break
5361
test -z "$as_dirs" || eval "mkdir $as_dirs"
5362
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5363
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5364
{ (exit 1); exit 1; }; }; }
5368
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5370
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5371
# A ".." for each directory in $ac_dir_suffix.
5372
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5373
case $ac_top_builddir_sub in
5374
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5375
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5378
ac_abs_top_builddir=$ac_pwd
5379
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5380
# for backward compatibility:
5381
ac_top_builddir=$ac_top_build_prefix
5384
.) # We are building in place.
5386
ac_top_srcdir=$ac_top_builddir_sub
5387
ac_abs_top_srcdir=$ac_pwd ;;
5388
[\\/]* | ?:[\\/]* ) # Absolute name.
5389
ac_srcdir=$srcdir$ac_dir_suffix;
5390
ac_top_srcdir=$srcdir
5391
ac_abs_top_srcdir=$srcdir ;;
5393
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5394
ac_top_srcdir=$ac_top_build_prefix$srcdir
5395
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5397
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5407
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5408
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5412
[\\/$]* | ?:[\\/]* ) ;;
5413
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
5417
cat >>$CONFIG_STATUS <<\_ACEOF
5418
# If the template does not know about datarootdir, expand it.
5419
# FIXME: This hack should be removed a few years after 2.60.
5420
ac_datarootdir_hack=; ac_datarootdir_seen=
5422
case `sed -n '/datarootdir/ {
5431
' $ac_file_inputs` in
5432
*datarootdir*) ac_datarootdir_seen=yes;;
5433
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5434
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5435
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5437
cat >>$CONFIG_STATUS <<_ACEOF
5438
ac_datarootdir_hack='
5439
s&@datadir@&$datadir&g
5440
s&@docdir@&$docdir&g
5441
s&@infodir@&$infodir&g
5442
s&@localedir@&$localedir&g
5443
s&@mandir@&$mandir&g
5444
s&\\\${datarootdir}&$datarootdir&g' ;;
5448
# Neutralize VPATH when `$srcdir' = `.'.
5449
# Shell code in configure.ac might set extrasub.
5450
# FIXME: do we really want to maintain this feature?
5451
cat >>$CONFIG_STATUS <<_ACEOF
1532
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1533
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1534
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1535
echo "$CONFIG_STATUS generated by autoconf version 2.13"
1537
-help | --help | --hel | --he | --h)
1538
echo "\$ac_cs_usage"; exit 0 ;;
1539
*) echo "\$ac_cs_usage"; exit 1 ;;
1543
ac_given_srcdir=$srcdir
1544
ac_given_INSTALL="$INSTALL"
1546
trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1548
cat >> $CONFIG_STATUS <<EOF
1550
# Protect against being on the right side of a sed subst in config.status.
1551
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1552
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5455
cat >>$CONFIG_STATUS <<\_ACEOF
5457
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5458
s&@configure_input@&$configure_input&;t t
5459
s&@top_builddir@&$ac_top_builddir_sub&;t t
5460
s&@srcdir@&$ac_srcdir&;t t
5461
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5462
s&@top_srcdir@&$ac_top_srcdir&;t t
5463
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5464
s&@builddir@&$ac_builddir&;t t
5465
s&@abs_builddir@&$ac_abs_builddir&;t t
5466
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5467
s&@INSTALL@&$ac_INSTALL&;t t
5468
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5469
$ac_datarootdir_hack
5470
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
5472
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5473
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5474
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5475
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5476
which seems to be undefined. Please make sure it is defined." >&5
5477
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5478
which seems to be undefined. Please make sure it is defined." >&2;}
5482
-) cat "$tmp/out"; rm -f "$tmp/out";;
5483
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5492
# Transform confdefs.h into a sed script `conftest.defines', that
5493
# substitutes the proper values into config.h.in to produce config.h.
5494
rm -f conftest.defines conftest.tail
5495
# First, append a space to every undef/define line, to ease matching.
5496
echo 's/$/ /' >conftest.defines
5497
# Then, protect against being on the right side of a sed subst, or in
5498
# an unquoted here document, in config.status. If some macros were
5499
# called several times there might be several #defines for the same
5500
# symbol, which is useless. But do not sort them, since the last
5501
# AC_DEFINE must be honored.
5502
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5503
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5504
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5505
# PARAMS is the parameter list in the macro definition--in most cases, it's
5506
# just an empty string.
5507
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5508
ac_dB='\\)[ (].*,\\1define\\2'
5516
s/^[ ]*#[ ]*define[ ][ ]*//
5521
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5522
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5523
' >>conftest.defines
5525
# Remove the space that was appended to ease matching.
5526
# Then replace #undef with comments. This is necessary, for
1556
s%@CFLAGS@%$CFLAGS%g
1557
s%@CPPFLAGS@%$CPPFLAGS%g
1558
s%@CXXFLAGS@%$CXXFLAGS%g
1559
s%@FFLAGS@%$FFLAGS%g
1561
s%@LDFLAGS@%$LDFLAGS%g
1563
s%@exec_prefix@%$exec_prefix%g
1564
s%@prefix@%$prefix%g
1565
s%@program_transform_name@%$program_transform_name%g
1566
s%@bindir@%$bindir%g
1567
s%@sbindir@%$sbindir%g
1568
s%@libexecdir@%$libexecdir%g
1569
s%@datadir@%$datadir%g
1570
s%@sysconfdir@%$sysconfdir%g
1571
s%@sharedstatedir@%$sharedstatedir%g
1572
s%@localstatedir@%$localstatedir%g
1573
s%@libdir@%$libdir%g
1574
s%@includedir@%$includedir%g
1575
s%@oldincludedir@%$oldincludedir%g
1576
s%@infodir@%$infodir%g
1577
s%@mandir@%$mandir%g
1578
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1579
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1580
s%@INSTALL_DATA@%$INSTALL_DATA%g
1581
s%@PACKAGE@%$PACKAGE%g
1582
s%@VERSION@%$VERSION%g
1583
s%@ACLOCAL@%$ACLOCAL%g
1584
s%@AUTOCONF@%$AUTOCONF%g
1585
s%@AUTOMAKE@%$AUTOMAKE%g
1586
s%@AUTOHEADER@%$AUTOHEADER%g
1587
s%@MAKEINFO@%$MAKEINFO%g
1588
s%@SET_MAKE@%$SET_MAKE%g
1591
s%@INSTALL@%$INSTALL%g
1592
s%@CONFIG_SBINDIR@%$CONFIG_SBINDIR%g
1593
s%@CONFIG_MANDIR@%$CONFIG_MANDIR%g
1598
cat >> $CONFIG_STATUS <<\EOF
1600
# Split the substitutions into bite-sized pieces for seds with
1601
# small command number limits, like on Digital OSF/1 and HP-UX.
1602
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1603
ac_file=1 # Number of current file.
1604
ac_beg=1 # First line for current file.
1605
ac_end=$ac_max_sed_cmds # Line after last line for current file.
1608
while $ac_more_lines; do
1609
if test $ac_beg -gt 1; then
1610
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1612
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1614
if test ! -s conftest.s$ac_file; then
1616
rm -f conftest.s$ac_file
1618
if test -z "$ac_sed_cmds"; then
1619
ac_sed_cmds="sed -f conftest.s$ac_file"
1621
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1623
ac_file=`expr $ac_file + 1`
1625
ac_end=`expr $ac_end + $ac_max_sed_cmds`
1628
if test -z "$ac_sed_cmds"; then
1633
cat >> $CONFIG_STATUS <<EOF
1635
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1637
cat >> $CONFIG_STATUS <<\EOF
1638
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1639
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1641
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1642
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1643
*) ac_file_in="${ac_file}.in" ;;
1646
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1648
# Remove last slash and all that follows it. Not all systems have dirname.
1649
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1650
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1651
# The file is in a subdirectory.
1652
test ! -d "$ac_dir" && mkdir "$ac_dir"
1653
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1654
# A "../" for each directory in $ac_dir_suffix.
1655
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1657
ac_dir_suffix= ac_dots=
1660
case "$ac_given_srcdir" in
1662
if test -z "$ac_dots"; then top_srcdir=.
1663
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1664
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1666
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1667
top_srcdir="$ac_dots$ac_given_srcdir" ;;
1670
case "$ac_given_INSTALL" in
1671
[/$]*) INSTALL="$ac_given_INSTALL" ;;
1672
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1675
echo creating "$ac_file"
1677
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1679
*Makefile*) ac_comsub="1i\\
1680
# $configure_input" ;;
1684
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1686
s%@configure_input@%$configure_input%g
1687
s%@srcdir@%$srcdir%g
1688
s%@top_srcdir@%$top_srcdir%g
1689
s%@INSTALL@%$INSTALL%g
1690
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1694
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1695
# NAME is the cpp macro being defined and VALUE is the value it is being given.
1697
# ac_d sets the value in "#define NAME VALUE" lines.
1698
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1699
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1702
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1703
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1704
ac_uB='\([ ]\)%\1#\2define\3'
1707
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1708
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1709
ac_eB='$%\1#\2define\3'
1713
if test "${CONFIG_HEADERS+set}" != set; then
1715
cat >> $CONFIG_STATUS <<EOF
1716
CONFIG_HEADERS="config.h"
1718
cat >> $CONFIG_STATUS <<\EOF
1720
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1721
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1723
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1724
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1725
*) ac_file_in="${ac_file}.in" ;;
1728
echo creating $ac_file
1730
rm -f conftest.frag conftest.in conftest.out
1731
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1732
cat $ac_file_inputs > conftest.in
1736
# Transform confdefs.h into a sed script conftest.vals that substitutes
1737
# the proper values into config.h.in to produce config.h. And first:
1738
# Protect against being on the right side of a sed subst in config.status.
1739
# Protect against being in an unquoted here document in config.status.
1741
cat > conftest.hdr <<\EOF
1744
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1748
sed -n -f conftest.hdr confdefs.h > conftest.vals
1751
# This sed command replaces #undef with comments. This is necessary, for
5527
1752
# example, in the case of _POSIX_SOURCE, which is predefined and required
5528
1753
# on some systems where configure will not decide to define it.
5529
# (The regexp can be short, since the line contains either #define or #undef.)
5531
s,^[ #]*u.*,/* & */,' >>conftest.defines
5533
# Break up conftest.defines:
5536
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5537
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5538
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5540
ac_in='$ac_file_inputs'
5541
ac_out='"$tmp/out1"'
5542
ac_nxt='"$tmp/out2"'
1754
cat >> conftest.vals <<\EOF
1755
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1758
# Break up conftest.vals because some shells have a limit on
1759
# the size of here documents, and old seds have small limits too.
5546
# Write a here document:
5547
cat >>$CONFIG_STATUS <<_ACEOF
5548
# First, check the format of the line:
5549
cat >"\$tmp/defines.sed" <<\\CEOF
5550
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5551
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5555
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
1764
ac_lines=`grep -c . conftest.vals`
1765
# grep -c gives empty output for an empty file on some AIX systems.
1766
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1767
# Write a limited-size here document to conftest.frag.
1768
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1769
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5557
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5558
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5559
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5560
grep . conftest.tail >/dev/null || break
5561
rm -f conftest.defines
5562
mv conftest.tail conftest.defines
1771
sed -f conftest.frag conftest.in > conftest.out
1773
mv conftest.out conftest.in
1775
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1777
mv conftest.tail conftest.vals
5564
rm -f conftest.defines conftest.tail
5566
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5567
cat >>$CONFIG_STATUS <<\_ACEOF
5568
if test x"$ac_file" != x-; then
5569
echo "/* $configure_input */" >"$tmp/config.h"
5570
cat "$ac_result" >>"$tmp/config.h"
5571
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5572
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5573
echo "$as_me: $ac_file is unchanged" >&6;}
5576
mv "$tmp/config.h" $ac_file
1781
cat >> $CONFIG_STATUS <<\EOF
1782
rm -f conftest.frag conftest.h
1783
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1784
cat conftest.in >> conftest.h
1786
if cmp -s $ac_file conftest.h 2>/dev/null; then
1787
echo "$ac_file is unchanged"
1790
# Remove last slash and all that follows it. Not all systems have dirname.
1791
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1792
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1793
# The file is in a subdirectory.
1794
test ! -d "$ac_dir" && mkdir "$ac_dir"
5579
echo "/* $configure_input */"
5583
# Compute $ac_file's index in $config_headers.
5586
for _am_header in $config_headers :; do
5588
$_am_arg | $_am_arg:* )
5591
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5594
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
5595
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5596
X"$_am_arg" : 'X\(//\)[^/]' \| \
5597
X"$_am_arg" : 'X\(//\)$' \| \
5598
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
5600
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5616
s/.*/./; q'`/stamp-h$_am_stamp_count
5619
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5620
echo "$as_me: executing $ac_file commands" >&6;}
5625
case $ac_file$ac_mode in
5626
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5627
# Strip MF so we end up with the name of the file.
5628
mf=`echo "$mf" | sed -e 's/:.*$//'`
5629
# Check whether this is an Automake generated Makefile or not.
5630
# We used to match only the files named `Makefile.in', but
5631
# some people rename them; so instead we look at the file content.
5632
# Grep'ing the first line is not enough: some people post-process
5633
# each Makefile.in and add a new line on top of each file to say so.
5634
# Grep'ing the whole file is not good either: AIX grep has a line
5635
# limit of 2048, but all sed's we know have understand at least 4000.
5636
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5637
dirpart=`$as_dirname -- "$mf" ||
5638
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5639
X"$mf" : 'X\(//\)[^/]' \| \
5640
X"$mf" : 'X\(//\)$' \| \
5641
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5643
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5663
# Extract the definition of DEPDIR, am__include, and am__quote
5664
# from the Makefile without running `make'.
5665
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5666
test -z "$DEPDIR" && continue
5667
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5668
test -z "am__include" && continue
5669
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5670
# When using ansi2knr, U may be empty or an underscore; expand it
5671
U=`sed -n 's/^U = //p' < "$mf"`
5672
# Find all dependency output files, they are included files with
5673
# $(DEPDIR) in their names. We invoke sed twice because it is the
5674
# simplest approach to changing $(DEPDIR) to its actual value in the
5676
for file in `sed -n "
5677
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5678
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5679
# Make sure the directory exists.
5680
test -f "$dirpart/$file" && continue
5681
fdir=`$as_dirname -- "$file" ||
5682
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5683
X"$file" : 'X\(//\)[^/]' \| \
5684
X"$file" : 'X\(//\)$' \| \
5685
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5687
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5704
{ as_dir=$dirpart/$fdir
5706
-*) as_dir=./$as_dir;;
5708
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5712
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5713
*) as_qdir=$as_dir;;
5715
as_dirs="'$as_qdir' $as_dirs"
5716
as_dir=`$as_dirname -- "$as_dir" ||
5717
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5718
X"$as_dir" : 'X\(//\)[^/]' \| \
5719
X"$as_dir" : 'X\(//\)$' \| \
5720
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5722
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5739
test -d "$as_dir" && break
5741
test -z "$as_dirs" || eval "mkdir $as_dirs"
5742
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5743
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5744
{ (exit 1); exit 1; }; }; }
5745
# echo "creating $dirpart/$file"
5746
echo '# dummy' > "$dirpart/$file"
5755
{ (exit 0); exit 0; }
1797
mv conftest.h $ac_file
1802
cat >> $CONFIG_STATUS <<EOF
1806
cat >> $CONFIG_STATUS <<\EOF
1807
test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
5757
1811
chmod +x $CONFIG_STATUS
5758
ac_clean_files=$ac_clean_files_save
5761
# configure is writing to config.log, and then calls config.status.
5762
# config.status does its own redirection, appending to config.log.
5763
# Unfortunately, on DOS this fails, as config.log is still kept open
5764
# by configure, so config.status won't be able to write to it; its
5765
# output is simply discarded. So we exec the FD to /dev/null,
5766
# effectively closing config.log, so it can be properly (re)opened and
5767
# appended to by config.status. When coming back to configure, we
5768
# need to make the FD available again.
5769
if test "$no_create" != yes; then
5771
ac_config_status_args=
5772
test "$silent" = yes &&
5773
ac_config_status_args="$ac_config_status_args --quiet"
5775
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5777
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
5778
# would make configure fail if this is the last instruction.
5779
$ac_cs_success || { (exit 1); exit 1; }
1812
rm -fr confdefs* $ac_clean_files
1813
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1