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
878
1321
it to find libraries and programs with nonstandard names/locations.
883
1327
if test "$ac_init_help" = "recursive"; then
884
1328
# If there are subdirs, report their specific --help.
886
1329
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887
test -d $ac_dir || continue
1330
test -d "$ac_dir" || continue
890
if test "$ac_dir" != .; then
1334
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
891
1336
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
892
# A "../" for each directory in $ac_dir_suffix.
893
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
895
ac_dir_suffix= ac_top_builddir=
1337
# A ".." for each directory in $ac_dir_suffix.
1338
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1339
case $ac_top_builddir_sub in
1340
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1341
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1344
ac_abs_top_builddir=$ac_pwd
1345
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1346
# for backward compatibility:
1347
ac_top_builddir=$ac_top_build_prefix
899
.) # No --srcdir option. We are building in place.
1350
.) # We are building in place.
901
if test -z "$ac_top_builddir"; then
904
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
906
[\\/]* | ?:[\\/]* ) # Absolute path.
1352
ac_top_srcdir=$ac_top_builddir_sub
1353
ac_abs_top_srcdir=$ac_pwd ;;
1354
[\\/]* | ?:[\\/]* ) # Absolute name.
907
1355
ac_srcdir=$srcdir$ac_dir_suffix;
908
ac_top_srcdir=$srcdir ;;
910
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911
ac_top_srcdir=$ac_top_builddir$srcdir ;;
914
# Do not use `cd foo && pwd` to compute absolute paths, because
915
# the directories may not exist.
917
.) ac_abs_builddir="$ac_dir";;
920
.) ac_abs_builddir=`pwd`;;
921
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922
*) ac_abs_builddir=`pwd`/"$ac_dir";;
925
case $ac_abs_builddir in
926
.) ac_abs_top_builddir=${ac_top_builddir}.;;
928
case ${ac_top_builddir}. in
929
.) ac_abs_top_builddir=$ac_abs_builddir;;
930
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934
case $ac_abs_builddir in
935
.) ac_abs_srcdir=$ac_srcdir;;
938
.) ac_abs_srcdir=$ac_abs_builddir;;
939
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943
case $ac_abs_builddir in
944
.) ac_abs_top_srcdir=$ac_top_srcdir;;
946
case $ac_top_srcdir in
947
.) ac_abs_top_srcdir=$ac_abs_builddir;;
948
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954
# Check for guested configure; otherwise get Cygnus style configure.
955
if test -f $ac_srcdir/configure.gnu; then
957
$SHELL $ac_srcdir/configure.gnu --help=recursive
958
elif test -f $ac_srcdir/configure; then
960
$SHELL $ac_srcdir/configure --help=recursive
961
elif test -f $ac_srcdir/configure.ac ||
962
test -f $ac_srcdir/configure.in; then
1356
ac_top_srcdir=$srcdir
1357
ac_abs_top_srcdir=$srcdir ;;
1359
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1360
ac_top_srcdir=$ac_top_build_prefix$srcdir
1361
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1363
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1365
cd "$ac_dir" || { ac_status=$?; continue; }
1366
# Check for guested configure.
1367
if test -f "$ac_srcdir/configure.gnu"; then
1369
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1370
elif test -f "$ac_srcdir/configure"; then
1372
$SHELL "$ac_srcdir/configure" --help=recursive
966
1374
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1376
cd "$ac_pwd" || { ac_status=$?; break; }
972
test -n "$ac_init_help" && exit 0
1380
test -n "$ac_init_help" && exit $ac_status
973
1381
if $ac_init_version; then
975
1383
libatomic_ops configure 1.2
976
generated by GNU Autoconf 2.59
1384
generated by GNU Autoconf 2.61
978
Copyright (C) 2003 Free Software Foundation, Inc.
1386
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1387
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
979
1388
This configure script is free software; the Free Software Foundation
980
1389
gives unlimited permission to copy, distribute and modify it.
1393
cat >config.log <<_ACEOF
986
1394
This file contains any messages produced by compilers while
987
1395
running configure, to aid debugging if configure makes a mistake.
989
1397
It was created by libatomic_ops $as_me 1.2, which was
990
generated by GNU Autoconf 2.59. Invocation command line was
1398
generated by GNU Autoconf 2.61. Invocation command line was
1297
1747
ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1327
if test -f $ac_dir/install-sh; then
1751
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1752
if test -f "$ac_dir/install-sh"; then
1328
1753
ac_aux_dir=$ac_dir
1329
1754
ac_install_sh="$ac_aux_dir/install-sh -c"
1331
elif test -f $ac_dir/install.sh; then
1756
elif test -f "$ac_dir/install.sh"; then
1332
1757
ac_aux_dir=$ac_dir
1333
1758
ac_install_sh="$ac_aux_dir/install.sh -c"
1335
elif test -f $ac_dir/shtool; then
1760
elif test -f "$ac_dir/shtool"; then
1336
1761
ac_aux_dir=$ac_dir
1337
1762
ac_install_sh="$ac_aux_dir/shtool install -c"
1341
1766
if test -z "$ac_aux_dir"; then
1342
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1343
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1767
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1768
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1344
1769
{ (exit 1); exit 1; }; }
1346
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1772
# These three variables are undocumented and unsupported,
1773
# and are intended to be withdrawn in a future Autoconf release.
1774
# They can cause serious problems if a builder's source tree is in a directory
1775
# whose full name contains unusual characters.
1776
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1777
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1778
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1350
1781
# Make sure we can run config.sub.
1351
$ac_config_sub sun4 >/dev/null 2>&1 ||
1352
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1353
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1782
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1783
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1784
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1354
1785
{ (exit 1); exit 1; }; }
1356
echo "$as_me:$LINENO: checking build system type" >&5
1357
echo $ECHO_N "checking build system type... $ECHO_C" >&6
1787
{ echo "$as_me:$LINENO: checking build system type" >&5
1788
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1358
1789
if test "${ac_cv_build+set}" = set; then
1359
1790
echo $ECHO_N "(cached) $ECHO_C" >&6
1361
ac_cv_build_alias=$build_alias
1362
test -z "$ac_cv_build_alias" &&
1363
ac_cv_build_alias=`$ac_config_guess`
1364
test -z "$ac_cv_build_alias" &&
1792
ac_build_alias=$build_alias
1793
test "x$ac_build_alias" = x &&
1794
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1795
test "x$ac_build_alias" = x &&
1365
1796
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1366
1797
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1367
1798
{ (exit 1); exit 1; }; }
1368
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1369
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1370
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1799
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1800
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1801
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1371
1802
{ (exit 1); exit 1; }; }
1374
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1375
echo "${ECHO_T}$ac_cv_build" >&6
1805
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1806
echo "${ECHO_T}$ac_cv_build" >&6; }
1807
case $ac_cv_build in
1809
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1810
echo "$as_me: error: invalid value of canonical build" >&2;}
1811
{ (exit 1); exit 1; }; };;
1376
1813
build=$ac_cv_build
1377
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1378
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1379
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1382
echo "$as_me:$LINENO: checking host system type" >&5
1383
echo $ECHO_N "checking host system type... $ECHO_C" >&6
1814
ac_save_IFS=$IFS; IFS='-'
1820
# Remember, the first character of IFS is used to create $*,
1821
# except with old shells:
1824
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1827
{ echo "$as_me:$LINENO: checking host system type" >&5
1828
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1384
1829
if test "${ac_cv_host+set}" = set; then
1385
1830
echo $ECHO_N "(cached) $ECHO_C" >&6
1387
ac_cv_host_alias=$host_alias
1388
test -z "$ac_cv_host_alias" &&
1389
ac_cv_host_alias=$ac_cv_build_alias
1390
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1391
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1392
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1832
if test "x$host_alias" = x; then
1833
ac_cv_host=$ac_cv_build
1835
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1836
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1837
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1393
1838
{ (exit 1); exit 1; }; }
1396
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1397
echo "${ECHO_T}$ac_cv_host" >&6
1842
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1843
echo "${ECHO_T}$ac_cv_host" >&6; }
1846
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1847
echo "$as_me: error: invalid value of canonical host" >&2;}
1848
{ (exit 1); exit 1; }; };;
1398
1850
host=$ac_cv_host
1399
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1400
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1401
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1404
echo "$as_me:$LINENO: checking target system type" >&5
1405
echo $ECHO_N "checking target system type... $ECHO_C" >&6
1851
ac_save_IFS=$IFS; IFS='-'
1857
# Remember, the first character of IFS is used to create $*,
1858
# except with old shells:
1861
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1864
{ echo "$as_me:$LINENO: checking target system type" >&5
1865
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1406
1866
if test "${ac_cv_target+set}" = set; then
1407
1867
echo $ECHO_N "(cached) $ECHO_C" >&6
1409
ac_cv_target_alias=$target_alias
1410
test "x$ac_cv_target_alias" = "x" &&
1411
ac_cv_target_alias=$ac_cv_host_alias
1412
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1413
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1414
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1869
if test "x$target_alias" = x; then
1870
ac_cv_target=$ac_cv_host
1872
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1873
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1874
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1415
1875
{ (exit 1); exit 1; }; }
1418
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1419
echo "${ECHO_T}$ac_cv_target" >&6
1879
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1880
echo "${ECHO_T}$ac_cv_target" >&6; }
1881
case $ac_cv_target in
1883
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1884
echo "$as_me: error: invalid value of canonical target" >&2;}
1885
{ (exit 1); exit 1; }; };;
1420
1887
target=$ac_cv_target
1421
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1422
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1423
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1888
ac_save_IFS=$IFS; IFS='-'
1894
# Remember, the first character of IFS is used to create $*,
1895
# except with old shells:
1898
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1426
1901
# The aliases save the names the user supplied, while $host etc.
2489
3053
rm -f conftest.$ac_objext
2490
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2491
(eval $ac_compile) 2>conftest.er1
3054
if { (ac_try="$ac_compile"
3056
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3057
*) ac_try_echo=$ac_try;;
3059
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3060
(eval "$ac_compile") 2>conftest.er1
2493
3062
grep -v '^ *+' conftest.er1 >conftest.err
2494
3063
rm -f conftest.er1
2495
3064
cat conftest.err >&5
2496
3065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497
(exit $ac_status); } &&
2498
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2499
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2502
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503
(exit $ac_status); }; } &&
2504
{ ac_try='test -s conftest.$ac_objext'
2505
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509
(exit $ac_status); }; }; then
3066
(exit $ac_status); } && {
3067
test -z "$ac_c_werror_flag" ||
3068
test ! -s conftest.err
3069
} && test -s conftest.$ac_objext; then
2510
3070
ac_compiler_gnu=yes
2512
3072
echo "$as_me: failed program was:" >&5
2513
3073
sed 's/^/| /' conftest.$ac_ext >&5
2517
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3078
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2518
3079
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2521
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2522
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3082
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3083
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2523
3084
GCC=`test $ac_compiler_gnu = yes && echo yes`
2524
3085
ac_test_CFLAGS=${CFLAGS+set}
2525
3086
ac_save_CFLAGS=$CFLAGS
2527
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2528
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3087
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3088
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2529
3089
if test "${ac_cv_prog_cc_g+set}" = set; then
2530
3090
echo $ECHO_N "(cached) $ECHO_C" >&6
2532
cat >conftest.$ac_ext <<_ACEOF
2535
cat confdefs.h >>conftest.$ac_ext
2536
cat >>conftest.$ac_ext <<_ACEOF
2537
/* end confdefs.h. */
2547
rm -f conftest.$ac_objext
2548
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2549
(eval $ac_compile) 2>conftest.er1
2551
grep -v '^ *+' conftest.er1 >conftest.err
2553
cat conftest.err >&5
2554
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555
(exit $ac_status); } &&
2556
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2557
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2560
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2561
(exit $ac_status); }; } &&
2562
{ ac_try='test -s conftest.$ac_objext'
2563
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2566
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2567
(exit $ac_status); }; }; then
2570
echo "$as_me: failed program was:" >&5
2571
sed 's/^/| /' conftest.$ac_ext >&5
2575
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2577
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2578
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3092
ac_save_c_werror_flag=$ac_c_werror_flag
3093
ac_c_werror_flag=yes
3096
cat >conftest.$ac_ext <<_ACEOF
3099
cat confdefs.h >>conftest.$ac_ext
3100
cat >>conftest.$ac_ext <<_ACEOF
3101
/* end confdefs.h. */
3111
rm -f conftest.$ac_objext
3112
if { (ac_try="$ac_compile"
3114
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115
*) ac_try_echo=$ac_try;;
3117
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118
(eval "$ac_compile") 2>conftest.er1
3120
grep -v '^ *+' conftest.er1 >conftest.err
3122
cat conftest.err >&5
3123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
(exit $ac_status); } && {
3125
test -z "$ac_c_werror_flag" ||
3126
test ! -s conftest.err
3127
} && test -s conftest.$ac_objext; then
3130
echo "$as_me: failed program was:" >&5
3131
sed 's/^/| /' conftest.$ac_ext >&5
3134
cat >conftest.$ac_ext <<_ACEOF
3137
cat confdefs.h >>conftest.$ac_ext
3138
cat >>conftest.$ac_ext <<_ACEOF
3139
/* end confdefs.h. */
3149
rm -f conftest.$ac_objext
3150
if { (ac_try="$ac_compile"
3152
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3153
*) ac_try_echo=$ac_try;;
3155
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3156
(eval "$ac_compile") 2>conftest.er1
3158
grep -v '^ *+' conftest.er1 >conftest.err
3160
cat conftest.err >&5
3161
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162
(exit $ac_status); } && {
3163
test -z "$ac_c_werror_flag" ||
3164
test ! -s conftest.err
3165
} && test -s conftest.$ac_objext; then
3168
echo "$as_me: failed program was:" >&5
3169
sed 's/^/| /' conftest.$ac_ext >&5
3171
ac_c_werror_flag=$ac_save_c_werror_flag
3173
cat >conftest.$ac_ext <<_ACEOF
3176
cat confdefs.h >>conftest.$ac_ext
3177
cat >>conftest.$ac_ext <<_ACEOF
3178
/* end confdefs.h. */
3188
rm -f conftest.$ac_objext
3189
if { (ac_try="$ac_compile"
3191
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192
*) ac_try_echo=$ac_try;;
3194
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195
(eval "$ac_compile") 2>conftest.er1
3197
grep -v '^ *+' conftest.er1 >conftest.err
3199
cat conftest.err >&5
3200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201
(exit $ac_status); } && {
3202
test -z "$ac_c_werror_flag" ||
3203
test ! -s conftest.err
3204
} && test -s conftest.$ac_objext; then
3207
echo "$as_me: failed program was:" >&5
3208
sed 's/^/| /' conftest.$ac_ext >&5
3213
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3216
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3219
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220
ac_c_werror_flag=$ac_save_c_werror_flag
3222
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3223
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2579
3224
if test "$ac_test_CFLAGS" = set; then
2580
3225
CFLAGS=$ac_save_CFLAGS
2581
3226
elif test $ac_cv_prog_cc_g = yes; then
2653
# Don't try gcc -ansi; that turns off useful extensions and
2654
# breaks some systems' header files.
2655
# AIX -qlanglvl=ansi
2656
# Ultrix and OSF/1 -std1
2657
# HP-UX 10.20 and later -Ae
2658
# HP-UX older versions -Aa -D_HPUX_SOURCE
2659
# SVR4 -Xc -D__EXTENSIONS__
2660
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3303
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3304
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2662
3306
CC="$ac_save_CC $ac_arg"
2663
3307
rm -f conftest.$ac_objext
2664
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2665
(eval $ac_compile) 2>conftest.er1
3308
if { (ac_try="$ac_compile"
3310
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3311
*) ac_try_echo=$ac_try;;
3313
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3314
(eval "$ac_compile") 2>conftest.er1
2667
3316
grep -v '^ *+' conftest.er1 >conftest.err
2668
3317
rm -f conftest.er1
2669
3318
cat conftest.err >&5
2670
3319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671
(exit $ac_status); } &&
2672
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2673
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677
(exit $ac_status); }; } &&
2678
{ ac_try='test -s conftest.$ac_objext'
2679
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683
(exit $ac_status); }; }; then
2684
ac_cv_prog_cc_stdc=$ac_arg
3320
(exit $ac_status); } && {
3321
test -z "$ac_c_werror_flag" ||
3322
test ! -s conftest.err
3323
} && test -s conftest.$ac_objext; then
3324
ac_cv_prog_cc_c89=$ac_arg
2687
3326
echo "$as_me: failed program was:" >&5
2688
3327
sed 's/^/| /' conftest.$ac_ext >&5
2691
rm -f conftest.err conftest.$ac_objext
3332
rm -f core conftest.err conftest.$ac_objext
3333
test "x$ac_cv_prog_cc_c89" != "xno" && break
2693
rm -f conftest.$ac_ext conftest.$ac_objext
3335
rm -f conftest.$ac_ext
2698
case "x$ac_cv_prog_cc_stdc" in
2700
echo "$as_me:$LINENO: result: none needed" >&5
2701
echo "${ECHO_T}none needed" >&6 ;;
3340
case "x$ac_cv_prog_cc_c89" in
3342
{ echo "$as_me:$LINENO: result: none needed" >&5
3343
echo "${ECHO_T}none needed" >&6; } ;;
3345
{ echo "$as_me:$LINENO: result: unsupported" >&5
3346
echo "${ECHO_T}unsupported" >&6; } ;;
2703
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2704
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2705
CC="$CC $ac_cv_prog_cc_stdc" ;;
3348
CC="$CC $ac_cv_prog_cc_c89"
3349
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3350
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2708
# Some people use a C++ compiler to compile C. Since we use `exit',
2709
# in C++ we need to declare it. In case someone uses the same compiler
2710
# for both compiling C and C++ we need to have the C++ compiler decide
2711
# the declaration of exit, since it's the most demanding environment.
2712
cat >conftest.$ac_ext <<_ACEOF
2717
rm -f conftest.$ac_objext
2718
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2719
(eval $ac_compile) 2>conftest.er1
2721
grep -v '^ *+' conftest.er1 >conftest.err
2723
cat conftest.err >&5
2724
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725
(exit $ac_status); } &&
2726
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2727
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731
(exit $ac_status); }; } &&
2732
{ ac_try='test -s conftest.$ac_objext'
2733
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737
(exit $ac_status); }; }; then
2738
for ac_declaration in \
2740
'extern "C" void std::exit (int) throw (); using std::exit;' \
2741
'extern "C" void std::exit (int); using std::exit;' \
2742
'extern "C" void exit (int) throw ();' \
2743
'extern "C" void exit (int);' \
2746
cat >conftest.$ac_ext <<_ACEOF
2749
cat confdefs.h >>conftest.$ac_ext
2750
cat >>conftest.$ac_ext <<_ACEOF
2751
/* end confdefs.h. */
2762
rm -f conftest.$ac_objext
2763
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2764
(eval $ac_compile) 2>conftest.er1
2766
grep -v '^ *+' conftest.er1 >conftest.err
2768
cat conftest.err >&5
2769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
(exit $ac_status); } &&
2771
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2772
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
(exit $ac_status); }; } &&
2777
{ ac_try='test -s conftest.$ac_objext'
2778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
(exit $ac_status); }; }; then
2785
echo "$as_me: failed program was:" >&5
2786
sed 's/^/| /' conftest.$ac_ext >&5
2790
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2791
cat >conftest.$ac_ext <<_ACEOF
2794
cat confdefs.h >>conftest.$ac_ext
2795
cat >>conftest.$ac_ext <<_ACEOF
2796
/* end confdefs.h. */
2806
rm -f conftest.$ac_objext
2807
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2808
(eval $ac_compile) 2>conftest.er1
2810
grep -v '^ *+' conftest.er1 >conftest.err
2812
cat conftest.err >&5
2813
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2814
(exit $ac_status); } &&
2815
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2816
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820
(exit $ac_status); }; } &&
2821
{ ac_try='test -s conftest.$ac_objext'
2822
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2826
(exit $ac_status); }; }; then
2829
echo "$as_me: failed program was:" >&5
2830
sed 's/^/| /' conftest.$ac_ext >&5
2833
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2836
if test -n "$ac_declaration"; then
2837
echo '#ifdef __cplusplus' >>confdefs.h
2838
echo $ac_declaration >>confdefs.h
2839
echo '#endif' >>confdefs.h
2843
echo "$as_me: failed program was:" >&5
2844
sed 's/^/| /' conftest.$ac_ext >&5
2847
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2849
3355
ac_cpp='$CPP $CPPFLAGS'
2850
3356
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3270
3772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3273
echo "$as_me:$LINENO: checking for egrep" >&5
3274
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3275
if test "${ac_cv_prog_egrep+set}" = set; then
3276
echo $ECHO_N "(cached) $ECHO_C" >&6
3278
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3279
then ac_cv_prog_egrep='grep -E'
3280
else ac_cv_prog_egrep='egrep'
3283
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3284
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3285
EGREP=$ac_cv_prog_egrep
3288
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3289
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3775
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3776
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3777
if test "${ac_cv_path_GREP+set}" = set; then
3778
echo $ECHO_N "(cached) $ECHO_C" >&6
3780
# Extract the first word of "grep ggrep" to use in msg output
3781
if test -z "$GREP"; then
3782
set dummy grep ggrep; ac_prog_name=$2
3783
if test "${ac_cv_path_GREP+set}" = set; then
3784
echo $ECHO_N "(cached) $ECHO_C" >&6
3786
ac_path_GREP_found=false
3787
# Loop through the user's path and test for each of PROGNAME-LIST
3788
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3789
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3792
test -z "$as_dir" && as_dir=.
3793
for ac_prog in grep ggrep; do
3794
for ac_exec_ext in '' $ac_executable_extensions; do
3795
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3796
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3797
# Check for GNU ac_path_GREP and select it if it is found.
3798
# Check for GNU $ac_path_GREP
3799
case `"$ac_path_GREP" --version 2>&1` in
3801
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3804
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3807
cat "conftest.in" "conftest.in" >"conftest.tmp"
3808
mv "conftest.tmp" "conftest.in"
3809
cp "conftest.in" "conftest.nl"
3810
echo 'GREP' >> "conftest.nl"
3811
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3812
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3813
ac_count=`expr $ac_count + 1`
3814
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3815
# Best one so far, save it but keep looking for a better one
3816
ac_cv_path_GREP="$ac_path_GREP"
3817
ac_path_GREP_max=$ac_count
3819
# 10*(2^10) chars as input seems more than enough
3820
test $ac_count -gt 10 && break
3822
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3826
$ac_path_GREP_found && break 3
3836
GREP="$ac_cv_path_GREP"
3837
if test -z "$GREP"; then
3838
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3839
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3840
{ (exit 1); exit 1; }; }
3844
ac_cv_path_GREP=$GREP
3849
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3850
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3851
GREP="$ac_cv_path_GREP"
3854
{ echo "$as_me:$LINENO: checking for egrep" >&5
3855
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3856
if test "${ac_cv_path_EGREP+set}" = set; then
3857
echo $ECHO_N "(cached) $ECHO_C" >&6
3859
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3860
then ac_cv_path_EGREP="$GREP -E"
3862
# Extract the first word of "egrep" to use in msg output
3863
if test -z "$EGREP"; then
3864
set dummy egrep; ac_prog_name=$2
3865
if test "${ac_cv_path_EGREP+set}" = set; then
3866
echo $ECHO_N "(cached) $ECHO_C" >&6
3868
ac_path_EGREP_found=false
3869
# Loop through the user's path and test for each of PROGNAME-LIST
3870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3871
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3874
test -z "$as_dir" && as_dir=.
3875
for ac_prog in egrep; do
3876
for ac_exec_ext in '' $ac_executable_extensions; do
3877
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3878
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3879
# Check for GNU ac_path_EGREP and select it if it is found.
3880
# Check for GNU $ac_path_EGREP
3881
case `"$ac_path_EGREP" --version 2>&1` in
3883
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3886
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3889
cat "conftest.in" "conftest.in" >"conftest.tmp"
3890
mv "conftest.tmp" "conftest.in"
3891
cp "conftest.in" "conftest.nl"
3892
echo 'EGREP' >> "conftest.nl"
3893
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3894
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3895
ac_count=`expr $ac_count + 1`
3896
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3897
# Best one so far, save it but keep looking for a better one
3898
ac_cv_path_EGREP="$ac_path_EGREP"
3899
ac_path_EGREP_max=$ac_count
3901
# 10*(2^10) chars as input seems more than enough
3902
test $ac_count -gt 10 && break
3904
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3908
$ac_path_EGREP_found && break 3
3918
EGREP="$ac_cv_path_EGREP"
3919
if test -z "$EGREP"; then
3920
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3921
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3922
{ (exit 1); exit 1; }; }
3926
ac_cv_path_EGREP=$EGREP
3932
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3933
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3934
EGREP="$ac_cv_path_EGREP"
3937
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3938
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3290
3939
if test "${ac_cv_header_stdc+set}" = set; then
3291
3940
echo $ECHO_N "(cached) $ECHO_C" >&6
4368
5097
# Name of the executable.
4369
as_me=`$as_basename "$0" ||
5098
as_me=`$as_basename -- "$0" ||
4370
5099
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4371
5100
X"$0" : 'X\(//\)$' \| \
4372
X"$0" : 'X\(/\)$' \| \
4373
. : '\(.\)' 2>/dev/null ||
5101
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4375
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4376
/^X\/\(\/\/\)$/{ s//\1/; q; }
4377
/^X\/\(\/\).*/{ s//\1/; q; }
4381
# PATH needs CR, and LINENO needs CR and PATH.
4382
# Avoid depending upon Character Ranges.
4383
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4384
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4385
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4386
as_cr_digits='0123456789'
4387
as_cr_alnum=$as_cr_Letters$as_cr_digits
4389
# The user is always right.
4390
if test "${PATH_SEPARATOR+set}" != set; then
4391
echo "#! /bin/sh" >conf$$.sh
4392
echo "exit 0" >>conf$$.sh
4394
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4405
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4406
test "x$as_lineno_1" != "x$as_lineno_2" &&
4407
test "x$as_lineno_3" = "x$as_lineno_2" || {
4408
# Find who we are. Look in the path if we contain no path at all
4411
*[\\/]* ) as_myself=$0 ;;
4412
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4416
test -z "$as_dir" && as_dir=.
4417
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4422
# We did not find ourselves, most probably we were run as `sh COMMAND'
4423
# in which case we are not to be found in the path.
4424
if test "x$as_myself" = x; then
4427
if test ! -f "$as_myself"; then
4428
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4429
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4430
{ (exit 1); exit 1; }; }
4432
case $CONFIG_SHELL in
4434
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4435
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4438
test -z "$as_dir" && as_dir=.
4439
for as_base in sh bash ksh sh5; do
4442
if ("$as_dir/$as_base" -c '
4445
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4446
test "x$as_lineno_1" != "x$as_lineno_2" &&
4447
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4448
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4449
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4450
CONFIG_SHELL=$as_dir/$as_base
4452
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5103
sed '/^.*\/\([^/][^/]*\)\/*$/{
5124
test "x$as_lineno_1" != "x$as_lineno_2" &&
5125
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4460
5127
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4461
5128
# uniformly replaced by the line number. The first 'sed' inserts a
4462
# line-number line before each line; the second 'sed' does the real
4463
# work. The second script uses 'N' to pair each line-number line
4464
# with the numbered line, and appends trailing '-' during
4465
# substitution so that $LINENO is not a special case at line end.
5129
# line-number line after each line using $LINENO; the second 'sed'
5130
# does the real work. The second script uses 'N' to pair each
5131
# line-number line with the line containing $LINENO, and appends
5132
# trailing '-' during substitution so that $LINENO is not a special
4466
5134
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4467
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4468
sed '=' <$as_myself |
5135
# scripts with optimization help from Paolo Bonzini. Blame Lee
5136
# E. McMahon (1931-1989) for sed's syntax. :-)
4473
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5148
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4476
s,^['$as_cr_digits']*\n,,
4477
5151
' >$as_me.lineno &&
4478
chmod +x $as_me.lineno ||
4479
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4480
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5152
chmod +x "$as_me.lineno" ||
5153
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4481
5154
{ (exit 1); exit 1; }; }
4483
5156
# Don't try to exec as it changes $[0], causing all sort of problems
4484
5157
# (the dirname of $[0] is not the place where we might find the
4485
# original and so on. Autoconf is especially sensible to this).
5158
# original and so on. Autoconf is especially sensitive to this).
4487
5160
# Exit status is that of the last command.
4492
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4493
*c*,-n*) ECHO_N= ECHO_C='
4495
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4496
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5165
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5171
ECHO_C= ECHO_N= ECHO_T=
5174
case `echo 'x\c'` in
5175
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4499
if expr a : '\(a\)' >/dev/null 2>&1; then
5182
if expr a : '\(a\)' >/dev/null 2>&1 &&
5183
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4505
5189
rm -f conf$$ conf$$.exe conf$$.file
5190
if test -d conf$$.dir; then
5191
rm -f conf$$.dir/conf$$.file
4506
5196
echo >conf$$.file
4507
5197
if ln -s conf$$.file conf$$ 2>/dev/null; then
4508
# We could just check for DJGPP; but this test a) works b) is more generic
4509
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4510
if test -f conf$$.exe; then
4511
# Don't use ln at all; we don't have any links
5199
# ... but there are two gotchas:
5200
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5201
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5202
# In both cases, we have to default to `cp -p'.
5203
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4512
5204
as_ln_s='cp -p'
4516
5205
elif ln conf$$.file conf$$ 2>/dev/null; then
4519
5208
as_ln_s='cp -p'
4521
rm -f conf$$ conf$$.exe conf$$.file
5210
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5211
rmdir conf$$.dir 2>/dev/null
4523
5213
if mkdir -p . 2>/dev/null; then
4763
5452
# Have a temporary directory for convenience. Make it in the build tree
4764
# simply because there is no reason to put it here, and in addition,
5453
# simply because there is no reason against having it here, and in addition,
4765
5454
# creating and moving files from /tmp can sometimes cause problems.
4766
# Create a temporary directory, and hook for its removal unless debugging.
5455
# Hook for its removal unless debugging.
5456
# Note that there is a small window in which the directory will not be cleaned:
5457
# after its creation but before its name has been assigned to `$tmp'.
4769
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5461
trap 'exit_status=$?
5462
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4770
5464
trap '{ (exit 1); exit 1; }' 1 2 13 15
4773
5466
# Create a (secure) tmp directory for tmp files.
4776
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5469
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4777
5470
test -n "$tmp" && test -d "$tmp"
4780
tmp=./confstat$$-$RANDOM
4781
(umask 077 && mkdir $tmp)
5473
tmp=./conf$$-$RANDOM
5474
(umask 077 && mkdir "$tmp")
4784
5477
echo "$me: cannot create a temporary directory in ." >&2
4785
5478
{ (exit 1); exit 1; }
4790
cat >>$CONFIG_STATUS <<_ACEOF
4793
# CONFIG_FILES section.
5482
# Set up the sed scripts for CONFIG_FILES section.
4796
5485
# No need to generate the scripts if there are no CONFIG_FILES.
4797
5486
# This happens for instance when ./config.status config.h
4798
if test -n "\$CONFIG_FILES"; then
4799
# Protect against being on the right side of a sed subst in config.status.
4800
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4801
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4802
s,@SHELL@,$SHELL,;t t
4803
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4804
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4805
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4806
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4807
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4808
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4809
s,@exec_prefix@,$exec_prefix,;t t
4810
s,@prefix@,$prefix,;t t
4811
s,@program_transform_name@,$program_transform_name,;t t
4812
s,@bindir@,$bindir,;t t
4813
s,@sbindir@,$sbindir,;t t
4814
s,@libexecdir@,$libexecdir,;t t
4815
s,@datadir@,$datadir,;t t
4816
s,@sysconfdir@,$sysconfdir,;t t
4817
s,@sharedstatedir@,$sharedstatedir,;t t
4818
s,@localstatedir@,$localstatedir,;t t
4819
s,@libdir@,$libdir,;t t
4820
s,@includedir@,$includedir,;t t
4821
s,@oldincludedir@,$oldincludedir,;t t
4822
s,@infodir@,$infodir,;t t
4823
s,@mandir@,$mandir,;t t
4824
s,@build_alias@,$build_alias,;t t
4825
s,@host_alias@,$host_alias,;t t
4826
s,@target_alias@,$target_alias,;t t
4828
s,@ECHO_C@,$ECHO_C,;t t
4829
s,@ECHO_N@,$ECHO_N,;t t
4830
s,@ECHO_T@,$ECHO_T,;t t
4832
s,@build@,$build,;t t
4833
s,@build_cpu@,$build_cpu,;t t
4834
s,@build_vendor@,$build_vendor,;t t
4835
s,@build_os@,$build_os,;t t
4837
s,@host_cpu@,$host_cpu,;t t
4838
s,@host_vendor@,$host_vendor,;t t
4839
s,@host_os@,$host_os,;t t
4840
s,@target@,$target,;t t
4841
s,@target_cpu@,$target_cpu,;t t
4842
s,@target_vendor@,$target_vendor,;t t
4843
s,@target_os@,$target_os,;t t
4844
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4845
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4846
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4847
s,@CYGPATH_W@,$CYGPATH_W,;t t
4848
s,@PACKAGE@,$PACKAGE,;t t
4849
s,@VERSION@,$VERSION,;t t
4850
s,@ACLOCAL@,$ACLOCAL,;t t
4851
s,@AUTOCONF@,$AUTOCONF,;t t
4852
s,@AUTOMAKE@,$AUTOMAKE,;t t
4853
s,@AUTOHEADER@,$AUTOHEADER,;t t
4854
s,@MAKEINFO@,$MAKEINFO,;t t
4855
s,@install_sh@,$install_sh,;t t
4856
s,@STRIP@,$STRIP,;t t
4857
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
4858
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
4859
s,@mkdir_p@,$mkdir_p,;t t
4861
s,@SET_MAKE@,$SET_MAKE,;t t
4862
s,@am__leading_dot@,$am__leading_dot,;t t
4863
s,@AMTAR@,$AMTAR,;t t
4864
s,@am__tar@,$am__tar,;t t
4865
s,@am__untar@,$am__untar,;t t
4866
s,@RANLIB@,$RANLIB,;t t
4867
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4869
s,@CFLAGS@,$CFLAGS,;t t
4870
s,@LDFLAGS@,$LDFLAGS,;t t
4871
s,@CPPFLAGS@,$CPPFLAGS,;t t
4872
s,@ac_ct_CC@,$ac_ct_CC,;t t
4873
s,@EXEEXT@,$EXEEXT,;t t
4874
s,@OBJEXT@,$OBJEXT,;t t
4875
s,@DEPDIR@,$DEPDIR,;t t
4876
s,@am__include@,$am__include,;t t
4877
s,@am__quote@,$am__quote,;t t
4878
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
4879
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
4880
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
4881
s,@CCDEPMODE@,$CCDEPMODE,;t t
4882
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
4883
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
4885
s,@CCASFLAGS@,$CCASFLAGS,;t t
4887
s,@EGREP@,$EGREP,;t t
4888
s,@PICFLAG@,$PICFLAG,;t t
4889
s,@NEED_ASM_TRUE@,$NEED_ASM_TRUE,;t t
4890
s,@NEED_ASM_FALSE@,$NEED_ASM_FALSE,;t t
4891
s,@LIBOBJS@,$LIBOBJS,;t t
4892
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
4897
cat >>$CONFIG_STATUS <<\_ACEOF
4898
# Split the substitutions into bite-sized pieces for seds with
4899
# small command number limits, like on Digital OSF/1 and HP-UX.
4901
ac_sed_frag=1 # Number of current file.
4902
ac_beg=1 # First line for current file.
4903
ac_end=$ac_max_sed_lines # Line after last line for current file.
4906
while $ac_more_lines; do
4907
if test $ac_beg -gt 1; then
4908
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4910
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4912
if test ! -s $tmp/subs.frag; then
4915
# The purpose of the label and of the branching condition is to
4916
# speed up the sed processing (if there are no `@' at all, there
4917
# is no need to browse any of the substitutions).
4918
# These are the two extra sed commands mentioned above.
4920
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4921
if test -z "$ac_sed_cmds"; then
4922
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4924
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4926
ac_sed_frag=`expr $ac_sed_frag + 1`
4928
ac_end=`expr $ac_end + $ac_max_sed_lines`
4931
if test -z "$ac_sed_cmds"; then
5487
if test -n "$CONFIG_FILES"; then
5494
for ac_last_try in false false false false false :; do
5495
cat >conf$$subs.sed <<_ACEOF
5496
SHELL!$SHELL$ac_delim
5497
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
5498
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
5499
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
5500
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
5501
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
5502
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
5503
exec_prefix!$exec_prefix$ac_delim
5504
prefix!$prefix$ac_delim
5505
program_transform_name!$program_transform_name$ac_delim
5506
bindir!$bindir$ac_delim
5507
sbindir!$sbindir$ac_delim
5508
libexecdir!$libexecdir$ac_delim
5509
datarootdir!$datarootdir$ac_delim
5510
datadir!$datadir$ac_delim
5511
sysconfdir!$sysconfdir$ac_delim
5512
sharedstatedir!$sharedstatedir$ac_delim
5513
localstatedir!$localstatedir$ac_delim
5514
includedir!$includedir$ac_delim
5515
oldincludedir!$oldincludedir$ac_delim
5516
docdir!$docdir$ac_delim
5517
infodir!$infodir$ac_delim
5518
htmldir!$htmldir$ac_delim
5519
dvidir!$dvidir$ac_delim
5520
pdfdir!$pdfdir$ac_delim
5521
psdir!$psdir$ac_delim
5522
libdir!$libdir$ac_delim
5523
localedir!$localedir$ac_delim
5524
mandir!$mandir$ac_delim
5526
ECHO_C!$ECHO_C$ac_delim
5527
ECHO_N!$ECHO_N$ac_delim
5528
ECHO_T!$ECHO_T$ac_delim
5530
build_alias!$build_alias$ac_delim
5531
host_alias!$host_alias$ac_delim
5532
target_alias!$target_alias$ac_delim
5533
build!$build$ac_delim
5534
build_cpu!$build_cpu$ac_delim
5535
build_vendor!$build_vendor$ac_delim
5536
build_os!$build_os$ac_delim
5538
host_cpu!$host_cpu$ac_delim
5539
host_vendor!$host_vendor$ac_delim
5540
host_os!$host_os$ac_delim
5541
target!$target$ac_delim
5542
target_cpu!$target_cpu$ac_delim
5543
target_vendor!$target_vendor$ac_delim
5544
target_os!$target_os$ac_delim
5545
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
5546
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
5547
INSTALL_DATA!$INSTALL_DATA$ac_delim
5548
CYGPATH_W!$CYGPATH_W$ac_delim
5549
PACKAGE!$PACKAGE$ac_delim
5550
VERSION!$VERSION$ac_delim
5551
ACLOCAL!$ACLOCAL$ac_delim
5552
AUTOCONF!$AUTOCONF$ac_delim
5553
AUTOMAKE!$AUTOMAKE$ac_delim
5554
AUTOHEADER!$AUTOHEADER$ac_delim
5555
MAKEINFO!$MAKEINFO$ac_delim
5556
install_sh!$install_sh$ac_delim
5557
STRIP!$STRIP$ac_delim
5558
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
5559
mkdir_p!$mkdir_p$ac_delim
5561
SET_MAKE!$SET_MAKE$ac_delim
5562
am__leading_dot!$am__leading_dot$ac_delim
5563
AMTAR!$AMTAR$ac_delim
5564
am__tar!$am__tar$ac_delim
5565
am__untar!$am__untar$ac_delim
5566
RANLIB!$RANLIB$ac_delim
5568
CFLAGS!$CFLAGS$ac_delim
5569
LDFLAGS!$LDFLAGS$ac_delim
5570
CPPFLAGS!$CPPFLAGS$ac_delim
5571
ac_ct_CC!$ac_ct_CC$ac_delim
5572
EXEEXT!$EXEEXT$ac_delim
5573
OBJEXT!$OBJEXT$ac_delim
5574
DEPDIR!$DEPDIR$ac_delim
5575
am__include!$am__include$ac_delim
5576
am__quote!$am__quote$ac_delim
5577
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
5578
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
5579
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
5580
CCDEPMODE!$CCDEPMODE$ac_delim
5581
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
5582
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
5584
CCASFLAGS!$CCASFLAGS$ac_delim
5587
EGREP!$EGREP$ac_delim
5588
PICFLAG!$PICFLAG$ac_delim
5589
NEED_ASM_TRUE!$NEED_ASM_TRUE$ac_delim
5590
NEED_ASM_FALSE!$NEED_ASM_FALSE$ac_delim
5591
LIBOBJS!$LIBOBJS$ac_delim
5592
LTLIBOBJS!$LTLIBOBJS$ac_delim
5595
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
5597
elif $ac_last_try; then
5598
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
5599
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
5600
{ (exit 1); exit 1; }; }
5602
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5606
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
5607
if test -n "$ac_eof"; then
5608
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
5609
ac_eof=`expr $ac_eof + 1`
5612
cat >>$CONFIG_STATUS <<_ACEOF
5613
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
5614
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5617
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
5618
s/^/s,@/; s/!/@,|#_!!_#|/
5621
s/'"$ac_delim"'$/,g/; t
5623
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
5624
' >>$CONFIG_STATUS <conf$$subs.sed
5625
rm -f conf$$subs.sed
5626
cat >>$CONFIG_STATUS <<_ACEOF
5631
# VPATH may cause trouble with some makes, so we remove $(srcdir),
5632
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5633
# trailing colons and then remove the whole line if VPATH becomes empty
5634
# (actually we leave an empty line to preserve line numbers).
5635
if test "x$srcdir" = x.; then
5636
ac_vpsub='/^[ ]*VPATH[ ]*=/{
5640
s/^\([^=]*=[ ]*\):*/\1/
5646
cat >>$CONFIG_STATUS <<\_ACEOF
4934
5647
fi # test -n "$CONFIG_FILES"
4937
cat >>$CONFIG_STATUS <<\_ACEOF
4938
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4939
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4941
- | *:- | *:-:* ) # input from stdin
4943
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4944
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4945
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4946
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4947
* ) ac_file_in=$ac_file.in ;;
4950
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4951
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5650
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
5653
:[FHLC]) ac_mode=$ac_tag; continue;;
5655
case $ac_mode$ac_tag in
5657
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
5658
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
5659
{ (exit 1); exit 1; }; };;
5660
:[FH]-) ac_tag=-:-;;
5661
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5678
-) ac_f="$tmp/stdin";;
5679
*) # Look for the file first in the build tree, then in the source tree
5680
# (if the path is not absolute). The absolute path cannot be DOS-style,
5681
# because $ac_f cannot contain `:'.
5685
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5687
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
5688
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
5689
{ (exit 1); exit 1; }; };;
5691
ac_file_inputs="$ac_file_inputs $ac_f"
5694
# Let's still pretend it is `configure' which instantiates (i.e., don't
5695
# use $as_me), people would be surprised to read:
5696
# /* config.h. Generated by config.status. */
5697
configure_input="Generated from "`IFS=:
5698
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
5699
if test x"$ac_file" != x-; then
5700
configure_input="$ac_file. $configure_input"
5701
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5702
echo "$as_me: creating $ac_file" >&6;}
5706
*:-:* | *:-) cat >"$tmp/stdin";;
5711
ac_dir=`$as_dirname -- "$ac_file" ||
4952
5712
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4953
5713
X"$ac_file" : 'X\(//\)[^/]' \| \
4954
5714
X"$ac_file" : 'X\(//\)$' \| \
4955
X"$ac_file" : 'X\(/\)' \| \
4956
. : '\(.\)' 2>/dev/null ||
5715
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4957
5716
echo X"$ac_file" |
4958
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4959
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4960
/^X\(\/\/\)$/{ s//\1/; q; }
4961
/^X\(\/\).*/{ s//\1/; q; }
4963
{ if $as_mkdir_p; then
5717
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5736
-*) as_dir=./$as_dir;;
5738
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4968
while test ! -d "$as_dir"; do
4969
as_dirs="$as_dir $as_dirs"
4970
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5742
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5743
*) as_qdir=$as_dir;;
5745
as_dirs="'$as_qdir' $as_dirs"
5746
as_dir=`$as_dirname -- "$as_dir" ||
4971
5747
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4972
5748
X"$as_dir" : 'X\(//\)[^/]' \| \
4973
5749
X"$as_dir" : 'X\(//\)$' \| \
4974
X"$as_dir" : 'X\(/\)' \| \
4975
. : '\(.\)' 2>/dev/null ||
5750
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4976
5751
echo X"$as_dir" |
4977
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4978
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
4979
/^X\(\/\/\)$/{ s//\1/; q; }
4980
/^X\(\/\).*/{ s//\1/; q; }
5752
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5769
test -d "$as_dir" && break
4983
test ! -n "$as_dirs" || mkdir $as_dirs
4984
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4985
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5771
test -z "$as_dirs" || eval "mkdir $as_dirs"
5772
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5773
echo "$as_me: error: cannot create directory $as_dir" >&2;}
4986
5774
{ (exit 1); exit 1; }; }; }
4990
if test "$ac_dir" != .; then
5778
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4991
5780
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4992
# A "../" for each directory in $ac_dir_suffix.
4993
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4995
ac_dir_suffix= ac_top_builddir=
5781
# A ".." for each directory in $ac_dir_suffix.
5782
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
5783
case $ac_top_builddir_sub in
5784
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5785
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5788
ac_abs_top_builddir=$ac_pwd
5789
ac_abs_builddir=$ac_pwd$ac_dir_suffix
5790
# for backward compatibility:
5791
ac_top_builddir=$ac_top_build_prefix
4998
5793
case $srcdir in
4999
.) # No --srcdir option. We are building in place.
5794
.) # We are building in place.
5001
if test -z "$ac_top_builddir"; then
5004
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5006
[\\/]* | ?:[\\/]* ) # Absolute path.
5796
ac_top_srcdir=$ac_top_builddir_sub
5797
ac_abs_top_srcdir=$ac_pwd ;;
5798
[\\/]* | ?:[\\/]* ) # Absolute name.
5007
5799
ac_srcdir=$srcdir$ac_dir_suffix;
5008
ac_top_srcdir=$srcdir ;;
5010
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5011
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5014
# Do not use `cd foo && pwd` to compute absolute paths, because
5015
# the directories may not exist.
5017
.) ac_abs_builddir="$ac_dir";;
5020
.) ac_abs_builddir=`pwd`;;
5021
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5022
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5025
case $ac_abs_builddir in
5026
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5028
case ${ac_top_builddir}. in
5029
.) ac_abs_top_builddir=$ac_abs_builddir;;
5030
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5031
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5034
case $ac_abs_builddir in
5035
.) ac_abs_srcdir=$ac_srcdir;;
5038
.) ac_abs_srcdir=$ac_abs_builddir;;
5039
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5040
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5043
case $ac_abs_builddir in
5044
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5046
case $ac_top_srcdir in
5047
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5048
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5049
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5800
ac_top_srcdir=$srcdir
5801
ac_abs_top_srcdir=$srcdir ;;
5803
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5804
ac_top_srcdir=$ac_top_build_prefix$srcdir
5805
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5807
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5054
5816
case $INSTALL in
5055
5817
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5056
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5818
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5059
# Let's still pretend it is `configure' which instantiates (i.e., don't
5060
# use $as_me), people would be surprised to read:
5061
# /* config.h. Generated by config.status. */
5062
if test x"$ac_file" = x-; then
5065
configure_input="$ac_file. "
5067
configure_input=$configure_input"Generated from `echo $ac_file_in |
5068
sed 's,.*/,,'` by configure."
5070
# First look for the input files in the build tree, otherwise in the
5072
ac_file_inputs=`IFS=:
5073
for f in $ac_file_in; do
5075
-) echo $tmp/stdin ;;
5077
# Absolute (can't be DOS-style, as IFS=:)
5078
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5079
echo "$as_me: error: cannot find input file: $f" >&2;}
5080
{ (exit 1); exit 1; }; }
5083
if test -f "$f"; then
5086
elif test -f "$srcdir/$f"; then
5091
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5092
echo "$as_me: error: cannot find input file: $f" >&2;}
5093
{ (exit 1); exit 1; }; }
5096
done` || { (exit 1); exit 1; }
5098
if test x"$ac_file" != x-; then
5099
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5100
echo "$as_me: creating $ac_file" >&6;}
5822
cat >>$CONFIG_STATUS <<\_ACEOF
5823
# If the template does not know about datarootdir, expand it.
5824
# FIXME: This hack should be removed a few years after 2.60.
5825
ac_datarootdir_hack=; ac_datarootdir_seen=
5827
case `sed -n '/datarootdir/ {
5836
' $ac_file_inputs` in
5837
*datarootdir*) ac_datarootdir_seen=yes;;
5838
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5839
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5840
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5842
cat >>$CONFIG_STATUS <<_ACEOF
5843
ac_datarootdir_hack='
5844
s&@datadir@&$datadir&g
5845
s&@docdir@&$docdir&g
5846
s&@infodir@&$infodir&g
5847
s&@localedir@&$localedir&g
5848
s&@mandir@&$mandir&g
5849
s&\\\${datarootdir}&$datarootdir&g' ;;
5853
# Neutralize VPATH when `$srcdir' = `.'.
5854
# Shell code in configure.ac might set extrasub.
5855
# FIXME: do we really want to maintain this feature?
5104
5856
cat >>$CONFIG_STATUS <<_ACEOF
5108
5860
cat >>$CONFIG_STATUS <<\_ACEOF
5110
5862
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5111
s,@configure_input@,$configure_input,;t t
5112
s,@srcdir@,$ac_srcdir,;t t
5113
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5114
s,@top_srcdir@,$ac_top_srcdir,;t t
5115
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5116
s,@builddir@,$ac_builddir,;t t
5117
s,@abs_builddir@,$ac_abs_builddir,;t t
5118
s,@top_builddir@,$ac_top_builddir,;t t
5119
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5120
s,@INSTALL@,$ac_INSTALL,;t t
5121
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5123
if test x"$ac_file" != x-; then
5124
mv $tmp/out $ac_file
5863
s&@configure_input@&$configure_input&;t t
5864
s&@top_builddir@&$ac_top_builddir_sub&;t t
5865
s&@srcdir@&$ac_srcdir&;t t
5866
s&@abs_srcdir@&$ac_abs_srcdir&;t t
5867
s&@top_srcdir@&$ac_top_srcdir&;t t
5868
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5869
s&@builddir@&$ac_builddir&;t t
5870
s&@abs_builddir@&$ac_abs_builddir&;t t
5871
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5872
s&@INSTALL@&$ac_INSTALL&;t t
5873
$ac_datarootdir_hack
5874
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed 's/|#_!!_#|//g' >$tmp/out
5876
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5877
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5878
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5879
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5880
which seems to be undefined. Please make sure it is defined." >&5
5881
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5882
which seems to be undefined. Please make sure it is defined." >&2;}
5886
-) cat "$tmp/out"; rm -f "$tmp/out";;
5887
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5132
cat >>$CONFIG_STATUS <<\_ACEOF
5135
# CONFIG_HEADER section.
5138
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5139
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5141
# ac_d sets the value in "#define NAME VALUE" lines.
5142
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5143
ac_dB='[ ].*$,\1#\2'
5896
# Transform confdefs.h into a sed script `conftest.defines', that
5897
# substitutes the proper values into config.h.in to produce config.h.
5898
rm -f conftest.defines conftest.tail
5899
# First, append a space to every undef/define line, to ease matching.
5900
echo 's/$/ /' >conftest.defines
5901
# Then, protect against being on the right side of a sed subst, or in
5902
# an unquoted here document, in config.status. If some macros were
5903
# called several times there might be several #defines for the same
5904
# symbol, which is useless. But do not sort them, since the last
5905
# AC_DEFINE must be honored.
5906
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5907
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
5908
# NAME is the cpp macro being defined, VALUE is the value it is being given.
5909
# PARAMS is the parameter list in the macro definition--in most cases, it's
5910
# just an empty string.
5911
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
5912
ac_dB='\\)[ (].*,\\1define\\2'
5146
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5147
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5148
ac_uB='$,\1#\2define\3'
5152
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5153
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5155
- | *:- | *:-:* ) # input from stdin
5157
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5158
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5159
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5160
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5161
* ) ac_file_in=$ac_file.in ;;
5164
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5165
echo "$as_me: creating $ac_file" >&6;}
5167
# First look for the input files in the build tree, otherwise in the
5169
ac_file_inputs=`IFS=:
5170
for f in $ac_file_in; do
5172
-) echo $tmp/stdin ;;
5174
# Absolute (can't be DOS-style, as IFS=:)
5175
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5176
echo "$as_me: error: cannot find input file: $f" >&2;}
5177
{ (exit 1); exit 1; }; }
5178
# Do quote $f, to prevent DOS paths from being IFS'd.
5181
if test -f "$f"; then
5184
elif test -f "$srcdir/$f"; then
5189
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5190
echo "$as_me: error: cannot find input file: $f" >&2;}
5191
{ (exit 1); exit 1; }; }
5194
done` || { (exit 1); exit 1; }
5195
# Remove the trailing spaces.
5196
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5200
# Transform confdefs.h into two sed scripts, `conftest.defines' and
5201
# `conftest.undefs', that substitutes the proper values into
5202
# config.h.in to produce config.h. The first handles `#define'
5203
# templates, and the second `#undef' templates.
5204
# And first: Protect against being on the right side of a sed subst in
5205
# config.status. Protect against being in an unquoted here document
5207
rm -f conftest.defines conftest.undefs
5208
# Using a here document instead of a string reduces the quoting nightmare.
5209
# Putting comments in sed scripts is not portable.
5211
# `end' is used to avoid that the second main sed command (meant for
5212
# 0-ary CPP macros) applies to n-ary macro definitions.
5213
# See the Autoconf documentation for `clear'.
5214
cat >confdef2sed.sed <<\_ACEOF
5219
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5221
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5224
# If some macros were called several times there might be several times
5225
# the same #defines, which is useless. Nevertheless, we may not want to
5226
# sort them, since we want the *last* AC-DEFINE to be honored.
5227
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5228
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5229
rm -f confdef2sed.sed
5231
# This sed command replaces #undef with comments. This is necessary, for
5920
s/^[ ]*#[ ]*define[ ][ ]*//
5925
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
5926
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
5927
' >>conftest.defines
5929
# Remove the space that was appended to ease matching.
5930
# Then replace #undef with comments. This is necessary, for
5232
5931
# example, in the case of _POSIX_SOURCE, which is predefined and required
5233
5932
# on some systems where configure will not decide to define it.
5234
cat >>conftest.undefs <<\_ACEOF
5235
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5933
# (The regexp can be short, since the line contains either #define or #undef.)
5935
s,^[ #]*u.*,/* & */,' >>conftest.defines
5937
# Break up conftest.defines:
5940
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
5941
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
5942
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
5944
ac_in='$ac_file_inputs'
5945
ac_out='"$tmp/out1"'
5946
ac_nxt='"$tmp/out2"'
5950
# Write a here document:
5951
cat >>$CONFIG_STATUS <<_ACEOF
5952
# First, check the format of the line:
5953
cat >"\$tmp/defines.sed" <<\\CEOF
5954
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
5955
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5238
# Break up conftest.defines because some shells have a limit on the size
5239
# of here documents, and old seds have small limits too (100 cmds).
5240
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5241
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5242
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5243
echo ' :' >>$CONFIG_STATUS
5245
while grep . conftest.defines >/dev/null
5247
# Write a limited-size here document to $tmp/defines.sed.
5248
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5249
# Speed up: don't consider the non `#define' lines.
5250
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5251
# Work around the forget-to-reset-the-flag bug.
5252
echo 't clr' >>$CONFIG_STATUS
5253
echo ': clr' >>$CONFIG_STATUS
5254
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5959
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5256
sed -f $tmp/defines.sed $tmp/in >$tmp/out
5260
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5961
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
5962
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
5963
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
5964
grep . conftest.tail >/dev/null || break
5261
5965
rm -f conftest.defines
5262
5966
mv conftest.tail conftest.defines
5264
rm -f conftest.defines
5265
echo ' fi # grep' >>$CONFIG_STATUS
5266
echo >>$CONFIG_STATUS
5268
# Break up conftest.undefs because some shells have a limit on the size
5269
# of here documents, and old seds have small limits too (100 cmds).
5270
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5272
while grep . conftest.undefs >/dev/null
5274
# Write a limited-size here document to $tmp/undefs.sed.
5275
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5276
# Speed up: don't consider the non `#undef'
5277
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5278
# Work around the forget-to-reset-the-flag bug.
5279
echo 't clr' >>$CONFIG_STATUS
5280
echo ': clr' >>$CONFIG_STATUS
5281
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5283
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5287
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5288
rm -f conftest.undefs
5289
mv conftest.tail conftest.undefs
5291
rm -f conftest.undefs
5968
rm -f conftest.defines conftest.tail
5970
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5293
5971
cat >>$CONFIG_STATUS <<\_ACEOF
5294
# Let's still pretend it is `configure' which instantiates (i.e., don't
5295
# use $as_me), people would be surprised to read:
5296
# /* config.h. Generated by config.status. */
5297
if test x"$ac_file" = x-; then
5298
echo "/* Generated by configure. */" >$tmp/config.h
5300
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5302
cat $tmp/in >>$tmp/config.h
5304
5972
if test x"$ac_file" != x-; then
5305
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
5973
echo "/* $configure_input */" >"$tmp/config.h"
5974
cat "$ac_result" >>"$tmp/config.h"
5975
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5306
5976
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5307
5977
echo "$as_me: $ac_file is unchanged" >&6;}
5309
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5310
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5311
X"$ac_file" : 'X\(//\)[^/]' \| \
5312
X"$ac_file" : 'X\(//\)$' \| \
5313
X"$ac_file" : 'X\(/\)' \| \
5314
. : '\(.\)' 2>/dev/null ||
5316
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5317
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5318
/^X\(\/\/\)$/{ s//\1/; q; }
5319
/^X\(\/\).*/{ s//\1/; q; }
5321
{ if $as_mkdir_p; then
5326
while test ! -d "$as_dir"; do
5327
as_dirs="$as_dir $as_dirs"
5328
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5329
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5330
X"$as_dir" : 'X\(//\)[^/]' \| \
5331
X"$as_dir" : 'X\(//\)$' \| \
5332
X"$as_dir" : 'X\(/\)' \| \
5333
. : '\(.\)' 2>/dev/null ||
5335
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5336
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5337
/^X\(\/\/\)$/{ s//\1/; q; }
5338
/^X\(\/\).*/{ s//\1/; q; }
5341
test ! -n "$as_dirs" || mkdir $as_dirs
5342
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5343
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5344
{ (exit 1); exit 1; }; }; }
5347
mv $tmp/config.h $ac_file
5980
mv "$tmp/config.h" $ac_file
5983
echo "/* $configure_input */"
5353
5987
# Compute $ac_file's index in $config_headers.
5354
5988
_am_stamp_count=1
5355
5989
for _am_header in $config_headers :; do
5360
5994
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
5363
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
5997
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
5364
5998
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5365
5999
X$ac_file : 'X\(//\)[^/]' \| \
5366
6000
X$ac_file : 'X\(//\)$' \| \
5367
X$ac_file : 'X\(/\)' \| \
5368
. : '\(.\)' 2>/dev/null ||
6001
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
5369
6002
echo X$ac_file |
5370
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5371
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5372
/^X\(\/\/\)$/{ s//\1/; q; }
5373
/^X\(\/\).*/{ s//\1/; q; }
5374
s/.*/./; q'`/stamp-h$_am_stamp_count
5377
cat >>$CONFIG_STATUS <<\_ACEOF
5380
# CONFIG_COMMANDS section.
5382
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5383
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5384
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5385
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5386
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5387
X"$ac_dest" : 'X\(//\)[^/]' \| \
5388
X"$ac_dest" : 'X\(//\)$' \| \
5389
X"$ac_dest" : 'X\(/\)' \| \
5390
. : '\(.\)' 2>/dev/null ||
5392
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5393
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5394
/^X\(\/\/\)$/{ s//\1/; q; }
5395
/^X\(\/\).*/{ s//\1/; q; }
5397
{ if $as_mkdir_p; then
5402
while test ! -d "$as_dir"; do
5403
as_dirs="$as_dir $as_dirs"
5404
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5405
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5406
X"$as_dir" : 'X\(//\)[^/]' \| \
5407
X"$as_dir" : 'X\(//\)$' \| \
5408
X"$as_dir" : 'X\(/\)' \| \
5409
. : '\(.\)' 2>/dev/null ||
5411
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5412
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5413
/^X\(\/\/\)$/{ s//\1/; q; }
5414
/^X\(\/\).*/{ s//\1/; q; }
5417
test ! -n "$as_dirs" || mkdir $as_dirs
5418
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5419
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5420
{ (exit 1); exit 1; }; }; }
5424
if test "$ac_dir" != .; then
5425
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5426
# A "../" for each directory in $ac_dir_suffix.
5427
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5429
ac_dir_suffix= ac_top_builddir=
5433
.) # No --srcdir option. We are building in place.
5435
if test -z "$ac_top_builddir"; then
5438
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5440
[\\/]* | ?:[\\/]* ) # Absolute path.
5441
ac_srcdir=$srcdir$ac_dir_suffix;
5442
ac_top_srcdir=$srcdir ;;
5444
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5445
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5448
# Do not use `cd foo && pwd` to compute absolute paths, because
5449
# the directories may not exist.
5451
.) ac_abs_builddir="$ac_dir";;
5454
.) ac_abs_builddir=`pwd`;;
5455
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5456
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5459
case $ac_abs_builddir in
5460
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5462
case ${ac_top_builddir}. in
5463
.) ac_abs_top_builddir=$ac_abs_builddir;;
5464
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5465
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5468
case $ac_abs_builddir in
5469
.) ac_abs_srcdir=$ac_srcdir;;
5472
.) ac_abs_srcdir=$ac_abs_builddir;;
5473
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5474
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5477
case $ac_abs_builddir in
5478
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5480
case $ac_top_srcdir in
5481
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5482
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5483
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5488
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5489
echo "$as_me: executing $ac_dest commands" >&6;}
5491
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
6003
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6019
s/.*/./; q'`/stamp-h$_am_stamp_count
6022
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
6023
echo "$as_me: executing $ac_file commands" >&6;}
6028
case $ac_file$ac_mode in
6029
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5492
6030
# Strip MF so we end up with the name of the file.
5493
6031
mf=`echo "$mf" | sed -e 's/:.*$//'`
5494
6032
# Check whether this is an Automake generated Makefile or not.