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
21958
22686
# Name of the executable.
21959
as_me=`$as_basename "$0" ||
22687
as_me=`$as_basename -- "$0" ||
21960
22688
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21961
22689
X"$0" : 'X\(//\)$' \| \
21962
X"$0" : 'X\(/\)$' \| \
21963
. : '\(.\)' 2>/dev/null ||
22690
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21964
22691
echo X/"$0" |
21965
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21966
/^X\/\(\/\/\)$/{ s//\1/; q; }
21967
/^X\/\(\/\).*/{ s//\1/; q; }
21971
# PATH needs CR, and LINENO needs CR and PATH.
21972
# Avoid depending upon Character Ranges.
21973
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21974
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21975
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21976
as_cr_digits='0123456789'
21977
as_cr_alnum=$as_cr_Letters$as_cr_digits
21979
# The user is always right.
21980
if test "${PATH_SEPARATOR+set}" != set; then
21981
echo "#! /bin/sh" >conf$$.sh
21982
echo "exit 0" >>conf$$.sh
21984
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21993
as_lineno_1=$LINENO
21994
as_lineno_2=$LINENO
21995
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21996
test "x$as_lineno_1" != "x$as_lineno_2" &&
21997
test "x$as_lineno_3" = "x$as_lineno_2" || {
21998
# Find who we are. Look in the path if we contain no path at all
22001
*[\\/]* ) as_myself=$0 ;;
22002
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22003
for as_dir in $PATH
22006
test -z "$as_dir" && as_dir=.
22007
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22012
# We did not find ourselves, most probably we were run as `sh COMMAND'
22013
# in which case we are not to be found in the path.
22014
if test "x$as_myself" = x; then
22017
if test ! -f "$as_myself"; then
22018
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22019
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22020
{ (exit 1); exit 1; }; }
22022
case $CONFIG_SHELL in
22024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22025
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22028
test -z "$as_dir" && as_dir=.
22029
for as_base in sh bash ksh sh5; do
22032
if ("$as_dir/$as_base" -c '
22033
as_lineno_1=$LINENO
22034
as_lineno_2=$LINENO
22035
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22036
test "x$as_lineno_1" != "x$as_lineno_2" &&
22037
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
22038
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
22039
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
22040
CONFIG_SHELL=$as_dir/$as_base
22041
export CONFIG_SHELL
22042
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22692
sed '/^.*\/\([^/][^/]*\)\/*$/{
22711
as_lineno_1=$LINENO
22712
as_lineno_2=$LINENO
22713
test "x$as_lineno_1" != "x$as_lineno_2" &&
22714
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22050
22716
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22051
22717
# uniformly replaced by the line number. The first 'sed' inserts a
22052
# line-number line before each line; the second 'sed' does the real
22053
# work. The second script uses 'N' to pair each line-number line
22054
# with the numbered line, and appends trailing '-' during
22055
# substitution so that $LINENO is not a special case at line end.
22718
# line-number line after each line using $LINENO; the second 'sed'
22719
# does the real work. The second script uses 'N' to pair each
22720
# line-number line with the line containing $LINENO, and appends
22721
# trailing '-' during substitution so that $LINENO is not a special
22722
# case at line end.
22056
22723
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22057
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22058
sed '=' <$as_myself |
22724
# scripts with optimization help from Paolo Bonzini. Blame Lee
22725
# E. McMahon (1931-1989) for sed's syntax. :-)
22063
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22737
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22066
s,^['$as_cr_digits']*\n,,
22067
22740
' >$as_me.lineno &&
22068
chmod +x $as_me.lineno ||
22069
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22070
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22741
chmod +x "$as_me.lineno" ||
22742
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22071
22743
{ (exit 1); exit 1; }; }
22073
22745
# Don't try to exec as it changes $[0], causing all sort of problems
22074
22746
# (the dirname of $[0] is not the place where we might find the
22075
# original and so on. Autoconf is especially sensible to this).
22747
# original and so on. Autoconf is especially sensitive to this).
22748
. "./$as_me.lineno"
22077
22749
# Exit status is that of the last command.
22082
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22083
*c*,-n*) ECHO_N= ECHO_C='
22085
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22086
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
22754
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22760
ECHO_C= ECHO_N= ECHO_T=
22761
case `echo -n x` in
22763
case `echo 'x\c'` in
22764
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
22089
if expr a : '\(a\)' >/dev/null 2>&1; then
22771
if expr a : '\(a\)' >/dev/null 2>&1 &&
22772
test "X`expr 00001 : '.*\(...\)'`" = X001; then
22092
22775
as_expr=false
22095
22778
rm -f conf$$ conf$$.exe conf$$.file
22779
if test -d conf$$.dir; then
22780
rm -f conf$$.dir/conf$$.file
22096
22785
echo >conf$$.file
22097
22786
if ln -s conf$$.file conf$$ 2>/dev/null; then
22098
# We could just check for DJGPP; but this test a) works b) is more generic
22099
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22100
if test -f conf$$.exe; then
22101
# Don't use ln at all; we don't have any links
22788
# ... but there are two gotchas:
22789
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22790
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22791
# In both cases, we have to default to `cp -p'.
22792
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22102
22793
as_ln_s='cp -p'
22106
22794
elif ln conf$$.file conf$$ 2>/dev/null; then
22109
22797
as_ln_s='cp -p'
22111
rm -f conf$$ conf$$.exe conf$$.file
22799
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22800
rmdir conf$$.dir 2>/dev/null
22113
22802
if mkdir -p . 2>/dev/null; then
22354
23042
# Have a temporary directory for convenience. Make it in the build tree
22355
# simply because there is no reason to put it here, and in addition,
23043
# simply because there is no reason against having it here, and in addition,
22356
23044
# creating and moving files from /tmp can sometimes cause problems.
22357
# Create a temporary directory, and hook for its removal unless debugging.
23045
# Hook for its removal unless debugging.
23046
# Note that there is a small window in which the directory will not be cleaned:
23047
# after its creation but before its name has been assigned to `$tmp'.
22360
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23051
trap 'exit_status=$?
23052
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22361
23054
trap '{ (exit 1); exit 1; }' 1 2 13 15
22364
23056
# Create a (secure) tmp directory for tmp files.
22367
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23059
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22368
23060
test -n "$tmp" && test -d "$tmp"
22371
tmp=./confstat$$-$RANDOM
22372
(umask 077 && mkdir $tmp)
23063
tmp=./conf$$-$RANDOM
23064
(umask 077 && mkdir "$tmp")
22375
23067
echo "$me: cannot create a temporary directory in ." >&2
22376
23068
{ (exit 1); exit 1; }
22381
cat >>$CONFIG_STATUS <<_ACEOF
22384
# CONFIG_FILES section.
23072
# Set up the sed scripts for CONFIG_FILES section.
22387
23075
# No need to generate the scripts if there are no CONFIG_FILES.
22388
23076
# This happens for instance when ./config.status config.h
22389
if test -n "\$CONFIG_FILES"; then
22390
# Protect against being on the right side of a sed subst in config.status.
22391
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22392
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22393
s,@SHELL@,$SHELL,;t t
22394
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22395
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22396
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22397
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22398
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22399
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22400
s,@exec_prefix@,$exec_prefix,;t t
22401
s,@prefix@,$prefix,;t t
22402
s,@program_transform_name@,$program_transform_name,;t t
22403
s,@bindir@,$bindir,;t t
22404
s,@sbindir@,$sbindir,;t t
22405
s,@libexecdir@,$libexecdir,;t t
22406
s,@datadir@,$datadir,;t t
22407
s,@sysconfdir@,$sysconfdir,;t t
22408
s,@sharedstatedir@,$sharedstatedir,;t t
22409
s,@localstatedir@,$localstatedir,;t t
22410
s,@libdir@,$libdir,;t t
22411
s,@includedir@,$includedir,;t t
22412
s,@oldincludedir@,$oldincludedir,;t t
22413
s,@infodir@,$infodir,;t t
22414
s,@mandir@,$mandir,;t t
22415
s,@build_alias@,$build_alias,;t t
22416
s,@host_alias@,$host_alias,;t t
22417
s,@target_alias@,$target_alias,;t t
22418
s,@DEFS@,$DEFS,;t t
22419
s,@ECHO_C@,$ECHO_C,;t t
22420
s,@ECHO_N@,$ECHO_N,;t t
22421
s,@ECHO_T@,$ECHO_T,;t t
22422
s,@LIBS@,$LIBS,;t t
22423
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22424
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22425
s,@MAINT@,$MAINT,;t t
22426
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22427
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22428
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22429
s,@CYGPATH_W@,$CYGPATH_W,;t t
22430
s,@PACKAGE@,$PACKAGE,;t t
22431
s,@VERSION@,$VERSION,;t t
22432
s,@ACLOCAL@,$ACLOCAL,;t t
22433
s,@AUTOCONF@,$AUTOCONF,;t t
22434
s,@AUTOMAKE@,$AUTOMAKE,;t t
22435
s,@AUTOHEADER@,$AUTOHEADER,;t t
22436
s,@MAKEINFO@,$MAKEINFO,;t t
22437
s,@install_sh@,$install_sh,;t t
22438
s,@STRIP@,$STRIP,;t t
22439
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22440
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22441
s,@mkdir_p@,$mkdir_p,;t t
22443
s,@SET_MAKE@,$SET_MAKE,;t t
22444
s,@am__leading_dot@,$am__leading_dot,;t t
22445
s,@AMTAR@,$AMTAR,;t t
22446
s,@am__tar@,$am__tar,;t t
22447
s,@am__untar@,$am__untar,;t t
22448
s,@VERSION_INFO@,$VERSION_INFO,;t t
22449
s,@FLAVOR@,$FLAVOR,;t t
22451
s,@CFLAGS@,$CFLAGS,;t t
22452
s,@LDFLAGS@,$LDFLAGS,;t t
22453
s,@CPPFLAGS@,$CPPFLAGS,;t t
22454
s,@ac_ct_CC@,$ac_ct_CC,;t t
22455
s,@EXEEXT@,$EXEEXT,;t t
22456
s,@OBJEXT@,$OBJEXT,;t t
22457
s,@DEPDIR@,$DEPDIR,;t t
22458
s,@am__include@,$am__include,;t t
22459
s,@am__quote@,$am__quote,;t t
22460
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22461
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22462
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22463
s,@CCDEPMODE@,$CCDEPMODE,;t t
22464
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22465
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22467
s,@LN_S@,$LN_S,;t t
22468
s,@EGREP@,$EGREP,;t t
22469
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
22471
s,@ac_ct_AR@,$ac_ct_AR,;t t
22473
s,@ac_ct_LD@,$ac_ct_LD,;t t
22474
s,@RANLIB@,$RANLIB,;t t
22475
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22476
s,@build@,$build,;t t
22477
s,@build_cpu@,$build_cpu,;t t
22478
s,@build_vendor@,$build_vendor,;t t
22479
s,@build_os@,$build_os,;t t
22480
s,@host@,$host,;t t
22481
s,@host_cpu@,$host_cpu,;t t
22482
s,@host_vendor@,$host_vendor,;t t
22483
s,@host_os@,$host_os,;t t
22484
s,@ECHO@,$ECHO,;t t
22486
s,@CXXFLAGS@,$CXXFLAGS,;t t
22487
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22488
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22489
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22490
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22491
s,@CXXCPP@,$CXXCPP,;t t
22493
s,@FFLAGS@,$FFLAGS,;t t
22494
s,@ac_ct_F77@,$ac_ct_F77,;t t
22495
s,@LIBTOOL@,$LIBTOOL,;t t
22496
s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
22497
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22502
cat >>$CONFIG_STATUS <<\_ACEOF
22503
# Split the substitutions into bite-sized pieces for seds with
22504
# small command number limits, like on Digital OSF/1 and HP-UX.
22505
ac_max_sed_lines=48
22506
ac_sed_frag=1 # Number of current file.
22507
ac_beg=1 # First line for current file.
22508
ac_end=$ac_max_sed_lines # Line after last line for current file.
22511
while $ac_more_lines; do
22512
if test $ac_beg -gt 1; then
22513
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22515
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22517
if test ! -s $tmp/subs.frag; then
22518
ac_more_lines=false
22520
# The purpose of the label and of the branching condition is to
22521
# speed up the sed processing (if there are no `@' at all, there
22522
# is no need to browse any of the substitutions).
22523
# These are the two extra sed commands mentioned above.
22525
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22526
if test -z "$ac_sed_cmds"; then
22527
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22529
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22531
ac_sed_frag=`expr $ac_sed_frag + 1`
22533
ac_end=`expr $ac_end + $ac_max_sed_lines`
22536
if test -z "$ac_sed_cmds"; then
23077
if test -n "$CONFIG_FILES"; then
23084
for ac_last_try in false false false false false :; do
23085
cat >conf$$subs.sed <<_ACEOF
23086
SHELL!$SHELL$ac_delim
23087
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23088
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23089
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23090
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23091
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23092
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23093
exec_prefix!$exec_prefix$ac_delim
23094
prefix!$prefix$ac_delim
23095
program_transform_name!$program_transform_name$ac_delim
23096
bindir!$bindir$ac_delim
23097
sbindir!$sbindir$ac_delim
23098
libexecdir!$libexecdir$ac_delim
23099
datarootdir!$datarootdir$ac_delim
23100
datadir!$datadir$ac_delim
23101
sysconfdir!$sysconfdir$ac_delim
23102
sharedstatedir!$sharedstatedir$ac_delim
23103
localstatedir!$localstatedir$ac_delim
23104
includedir!$includedir$ac_delim
23105
oldincludedir!$oldincludedir$ac_delim
23106
docdir!$docdir$ac_delim
23107
infodir!$infodir$ac_delim
23108
htmldir!$htmldir$ac_delim
23109
dvidir!$dvidir$ac_delim
23110
pdfdir!$pdfdir$ac_delim
23111
psdir!$psdir$ac_delim
23112
libdir!$libdir$ac_delim
23113
localedir!$localedir$ac_delim
23114
mandir!$mandir$ac_delim
23115
DEFS!$DEFS$ac_delim
23116
ECHO_C!$ECHO_C$ac_delim
23117
ECHO_N!$ECHO_N$ac_delim
23118
ECHO_T!$ECHO_T$ac_delim
23119
LIBS!$LIBS$ac_delim
23120
build_alias!$build_alias$ac_delim
23121
host_alias!$host_alias$ac_delim
23122
target_alias!$target_alias$ac_delim
23123
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23124
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23125
MAINT!$MAINT$ac_delim
23126
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23127
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23128
INSTALL_DATA!$INSTALL_DATA$ac_delim
23129
CYGPATH_W!$CYGPATH_W$ac_delim
23130
PACKAGE!$PACKAGE$ac_delim
23131
VERSION!$VERSION$ac_delim
23132
ACLOCAL!$ACLOCAL$ac_delim
23133
AUTOCONF!$AUTOCONF$ac_delim
23134
AUTOMAKE!$AUTOMAKE$ac_delim
23135
AUTOHEADER!$AUTOHEADER$ac_delim
23136
MAKEINFO!$MAKEINFO$ac_delim
23137
install_sh!$install_sh$ac_delim
23138
STRIP!$STRIP$ac_delim
23139
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23140
mkdir_p!$mkdir_p$ac_delim
23142
SET_MAKE!$SET_MAKE$ac_delim
23143
am__leading_dot!$am__leading_dot$ac_delim
23144
AMTAR!$AMTAR$ac_delim
23145
am__tar!$am__tar$ac_delim
23146
am__untar!$am__untar$ac_delim
23147
VERSION_INFO!$VERSION_INFO$ac_delim
23148
FLAVOR!$FLAVOR$ac_delim
23150
CFLAGS!$CFLAGS$ac_delim
23151
LDFLAGS!$LDFLAGS$ac_delim
23152
CPPFLAGS!$CPPFLAGS$ac_delim
23153
ac_ct_CC!$ac_ct_CC$ac_delim
23154
EXEEXT!$EXEEXT$ac_delim
23155
OBJEXT!$OBJEXT$ac_delim
23156
DEPDIR!$DEPDIR$ac_delim
23157
am__include!$am__include$ac_delim
23158
am__quote!$am__quote$ac_delim
23159
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23160
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23161
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23162
CCDEPMODE!$CCDEPMODE$ac_delim
23163
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23164
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23166
LN_S!$LN_S$ac_delim
23167
GREP!$GREP$ac_delim
23168
EGREP!$EGREP$ac_delim
23169
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
23172
RANLIB!$RANLIB$ac_delim
23173
build!$build$ac_delim
23174
build_cpu!$build_cpu$ac_delim
23175
build_vendor!$build_vendor$ac_delim
23176
build_os!$build_os$ac_delim
23177
host!$host$ac_delim
23178
host_cpu!$host_cpu$ac_delim
23179
host_vendor!$host_vendor$ac_delim
23180
host_os!$host_os$ac_delim
23181
ECHO!$ECHO$ac_delim
23185
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23187
elif $ac_last_try; then
23188
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23189
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23190
{ (exit 1); exit 1; }; }
23192
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23196
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23197
if test -n "$ac_eof"; then
23198
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23199
ac_eof=`expr $ac_eof + 1`
23202
cat >>$CONFIG_STATUS <<_ACEOF
23203
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23204
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23207
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23208
s/^/s,@/; s/!/@,|#_!!_#|/
23211
s/'"$ac_delim"'$/,g/; t
23213
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23214
' >>$CONFIG_STATUS <conf$$subs.sed
23215
rm -f conf$$subs.sed
23216
cat >>$CONFIG_STATUS <<_ACEOF
23222
for ac_last_try in false false false false false :; do
23223
cat >conf$$subs.sed <<_ACEOF
23224
CXXFLAGS!$CXXFLAGS$ac_delim
23225
ac_ct_CXX!$ac_ct_CXX$ac_delim
23226
CXXDEPMODE!$CXXDEPMODE$ac_delim
23227
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23228
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23229
CXXCPP!$CXXCPP$ac_delim
23231
FFLAGS!$FFLAGS$ac_delim
23232
ac_ct_F77!$ac_ct_F77$ac_delim
23233
LIBTOOL!$LIBTOOL$ac_delim
23234
WARN_CFLAGS!$WARN_CFLAGS$ac_delim
23235
LTLIBOBJS!$LTLIBOBJS$ac_delim
23238
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
23240
elif $ac_last_try; then
23241
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23242
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23243
{ (exit 1); exit 1; }; }
23245
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23249
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23250
if test -n "$ac_eof"; then
23251
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23252
ac_eof=`expr $ac_eof + 1`
23255
cat >>$CONFIG_STATUS <<_ACEOF
23256
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23257
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23260
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23261
s/^/s,@/; s/!/@,|#_!!_#|/
23264
s/'"$ac_delim"'$/,g/; t
23266
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23267
' >>$CONFIG_STATUS <conf$$subs.sed
23268
rm -f conf$$subs.sed
23269
cat >>$CONFIG_STATUS <<_ACEOF
23276
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23277
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23278
# trailing colons and then remove the whole line if VPATH becomes empty
23279
# (actually we leave an empty line to preserve line numbers).
23280
if test "x$srcdir" = x.; then
23281
ac_vpsub='/^[ ]*VPATH[ ]*=/{
23282
s/:*\$(srcdir):*/:/
23283
s/:*\${srcdir}:*/:/
23285
s/^\([^=]*=[ ]*\):*/\1/
23291
cat >>$CONFIG_STATUS <<\_ACEOF
22539
23292
fi # test -n "$CONFIG_FILES"
22542
cat >>$CONFIG_STATUS <<\_ACEOF
22543
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22544
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22546
- | *:- | *:-:* ) # input from stdin
22548
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22549
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22550
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22551
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22552
* ) ac_file_in=$ac_file.in ;;
22555
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22556
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23295
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23298
:[FHLC]) ac_mode=$ac_tag; continue;;
23300
case $ac_mode$ac_tag in
23302
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23303
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23304
{ (exit 1); exit 1; }; };;
23305
:[FH]-) ac_tag=-:-;;
23306
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23323
-) ac_f="$tmp/stdin";;
23324
*) # Look for the file first in the build tree, then in the source tree
23325
# (if the path is not absolute). The absolute path cannot be DOS-style,
23326
# because $ac_f cannot contain `:'.
23330
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23332
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23333
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23334
{ (exit 1); exit 1; }; };;
23336
ac_file_inputs="$ac_file_inputs $ac_f"
23339
# Let's still pretend it is `configure' which instantiates (i.e., don't
23340
# use $as_me), people would be surprised to read:
23341
# /* config.h. Generated by config.status. */
23342
configure_input="Generated from "`IFS=:
23343
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23344
if test x"$ac_file" != x-; then
23345
configure_input="$ac_file. $configure_input"
23346
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23347
echo "$as_me: creating $ac_file" >&6;}
23351
*:-:* | *:-) cat >"$tmp/stdin";;
23356
ac_dir=`$as_dirname -- "$ac_file" ||
22557
23357
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22558
23358
X"$ac_file" : 'X\(//\)[^/]' \| \
22559
23359
X"$ac_file" : 'X\(//\)$' \| \
22560
X"$ac_file" : 'X\(/\)' \| \
22561
. : '\(.\)' 2>/dev/null ||
23360
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22562
23361
echo X"$ac_file" |
22563
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22564
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22565
/^X\(\/\/\)$/{ s//\1/; q; }
22566
/^X\(\/\).*/{ s//\1/; q; }
22568
{ if $as_mkdir_p; then
23362
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23366
/^X\(\/\/\)[^/].*/{
23381
-*) as_dir=./$as_dir;;
23383
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22573
while test ! -d "$as_dir"; do
22574
as_dirs="$as_dir $as_dirs"
22575
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23387
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23388
*) as_qdir=$as_dir;;
23390
as_dirs="'$as_qdir' $as_dirs"
23391
as_dir=`$as_dirname -- "$as_dir" ||
22576
23392
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22577
23393
X"$as_dir" : 'X\(//\)[^/]' \| \
22578
23394
X"$as_dir" : 'X\(//\)$' \| \
22579
X"$as_dir" : 'X\(/\)' \| \
22580
. : '\(.\)' 2>/dev/null ||
23395
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22581
23396
echo X"$as_dir" |
22582
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22583
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22584
/^X\(\/\/\)$/{ s//\1/; q; }
22585
/^X\(\/\).*/{ s//\1/; q; }
23397
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23401
/^X\(\/\/\)[^/].*/{
23414
test -d "$as_dir" && break
22588
test ! -n "$as_dirs" || mkdir $as_dirs
22589
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22590
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23416
test -z "$as_dirs" || eval "mkdir $as_dirs"
23417
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23418
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22591
23419
{ (exit 1); exit 1; }; }; }
22593
23420
ac_builddir=.
22595
if test "$ac_dir" != .; then
23423
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22596
23425
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22597
# A "../" for each directory in $ac_dir_suffix.
22598
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22600
ac_dir_suffix= ac_top_builddir=
23426
# A ".." for each directory in $ac_dir_suffix.
23427
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23428
case $ac_top_builddir_sub in
23429
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23430
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23433
ac_abs_top_builddir=$ac_pwd
23434
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23435
# for backward compatibility:
23436
ac_top_builddir=$ac_top_build_prefix
22603
23438
case $srcdir in
22604
.) # No --srcdir option. We are building in place.
23439
.) # We are building in place.
22606
if test -z "$ac_top_builddir"; then
22609
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22611
[\\/]* | ?:[\\/]* ) # Absolute path.
23441
ac_top_srcdir=$ac_top_builddir_sub
23442
ac_abs_top_srcdir=$ac_pwd ;;
23443
[\\/]* | ?:[\\/]* ) # Absolute name.
22612
23444
ac_srcdir=$srcdir$ac_dir_suffix;
22613
ac_top_srcdir=$srcdir ;;
22614
*) # Relative path.
22615
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22616
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22619
# Do not use `cd foo && pwd` to compute absolute paths, because
22620
# the directories may not exist.
22622
.) ac_abs_builddir="$ac_dir";;
22625
.) ac_abs_builddir=`pwd`;;
22626
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22627
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22630
case $ac_abs_builddir in
22631
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22633
case ${ac_top_builddir}. in
22634
.) ac_abs_top_builddir=$ac_abs_builddir;;
22635
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22636
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22639
case $ac_abs_builddir in
22640
.) ac_abs_srcdir=$ac_srcdir;;
22643
.) ac_abs_srcdir=$ac_abs_builddir;;
22644
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22645
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22648
case $ac_abs_builddir in
22649
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22651
case $ac_top_srcdir in
22652
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22653
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22654
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23445
ac_top_srcdir=$srcdir
23446
ac_abs_top_srcdir=$srcdir ;;
23447
*) # Relative name.
23448
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23449
ac_top_srcdir=$ac_top_build_prefix$srcdir
23450
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23452
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22659
23461
case $INSTALL in
22660
23462
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22661
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23463
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22664
# Let's still pretend it is `configure' which instantiates (i.e., don't
22665
# use $as_me), people would be surprised to read:
22666
# /* config.h. Generated by config.status. */
22667
if test x"$ac_file" = x-; then
22670
configure_input="$ac_file. "
22672
configure_input=$configure_input"Generated from `echo $ac_file_in |
22673
sed 's,.*/,,'` by configure."
22675
# First look for the input files in the build tree, otherwise in the
22677
ac_file_inputs=`IFS=:
22678
for f in $ac_file_in; do
22680
-) echo $tmp/stdin ;;
22682
# Absolute (can't be DOS-style, as IFS=:)
22683
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22684
echo "$as_me: error: cannot find input file: $f" >&2;}
22685
{ (exit 1); exit 1; }; }
22688
if test -f "$f"; then
22691
elif test -f "$srcdir/$f"; then
22696
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22697
echo "$as_me: error: cannot find input file: $f" >&2;}
22698
{ (exit 1); exit 1; }; }
22701
done` || { (exit 1); exit 1; }
22703
if test x"$ac_file" != x-; then
22704
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22705
echo "$as_me: creating $ac_file" >&6;}
23467
cat >>$CONFIG_STATUS <<\_ACEOF
23468
# If the template does not know about datarootdir, expand it.
23469
# FIXME: This hack should be removed a few years after 2.60.
23470
ac_datarootdir_hack=; ac_datarootdir_seen=
23472
case `sed -n '/datarootdir/ {
23481
' $ac_file_inputs` in
23482
*datarootdir*) ac_datarootdir_seen=yes;;
23483
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23484
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23485
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23487
cat >>$CONFIG_STATUS <<_ACEOF
23488
ac_datarootdir_hack='
23489
s&@datadir@&$datadir&g
23490
s&@docdir@&$docdir&g
23491
s&@infodir@&$infodir&g
23492
s&@localedir@&$localedir&g
23493
s&@mandir@&$mandir&g
23494
s&\\\${datarootdir}&$datarootdir&g' ;;
23498
# Neutralize VPATH when `$srcdir' = `.'.
23499
# Shell code in configure.ac might set extrasub.
23500
# FIXME: do we really want to maintain this feature?
22709
23501
cat >>$CONFIG_STATUS <<_ACEOF
22710
23502
sed "$ac_vpsub
22713
23505
cat >>$CONFIG_STATUS <<\_ACEOF
22715
23507
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22716
s,@configure_input@,$configure_input,;t t
22717
s,@srcdir@,$ac_srcdir,;t t
22718
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22719
s,@top_srcdir@,$ac_top_srcdir,;t t
22720
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22721
s,@builddir@,$ac_builddir,;t t
22722
s,@abs_builddir@,$ac_abs_builddir,;t t
22723
s,@top_builddir@,$ac_top_builddir,;t t
22724
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22725
s,@INSTALL@,$ac_INSTALL,;t t
22726
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22728
if test x"$ac_file" != x-; then
22729
mv $tmp/out $ac_file
23508
s&@configure_input@&$configure_input&;t t
23509
s&@top_builddir@&$ac_top_builddir_sub&;t t
23510
s&@srcdir@&$ac_srcdir&;t t
23511
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23512
s&@top_srcdir@&$ac_top_srcdir&;t t
23513
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23514
s&@builddir@&$ac_builddir&;t t
23515
s&@abs_builddir@&$ac_abs_builddir&;t t
23516
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23517
s&@INSTALL@&$ac_INSTALL&;t t
23518
$ac_datarootdir_hack
23519
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23521
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23522
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23523
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23524
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23525
which seems to be undefined. Please make sure it is defined." >&5
23526
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23527
which seems to be undefined. Please make sure it is defined." >&2;}
23531
-) cat "$tmp/out"; rm -f "$tmp/out";;
23532
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22737
cat >>$CONFIG_STATUS <<\_ACEOF
22740
# CONFIG_HEADER section.
22743
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22744
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22746
# ac_d sets the value in "#define NAME VALUE" lines.
22747
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22748
ac_dB='[ ].*$,\1#\2'
23541
# Transform confdefs.h into a sed script `conftest.defines', that
23542
# substitutes the proper values into config.h.in to produce config.h.
23543
rm -f conftest.defines conftest.tail
23544
# First, append a space to every undef/define line, to ease matching.
23545
echo 's/$/ /' >conftest.defines
23546
# Then, protect against being on the right side of a sed subst, or in
23547
# an unquoted here document, in config.status. If some macros were
23548
# called several times there might be several #defines for the same
23549
# symbol, which is useless. But do not sort them, since the last
23550
# AC_DEFINE must be honored.
23551
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23552
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23553
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23554
# PARAMS is the parameter list in the macro definition--in most cases, it's
23555
# just an empty string.
23556
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23557
ac_dB='\\)[ (].*,\\1define\\2'
22751
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22752
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22753
ac_uB='$,\1#\2define\3'
22757
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22758
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22760
- | *:- | *:-:* ) # input from stdin
22762
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22763
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22764
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22765
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22766
* ) ac_file_in=$ac_file.in ;;
22769
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22770
echo "$as_me: creating $ac_file" >&6;}
22772
# First look for the input files in the build tree, otherwise in the
22774
ac_file_inputs=`IFS=:
22775
for f in $ac_file_in; do
22777
-) echo $tmp/stdin ;;
22779
# Absolute (can't be DOS-style, as IFS=:)
22780
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22781
echo "$as_me: error: cannot find input file: $f" >&2;}
22782
{ (exit 1); exit 1; }; }
22783
# Do quote $f, to prevent DOS paths from being IFS'd.
22786
if test -f "$f"; then
22789
elif test -f "$srcdir/$f"; then
22794
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22795
echo "$as_me: error: cannot find input file: $f" >&2;}
22796
{ (exit 1); exit 1; }; }
22799
done` || { (exit 1); exit 1; }
22800
# Remove the trailing spaces.
22801
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22805
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22806
# `conftest.undefs', that substitutes the proper values into
22807
# config.h.in to produce config.h. The first handles `#define'
22808
# templates, and the second `#undef' templates.
22809
# And first: Protect against being on the right side of a sed subst in
22810
# config.status. Protect against being in an unquoted here document
22811
# in config.status.
22812
rm -f conftest.defines conftest.undefs
22813
# Using a here document instead of a string reduces the quoting nightmare.
22814
# Putting comments in sed scripts is not portable.
22816
# `end' is used to avoid that the second main sed command (meant for
22817
# 0-ary CPP macros) applies to n-ary macro definitions.
22818
# See the Autoconf documentation for `clear'.
22819
cat >confdef2sed.sed <<\_ACEOF
22824
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22826
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22829
# If some macros were called several times there might be several times
22830
# the same #defines, which is useless. Nevertheless, we may not want to
22831
# sort them, since we want the *last* AC-DEFINE to be honored.
22832
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22833
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22834
rm -f confdef2sed.sed
22836
# This sed command replaces #undef with comments. This is necessary, for
23565
s/^[ ]*#[ ]*define[ ][ ]*//
23570
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23571
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23572
' >>conftest.defines
23574
# Remove the space that was appended to ease matching.
23575
# Then replace #undef with comments. This is necessary, for
22837
23576
# example, in the case of _POSIX_SOURCE, which is predefined and required
22838
23577
# on some systems where configure will not decide to define it.
22839
cat >>conftest.undefs <<\_ACEOF
22840
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23578
# (The regexp can be short, since the line contains either #define or #undef.)
23580
s,^[ #]*u.*,/* & */,' >>conftest.defines
23582
# Break up conftest.defines:
23583
ac_max_sed_lines=50
23585
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23586
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23587
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23589
ac_in='$ac_file_inputs'
23590
ac_out='"$tmp/out1"'
23591
ac_nxt='"$tmp/out2"'
23595
# Write a here document:
23596
cat >>$CONFIG_STATUS <<_ACEOF
23597
# First, check the format of the line:
23598
cat >"\$tmp/defines.sed" <<\\CEOF
23599
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23600
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22843
# Break up conftest.defines because some shells have a limit on the size
22844
# of here documents, and old seds have small limits too (100 cmds).
22845
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22846
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22847
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22848
echo ' :' >>$CONFIG_STATUS
22849
rm -f conftest.tail
22850
while grep . conftest.defines >/dev/null
22852
# Write a limited-size here document to $tmp/defines.sed.
22853
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22854
# Speed up: don't consider the non `#define' lines.
22855
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22856
# Work around the forget-to-reset-the-flag bug.
22857
echo 't clr' >>$CONFIG_STATUS
22858
echo ': clr' >>$CONFIG_STATUS
22859
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23604
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22861
sed -f $tmp/defines.sed $tmp/in >$tmp/out
22863
mv $tmp/out $tmp/in
22865
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23606
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23607
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23608
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23609
grep . conftest.tail >/dev/null || break
22866
23610
rm -f conftest.defines
22867
23611
mv conftest.tail conftest.defines
22869
rm -f conftest.defines
22870
echo ' fi # grep' >>$CONFIG_STATUS
22871
echo >>$CONFIG_STATUS
22873
# Break up conftest.undefs because some shells have a limit on the size
22874
# of here documents, and old seds have small limits too (100 cmds).
22875
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22876
rm -f conftest.tail
22877
while grep . conftest.undefs >/dev/null
22879
# Write a limited-size here document to $tmp/undefs.sed.
22880
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22881
# Speed up: don't consider the non `#undef'
22882
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22883
# Work around the forget-to-reset-the-flag bug.
22884
echo 't clr' >>$CONFIG_STATUS
22885
echo ': clr' >>$CONFIG_STATUS
22886
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22888
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22890
mv $tmp/out $tmp/in
22892
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22893
rm -f conftest.undefs
22894
mv conftest.tail conftest.undefs
22896
rm -f conftest.undefs
23613
rm -f conftest.defines conftest.tail
23615
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22898
23616
cat >>$CONFIG_STATUS <<\_ACEOF
22899
# Let's still pretend it is `configure' which instantiates (i.e., don't
22900
# use $as_me), people would be surprised to read:
22901
# /* config.h. Generated by config.status. */
22902
if test x"$ac_file" = x-; then
22903
echo "/* Generated by configure. */" >$tmp/config.h
22905
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22907
cat $tmp/in >>$tmp/config.h
22909
23617
if test x"$ac_file" != x-; then
22910
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23618
echo "/* $configure_input */" >"$tmp/config.h"
23619
cat "$ac_result" >>"$tmp/config.h"
23620
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22911
23621
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22912
23622
echo "$as_me: $ac_file is unchanged" >&6;}
22914
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22915
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22916
X"$ac_file" : 'X\(//\)[^/]' \| \
22917
X"$ac_file" : 'X\(//\)$' \| \
22918
X"$ac_file" : 'X\(/\)' \| \
22919
. : '\(.\)' 2>/dev/null ||
22921
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22922
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22923
/^X\(\/\/\)$/{ s//\1/; q; }
22924
/^X\(\/\).*/{ s//\1/; q; }
22926
{ if $as_mkdir_p; then
22931
while test ! -d "$as_dir"; do
22932
as_dirs="$as_dir $as_dirs"
22933
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22934
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22935
X"$as_dir" : 'X\(//\)[^/]' \| \
22936
X"$as_dir" : 'X\(//\)$' \| \
22937
X"$as_dir" : 'X\(/\)' \| \
22938
. : '\(.\)' 2>/dev/null ||
22940
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22941
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22942
/^X\(\/\/\)$/{ s//\1/; q; }
22943
/^X\(\/\).*/{ s//\1/; q; }
22946
test ! -n "$as_dirs" || mkdir $as_dirs
22947
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22948
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22949
{ (exit 1); exit 1; }; }; }
22951
23624
rm -f $ac_file
22952
mv $tmp/config.h $ac_file
23625
mv "$tmp/config.h" $ac_file
22956
rm -f $tmp/config.h
23628
echo "/* $configure_input */"
22958
23632
# Compute $ac_file's index in $config_headers.
22959
23633
_am_stamp_count=1
22960
23634
for _am_header in $config_headers :; do