67
132
# Name of the executable.
68
as_me=`$as_basename "$0" ||
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
132
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
227
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
158
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
164
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
454
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
455
chmod +x "$as_me.lineno" ||
177
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
{ (exit 1); exit 1; }; }
180
459
# Don't try to exec as it changes $[0], causing all sort of problems
181
460
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
461
# original and so on. Autoconf is especially sensitive to this).
184
463
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
220
516
if mkdir -p . 2>/dev/null; then
1067
1513
Use these variables to override the choices made by `configure' or to help
1068
1514
it to find libraries and programs with nonstandard names/locations.
1070
Report bugs to <doug@sourcejudy.com>.
1516
Report bugs to <dougbaskins@yahoo.com>.
1074
1521
if test "$ac_init_help" = "recursive"; then
1075
1522
# If there are subdirs, report their specific --help.
1077
1523
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1078
test -d $ac_dir || continue
1524
test -d "$ac_dir" || continue
1081
if test "$ac_dir" != .; then
1528
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1082
1530
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1083
# A "../" for each directory in $ac_dir_suffix.
1084
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1086
ac_dir_suffix= ac_top_builddir=
1531
# A ".." for each directory in $ac_dir_suffix.
1532
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1533
case $ac_top_builddir_sub in
1534
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1535
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1538
ac_abs_top_builddir=$ac_pwd
1539
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1540
# for backward compatibility:
1541
ac_top_builddir=$ac_top_build_prefix
1089
1543
case $srcdir in
1090
.) # No --srcdir option. We are building in place.
1544
.) # We are building in place.
1092
if test -z "$ac_top_builddir"; then
1095
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1097
[\\/]* | ?:[\\/]* ) # Absolute path.
1546
ac_top_srcdir=$ac_top_builddir_sub
1547
ac_abs_top_srcdir=$ac_pwd ;;
1548
[\\/]* | ?:[\\/]* ) # Absolute name.
1098
1549
ac_srcdir=$srcdir$ac_dir_suffix;
1099
ac_top_srcdir=$srcdir ;;
1101
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1102
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105
# Do not use `cd foo && pwd` to compute absolute paths, because
1106
# the directories may not exist.
1108
.) ac_abs_builddir="$ac_dir";;
1111
.) ac_abs_builddir=`pwd`;;
1112
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1113
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1116
case $ac_abs_builddir in
1117
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1119
case ${ac_top_builddir}. in
1120
.) ac_abs_top_builddir=$ac_abs_builddir;;
1121
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1122
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1125
case $ac_abs_builddir in
1126
.) ac_abs_srcdir=$ac_srcdir;;
1129
.) ac_abs_srcdir=$ac_abs_builddir;;
1130
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1131
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1134
case $ac_abs_builddir in
1135
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1137
case $ac_top_srcdir in
1138
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1139
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1140
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1145
# Check for guested configure; otherwise get Cygnus style configure.
1146
if test -f $ac_srcdir/configure.gnu; then
1148
$SHELL $ac_srcdir/configure.gnu --help=recursive
1149
elif test -f $ac_srcdir/configure; then
1151
$SHELL $ac_srcdir/configure --help=recursive
1152
elif test -f $ac_srcdir/configure.ac ||
1153
test -f $ac_srcdir/configure.in; then
1155
$ac_configure --help
1550
ac_top_srcdir=$srcdir
1551
ac_abs_top_srcdir=$srcdir ;;
1553
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1554
ac_top_srcdir=$ac_top_build_prefix$srcdir
1555
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559
cd "$ac_dir" || { ac_status=$?; continue; }
1560
# Check for guested configure.
1561
if test -f "$ac_srcdir/configure.gnu"; then
1563
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1564
elif test -f "$ac_srcdir/configure"; then
1566
$SHELL "$ac_srcdir/configure" --help=recursive
1157
1568
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570
cd "$ac_pwd" || { ac_status=$?; break; }
1163
test -n "$ac_init_help" && exit 0
1574
test -n "$ac_init_help" && exit $ac_status
1164
1575
if $ac_init_version; then
1166
Judy configure 1.0.0
1167
generated by GNU Autoconf 2.59
1577
Judy configure 1.0.5
1578
generated by GNU Autoconf 2.61
1169
Copyright (C) 2003 Free Software Foundation, Inc.
1580
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1581
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1170
1582
This configure script is free software; the Free Software Foundation
1171
1583
gives unlimited permission to copy, distribute and modify it.
1587
cat >config.log <<_ACEOF
1177
1588
This file contains any messages produced by compilers while
1178
1589
running configure, to aid debugging if configure makes a mistake.
1180
It was created by Judy $as_me 1.0.0, which was
1181
generated by GNU Autoconf 2.59. Invocation command line was
1591
It was created by Judy $as_me 1.0.5, which was
1592
generated by GNU Autoconf 2.61. Invocation command line was
1188
1600
@%:@@%:@ --------- @%:@@%:@
2594
3101
rm -f conftest.$ac_objext
2595
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2596
(eval $ac_compile) 2>conftest.er1
3102
if { (ac_try="$ac_compile"
3104
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105
*) ac_try_echo=$ac_try;;
3107
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108
(eval "$ac_compile") 2>conftest.er1
2598
3110
grep -v '^ *+' conftest.er1 >conftest.err
2599
3111
rm -f conftest.er1
2600
3112
cat conftest.err >&5
2601
3113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602
(exit $ac_status); } &&
2603
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2604
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608
(exit $ac_status); }; } &&
2609
{ ac_try='test -s conftest.$ac_objext'
2610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
(exit $ac_status); }; }; then
3114
(exit $ac_status); } && {
3115
test -z "$ac_c_werror_flag" ||
3116
test ! -s conftest.err
3117
} && test -s conftest.$ac_objext; then
2615
3118
ac_compiler_gnu=yes
2617
3120
echo "$as_me: failed program was:" >&5
2618
3121
sed 's/^/| /' conftest.$ac_ext >&5
2622
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3126
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2623
3127
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2626
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2627
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3130
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3131
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2628
3132
GCC=`test $ac_compiler_gnu = yes && echo yes`
2629
3133
ac_test_CFLAGS=${CFLAGS+set}
2630
3134
ac_save_CFLAGS=$CFLAGS
2632
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2633
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3135
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3136
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2634
3137
if test "${ac_cv_prog_cc_g+set}" = set; then
2635
3138
echo $ECHO_N "(cached) $ECHO_C" >&6
2637
cat >conftest.$ac_ext <<_ACEOF
2640
cat confdefs.h >>conftest.$ac_ext
2641
cat >>conftest.$ac_ext <<_ACEOF
2642
/* end confdefs.h. */
2652
rm -f conftest.$ac_objext
2653
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2654
(eval $ac_compile) 2>conftest.er1
2656
grep -v '^ *+' conftest.er1 >conftest.err
2658
cat conftest.err >&5
2659
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660
(exit $ac_status); } &&
2661
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2662
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666
(exit $ac_status); }; } &&
2667
{ ac_try='test -s conftest.$ac_objext'
2668
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672
(exit $ac_status); }; }; then
2675
echo "$as_me: failed program was:" >&5
2676
sed 's/^/| /' conftest.$ac_ext >&5
2680
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2682
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2683
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3140
ac_save_c_werror_flag=$ac_c_werror_flag
3141
ac_c_werror_flag=yes
3144
cat >conftest.$ac_ext <<_ACEOF
3147
cat confdefs.h >>conftest.$ac_ext
3148
cat >>conftest.$ac_ext <<_ACEOF
3149
/* end confdefs.h. */
3159
rm -f conftest.$ac_objext
3160
if { (ac_try="$ac_compile"
3162
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3163
*) ac_try_echo=$ac_try;;
3165
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3166
(eval "$ac_compile") 2>conftest.er1
3168
grep -v '^ *+' conftest.er1 >conftest.err
3170
cat conftest.err >&5
3171
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172
(exit $ac_status); } && {
3173
test -z "$ac_c_werror_flag" ||
3174
test ! -s conftest.err
3175
} && test -s conftest.$ac_objext; then
3178
echo "$as_me: failed program was:" >&5
3179
sed 's/^/| /' conftest.$ac_ext >&5
3182
cat >conftest.$ac_ext <<_ACEOF
3185
cat confdefs.h >>conftest.$ac_ext
3186
cat >>conftest.$ac_ext <<_ACEOF
3187
/* end confdefs.h. */
3197
rm -f conftest.$ac_objext
3198
if { (ac_try="$ac_compile"
3200
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3201
*) ac_try_echo=$ac_try;;
3203
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3204
(eval "$ac_compile") 2>conftest.er1
3206
grep -v '^ *+' conftest.er1 >conftest.err
3208
cat conftest.err >&5
3209
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210
(exit $ac_status); } && {
3211
test -z "$ac_c_werror_flag" ||
3212
test ! -s conftest.err
3213
} && test -s conftest.$ac_objext; then
3216
echo "$as_me: failed program was:" >&5
3217
sed 's/^/| /' conftest.$ac_ext >&5
3219
ac_c_werror_flag=$ac_save_c_werror_flag
3221
cat >conftest.$ac_ext <<_ACEOF
3224
cat confdefs.h >>conftest.$ac_ext
3225
cat >>conftest.$ac_ext <<_ACEOF
3226
/* end confdefs.h. */
3236
rm -f conftest.$ac_objext
3237
if { (ac_try="$ac_compile"
3239
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3240
*) ac_try_echo=$ac_try;;
3242
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3243
(eval "$ac_compile") 2>conftest.er1
3245
grep -v '^ *+' conftest.er1 >conftest.err
3247
cat conftest.err >&5
3248
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249
(exit $ac_status); } && {
3250
test -z "$ac_c_werror_flag" ||
3251
test ! -s conftest.err
3252
} && test -s conftest.$ac_objext; then
3255
echo "$as_me: failed program was:" >&5
3256
sed 's/^/| /' conftest.$ac_ext >&5
3261
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268
ac_c_werror_flag=$ac_save_c_werror_flag
3270
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3271
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2684
3272
if test "$ac_test_CFLAGS" = set; then
2685
3273
CFLAGS=$ac_save_CFLAGS
2686
3274
elif test $ac_cv_prog_cc_g = yes; then
2758
# Don't try gcc -ansi; that turns off useful extensions and
2759
# breaks some systems' header files.
2760
# AIX -qlanglvl=ansi
2761
# Ultrix and OSF/1 -std1
2762
# HP-UX 10.20 and later -Ae
2763
# HP-UX older versions -Aa -D_HPUX_SOURCE
2764
# SVR4 -Xc -D__EXTENSIONS__
2765
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3351
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3352
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2767
3354
CC="$ac_save_CC $ac_arg"
2768
3355
rm -f conftest.$ac_objext
2769
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770
(eval $ac_compile) 2>conftest.er1
3356
if { (ac_try="$ac_compile"
3358
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3359
*) ac_try_echo=$ac_try;;
3361
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3362
(eval "$ac_compile") 2>conftest.er1
2772
3364
grep -v '^ *+' conftest.er1 >conftest.err
2773
3365
rm -f conftest.er1
2774
3366
cat conftest.err >&5
2775
3367
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776
(exit $ac_status); } &&
2777
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782
(exit $ac_status); }; } &&
2783
{ ac_try='test -s conftest.$ac_objext'
2784
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2787
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788
(exit $ac_status); }; }; then
2789
ac_cv_prog_cc_stdc=$ac_arg
3368
(exit $ac_status); } && {
3369
test -z "$ac_c_werror_flag" ||
3370
test ! -s conftest.err
3371
} && test -s conftest.$ac_objext; then
3372
ac_cv_prog_cc_c89=$ac_arg
2792
3374
echo "$as_me: failed program was:" >&5
2793
3375
sed 's/^/| /' conftest.$ac_ext >&5
2796
rm -f conftest.err conftest.$ac_objext
3380
rm -f core conftest.err conftest.$ac_objext
3381
test "x$ac_cv_prog_cc_c89" != "xno" && break
2798
rm -f conftest.$ac_ext conftest.$ac_objext
3383
rm -f conftest.$ac_ext
2803
case "x$ac_cv_prog_cc_stdc" in
2805
echo "$as_me:$LINENO: result: none needed" >&5
2806
echo "${ECHO_T}none needed" >&6 ;;
3388
case "x$ac_cv_prog_cc_c89" in
3390
{ echo "$as_me:$LINENO: result: none needed" >&5
3391
echo "${ECHO_T}none needed" >&6; } ;;
3393
{ echo "$as_me:$LINENO: result: unsupported" >&5
3394
echo "${ECHO_T}unsupported" >&6; } ;;
2808
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2809
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2810
CC="$CC $ac_cv_prog_cc_stdc" ;;
3396
CC="$CC $ac_cv_prog_cc_c89"
3397
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3398
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2813
# Some people use a C++ compiler to compile C. Since we use `exit',
2814
# in C++ we need to declare it. In case someone uses the same compiler
2815
# for both compiling C and C++ we need to have the C++ compiler decide
2816
# the declaration of exit, since it's the most demanding environment.
2817
cat >conftest.$ac_ext <<_ACEOF
2818
@%:@ifndef __cplusplus
2822
rm -f conftest.$ac_objext
2823
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2824
(eval $ac_compile) 2>conftest.er1
2826
grep -v '^ *+' conftest.er1 >conftest.err
2828
cat conftest.err >&5
2829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2830
(exit $ac_status); } &&
2831
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2832
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2836
(exit $ac_status); }; } &&
2837
{ ac_try='test -s conftest.$ac_objext'
2838
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2841
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842
(exit $ac_status); }; }; then
2843
for ac_declaration in \
2845
'extern "C" void std::exit (int) throw (); using std::exit;' \
2846
'extern "C" void std::exit (int); using std::exit;' \
2847
'extern "C" void exit (int) throw ();' \
2848
'extern "C" void exit (int);' \
2851
cat >conftest.$ac_ext <<_ACEOF
2854
cat confdefs.h >>conftest.$ac_ext
2855
cat >>conftest.$ac_ext <<_ACEOF
2856
/* end confdefs.h. */
2858
@%:@include <stdlib.h>
2867
rm -f conftest.$ac_objext
2868
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2869
(eval $ac_compile) 2>conftest.er1
2871
grep -v '^ *+' conftest.er1 >conftest.err
2873
cat conftest.err >&5
2874
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875
(exit $ac_status); } &&
2876
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2877
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881
(exit $ac_status); }; } &&
2882
{ ac_try='test -s conftest.$ac_objext'
2883
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887
(exit $ac_status); }; }; then
2890
echo "$as_me: failed program was:" >&5
2891
sed 's/^/| /' conftest.$ac_ext >&5
2895
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2896
cat >conftest.$ac_ext <<_ACEOF
2899
cat confdefs.h >>conftest.$ac_ext
2900
cat >>conftest.$ac_ext <<_ACEOF
2901
/* end confdefs.h. */
2911
rm -f conftest.$ac_objext
2912
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2913
(eval $ac_compile) 2>conftest.er1
2915
grep -v '^ *+' conftest.er1 >conftest.err
2917
cat conftest.err >&5
2918
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919
(exit $ac_status); } &&
2920
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2921
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925
(exit $ac_status); }; } &&
2926
{ ac_try='test -s conftest.$ac_objext'
2927
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2930
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2931
(exit $ac_status); }; }; then
2934
echo "$as_me: failed program was:" >&5
2935
sed 's/^/| /' conftest.$ac_ext >&5
2938
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2941
if test -n "$ac_declaration"; then
2942
echo '#ifdef __cplusplus' >>confdefs.h
2943
echo $ac_declaration >>confdefs.h
2944
echo '#endif' >>confdefs.h
2948
echo "$as_me: failed program was:" >&5
2949
sed 's/^/| /' conftest.$ac_ext >&5
2952
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2954
3403
ac_cpp='$CPP $CPPFLAGS'
2955
3404
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3444
3890
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3446
echo "$as_me:$LINENO: checking whether ln -s works" >&5
3447
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3892
{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3893
echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3449
3895
if test "$LN_S" = "ln -s"; then
3450
echo "$as_me:$LINENO: result: yes" >&5
3451
echo "${ECHO_T}yes" >&6
3896
{ echo "$as_me:$LINENO: result: yes" >&5
3897
echo "${ECHO_T}yes" >&6; }
3453
echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3454
echo "${ECHO_T}no, using $LN_S" >&6
3899
{ echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3900
echo "${ECHO_T}no, using $LN_S" >&6; }
3457
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3459
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3460
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3903
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3904
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3905
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3906
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3461
3907
echo $ECHO_N "(cached) $ECHO_C" >&6
3463
3909
cat >conftest.make <<\_ACEOF
3465
@echo 'ac_maketemp="$(MAKE)"'
3912
@echo '@@@%%%=$(MAKE)=@@@%%%'
3467
3914
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3468
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3469
if test -n "$ac_maketemp"; then
3470
eval ac_cv_prog_make_${ac_make}_set=yes
3472
eval ac_cv_prog_make_${ac_make}_set=no
3915
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3917
eval ac_cv_prog_make_${ac_make}_set=yes;;
3919
eval ac_cv_prog_make_${ac_make}_set=no;;
3474
3921
rm -f conftest.make
3476
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3477
echo "$as_me:$LINENO: result: yes" >&5
3478
echo "${ECHO_T}yes" >&6
3923
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3924
{ echo "$as_me:$LINENO: result: yes" >&5
3925
echo "${ECHO_T}yes" >&6; }
3481
echo "$as_me:$LINENO: result: no" >&5
3482
echo "${ECHO_T}no" >&6
3928
{ echo "$as_me:$LINENO: result: no" >&5
3929
echo "${ECHO_T}no" >&6; }
3483
3930
SET_MAKE="MAKE=${MAKE-make}"
3489
echo "$as_me:$LINENO: checking for egrep" >&5
3490
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3491
if test "${ac_cv_prog_egrep+set}" = set; then
3492
echo $ECHO_N "(cached) $ECHO_C" >&6
3494
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3495
then ac_cv_prog_egrep='grep -E'
3496
else ac_cv_prog_egrep='egrep'
3499
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3500
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3501
EGREP=$ac_cv_prog_egrep
3504
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3505
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3936
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3937
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3938
if test "${ac_cv_path_GREP+set}" = set; then
3939
echo $ECHO_N "(cached) $ECHO_C" >&6
3941
# Extract the first word of "grep ggrep" to use in msg output
3942
if test -z "$GREP"; then
3943
set dummy grep ggrep; ac_prog_name=$2
3944
if test "${ac_cv_path_GREP+set}" = set; then
3945
echo $ECHO_N "(cached) $ECHO_C" >&6
3947
ac_path_GREP_found=false
3948
# Loop through the user's path and test for each of PROGNAME-LIST
3949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3953
test -z "$as_dir" && as_dir=.
3954
for ac_prog in grep ggrep; do
3955
for ac_exec_ext in '' $ac_executable_extensions; do
3956
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3957
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3958
# Check for GNU ac_path_GREP and select it if it is found.
3959
# Check for GNU $ac_path_GREP
3960
case `"$ac_path_GREP" --version 2>&1` in
3962
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3965
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3968
cat "conftest.in" "conftest.in" >"conftest.tmp"
3969
mv "conftest.tmp" "conftest.in"
3970
cp "conftest.in" "conftest.nl"
3971
echo 'GREP' >> "conftest.nl"
3972
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3973
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3974
ac_count=`expr $ac_count + 1`
3975
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3976
# Best one so far, save it but keep looking for a better one
3977
ac_cv_path_GREP="$ac_path_GREP"
3978
ac_path_GREP_max=$ac_count
3980
# 10*(2^10) chars as input seems more than enough
3981
test $ac_count -gt 10 && break
3983
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3987
$ac_path_GREP_found && break 3
3997
GREP="$ac_cv_path_GREP"
3998
if test -z "$GREP"; then
3999
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4000
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4001
{ (exit 1); exit 1; }; }
4005
ac_cv_path_GREP=$GREP
4010
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4011
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4012
GREP="$ac_cv_path_GREP"
4015
{ echo "$as_me:$LINENO: checking for egrep" >&5
4016
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4017
if test "${ac_cv_path_EGREP+set}" = set; then
4018
echo $ECHO_N "(cached) $ECHO_C" >&6
4020
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4021
then ac_cv_path_EGREP="$GREP -E"
4023
# Extract the first word of "egrep" to use in msg output
4024
if test -z "$EGREP"; then
4025
set dummy egrep; ac_prog_name=$2
4026
if test "${ac_cv_path_EGREP+set}" = set; then
4027
echo $ECHO_N "(cached) $ECHO_C" >&6
4029
ac_path_EGREP_found=false
4030
# Loop through the user's path and test for each of PROGNAME-LIST
4031
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4035
test -z "$as_dir" && as_dir=.
4036
for ac_prog in egrep; do
4037
for ac_exec_ext in '' $ac_executable_extensions; do
4038
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4039
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4040
# Check for GNU ac_path_EGREP and select it if it is found.
4041
# Check for GNU $ac_path_EGREP
4042
case `"$ac_path_EGREP" --version 2>&1` in
4044
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4047
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4050
cat "conftest.in" "conftest.in" >"conftest.tmp"
4051
mv "conftest.tmp" "conftest.in"
4052
cp "conftest.in" "conftest.nl"
4053
echo 'EGREP' >> "conftest.nl"
4054
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4055
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4056
ac_count=`expr $ac_count + 1`
4057
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4058
# Best one so far, save it but keep looking for a better one
4059
ac_cv_path_EGREP="$ac_path_EGREP"
4060
ac_path_EGREP_max=$ac_count
4062
# 10*(2^10) chars as input seems more than enough
4063
test $ac_count -gt 10 && break
4065
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4069
$ac_path_EGREP_found && break 3
4079
EGREP="$ac_cv_path_EGREP"
4080
if test -z "$EGREP"; then
4081
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4082
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4083
{ (exit 1); exit 1; }; }
4087
ac_cv_path_EGREP=$EGREP
4093
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4094
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4095
EGREP="$ac_cv_path_EGREP"
4098
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4099
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
3506
4100
if test "${ac_cv_header_stdc+set}" = set; then
3507
4101
echo $ECHO_N "(cached) $ECHO_C" >&6
7769
8543
rm -f conftest.$ac_objext
7770
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7771
(eval $ac_compile) 2>conftest.er1
8544
if { (ac_try="$ac_compile"
8546
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8547
*) ac_try_echo=$ac_try;;
8549
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8550
(eval "$ac_compile") 2>conftest.er1
7773
8552
grep -v '^ *+' conftest.er1 >conftest.err
7774
8553
rm -f conftest.er1
7775
8554
cat conftest.err >&5
7776
8555
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777
(exit $ac_status); } &&
7778
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7779
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783
(exit $ac_status); }; } &&
7784
{ ac_try='test -s conftest.$ac_objext'
7785
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789
(exit $ac_status); }; }; then
8556
(exit $ac_status); } && {
8557
test -z "$ac_cxx_werror_flag" ||
8558
test ! -s conftest.err
8559
} && test -s conftest.$ac_objext; then
7790
8560
ac_compiler_gnu=yes
7792
8562
echo "$as_me: failed program was:" >&5
7793
8563
sed 's/^/| /' conftest.$ac_ext >&5
7797
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8568
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7798
8569
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
7801
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7802
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
8572
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
8573
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
7803
8574
GXX=`test $ac_compiler_gnu = yes && echo yes`
7804
8575
ac_test_CXXFLAGS=${CXXFLAGS+set}
7805
8576
ac_save_CXXFLAGS=$CXXFLAGS
7807
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7808
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
8577
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
8578
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
7809
8579
if test "${ac_cv_prog_cxx_g+set}" = set; then
7810
8580
echo $ECHO_N "(cached) $ECHO_C" >&6
7812
cat >conftest.$ac_ext <<_ACEOF
7815
cat confdefs.h >>conftest.$ac_ext
7816
cat >>conftest.$ac_ext <<_ACEOF
7817
/* end confdefs.h. */
7827
rm -f conftest.$ac_objext
7828
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7829
(eval $ac_compile) 2>conftest.er1
7831
grep -v '^ *+' conftest.er1 >conftest.err
7833
cat conftest.err >&5
7834
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7835
(exit $ac_status); } &&
7836
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7837
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841
(exit $ac_status); }; } &&
7842
{ ac_try='test -s conftest.$ac_objext'
7843
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7846
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7847
(exit $ac_status); }; }; then
7848
ac_cv_prog_cxx_g=yes
7850
echo "$as_me: failed program was:" >&5
7851
sed 's/^/| /' conftest.$ac_ext >&5
7855
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7857
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7858
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
8582
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
8583
ac_cxx_werror_flag=yes
8586
cat >conftest.$ac_ext <<_ACEOF
8589
cat confdefs.h >>conftest.$ac_ext
8590
cat >>conftest.$ac_ext <<_ACEOF
8591
/* end confdefs.h. */
8601
rm -f conftest.$ac_objext
8602
if { (ac_try="$ac_compile"
8604
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8605
*) ac_try_echo=$ac_try;;
8607
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8608
(eval "$ac_compile") 2>conftest.er1
8610
grep -v '^ *+' conftest.er1 >conftest.err
8612
cat conftest.err >&5
8613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614
(exit $ac_status); } && {
8615
test -z "$ac_cxx_werror_flag" ||
8616
test ! -s conftest.err
8617
} && test -s conftest.$ac_objext; then
8618
ac_cv_prog_cxx_g=yes
8620
echo "$as_me: failed program was:" >&5
8621
sed 's/^/| /' conftest.$ac_ext >&5
8624
cat >conftest.$ac_ext <<_ACEOF
8627
cat confdefs.h >>conftest.$ac_ext
8628
cat >>conftest.$ac_ext <<_ACEOF
8629
/* end confdefs.h. */
8639
rm -f conftest.$ac_objext
8640
if { (ac_try="$ac_compile"
8642
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8643
*) ac_try_echo=$ac_try;;
8645
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8646
(eval "$ac_compile") 2>conftest.er1
8648
grep -v '^ *+' conftest.er1 >conftest.err
8650
cat conftest.err >&5
8651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652
(exit $ac_status); } && {
8653
test -z "$ac_cxx_werror_flag" ||
8654
test ! -s conftest.err
8655
} && test -s conftest.$ac_objext; then
8658
echo "$as_me: failed program was:" >&5
8659
sed 's/^/| /' conftest.$ac_ext >&5
8661
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8663
cat >conftest.$ac_ext <<_ACEOF
8666
cat confdefs.h >>conftest.$ac_ext
8667
cat >>conftest.$ac_ext <<_ACEOF
8668
/* end confdefs.h. */
8678
rm -f conftest.$ac_objext
8679
if { (ac_try="$ac_compile"
8681
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8682
*) ac_try_echo=$ac_try;;
8684
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8685
(eval "$ac_compile") 2>conftest.er1
8687
grep -v '^ *+' conftest.er1 >conftest.err
8689
cat conftest.err >&5
8690
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8691
(exit $ac_status); } && {
8692
test -z "$ac_cxx_werror_flag" ||
8693
test ! -s conftest.err
8694
} && test -s conftest.$ac_objext; then
8695
ac_cv_prog_cxx_g=yes
8697
echo "$as_me: failed program was:" >&5
8698
sed 's/^/| /' conftest.$ac_ext >&5
8703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8706
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8709
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8710
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
8712
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
8713
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
7859
8714
if test "$ac_test_CXXFLAGS" = set; then
7860
8715
CXXFLAGS=$ac_save_CXXFLAGS
7861
8716
elif test $ac_cv_prog_cxx_g = yes; then
21946
22674
# Name of the executable.
21947
as_me=`$as_basename "$0" ||
22675
as_me=`$as_basename -- "$0" ||
21948
22676
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21949
22677
X"$0" : 'X\(//\)$' \| \
21950
X"$0" : 'X\(/\)$' \| \
21951
. : '\(.\)' 2>/dev/null ||
22678
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21952
22679
echo X/"$0" |
21953
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21954
/^X\/\(\/\/\)$/{ s//\1/; q; }
21955
/^X\/\(\/\).*/{ s//\1/; q; }
21959
# PATH needs CR, and LINENO needs CR and PATH.
21960
# Avoid depending upon Character Ranges.
21961
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21962
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21963
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21964
as_cr_digits='0123456789'
21965
as_cr_alnum=$as_cr_Letters$as_cr_digits
21967
# The user is always right.
21968
if test "${PATH_SEPARATOR+set}" != set; then
21969
echo "#! /bin/sh" >conf$$.sh
21970
echo "exit 0" >>conf$$.sh
21972
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21981
as_lineno_1=$LINENO
21982
as_lineno_2=$LINENO
21983
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21984
test "x$as_lineno_1" != "x$as_lineno_2" &&
21985
test "x$as_lineno_3" = "x$as_lineno_2" || {
21986
# Find who we are. Look in the path if we contain no path at all
21989
*[\\/]* ) as_myself=$0 ;;
21990
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21991
for as_dir in $PATH
21994
test -z "$as_dir" && as_dir=.
21995
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22000
# We did not find ourselves, most probably we were run as `sh COMMAND'
22001
# in which case we are not to be found in the path.
22002
if test "x$as_myself" = x; then
22005
if test ! -f "$as_myself"; then
22006
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22007
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22008
{ (exit 1); exit 1; }; }
22010
case $CONFIG_SHELL in
22012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22013
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22016
test -z "$as_dir" && as_dir=.
22017
for as_base in sh bash ksh sh5; do
22020
if ("$as_dir/$as_base" -c '
22021
as_lineno_1=$LINENO
22022
as_lineno_2=$LINENO
22023
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22024
test "x$as_lineno_1" != "x$as_lineno_2" &&
22025
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22026
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22027
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22028
CONFIG_SHELL=$as_dir/$as_base
22029
export CONFIG_SHELL
22030
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22680
sed '/^.*\/\([^/][^/]*\)\/*$/{
22699
as_lineno_1=$LINENO
22700
as_lineno_2=$LINENO
22701
test "x$as_lineno_1" != "x$as_lineno_2" &&
22702
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22038
22704
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22039
22705
# uniformly replaced by the line number. The first 'sed' inserts a
22040
# line-number line before each line; the second 'sed' does the real
22041
# work. The second script uses 'N' to pair each line-number line
22042
# with the numbered line, and appends trailing '-' during
22043
# substitution so that $LINENO is not a special case at line end.
22706
# line-number line after each line using $LINENO; the second 'sed'
22707
# does the real work. The second script uses 'N' to pair each
22708
# line-number line with the line containing $LINENO, and appends
22709
# trailing '-' during substitution so that $LINENO is not a special
22710
# case at line end.
22044
22711
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22045
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22046
sed '=' <$as_myself |
22712
# scripts with optimization help from Paolo Bonzini. Blame Lee
22713
# E. McMahon (1931-1989) for sed's syntax. :-)
22051
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22725
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22054
s,^['$as_cr_digits']*\n,,
22055
22728
' >$as_me.lineno &&
22056
chmod +x $as_me.lineno ||
22057
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22058
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22729
chmod +x "$as_me.lineno" ||
22730
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22059
22731
{ (exit 1); exit 1; }; }
22061
22733
# Don't try to exec as it changes $[0], causing all sort of problems
22062
22734
# (the dirname of $[0] is not the place where we might find the
22063
# original and so on. Autoconf is especially sensible to this).
22735
# original and so on. Autoconf is especially sensitive to this).
22736
. "./$as_me.lineno"
22065
22737
# Exit status is that of the last command.
22070
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22071
*c*,-n*) ECHO_N= ECHO_C='
22073
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22074
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22742
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22748
ECHO_C= ECHO_N= ECHO_T=
22749
case `echo -n x` in
22751
case `echo 'x\c'` in
22752
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
22077
if expr a : '\(a\)' >/dev/null 2>&1; then
22759
if expr a : '\(a\)' >/dev/null 2>&1 &&
22760
test "X`expr 00001 : '.*\(...\)'`" = X001; then
22080
22763
as_expr=false
22083
22766
rm -f conf$$ conf$$.exe conf$$.file
22767
if test -d conf$$.dir; then
22768
rm -f conf$$.dir/conf$$.file
22084
22773
echo >conf$$.file
22085
22774
if ln -s conf$$.file conf$$ 2>/dev/null; then
22086
# We could just check for DJGPP; but this test a) works b) is more generic
22087
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22088
if test -f conf$$.exe; then
22089
# Don't use ln at all; we don't have any links
22776
# ... but there are two gotchas:
22777
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22778
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22779
# In both cases, we have to default to `cp -p'.
22780
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22090
22781
as_ln_s='cp -p'
22094
22782
elif ln conf$$.file conf$$ 2>/dev/null; then
22097
22785
as_ln_s='cp -p'
22099
rm -f conf$$ conf$$.exe conf$$.file
22787
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22788
rmdir conf$$.dir 2>/dev/null
22101
22790
if mkdir -p . 2>/dev/null; then
22342
23030
# Have a temporary directory for convenience. Make it in the build tree
22343
# simply because there is no reason to put it here, and in addition,
23031
# simply because there is no reason against having it here, and in addition,
22344
23032
# creating and moving files from /tmp can sometimes cause problems.
22345
# Create a temporary directory, and hook for its removal unless debugging.
23033
# Hook for its removal unless debugging.
23034
# Note that there is a small window in which the directory will not be cleaned:
23035
# after its creation but before its name has been assigned to `$tmp'.
22348
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23039
trap 'exit_status=$?
23040
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22349
23042
trap '{ (exit 1); exit 1; }' 1 2 13 15
22352
23044
# Create a (secure) tmp directory for tmp files.
22355
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23047
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22356
23048
test -n "$tmp" && test -d "$tmp"
22359
tmp=./confstat$$-$RANDOM
22360
(umask 077 && mkdir $tmp)
23051
tmp=./conf$$-$RANDOM
23052
(umask 077 && mkdir "$tmp")
22363
23055
echo "$me: cannot create a temporary directory in ." >&2
22364
23056
{ (exit 1); exit 1; }
22369
cat >>$CONFIG_STATUS <<_ACEOF
22372
# CONFIG_FILES section.
23060
# Set up the sed scripts for CONFIG_FILES section.
22375
23063
# No need to generate the scripts if there are no CONFIG_FILES.
22376
23064
# This happens for instance when ./config.status config.h
22377
if test -n "\$CONFIG_FILES"; then
22378
# Protect against being on the right side of a sed subst in config.status.
22379
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22380
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22381
s,@SHELL@,$SHELL,;t t
22382
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22383
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22384
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22385
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22386
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22387
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22388
s,@exec_prefix@,$exec_prefix,;t t
22389
s,@prefix@,$prefix,;t t
22390
s,@program_transform_name@,$program_transform_name,;t t
22391
s,@bindir@,$bindir,;t t
22392
s,@sbindir@,$sbindir,;t t
22393
s,@libexecdir@,$libexecdir,;t t
22394
s,@datadir@,$datadir,;t t
22395
s,@sysconfdir@,$sysconfdir,;t t
22396
s,@sharedstatedir@,$sharedstatedir,;t t
22397
s,@localstatedir@,$localstatedir,;t t
22398
s,@libdir@,$libdir,;t t
22399
s,@includedir@,$includedir,;t t
22400
s,@oldincludedir@,$oldincludedir,;t t
22401
s,@infodir@,$infodir,;t t
22402
s,@mandir@,$mandir,;t t
22403
s,@build_alias@,$build_alias,;t t
22404
s,@host_alias@,$host_alias,;t t
22405
s,@target_alias@,$target_alias,;t t
22406
s,@DEFS@,$DEFS,;t t
22407
s,@ECHO_C@,$ECHO_C,;t t
22408
s,@ECHO_N@,$ECHO_N,;t t
22409
s,@ECHO_T@,$ECHO_T,;t t
22410
s,@LIBS@,$LIBS,;t t
22411
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22412
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22413
s,@MAINT@,$MAINT,;t t
22414
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22415
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22416
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22417
s,@CYGPATH_W@,$CYGPATH_W,;t t
22418
s,@PACKAGE@,$PACKAGE,;t t
22419
s,@VERSION@,$VERSION,;t t
22420
s,@ACLOCAL@,$ACLOCAL,;t t
22421
s,@AUTOCONF@,$AUTOCONF,;t t
22422
s,@AUTOMAKE@,$AUTOMAKE,;t t
22423
s,@AUTOHEADER@,$AUTOHEADER,;t t
22424
s,@MAKEINFO@,$MAKEINFO,;t t
22425
s,@install_sh@,$install_sh,;t t
22426
s,@STRIP@,$STRIP,;t t
22427
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22428
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22429
s,@mkdir_p@,$mkdir_p,;t t
22431
s,@SET_MAKE@,$SET_MAKE,;t t
22432
s,@am__leading_dot@,$am__leading_dot,;t t
22433
s,@AMTAR@,$AMTAR,;t t
22434
s,@am__tar@,$am__tar,;t t
22435
s,@am__untar@,$am__untar,;t t
22436
s,@VERSION_INFO@,$VERSION_INFO,;t t
22437
s,@FLAVOR@,$FLAVOR,;t t
22439
s,@CFLAGS@,$CFLAGS,;t t
22440
s,@LDFLAGS@,$LDFLAGS,;t t
22441
s,@CPPFLAGS@,$CPPFLAGS,;t t
22442
s,@ac_ct_CC@,$ac_ct_CC,;t t
22443
s,@EXEEXT@,$EXEEXT,;t t
22444
s,@OBJEXT@,$OBJEXT,;t t
22445
s,@DEPDIR@,$DEPDIR,;t t
22446
s,@am__include@,$am__include,;t t
22447
s,@am__quote@,$am__quote,;t t
22448
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22449
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22450
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22451
s,@CCDEPMODE@,$CCDEPMODE,;t t
22452
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22453
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22455
s,@LN_S@,$LN_S,;t t
22456
s,@EGREP@,$EGREP,;t t
22457
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
22459
s,@ac_ct_AR@,$ac_ct_AR,;t t
22461
s,@ac_ct_LD@,$ac_ct_LD,;t t
22462
s,@RANLIB@,$RANLIB,;t t
22463
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22464
s,@build@,$build,;t t
22465
s,@build_cpu@,$build_cpu,;t t
22466
s,@build_vendor@,$build_vendor,;t t
22467
s,@build_os@,$build_os,;t t
22468
s,@host@,$host,;t t
22469
s,@host_cpu@,$host_cpu,;t t
22470
s,@host_vendor@,$host_vendor,;t t
22471
s,@host_os@,$host_os,;t t
22472
s,@ECHO@,$ECHO,;t t
22474
s,@CXXFLAGS@,$CXXFLAGS,;t t
22475
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22476
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22477
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22478
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22479
s,@CXXCPP@,$CXXCPP,;t t
22481
s,@FFLAGS@,$FFLAGS,;t t
22482
s,@ac_ct_F77@,$ac_ct_F77,;t t
22483
s,@LIBTOOL@,$LIBTOOL,;t t
22484
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22485
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22490
cat >>$CONFIG_STATUS <<\_ACEOF
22491
# Split the substitutions into bite-sized pieces for seds with
22492
# small command number limits, like on Digital OSF/1 and HP-UX.
22493
ac_max_sed_lines=48
22494
ac_sed_frag=1 # Number of current file.
22495
ac_beg=1 # First line for current file.
22496
ac_end=$ac_max_sed_lines # Line after last line for current file.
22499
while $ac_more_lines; do
22500
if test $ac_beg -gt 1; then
22501
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22503
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22505
if test ! -s $tmp/subs.frag; then
22506
ac_more_lines=false
22508
# The purpose of the label and of the branching condition is to
22509
# speed up the sed processing (if there are no `@' at all, there
22510
# is no need to browse any of the substitutions).
22511
# These are the two extra sed commands mentioned above.
22513
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22514
if test -z "$ac_sed_cmds"; then
22515
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22517
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22519
ac_sed_frag=`expr $ac_sed_frag + 1`
22521
ac_end=`expr $ac_end + $ac_max_sed_lines`
22524
if test -z "$ac_sed_cmds"; then
23065
if test -n "$CONFIG_FILES"; then
23072
for ac_last_try in false false false false false :; do
23073
cat >conf$$subs.sed <<_ACEOF
23074
SHELL!$SHELL$ac_delim
23075
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23076
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23077
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23078
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23079
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23080
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23081
exec_prefix!$exec_prefix$ac_delim
23082
prefix!$prefix$ac_delim
23083
program_transform_name!$program_transform_name$ac_delim
23084
bindir!$bindir$ac_delim
23085
sbindir!$sbindir$ac_delim
23086
libexecdir!$libexecdir$ac_delim
23087
datarootdir!$datarootdir$ac_delim
23088
datadir!$datadir$ac_delim
23089
sysconfdir!$sysconfdir$ac_delim
23090
sharedstatedir!$sharedstatedir$ac_delim
23091
localstatedir!$localstatedir$ac_delim
23092
includedir!$includedir$ac_delim
23093
oldincludedir!$oldincludedir$ac_delim
23094
docdir!$docdir$ac_delim
23095
infodir!$infodir$ac_delim
23096
htmldir!$htmldir$ac_delim
23097
dvidir!$dvidir$ac_delim
23098
pdfdir!$pdfdir$ac_delim
23099
psdir!$psdir$ac_delim
23100
libdir!$libdir$ac_delim
23101
localedir!$localedir$ac_delim
23102
mandir!$mandir$ac_delim
23103
DEFS!$DEFS$ac_delim
23104
ECHO_C!$ECHO_C$ac_delim
23105
ECHO_N!$ECHO_N$ac_delim
23106
ECHO_T!$ECHO_T$ac_delim
23107
LIBS!$LIBS$ac_delim
23108
build_alias!$build_alias$ac_delim
23109
host_alias!$host_alias$ac_delim
23110
target_alias!$target_alias$ac_delim
23111
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23112
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23113
MAINT!$MAINT$ac_delim
23114
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23115
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23116
INSTALL_DATA!$INSTALL_DATA$ac_delim
23117
CYGPATH_W!$CYGPATH_W$ac_delim
23118
PACKAGE!$PACKAGE$ac_delim
23119
VERSION!$VERSION$ac_delim
23120
ACLOCAL!$ACLOCAL$ac_delim
23121
AUTOCONF!$AUTOCONF$ac_delim
23122
AUTOMAKE!$AUTOMAKE$ac_delim
23123
AUTOHEADER!$AUTOHEADER$ac_delim
23124
MAKEINFO!$MAKEINFO$ac_delim
23125
install_sh!$install_sh$ac_delim
23126
STRIP!$STRIP$ac_delim
23127
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23128
mkdir_p!$mkdir_p$ac_delim
23130
SET_MAKE!$SET_MAKE$ac_delim
23131
am__leading_dot!$am__leading_dot$ac_delim
23132
AMTAR!$AMTAR$ac_delim
23133
am__tar!$am__tar$ac_delim
23134
am__untar!$am__untar$ac_delim
23135
VERSION_INFO!$VERSION_INFO$ac_delim
23136
FLAVOR!$FLAVOR$ac_delim
23138
CFLAGS!$CFLAGS$ac_delim
23139
LDFLAGS!$LDFLAGS$ac_delim
23140
CPPFLAGS!$CPPFLAGS$ac_delim
23141
ac_ct_CC!$ac_ct_CC$ac_delim
23142
EXEEXT!$EXEEXT$ac_delim
23143
OBJEXT!$OBJEXT$ac_delim
23144
DEPDIR!$DEPDIR$ac_delim
23145
am__include!$am__include$ac_delim
23146
am__quote!$am__quote$ac_delim
23147
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23148
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23149
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23150
CCDEPMODE!$CCDEPMODE$ac_delim
23151
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23152
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23154
LN_S!$LN_S$ac_delim
23155
GREP!$GREP$ac_delim
23156
EGREP!$EGREP$ac_delim
23157
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
23160
RANLIB!$RANLIB$ac_delim
23161
build!$build$ac_delim
23162
build_cpu!$build_cpu$ac_delim
23163
build_vendor!$build_vendor$ac_delim
23164
build_os!$build_os$ac_delim
23165
host!$host$ac_delim
23166
host_cpu!$host_cpu$ac_delim
23167
host_vendor!$host_vendor$ac_delim
23168
host_os!$host_os$ac_delim
23169
ECHO!$ECHO$ac_delim
23173
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23175
elif $ac_last_try; then
23176
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23177
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23178
{ (exit 1); exit 1; }; }
23180
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23184
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23185
if test -n "$ac_eof"; then
23186
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23187
ac_eof=`expr $ac_eof + 1`
23190
cat >>$CONFIG_STATUS <<_ACEOF
23191
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23192
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23195
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23196
s/^/s,@/; s/!/@,|#_!!_#|/
23199
s/'"$ac_delim"'$/,g/; t
23201
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23202
' >>$CONFIG_STATUS <conf$$subs.sed
23203
rm -f conf$$subs.sed
23204
cat >>$CONFIG_STATUS <<_ACEOF
23210
for ac_last_try in false false false false false :; do
23211
cat >conf$$subs.sed <<_ACEOF
23212
CXXFLAGS!$CXXFLAGS$ac_delim
23213
ac_ct_CXX!$ac_ct_CXX$ac_delim
23214
CXXDEPMODE!$CXXDEPMODE$ac_delim
23215
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23216
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23217
CXXCPP!$CXXCPP$ac_delim
23219
FFLAGS!$FFLAGS$ac_delim
23220
ac_ct_F77!$ac_ct_F77$ac_delim
23221
LIBTOOL!$LIBTOOL$ac_delim
23222
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
23223
LTLIBOBJS!$LTLIBOBJS$ac_delim
23226
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
23228
elif $ac_last_try; then
23229
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23230
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23231
{ (exit 1); exit 1; }; }
23233
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23237
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23238
if test -n "$ac_eof"; then
23239
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23240
ac_eof=`expr $ac_eof + 1`
23243
cat >>$CONFIG_STATUS <<_ACEOF
23244
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23245
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23248
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23249
s/^/s,@/; s/!/@,|#_!!_#|/
23252
s/'"$ac_delim"'$/,g/; t
23254
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23255
' >>$CONFIG_STATUS <conf$$subs.sed
23256
rm -f conf$$subs.sed
23257
cat >>$CONFIG_STATUS <<_ACEOF
23264
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23265
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23266
# trailing colons and then remove the whole line if VPATH becomes empty
23267
# (actually we leave an empty line to preserve line numbers).
23268
if test "x$srcdir" = x.; then
23269
ac_vpsub='/^[ ]*VPATH[ ]*=/{
23270
s/:*\$(srcdir):*/:/
23271
s/:*\${srcdir}:*/:/
23273
s/^\([^=]*=[ ]*\):*/\1/
23279
cat >>$CONFIG_STATUS <<\_ACEOF
22527
23280
fi # test -n "$CONFIG_FILES"
22530
cat >>$CONFIG_STATUS <<\_ACEOF
22531
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22532
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22534
- | *:- | *:-:* ) # input from stdin
22536
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22537
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22538
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22539
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22540
* ) ac_file_in=$ac_file.in ;;
22543
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22544
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23283
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23286
:[FHLC]) ac_mode=$ac_tag; continue;;
23288
case $ac_mode$ac_tag in
23290
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23291
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23292
{ (exit 1); exit 1; }; };;
23293
:[FH]-) ac_tag=-:-;;
23294
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23311
-) ac_f="$tmp/stdin";;
23312
*) # Look for the file first in the build tree, then in the source tree
23313
# (if the path is not absolute). The absolute path cannot be DOS-style,
23314
# because $ac_f cannot contain `:'.
23318
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23320
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23321
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23322
{ (exit 1); exit 1; }; };;
23324
ac_file_inputs="$ac_file_inputs $ac_f"
23327
# Let's still pretend it is `configure' which instantiates (i.e., don't
23328
# use $as_me), people would be surprised to read:
23329
# /* config.h. Generated by config.status. */
23330
configure_input="Generated from "`IFS=:
23331
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23332
if test x"$ac_file" != x-; then
23333
configure_input="$ac_file. $configure_input"
23334
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23335
echo "$as_me: creating $ac_file" >&6;}
23339
*:-:* | *:-) cat >"$tmp/stdin";;
23344
ac_dir=`$as_dirname -- "$ac_file" ||
22545
23345
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22546
23346
X"$ac_file" : 'X\(//\)[^/]' \| \
22547
23347
X"$ac_file" : 'X\(//\)$' \| \
22548
X"$ac_file" : 'X\(/\)' \| \
22549
. : '\(.\)' 2>/dev/null ||
23348
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22550
23349
echo X"$ac_file" |
22551
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22552
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22553
/^X\(\/\/\)$/{ s//\1/; q; }
22554
/^X\(\/\).*/{ s//\1/; q; }
22556
{ if $as_mkdir_p; then
23350
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23354
/^X\(\/\/\)[^/].*/{
23369
-*) as_dir=./$as_dir;;
23371
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22561
while test ! -d "$as_dir"; do
22562
as_dirs="$as_dir $as_dirs"
22563
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23375
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23376
*) as_qdir=$as_dir;;
23378
as_dirs="'$as_qdir' $as_dirs"
23379
as_dir=`$as_dirname -- "$as_dir" ||
22564
23380
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22565
23381
X"$as_dir" : 'X\(//\)[^/]' \| \
22566
23382
X"$as_dir" : 'X\(//\)$' \| \
22567
X"$as_dir" : 'X\(/\)' \| \
22568
. : '\(.\)' 2>/dev/null ||
23383
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22569
23384
echo X"$as_dir" |
22570
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22571
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22572
/^X\(\/\/\)$/{ s//\1/; q; }
22573
/^X\(\/\).*/{ s//\1/; q; }
23385
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23389
/^X\(\/\/\)[^/].*/{
23402
test -d "$as_dir" && break
22576
test ! -n "$as_dirs" || mkdir $as_dirs
22577
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22578
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23404
test -z "$as_dirs" || eval "mkdir $as_dirs"
23405
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23406
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22579
23407
{ (exit 1); exit 1; }; }; }
22581
23408
ac_builddir=.
22583
if test "$ac_dir" != .; then
23411
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22584
23413
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22585
# A "../" for each directory in $ac_dir_suffix.
22586
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22588
ac_dir_suffix= ac_top_builddir=
23414
# A ".." for each directory in $ac_dir_suffix.
23415
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23416
case $ac_top_builddir_sub in
23417
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23418
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23421
ac_abs_top_builddir=$ac_pwd
23422
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23423
# for backward compatibility:
23424
ac_top_builddir=$ac_top_build_prefix
22591
23426
case $srcdir in
22592
.) # No --srcdir option. We are building in place.
23427
.) # We are building in place.
22594
if test -z "$ac_top_builddir"; then
22597
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22599
[\\/]* | ?:[\\/]* ) # Absolute path.
23429
ac_top_srcdir=$ac_top_builddir_sub
23430
ac_abs_top_srcdir=$ac_pwd ;;
23431
[\\/]* | ?:[\\/]* ) # Absolute name.
22600
23432
ac_srcdir=$srcdir$ac_dir_suffix;
22601
ac_top_srcdir=$srcdir ;;
22602
*) # Relative path.
22603
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22604
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22607
# Do not use `cd foo && pwd` to compute absolute paths, because
22608
# the directories may not exist.
22610
.) ac_abs_builddir="$ac_dir";;
22613
.) ac_abs_builddir=`pwd`;;
22614
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22615
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22618
case $ac_abs_builddir in
22619
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22621
case ${ac_top_builddir}. in
22622
.) ac_abs_top_builddir=$ac_abs_builddir;;
22623
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22624
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22627
case $ac_abs_builddir in
22628
.) ac_abs_srcdir=$ac_srcdir;;
22631
.) ac_abs_srcdir=$ac_abs_builddir;;
22632
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22633
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22636
case $ac_abs_builddir in
22637
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22639
case $ac_top_srcdir in
22640
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22641
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22642
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23433
ac_top_srcdir=$srcdir
23434
ac_abs_top_srcdir=$srcdir ;;
23435
*) # Relative name.
23436
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23437
ac_top_srcdir=$ac_top_build_prefix$srcdir
23438
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23440
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22647
23449
case $INSTALL in
22648
23450
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22649
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23451
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22652
# Let's still pretend it is `configure' which instantiates (i.e., don't
22653
# use $as_me), people would be surprised to read:
22654
# /* config.h. Generated by config.status. */
22655
if test x"$ac_file" = x-; then
22658
configure_input="$ac_file. "
22660
configure_input=$configure_input"Generated from `echo $ac_file_in |
22661
sed 's,.*/,,'` by configure."
22663
# First look for the input files in the build tree, otherwise in the
22665
ac_file_inputs=`IFS=:
22666
for f in $ac_file_in; do
22668
-) echo $tmp/stdin ;;
22670
# Absolute (can't be DOS-style, as IFS=:)
22671
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22672
echo "$as_me: error: cannot find input file: $f" >&2;}
22673
{ (exit 1); exit 1; }; }
22676
if test -f "$f"; then
22679
elif test -f "$srcdir/$f"; then
22684
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22685
echo "$as_me: error: cannot find input file: $f" >&2;}
22686
{ (exit 1); exit 1; }; }
22689
done` || { (exit 1); exit 1; }
22691
if test x"$ac_file" != x-; then
22692
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22693
echo "$as_me: creating $ac_file" >&6;}
23455
cat >>$CONFIG_STATUS <<\_ACEOF
23456
# If the template does not know about datarootdir, expand it.
23457
# FIXME: This hack should be removed a few years after 2.60.
23458
ac_datarootdir_hack=; ac_datarootdir_seen=
23460
case `sed -n '/datarootdir/ {
23469
' $ac_file_inputs` in
23470
*datarootdir*) ac_datarootdir_seen=yes;;
23471
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23472
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23473
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23475
cat >>$CONFIG_STATUS <<_ACEOF
23476
ac_datarootdir_hack='
23477
s&@datadir@&$datadir&g
23478
s&@docdir@&$docdir&g
23479
s&@infodir@&$infodir&g
23480
s&@localedir@&$localedir&g
23481
s&@mandir@&$mandir&g
23482
s&\\\${datarootdir}&$datarootdir&g' ;;
23486
# Neutralize VPATH when `$srcdir' = `.'.
23487
# Shell code in configure.ac might set extrasub.
23488
# FIXME: do we really want to maintain this feature?
22697
23489
cat >>$CONFIG_STATUS <<_ACEOF
22698
23490
sed "$ac_vpsub
22701
23493
cat >>$CONFIG_STATUS <<\_ACEOF
22703
23495
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22704
s,@configure_input@,$configure_input,;t t
22705
s,@srcdir@,$ac_srcdir,;t t
22706
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22707
s,@top_srcdir@,$ac_top_srcdir,;t t
22708
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22709
s,@builddir@,$ac_builddir,;t t
22710
s,@abs_builddir@,$ac_abs_builddir,;t t
22711
s,@top_builddir@,$ac_top_builddir,;t t
22712
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22713
s,@INSTALL@,$ac_INSTALL,;t t
22714
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22716
if test x"$ac_file" != x-; then
22717
mv $tmp/out $ac_file
23496
s&@configure_input@&$configure_input&;t t
23497
s&@top_builddir@&$ac_top_builddir_sub&;t t
23498
s&@srcdir@&$ac_srcdir&;t t
23499
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23500
s&@top_srcdir@&$ac_top_srcdir&;t t
23501
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23502
s&@builddir@&$ac_builddir&;t t
23503
s&@abs_builddir@&$ac_abs_builddir&;t t
23504
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23505
s&@INSTALL@&$ac_INSTALL&;t t
23506
$ac_datarootdir_hack
23507
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23509
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23510
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23511
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23512
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23513
which seems to be undefined. Please make sure it is defined." >&5
23514
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23515
which seems to be undefined. Please make sure it is defined." >&2;}
23519
-) cat "$tmp/out"; rm -f "$tmp/out";;
23520
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22725
cat >>$CONFIG_STATUS <<\_ACEOF
22728
# CONFIG_HEADER section.
22731
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22732
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22734
# ac_d sets the value in "#define NAME VALUE" lines.
22735
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22736
ac_dB='[ ].*$,\1#\2'
23529
# Transform confdefs.h into a sed script `conftest.defines', that
23530
# substitutes the proper values into config.h.in to produce config.h.
23531
rm -f conftest.defines conftest.tail
23532
# First, append a space to every undef/define line, to ease matching.
23533
echo 's/$/ /' >conftest.defines
23534
# Then, protect against being on the right side of a sed subst, or in
23535
# an unquoted here document, in config.status. If some macros were
23536
# called several times there might be several #defines for the same
23537
# symbol, which is useless. But do not sort them, since the last
23538
# AC_DEFINE must be honored.
23539
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23540
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23541
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23542
# PARAMS is the parameter list in the macro definition--in most cases, it's
23543
# just an empty string.
23544
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23545
ac_dB='\\)[ (].*,\\1define\\2'
22739
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22740
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22741
ac_uB='$,\1#\2define\3'
22745
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22746
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22748
- | *:- | *:-:* ) # input from stdin
22750
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22751
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22752
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22753
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22754
* ) ac_file_in=$ac_file.in ;;
22757
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22758
echo "$as_me: creating $ac_file" >&6;}
22760
# First look for the input files in the build tree, otherwise in the
22762
ac_file_inputs=`IFS=:
22763
for f in $ac_file_in; do
22765
-) echo $tmp/stdin ;;
22767
# Absolute (can't be DOS-style, as IFS=:)
22768
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22769
echo "$as_me: error: cannot find input file: $f" >&2;}
22770
{ (exit 1); exit 1; }; }
22771
# Do quote $f, to prevent DOS paths from being IFS'd.
22774
if test -f "$f"; then
22777
elif test -f "$srcdir/$f"; then
22782
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22783
echo "$as_me: error: cannot find input file: $f" >&2;}
22784
{ (exit 1); exit 1; }; }
22787
done` || { (exit 1); exit 1; }
22788
# Remove the trailing spaces.
22789
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22793
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22794
# `conftest.undefs', that substitutes the proper values into
22795
# config.h.in to produce config.h. The first handles `#define'
22796
# templates, and the second `#undef' templates.
22797
# And first: Protect against being on the right side of a sed subst in
22798
# config.status. Protect against being in an unquoted here document
22799
# in config.status.
22800
rm -f conftest.defines conftest.undefs
22801
# Using a here document instead of a string reduces the quoting nightmare.
22802
# Putting comments in sed scripts is not portable.
22804
# `end' is used to avoid that the second main sed command (meant for
22805
# 0-ary CPP macros) applies to n-ary macro definitions.
22806
# See the Autoconf documentation for `clear'.
22807
cat >confdef2sed.sed <<\_ACEOF
22812
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22814
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22817
# If some macros were called several times there might be several times
22818
# the same #defines, which is useless. Nevertheless, we may not want to
22819
# sort them, since we want the *last* AC-DEFINE to be honored.
22820
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22821
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22822
rm -f confdef2sed.sed
22824
# This sed command replaces #undef with comments. This is necessary, for
23553
s/^[ ]*#[ ]*define[ ][ ]*//
23558
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23559
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23560
' >>conftest.defines
23562
# Remove the space that was appended to ease matching.
23563
# Then replace #undef with comments. This is necessary, for
22825
23564
# example, in the case of _POSIX_SOURCE, which is predefined and required
22826
23565
# on some systems where configure will not decide to define it.
22827
cat >>conftest.undefs <<\_ACEOF
22828
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23566
# (The regexp can be short, since the line contains either #define or #undef.)
23568
s,^[ #]*u.*,/* & */,' >>conftest.defines
23570
# Break up conftest.defines:
23571
ac_max_sed_lines=50
23573
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23574
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23575
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23577
ac_in='$ac_file_inputs'
23578
ac_out='"$tmp/out1"'
23579
ac_nxt='"$tmp/out2"'
23583
# Write a here document:
23584
cat >>$CONFIG_STATUS <<_ACEOF
23585
# First, check the format of the line:
23586
cat >"\$tmp/defines.sed" <<\\CEOF
23587
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23588
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22831
# Break up conftest.defines because some shells have a limit on the size
22832
# of here documents, and old seds have small limits too (100 cmds).
22833
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22834
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22835
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22836
echo ' :' >>$CONFIG_STATUS
22837
rm -f conftest.tail
22838
while grep . conftest.defines >/dev/null
22840
# Write a limited-size here document to $tmp/defines.sed.
22841
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22842
# Speed up: don't consider the non `#define' lines.
22843
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22844
# Work around the forget-to-reset-the-flag bug.
22845
echo 't clr' >>$CONFIG_STATUS
22846
echo ': clr' >>$CONFIG_STATUS
22847
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23592
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22849
sed -f $tmp/defines.sed $tmp/in >$tmp/out
22851
mv $tmp/out $tmp/in
22853
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23594
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23595
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23596
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23597
grep . conftest.tail >/dev/null || break
22854
23598
rm -f conftest.defines
22855
23599
mv conftest.tail conftest.defines
22857
rm -f conftest.defines
22858
echo ' fi # grep' >>$CONFIG_STATUS
22859
echo >>$CONFIG_STATUS
22861
# Break up conftest.undefs because some shells have a limit on the size
22862
# of here documents, and old seds have small limits too (100 cmds).
22863
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22864
rm -f conftest.tail
22865
while grep . conftest.undefs >/dev/null
22867
# Write a limited-size here document to $tmp/undefs.sed.
22868
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22869
# Speed up: don't consider the non `#undef'
22870
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22871
# Work around the forget-to-reset-the-flag bug.
22872
echo 't clr' >>$CONFIG_STATUS
22873
echo ': clr' >>$CONFIG_STATUS
22874
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22876
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22878
mv $tmp/out $tmp/in
22880
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22881
rm -f conftest.undefs
22882
mv conftest.tail conftest.undefs
22884
rm -f conftest.undefs
23601
rm -f conftest.defines conftest.tail
23603
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22886
23604
cat >>$CONFIG_STATUS <<\_ACEOF
22887
# Let's still pretend it is `configure' which instantiates (i.e., don't
22888
# use $as_me), people would be surprised to read:
22889
# /* config.h. Generated by config.status. */
22890
if test x"$ac_file" = x-; then
22891
echo "/* Generated by configure. */" >$tmp/config.h
22893
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22895
cat $tmp/in >>$tmp/config.h
22897
23605
if test x"$ac_file" != x-; then
22898
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23606
echo "/* $configure_input */" >"$tmp/config.h"
23607
cat "$ac_result" >>"$tmp/config.h"
23608
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22899
23609
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22900
23610
echo "$as_me: $ac_file is unchanged" >&6;}
22902
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22903
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22904
X"$ac_file" : 'X\(//\)[^/]' \| \
22905
X"$ac_file" : 'X\(//\)$' \| \
22906
X"$ac_file" : 'X\(/\)' \| \
22907
. : '\(.\)' 2>/dev/null ||
22909
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22910
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22911
/^X\(\/\/\)$/{ s//\1/; q; }
22912
/^X\(\/\).*/{ s//\1/; q; }
22914
{ if $as_mkdir_p; then
22919
while test ! -d "$as_dir"; do
22920
as_dirs="$as_dir $as_dirs"
22921
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22922
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22923
X"$as_dir" : 'X\(//\)[^/]' \| \
22924
X"$as_dir" : 'X\(//\)$' \| \
22925
X"$as_dir" : 'X\(/\)' \| \
22926
. : '\(.\)' 2>/dev/null ||
22928
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22929
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22930
/^X\(\/\/\)$/{ s//\1/; q; }
22931
/^X\(\/\).*/{ s//\1/; q; }
22934
test ! -n "$as_dirs" || mkdir $as_dirs
22935
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22936
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22937
{ (exit 1); exit 1; }; }; }
22939
23612
rm -f $ac_file
22940
mv $tmp/config.h $ac_file
23613
mv "$tmp/config.h" $ac_file
22944
rm -f $tmp/config.h
23616
echo "/* $configure_input */"
22946
23620
# Compute $ac_file's index in $config_headers.
22947
23621
_am_stamp_count=1
22948
23622
for _am_header in $config_headers :; do