2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.54.
3
# Generated by GNU Autoconf 2.53.
5
5
# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6
6
# Free Software Foundation, Inc.
7
7
# This configure script is free software; the Free Software Foundation
8
8
# gives unlimited permission to copy, distribute and modify it.
10
if expr a : '\(a\)' >/dev/null 2>&1; then
9
17
## --------------------- ##
10
18
## M4sh Initialization. ##
11
19
## --------------------- ##
14
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18
# is contrary to our usage. Disable this feature.
19
alias -g '${1+"$@"}'='"$@"'
20
25
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
24
30
# Support unset when possible.
25
31
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32
# Work around bugs in pre-3.0 UWIN ksh.
33
$as_unset ENV MAIL MAILPATH
39
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
41
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
42
eval $as_var=C; export $as_var
48
# Required to use basename.
49
if expr a : '\(a\)' >/dev/null 2>&1; then
55
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; 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; }
62
63
# Name of the executable.
63
as_me=`$as_basename "$0" ||
64
as_me=`(basename "$0") 2>/dev/null ||
64
65
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
65
66
X"$0" : 'X\(//\)$' \| \
66
67
X"$0" : 'X\(/\)$' \| \
138
138
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139
139
test "x$as_lineno_1" != "x$as_lineno_2" &&
140
140
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
142
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
143
141
CONFIG_SHELL=$as_dir/$as_base
144
142
export CONFIG_SHELL
145
143
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
998
984
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999
985
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1001
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
987
case " $ac_configure_args " in
988
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
989
*) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1002
992
# Get rid of the leading space.
1006
995
# When interrupted or exit'd, cleanup temporary files, and complete
1040
## ----------------- ##
1041
## Output variables. ##
1042
## ----------------- ##
1045
for ac_var in $ac_subst_vars
1047
eval ac_val=$`echo $ac_var`
1048
echo "$ac_var='"'"'$ac_val'"'"'"
1052
if test -n "$ac_subst_files"; then
1059
for ac_var in $ac_subst_files
1061
eval ac_val=$`echo $ac_var`
1062
echo "$ac_var='"'"'$ac_val'"'"'"
1067
1026
if test -s confdefs.h; then
1069
1028
## ----------- ##
1473
1431
SET_MAKE="MAKE=${MAKE-make}"
1476
# test to see if srcdir already configured
1477
if test "`cd $srcdir && pwd`" != "`pwd`" &&
1434
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
1435
if test "${enable_dependency_tracking+set}" = set; then
1436
enableval="$enable_dependency_tracking"
1439
if test "x$enable_dependency_tracking" != xno; then
1440
am_depcomp="$ac_aux_dir/depcomp"
1445
if test "x$enable_dependency_tracking" != xno; then
1456
rm -f .deps 2>/dev/null
1457
mkdir .deps 2>/dev/null
1458
if test -d .deps; then
1461
# MS-DOS does not allow filenames that begin with a dot.
1464
rmdir .deps 2>/dev/null
1467
# test to see if srcdir already configured
1468
if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
1478
1469
test -f $srcdir/config.status; then
1479
1470
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1480
1471
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1481
1472
{ (exit 1); exit 1; }; }
1484
# test whether we have cygpath
1485
if test -z "$CYGPATH_W"; then
1486
if (cygpath --version) >/dev/null 2>/dev/null; then
1487
CYGPATH_W='cygpath -w'
1494
1475
# Define the identity of the package.
1499
1479
cat >>confdefs.h <<_ACEOF
1500
1480
#define PACKAGE "$PACKAGE"
1505
1485
#define VERSION "$VERSION"
1489
# Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
1490
# the ones we care about.
1492
# Autoconf 2.50 always computes EXEEXT. However we need to be
1493
# compatible with 2.13, for now. So we always define EXEEXT, but we
1496
# Similar for OBJEXT -- only we only use OBJEXT if the user actually
1497
# requests that it be used. This is a bit dumb.
1508
1501
# Some tools Automake needs.
1510
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1503
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal"}
1513
1506
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1516
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1509
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake"}
1519
1512
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1527
1520
install_sh=${install_sh-"$am_aux_dir/install-sh"}
1529
# Installed binaries are usually stripped using `strip' when the user
1530
# run `make install-strip'. However `strip' might not be the right
1531
# tool to use in cross-compilation environments, therefore Automake
1532
# will honor the `STRIP' environment variable to overrule this program.
1533
if test "$cross_compiling" != no; then
1534
if test -n "$ac_tool_prefix"; then
1535
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1536
set dummy ${ac_tool_prefix}strip; ac_word=$2
1537
echo "$as_me:$LINENO: checking for $ac_word" >&5
1538
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1539
if test "${ac_cv_prog_STRIP+set}" = set; then
1540
echo $ECHO_N "(cached) $ECHO_C" >&6
1542
if test -n "$STRIP"; then
1543
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1545
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1549
test -z "$as_dir" && as_dir=.
1550
for ac_exec_ext in '' $ac_executable_extensions; do
1551
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1552
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1553
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561
STRIP=$ac_cv_prog_STRIP
1562
if test -n "$STRIP"; then
1563
echo "$as_me:$LINENO: result: $STRIP" >&5
1564
echo "${ECHO_T}$STRIP" >&6
1566
echo "$as_me:$LINENO: result: no" >&5
1567
echo "${ECHO_T}no" >&6
1571
if test -z "$ac_cv_prog_STRIP"; then
1573
# Extract the first word of "strip", so it can be a program name with args.
1574
set dummy strip; ac_word=$2
1575
echo "$as_me:$LINENO: checking for $ac_word" >&5
1576
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1577
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1578
echo $ECHO_N "(cached) $ECHO_C" >&6
1580
if test -n "$ac_ct_STRIP"; then
1581
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587
test -z "$as_dir" && as_dir=.
1588
for ac_exec_ext in '' $ac_executable_extensions; do
1589
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1590
ac_cv_prog_ac_ct_STRIP="strip"
1591
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1597
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1600
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1601
if test -n "$ac_ct_STRIP"; then
1602
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1603
echo "${ECHO_T}$ac_ct_STRIP" >&6
1605
echo "$as_me:$LINENO: result: no" >&5
1606
echo "${ECHO_T}no" >&6
1611
STRIP="$ac_cv_prog_STRIP"
1615
1522
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1617
1524
# We need awk for the "check" target. The system "awk" is bad on
1774
1688
# Be careful to initialize this variable, since it used to be cached.
1775
1689
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1777
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.*; do
1778
test -f "$ac_file" || continue
1691
for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1692
ls a.out conftest 2>/dev/null;
1693
ls a.* conftest.* 2>/dev/null`; do
1779
1694
case $ac_file in
1780
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1695
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1781
1696
a.out ) # We found the default executable, but exeext='' is most
1782
1697
# certainly right.
1792
1707
echo "$as_me: failed program was:" >&5
1793
1708
cat conftest.$ac_ext >&5
1794
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1795
check \`config.log' for details." >&5
1796
echo "$as_me: error: C++ compiler cannot create executables
1797
check \`config.log' for details." >&2;}
1709
{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5
1710
echo "$as_me: error: C++ compiler cannot create executables" >&2;}
1798
1711
{ (exit 77); exit 77; }; }
1851
1764
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1852
1765
# work properly (i.e., refer to `conftest.exe'), while it won't with
1854
for ac_file in conftest.exe conftest conftest.*; do
1855
test -f "$ac_file" || continue
1767
for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1856
1768
case $ac_file in
1857
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1769
*.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1858
1770
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1859
1771
export ac_cv_exeext
2156
2087
echo "${ECHO_T}$_am_result" >&6
2157
2088
rm -f confinc confmf
2159
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2160
if test "${enable_dependency_tracking+set}" = set; then
2161
enableval="$enable_dependency_tracking"
2164
if test "x$enable_dependency_tracking" != xno; then
2165
am_depcomp="$ac_aux_dir/depcomp"
2170
if test "x$enable_dependency_tracking" != xno; then
2181
2091
depcc="$CXX" am_compiler_list=
2461
2359
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2464
echo "$as_me:$LINENO: checking for egrep" >&5
2465
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2466
if test "${ac_cv_prog_egrep+set}" = set; then
2467
echo $ECHO_N "(cached) $ECHO_C" >&6
2469
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2470
then ac_cv_prog_egrep='grep -E'
2471
else ac_cv_prog_egrep='egrep'
2474
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2475
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2476
EGREP=$ac_cv_prog_egrep
2479
2362
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2480
2363
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2481
2364
if test "${ac_cv_header_stdc+set}" = set; then
3196
3079
DEFS=-DHAVE_CONFIG_H
3200
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3201
# 1. Remove the extension, and $U if already installed.
3202
ac_i=`echo "$ac_i" |
3203
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3205
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3206
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3210
LTLIBOBJS=$ac_ltlibobjs
3213
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3214
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
3215
Usually this means the macro was only invoked conditionally." >&5
3216
echo "$as_me: error: conditional \"AMDEP\" was never defined.
3217
Usually this means the macro was only invoked conditionally." >&2;}
3218
{ (exit 1); exit 1; }; }
3220
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
3221
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
3222
Usually this means the macro was only invoked conditionally." >&5
3223
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
3224
Usually this means the macro was only invoked conditionally." >&2;}
3225
{ (exit 1); exit 1; }; }
3228
3082
: ${CONFIG_STATUS=./config.status}
3229
3083
ac_clean_files_save=$ac_clean_files
3250
3105
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3253
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3254
# is contrary to our usage. Disable this feature.
3255
alias -g '${1+"$@"}'='"$@"'
3256
3108
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3260
3113
# Support unset when possible.
3261
3114
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3268
# Work around bugs in pre-3.0 UWIN ksh.
3269
$as_unset ENV MAIL MAILPATH
3275
for as_var in LANG LANGUAGE LC_ALL LC_COLLATE LC_CTYPE LC_NUMERIC LC_MESSAGES LC_TIME
3277
if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
3278
eval $as_var=C; export $as_var
3284
# Required to use basename.
3285
if expr a : '\(a\)' >/dev/null 2>&1; then
3291
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3292
as_basename=basename
3120
(set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3121
{ $as_unset LANG || test "${LANG+set}" != set; } ||
3122
{ LANG=C; export LANG; }
3123
(set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3124
{ $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3125
{ LC_ALL=C; export LC_ALL; }
3126
(set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3127
{ $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3128
{ LC_TIME=C; export LC_TIME; }
3129
(set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3130
{ $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3131
{ LC_CTYPE=C; export LC_CTYPE; }
3132
(set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3133
{ $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3134
{ LANGUAGE=C; export LANGUAGE; }
3135
(set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3136
{ $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3137
{ LC_COLLATE=C; export LC_COLLATE; }
3138
(set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3139
{ $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3140
{ LC_NUMERIC=C; export LC_NUMERIC; }
3141
(set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3142
{ $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3143
{ LC_MESSAGES=C; export LC_MESSAGES; }
3298
3146
# Name of the executable.
3299
as_me=`$as_basename "$0" ||
3147
as_me=`(basename "$0") 2>/dev/null ||
3300
3148
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3301
3149
X"$0" : 'X\(//\)$' \| \
3302
3150
X"$0" : 'X\(/\)$' \| \
3375
3222
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3376
3223
test "x$as_lineno_1" != "x$as_lineno_2" &&
3377
3224
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3378
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3379
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3380
3225
CONFIG_SHELL=$as_dir/$as_base
3381
3226
export CONFIG_SHELL
3382
3227
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3551
3390
cat >>$CONFIG_STATUS <<_ACEOF
3552
3391
ac_cs_version="\\
3554
configured by $0, generated by GNU Autoconf 2.54,
3393
configured by $0, generated by GNU Autoconf 2.53,
3555
3394
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3557
3396
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3653
3490
"doc/api/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/api/Makefile" ;;
3654
3491
"games/Makefile" ) CONFIG_FILES="$CONFIG_FILES games/Makefile" ;;
3655
3492
"src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
3656
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
3493
"default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
3657
3494
"config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3658
3495
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3659
3496
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3740
3577
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
3741
3578
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
3742
3579
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
3743
s,@CYGPATH_W@,$CYGPATH_W,;t t
3744
3580
s,@PACKAGE@,$PACKAGE,;t t
3745
3581
s,@VERSION@,$VERSION,;t t
3582
s,@EXEEXT@,$EXEEXT,;t t
3583
s,@OBJEXT@,$OBJEXT,;t t
3746
3584
s,@ACLOCAL@,$ACLOCAL,;t t
3747
3585
s,@AUTOCONF@,$AUTOCONF,;t t
3748
3586
s,@AUTOMAKE@,$AUTOMAKE,;t t
3750
3588
s,@MAKEINFO@,$MAKEINFO,;t t
3751
3589
s,@AMTAR@,$AMTAR,;t t
3752
3590
s,@install_sh@,$install_sh,;t t
3753
s,@STRIP@,$STRIP,;t t
3754
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
3755
3591
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
3756
3592
s,@AWK@,$AWK,;t t
3757
3593
s,@SET_MAKE@,$SET_MAKE,;t t
3594
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3595
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3596
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3597
s,@DEPDIR@,$DEPDIR,;t t
3758
3598
s,@CXX@,$CXX,;t t
3759
3599
s,@CXXFLAGS@,$CXXFLAGS,;t t
3760
3600
s,@LDFLAGS@,$LDFLAGS,;t t
3761
3601
s,@CPPFLAGS@,$CPPFLAGS,;t t
3762
3602
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
3763
s,@EXEEXT@,$EXEEXT,;t t
3764
s,@OBJEXT@,$OBJEXT,;t t
3765
s,@DEPDIR@,$DEPDIR,;t t
3766
3603
s,@am__include@,$am__include,;t t
3767
3604
s,@am__quote@,$am__quote,;t t
3768
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
3769
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
3770
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
3771
3605
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
3772
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
3773
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
3774
3606
s,@CXXCPP@,$CXXCPP,;t t
3775
s,@EGREP@,$EGREP,;t t
3776
s,@LIBOBJS@,$LIBOBJS,;t t
3777
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3845
3674
/^X\(\/\/\)$/{ s//\1/; q; }
3846
3675
/^X\(\/\).*/{ s//\1/; q; }
3848
{ if $as_mkdir_p; then
3853
while test ! -d "$as_dir"; do
3854
as_dirs="$as_dir $as_dirs"
3855
as_dir=`(dirname "$as_dir") 2>/dev/null ||
3856
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3857
X"$as_dir" : 'X\(//\)[^/]' \| \
3858
X"$as_dir" : 'X\(//\)$' \| \
3859
X"$as_dir" : 'X\(/\)' \| \
3860
. : '\(.\)' 2>/dev/null ||
3862
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3863
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
3864
/^X\(\/\/\)$/{ s//\1/; q; }
3865
/^X\(\/\).*/{ s//\1/; q; }
3868
test ! -n "$as_dirs" || mkdir $as_dirs
3869
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3870
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3871
{ (exit 1); exit 1; }; }; }
3678
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
3682
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3683
case $as_mkdir_dir in
3684
# Skip DOS drivespec
3685
?:) as_incr_dir=$as_mkdir_dir ;;
3687
as_incr_dir=$as_incr_dir/$as_mkdir_dir
3688
test -d "$as_incr_dir" ||
3689
mkdir "$as_incr_dir" ||
3690
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
3691
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
3692
{ (exit 1); exit 1; }; }
4088
3912
# Break up conftest.defines because some shells have a limit on the size
4089
3913
# of here documents, and old seds have small limits too (100 cmds).
4090
3914
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4091
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3915
echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4092
3916
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4093
3917
echo ' :' >>$CONFIG_STATUS
4094
3918
rm -f conftest.tail
4168
3992
/^X\(\/\/\)$/{ s//\1/; q; }
4169
3993
/^X\(\/\).*/{ s//\1/; q; }
4171
{ if $as_mkdir_p; then
4176
while test ! -d "$as_dir"; do
4177
as_dirs="$as_dir $as_dirs"
4178
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4179
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4180
X"$as_dir" : 'X\(//\)[^/]' \| \
4181
X"$as_dir" : 'X\(//\)$' \| \
4182
X"$as_dir" : 'X\(/\)' \| \
4183
. : '\(.\)' 2>/dev/null ||
4185
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4186
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4187
/^X\(\/\/\)$/{ s//\1/; q; }
4188
/^X\(\/\).*/{ s//\1/; q; }
4191
test ! -n "$as_dirs" || mkdir $as_dirs
4192
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4193
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4194
{ (exit 1); exit 1; }; }; }
3996
[\\/]* | ?:[\\/]* ) as_incr_dir=;;
4000
for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4001
case $as_mkdir_dir in
4002
# Skip DOS drivespec
4003
?:) as_incr_dir=$as_mkdir_dir ;;
4005
as_incr_dir=$as_incr_dir/$as_mkdir_dir
4006
test -d "$as_incr_dir" ||
4007
mkdir "$as_incr_dir" ||
4008
{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4009
echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4010
{ (exit 1); exit 1; }; }
4197
4016
mv $tmp/config.h $ac_file
4200
4019
cat $tmp/config.h
4201
4020
rm -f $tmp/config.h
4203
_am_stamp_count=`expr ${_am_stamp_count-0} + 1`
4204
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
4205
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4206
X$ac_file : 'X\(//\)[^/]' \| \
4207
X$ac_file : 'X\(//\)$' \| \
4208
X$ac_file : 'X\(/\)' \| \
4209
. : '\(.\)' 2>/dev/null ||
4211
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4212
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4213
/^X\(\/\/\)$/{ s//\1/; q; }
4214
/^X\(\/\).*/{ s//\1/; q; }
4215
s/.*/./; q'`/stamp-h$_am_stamp_count
4022
# Run the commands associated with the file.
4024
config.h ) # update the timestamp
4025
echo timestamp >"./stamp-h1"
4218
4030
cat >>$CONFIG_STATUS <<\_ACEOF
4271
4083
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4272
4084
echo "$as_me: executing $ac_dest commands" >&6;}
4273
4085
case $ac_dest in
4274
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
4275
# Strip MF so we end up with the name of the file.
4276
mf=`echo "$mf" | sed -e 's/:.*$//'`
4277
# Check whether this is an Automake generated Makefile or not.
4278
# We used to match only the files named `Makefile.in', but
4279
# some people rename them; so instead we look at the file content.
4280
# Grep'ing the first line is not enough: some people post-process
4281
# each Makefile.in and add a new line on top of each file to say so.
4282
# So let's grep whole file.
4283
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
4284
dirpart=`(dirname "$mf") 2>/dev/null ||
4285
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4286
X"$mf" : 'X\(//\)[^/]' \| \
4287
X"$mf" : 'X\(//\)$' \| \
4288
X"$mf" : 'X\(/\)' \| \
4289
. : '\(.\)' 2>/dev/null ||
4291
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4292
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4293
/^X\(\/\/\)$/{ s//\1/; q; }
4294
/^X\(\/\).*/{ s//\1/; q; }
4087
test x"$AMDEP_TRUE" != x"" ||
4088
for mf in $CONFIG_FILES; do
4090
Makefile) dirpart=.;;
4091
*/Makefile) dirpart=`echo "$mf" | sed -e 's|/[^/]*$||'`;;
4299
4094
grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
4300
4095
# Extract the definition of DEP_FILES from the Makefile without
4301
4096
# running `make'.
4320
4115
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4321
4116
# Make sure the directory exists.
4322
4117
test -f "$dirpart/$file" && continue
4323
fdir=`(dirname "$file") 2>/dev/null ||
4324
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4325
X"$file" : 'X\(//\)[^/]' \| \
4326
X"$file" : 'X\(//\)$' \| \
4327
X"$file" : 'X\(/\)' \| \
4328
. : '\(.\)' 2>/dev/null ||
4330
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4331
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4332
/^X\(\/\/\)$/{ s//\1/; q; }
4333
/^X\(\/\).*/{ s//\1/; q; }
4335
{ if $as_mkdir_p; then
4336
mkdir -p $dirpart/$fdir
4338
as_dir=$dirpart/$fdir
4340
while test ! -d "$as_dir"; do
4341
as_dirs="$as_dir $as_dirs"
4342
as_dir=`(dirname "$as_dir") 2>/dev/null ||
4343
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4344
X"$as_dir" : 'X\(//\)[^/]' \| \
4345
X"$as_dir" : 'X\(//\)$' \| \
4346
X"$as_dir" : 'X\(/\)' \| \
4347
. : '\(.\)' 2>/dev/null ||
4349
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4350
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4351
/^X\(\/\/\)$/{ s//\1/; q; }
4352
/^X\(\/\).*/{ s//\1/; q; }
4355
test ! -n "$as_dirs" || mkdir $as_dirs
4356
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
4357
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
4358
{ (exit 1); exit 1; }; }; }
4118
fdir=`echo "$file" | sed -e 's|/[^/]*$||'`
4119
$ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
4360
4120
# echo "creating $dirpart/$file"
4361
4121
echo '# dummy' > "$dirpart/$file"