65
130
# Name of the executable.
66
as_me=`$as_basename "$0" ||
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
130
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
162
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
452
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
453
chmod +x "$as_me.lineno" ||
175
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
{ (exit 1); exit 1; }; }
178
457
# Don't try to exec as it changes $[0], causing all sort of problems
179
458
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
459
# original and so on. Autoconf is especially sensitive to this).
182
461
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
218
514
if mkdir -p . 2>/dev/null; then
1061
1526
CFLAGS C compiler flags
1062
1527
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1063
1528
nonstandard directory <lib dir>
1064
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1065
headers in a nonstandard directory <include dir>
1529
LIBS libraries to pass to the linker, e.g. -l<library>
1530
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1531
you have headers in a nonstandard directory <include dir>
1066
1532
CPP C preprocessor
1067
1533
CXX C++ compiler command
1068
1534
CXXFLAGS C++ compiler flags
1069
1535
CXXCPP C++ preprocessor
1070
1536
F77 Fortran 77 compiler command
1071
1537
FFLAGS Fortran 77 compiler flags
1538
XMKMF Path to xmkmf, Makefile generator for X Window System
1073
1540
Use these variables to override the choices made by `configure' or to help
1074
1541
it to find libraries and programs with nonstandard names/locations.
1079
1547
if test "$ac_init_help" = "recursive"; then
1080
1548
# If there are subdirs, report their specific --help.
1082
1549
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1083
test -d $ac_dir || continue
1550
test -d "$ac_dir" || continue
1086
if test "$ac_dir" != .; then
1554
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1087
1556
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1088
# A "../" for each directory in $ac_dir_suffix.
1089
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1091
ac_dir_suffix= ac_top_builddir=
1557
# A ".." for each directory in $ac_dir_suffix.
1558
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1559
case $ac_top_builddir_sub in
1560
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564
ac_abs_top_builddir=$ac_pwd
1565
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566
# for backward compatibility:
1567
ac_top_builddir=$ac_top_build_prefix
1094
1569
case $srcdir in
1095
.) # No --srcdir option. We are building in place.
1570
.) # We are building in place.
1097
if test -z "$ac_top_builddir"; then
1100
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1102
[\\/]* | ?:[\\/]* ) # Absolute path.
1572
ac_top_srcdir=$ac_top_builddir_sub
1573
ac_abs_top_srcdir=$ac_pwd ;;
1574
[\\/]* | ?:[\\/]* ) # Absolute name.
1103
1575
ac_srcdir=$srcdir$ac_dir_suffix;
1104
ac_top_srcdir=$srcdir ;;
1106
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1107
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1110
# Do not use `cd foo && pwd` to compute absolute paths, because
1111
# the directories may not exist.
1113
.) ac_abs_builddir="$ac_dir";;
1116
.) ac_abs_builddir=`pwd`;;
1117
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1118
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1121
case $ac_abs_builddir in
1122
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1124
case ${ac_top_builddir}. in
1125
.) ac_abs_top_builddir=$ac_abs_builddir;;
1126
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1127
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1130
case $ac_abs_builddir in
1131
.) ac_abs_srcdir=$ac_srcdir;;
1134
.) ac_abs_srcdir=$ac_abs_builddir;;
1135
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1136
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1139
case $ac_abs_builddir in
1140
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1142
case $ac_top_srcdir in
1143
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1144
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1145
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1150
# Check for guested configure; otherwise get Cygnus style configure.
1151
if test -f $ac_srcdir/configure.gnu; then
1153
$SHELL $ac_srcdir/configure.gnu --help=recursive
1154
elif test -f $ac_srcdir/configure; then
1156
$SHELL $ac_srcdir/configure --help=recursive
1157
elif test -f $ac_srcdir/configure.ac ||
1158
test -f $ac_srcdir/configure.in; then
1160
$ac_configure --help
1576
ac_top_srcdir=$srcdir
1577
ac_abs_top_srcdir=$srcdir ;;
1579
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580
ac_top_srcdir=$ac_top_build_prefix$srcdir
1581
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585
cd "$ac_dir" || { ac_status=$?; continue; }
1586
# Check for guested configure.
1587
if test -f "$ac_srcdir/configure.gnu"; then
1589
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590
elif test -f "$ac_srcdir/configure"; then
1592
$SHELL "$ac_srcdir/configure" --help=recursive
1162
1594
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596
cd "$ac_pwd" || { ac_status=$?; break; }
1168
test -n "$ac_init_help" && exit 0
1600
test -n "$ac_init_help" && exit $ac_status
1169
1601
if $ac_init_version; then
1171
1603
jasper configure 1.701.0-gs5
1172
generated by GNU Autoconf 2.59
1604
generated by GNU Autoconf 2.61
1174
Copyright (C) 2003 Free Software Foundation, Inc.
1606
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1607
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1175
1608
This configure script is free software; the Free Software Foundation
1176
1609
gives unlimited permission to copy, distribute and modify it.
1613
cat >config.log <<_ACEOF
1182
1614
This file contains any messages produced by compilers while
1183
1615
running configure, to aid debugging if configure makes a mistake.
1185
1617
It was created by jasper $as_me 1.701.0-gs5, which was
1186
generated by GNU Autoconf 2.59. Invocation command line was
1618
generated by GNU Autoconf 2.61. Invocation command line was
1193
1626
## --------- ##
1524
for ac_dir in acaux $srcdir/acaux; do
1525
if test -f $ac_dir/install-sh; then
1973
for ac_dir in acaux "$srcdir"/acaux; do
1974
if test -f "$ac_dir/install-sh"; then
1526
1975
ac_aux_dir=$ac_dir
1527
1976
ac_install_sh="$ac_aux_dir/install-sh -c"
1529
elif test -f $ac_dir/install.sh; then
1978
elif test -f "$ac_dir/install.sh"; then
1530
1979
ac_aux_dir=$ac_dir
1531
1980
ac_install_sh="$ac_aux_dir/install.sh -c"
1533
elif test -f $ac_dir/shtool; then
1982
elif test -f "$ac_dir/shtool"; then
1534
1983
ac_aux_dir=$ac_dir
1535
1984
ac_install_sh="$ac_aux_dir/shtool install -c"
1539
1988
if test -z "$ac_aux_dir"; then
1540
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acaux $srcdir/acaux" >&5
1541
echo "$as_me: error: cannot find install-sh or install.sh in acaux $srcdir/acaux" >&2;}
1989
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&5
1990
echo "$as_me: error: cannot find install-sh or install.sh in acaux \"$srcdir\"/acaux" >&2;}
1542
1991
{ (exit 1); exit 1; }; }
1544
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1545
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1546
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1994
# These three variables are undocumented and unsupported,
1995
# and are intended to be withdrawn in a future Autoconf release.
1996
# They can cause serious problems if a builder's source tree is in a directory
1997
# whose full name contains unusual characters.
1998
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1999
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2000
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1549
2004
# Detect the canonical host and target build environment.
1550
2005
# Note: This precedes automake initialization to avoid warnings.
1551
2006
# Make sure we can run config.sub.
1552
$ac_config_sub sun4 >/dev/null 2>&1 ||
1553
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1554
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2007
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2008
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2009
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1555
2010
{ (exit 1); exit 1; }; }
1557
echo "$as_me:$LINENO: checking build system type" >&5
1558
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2012
{ echo "$as_me:$LINENO: checking build system type" >&5
2013
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1559
2014
if test "${ac_cv_build+set}" = set; then
1560
2015
echo $ECHO_N "(cached) $ECHO_C" >&6
1562
ac_cv_build_alias=$build_alias
1563
test -z "$ac_cv_build_alias" &&
1564
ac_cv_build_alias=`$ac_config_guess`
1565
test -z "$ac_cv_build_alias" &&
2017
ac_build_alias=$build_alias
2018
test "x$ac_build_alias" = x &&
2019
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2020
test "x$ac_build_alias" = x &&
1566
2021
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1567
2022
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1568
2023
{ (exit 1); exit 1; }; }
1569
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1570
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1571
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2024
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2025
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2026
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1572
2027
{ (exit 1); exit 1; }; }
1575
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1576
echo "${ECHO_T}$ac_cv_build" >&6
2030
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2031
echo "${ECHO_T}$ac_cv_build" >&6; }
2032
case $ac_cv_build in
2034
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2035
echo "$as_me: error: invalid value of canonical build" >&2;}
2036
{ (exit 1); exit 1; }; };;
1577
2038
build=$ac_cv_build
1578
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1579
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1580
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1583
echo "$as_me:$LINENO: checking host system type" >&5
1584
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2039
ac_save_IFS=$IFS; IFS='-'
2045
# Remember, the first character of IFS is used to create $*,
2046
# except with old shells:
2049
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2052
{ echo "$as_me:$LINENO: checking host system type" >&5
2053
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1585
2054
if test "${ac_cv_host+set}" = set; then
1586
2055
echo $ECHO_N "(cached) $ECHO_C" >&6
1588
ac_cv_host_alias=$host_alias
1589
test -z "$ac_cv_host_alias" &&
1590
ac_cv_host_alias=$ac_cv_build_alias
1591
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1592
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1593
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2057
if test "x$host_alias" = x; then
2058
ac_cv_host=$ac_cv_build
2060
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2061
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2062
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1594
2063
{ (exit 1); exit 1; }; }
1597
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1598
echo "${ECHO_T}$ac_cv_host" >&6
2067
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2068
echo "${ECHO_T}$ac_cv_host" >&6; }
2071
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2072
echo "$as_me: error: invalid value of canonical host" >&2;}
2073
{ (exit 1); exit 1; }; };;
1599
2075
host=$ac_cv_host
1600
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1601
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1602
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1605
echo "$as_me:$LINENO: checking target system type" >&5
1606
echo $ECHO_N "checking target system type... $ECHO_C" >&6
2076
ac_save_IFS=$IFS; IFS='-'
2082
# Remember, the first character of IFS is used to create $*,
2083
# except with old shells:
2086
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2089
{ echo "$as_me:$LINENO: checking target system type" >&5
2090
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1607
2091
if test "${ac_cv_target+set}" = set; then
1608
2092
echo $ECHO_N "(cached) $ECHO_C" >&6
1610
ac_cv_target_alias=$target_alias
1611
test "x$ac_cv_target_alias" = "x" &&
1612
ac_cv_target_alias=$ac_cv_host_alias
1613
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1614
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1615
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2094
if test "x$target_alias" = x; then
2095
ac_cv_target=$ac_cv_host
2097
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2099
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1616
2100
{ (exit 1); exit 1; }; }
1619
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1620
echo "${ECHO_T}$ac_cv_target" >&6
2104
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2105
echo "${ECHO_T}$ac_cv_target" >&6; }
2106
case $ac_cv_target in
2108
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2109
echo "$as_me: error: invalid value of canonical target" >&2;}
2110
{ (exit 1); exit 1; }; };;
1621
2112
target=$ac_cv_target
1622
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1623
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1624
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2113
ac_save_IFS=$IFS; IFS='-'
2119
# Remember, the first character of IFS is used to create $*,
2120
# except with old shells:
2123
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1627
2126
# The aliases save the names the user supplied, while $host etc.
2706
3280
rm -f conftest.$ac_objext
2707
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708
(eval $ac_compile) 2>conftest.er1
3281
if { (ac_try="$ac_compile"
3283
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3284
*) ac_try_echo=$ac_try;;
3286
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3287
(eval "$ac_compile") 2>conftest.er1
2710
3289
grep -v '^ *+' conftest.er1 >conftest.err
2711
3290
rm -f conftest.er1
2712
3291
cat conftest.err >&5
2713
3292
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714
(exit $ac_status); } &&
2715
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2716
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2719
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720
(exit $ac_status); }; } &&
2721
{ ac_try='test -s conftest.$ac_objext'
2722
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726
(exit $ac_status); }; }; then
3293
(exit $ac_status); } && {
3294
test -z "$ac_c_werror_flag" ||
3295
test ! -s conftest.err
3296
} && test -s conftest.$ac_objext; then
2727
3297
ac_compiler_gnu=yes
2729
3299
echo "$as_me: failed program was:" >&5
2730
3300
sed 's/^/| /' conftest.$ac_ext >&5
2734
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3305
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735
3306
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2738
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2739
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3309
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3310
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2740
3311
GCC=`test $ac_compiler_gnu = yes && echo yes`
2741
3312
ac_test_CFLAGS=${CFLAGS+set}
2742
3313
ac_save_CFLAGS=$CFLAGS
2744
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2745
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3314
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3315
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2746
3316
if test "${ac_cv_prog_cc_g+set}" = set; then
2747
3317
echo $ECHO_N "(cached) $ECHO_C" >&6
2749
cat >conftest.$ac_ext <<_ACEOF
2752
cat confdefs.h >>conftest.$ac_ext
2753
cat >>conftest.$ac_ext <<_ACEOF
2754
/* end confdefs.h. */
2764
rm -f conftest.$ac_objext
2765
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2766
(eval $ac_compile) 2>conftest.er1
2768
grep -v '^ *+' conftest.er1 >conftest.err
2770
cat conftest.err >&5
2771
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772
(exit $ac_status); } &&
2773
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2774
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778
(exit $ac_status); }; } &&
2779
{ ac_try='test -s conftest.$ac_objext'
2780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2784
(exit $ac_status); }; }; then
2787
echo "$as_me: failed program was:" >&5
2788
sed 's/^/| /' conftest.$ac_ext >&5
2792
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2794
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2795
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3319
ac_save_c_werror_flag=$ac_c_werror_flag
3320
ac_c_werror_flag=yes
3323
cat >conftest.$ac_ext <<_ACEOF
3326
cat confdefs.h >>conftest.$ac_ext
3327
cat >>conftest.$ac_ext <<_ACEOF
3328
/* end confdefs.h. */
3338
rm -f conftest.$ac_objext
3339
if { (ac_try="$ac_compile"
3341
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3342
*) ac_try_echo=$ac_try;;
3344
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345
(eval "$ac_compile") 2>conftest.er1
3347
grep -v '^ *+' conftest.er1 >conftest.err
3349
cat conftest.err >&5
3350
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351
(exit $ac_status); } && {
3352
test -z "$ac_c_werror_flag" ||
3353
test ! -s conftest.err
3354
} && test -s conftest.$ac_objext; then
3357
echo "$as_me: failed program was:" >&5
3358
sed 's/^/| /' conftest.$ac_ext >&5
3361
cat >conftest.$ac_ext <<_ACEOF
3364
cat confdefs.h >>conftest.$ac_ext
3365
cat >>conftest.$ac_ext <<_ACEOF
3366
/* end confdefs.h. */
3376
rm -f conftest.$ac_objext
3377
if { (ac_try="$ac_compile"
3379
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3380
*) ac_try_echo=$ac_try;;
3382
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383
(eval "$ac_compile") 2>conftest.er1
3385
grep -v '^ *+' conftest.er1 >conftest.err
3387
cat conftest.err >&5
3388
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389
(exit $ac_status); } && {
3390
test -z "$ac_c_werror_flag" ||
3391
test ! -s conftest.err
3392
} && test -s conftest.$ac_objext; then
3395
echo "$as_me: failed program was:" >&5
3396
sed 's/^/| /' conftest.$ac_ext >&5
3398
ac_c_werror_flag=$ac_save_c_werror_flag
3400
cat >conftest.$ac_ext <<_ACEOF
3403
cat confdefs.h >>conftest.$ac_ext
3404
cat >>conftest.$ac_ext <<_ACEOF
3405
/* end confdefs.h. */
3415
rm -f conftest.$ac_objext
3416
if { (ac_try="$ac_compile"
3418
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3419
*) ac_try_echo=$ac_try;;
3421
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3422
(eval "$ac_compile") 2>conftest.er1
3424
grep -v '^ *+' conftest.er1 >conftest.err
3426
cat conftest.err >&5
3427
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428
(exit $ac_status); } && {
3429
test -z "$ac_c_werror_flag" ||
3430
test ! -s conftest.err
3431
} && test -s conftest.$ac_objext; then
3434
echo "$as_me: failed program was:" >&5
3435
sed 's/^/| /' conftest.$ac_ext >&5
3440
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3443
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3446
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3447
ac_c_werror_flag=$ac_save_c_werror_flag
3449
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3450
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2796
3451
if test "$ac_test_CFLAGS" = set; then
2797
3452
CFLAGS=$ac_save_CFLAGS
2798
3453
elif test $ac_cv_prog_cc_g = yes; then
2870
# Don't try gcc -ansi; that turns off useful extensions and
2871
# breaks some systems' header files.
2872
# AIX -qlanglvl=ansi
2873
# Ultrix and OSF/1 -std1
2874
# HP-UX 10.20 and later -Ae
2875
# HP-UX older versions -Aa -D_HPUX_SOURCE
2876
# SVR4 -Xc -D__EXTENSIONS__
2877
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3530
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3531
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2879
3533
CC="$ac_save_CC $ac_arg"
2880
3534
rm -f conftest.$ac_objext
2881
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2882
(eval $ac_compile) 2>conftest.er1
3535
if { (ac_try="$ac_compile"
3537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538
*) ac_try_echo=$ac_try;;
3540
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3541
(eval "$ac_compile") 2>conftest.er1
2884
3543
grep -v '^ *+' conftest.er1 >conftest.err
2885
3544
rm -f conftest.er1
2886
3545
cat conftest.err >&5
2887
3546
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888
(exit $ac_status); } &&
2889
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2890
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2894
(exit $ac_status); }; } &&
2895
{ ac_try='test -s conftest.$ac_objext'
2896
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2900
(exit $ac_status); }; }; then
2901
ac_cv_prog_cc_stdc=$ac_arg
3547
(exit $ac_status); } && {
3548
test -z "$ac_c_werror_flag" ||
3549
test ! -s conftest.err
3550
} && test -s conftest.$ac_objext; then
3551
ac_cv_prog_cc_c89=$ac_arg
2904
3553
echo "$as_me: failed program was:" >&5
2905
3554
sed 's/^/| /' conftest.$ac_ext >&5
2908
rm -f conftest.err conftest.$ac_objext
3559
rm -f core conftest.err conftest.$ac_objext
3560
test "x$ac_cv_prog_cc_c89" != "xno" && break
2910
rm -f conftest.$ac_ext conftest.$ac_objext
3562
rm -f conftest.$ac_ext
2915
case "x$ac_cv_prog_cc_stdc" in
2917
echo "$as_me:$LINENO: result: none needed" >&5
2918
echo "${ECHO_T}none needed" >&6 ;;
3567
case "x$ac_cv_prog_cc_c89" in
3569
{ echo "$as_me:$LINENO: result: none needed" >&5
3570
echo "${ECHO_T}none needed" >&6; } ;;
3572
{ echo "$as_me:$LINENO: result: unsupported" >&5
3573
echo "${ECHO_T}unsupported" >&6; } ;;
2920
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2921
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2922
CC="$CC $ac_cv_prog_cc_stdc" ;;
3575
CC="$CC $ac_cv_prog_cc_c89"
3576
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3577
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2925
# Some people use a C++ compiler to compile C. Since we use `exit',
2926
# in C++ we need to declare it. In case someone uses the same compiler
2927
# for both compiling C and C++ we need to have the C++ compiler decide
2928
# the declaration of exit, since it's the most demanding environment.
2929
cat >conftest.$ac_ext <<_ACEOF
2934
rm -f conftest.$ac_objext
2935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936
(eval $ac_compile) 2>conftest.er1
2938
grep -v '^ *+' conftest.er1 >conftest.err
2940
cat conftest.err >&5
2941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
(exit $ac_status); } &&
2943
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2944
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2947
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948
(exit $ac_status); }; } &&
2949
{ ac_try='test -s conftest.$ac_objext'
2950
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
(exit $ac_status); }; }; then
2955
for ac_declaration in \
2957
'extern "C" void std::exit (int) throw (); using std::exit;' \
2958
'extern "C" void std::exit (int); using std::exit;' \
2959
'extern "C" void exit (int) throw ();' \
2960
'extern "C" void exit (int);' \
2963
cat >conftest.$ac_ext <<_ACEOF
2966
cat confdefs.h >>conftest.$ac_ext
2967
cat >>conftest.$ac_ext <<_ACEOF
2968
/* end confdefs.h. */
2979
rm -f conftest.$ac_objext
2980
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2981
(eval $ac_compile) 2>conftest.er1
2983
grep -v '^ *+' conftest.er1 >conftest.err
2985
cat conftest.err >&5
2986
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
(exit $ac_status); } &&
2988
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993
(exit $ac_status); }; } &&
2994
{ ac_try='test -s conftest.$ac_objext'
2995
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999
(exit $ac_status); }; }; then
3002
echo "$as_me: failed program was:" >&5
3003
sed 's/^/| /' conftest.$ac_ext >&5
3007
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3008
cat >conftest.$ac_ext <<_ACEOF
3011
cat confdefs.h >>conftest.$ac_ext
3012
cat >>conftest.$ac_ext <<_ACEOF
3013
/* end confdefs.h. */
3023
rm -f conftest.$ac_objext
3024
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3025
(eval $ac_compile) 2>conftest.er1
3027
grep -v '^ *+' conftest.er1 >conftest.err
3029
cat conftest.err >&5
3030
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3031
(exit $ac_status); } &&
3032
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3033
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3036
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3037
(exit $ac_status); }; } &&
3038
{ ac_try='test -s conftest.$ac_objext'
3039
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3042
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043
(exit $ac_status); }; }; then
3046
echo "$as_me: failed program was:" >&5
3047
sed 's/^/| /' conftest.$ac_ext >&5
3050
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3053
if test -n "$ac_declaration"; then
3054
echo '#ifdef __cplusplus' >>confdefs.h
3055
echo $ac_declaration >>confdefs.h
3056
echo '#endif' >>confdefs.h
3060
echo "$as_me: failed program was:" >&5
3061
sed 's/^/| /' conftest.$ac_ext >&5
3064
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3066
3582
ac_cpp='$CPP $CPPFLAGS'
3067
3583
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3777
echo "$as_me:$LINENO: result: $SED" >&5
3778
echo "${ECHO_T}$SED" >&6
3780
echo "$as_me:$LINENO: checking for egrep" >&5
3781
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3782
if test "${ac_cv_prog_egrep+set}" = set; then
3783
echo $ECHO_N "(cached) $ECHO_C" >&6
3785
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3786
then ac_cv_prog_egrep='grep -E'
3787
else ac_cv_prog_egrep='egrep'
3790
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3791
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3792
EGREP=$ac_cv_prog_egrep
3796
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4306
{ echo "$as_me:$LINENO: result: $SED" >&5
4307
echo "${ECHO_T}$SED" >&6; }
4309
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4310
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4311
if test "${ac_cv_path_GREP+set}" = set; then
4312
echo $ECHO_N "(cached) $ECHO_C" >&6
4314
# Extract the first word of "grep ggrep" to use in msg output
4315
if test -z "$GREP"; then
4316
set dummy grep ggrep; ac_prog_name=$2
4317
if test "${ac_cv_path_GREP+set}" = set; then
4318
echo $ECHO_N "(cached) $ECHO_C" >&6
4320
ac_path_GREP_found=false
4321
# Loop through the user's path and test for each of PROGNAME-LIST
4322
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4326
test -z "$as_dir" && as_dir=.
4327
for ac_prog in grep ggrep; do
4328
for ac_exec_ext in '' $ac_executable_extensions; do
4329
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4330
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4331
# Check for GNU ac_path_GREP and select it if it is found.
4332
# Check for GNU $ac_path_GREP
4333
case `"$ac_path_GREP" --version 2>&1` in
4335
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4338
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4341
cat "conftest.in" "conftest.in" >"conftest.tmp"
4342
mv "conftest.tmp" "conftest.in"
4343
cp "conftest.in" "conftest.nl"
4344
echo 'GREP' >> "conftest.nl"
4345
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4346
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4347
ac_count=`expr $ac_count + 1`
4348
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4349
# Best one so far, save it but keep looking for a better one
4350
ac_cv_path_GREP="$ac_path_GREP"
4351
ac_path_GREP_max=$ac_count
4353
# 10*(2^10) chars as input seems more than enough
4354
test $ac_count -gt 10 && break
4356
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4360
$ac_path_GREP_found && break 3
4370
GREP="$ac_cv_path_GREP"
4371
if test -z "$GREP"; then
4372
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4373
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4374
{ (exit 1); exit 1; }; }
4378
ac_cv_path_GREP=$GREP
4383
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4384
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4385
GREP="$ac_cv_path_GREP"
4388
{ echo "$as_me:$LINENO: checking for egrep" >&5
4389
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4390
if test "${ac_cv_path_EGREP+set}" = set; then
4391
echo $ECHO_N "(cached) $ECHO_C" >&6
4393
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4394
then ac_cv_path_EGREP="$GREP -E"
4396
# Extract the first word of "egrep" to use in msg output
4397
if test -z "$EGREP"; then
4398
set dummy egrep; ac_prog_name=$2
4399
if test "${ac_cv_path_EGREP+set}" = set; then
4400
echo $ECHO_N "(cached) $ECHO_C" >&6
4402
ac_path_EGREP_found=false
4403
# Loop through the user's path and test for each of PROGNAME-LIST
4404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4408
test -z "$as_dir" && as_dir=.
4409
for ac_prog in egrep; do
4410
for ac_exec_ext in '' $ac_executable_extensions; do
4411
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4412
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4413
# Check for GNU ac_path_EGREP and select it if it is found.
4414
# Check for GNU $ac_path_EGREP
4415
case `"$ac_path_EGREP" --version 2>&1` in
4417
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4420
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4423
cat "conftest.in" "conftest.in" >"conftest.tmp"
4424
mv "conftest.tmp" "conftest.in"
4425
cp "conftest.in" "conftest.nl"
4426
echo 'EGREP' >> "conftest.nl"
4427
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4428
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4429
ac_count=`expr $ac_count + 1`
4430
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4431
# Best one so far, save it but keep looking for a better one
4432
ac_cv_path_EGREP="$ac_path_EGREP"
4433
ac_path_EGREP_max=$ac_count
4435
# 10*(2^10) chars as input seems more than enough
4436
test $ac_count -gt 10 && break
4438
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4442
$ac_path_EGREP_found && break 3
4452
EGREP="$ac_cv_path_EGREP"
4453
if test -z "$EGREP"; then
4454
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4455
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4456
{ (exit 1); exit 1; }; }
4460
ac_cv_path_EGREP=$EGREP
4466
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4467
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4468
EGREP="$ac_cv_path_EGREP"
4472
# Check whether --with-gnu-ld was given.
3797
4473
if test "${with_gnu_ld+set}" = set; then
3798
withval="$with_gnu_ld"
3799
test "$withval" = no || with_gnu_ld=yes
4474
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3804
4480
if test "$GCC" = yes; then
3805
4481
# Check if gcc -print-prog-name=ld gives a path.
3806
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3807
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4482
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4483
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3810
4486
# gcc leaves a trailing carriage return which upsets mingw
4868
5576
rm -f conftest.$ac_objext
4869
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4870
(eval $ac_compile) 2>conftest.er1
5577
if { (ac_try="$ac_compile"
5579
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5580
*) ac_try_echo=$ac_try;;
5582
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5583
(eval "$ac_compile") 2>conftest.er1
4872
5585
grep -v '^ *+' conftest.er1 >conftest.err
4873
5586
rm -f conftest.er1
4874
5587
cat conftest.err >&5
4875
5588
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4876
(exit $ac_status); } &&
4877
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4878
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4881
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882
(exit $ac_status); }; } &&
4883
{ ac_try='test -s conftest.$ac_objext'
4884
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4887
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4888
(exit $ac_status); }; }; then
5589
(exit $ac_status); } && {
5590
test -z "$ac_cxx_werror_flag" ||
5591
test ! -s conftest.err
5592
} && test -s conftest.$ac_objext; then
4889
5593
ac_compiler_gnu=yes
4891
5595
echo "$as_me: failed program was:" >&5
4892
5596
sed 's/^/| /' conftest.$ac_ext >&5
4896
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4897
5602
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4900
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4901
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5605
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5606
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4902
5607
GXX=`test $ac_compiler_gnu = yes && echo yes`
4903
5608
ac_test_CXXFLAGS=${CXXFLAGS+set}
4904
5609
ac_save_CXXFLAGS=$CXXFLAGS
4906
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4907
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5610
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5611
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4908
5612
if test "${ac_cv_prog_cxx_g+set}" = set; then
4909
5613
echo $ECHO_N "(cached) $ECHO_C" >&6
4911
cat >conftest.$ac_ext <<_ACEOF
4914
cat confdefs.h >>conftest.$ac_ext
4915
cat >>conftest.$ac_ext <<_ACEOF
4916
/* end confdefs.h. */
4926
rm -f conftest.$ac_objext
4927
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4928
(eval $ac_compile) 2>conftest.er1
4930
grep -v '^ *+' conftest.er1 >conftest.err
4932
cat conftest.err >&5
4933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934
(exit $ac_status); } &&
4935
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4936
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4939
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940
(exit $ac_status); }; } &&
4941
{ ac_try='test -s conftest.$ac_objext'
4942
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4946
(exit $ac_status); }; }; then
4947
ac_cv_prog_cxx_g=yes
4949
echo "$as_me: failed program was:" >&5
4950
sed 's/^/| /' conftest.$ac_ext >&5
4954
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4956
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4957
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5615
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5616
ac_cxx_werror_flag=yes
5619
cat >conftest.$ac_ext <<_ACEOF
5622
cat confdefs.h >>conftest.$ac_ext
5623
cat >>conftest.$ac_ext <<_ACEOF
5624
/* end confdefs.h. */
5634
rm -f conftest.$ac_objext
5635
if { (ac_try="$ac_compile"
5637
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5638
*) ac_try_echo=$ac_try;;
5640
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5641
(eval "$ac_compile") 2>conftest.er1
5643
grep -v '^ *+' conftest.er1 >conftest.err
5645
cat conftest.err >&5
5646
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5647
(exit $ac_status); } && {
5648
test -z "$ac_cxx_werror_flag" ||
5649
test ! -s conftest.err
5650
} && test -s conftest.$ac_objext; then
5651
ac_cv_prog_cxx_g=yes
5653
echo "$as_me: failed program was:" >&5
5654
sed 's/^/| /' conftest.$ac_ext >&5
5657
cat >conftest.$ac_ext <<_ACEOF
5660
cat confdefs.h >>conftest.$ac_ext
5661
cat >>conftest.$ac_ext <<_ACEOF
5662
/* end confdefs.h. */
5672
rm -f conftest.$ac_objext
5673
if { (ac_try="$ac_compile"
5675
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5676
*) ac_try_echo=$ac_try;;
5678
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5679
(eval "$ac_compile") 2>conftest.er1
5681
grep -v '^ *+' conftest.er1 >conftest.err
5683
cat conftest.err >&5
5684
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685
(exit $ac_status); } && {
5686
test -z "$ac_cxx_werror_flag" ||
5687
test ! -s conftest.err
5688
} && test -s conftest.$ac_objext; then
5691
echo "$as_me: failed program was:" >&5
5692
sed 's/^/| /' conftest.$ac_ext >&5
5694
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5696
cat >conftest.$ac_ext <<_ACEOF
5699
cat confdefs.h >>conftest.$ac_ext
5700
cat >>conftest.$ac_ext <<_ACEOF
5701
/* end confdefs.h. */
5711
rm -f conftest.$ac_objext
5712
if { (ac_try="$ac_compile"
5714
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715
*) ac_try_echo=$ac_try;;
5717
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5718
(eval "$ac_compile") 2>conftest.er1
5720
grep -v '^ *+' conftest.er1 >conftest.err
5722
cat conftest.err >&5
5723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724
(exit $ac_status); } && {
5725
test -z "$ac_cxx_werror_flag" ||
5726
test ! -s conftest.err
5727
} && test -s conftest.$ac_objext; then
5728
ac_cv_prog_cxx_g=yes
5730
echo "$as_me: failed program was:" >&5
5731
sed 's/^/| /' conftest.$ac_ext >&5
5736
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5739
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5742
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5743
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5745
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5746
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4958
5747
if test "$ac_test_CXXFLAGS" = set; then
4959
5748
CXXFLAGS=$ac_save_CXXFLAGS
4960
5749
elif test $ac_cv_prog_cxx_g = yes; then
26425
27040
# Name of the executable.
26426
as_me=`$as_basename "$0" ||
27041
as_me=`$as_basename -- "$0" ||
26427
27042
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26428
27043
X"$0" : 'X\(//\)$' \| \
26429
X"$0" : 'X\(/\)$' \| \
26430
. : '\(.\)' 2>/dev/null ||
27044
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26431
27045
echo X/"$0" |
26432
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
26433
/^X\/\(\/\/\)$/{ s//\1/; q; }
26434
/^X\/\(\/\).*/{ s//\1/; q; }
26438
# PATH needs CR, and LINENO needs CR and PATH.
26439
# Avoid depending upon Character Ranges.
26440
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26441
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26442
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26443
as_cr_digits='0123456789'
26444
as_cr_alnum=$as_cr_Letters$as_cr_digits
26446
# The user is always right.
26447
if test "${PATH_SEPARATOR+set}" != set; then
26448
echo "#! /bin/sh" >conf$$.sh
26449
echo "exit 0" >>conf$$.sh
26451
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26460
as_lineno_1=$LINENO
26461
as_lineno_2=$LINENO
26462
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26463
test "x$as_lineno_1" != "x$as_lineno_2" &&
26464
test "x$as_lineno_3" = "x$as_lineno_2" || {
26465
# Find who we are. Look in the path if we contain no path at all
26468
*[\\/]* ) as_myself=$0 ;;
26469
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26470
for as_dir in $PATH
26473
test -z "$as_dir" && as_dir=.
26474
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26479
# We did not find ourselves, most probably we were run as `sh COMMAND'
26480
# in which case we are not to be found in the path.
26481
if test "x$as_myself" = x; then
26484
if test ! -f "$as_myself"; then
26485
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
26486
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
26487
{ (exit 1); exit 1; }; }
26489
case $CONFIG_SHELL in
26491
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26492
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
26495
test -z "$as_dir" && as_dir=.
26496
for as_base in sh bash ksh sh5; do
26499
if ("$as_dir/$as_base" -c '
26500
as_lineno_1=$LINENO
26501
as_lineno_2=$LINENO
26502
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
26503
test "x$as_lineno_1" != "x$as_lineno_2" &&
26504
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
26505
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
26506
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
26507
CONFIG_SHELL=$as_dir/$as_base
26508
export CONFIG_SHELL
26509
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
27046
sed '/^.*\/\([^/][^/]*\)\/*$/{
27065
as_lineno_1=$LINENO
27066
as_lineno_2=$LINENO
27067
test "x$as_lineno_1" != "x$as_lineno_2" &&
27068
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
26517
27070
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
26518
27071
# uniformly replaced by the line number. The first 'sed' inserts a
26519
# line-number line before each line; the second 'sed' does the real
26520
# work. The second script uses 'N' to pair each line-number line
26521
# with the numbered line, and appends trailing '-' during
26522
# substitution so that $LINENO is not a special case at line end.
27072
# line-number line after each line using $LINENO; the second 'sed'
27073
# does the real work. The second script uses 'N' to pair each
27074
# line-number line with the line containing $LINENO, and appends
27075
# trailing '-' during substitution so that $LINENO is not a special
27076
# case at line end.
26523
27077
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
26524
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
26525
sed '=' <$as_myself |
27078
# scripts with optimization help from Paolo Bonzini. Blame Lee
27079
# E. McMahon (1931-1989) for sed's syntax. :-)
26530
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
27091
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
26533
s,^['$as_cr_digits']*\n,,
26534
27094
' >$as_me.lineno &&
26535
chmod +x $as_me.lineno ||
26536
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
26537
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
27095
chmod +x "$as_me.lineno" ||
27096
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
26538
27097
{ (exit 1); exit 1; }; }
26540
27099
# Don't try to exec as it changes $[0], causing all sort of problems
26541
27100
# (the dirname of $[0] is not the place where we might find the
26542
# original and so on. Autoconf is especially sensible to this).
27101
# original and so on. Autoconf is especially sensitive to this).
27102
. "./$as_me.lineno"
26544
27103
# Exit status is that of the last command.
26549
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
26550
*c*,-n*) ECHO_N= ECHO_C='
26552
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
26553
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
27108
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27114
ECHO_C= ECHO_N= ECHO_T=
27115
case `echo -n x` in
27117
case `echo 'x\c'` in
27118
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
26556
if expr a : '\(a\)' >/dev/null 2>&1; then
27125
if expr a : '\(a\)' >/dev/null 2>&1 &&
27126
test "X`expr 00001 : '.*\(...\)'`" = X001; then
26559
27129
as_expr=false
26562
27132
rm -f conf$$ conf$$.exe conf$$.file
27133
if test -d conf$$.dir; then
27134
rm -f conf$$.dir/conf$$.file
26563
27139
echo >conf$$.file
26564
27140
if ln -s conf$$.file conf$$ 2>/dev/null; then
26565
# We could just check for DJGPP; but this test a) works b) is more generic
26566
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
26567
if test -f conf$$.exe; then
26568
# Don't use ln at all; we don't have any links
27142
# ... but there are two gotchas:
27143
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27144
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27145
# In both cases, we have to default to `cp -p'.
27146
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26569
27147
as_ln_s='cp -p'
26573
27148
elif ln conf$$.file conf$$ 2>/dev/null; then
26576
27151
as_ln_s='cp -p'
26578
rm -f conf$$ conf$$.exe conf$$.file
27153
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27154
rmdir conf$$.dir 2>/dev/null
26580
27156
if mkdir -p . 2>/dev/null; then
26827
27402
# Have a temporary directory for convenience. Make it in the build tree
26828
# simply because there is no reason to put it here, and in addition,
27403
# simply because there is no reason against having it here, and in addition,
26829
27404
# creating and moving files from /tmp can sometimes cause problems.
26830
# Create a temporary directory, and hook for its removal unless debugging.
27405
# Hook for its removal unless debugging.
27406
# Note that there is a small window in which the directory will not be cleaned:
27407
# after its creation but before its name has been assigned to `$tmp'.
26833
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
27411
trap 'exit_status=$?
27412
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
26834
27414
trap '{ (exit 1); exit 1; }' 1 2 13 15
26837
27416
# Create a (secure) tmp directory for tmp files.
26840
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
27419
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26841
27420
test -n "$tmp" && test -d "$tmp"
26844
tmp=./confstat$$-$RANDOM
26845
(umask 077 && mkdir $tmp)
27423
tmp=./conf$$-$RANDOM
27424
(umask 077 && mkdir "$tmp")
26848
27427
echo "$me: cannot create a temporary directory in ." >&2
26849
27428
{ (exit 1); exit 1; }
26854
cat >>$CONFIG_STATUS <<_ACEOF
26857
# CONFIG_FILES section.
27432
# Set up the sed scripts for CONFIG_FILES section.
26860
27435
# No need to generate the scripts if there are no CONFIG_FILES.
26861
27436
# This happens for instance when ./config.status config.h
26862
if test -n "\$CONFIG_FILES"; then
26863
# Protect against being on the right side of a sed subst in config.status.
26864
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
26865
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
26866
s,@SHELL@,$SHELL,;t t
26867
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
26868
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
26869
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
26870
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
26871
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
26872
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
26873
s,@exec_prefix@,$exec_prefix,;t t
26874
s,@prefix@,$prefix,;t t
26875
s,@program_transform_name@,$program_transform_name,;t t
26876
s,@bindir@,$bindir,;t t
26877
s,@sbindir@,$sbindir,;t t
26878
s,@libexecdir@,$libexecdir,;t t
26879
s,@datadir@,$datadir,;t t
26880
s,@sysconfdir@,$sysconfdir,;t t
26881
s,@sharedstatedir@,$sharedstatedir,;t t
26882
s,@localstatedir@,$localstatedir,;t t
26883
s,@libdir@,$libdir,;t t
26884
s,@includedir@,$includedir,;t t
26885
s,@oldincludedir@,$oldincludedir,;t t
26886
s,@infodir@,$infodir,;t t
26887
s,@mandir@,$mandir,;t t
26888
s,@build_alias@,$build_alias,;t t
26889
s,@host_alias@,$host_alias,;t t
26890
s,@target_alias@,$target_alias,;t t
26891
s,@DEFS@,$DEFS,;t t
26892
s,@ECHO_C@,$ECHO_C,;t t
26893
s,@ECHO_N@,$ECHO_N,;t t
26894
s,@ECHO_T@,$ECHO_T,;t t
26895
s,@LIBS@,$LIBS,;t t
26896
s,@build@,$build,;t t
26897
s,@build_cpu@,$build_cpu,;t t
26898
s,@build_vendor@,$build_vendor,;t t
26899
s,@build_os@,$build_os,;t t
26900
s,@host@,$host,;t t
26901
s,@host_cpu@,$host_cpu,;t t
26902
s,@host_vendor@,$host_vendor,;t t
26903
s,@host_os@,$host_os,;t t
26904
s,@target@,$target,;t t
26905
s,@target_cpu@,$target_cpu,;t t
26906
s,@target_vendor@,$target_vendor,;t t
26907
s,@target_os@,$target_os,;t t
26908
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
26909
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
26910
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
26911
s,@CYGPATH_W@,$CYGPATH_W,;t t
26912
s,@PACKAGE@,$PACKAGE,;t t
26913
s,@VERSION@,$VERSION,;t t
26914
s,@ACLOCAL@,$ACLOCAL,;t t
26915
s,@AUTOCONF@,$AUTOCONF,;t t
26916
s,@AUTOMAKE@,$AUTOMAKE,;t t
26917
s,@AUTOHEADER@,$AUTOHEADER,;t t
26918
s,@MAKEINFO@,$MAKEINFO,;t t
26919
s,@install_sh@,$install_sh,;t t
26920
s,@STRIP@,$STRIP,;t t
26921
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
26922
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
26923
s,@mkdir_p@,$mkdir_p,;t t
26925
s,@SET_MAKE@,$SET_MAKE,;t t
26926
s,@am__leading_dot@,$am__leading_dot,;t t
26927
s,@AMTAR@,$AMTAR,;t t
26928
s,@am__tar@,$am__tar,;t t
26929
s,@am__untar@,$am__untar,;t t
26930
s,@JAS_MAJOR_VERSION@,$JAS_MAJOR_VERSION,;t t
26931
s,@JAS_MINOR_VERSION@,$JAS_MINOR_VERSION,;t t
26932
s,@JAS_MICRO_VERSION@,$JAS_MICRO_VERSION,;t t
26933
s,@JAS_VERSION@,$JAS_VERSION,;t t
26934
s,@JAS_RPM_RELEASE@,$JAS_RPM_RELEASE,;t t
26935
s,@LT_RELEASE@,$LT_RELEASE,;t t
26936
s,@LT_CURRENT@,$LT_CURRENT,;t t
26937
s,@LT_REVISION@,$LT_REVISION,;t t
26938
s,@LT_AGE@,$LT_AGE,;t t
26940
s,@CFLAGS@,$CFLAGS,;t t
26941
s,@LDFLAGS@,$LDFLAGS,;t t
26942
s,@CPPFLAGS@,$CPPFLAGS,;t t
26943
s,@ac_ct_CC@,$ac_ct_CC,;t t
26944
s,@EXEEXT@,$EXEEXT,;t t
26945
s,@OBJEXT@,$OBJEXT,;t t
26946
s,@DEPDIR@,$DEPDIR,;t t
26947
s,@am__include@,$am__include,;t t
26948
s,@am__quote@,$am__quote,;t t
26949
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
26950
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
26951
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
26952
s,@CCDEPMODE@,$CCDEPMODE,;t t
26953
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
26954
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
26956
s,@LN_S@,$LN_S,;t t
26957
s,@RANLIB@,$RANLIB,;t t
26958
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
26959
s,@EGREP@,$EGREP,;t t
26960
s,@ECHO@,$ECHO,;t t
26962
s,@ac_ct_AR@,$ac_ct_AR,;t t
26964
s,@CXXFLAGS@,$CXXFLAGS,;t t
26965
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
26966
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
26967
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
26968
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
26969
s,@CXXCPP@,$CXXCPP,;t t
26971
s,@FFLAGS@,$FFLAGS,;t t
26972
s,@ac_ct_F77@,$ac_ct_F77,;t t
26973
s,@LIBTOOL@,$LIBTOOL,;t t
26974
s,@X_CFLAGS@,$X_CFLAGS,;t t
26975
s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
26976
s,@X_LIBS@,$X_LIBS,;t t
26977
s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
26978
s,@HAVE_LIBJPEG_TRUE@,$HAVE_LIBJPEG_TRUE,;t t
26979
s,@HAVE_LIBJPEG_FALSE@,$HAVE_LIBJPEG_FALSE,;t t
26980
s,@HAVE_OPENGL_TRUE@,$HAVE_OPENGL_TRUE,;t t
26981
s,@HAVE_OPENGL_FALSE@,$HAVE_OPENGL_FALSE,;t t
26982
s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
26983
s,@HAVE_SDL@,$HAVE_SDL,;t t
26984
s,@HAVE_SDL_TRUE@,$HAVE_SDL_TRUE,;t t
26985
s,@HAVE_SDL_FALSE@,$HAVE_SDL_FALSE,;t t
26986
s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
26987
s,@SDL_LIBS@,$SDL_LIBS,;t t
26988
s,@LIBOBJS@,$LIBOBJS,;t t
26989
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
26994
cat >>$CONFIG_STATUS <<\_ACEOF
26995
# Split the substitutions into bite-sized pieces for seds with
26996
# small command number limits, like on Digital OSF/1 and HP-UX.
26997
ac_max_sed_lines=48
26998
ac_sed_frag=1 # Number of current file.
26999
ac_beg=1 # First line for current file.
27000
ac_end=$ac_max_sed_lines # Line after last line for current file.
27003
while $ac_more_lines; do
27004
if test $ac_beg -gt 1; then
27005
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27007
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
27009
if test ! -s $tmp/subs.frag; then
27010
ac_more_lines=false
27012
# The purpose of the label and of the branching condition is to
27013
# speed up the sed processing (if there are no `@' at all, there
27014
# is no need to browse any of the substitutions).
27015
# These are the two extra sed commands mentioned above.
27017
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
27018
if test -z "$ac_sed_cmds"; then
27019
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
27021
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
27023
ac_sed_frag=`expr $ac_sed_frag + 1`
27025
ac_end=`expr $ac_end + $ac_max_sed_lines`
27028
if test -z "$ac_sed_cmds"; then
27437
if test -n "$CONFIG_FILES"; then
27444
for ac_last_try in false false false false false :; do
27445
cat >conf$$subs.sed <<_ACEOF
27446
SHELL!$SHELL$ac_delim
27447
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
27448
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
27449
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
27450
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
27451
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
27452
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
27453
exec_prefix!$exec_prefix$ac_delim
27454
prefix!$prefix$ac_delim
27455
program_transform_name!$program_transform_name$ac_delim
27456
bindir!$bindir$ac_delim
27457
sbindir!$sbindir$ac_delim
27458
libexecdir!$libexecdir$ac_delim
27459
datarootdir!$datarootdir$ac_delim
27460
datadir!$datadir$ac_delim
27461
sysconfdir!$sysconfdir$ac_delim
27462
sharedstatedir!$sharedstatedir$ac_delim
27463
localstatedir!$localstatedir$ac_delim
27464
includedir!$includedir$ac_delim
27465
oldincludedir!$oldincludedir$ac_delim
27466
docdir!$docdir$ac_delim
27467
infodir!$infodir$ac_delim
27468
htmldir!$htmldir$ac_delim
27469
dvidir!$dvidir$ac_delim
27470
pdfdir!$pdfdir$ac_delim
27471
psdir!$psdir$ac_delim
27472
libdir!$libdir$ac_delim
27473
localedir!$localedir$ac_delim
27474
mandir!$mandir$ac_delim
27475
DEFS!$DEFS$ac_delim
27476
ECHO_C!$ECHO_C$ac_delim
27477
ECHO_N!$ECHO_N$ac_delim
27478
ECHO_T!$ECHO_T$ac_delim
27479
LIBS!$LIBS$ac_delim
27480
build_alias!$build_alias$ac_delim
27481
host_alias!$host_alias$ac_delim
27482
target_alias!$target_alias$ac_delim
27483
build!$build$ac_delim
27484
build_cpu!$build_cpu$ac_delim
27485
build_vendor!$build_vendor$ac_delim
27486
build_os!$build_os$ac_delim
27487
host!$host$ac_delim
27488
host_cpu!$host_cpu$ac_delim
27489
host_vendor!$host_vendor$ac_delim
27490
host_os!$host_os$ac_delim
27491
target!$target$ac_delim
27492
target_cpu!$target_cpu$ac_delim
27493
target_vendor!$target_vendor$ac_delim
27494
target_os!$target_os$ac_delim
27495
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
27496
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
27497
INSTALL_DATA!$INSTALL_DATA$ac_delim
27498
CYGPATH_W!$CYGPATH_W$ac_delim
27499
PACKAGE!$PACKAGE$ac_delim
27500
VERSION!$VERSION$ac_delim
27501
ACLOCAL!$ACLOCAL$ac_delim
27502
AUTOCONF!$AUTOCONF$ac_delim
27503
AUTOMAKE!$AUTOMAKE$ac_delim
27504
AUTOHEADER!$AUTOHEADER$ac_delim
27505
MAKEINFO!$MAKEINFO$ac_delim
27506
install_sh!$install_sh$ac_delim
27507
STRIP!$STRIP$ac_delim
27508
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
27509
mkdir_p!$mkdir_p$ac_delim
27511
SET_MAKE!$SET_MAKE$ac_delim
27512
am__leading_dot!$am__leading_dot$ac_delim
27513
AMTAR!$AMTAR$ac_delim
27514
am__tar!$am__tar$ac_delim
27515
am__untar!$am__untar$ac_delim
27516
JAS_MAJOR_VERSION!$JAS_MAJOR_VERSION$ac_delim
27517
JAS_MINOR_VERSION!$JAS_MINOR_VERSION$ac_delim
27518
JAS_MICRO_VERSION!$JAS_MICRO_VERSION$ac_delim
27519
JAS_VERSION!$JAS_VERSION$ac_delim
27520
JAS_RPM_RELEASE!$JAS_RPM_RELEASE$ac_delim
27521
LT_RELEASE!$LT_RELEASE$ac_delim
27522
LT_CURRENT!$LT_CURRENT$ac_delim
27523
LT_REVISION!$LT_REVISION$ac_delim
27524
LT_AGE!$LT_AGE$ac_delim
27526
CFLAGS!$CFLAGS$ac_delim
27527
LDFLAGS!$LDFLAGS$ac_delim
27528
CPPFLAGS!$CPPFLAGS$ac_delim
27529
ac_ct_CC!$ac_ct_CC$ac_delim
27530
EXEEXT!$EXEEXT$ac_delim
27531
OBJEXT!$OBJEXT$ac_delim
27532
DEPDIR!$DEPDIR$ac_delim
27533
am__include!$am__include$ac_delim
27534
am__quote!$am__quote$ac_delim
27535
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
27536
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
27537
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
27538
CCDEPMODE!$CCDEPMODE$ac_delim
27539
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
27540
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
27542
LN_S!$LN_S$ac_delim
27545
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
27547
elif $ac_last_try; then
27548
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27549
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27550
{ (exit 1); exit 1; }; }
27552
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27556
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27557
if test -n "$ac_eof"; then
27558
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27559
ac_eof=`expr $ac_eof + 1`
27562
cat >>$CONFIG_STATUS <<_ACEOF
27563
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
27564
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27567
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27568
s/^/s,@/; s/!/@,|#_!!_#|/
27571
s/'"$ac_delim"'$/,g/; t
27573
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27574
' >>$CONFIG_STATUS <conf$$subs.sed
27575
rm -f conf$$subs.sed
27576
cat >>$CONFIG_STATUS <<_ACEOF
27582
for ac_last_try in false false false false false :; do
27583
cat >conf$$subs.sed <<_ACEOF
27584
RANLIB!$RANLIB$ac_delim
27585
GREP!$GREP$ac_delim
27586
EGREP!$EGREP$ac_delim
27587
ECHO!$ECHO$ac_delim
27590
CXXFLAGS!$CXXFLAGS$ac_delim
27591
ac_ct_CXX!$ac_ct_CXX$ac_delim
27592
CXXDEPMODE!$CXXDEPMODE$ac_delim
27593
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
27594
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
27595
CXXCPP!$CXXCPP$ac_delim
27597
FFLAGS!$FFLAGS$ac_delim
27598
ac_ct_F77!$ac_ct_F77$ac_delim
27599
LIBTOOL!$LIBTOOL$ac_delim
27600
XMKMF!$XMKMF$ac_delim
27601
X_CFLAGS!$X_CFLAGS$ac_delim
27602
X_PRE_LIBS!$X_PRE_LIBS$ac_delim
27603
X_LIBS!$X_LIBS$ac_delim
27604
X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
27605
HAVE_LIBJPEG_TRUE!$HAVE_LIBJPEG_TRUE$ac_delim
27606
HAVE_LIBJPEG_FALSE!$HAVE_LIBJPEG_FALSE$ac_delim
27607
HAVE_OPENGL_TRUE!$HAVE_OPENGL_TRUE$ac_delim
27608
HAVE_OPENGL_FALSE!$HAVE_OPENGL_FALSE$ac_delim
27609
OPENGL_LIBS!$OPENGL_LIBS$ac_delim
27610
HAVE_SDL!$HAVE_SDL$ac_delim
27611
HAVE_SDL_TRUE!$HAVE_SDL_TRUE$ac_delim
27612
HAVE_SDL_FALSE!$HAVE_SDL_FALSE$ac_delim
27613
SDL_CFLAGS!$SDL_CFLAGS$ac_delim
27614
SDL_LIBS!$SDL_LIBS$ac_delim
27615
LIBOBJS!$LIBOBJS$ac_delim
27616
LTLIBOBJS!$LTLIBOBJS$ac_delim
27619
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 33; then
27621
elif $ac_last_try; then
27622
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
27623
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
27624
{ (exit 1); exit 1; }; }
27626
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27630
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
27631
if test -n "$ac_eof"; then
27632
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
27633
ac_eof=`expr $ac_eof + 1`
27636
cat >>$CONFIG_STATUS <<_ACEOF
27637
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
27638
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
27641
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
27642
s/^/s,@/; s/!/@,|#_!!_#|/
27645
s/'"$ac_delim"'$/,g/; t
27647
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
27648
' >>$CONFIG_STATUS <conf$$subs.sed
27649
rm -f conf$$subs.sed
27650
cat >>$CONFIG_STATUS <<_ACEOF
27657
# VPATH may cause trouble with some makes, so we remove $(srcdir),
27658
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
27659
# trailing colons and then remove the whole line if VPATH becomes empty
27660
# (actually we leave an empty line to preserve line numbers).
27661
if test "x$srcdir" = x.; then
27662
ac_vpsub='/^[ ]*VPATH[ ]*=/{
27663
s/:*\$(srcdir):*/:/
27664
s/:*\${srcdir}:*/:/
27666
s/^\([^=]*=[ ]*\):*/\1/
27672
cat >>$CONFIG_STATUS <<\_ACEOF
27031
27673
fi # test -n "$CONFIG_FILES"
27034
cat >>$CONFIG_STATUS <<\_ACEOF
27035
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
27036
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27038
- | *:- | *:-:* ) # input from stdin
27040
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27041
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27042
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27043
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27044
* ) ac_file_in=$ac_file.in ;;
27047
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
27048
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
27676
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
27679
:[FHLC]) ac_mode=$ac_tag; continue;;
27681
case $ac_mode$ac_tag in
27683
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
27684
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
27685
{ (exit 1); exit 1; }; };;
27686
:[FH]-) ac_tag=-:-;;
27687
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27704
-) ac_f="$tmp/stdin";;
27705
*) # Look for the file first in the build tree, then in the source tree
27706
# (if the path is not absolute). The absolute path cannot be DOS-style,
27707
# because $ac_f cannot contain `:'.
27711
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27713
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
27714
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
27715
{ (exit 1); exit 1; }; };;
27717
ac_file_inputs="$ac_file_inputs $ac_f"
27720
# Let's still pretend it is `configure' which instantiates (i.e., don't
27721
# use $as_me), people would be surprised to read:
27722
# /* config.h. Generated by config.status. */
27723
configure_input="Generated from "`IFS=:
27724
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
27725
if test x"$ac_file" != x-; then
27726
configure_input="$ac_file. $configure_input"
27727
{ echo "$as_me:$LINENO: creating $ac_file" >&5
27728
echo "$as_me: creating $ac_file" >&6;}
27732
*:-:* | *:-) cat >"$tmp/stdin";;
27737
ac_dir=`$as_dirname -- "$ac_file" ||
27049
27738
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27050
27739
X"$ac_file" : 'X\(//\)[^/]' \| \
27051
27740
X"$ac_file" : 'X\(//\)$' \| \
27052
X"$ac_file" : 'X\(/\)' \| \
27053
. : '\(.\)' 2>/dev/null ||
27741
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27054
27742
echo X"$ac_file" |
27055
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27056
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
27057
/^X\(\/\/\)$/{ s//\1/; q; }
27058
/^X\(\/\).*/{ s//\1/; q; }
27060
{ if $as_mkdir_p; then
27743
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27747
/^X\(\/\/\)[^/].*/{
27762
-*) as_dir=./$as_dir;;
27764
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
27065
while test ! -d "$as_dir"; do
27066
as_dirs="$as_dir $as_dirs"
27067
as_dir=`(dirname "$as_dir") 2>/dev/null ||
27768
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27769
*) as_qdir=$as_dir;;
27771
as_dirs="'$as_qdir' $as_dirs"
27772
as_dir=`$as_dirname -- "$as_dir" ||
27068
27773
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27069
27774
X"$as_dir" : 'X\(//\)[^/]' \| \
27070
27775
X"$as_dir" : 'X\(//\)$' \| \
27071
X"$as_dir" : 'X\(/\)' \| \
27072
. : '\(.\)' 2>/dev/null ||
27776
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27073
27777
echo X"$as_dir" |
27074
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27075
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
27076
/^X\(\/\/\)$/{ s//\1/; q; }
27077
/^X\(\/\).*/{ s//\1/; q; }
27778
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27782
/^X\(\/\/\)[^/].*/{
27795
test -d "$as_dir" && break
27080
test ! -n "$as_dirs" || mkdir $as_dirs
27081
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27082
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27797
test -z "$as_dirs" || eval "mkdir $as_dirs"
27798
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27799
echo "$as_me: error: cannot create directory $as_dir" >&2;}
27083
27800
{ (exit 1); exit 1; }; }; }
27085
27801
ac_builddir=.
27087
if test "$ac_dir" != .; then
27804
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27088
27806
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
27089
# A "../" for each directory in $ac_dir_suffix.
27090
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
27092
ac_dir_suffix= ac_top_builddir=
27807
# A ".." for each directory in $ac_dir_suffix.
27808
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27809
case $ac_top_builddir_sub in
27810
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27811
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27814
ac_abs_top_builddir=$ac_pwd
27815
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27816
# for backward compatibility:
27817
ac_top_builddir=$ac_top_build_prefix
27095
27819
case $srcdir in
27096
.) # No --srcdir option. We are building in place.
27820
.) # We are building in place.
27098
if test -z "$ac_top_builddir"; then
27101
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
27103
[\\/]* | ?:[\\/]* ) # Absolute path.
27822
ac_top_srcdir=$ac_top_builddir_sub
27823
ac_abs_top_srcdir=$ac_pwd ;;
27824
[\\/]* | ?:[\\/]* ) # Absolute name.
27104
27825
ac_srcdir=$srcdir$ac_dir_suffix;
27105
ac_top_srcdir=$srcdir ;;
27106
*) # Relative path.
27107
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
27108
ac_top_srcdir=$ac_top_builddir$srcdir ;;
27111
# Do not use `cd foo && pwd` to compute absolute paths, because
27112
# the directories may not exist.
27114
.) ac_abs_builddir="$ac_dir";;
27117
.) ac_abs_builddir=`pwd`;;
27118
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
27119
*) ac_abs_builddir=`pwd`/"$ac_dir";;
27122
case $ac_abs_builddir in
27123
.) ac_abs_top_builddir=${ac_top_builddir}.;;
27125
case ${ac_top_builddir}. in
27126
.) ac_abs_top_builddir=$ac_abs_builddir;;
27127
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
27128
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
27131
case $ac_abs_builddir in
27132
.) ac_abs_srcdir=$ac_srcdir;;
27135
.) ac_abs_srcdir=$ac_abs_builddir;;
27136
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
27137
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
27140
case $ac_abs_builddir in
27141
.) ac_abs_top_srcdir=$ac_top_srcdir;;
27143
case $ac_top_srcdir in
27144
.) ac_abs_top_srcdir=$ac_abs_builddir;;
27145
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
27146
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27826
ac_top_srcdir=$srcdir
27827
ac_abs_top_srcdir=$srcdir ;;
27828
*) # Relative name.
27829
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27830
ac_top_srcdir=$ac_top_build_prefix$srcdir
27831
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27833
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27151
27842
case $INSTALL in
27152
27843
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27153
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
27844
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27156
# Let's still pretend it is `configure' which instantiates (i.e., don't
27157
# use $as_me), people would be surprised to read:
27158
# /* config.h. Generated by config.status. */
27159
if test x"$ac_file" = x-; then
27162
configure_input="$ac_file. "
27164
configure_input=$configure_input"Generated from `echo $ac_file_in |
27165
sed 's,.*/,,'` by configure."
27167
# First look for the input files in the build tree, otherwise in the
27169
ac_file_inputs=`IFS=:
27170
for f in $ac_file_in; do
27172
-) echo $tmp/stdin ;;
27174
# Absolute (can't be DOS-style, as IFS=:)
27175
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27176
echo "$as_me: error: cannot find input file: $f" >&2;}
27177
{ (exit 1); exit 1; }; }
27180
if test -f "$f"; then
27183
elif test -f "$srcdir/$f"; then
27188
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27189
echo "$as_me: error: cannot find input file: $f" >&2;}
27190
{ (exit 1); exit 1; }; }
27193
done` || { (exit 1); exit 1; }
27195
if test x"$ac_file" != x-; then
27196
{ echo "$as_me:$LINENO: creating $ac_file" >&5
27197
echo "$as_me: creating $ac_file" >&6;}
27848
cat >>$CONFIG_STATUS <<\_ACEOF
27849
# If the template does not know about datarootdir, expand it.
27850
# FIXME: This hack should be removed a few years after 2.60.
27851
ac_datarootdir_hack=; ac_datarootdir_seen=
27853
case `sed -n '/datarootdir/ {
27862
' $ac_file_inputs` in
27863
*datarootdir*) ac_datarootdir_seen=yes;;
27864
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27865
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27866
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27868
cat >>$CONFIG_STATUS <<_ACEOF
27869
ac_datarootdir_hack='
27870
s&@datadir@&$datadir&g
27871
s&@docdir@&$docdir&g
27872
s&@infodir@&$infodir&g
27873
s&@localedir@&$localedir&g
27874
s&@mandir@&$mandir&g
27875
s&\\\${datarootdir}&$datarootdir&g' ;;
27879
# Neutralize VPATH when `$srcdir' = `.'.
27880
# Shell code in configure.ac might set extrasub.
27881
# FIXME: do we really want to maintain this feature?
27201
27882
cat >>$CONFIG_STATUS <<_ACEOF
27202
27883
sed "$ac_vpsub
27205
27886
cat >>$CONFIG_STATUS <<\_ACEOF
27207
27888
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27208
s,@configure_input@,$configure_input,;t t
27209
s,@srcdir@,$ac_srcdir,;t t
27210
s,@abs_srcdir@,$ac_abs_srcdir,;t t
27211
s,@top_srcdir@,$ac_top_srcdir,;t t
27212
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
27213
s,@builddir@,$ac_builddir,;t t
27214
s,@abs_builddir@,$ac_abs_builddir,;t t
27215
s,@top_builddir@,$ac_top_builddir,;t t
27216
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
27217
s,@INSTALL@,$ac_INSTALL,;t t
27218
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
27220
if test x"$ac_file" != x-; then
27221
mv $tmp/out $ac_file
27889
s&@configure_input@&$configure_input&;t t
27890
s&@top_builddir@&$ac_top_builddir_sub&;t t
27891
s&@srcdir@&$ac_srcdir&;t t
27892
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27893
s&@top_srcdir@&$ac_top_srcdir&;t t
27894
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27895
s&@builddir@&$ac_builddir&;t t
27896
s&@abs_builddir@&$ac_abs_builddir&;t t
27897
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27898
s&@INSTALL@&$ac_INSTALL&;t t
27899
$ac_datarootdir_hack
27900
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27902
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27903
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27904
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27905
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27906
which seems to be undefined. Please make sure it is defined." >&5
27907
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27908
which seems to be undefined. Please make sure it is defined." >&2;}
27912
-) cat "$tmp/out"; rm -f "$tmp/out";;
27913
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
27229
cat >>$CONFIG_STATUS <<\_ACEOF
27232
# CONFIG_HEADER section.
27235
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
27236
# NAME is the cpp macro being defined and VALUE is the value it is being given.
27238
# ac_d sets the value in "#define NAME VALUE" lines.
27239
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
27240
ac_dB='[ ].*$,\1#\2'
27922
# Transform confdefs.h into a sed script `conftest.defines', that
27923
# substitutes the proper values into config.h.in to produce config.h.
27924
rm -f conftest.defines conftest.tail
27925
# First, append a space to every undef/define line, to ease matching.
27926
echo 's/$/ /' >conftest.defines
27927
# Then, protect against being on the right side of a sed subst, or in
27928
# an unquoted here document, in config.status. If some macros were
27929
# called several times there might be several #defines for the same
27930
# symbol, which is useless. But do not sort them, since the last
27931
# AC_DEFINE must be honored.
27932
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27933
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27934
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27935
# PARAMS is the parameter list in the macro definition--in most cases, it's
27936
# just an empty string.
27937
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27938
ac_dB='\\)[ (].*,\\1define\\2'
27243
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
27244
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
27245
ac_uB='$,\1#\2define\3'
27249
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
27250
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
27252
- | *:- | *:-:* ) # input from stdin
27254
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27255
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27256
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
27257
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
27258
* ) ac_file_in=$ac_file.in ;;
27261
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
27262
echo "$as_me: creating $ac_file" >&6;}
27264
# First look for the input files in the build tree, otherwise in the
27266
ac_file_inputs=`IFS=:
27267
for f in $ac_file_in; do
27269
-) echo $tmp/stdin ;;
27271
# Absolute (can't be DOS-style, as IFS=:)
27272
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27273
echo "$as_me: error: cannot find input file: $f" >&2;}
27274
{ (exit 1); exit 1; }; }
27275
# Do quote $f, to prevent DOS paths from being IFS'd.
27278
if test -f "$f"; then
27281
elif test -f "$srcdir/$f"; then
27286
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
27287
echo "$as_me: error: cannot find input file: $f" >&2;}
27288
{ (exit 1); exit 1; }; }
27291
done` || { (exit 1); exit 1; }
27292
# Remove the trailing spaces.
27293
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
27297
# Transform confdefs.h into two sed scripts, `conftest.defines' and
27298
# `conftest.undefs', that substitutes the proper values into
27299
# config.h.in to produce config.h. The first handles `#define'
27300
# templates, and the second `#undef' templates.
27301
# And first: Protect against being on the right side of a sed subst in
27302
# config.status. Protect against being in an unquoted here document
27303
# in config.status.
27304
rm -f conftest.defines conftest.undefs
27305
# Using a here document instead of a string reduces the quoting nightmare.
27306
# Putting comments in sed scripts is not portable.
27308
# `end' is used to avoid that the second main sed command (meant for
27309
# 0-ary CPP macros) applies to n-ary macro definitions.
27310
# See the Autoconf documentation for `clear'.
27311
cat >confdef2sed.sed <<\_ACEOF
27316
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
27318
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
27321
# If some macros were called several times there might be several times
27322
# the same #defines, which is useless. Nevertheless, we may not want to
27323
# sort them, since we want the *last* AC-DEFINE to be honored.
27324
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
27325
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
27326
rm -f confdef2sed.sed
27328
# This sed command replaces #undef with comments. This is necessary, for
27946
s/^[ ]*#[ ]*define[ ][ ]*//
27951
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27952
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27953
' >>conftest.defines
27955
# Remove the space that was appended to ease matching.
27956
# Then replace #undef with comments. This is necessary, for
27329
27957
# example, in the case of _POSIX_SOURCE, which is predefined and required
27330
27958
# on some systems where configure will not decide to define it.
27331
cat >>conftest.undefs <<\_ACEOF
27332
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
27959
# (The regexp can be short, since the line contains either #define or #undef.)
27961
s,^[ #]*u.*,/* & */,' >>conftest.defines
27963
# Break up conftest.defines:
27964
ac_max_sed_lines=50
27966
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27967
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27968
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27970
ac_in='$ac_file_inputs'
27971
ac_out='"$tmp/out1"'
27972
ac_nxt='"$tmp/out2"'
27976
# Write a here document:
27977
cat >>$CONFIG_STATUS <<_ACEOF
27978
# First, check the format of the line:
27979
cat >"\$tmp/defines.sed" <<\\CEOF
27980
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27981
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
27335
# Break up conftest.defines because some shells have a limit on the size
27336
# of here documents, and old seds have small limits too (100 cmds).
27337
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
27338
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
27339
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
27340
echo ' :' >>$CONFIG_STATUS
27341
rm -f conftest.tail
27342
while grep . conftest.defines >/dev/null
27344
# Write a limited-size here document to $tmp/defines.sed.
27345
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
27346
# Speed up: don't consider the non `#define' lines.
27347
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
27348
# Work around the forget-to-reset-the-flag bug.
27349
echo 't clr' >>$CONFIG_STATUS
27350
echo ': clr' >>$CONFIG_STATUS
27351
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
27985
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
27353
sed -f $tmp/defines.sed $tmp/in >$tmp/out
27355
mv $tmp/out $tmp/in
27357
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
27987
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27988
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27989
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27990
grep . conftest.tail >/dev/null || break
27358
27991
rm -f conftest.defines
27359
27992
mv conftest.tail conftest.defines
27361
rm -f conftest.defines
27362
echo ' fi # grep' >>$CONFIG_STATUS
27363
echo >>$CONFIG_STATUS
27365
# Break up conftest.undefs because some shells have a limit on the size
27366
# of here documents, and old seds have small limits too (100 cmds).
27367
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
27368
rm -f conftest.tail
27369
while grep . conftest.undefs >/dev/null
27371
# Write a limited-size here document to $tmp/undefs.sed.
27372
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
27373
# Speed up: don't consider the non `#undef'
27374
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
27375
# Work around the forget-to-reset-the-flag bug.
27376
echo 't clr' >>$CONFIG_STATUS
27377
echo ': clr' >>$CONFIG_STATUS
27378
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
27380
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
27382
mv $tmp/out $tmp/in
27384
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
27385
rm -f conftest.undefs
27386
mv conftest.tail conftest.undefs
27388
rm -f conftest.undefs
27994
rm -f conftest.defines conftest.tail
27996
echo "ac_result=$ac_in" >>$CONFIG_STATUS
27390
27997
cat >>$CONFIG_STATUS <<\_ACEOF
27391
# Let's still pretend it is `configure' which instantiates (i.e., don't
27392
# use $as_me), people would be surprised to read:
27393
# /* config.h. Generated by config.status. */
27394
if test x"$ac_file" = x-; then
27395
echo "/* Generated by configure. */" >$tmp/config.h
27397
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
27399
cat $tmp/in >>$tmp/config.h
27401
27998
if test x"$ac_file" != x-; then
27402
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
27999
echo "/* $configure_input */" >"$tmp/config.h"
28000
cat "$ac_result" >>"$tmp/config.h"
28001
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
27403
28002
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
27404
28003
echo "$as_me: $ac_file is unchanged" >&6;}
27406
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
27407
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27408
X"$ac_file" : 'X\(//\)[^/]' \| \
27409
X"$ac_file" : 'X\(//\)$' \| \
27410
X"$ac_file" : 'X\(/\)' \| \
27411
. : '\(.\)' 2>/dev/null ||
27413
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27414
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
27415
/^X\(\/\/\)$/{ s//\1/; q; }
27416
/^X\(\/\).*/{ s//\1/; q; }
27418
{ if $as_mkdir_p; then
27423
while test ! -d "$as_dir"; do
27424
as_dirs="$as_dir $as_dirs"
27425
as_dir=`(dirname "$as_dir") 2>/dev/null ||
27426
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27427
X"$as_dir" : 'X\(//\)[^/]' \| \
27428
X"$as_dir" : 'X\(//\)$' \| \
27429
X"$as_dir" : 'X\(/\)' \| \
27430
. : '\(.\)' 2>/dev/null ||
27432
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
27433
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
27434
/^X\(\/\/\)$/{ s//\1/; q; }
27435
/^X\(\/\).*/{ s//\1/; q; }
27438
test ! -n "$as_dirs" || mkdir $as_dirs
27439
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
27440
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27441
{ (exit 1); exit 1; }; }; }
27443
28005
rm -f $ac_file
27444
mv $tmp/config.h $ac_file
28006
mv "$tmp/config.h" $ac_file
27448
rm -f $tmp/config.h
28009
echo "/* $configure_input */"
27450
28013
# Compute $ac_file's index in $config_headers.
27451
28014
_am_stamp_count=1
27452
28015
for _am_header in $config_headers :; do