2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.53.
3
# Generated by GNU Autoconf 2.59.
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
# Free Software Foundation, Inc.
5
# Copyright (C) 2003 Free Software Foundation, Inc.
7
6
# This configure script is free software; the Free Software Foundation
8
7
# gives unlimited permission to copy, distribute and modify it.
10
if expr a : '\(a\)' >/dev/null 2>&1; then
17
8
## --------------------- ##
18
9
## M4sh Initialization. ##
19
10
## --------------------- ##
22
13
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17
# is contrary to our usage. Disable this feature.
18
alias -g '${1+"$@"}'='"$@"'
25
19
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22
DUALCASE=1; export DUALCASE # for MKS sh
30
24
# Support unset when possible.
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
25
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
37
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38
{ $as_unset LANG || test "${LANG+set}" != set; } ||
39
{ LANG=C; export LANG; }
40
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42
{ LC_ALL=C; export LC_ALL; }
43
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45
{ LC_TIME=C; export LC_TIME; }
46
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48
{ LC_CTYPE=C; export LC_CTYPE; }
49
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51
{ LANGUAGE=C; export LANGUAGE; }
52
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54
{ LC_COLLATE=C; export LC_COLLATE; }
55
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57
{ LC_NUMERIC=C; export LC_NUMERIC; }
58
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60
{ LC_MESSAGES=C; export LC_MESSAGES; }
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
40
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45
eval $as_var=C; export $as_var
51
# Required to use basename.
52
if expr a : '\(a\)' >/dev/null 2>&1; then
58
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
63
65
# Name of the executable.
64
as_me=`(basename "$0") 2>/dev/null ||
66
as_me=`$as_basename "$0" ||
65
67
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66
68
X"$0" : 'X\(//\)$' \| \
67
69
X"$0" : 'X\(/\)$' \| \
211
216
rm -f conf$$ conf$$.exe conf$$.file
218
if mkdir -p . 2>/dev/null; then
221
test -d ./-p && rmdir ./-p
213
225
as_executable_p="test -f"
215
227
# Sed expression to map a string onto a valid CPP name.
216
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
228
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
218
230
# Sed expression to map a string onto a valid variable name.
219
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
231
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
833
851
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
834
852
ac_top_srcdir=$ac_top_builddir$srcdir ;;
836
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
838
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
839
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
840
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
841
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
855
# Do not use `cd foo && pwd` to compute absolute paths, because
856
# the directories may not exist.
858
.) ac_abs_builddir="$ac_dir";;
861
.) ac_abs_builddir=`pwd`;;
862
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
863
*) ac_abs_builddir=`pwd`/"$ac_dir";;
866
case $ac_abs_builddir in
867
.) ac_abs_top_builddir=${ac_top_builddir}.;;
869
case ${ac_top_builddir}. in
870
.) ac_abs_top_builddir=$ac_abs_builddir;;
871
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
872
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
875
case $ac_abs_builddir in
876
.) ac_abs_srcdir=$ac_srcdir;;
879
.) ac_abs_srcdir=$ac_abs_builddir;;
880
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
881
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
884
case $ac_abs_builddir in
885
.) ac_abs_top_srcdir=$ac_top_srcdir;;
887
case $ac_top_srcdir in
888
.) ac_abs_top_srcdir=$ac_abs_builddir;;
889
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
890
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
844
895
# Check for guested configure; otherwise get Cygnus style configure.
863
914
if $ac_init_version; then
866
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
867
Free Software Foundation, Inc.
917
Copyright (C) 2003 Free Software Foundation, Inc.
868
918
This configure script is free software; the Free Software Foundation
869
919
gives unlimited permission to copy, distribute and modify it.
929
979
# Keep a trace of the command line.
930
980
# Strip out --no-create and --no-recursion so they do not pile up.
981
# Strip out --silent because we don't want to record it for future runs.
931
982
# Also quote any args containing shell meta-characters.
983
# Make two passes to allow for proper duplicate-argument suppression.
932
984
ac_configure_args=
988
ac_must_keep_next=false
937
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
938
| --no-cr | --no-c | -n ) continue ;;
939
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
940
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
942
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
943
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
945
case " $ac_configure_args " in
946
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
947
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
950
# Get rid of the leading space.
994
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
995
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
996
| -silent | --silent | --silen | --sile | --sil)
998
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1002
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1004
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1005
if test $ac_must_keep_next = true; then
1006
ac_must_keep_next=false # Got value, back to normal.
1009
*=* | --config-cache | -C | -disable-* | --disable-* \
1010
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1011
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1012
| -with-* | --with-* | -without-* | --without-* | --x)
1013
case "$ac_configure_args0 " in
1014
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1017
-* ) ac_must_keep_next=true ;;
1020
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1021
# Get rid of the leading space.
1027
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1028
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
953
1030
# When interrupted or exit'd, cleanup temporary files, and complete
954
1031
# config.log. We remove comments because anyway the quotes in there
971
1049
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
974
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
975
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1052
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1053
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
979
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1057
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1064
## ----------------- ##
1065
## Output variables. ##
1066
## ----------------- ##
1069
for ac_var in $ac_subst_vars
1071
eval ac_val=$`echo $ac_var`
1072
echo "$ac_var='"'"'$ac_val'"'"'"
1076
if test -n "$ac_subst_files"; then
1083
for ac_var in $ac_subst_files
1085
eval ac_val=$`echo $ac_var`
1086
echo "$ac_var='"'"'$ac_val'"'"'"
984
1091
if test -s confdefs.h; then
986
1093
## ----------- ##
1094
1201
if test "x$ac_old_val" != "x$ac_new_val"; then
1095
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1202
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1096
1203
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1097
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1204
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1098
1205
echo "$as_me: former value: $ac_old_val" >&2;}
1099
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1206
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1100
1207
echo "$as_me: current value: $ac_new_val" >&2;}
1101
ac_cache_corrupted=:
1208
ac_cache_corrupted=:
1104
1211
# Pass precious variables to config.status.
1205
1316
for ac_prog in ginstall scoinst install; do
1206
1317
for ac_exec_ext in '' $ac_executable_extensions; do
1207
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1208
if test $ac_prog = install &&
1209
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1210
# AIX install. It has an incompatible calling convention.
1212
elif test $ac_prog = install &&
1213
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1214
# program-specific install script used by HP pwplus--don't use.
1217
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1318
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1319
if test $ac_prog = install &&
1320
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1321
# AIX install. It has an incompatible calling convention.
1323
elif test $ac_prog = install &&
1324
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1325
# program-specific install script used by HP pwplus--don't use.
1328
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1315
1425
am_missing_run="$MISSING --run "
1317
1427
am_missing_run=
1319
{ echo "$as_me:$LINENO: WARNING: ${am_backtick}missing' script is too old or missing" >&5
1320
echo "$as_me: WARNING: ${am_backtick}missing' script is too old or missing" >&2;}
1428
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1429
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1432
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1433
# Keeping the `.' argument allows $(mkdir_p) to be used without
1434
# argument. Indeed, we sometimes output rules like
1435
# $(mkdir_p) $(somedir)
1436
# where $(somedir) is conditionally defined.
1437
# (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1438
# expensive solution, as it forces Make to start a sub-shell.)
1439
mkdir_p='mkdir -p -- .'
1441
# On NextStep and OpenStep, the `mkdir' command does not
1442
# recognize any option. It will interpret all options as
1443
# directories to create, and then abort because `.' already
1445
for d in ./-p ./--version;
1447
test -d $d && rmdir $d
1449
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1450
if test -f "$ac_aux_dir/mkinstalldirs"; then
1451
mkdir_p='$(mkinstalldirs)'
1453
mkdir_p='$(install_sh) -d'
1323
1457
for ac_prog in gawk mawk nawk awk
1360
1494
test -n "$AWK" && break
1363
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1364
echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1365
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1497
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1498
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1499
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1366
1500
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1367
1501
echo $ECHO_N "(cached) $ECHO_C" >&6
1369
1503
cat >conftest.make <<\_ACEOF
1371
@echo 'ac_maketemp="${MAKE}"'
1505
@echo 'ac_maketemp="$(MAKE)"'
1373
1507
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1374
1508
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1389
1523
SET_MAKE="MAKE=${MAKE-make}"
1392
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1393
if test "${enable_dependency_tracking+set}" = set; then
1394
enableval="$enable_dependency_tracking"
1397
if test "x$enable_dependency_tracking" != xno; then
1398
am_depcomp="$ac_aux_dir/depcomp"
1403
if test "x$enable_dependency_tracking" != xno; then
1414
rm -f .deps 2>/dev/null
1415
mkdir .deps 2>/dev/null
1416
if test -d .deps; then
1419
# MS-DOS does not allow filenames that begin with a dot.
1422
rmdir .deps 2>/dev/null
1526
rm -rf .tst 2>/dev/null
1527
mkdir .tst 2>/dev/null
1528
if test -d .tst; then
1533
rmdir .tst 2>/dev/null
1425
1535
# test to see if srcdir already configured
1426
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1536
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1427
1537
test -f $srcdir/config.status; then
1428
1538
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1429
1539
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1430
1540
{ (exit 1); exit 1; }; }
1543
# test whether we have cygpath
1544
if test -z "$CYGPATH_W"; then
1545
if (cygpath --version) >/dev/null 2>/dev/null; then
1546
CYGPATH_W='cygpath -w'
1433
1553
# Define the identity of the package.
1555
VERSION=1.0+20030701
1437
1558
cat >>confdefs.h <<_ACEOF
1438
1559
#define PACKAGE "$PACKAGE"
1443
1564
#define VERSION "$VERSION"
1447
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1448
# the ones we care about.
1450
# Autoconf 2.50 always computes EXEEXT. However we need to be
1451
# compatible with 2.13, for now. So we always define EXEEXT, but we
1454
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1455
# requests that it be used. This is a bit dumb.
1459
1567
# Some tools Automake needs.
1461
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1569
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1464
1572
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1467
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1575
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1470
1578
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1478
1586
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1588
# Installed binaries are usually stripped using `strip' when the user
1589
# run `make install-strip'. However `strip' might not be the right
1590
# tool to use in cross-compilation environments, therefore Automake
1591
# will honor the `STRIP' environment variable to overrule this program.
1592
if test "$cross_compiling" != no; then
1593
if test -n "$ac_tool_prefix"; then
1594
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1595
set dummy ${ac_tool_prefix}strip; ac_word=$2
1596
echo "$as_me:$LINENO: checking for $ac_word" >&5
1597
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1598
if test "${ac_cv_prog_STRIP+set}" = set; then
1599
echo $ECHO_N "(cached) $ECHO_C" >&6
1601
if test -n "$STRIP"; then
1602
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1604
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1608
test -z "$as_dir" && as_dir=.
1609
for ac_exec_ext in '' $ac_executable_extensions; do
1610
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1611
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1612
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1620
STRIP=$ac_cv_prog_STRIP
1621
if test -n "$STRIP"; then
1622
echo "$as_me:$LINENO: result: $STRIP" >&5
1623
echo "${ECHO_T}$STRIP" >&6
1625
echo "$as_me:$LINENO: result: no" >&5
1626
echo "${ECHO_T}no" >&6
1630
if test -z "$ac_cv_prog_STRIP"; then
1632
# Extract the first word of "strip", so it can be a program name with args.
1633
set dummy strip; ac_word=$2
1634
echo "$as_me:$LINENO: checking for $ac_word" >&5
1635
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1636
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1637
echo $ECHO_N "(cached) $ECHO_C" >&6
1639
if test -n "$ac_ct_STRIP"; then
1640
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1642
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1646
test -z "$as_dir" && as_dir=.
1647
for ac_exec_ext in '' $ac_executable_extensions; do
1648
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1649
ac_cv_prog_ac_ct_STRIP="strip"
1650
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1656
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1659
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1660
if test -n "$ac_ct_STRIP"; then
1661
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1662
echo "${ECHO_T}$ac_ct_STRIP" >&6
1664
echo "$as_me:$LINENO: result: no" >&5
1665
echo "${ECHO_T}no" >&6
1670
STRIP="$ac_cv_prog_STRIP"
1480
1674
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1482
1676
# We need awk for the "check" target. The system "awk" is bad on
1483
1677
# some platforms.
1486
1682
for ac_prog in gawk mawk nawk awk
1488
1684
# Extract the first word of "$ac_prog", so it can be a program name with args.
1558
1756
for ac_prog in ginstall scoinst install; do
1559
1757
for ac_exec_ext in '' $ac_executable_extensions; do
1560
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1561
if test $ac_prog = install &&
1562
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1563
# AIX install. It has an incompatible calling convention.
1565
elif test $ac_prog = install &&
1566
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1567
# program-specific install script used by HP pwplus--don't use.
1570
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1758
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1759
if test $ac_prog = install &&
1760
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1761
# AIX install. It has an incompatible calling convention.
1763
elif test $ac_prog = install &&
1764
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1765
# program-specific install script used by HP pwplus--don't use.
1768
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2047
2242
ac_clean_files_save=$ac_clean_files
2048
ac_clean_files="$ac_clean_files a.out a.exe"
2243
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2049
2244
# Try to create an executable without -o first, disregard a.out.
2050
2245
# It will help us diagnose broken compilers, and finding out an intuition
2052
echo "$as_me:$LINENO: checking for C compiler default output" >&5
2053
echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2247
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2248
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2054
2249
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2055
2250
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2056
2251
(eval $ac_link_default) 2>&5
2064
2259
# Be careful to initialize this variable, since it used to be cached.
2065
2260
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2067
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2068
ls a.out conftest 2>/dev/null;
2069
ls a.* conftest.* 2>/dev/null`; do
2262
# b.out is created by i960 compilers.
2263
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2265
test -f "$ac_file" || continue
2070
2266
case $ac_file in
2071
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2072
a.out ) # We found the default executable, but exeext='' is most
2075
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2076
# FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2267
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2270
# This is the source file.
2273
# We found the default executable, but exeext='' is most
2277
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2278
# FIXME: I believe we export ac_cv_exeext for Libtool,
2279
# but it would be cool to find out if it's true. Does anybody
2280
# maintain Libtool? --akim.
2083
2288
echo "$as_me: failed program was:" >&5
2084
cat conftest.$ac_ext >&5
2085
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2086
echo "$as_me: error: C compiler cannot create executables" >&2;}
2289
sed 's/^/| /' conftest.$ac_ext >&5
2291
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2292
See \`config.log' for more details." >&5
2293
echo "$as_me: error: C compiler cannot create executables
2294
See \`config.log' for more details." >&2;}
2087
2295
{ (exit 77); exit 77; }; }
2140
2350
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2141
2351
# work properly (i.e., refer to `conftest.exe'), while it won't with
2143
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2353
for ac_file in conftest.exe conftest conftest.*; do
2354
test -f "$ac_file" || continue
2144
2355
case $ac_file in
2145
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2356
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2146
2357
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2153
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2154
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2364
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2365
See \`config.log' for more details." >&5
2366
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2367
See \`config.log' for more details." >&2;}
2155
2368
{ (exit 1); exit 1; }; }
2193
2403
(exit $ac_status); }; then
2194
2404
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2195
2405
case $ac_file in
2196
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2406
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2197
2407
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2202
2412
echo "$as_me: failed program was:" >&5
2203
cat conftest.$ac_ext >&5
2204
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2205
echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2413
sed 's/^/| /' conftest.$ac_ext >&5
2415
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2416
See \`config.log' for more details." >&5
2417
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2418
See \`config.log' for more details." >&2;}
2206
2419
{ (exit 1); exit 1; }; }
2241
2451
rm -f conftest.$ac_objext
2242
2452
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2243
(eval $ac_compile) 2>&5
2453
(eval $ac_compile) 2>conftest.er1
2455
grep -v '^ *+' conftest.er1 >conftest.err
2457
cat conftest.err >&5
2245
2458
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246
2459
(exit $ac_status); } &&
2247
{ ac_try='test -s conftest.$ac_objext'
2460
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2461
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465
(exit $ac_status); }; } &&
2466
{ ac_try='test -s conftest.$ac_objext'
2248
2467
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2249
2468
(eval $ac_try) 2>&5
2292
2509
rm -f conftest.$ac_objext
2293
2510
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2294
(eval $ac_compile) 2>&5
2511
(eval $ac_compile) 2>conftest.er1
2513
grep -v '^ *+' conftest.er1 >conftest.err
2515
cat conftest.err >&5
2296
2516
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2297
2517
(exit $ac_status); } &&
2298
{ ac_try='test -s conftest.$ac_objext'
2518
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2519
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523
(exit $ac_status); }; } &&
2524
{ ac_try='test -s conftest.$ac_objext'
2299
2525
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2300
2526
(eval $ac_try) 2>&5
2556
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2557
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2558
if test "${ac_cv_prog_cc_stdc+set}" = set; then
2559
echo $ECHO_N "(cached) $ECHO_C" >&6
2561
ac_cv_prog_cc_stdc=no
2563
cat >conftest.$ac_ext <<_ACEOF
2566
cat confdefs.h >>conftest.$ac_ext
2567
cat >>conftest.$ac_ext <<_ACEOF
2568
/* end confdefs.h. */
2571
#include <sys/types.h>
2572
#include <sys/stat.h>
2573
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2574
struct buf { int x; };
2575
FILE * (*rcsopen) (struct buf *, struct stat *, int);
2576
static char *e (p, i)
2582
static char *f (char * (*g) (char **, int), char **p, ...)
2587
s = g (p, va_arg (v,int));
2592
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2593
function prototypes and stuff, but not '\xHH' hex character constants.
2594
These don't provoke an error unfortunately, instead are silently treated
2595
as 'x'. The following induces an error, until -std1 is added to get
2596
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2597
array size at least. It's necessary to write '\x00'==0 to get something
2598
that's true only with -std1. */
2599
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2601
int test (int i, double x);
2602
struct s1 {int (*f) (int a);};
2603
struct s2 {int (*f) (double a);};
2604
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2610
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2615
# Don't try gcc -ansi; that turns off useful extensions and
2616
# breaks some systems' header files.
2617
# AIX -qlanglvl=ansi
2618
# Ultrix and OSF/1 -std1
2619
# HP-UX 10.20 and later -Ae
2620
# HP-UX older versions -Aa -D_HPUX_SOURCE
2621
# SVR4 -Xc -D__EXTENSIONS__
2622
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2624
CC="$ac_save_CC $ac_arg"
2625
rm -f conftest.$ac_objext
2626
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627
(eval $ac_compile) 2>conftest.er1
2629
grep -v '^ *+' conftest.er1 >conftest.err
2631
cat conftest.err >&5
2632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633
(exit $ac_status); } &&
2634
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2635
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2638
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639
(exit $ac_status); }; } &&
2640
{ ac_try='test -s conftest.$ac_objext'
2641
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2645
(exit $ac_status); }; }; then
2646
ac_cv_prog_cc_stdc=$ac_arg
2649
echo "$as_me: failed program was:" >&5
2650
sed 's/^/| /' conftest.$ac_ext >&5
2653
rm -f conftest.err conftest.$ac_objext
2655
rm -f conftest.$ac_ext conftest.$ac_objext
2660
case "x$ac_cv_prog_cc_stdc" in
2662
echo "$as_me:$LINENO: result: none needed" >&5
2663
echo "${ECHO_T}none needed" >&6 ;;
2665
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2666
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2667
CC="$CC $ac_cv_prog_cc_stdc" ;;
2329
2670
# Some people use a C++ compiler to compile C. Since we use `exit',
2330
2671
# in C++ we need to declare it. In case someone uses the same compiler
2331
2672
# for both compiling C and C++ we need to have the C++ compiler decide
2338
2679
rm -f conftest.$ac_objext
2339
2680
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2340
(eval $ac_compile) 2>&5
2681
(eval $ac_compile) 2>conftest.er1
2683
grep -v '^ *+' conftest.er1 >conftest.err
2685
cat conftest.err >&5
2342
2686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2343
2687
(exit $ac_status); } &&
2344
{ ac_try='test -s conftest.$ac_objext'
2688
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2689
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2692
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693
(exit $ac_status); }; } &&
2694
{ ac_try='test -s conftest.$ac_objext'
2345
2695
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2346
2696
(eval $ac_try) 2>&5
2348
2698
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349
2699
(exit $ac_status); }; }; then
2350
2700
for ac_declaration in \
2352
'#include <stdlib.h>' \
2353
2702
'extern "C" void std::exit (int) throw (); using std::exit;' \
2354
2703
'extern "C" void std::exit (int); using std::exit;' \
2355
2704
'extern "C" void exit (int) throw ();' \
2378
2724
rm -f conftest.$ac_objext
2379
2725
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2380
(eval $ac_compile) 2>&5
2726
(eval $ac_compile) 2>conftest.er1
2728
grep -v '^ *+' conftest.er1 >conftest.err
2730
cat conftest.err >&5
2382
2731
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383
2732
(exit $ac_status); } &&
2384
{ ac_try='test -s conftest.$ac_objext'
2733
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2734
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738
(exit $ac_status); }; } &&
2739
{ ac_try='test -s conftest.$ac_objext'
2385
2740
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2386
2741
(eval $ac_try) 2>&5
2415
2768
rm -f conftest.$ac_objext
2416
2769
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2417
(eval $ac_compile) 2>&5
2770
(eval $ac_compile) 2>conftest.er1
2772
grep -v '^ *+' conftest.er1 >conftest.err
2774
cat conftest.err >&5
2419
2775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420
2776
(exit $ac_status); } &&
2421
{ ac_try='test -s conftest.$ac_objext'
2777
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
(exit $ac_status); }; } &&
2783
{ ac_try='test -s conftest.$ac_objext'
2422
2784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423
2785
(eval $ac_try) 2>&5
2442
2805
echo "$as_me: failed program was:" >&5
2443
cat conftest.$ac_ext >&5
2806
sed 's/^/| /' conftest.$ac_ext >&5
2445
rm -f conftest.$ac_objext conftest.$ac_ext
2809
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2447
2811
ac_cpp='$CPP $CPPFLAGS'
2448
2812
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449
2813
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450
2814
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452
ac_config_commands="$ac_config_commands default-1"
2815
DEPDIR="${am__leading_dot}deps"
2817
ac_config_commands="$ac_config_commands depfiles"
2454
2820
am_make=${MAKE-make}
2455
2821
cat > confinc << 'END'
2459
2826
# If we don't find an include directive, just comment out the code.
2460
2827
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2461
2828
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2464
2831
_am_result=none
2465
2832
# First try GNU make style include.
2508
2896
# using a relative directory.
2509
2897
cp "$am_depcomp" conftest.dir
2510
2898
cd conftest.dir
2899
# We will build objects and dependencies in a subdirectory because
2900
# it helps to detect inapplicable dependency modes. For instance
2901
# both Tru64's cc and ICC support -MD to output dependencies as a
2902
# side effect of compilation, but ICC will put the dependencies in
2903
# the current directory while Tru64 will put them in the object
2512
2907
am_cv_CC_dependencies_compiler_type=none
2513
2908
if test "$am_compiler_list" = ""; then
2514
2909
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2516
2911
for depmode in $am_compiler_list; do
2912
# Setup a source with many dependencies, because some compilers
2913
# like to wrap large dependency lists on column 80 (with \), and
2914
# we should not choose a depcomp mode which is confused by this.
2517
2916
# We need to recreate these files for each test, as the compiler may
2518
2917
# overwrite some of them when testing with obscure command lines.
2519
2918
# This happens at least with the AIX C compiler.
2520
echo '#include "conftest.h"' > conftest.c
2521
echo 'int i;' > conftest.h
2522
echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2920
for i in 1 2 3 4 5 6; do
2921
echo '#include "conftst'$i'.h"' >> sub/conftest.c
2922
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2923
# Solaris 8's {/usr,}/bin/sh.
2924
touch sub/conftst$i.h
2926
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2524
2928
case $depmode in
2537
2941
# mode. It turns out that the SunPro C++ compiler does not properly
2538
2942
# handle `-M -o', and we need to detect this.
2539
2943
if depmode=$depmode \
2540
source=conftest.c object=conftest.o \
2541
depfile=conftest.Po tmpdepfile=conftest.TPo \
2542
$SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2543
grep conftest.h conftest.Po > /dev/null 2>&1 &&
2944
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2945
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2946
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2947
>/dev/null 2>conftest.err &&
2948
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2949
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2544
2950
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2545
am_cv_CC_dependencies_compiler_type=$depmode
2951
# icc doesn't choke on unknown options, it will just issue warnings
2952
# or remarks (even with -Werror). So we grep stderr for any message
2953
# that says an option was ignored or not supported.
2954
# When given -MP, icc 7.0 and 7.1 complain thusly:
2955
# icc: Command line warning: ignoring option '-M'; no argument required
2956
# The diagnosis changed in icc 8.0:
2957
# icc: Command line remark: option '-MP' not supported
2958
if (grep 'ignoring option' conftest.err ||
2959
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2960
am_cv_CC_dependencies_compiler_type=$depmode
2557
2973
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2558
2974
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2559
CCDEPMODE="depmode=$am_cv_CC_dependencies_compiler_type"
2563
ac_config_files="$ac_config_files Makefile"
2975
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2980
test "x$enable_dependency_tracking" != xno \
2981
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2983
am__fastdepCC_FALSE='#'
2985
am__fastdepCC_TRUE='#'
2986
am__fastdepCC_FALSE=
2994
for ac_func in strlcat strlcpy
2996
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2997
echo "$as_me:$LINENO: checking for $ac_func" >&5
2998
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2999
if eval "test \"\${$as_ac_var+set}\" = set"; then
3000
echo $ECHO_N "(cached) $ECHO_C" >&6
3002
cat >conftest.$ac_ext <<_ACEOF
3005
cat confdefs.h >>conftest.$ac_ext
3006
cat >>conftest.$ac_ext <<_ACEOF
3007
/* end confdefs.h. */
3008
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3009
For example, HP-UX 11i <limits.h> declares gettimeofday. */
3010
#define $ac_func innocuous_$ac_func
3012
/* System header to define __stub macros and hopefully few prototypes,
3013
which can conflict with char $ac_func (); below.
3014
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3015
<limits.h> exists even on freestanding compilers. */
3018
# include <limits.h>
3020
# include <assert.h>
3025
/* Override any gcc2 internal prototype to avoid an error. */
3030
/* We use char because int might match the return type of a gcc2
3031
builtin and then its argument prototype would still apply. */
3033
/* The GNU C library defines this for functions which it implements
3034
to always fail with ENOSYS. Some functions are actually named
3035
something starting with __ and the normal name is an alias. */
3036
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3039
char (*f) () = $ac_func;
3048
return f != $ac_func;
3053
rm -f conftest.$ac_objext conftest$ac_exeext
3054
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3055
(eval $ac_link) 2>conftest.er1
3057
grep -v '^ *+' conftest.er1 >conftest.err
3059
cat conftest.err >&5
3060
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061
(exit $ac_status); } &&
3062
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3063
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067
(exit $ac_status); }; } &&
3068
{ ac_try='test -s conftest$ac_exeext'
3069
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073
(exit $ac_status); }; }; then
3074
eval "$as_ac_var=yes"
3076
echo "$as_me: failed program was:" >&5
3077
sed 's/^/| /' conftest.$ac_ext >&5
3079
eval "$as_ac_var=no"
3081
rm -f conftest.err conftest.$ac_objext \
3082
conftest$ac_exeext conftest.$ac_ext
3084
echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3085
echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3086
if test `eval echo '${'$as_ac_var'}'` = yes; then
3087
cat >>confdefs.h <<_ACEOF
3088
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3095
ac_config_files="$ac_config_files Makefile src/Makefile tests/Makefile"
2564
3096
cat >confcache <<\_ACEOF
2565
3097
# This file is a shell script that caches the results of configure
2566
3098
# tests run on this system so they can be shared between configure
2645
3177
cat >confdef2opt.sed <<\_ACEOF
2648
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3180
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
2650
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3182
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
2654
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3186
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
2668
3200
rm -f confdef2opt.sed
3205
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3206
# 1. Remove the extension, and $U if already installed.
3207
ac_i=`echo "$ac_i" |
3208
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3210
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3211
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3215
LTLIBOBJS=$ac_ltlibobjs
3218
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3219
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3220
Usually this means the macro was only invoked conditionally." >&5
3221
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3222
Usually this means the macro was only invoked conditionally." >&2;}
3223
{ (exit 1); exit 1; }; }
3225
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3226
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
3227
Usually this means the macro was only invoked conditionally." >&5
3228
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
3229
Usually this means the macro was only invoked conditionally." >&2;}
3230
{ (exit 1); exit 1; }; }
2672
3233
: ${CONFIG_STATUS=./config.status}
2673
3234
ac_clean_files_save=$ac_clean_files
2695
3257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3260
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3261
# is contrary to our usage. Disable this feature.
3262
alias -g '${1+"$@"}'='"$@"'
2698
3263
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3266
DUALCASE=1; export DUALCASE # for MKS sh
2703
3268
# Support unset when possible.
2704
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3269
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2710
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
2711
{ $as_unset LANG || test "${LANG+set}" != set; } ||
2712
{ LANG=C; export LANG; }
2713
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
2714
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
2715
{ LC_ALL=C; export LC_ALL; }
2716
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
2717
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
2718
{ LC_TIME=C; export LC_TIME; }
2719
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
2720
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
2721
{ LC_CTYPE=C; export LC_CTYPE; }
2722
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
2723
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
2724
{ LANGUAGE=C; export LANGUAGE; }
2725
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
2726
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
2727
{ LC_COLLATE=C; export LC_COLLATE; }
2728
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
2729
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
2730
{ LC_NUMERIC=C; export LC_NUMERIC; }
2731
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
2732
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
2733
{ LC_MESSAGES=C; export LC_MESSAGES; }
3276
# Work around bugs in pre-3.0 UWIN ksh.
3277
$as_unset ENV MAIL MAILPATH
3284
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3285
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3286
LC_TELEPHONE LC_TIME
3288
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3289
eval $as_var=C; export $as_var
3295
# Required to use basename.
3296
if expr a : '\(a\)' >/dev/null 2>&1; then
3302
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3303
as_basename=basename
2736
3309
# Name of the executable.
2737
as_me=`(basename "$0") 2>/dev/null ||
3310
as_me=`$as_basename "$0" ||
2738
3311
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2739
3312
X"$0" : 'X\(//\)$' \| \
2740
3313
X"$0" : 'X\(/\)$' \| \
2886
3462
rm -f conf$$ conf$$.exe conf$$.file
3464
if mkdir -p . 2>/dev/null; then
3467
test -d ./-p && rmdir ./-p
2888
3471
as_executable_p="test -f"
2890
3473
# Sed expression to map a string onto a valid CPP name.
2891
as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3474
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2893
3476
# Sed expression to map a string onto a valid variable name.
2894
as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3477
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2975
3559
cat >>$CONFIG_STATUS <<_ACEOF
2976
3560
ac_cs_version="\\
2978
configured by $0, generated by GNU Autoconf 2.53,
3562
configured by $0, generated by GNU Autoconf 2.59,
2979
3563
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2981
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2982
Free Software Foundation, Inc.
3565
Copyright (C) 2003 Free Software Foundation, Inc.
2983
3566
This config.status script is free software; the Free Software Foundation
2984
3567
gives unlimited permission to copy, distribute and modify it."
2997
3580
ac_option=`expr "x$1" : 'x\([^=]*\)='`
2998
3581
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3000
set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3004
3589
*) # This is not an option, so the user has probably given explicit
3006
3592
ac_need_defaults=false;;
3010
3596
# Handling of the options.
3012
cat >>$CONFIG_STATUS <<_ACEOF
3598
cat >>$CONFIG_STATUS <<\_ACEOF
3013
3599
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3014
echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3015
exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3017
cat >>$CONFIG_STATUS <<\_ACEOF
3018
3601
--version | --vers* | -V )
3019
3602
echo "$ac_cs_version"; exit 0 ;;
3155
3759
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3156
3760
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3157
3761
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3762
s,@CYGPATH_W@,$CYGPATH_W,;t t
3158
3763
s,@PACKAGE@,$PACKAGE,;t t
3159
3764
s,@VERSION@,$VERSION,;t t
3160
s,@EXEEXT@,$EXEEXT,;t t
3161
s,@OBJEXT@,$OBJEXT,;t t
3162
3765
s,@ACLOCAL@,$ACLOCAL,;t t
3163
3766
s,@AUTOCONF@,$AUTOCONF,;t t
3164
3767
s,@AUTOMAKE@,$AUTOMAKE,;t t
3166
3769
s,@MAKEINFO@,$MAKEINFO,;t t
3167
3770
s,@AMTAR@,$AMTAR,;t t
3168
3771
s,@install_sh@,$install_sh,;t t
3772
s,@STRIP@,$STRIP,;t t
3773
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3169
3774
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3775
s,@mkdir_p@,$mkdir_p,;t t
3170
3776
s,@AWK@,$AWK,;t t
3171
3777
s,@SET_MAKE@,$SET_MAKE,;t t
3172
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3173
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3174
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3175
s,@DEPDIR@,$DEPDIR,;t t
3778
s,@am__leading_dot@,$am__leading_dot,;t t
3176
3779
s,@LN_S@,$LN_S,;t t
3177
3780
s,@RANLIB@,$RANLIB,;t t
3178
3781
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
3181
3784
s,@LDFLAGS@,$LDFLAGS,;t t
3182
3785
s,@CPPFLAGS@,$CPPFLAGS,;t t
3183
3786
s,@ac_ct_CC@,$ac_ct_CC,;t t
3787
s,@EXEEXT@,$EXEEXT,;t t
3788
s,@OBJEXT@,$OBJEXT,;t t
3789
s,@DEPDIR@,$DEPDIR,;t t
3184
3790
s,@am__include@,$am__include,;t t
3185
3791
s,@am__quote@,$am__quote,;t t
3792
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3793
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3794
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3186
3795
s,@CCDEPMODE@,$CCDEPMODE,;t t
3796
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
3797
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
3798
s,@LIBOBJS@,$LIBOBJS,;t t
3799
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3233
3846
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3234
3847
case $ac_file in
3235
3848
- | *:- | *:-:* ) # input from stdin
3237
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3238
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3850
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3851
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3239
3852
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3240
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3853
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3241
3854
* ) ac_file_in=$ac_file.in ;;
3244
3857
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3245
3858
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3246
3859
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3247
X"$ac_file" : 'X\(//\)[^/]' \| \
3248
X"$ac_file" : 'X\(//\)$' \| \
3249
X"$ac_file" : 'X\(/\)' \| \
3250
. : '\(.\)' 2>/dev/null ||
3860
X"$ac_file" : 'X\(//\)[^/]' \| \
3861
X"$ac_file" : 'X\(//\)$' \| \
3862
X"$ac_file" : 'X\(/\)' \| \
3863
. : '\(.\)' 2>/dev/null ||
3251
3864
echo X"$ac_file" |
3252
3865
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3253
3866
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3254
3867
/^X\(\/\/\)$/{ s//\1/; q; }
3255
3868
/^X\(\/\).*/{ s//\1/; q; }
3258
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
3262
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3263
case $as_mkdir_dir in
3264
# Skip DOS drivespec
3265
?:) as_incr_dir=$as_mkdir_dir ;;
3267
as_incr_dir=$as_incr_dir/$as_mkdir_dir
3268
test -d "$as_incr_dir" ||
3269
mkdir "$as_incr_dir" ||
3270
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3271
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3272
{ (exit 1); exit 1; }; }
3870
{ if $as_mkdir_p; then
3875
while test ! -d "$as_dir"; do
3876
as_dirs="$as_dir $as_dirs"
3877
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3878
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3879
X"$as_dir" : 'X\(//\)[^/]' \| \
3880
X"$as_dir" : 'X\(//\)$' \| \
3881
X"$as_dir" : 'X\(/\)' \| \
3882
. : '\(.\)' 2>/dev/null ||
3884
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3885
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3886
/^X\(\/\/\)$/{ s//\1/; q; }
3887
/^X\(\/\).*/{ s//\1/; q; }
3890
test ! -n "$as_dirs" || mkdir $as_dirs
3891
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3892
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3893
{ (exit 1); exit 1; }; }; }
3299
3917
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3300
3918
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3302
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3304
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3305
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3306
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3307
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
3921
# Do not use `cd foo && pwd` to compute absolute paths, because
3922
# the directories may not exist.
3924
.) ac_abs_builddir="$ac_dir";;
3927
.) ac_abs_builddir=`pwd`;;
3928
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3929
*) ac_abs_builddir=`pwd`/"$ac_dir";;
3932
case $ac_abs_builddir in
3933
.) ac_abs_top_builddir=${ac_top_builddir}.;;
3935
case ${ac_top_builddir}. in
3936
.) ac_abs_top_builddir=$ac_abs_builddir;;
3937
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3938
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3941
case $ac_abs_builddir in
3942
.) ac_abs_srcdir=$ac_srcdir;;
3945
.) ac_abs_srcdir=$ac_abs_builddir;;
3946
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3947
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3950
case $ac_abs_builddir in
3951
.) ac_abs_top_srcdir=$ac_top_srcdir;;
3953
case $ac_top_srcdir in
3954
.) ac_abs_top_srcdir=$ac_abs_builddir;;
3955
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3956
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3310
3961
case $INSTALL in
3336
3982
-) echo $tmp/stdin ;;
3338
# Absolute (can't be DOS-style, as IFS=:)
3339
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3984
# Absolute (can't be DOS-style, as IFS=:)
3985
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3340
3986
echo "$as_me: error: cannot find input file: $f" >&2;}
3341
3987
{ (exit 1); exit 1; }; }
3344
if test -f "$f"; then
3347
elif test -f "$srcdir/$f"; then
3352
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3990
if test -f "$f"; then
3993
elif test -f "$srcdir/$f"; then
3998
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3353
3999
echo "$as_me: error: cannot find input file: $f" >&2;}
3354
4000
{ (exit 1); exit 1; }; }
3357
4003
done` || { (exit 1); exit 1; }
4005
if test x"$ac_file" != x-; then
4006
{ echo "$as_me:$LINENO: creating $ac_file" >&5
4007
echo "$as_me: creating $ac_file" >&6;}
3359
4011
cat >>$CONFIG_STATUS <<_ACEOF
3394
4046
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3395
4047
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3396
4048
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3397
X"$ac_dest" : 'X\(//\)[^/]' \| \
3398
X"$ac_dest" : 'X\(//\)$' \| \
3399
X"$ac_dest" : 'X\(/\)' \| \
3400
. : '\(.\)' 2>/dev/null ||
4049
X"$ac_dest" : 'X\(//\)[^/]' \| \
4050
X"$ac_dest" : 'X\(//\)$' \| \
4051
X"$ac_dest" : 'X\(/\)' \| \
4052
. : '\(.\)' 2>/dev/null ||
3401
4053
echo X"$ac_dest" |
3402
4054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3403
4055
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3404
4056
/^X\(\/\/\)$/{ s//\1/; q; }
3405
4057
/^X\(\/\).*/{ s//\1/; q; }
4059
{ if $as_mkdir_p; then
4064
while test ! -d "$as_dir"; do
4065
as_dirs="$as_dir $as_dirs"
4066
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4067
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4068
X"$as_dir" : 'X\(//\)[^/]' \| \
4069
X"$as_dir" : 'X\(//\)$' \| \
4070
X"$as_dir" : 'X\(/\)' \| \
4071
. : '\(.\)' 2>/dev/null ||
4073
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4074
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4075
/^X\(\/\/\)$/{ s//\1/; q; }
4076
/^X\(\/\).*/{ s//\1/; q; }
4079
test ! -n "$as_dirs" || mkdir $as_dirs
4080
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4081
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4082
{ (exit 1); exit 1; }; }; }
3409
4086
if test "$ac_dir" != .; then
3429
4106
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3430
4107
ac_top_srcdir=$ac_top_builddir$srcdir ;;
3432
# Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
3434
ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
3435
ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
3436
ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
3437
ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4110
# Do not use `cd foo && pwd` to compute absolute paths, because
4111
# the directories may not exist.
4113
.) ac_abs_builddir="$ac_dir";;
4116
.) ac_abs_builddir=`pwd`;;
4117
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
4118
*) ac_abs_builddir=`pwd`/"$ac_dir";;
4121
case $ac_abs_builddir in
4122
.) ac_abs_top_builddir=${ac_top_builddir}.;;
4124
case ${ac_top_builddir}. in
4125
.) ac_abs_top_builddir=$ac_abs_builddir;;
4126
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
4127
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
4130
case $ac_abs_builddir in
4131
.) ac_abs_srcdir=$ac_srcdir;;
4134
.) ac_abs_srcdir=$ac_abs_builddir;;
4135
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
4136
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
4139
case $ac_abs_builddir in
4140
.) ac_abs_top_srcdir=$ac_top_srcdir;;
4142
case $ac_top_srcdir in
4143
.) ac_abs_top_srcdir=$ac_abs_builddir;;
4144
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
4145
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3440
4150
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3441
4151
echo "$as_me: executing $ac_dest commands" >&6;}
3442
4152
case $ac_dest in
3444
test x"$AMDEP_TRUE" != x"" ||
3445
for mf in $CONFIG_FILES; do
3447
Makefile) dirpart=.;;
3448
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
4153
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4154
# Strip MF so we end up with the name of the file.
4155
mf=`echo "$mf" | sed -e 's/:.*$//'`
4156
# Check whether this is an Automake generated Makefile or not.
4157
# We used to match only the files named `Makefile.in', but
4158
# some people rename them; so instead we look at the file content.
4159
# Grep'ing the first line is not enough: some people post-process
4160
# each Makefile.in and add a new line on top of each file to say so.
4161
# So let's grep whole file.
4162
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4163
dirpart=`(dirname "$mf") 2>/dev/null ||
4164
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4165
X"$mf" : 'X\(//\)[^/]' \| \
4166
X"$mf" : 'X\(//\)$' \| \
4167
X"$mf" : 'X\(/\)' \| \
4168
. : '\(.\)' 2>/dev/null ||
4170
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4171
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4172
/^X\(\/\/\)$/{ s//\1/; q; }
4173
/^X\(\/\).*/{ s//\1/; q; }
3451
4178
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3452
4179
# Extract the definition of DEP_FILES from the Makefile without
3453
4180
# running `make'.
3454
DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
4181
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3455
4182
test -z "$DEPDIR" && continue
3456
4183
# When using ansi2knr, U may be empty or an underscore; expand it
3457
U=`sed -n -e '/^U = / s///p' < "$mf"`
4184
U=`sed -n 's/^U = //p' < "$mf"`
3458
4185
test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3459
4186
# We invoke sed twice because it is the simplest approach to
3460
4187
# changing $(DEPDIR) to its actual value in the expansion.
3461
for file in `sed -n -e '
4188
for file in `sed -n '
3462
4189
/^DEP_FILES = .*\\\\$/ {
3463
4190
s/^DEP_FILES = //
3472
4199
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3473
4200
# Make sure the directory exists.
3474
4201
test -f "$dirpart/$file" && continue
3475
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
3476
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
4202
fdir=`(dirname "$file") 2>/dev/null ||
4203
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4204
X"$file" : 'X\(//\)[^/]' \| \
4205
X"$file" : 'X\(//\)$' \| \
4206
X"$file" : 'X\(/\)' \| \
4207
. : '\(.\)' 2>/dev/null ||
4209
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4210
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4211
/^X\(\/\/\)$/{ s//\1/; q; }
4212
/^X\(\/\).*/{ s//\1/; q; }
4214
{ if $as_mkdir_p; then
4215
mkdir -p $dirpart/$fdir
4217
as_dir=$dirpart/$fdir
4219
while test ! -d "$as_dir"; do
4220
as_dirs="$as_dir $as_dirs"
4221
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4222
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4223
X"$as_dir" : 'X\(//\)[^/]' \| \
4224
X"$as_dir" : 'X\(//\)$' \| \
4225
X"$as_dir" : 'X\(/\)' \| \
4226
. : '\(.\)' 2>/dev/null ||
4228
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4229
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4230
/^X\(\/\/\)$/{ s//\1/; q; }
4231
/^X\(\/\).*/{ s//\1/; q; }
4234
test ! -n "$as_dirs" || mkdir $as_dirs
4235
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4236
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4237
{ (exit 1); exit 1; }; }; }
3477
4239
# echo "creating $dirpart/$file"
3478
4240
echo '# dummy' > "$dirpart/$file"