65
130
# Name of the executable.
66
as_me=`$as_basename "$0" ||
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
130
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
162
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
452
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
453
chmod +x "$as_me.lineno" ||
175
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
{ (exit 1); exit 1; }; }
178
457
# Don't try to exec as it changes $[0], causing all sort of problems
179
458
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
459
# original and so on. Autoconf is especially sensitive to this).
182
461
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
201
497
echo >conf$$.file
202
498
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
218
514
if mkdir -p . 2>/dev/null; then
1066
1510
it to find libraries and programs with nonstandard names/locations.
1071
1516
if test "$ac_init_help" = "recursive"; then
1072
1517
# If there are subdirs, report their specific --help.
1074
1518
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1075
test -d $ac_dir || continue
1519
test -d "$ac_dir" || continue
1078
if test "$ac_dir" != .; then
1523
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1079
1525
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1080
# A "../" for each directory in $ac_dir_suffix.
1081
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1083
ac_dir_suffix= ac_top_builddir=
1526
# A ".." for each directory in $ac_dir_suffix.
1527
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1528
case $ac_top_builddir_sub in
1529
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1533
ac_abs_top_builddir=$ac_pwd
1534
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1535
# for backward compatibility:
1536
ac_top_builddir=$ac_top_build_prefix
1086
1538
case $srcdir in
1087
.) # No --srcdir option. We are building in place.
1539
.) # We are building in place.
1089
if test -z "$ac_top_builddir"; then
1092
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1094
[\\/]* | ?:[\\/]* ) # Absolute path.
1541
ac_top_srcdir=$ac_top_builddir_sub
1542
ac_abs_top_srcdir=$ac_pwd ;;
1543
[\\/]* | ?:[\\/]* ) # Absolute name.
1095
1544
ac_srcdir=$srcdir$ac_dir_suffix;
1096
ac_top_srcdir=$srcdir ;;
1098
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1099
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1102
# Do not use `cd foo && pwd` to compute absolute paths, because
1103
# the directories may not exist.
1105
.) ac_abs_builddir="$ac_dir";;
1108
.) ac_abs_builddir=`pwd`;;
1109
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1110
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1113
case $ac_abs_builddir in
1114
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1116
case ${ac_top_builddir}. in
1117
.) ac_abs_top_builddir=$ac_abs_builddir;;
1118
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1119
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1122
case $ac_abs_builddir in
1123
.) ac_abs_srcdir=$ac_srcdir;;
1126
.) ac_abs_srcdir=$ac_abs_builddir;;
1127
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1128
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1131
case $ac_abs_builddir in
1132
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1134
case $ac_top_srcdir in
1135
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1136
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1137
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1142
# Check for guested configure; otherwise get Cygnus style configure.
1143
if test -f $ac_srcdir/configure.gnu; then
1145
$SHELL $ac_srcdir/configure.gnu --help=recursive
1146
elif test -f $ac_srcdir/configure; then
1148
$SHELL $ac_srcdir/configure --help=recursive
1149
elif test -f $ac_srcdir/configure.ac ||
1150
test -f $ac_srcdir/configure.in; then
1152
$ac_configure --help
1545
ac_top_srcdir=$srcdir
1546
ac_abs_top_srcdir=$srcdir ;;
1548
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1549
ac_top_srcdir=$ac_top_build_prefix$srcdir
1550
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1552
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1554
cd "$ac_dir" || { ac_status=$?; continue; }
1555
# Check for guested configure.
1556
if test -f "$ac_srcdir/configure.gnu"; then
1558
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1559
elif test -f "$ac_srcdir/configure"; then
1561
$SHELL "$ac_srcdir/configure" --help=recursive
1154
1563
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1565
cd "$ac_pwd" || { ac_status=$?; break; }
1160
test -n "$ac_init_help" && exit 0
1569
test -n "$ac_init_help" && exit $ac_status
1161
1570
if $ac_init_version; then
1573
generated by GNU Autoconf 2.61
1164
Copyright (C) 2003 Free Software Foundation, Inc.
1575
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1576
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1165
1577
This configure script is free software; the Free Software Foundation
1166
1578
gives unlimited permission to copy, distribute and modify it.
1582
cat >config.log <<_ACEOF
1172
1583
This file contains any messages produced by compilers while
1173
1584
running configure, to aid debugging if configure makes a mistake.
1175
1586
It was created by $as_me, which was
1176
generated by GNU Autoconf 2.59. Invocation command line was
1587
generated by GNU Autoconf 2.61. Invocation command line was
1183
1595
@%:@@%:@ --------- @%:@@%:@
2540
3047
rm -f conftest.$ac_objext
2541
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2542
(eval $ac_compile) 2>conftest.er1
3048
if { (ac_try="$ac_compile"
3050
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3051
*) ac_try_echo=$ac_try;;
3053
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3054
(eval "$ac_compile") 2>conftest.er1
2544
3056
grep -v '^ *+' conftest.er1 >conftest.err
2545
3057
rm -f conftest.er1
2546
3058
cat conftest.err >&5
2547
3059
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548
(exit $ac_status); } &&
2549
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2550
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2553
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554
(exit $ac_status); }; } &&
2555
{ ac_try='test -s conftest.$ac_objext'
2556
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2559
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2560
(exit $ac_status); }; }; then
3060
(exit $ac_status); } && {
3061
test -z "$ac_c_werror_flag" ||
3062
test ! -s conftest.err
3063
} && test -s conftest.$ac_objext; then
2561
3064
ac_compiler_gnu=yes
2563
3066
echo "$as_me: failed program was:" >&5
2564
3067
sed 's/^/| /' conftest.$ac_ext >&5
2568
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2569
3073
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2572
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2573
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3076
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3077
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2574
3078
GCC=`test $ac_compiler_gnu = yes && echo yes`
2575
3079
ac_test_CFLAGS=${CFLAGS+set}
2576
3080
ac_save_CFLAGS=$CFLAGS
2578
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2579
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3081
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3082
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2580
3083
if test "${ac_cv_prog_cc_g+set}" = set; then
2581
3084
echo $ECHO_N "(cached) $ECHO_C" >&6
2583
cat >conftest.$ac_ext <<_ACEOF
2586
cat confdefs.h >>conftest.$ac_ext
2587
cat >>conftest.$ac_ext <<_ACEOF
2588
/* end confdefs.h. */
2598
rm -f conftest.$ac_objext
2599
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2600
(eval $ac_compile) 2>conftest.er1
2602
grep -v '^ *+' conftest.er1 >conftest.err
2604
cat conftest.err >&5
2605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
(exit $ac_status); } &&
2607
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
(exit $ac_status); }; } &&
2613
{ ac_try='test -s conftest.$ac_objext'
2614
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618
(exit $ac_status); }; }; then
2621
echo "$as_me: failed program was:" >&5
2622
sed 's/^/| /' conftest.$ac_ext >&5
2626
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2628
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2629
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3086
ac_save_c_werror_flag=$ac_c_werror_flag
3087
ac_c_werror_flag=yes
3090
cat >conftest.$ac_ext <<_ACEOF
3093
cat confdefs.h >>conftest.$ac_ext
3094
cat >>conftest.$ac_ext <<_ACEOF
3095
/* end confdefs.h. */
3105
rm -f conftest.$ac_objext
3106
if { (ac_try="$ac_compile"
3108
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109
*) ac_try_echo=$ac_try;;
3111
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3112
(eval "$ac_compile") 2>conftest.er1
3114
grep -v '^ *+' conftest.er1 >conftest.err
3116
cat conftest.err >&5
3117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118
(exit $ac_status); } && {
3119
test -z "$ac_c_werror_flag" ||
3120
test ! -s conftest.err
3121
} && test -s conftest.$ac_objext; then
3124
echo "$as_me: failed program was:" >&5
3125
sed 's/^/| /' conftest.$ac_ext >&5
3128
cat >conftest.$ac_ext <<_ACEOF
3131
cat confdefs.h >>conftest.$ac_ext
3132
cat >>conftest.$ac_ext <<_ACEOF
3133
/* end confdefs.h. */
3143
rm -f conftest.$ac_objext
3144
if { (ac_try="$ac_compile"
3146
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147
*) ac_try_echo=$ac_try;;
3149
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3150
(eval "$ac_compile") 2>conftest.er1
3152
grep -v '^ *+' conftest.er1 >conftest.err
3154
cat conftest.err >&5
3155
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156
(exit $ac_status); } && {
3157
test -z "$ac_c_werror_flag" ||
3158
test ! -s conftest.err
3159
} && test -s conftest.$ac_objext; then
3162
echo "$as_me: failed program was:" >&5
3163
sed 's/^/| /' conftest.$ac_ext >&5
3165
ac_c_werror_flag=$ac_save_c_werror_flag
3167
cat >conftest.$ac_ext <<_ACEOF
3170
cat confdefs.h >>conftest.$ac_ext
3171
cat >>conftest.$ac_ext <<_ACEOF
3172
/* end confdefs.h. */
3182
rm -f conftest.$ac_objext
3183
if { (ac_try="$ac_compile"
3185
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3186
*) ac_try_echo=$ac_try;;
3188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3189
(eval "$ac_compile") 2>conftest.er1
3191
grep -v '^ *+' conftest.er1 >conftest.err
3193
cat conftest.err >&5
3194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195
(exit $ac_status); } && {
3196
test -z "$ac_c_werror_flag" ||
3197
test ! -s conftest.err
3198
} && test -s conftest.$ac_objext; then
3201
echo "$as_me: failed program was:" >&5
3202
sed 's/^/| /' conftest.$ac_ext >&5
3207
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3210
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214
ac_c_werror_flag=$ac_save_c_werror_flag
3216
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3217
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2630
3218
if test "$ac_test_CFLAGS" = set; then
2631
3219
CFLAGS=$ac_save_CFLAGS
2632
3220
elif test $ac_cv_prog_cc_g = yes; then
2704
# Don't try gcc -ansi; that turns off useful extensions and
2705
# breaks some systems' header files.
2706
# AIX -qlanglvl=ansi
2707
# Ultrix and OSF/1 -std1
2708
# HP-UX 10.20 and later -Ae
2709
# HP-UX older versions -Aa -D_HPUX_SOURCE
2710
# SVR4 -Xc -D__EXTENSIONS__
2711
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3297
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3298
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2713
3300
CC="$ac_save_CC $ac_arg"
2714
3301
rm -f conftest.$ac_objext
2715
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716
(eval $ac_compile) 2>conftest.er1
3302
if { (ac_try="$ac_compile"
3304
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305
*) ac_try_echo=$ac_try;;
3307
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308
(eval "$ac_compile") 2>conftest.er1
2718
3310
grep -v '^ *+' conftest.er1 >conftest.err
2719
3311
rm -f conftest.er1
2720
3312
cat conftest.err >&5
2721
3313
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
(exit $ac_status); } &&
2723
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2724
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2727
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728
(exit $ac_status); }; } &&
2729
{ ac_try='test -s conftest.$ac_objext'
2730
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734
(exit $ac_status); }; }; then
2735
ac_cv_prog_cc_stdc=$ac_arg
3314
(exit $ac_status); } && {
3315
test -z "$ac_c_werror_flag" ||
3316
test ! -s conftest.err
3317
} && test -s conftest.$ac_objext; then
3318
ac_cv_prog_cc_c89=$ac_arg
2738
3320
echo "$as_me: failed program was:" >&5
2739
3321
sed 's/^/| /' conftest.$ac_ext >&5
2742
rm -f conftest.err conftest.$ac_objext
3326
rm -f core conftest.err conftest.$ac_objext
3327
test "x$ac_cv_prog_cc_c89" != "xno" && break
2744
rm -f conftest.$ac_ext conftest.$ac_objext
3329
rm -f conftest.$ac_ext
2749
case "x$ac_cv_prog_cc_stdc" in
2751
echo "$as_me:$LINENO: result: none needed" >&5
2752
echo "${ECHO_T}none needed" >&6 ;;
3334
case "x$ac_cv_prog_cc_c89" in
3336
{ echo "$as_me:$LINENO: result: none needed" >&5
3337
echo "${ECHO_T}none needed" >&6; } ;;
3339
{ echo "$as_me:$LINENO: result: unsupported" >&5
3340
echo "${ECHO_T}unsupported" >&6; } ;;
2754
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2755
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2756
CC="$CC $ac_cv_prog_cc_stdc" ;;
3342
CC="$CC $ac_cv_prog_cc_c89"
3343
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3344
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2759
# Some people use a C++ compiler to compile C. Since we use `exit',
2760
# in C++ we need to declare it. In case someone uses the same compiler
2761
# for both compiling C and C++ we need to have the C++ compiler decide
2762
# the declaration of exit, since it's the most demanding environment.
2763
cat >conftest.$ac_ext <<_ACEOF
2764
@%:@ifndef __cplusplus
2768
rm -f conftest.$ac_objext
2769
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2770
(eval $ac_compile) 2>conftest.er1
2772
grep -v '^ *+' conftest.er1 >conftest.err
2774
cat conftest.err >&5
2775
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
for ac_declaration in \
2791
'extern "C" void std::exit (int) throw (); using std::exit;' \
2792
'extern "C" void std::exit (int); using std::exit;' \
2793
'extern "C" void exit (int) throw ();' \
2794
'extern "C" void exit (int);' \
2797
cat >conftest.$ac_ext <<_ACEOF
2800
cat confdefs.h >>conftest.$ac_ext
2801
cat >>conftest.$ac_ext <<_ACEOF
2802
/* end confdefs.h. */
2804
@%:@include <stdlib.h>
2813
rm -f conftest.$ac_objext
2814
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2815
(eval $ac_compile) 2>conftest.er1
2817
grep -v '^ *+' conftest.er1 >conftest.err
2819
cat conftest.err >&5
2820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821
(exit $ac_status); } &&
2822
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2823
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2826
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2827
(exit $ac_status); }; } &&
2828
{ ac_try='test -s conftest.$ac_objext'
2829
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2832
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833
(exit $ac_status); }; }; then
2836
echo "$as_me: failed program was:" >&5
2837
sed 's/^/| /' conftest.$ac_ext >&5
2841
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2842
cat >conftest.$ac_ext <<_ACEOF
2845
cat confdefs.h >>conftest.$ac_ext
2846
cat >>conftest.$ac_ext <<_ACEOF
2847
/* end confdefs.h. */
2857
rm -f conftest.$ac_objext
2858
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859
(eval $ac_compile) 2>conftest.er1
2861
grep -v '^ *+' conftest.er1 >conftest.err
2863
cat conftest.err >&5
2864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865
(exit $ac_status); } &&
2866
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2867
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871
(exit $ac_status); }; } &&
2872
{ ac_try='test -s conftest.$ac_objext'
2873
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877
(exit $ac_status); }; }; then
2880
echo "$as_me: failed program was:" >&5
2881
sed 's/^/| /' conftest.$ac_ext >&5
2884
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2887
if test -n "$ac_declaration"; then
2888
echo '#ifdef __cplusplus' >>confdefs.h
2889
echo $ac_declaration >>confdefs.h
2890
echo '#endif' >>confdefs.h
2894
echo "$as_me: failed program was:" >&5
2895
sed 's/^/| /' conftest.$ac_ext >&5
2898
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2900
3349
ac_cpp='$CPP $CPPFLAGS'
2901
3350
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3474
3955
rm -f conftest.$ac_objext
3475
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3476
(eval $ac_compile) 2>conftest.er1
3956
if { (ac_try="$ac_compile"
3958
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3959
*) ac_try_echo=$ac_try;;
3961
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3962
(eval "$ac_compile") 2>conftest.er1
3478
3964
grep -v '^ *+' conftest.er1 >conftest.err
3479
3965
rm -f conftest.er1
3480
3966
cat conftest.err >&5
3481
3967
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482
(exit $ac_status); } &&
3483
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3484
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3487
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488
(exit $ac_status); }; } &&
3489
{ ac_try='test -s conftest.$ac_objext'
3490
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3493
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494
(exit $ac_status); }; }; then
3968
(exit $ac_status); } && {
3969
test -z "$ac_cxx_werror_flag" ||
3970
test ! -s conftest.err
3971
} && test -s conftest.$ac_objext; then
3495
3972
ac_compiler_gnu=yes
3497
3974
echo "$as_me: failed program was:" >&5
3498
3975
sed 's/^/| /' conftest.$ac_ext >&5
3502
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3980
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3503
3981
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3506
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3507
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3984
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3985
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3508
3986
GXX=`test $ac_compiler_gnu = yes && echo yes`
3509
3987
ac_test_CXXFLAGS=${CXXFLAGS+set}
3510
3988
ac_save_CXXFLAGS=$CXXFLAGS
3512
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3513
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3989
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3990
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3514
3991
if test "${ac_cv_prog_cxx_g+set}" = set; then
3515
3992
echo $ECHO_N "(cached) $ECHO_C" >&6
3517
cat >conftest.$ac_ext <<_ACEOF
3520
cat confdefs.h >>conftest.$ac_ext
3521
cat >>conftest.$ac_ext <<_ACEOF
3522
/* end confdefs.h. */
3532
rm -f conftest.$ac_objext
3533
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534
(eval $ac_compile) 2>conftest.er1
3536
grep -v '^ *+' conftest.er1 >conftest.err
3538
cat conftest.err >&5
3539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540
(exit $ac_status); } &&
3541
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3542
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546
(exit $ac_status); }; } &&
3547
{ ac_try='test -s conftest.$ac_objext'
3548
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3551
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3552
(exit $ac_status); }; }; then
3553
ac_cv_prog_cxx_g=yes
3555
echo "$as_me: failed program was:" >&5
3556
sed 's/^/| /' conftest.$ac_ext >&5
3560
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3562
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3563
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3994
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3995
ac_cxx_werror_flag=yes
3998
cat >conftest.$ac_ext <<_ACEOF
4001
cat confdefs.h >>conftest.$ac_ext
4002
cat >>conftest.$ac_ext <<_ACEOF
4003
/* end confdefs.h. */
4013
rm -f conftest.$ac_objext
4014
if { (ac_try="$ac_compile"
4016
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4017
*) ac_try_echo=$ac_try;;
4019
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4020
(eval "$ac_compile") 2>conftest.er1
4022
grep -v '^ *+' conftest.er1 >conftest.err
4024
cat conftest.err >&5
4025
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4026
(exit $ac_status); } && {
4027
test -z "$ac_cxx_werror_flag" ||
4028
test ! -s conftest.err
4029
} && test -s conftest.$ac_objext; then
4030
ac_cv_prog_cxx_g=yes
4032
echo "$as_me: failed program was:" >&5
4033
sed 's/^/| /' conftest.$ac_ext >&5
4036
cat >conftest.$ac_ext <<_ACEOF
4039
cat confdefs.h >>conftest.$ac_ext
4040
cat >>conftest.$ac_ext <<_ACEOF
4041
/* end confdefs.h. */
4051
rm -f conftest.$ac_objext
4052
if { (ac_try="$ac_compile"
4054
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4055
*) ac_try_echo=$ac_try;;
4057
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4058
(eval "$ac_compile") 2>conftest.er1
4060
grep -v '^ *+' conftest.er1 >conftest.err
4062
cat conftest.err >&5
4063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064
(exit $ac_status); } && {
4065
test -z "$ac_cxx_werror_flag" ||
4066
test ! -s conftest.err
4067
} && test -s conftest.$ac_objext; then
4070
echo "$as_me: failed program was:" >&5
4071
sed 's/^/| /' conftest.$ac_ext >&5
4073
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4075
cat >conftest.$ac_ext <<_ACEOF
4078
cat confdefs.h >>conftest.$ac_ext
4079
cat >>conftest.$ac_ext <<_ACEOF
4080
/* end confdefs.h. */
4090
rm -f conftest.$ac_objext
4091
if { (ac_try="$ac_compile"
4093
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4094
*) ac_try_echo=$ac_try;;
4096
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4097
(eval "$ac_compile") 2>conftest.er1
4099
grep -v '^ *+' conftest.er1 >conftest.err
4101
cat conftest.err >&5
4102
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4103
(exit $ac_status); } && {
4104
test -z "$ac_cxx_werror_flag" ||
4105
test ! -s conftest.err
4106
} && test -s conftest.$ac_objext; then
4107
ac_cv_prog_cxx_g=yes
4109
echo "$as_me: failed program was:" >&5
4110
sed 's/^/| /' conftest.$ac_ext >&5
4115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4122
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4124
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4125
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3564
4126
if test "$ac_test_CXXFLAGS" = set; then
3565
4127
CXXFLAGS=$ac_save_CXXFLAGS
3566
4128
elif test $ac_cv_prog_cxx_g = yes; then
4067
4556
SED=$lt_cv_path_SED
4068
echo "$as_me:$LINENO: result: $SED" >&5
4069
echo "${ECHO_T}$SED" >&6
4071
echo "$as_me:$LINENO: checking for egrep" >&5
4072
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4073
if test "${ac_cv_prog_egrep+set}" = set; then
4074
echo $ECHO_N "(cached) $ECHO_C" >&6
4076
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4077
then ac_cv_prog_egrep='grep -E'
4078
else ac_cv_prog_egrep='egrep'
4081
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4082
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4083
EGREP=$ac_cv_prog_egrep
4087
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4558
{ echo "$as_me:$LINENO: result: $SED" >&5
4559
echo "${ECHO_T}$SED" >&6; }
4561
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4562
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4563
if test "${ac_cv_path_GREP+set}" = set; then
4564
echo $ECHO_N "(cached) $ECHO_C" >&6
4566
# Extract the first word of "grep ggrep" to use in msg output
4567
if test -z "$GREP"; then
4568
set dummy grep ggrep; ac_prog_name=$2
4569
if test "${ac_cv_path_GREP+set}" = set; then
4570
echo $ECHO_N "(cached) $ECHO_C" >&6
4572
ac_path_GREP_found=false
4573
# Loop through the user's path and test for each of PROGNAME-LIST
4574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4575
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4578
test -z "$as_dir" && as_dir=.
4579
for ac_prog in grep ggrep; do
4580
for ac_exec_ext in '' $ac_executable_extensions; do
4581
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4582
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4583
# Check for GNU ac_path_GREP and select it if it is found.
4584
# Check for GNU $ac_path_GREP
4585
case `"$ac_path_GREP" --version 2>&1` in
4587
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4590
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4593
cat "conftest.in" "conftest.in" >"conftest.tmp"
4594
mv "conftest.tmp" "conftest.in"
4595
cp "conftest.in" "conftest.nl"
4596
echo 'GREP' >> "conftest.nl"
4597
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4598
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4599
ac_count=`expr $ac_count + 1`
4600
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4601
# Best one so far, save it but keep looking for a better one
4602
ac_cv_path_GREP="$ac_path_GREP"
4603
ac_path_GREP_max=$ac_count
4605
# 10*(2^10) chars as input seems more than enough
4606
test $ac_count -gt 10 && break
4608
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4612
$ac_path_GREP_found && break 3
4622
GREP="$ac_cv_path_GREP"
4623
if test -z "$GREP"; then
4624
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4625
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4626
{ (exit 1); exit 1; }; }
4630
ac_cv_path_GREP=$GREP
4635
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4636
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4637
GREP="$ac_cv_path_GREP"
4640
{ echo "$as_me:$LINENO: checking for egrep" >&5
4641
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4642
if test "${ac_cv_path_EGREP+set}" = set; then
4643
echo $ECHO_N "(cached) $ECHO_C" >&6
4645
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4646
then ac_cv_path_EGREP="$GREP -E"
4648
# Extract the first word of "egrep" to use in msg output
4649
if test -z "$EGREP"; then
4650
set dummy egrep; ac_prog_name=$2
4651
if test "${ac_cv_path_EGREP+set}" = set; then
4652
echo $ECHO_N "(cached) $ECHO_C" >&6
4654
ac_path_EGREP_found=false
4655
# Loop through the user's path and test for each of PROGNAME-LIST
4656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4660
test -z "$as_dir" && as_dir=.
4661
for ac_prog in egrep; do
4662
for ac_exec_ext in '' $ac_executable_extensions; do
4663
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4664
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4665
# Check for GNU ac_path_EGREP and select it if it is found.
4666
# Check for GNU $ac_path_EGREP
4667
case `"$ac_path_EGREP" --version 2>&1` in
4669
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4672
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4675
cat "conftest.in" "conftest.in" >"conftest.tmp"
4676
mv "conftest.tmp" "conftest.in"
4677
cp "conftest.in" "conftest.nl"
4678
echo 'EGREP' >> "conftest.nl"
4679
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4680
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4681
ac_count=`expr $ac_count + 1`
4682
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4683
# Best one so far, save it but keep looking for a better one
4684
ac_cv_path_EGREP="$ac_path_EGREP"
4685
ac_path_EGREP_max=$ac_count
4687
# 10*(2^10) chars as input seems more than enough
4688
test $ac_count -gt 10 && break
4690
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4694
$ac_path_EGREP_found && break 3
4704
EGREP="$ac_cv_path_EGREP"
4705
if test -z "$EGREP"; then
4706
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4707
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4708
{ (exit 1); exit 1; }; }
4712
ac_cv_path_EGREP=$EGREP
4718
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4719
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4720
EGREP="$ac_cv_path_EGREP"
4724
# Check whether --with-gnu-ld was given.
4088
4725
if test "${with_gnu_ld+set}" = set; then
4089
withval="$with_gnu_ld"
4090
test "$withval" = no || with_gnu_ld=yes
4726
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4095
4732
if test "$GCC" = yes; then
4096
4733
# Check if gcc -print-prog-name=ld gives a path.
4097
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4098
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4734
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4735
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4101
4738
# gcc leaves a trailing carriage return which upsets mingw
12200
13311
enable_fast_install=needless
12205
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
12206
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
12207
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
12208
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12209
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12210
echo "$as_me:$LINENO: result: yes" >&5
12211
echo "${ECHO_T}yes" >&6
12213
# FIXME - insert some real tests, host_os isn't really good enough
12216
if test -n "$STRIP" ; then
12217
striplib="$STRIP -x"
12218
echo "$as_me:$LINENO: result: yes" >&5
12219
echo "${ECHO_T}yes" >&6
12221
echo "$as_me:$LINENO: result: no" >&5
12222
echo "${ECHO_T}no" >&6
12226
echo "$as_me:$LINENO: result: no" >&5
12227
echo "${ECHO_T}no" >&6
12232
if test "x$enable_dlopen" != xyes; then
12233
enable_dlopen=unknown
12234
enable_dlopen_self=unknown
12235
enable_dlopen_self_static=unknown
12242
lt_cv_dlopen="load_add_on"
12244
lt_cv_dlopen_self=yes
12248
lt_cv_dlopen="LoadLibrary"
12253
lt_cv_dlopen="dlopen"
12258
# if libdl is installed we need to link against it
12259
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12260
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12261
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12262
echo $ECHO_N "(cached) $ECHO_C" >&6
12264
ac_check_lib_save_LIBS=$LIBS
12266
cat >conftest.$ac_ext <<_ACEOF
12269
cat confdefs.h >>conftest.$ac_ext
12270
cat >>conftest.$ac_ext <<_ACEOF
12271
/* end confdefs.h. */
12273
/* Override any gcc2 internal prototype to avoid an error. */
12277
/* We use char because int might match the return type of a gcc2
12278
builtin and then its argument prototype would still apply. */
12288
rm -f conftest.$ac_objext conftest$ac_exeext
12289
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12290
(eval $ac_link) 2>conftest.er1
12292
grep -v '^ *+' conftest.er1 >conftest.err
12294
cat conftest.err >&5
12295
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12296
(exit $ac_status); } &&
12297
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12298
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299
(eval $ac_try) 2>&5
12301
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302
(exit $ac_status); }; } &&
12303
{ ac_try='test -s conftest$ac_exeext'
12304
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305
(eval $ac_try) 2>&5
12307
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308
(exit $ac_status); }; }; then
12309
ac_cv_lib_dl_dlopen=yes
12311
echo "$as_me: failed program was:" >&5
12312
sed 's/^/| /' conftest.$ac_ext >&5
12314
ac_cv_lib_dl_dlopen=no
12316
rm -f conftest.err conftest.$ac_objext \
12317
conftest$ac_exeext conftest.$ac_ext
12318
LIBS=$ac_check_lib_save_LIBS
12320
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12321
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12322
if test $ac_cv_lib_dl_dlopen = yes; then
12323
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12326
lt_cv_dlopen="dyld"
12328
lt_cv_dlopen_self=yes
12335
echo "$as_me:$LINENO: checking for shl_load" >&5
12336
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12337
if test "${ac_cv_func_shl_load+set}" = set; then
12338
echo $ECHO_N "(cached) $ECHO_C" >&6
12340
cat >conftest.$ac_ext <<_ACEOF
12343
cat confdefs.h >>conftest.$ac_ext
12344
cat >>conftest.$ac_ext <<_ACEOF
12345
/* end confdefs.h. */
12346
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12347
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12348
#define shl_load innocuous_shl_load
12350
/* System header to define __stub macros and hopefully few prototypes,
12351
which can conflict with char shl_load (); below.
12352
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12353
<limits.h> exists even on freestanding compilers. */
12356
# include <limits.h>
12358
# include <assert.h>
12363
/* Override any gcc2 internal prototype to avoid an error. */
12368
/* We use char because int might match the return type of a gcc2
12369
builtin and then its argument prototype would still apply. */
12371
/* The GNU C library defines this for functions which it implements
12372
to always fail with ENOSYS. Some functions are actually named
12373
something starting with __ and the normal name is an alias. */
12374
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12377
char (*f) () = shl_load;
12386
return f != shl_load;
12391
rm -f conftest.$ac_objext conftest$ac_exeext
12392
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12393
(eval $ac_link) 2>conftest.er1
12395
grep -v '^ *+' conftest.er1 >conftest.err
12397
cat conftest.err >&5
12398
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12399
(exit $ac_status); } &&
12400
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12401
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402
(eval $ac_try) 2>&5
12404
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405
(exit $ac_status); }; } &&
12406
{ ac_try='test -s conftest$ac_exeext'
12407
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12408
(eval $ac_try) 2>&5
12410
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411
(exit $ac_status); }; }; then
12412
ac_cv_func_shl_load=yes
12414
echo "$as_me: failed program was:" >&5
12415
sed 's/^/| /' conftest.$ac_ext >&5
12417
ac_cv_func_shl_load=no
12419
rm -f conftest.err conftest.$ac_objext \
12420
conftest$ac_exeext conftest.$ac_ext
12422
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12423
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12424
if test $ac_cv_func_shl_load = yes; then
12425
lt_cv_dlopen="shl_load"
12427
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12428
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12429
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12430
echo $ECHO_N "(cached) $ECHO_C" >&6
12432
ac_check_lib_save_LIBS=$LIBS
12434
cat >conftest.$ac_ext <<_ACEOF
12437
cat confdefs.h >>conftest.$ac_ext
12438
cat >>conftest.$ac_ext <<_ACEOF
12439
/* end confdefs.h. */
12441
/* Override any gcc2 internal prototype to avoid an error. */
12445
/* We use char because int might match the return type of a gcc2
12446
builtin and then its argument prototype would still apply. */
12456
rm -f conftest.$ac_objext conftest$ac_exeext
12457
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12458
(eval $ac_link) 2>conftest.er1
12460
grep -v '^ *+' conftest.er1 >conftest.err
12462
cat conftest.err >&5
12463
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12464
(exit $ac_status); } &&
12465
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12466
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12467
(eval $ac_try) 2>&5
12469
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470
(exit $ac_status); }; } &&
12471
{ ac_try='test -s conftest$ac_exeext'
12472
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12473
(eval $ac_try) 2>&5
12475
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476
(exit $ac_status); }; }; then
12477
ac_cv_lib_dld_shl_load=yes
12479
echo "$as_me: failed program was:" >&5
12480
sed 's/^/| /' conftest.$ac_ext >&5
12482
ac_cv_lib_dld_shl_load=no
12484
rm -f conftest.err conftest.$ac_objext \
12485
conftest$ac_exeext conftest.$ac_ext
12486
LIBS=$ac_check_lib_save_LIBS
12488
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12489
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12490
if test $ac_cv_lib_dld_shl_load = yes; then
12491
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12493
echo "$as_me:$LINENO: checking for dlopen" >&5
12494
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12495
if test "${ac_cv_func_dlopen+set}" = set; then
12496
echo $ECHO_N "(cached) $ECHO_C" >&6
12498
cat >conftest.$ac_ext <<_ACEOF
12501
cat confdefs.h >>conftest.$ac_ext
12502
cat >>conftest.$ac_ext <<_ACEOF
12503
/* end confdefs.h. */
12504
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12505
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12506
#define dlopen innocuous_dlopen
12508
/* System header to define __stub macros and hopefully few prototypes,
12509
which can conflict with char dlopen (); below.
12510
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12511
<limits.h> exists even on freestanding compilers. */
12514
# include <limits.h>
12516
# include <assert.h>
12521
/* Override any gcc2 internal prototype to avoid an error. */
12526
/* We use char because int might match the return type of a gcc2
12527
builtin and then its argument prototype would still apply. */
12529
/* The GNU C library defines this for functions which it implements
12530
to always fail with ENOSYS. Some functions are actually named
12531
something starting with __ and the normal name is an alias. */
12532
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12535
char (*f) () = dlopen;
12544
return f != dlopen;
12549
rm -f conftest.$ac_objext conftest$ac_exeext
12550
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12551
(eval $ac_link) 2>conftest.er1
12553
grep -v '^ *+' conftest.er1 >conftest.err
12555
cat conftest.err >&5
12556
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12557
(exit $ac_status); } &&
12558
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12559
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12560
(eval $ac_try) 2>&5
12562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563
(exit $ac_status); }; } &&
12564
{ ac_try='test -s conftest$ac_exeext'
12565
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12566
(eval $ac_try) 2>&5
12568
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12569
(exit $ac_status); }; }; then
12570
ac_cv_func_dlopen=yes
12572
echo "$as_me: failed program was:" >&5
12573
sed 's/^/| /' conftest.$ac_ext >&5
12575
ac_cv_func_dlopen=no
12577
rm -f conftest.err conftest.$ac_objext \
12578
conftest$ac_exeext conftest.$ac_ext
12580
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12581
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12582
if test $ac_cv_func_dlopen = yes; then
12583
lt_cv_dlopen="dlopen"
12585
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12586
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12587
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12588
echo $ECHO_N "(cached) $ECHO_C" >&6
12590
ac_check_lib_save_LIBS=$LIBS
12592
cat >conftest.$ac_ext <<_ACEOF
12595
cat confdefs.h >>conftest.$ac_ext
12596
cat >>conftest.$ac_ext <<_ACEOF
12597
/* end confdefs.h. */
12599
/* Override any gcc2 internal prototype to avoid an error. */
12603
/* We use char because int might match the return type of a gcc2
12604
builtin and then its argument prototype would still apply. */
12614
rm -f conftest.$ac_objext conftest$ac_exeext
12615
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12616
(eval $ac_link) 2>conftest.er1
12618
grep -v '^ *+' conftest.er1 >conftest.err
12620
cat conftest.err >&5
12621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12622
(exit $ac_status); } &&
12623
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12624
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12625
(eval $ac_try) 2>&5
12627
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12628
(exit $ac_status); }; } &&
12629
{ ac_try='test -s conftest$ac_exeext'
12630
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12631
(eval $ac_try) 2>&5
12633
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12634
(exit $ac_status); }; }; then
12635
ac_cv_lib_dl_dlopen=yes
12637
echo "$as_me: failed program was:" >&5
12638
sed 's/^/| /' conftest.$ac_ext >&5
12640
ac_cv_lib_dl_dlopen=no
12642
rm -f conftest.err conftest.$ac_objext \
12643
conftest$ac_exeext conftest.$ac_ext
12644
LIBS=$ac_check_lib_save_LIBS
12646
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12647
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12648
if test $ac_cv_lib_dl_dlopen = yes; then
12649
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12651
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12652
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12653
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12654
echo $ECHO_N "(cached) $ECHO_C" >&6
12656
ac_check_lib_save_LIBS=$LIBS
12657
LIBS="-lsvld $LIBS"
12658
cat >conftest.$ac_ext <<_ACEOF
12661
cat confdefs.h >>conftest.$ac_ext
12662
cat >>conftest.$ac_ext <<_ACEOF
12663
/* end confdefs.h. */
12665
/* Override any gcc2 internal prototype to avoid an error. */
12669
/* We use char because int might match the return type of a gcc2
12670
builtin and then its argument prototype would still apply. */
12680
rm -f conftest.$ac_objext conftest$ac_exeext
12681
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12682
(eval $ac_link) 2>conftest.er1
12684
grep -v '^ *+' conftest.er1 >conftest.err
12686
cat conftest.err >&5
12687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12688
(exit $ac_status); } &&
12689
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12690
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12691
(eval $ac_try) 2>&5
12693
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12694
(exit $ac_status); }; } &&
12695
{ ac_try='test -s conftest$ac_exeext'
12696
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12697
(eval $ac_try) 2>&5
12699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700
(exit $ac_status); }; }; then
12701
ac_cv_lib_svld_dlopen=yes
12703
echo "$as_me: failed program was:" >&5
12704
sed 's/^/| /' conftest.$ac_ext >&5
12706
ac_cv_lib_svld_dlopen=no
12708
rm -f conftest.err conftest.$ac_objext \
12709
conftest$ac_exeext conftest.$ac_ext
12710
LIBS=$ac_check_lib_save_LIBS
12712
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12713
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12714
if test $ac_cv_lib_svld_dlopen = yes; then
12715
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12717
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12718
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12719
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12720
echo $ECHO_N "(cached) $ECHO_C" >&6
12722
ac_check_lib_save_LIBS=$LIBS
12724
cat >conftest.$ac_ext <<_ACEOF
12727
cat confdefs.h >>conftest.$ac_ext
12728
cat >>conftest.$ac_ext <<_ACEOF
12729
/* end confdefs.h. */
12731
/* Override any gcc2 internal prototype to avoid an error. */
12735
/* We use char because int might match the return type of a gcc2
12736
builtin and then its argument prototype would still apply. */
12746
rm -f conftest.$ac_objext conftest$ac_exeext
12747
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12748
(eval $ac_link) 2>conftest.er1
12750
grep -v '^ *+' conftest.er1 >conftest.err
12752
cat conftest.err >&5
12753
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754
(exit $ac_status); } &&
12755
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
12756
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757
(eval $ac_try) 2>&5
12759
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760
(exit $ac_status); }; } &&
12761
{ ac_try='test -s conftest$ac_exeext'
12762
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763
(eval $ac_try) 2>&5
12765
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766
(exit $ac_status); }; }; then
12767
ac_cv_lib_dld_dld_link=yes
12769
echo "$as_me: failed program was:" >&5
12770
sed 's/^/| /' conftest.$ac_ext >&5
12772
ac_cv_lib_dld_dld_link=no
12774
rm -f conftest.err conftest.$ac_objext \
12775
conftest$ac_exeext conftest.$ac_ext
12776
LIBS=$ac_check_lib_save_LIBS
12778
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12779
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12780
if test $ac_cv_lib_dld_dld_link = yes; then
12781
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12802
if test "x$lt_cv_dlopen" != xno; then
12808
case $lt_cv_dlopen in
12810
save_CPPFLAGS="$CPPFLAGS"
12811
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12813
save_LDFLAGS="$LDFLAGS"
12814
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12817
LIBS="$lt_cv_dlopen_libs $LIBS"
12819
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12820
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12821
if test "${lt_cv_dlopen_self+set}" = set; then
12822
echo $ECHO_N "(cached) $ECHO_C" >&6
12824
if test "$cross_compiling" = yes; then :
12825
lt_cv_dlopen_self=cross
12827
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12828
lt_status=$lt_dlunknown
12829
cat > conftest.$ac_ext <<EOF
12830
#line __oline__ "configure"
12831
#include "confdefs.h"
12840
# define LT_DLGLOBAL RTLD_GLOBAL
12843
# define LT_DLGLOBAL DL_GLOBAL
12845
# define LT_DLGLOBAL 0
12849
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12850
find out it does not work in some platform. */
12851
#ifndef LT_DLLAZY_OR_NOW
12853
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12856
# define LT_DLLAZY_OR_NOW DL_LAZY
12859
# define LT_DLLAZY_OR_NOW RTLD_NOW
12862
# define LT_DLLAZY_OR_NOW DL_NOW
12864
# define LT_DLLAZY_OR_NOW 0
12872
extern "C" void exit (int);
12875
void fnord() { int i=42;}
12878
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12879
int status = $lt_dlunknown;
12883
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12884
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12885
/* dlclose (self); */
12891
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12892
(eval $ac_link) 2>&5
12894
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12896
(./conftest; exit; ) >&5 2>/dev/null
12898
case x$lt_status in
12899
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12900
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12901
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12904
# compilation failed
12905
lt_cv_dlopen_self=no
12912
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12913
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12915
if test "x$lt_cv_dlopen_self" = xyes; then
12916
LDFLAGS="$LDFLAGS $link_static_flag"
12917
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12918
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12919
if test "${lt_cv_dlopen_self_static+set}" = set; then
12920
echo $ECHO_N "(cached) $ECHO_C" >&6
12922
if test "$cross_compiling" = yes; then :
12923
lt_cv_dlopen_self_static=cross
12925
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12926
lt_status=$lt_dlunknown
12927
cat > conftest.$ac_ext <<EOF
12928
#line __oline__ "configure"
12929
#include "confdefs.h"
12938
# define LT_DLGLOBAL RTLD_GLOBAL
12941
# define LT_DLGLOBAL DL_GLOBAL
12943
# define LT_DLGLOBAL 0
12947
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12948
find out it does not work in some platform. */
12949
#ifndef LT_DLLAZY_OR_NOW
12951
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12954
# define LT_DLLAZY_OR_NOW DL_LAZY
12957
# define LT_DLLAZY_OR_NOW RTLD_NOW
12960
# define LT_DLLAZY_OR_NOW DL_NOW
12962
# define LT_DLLAZY_OR_NOW 0
12970
extern "C" void exit (int);
12973
void fnord() { int i=42;}
12976
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12977
int status = $lt_dlunknown;
12981
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12982
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12983
/* dlclose (self); */
12989
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12990
(eval $ac_link) 2>&5
12992
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12994
(./conftest; exit; ) >&5 2>/dev/null
12996
case x$lt_status in
12997
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12998
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12999
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
13002
# compilation failed
13003
lt_cv_dlopen_self_static=no
13010
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
13011
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
13014
CPPFLAGS="$save_CPPFLAGS"
13015
LDFLAGS="$save_LDFLAGS"
13020
case $lt_cv_dlopen_self in
13021
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13022
*) enable_dlopen_self=unknown ;;
13025
case $lt_cv_dlopen_self_static in
13026
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13027
*) enable_dlopen_self_static=unknown ;;
13032
13315
# The else clause should only fire when bootstrapping the
13033
13316
# libtool distribution, otherwise you forgot to ship ltmain.sh
17962
18539
enable_fast_install=needless
17967
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17968
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17969
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17970
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17971
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17972
echo "$as_me:$LINENO: result: yes" >&5
17973
echo "${ECHO_T}yes" >&6
17975
# FIXME - insert some real tests, host_os isn't really good enough
17978
if test -n "$STRIP" ; then
17979
striplib="$STRIP -x"
17980
echo "$as_me:$LINENO: result: yes" >&5
17981
echo "${ECHO_T}yes" >&6
17983
echo "$as_me:$LINENO: result: no" >&5
17984
echo "${ECHO_T}no" >&6
17988
echo "$as_me:$LINENO: result: no" >&5
17989
echo "${ECHO_T}no" >&6
17994
if test "x$enable_dlopen" != xyes; then
17995
enable_dlopen=unknown
17996
enable_dlopen_self=unknown
17997
enable_dlopen_self_static=unknown
18004
lt_cv_dlopen="load_add_on"
18006
lt_cv_dlopen_self=yes
18010
lt_cv_dlopen="LoadLibrary"
18015
lt_cv_dlopen="dlopen"
18020
# if libdl is installed we need to link against it
18021
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18022
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18023
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18024
echo $ECHO_N "(cached) $ECHO_C" >&6
18026
ac_check_lib_save_LIBS=$LIBS
18028
cat >conftest.$ac_ext <<_ACEOF
18031
cat confdefs.h >>conftest.$ac_ext
18032
cat >>conftest.$ac_ext <<_ACEOF
18033
/* end confdefs.h. */
18035
/* Override any gcc2 internal prototype to avoid an error. */
18039
/* We use char because int might match the return type of a gcc2
18040
builtin and then its argument prototype would still apply. */
18050
rm -f conftest.$ac_objext conftest$ac_exeext
18051
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18052
(eval $ac_link) 2>conftest.er1
18054
grep -v '^ *+' conftest.er1 >conftest.err
18056
cat conftest.err >&5
18057
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058
(exit $ac_status); } &&
18059
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18060
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061
(eval $ac_try) 2>&5
18063
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064
(exit $ac_status); }; } &&
18065
{ ac_try='test -s conftest$ac_exeext'
18066
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067
(eval $ac_try) 2>&5
18069
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070
(exit $ac_status); }; }; then
18071
ac_cv_lib_dl_dlopen=yes
18073
echo "$as_me: failed program was:" >&5
18074
sed 's/^/| /' conftest.$ac_ext >&5
18076
ac_cv_lib_dl_dlopen=no
18078
rm -f conftest.err conftest.$ac_objext \
18079
conftest$ac_exeext conftest.$ac_ext
18080
LIBS=$ac_check_lib_save_LIBS
18082
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18083
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18084
if test $ac_cv_lib_dl_dlopen = yes; then
18085
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18088
lt_cv_dlopen="dyld"
18090
lt_cv_dlopen_self=yes
18097
echo "$as_me:$LINENO: checking for shl_load" >&5
18098
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
18099
if test "${ac_cv_func_shl_load+set}" = set; then
18100
echo $ECHO_N "(cached) $ECHO_C" >&6
18102
cat >conftest.$ac_ext <<_ACEOF
18105
cat confdefs.h >>conftest.$ac_ext
18106
cat >>conftest.$ac_ext <<_ACEOF
18107
/* end confdefs.h. */
18108
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
18109
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18110
#define shl_load innocuous_shl_load
18112
/* System header to define __stub macros and hopefully few prototypes,
18113
which can conflict with char shl_load (); below.
18114
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18115
<limits.h> exists even on freestanding compilers. */
18118
# include <limits.h>
18120
# include <assert.h>
18125
/* Override any gcc2 internal prototype to avoid an error. */
18130
/* We use char because int might match the return type of a gcc2
18131
builtin and then its argument prototype would still apply. */
18133
/* The GNU C library defines this for functions which it implements
18134
to always fail with ENOSYS. Some functions are actually named
18135
something starting with __ and the normal name is an alias. */
18136
#if defined (__stub_shl_load) || defined (__stub___shl_load)
18139
char (*f) () = shl_load;
18148
return f != shl_load;
18153
rm -f conftest.$ac_objext conftest$ac_exeext
18154
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18155
(eval $ac_link) 2>conftest.er1
18157
grep -v '^ *+' conftest.er1 >conftest.err
18159
cat conftest.err >&5
18160
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161
(exit $ac_status); } &&
18162
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18163
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164
(eval $ac_try) 2>&5
18166
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167
(exit $ac_status); }; } &&
18168
{ ac_try='test -s conftest$ac_exeext'
18169
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170
(eval $ac_try) 2>&5
18172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173
(exit $ac_status); }; }; then
18174
ac_cv_func_shl_load=yes
18176
echo "$as_me: failed program was:" >&5
18177
sed 's/^/| /' conftest.$ac_ext >&5
18179
ac_cv_func_shl_load=no
18181
rm -f conftest.err conftest.$ac_objext \
18182
conftest$ac_exeext conftest.$ac_ext
18184
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
18185
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
18186
if test $ac_cv_func_shl_load = yes; then
18187
lt_cv_dlopen="shl_load"
18189
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
18190
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
18191
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
18192
echo $ECHO_N "(cached) $ECHO_C" >&6
18194
ac_check_lib_save_LIBS=$LIBS
18196
cat >conftest.$ac_ext <<_ACEOF
18199
cat confdefs.h >>conftest.$ac_ext
18200
cat >>conftest.$ac_ext <<_ACEOF
18201
/* end confdefs.h. */
18203
/* Override any gcc2 internal prototype to avoid an error. */
18207
/* We use char because int might match the return type of a gcc2
18208
builtin and then its argument prototype would still apply. */
18218
rm -f conftest.$ac_objext conftest$ac_exeext
18219
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18220
(eval $ac_link) 2>conftest.er1
18222
grep -v '^ *+' conftest.er1 >conftest.err
18224
cat conftest.err >&5
18225
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226
(exit $ac_status); } &&
18227
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18228
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229
(eval $ac_try) 2>&5
18231
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232
(exit $ac_status); }; } &&
18233
{ ac_try='test -s conftest$ac_exeext'
18234
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18235
(eval $ac_try) 2>&5
18237
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18238
(exit $ac_status); }; }; then
18239
ac_cv_lib_dld_shl_load=yes
18241
echo "$as_me: failed program was:" >&5
18242
sed 's/^/| /' conftest.$ac_ext >&5
18244
ac_cv_lib_dld_shl_load=no
18246
rm -f conftest.err conftest.$ac_objext \
18247
conftest$ac_exeext conftest.$ac_ext
18248
LIBS=$ac_check_lib_save_LIBS
18250
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
18251
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
18252
if test $ac_cv_lib_dld_shl_load = yes; then
18253
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
18255
echo "$as_me:$LINENO: checking for dlopen" >&5
18256
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
18257
if test "${ac_cv_func_dlopen+set}" = set; then
18258
echo $ECHO_N "(cached) $ECHO_C" >&6
18260
cat >conftest.$ac_ext <<_ACEOF
18263
cat confdefs.h >>conftest.$ac_ext
18264
cat >>conftest.$ac_ext <<_ACEOF
18265
/* end confdefs.h. */
18266
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
18267
For example, HP-UX 11i <limits.h> declares gettimeofday. */
18268
#define dlopen innocuous_dlopen
18270
/* System header to define __stub macros and hopefully few prototypes,
18271
which can conflict with char dlopen (); below.
18272
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18273
<limits.h> exists even on freestanding compilers. */
18276
# include <limits.h>
18278
# include <assert.h>
18283
/* Override any gcc2 internal prototype to avoid an error. */
18288
/* We use char because int might match the return type of a gcc2
18289
builtin and then its argument prototype would still apply. */
18291
/* The GNU C library defines this for functions which it implements
18292
to always fail with ENOSYS. Some functions are actually named
18293
something starting with __ and the normal name is an alias. */
18294
#if defined (__stub_dlopen) || defined (__stub___dlopen)
18297
char (*f) () = dlopen;
18306
return f != dlopen;
18311
rm -f conftest.$ac_objext conftest$ac_exeext
18312
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18313
(eval $ac_link) 2>conftest.er1
18315
grep -v '^ *+' conftest.er1 >conftest.err
18317
cat conftest.err >&5
18318
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319
(exit $ac_status); } &&
18320
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322
(eval $ac_try) 2>&5
18324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325
(exit $ac_status); }; } &&
18326
{ ac_try='test -s conftest$ac_exeext'
18327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18328
(eval $ac_try) 2>&5
18330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331
(exit $ac_status); }; }; then
18332
ac_cv_func_dlopen=yes
18334
echo "$as_me: failed program was:" >&5
18335
sed 's/^/| /' conftest.$ac_ext >&5
18337
ac_cv_func_dlopen=no
18339
rm -f conftest.err conftest.$ac_objext \
18340
conftest$ac_exeext conftest.$ac_ext
18342
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
18343
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
18344
if test $ac_cv_func_dlopen = yes; then
18345
lt_cv_dlopen="dlopen"
18347
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18348
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
18349
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18350
echo $ECHO_N "(cached) $ECHO_C" >&6
18352
ac_check_lib_save_LIBS=$LIBS
18354
cat >conftest.$ac_ext <<_ACEOF
18357
cat confdefs.h >>conftest.$ac_ext
18358
cat >>conftest.$ac_ext <<_ACEOF
18359
/* end confdefs.h. */
18361
/* Override any gcc2 internal prototype to avoid an error. */
18365
/* We use char because int might match the return type of a gcc2
18366
builtin and then its argument prototype would still apply. */
18376
rm -f conftest.$ac_objext conftest$ac_exeext
18377
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18378
(eval $ac_link) 2>conftest.er1
18380
grep -v '^ *+' conftest.er1 >conftest.err
18382
cat conftest.err >&5
18383
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18384
(exit $ac_status); } &&
18385
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18386
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18387
(eval $ac_try) 2>&5
18389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390
(exit $ac_status); }; } &&
18391
{ ac_try='test -s conftest$ac_exeext'
18392
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18393
(eval $ac_try) 2>&5
18395
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18396
(exit $ac_status); }; }; then
18397
ac_cv_lib_dl_dlopen=yes
18399
echo "$as_me: failed program was:" >&5
18400
sed 's/^/| /' conftest.$ac_ext >&5
18402
ac_cv_lib_dl_dlopen=no
18404
rm -f conftest.err conftest.$ac_objext \
18405
conftest$ac_exeext conftest.$ac_ext
18406
LIBS=$ac_check_lib_save_LIBS
18408
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18409
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
18410
if test $ac_cv_lib_dl_dlopen = yes; then
18411
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
18413
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
18414
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
18415
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
18416
echo $ECHO_N "(cached) $ECHO_C" >&6
18418
ac_check_lib_save_LIBS=$LIBS
18419
LIBS="-lsvld $LIBS"
18420
cat >conftest.$ac_ext <<_ACEOF
18423
cat confdefs.h >>conftest.$ac_ext
18424
cat >>conftest.$ac_ext <<_ACEOF
18425
/* end confdefs.h. */
18427
/* Override any gcc2 internal prototype to avoid an error. */
18431
/* We use char because int might match the return type of a gcc2
18432
builtin and then its argument prototype would still apply. */
18442
rm -f conftest.$ac_objext conftest$ac_exeext
18443
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18444
(eval $ac_link) 2>conftest.er1
18446
grep -v '^ *+' conftest.er1 >conftest.err
18448
cat conftest.err >&5
18449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450
(exit $ac_status); } &&
18451
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18452
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18453
(eval $ac_try) 2>&5
18455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456
(exit $ac_status); }; } &&
18457
{ ac_try='test -s conftest$ac_exeext'
18458
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18459
(eval $ac_try) 2>&5
18461
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18462
(exit $ac_status); }; }; then
18463
ac_cv_lib_svld_dlopen=yes
18465
echo "$as_me: failed program was:" >&5
18466
sed 's/^/| /' conftest.$ac_ext >&5
18468
ac_cv_lib_svld_dlopen=no
18470
rm -f conftest.err conftest.$ac_objext \
18471
conftest$ac_exeext conftest.$ac_ext
18472
LIBS=$ac_check_lib_save_LIBS
18474
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18475
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18476
if test $ac_cv_lib_svld_dlopen = yes; then
18477
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18479
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18480
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18481
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18482
echo $ECHO_N "(cached) $ECHO_C" >&6
18484
ac_check_lib_save_LIBS=$LIBS
18486
cat >conftest.$ac_ext <<_ACEOF
18489
cat confdefs.h >>conftest.$ac_ext
18490
cat >>conftest.$ac_ext <<_ACEOF
18491
/* end confdefs.h. */
18493
/* Override any gcc2 internal prototype to avoid an error. */
18497
/* We use char because int might match the return type of a gcc2
18498
builtin and then its argument prototype would still apply. */
18508
rm -f conftest.$ac_objext conftest$ac_exeext
18509
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18510
(eval $ac_link) 2>conftest.er1
18512
grep -v '^ *+' conftest.er1 >conftest.err
18514
cat conftest.err >&5
18515
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516
(exit $ac_status); } &&
18517
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18518
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18519
(eval $ac_try) 2>&5
18521
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18522
(exit $ac_status); }; } &&
18523
{ ac_try='test -s conftest$ac_exeext'
18524
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18525
(eval $ac_try) 2>&5
18527
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18528
(exit $ac_status); }; }; then
18529
ac_cv_lib_dld_dld_link=yes
18531
echo "$as_me: failed program was:" >&5
18532
sed 's/^/| /' conftest.$ac_ext >&5
18534
ac_cv_lib_dld_dld_link=no
18536
rm -f conftest.err conftest.$ac_objext \
18537
conftest$ac_exeext conftest.$ac_ext
18538
LIBS=$ac_check_lib_save_LIBS
18540
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18541
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18542
if test $ac_cv_lib_dld_dld_link = yes; then
18543
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18564
if test "x$lt_cv_dlopen" != xno; then
18570
case $lt_cv_dlopen in
18572
save_CPPFLAGS="$CPPFLAGS"
18573
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18575
save_LDFLAGS="$LDFLAGS"
18576
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18579
LIBS="$lt_cv_dlopen_libs $LIBS"
18581
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18582
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18583
if test "${lt_cv_dlopen_self+set}" = set; then
18584
echo $ECHO_N "(cached) $ECHO_C" >&6
18586
if test "$cross_compiling" = yes; then :
18587
lt_cv_dlopen_self=cross
18589
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18590
lt_status=$lt_dlunknown
18591
cat > conftest.$ac_ext <<EOF
18592
#line __oline__ "configure"
18593
#include "confdefs.h"
18602
# define LT_DLGLOBAL RTLD_GLOBAL
18605
# define LT_DLGLOBAL DL_GLOBAL
18607
# define LT_DLGLOBAL 0
18611
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18612
find out it does not work in some platform. */
18613
#ifndef LT_DLLAZY_OR_NOW
18615
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18618
# define LT_DLLAZY_OR_NOW DL_LAZY
18621
# define LT_DLLAZY_OR_NOW RTLD_NOW
18624
# define LT_DLLAZY_OR_NOW DL_NOW
18626
# define LT_DLLAZY_OR_NOW 0
18634
extern "C" void exit (int);
18637
void fnord() { int i=42;}
18640
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18641
int status = $lt_dlunknown;
18645
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18646
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18647
/* dlclose (self); */
18653
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18654
(eval $ac_link) 2>&5
18656
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18658
(./conftest; exit; ) >&5 2>/dev/null
18660
case x$lt_status in
18661
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18662
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18663
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18666
# compilation failed
18667
lt_cv_dlopen_self=no
18674
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18675
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18677
if test "x$lt_cv_dlopen_self" = xyes; then
18678
LDFLAGS="$LDFLAGS $link_static_flag"
18679
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18680
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18681
if test "${lt_cv_dlopen_self_static+set}" = set; then
18682
echo $ECHO_N "(cached) $ECHO_C" >&6
18684
if test "$cross_compiling" = yes; then :
18685
lt_cv_dlopen_self_static=cross
18687
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18688
lt_status=$lt_dlunknown
18689
cat > conftest.$ac_ext <<EOF
18690
#line __oline__ "configure"
18691
#include "confdefs.h"
18700
# define LT_DLGLOBAL RTLD_GLOBAL
18703
# define LT_DLGLOBAL DL_GLOBAL
18705
# define LT_DLGLOBAL 0
18709
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18710
find out it does not work in some platform. */
18711
#ifndef LT_DLLAZY_OR_NOW
18713
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18716
# define LT_DLLAZY_OR_NOW DL_LAZY
18719
# define LT_DLLAZY_OR_NOW RTLD_NOW
18722
# define LT_DLLAZY_OR_NOW DL_NOW
18724
# define LT_DLLAZY_OR_NOW 0
18732
extern "C" void exit (int);
18735
void fnord() { int i=42;}
18738
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18739
int status = $lt_dlunknown;
18743
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18744
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18745
/* dlclose (self); */
18751
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18752
(eval $ac_link) 2>&5
18754
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18755
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18756
(./conftest; exit; ) >&5 2>/dev/null
18758
case x$lt_status in
18759
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18760
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18761
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18764
# compilation failed
18765
lt_cv_dlopen_self_static=no
18772
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18773
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18776
CPPFLAGS="$save_CPPFLAGS"
18777
LDFLAGS="$save_LDFLAGS"
18782
case $lt_cv_dlopen_self in
18783
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18784
*) enable_dlopen_self=unknown ;;
18787
case $lt_cv_dlopen_self_static in
18788
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18789
*) enable_dlopen_self_static=unknown ;;
18794
18543
# The else clause should only fire when bootstrapping the
18795
18544
# libtool distribution, otherwise you forgot to ship ltmain.sh
20086
19915
# Name of the executable.
20087
as_me=`$as_basename "$0" ||
19916
as_me=`$as_basename -- "$0" ||
20088
19917
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20089
19918
X"$0" : 'X\(//\)$' \| \
20090
X"$0" : 'X\(/\)$' \| \
20091
. : '\(.\)' 2>/dev/null ||
19919
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20092
19920
echo X/"$0" |
20093
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20094
/^X\/\(\/\/\)$/{ s//\1/; q; }
20095
/^X\/\(\/\).*/{ s//\1/; q; }
20099
# PATH needs CR, and LINENO needs CR and PATH.
20100
# Avoid depending upon Character Ranges.
20101
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20102
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20103
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20104
as_cr_digits='0123456789'
20105
as_cr_alnum=$as_cr_Letters$as_cr_digits
20107
# The user is always right.
20108
if test "${PATH_SEPARATOR+set}" != set; then
20109
echo "#! /bin/sh" >conf$$.sh
20110
echo "exit 0" >>conf$$.sh
20112
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20121
as_lineno_1=$LINENO
20122
as_lineno_2=$LINENO
20123
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20124
test "x$as_lineno_1" != "x$as_lineno_2" &&
20125
test "x$as_lineno_3" = "x$as_lineno_2" || {
20126
# Find who we are. Look in the path if we contain no path at all
20129
*[\\/]* ) as_myself=$0 ;;
20130
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20131
for as_dir in $PATH
20134
test -z "$as_dir" && as_dir=.
20135
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20140
# We did not find ourselves, most probably we were run as `sh COMMAND'
20141
# in which case we are not to be found in the path.
20142
if test "x$as_myself" = x; then
20145
if test ! -f "$as_myself"; then
20146
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20147
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20148
{ (exit 1); exit 1; }; }
20150
case $CONFIG_SHELL in
20152
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20153
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20156
test -z "$as_dir" && as_dir=.
20157
for as_base in sh bash ksh sh5; do
20160
if ("$as_dir/$as_base" -c '
20161
as_lineno_1=$LINENO
20162
as_lineno_2=$LINENO
20163
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20164
test "x$as_lineno_1" != "x$as_lineno_2" &&
20165
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20166
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20167
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20168
CONFIG_SHELL=$as_dir/$as_base
20169
export CONFIG_SHELL
20170
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
19921
sed '/^.*\/\([^/][^/]*\)\/*$/{
19940
as_lineno_1=$LINENO
19941
as_lineno_2=$LINENO
19942
test "x$as_lineno_1" != "x$as_lineno_2" &&
19943
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20178
19945
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20179
19946
# uniformly replaced by the line number. The first 'sed' inserts a
20180
# line-number line before each line; the second 'sed' does the real
20181
# work. The second script uses 'N' to pair each line-number line
20182
# with the numbered line, and appends trailing '-' during
20183
# substitution so that $LINENO is not a special case at line end.
19947
# line-number line after each line using $LINENO; the second 'sed'
19948
# does the real work. The second script uses 'N' to pair each
19949
# line-number line with the line containing $LINENO, and appends
19950
# trailing '-' during substitution so that $LINENO is not a special
19951
# case at line end.
20184
19952
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20185
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20186
sed '=' <$as_myself |
19953
# scripts with optimization help from Paolo Bonzini. Blame Lee
19954
# E. McMahon (1931-1989) for sed's syntax. :-)
20191
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
19966
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20194
s,^['$as_cr_digits']*\n,,
20195
19969
' >$as_me.lineno &&
20196
chmod +x $as_me.lineno ||
20197
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20198
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
19970
chmod +x "$as_me.lineno" ||
19971
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20199
19972
{ (exit 1); exit 1; }; }
20201
19974
# Don't try to exec as it changes $[0], causing all sort of problems
20202
19975
# (the dirname of $[0] is not the place where we might find the
20203
# original and so on. Autoconf is especially sensible to this).
19976
# original and so on. Autoconf is especially sensitive to this).
19977
. "./$as_me.lineno"
20205
19978
# Exit status is that of the last command.
20210
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20211
*c*,-n*) ECHO_N= ECHO_C='
20213
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20214
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
19983
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19989
ECHO_C= ECHO_N= ECHO_T=
19990
case `echo -n x` in
19992
case `echo 'x\c'` in
19993
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
20217
if expr a : '\(a\)' >/dev/null 2>&1; then
20000
if expr a : '\(a\)' >/dev/null 2>&1 &&
20001
test "X`expr 00001 : '.*\(...\)'`" = X001; then
20220
20004
as_expr=false
20223
20007
rm -f conf$$ conf$$.exe conf$$.file
20008
if test -d conf$$.dir; then
20009
rm -f conf$$.dir/conf$$.file
20224
20014
echo >conf$$.file
20225
20015
if ln -s conf$$.file conf$$ 2>/dev/null; then
20226
# We could just check for DJGPP; but this test a) works b) is more generic
20227
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20228
if test -f conf$$.exe; then
20229
# Don't use ln at all; we don't have any links
20017
# ... but there are two gotchas:
20018
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20019
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20020
# In both cases, we have to default to `cp -p'.
20021
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20230
20022
as_ln_s='cp -p'
20234
20023
elif ln conf$$.file conf$$ 2>/dev/null; then
20237
20026
as_ln_s='cp -p'
20239
rm -f conf$$ conf$$.exe conf$$.file
20028
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20029
rmdir conf$$.dir 2>/dev/null
20241
20031
if mkdir -p . 2>/dev/null; then
20468
20247
# Have a temporary directory for convenience. Make it in the build tree
20469
# simply because there is no reason to put it here, and in addition,
20248
# simply because there is no reason against having it here, and in addition,
20470
20249
# creating and moving files from /tmp can sometimes cause problems.
20471
# Create a temporary directory, and hook for its removal unless debugging.
20250
# Hook for its removal unless debugging.
20251
# Note that there is a small window in which the directory will not be cleaned:
20252
# after its creation but before its name has been assigned to `$tmp'.
20474
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20256
trap 'exit_status=$?
20257
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
20475
20259
trap '{ (exit 1); exit 1; }' 1 2 13 15
20478
20261
# Create a (secure) tmp directory for tmp files.
20481
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20264
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20482
20265
test -n "$tmp" && test -d "$tmp"
20485
tmp=./confstat$$-$RANDOM
20486
(umask 077 && mkdir $tmp)
20268
tmp=./conf$$-$RANDOM
20269
(umask 077 && mkdir "$tmp")
20489
20272
echo "$me: cannot create a temporary directory in ." >&2
20490
20273
{ (exit 1); exit 1; }
20495
cat >>$CONFIG_STATUS <<_ACEOF
20498
# CONFIG_FILES section.
20277
# Set up the sed scripts for CONFIG_FILES section.
20501
20280
# No need to generate the scripts if there are no CONFIG_FILES.
20502
20281
# This happens for instance when ./config.status config.h
20503
if test -n "\$CONFIG_FILES"; then
20504
# Protect against being on the right side of a sed subst in config.status.
20505
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20506
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20507
s,@SHELL@,$SHELL,;t t
20508
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20509
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20510
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20511
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20512
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20513
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20514
s,@exec_prefix@,$exec_prefix,;t t
20515
s,@prefix@,$prefix,;t t
20516
s,@program_transform_name@,$program_transform_name,;t t
20517
s,@bindir@,$bindir,;t t
20518
s,@sbindir@,$sbindir,;t t
20519
s,@libexecdir@,$libexecdir,;t t
20520
s,@datadir@,$datadir,;t t
20521
s,@sysconfdir@,$sysconfdir,;t t
20522
s,@sharedstatedir@,$sharedstatedir,;t t
20523
s,@localstatedir@,$localstatedir,;t t
20524
s,@libdir@,$libdir,;t t
20525
s,@includedir@,$includedir,;t t
20526
s,@oldincludedir@,$oldincludedir,;t t
20527
s,@infodir@,$infodir,;t t
20528
s,@mandir@,$mandir,;t t
20529
s,@build_alias@,$build_alias,;t t
20530
s,@host_alias@,$host_alias,;t t
20531
s,@target_alias@,$target_alias,;t t
20532
s,@DEFS@,$DEFS,;t t
20533
s,@ECHO_C@,$ECHO_C,;t t
20534
s,@ECHO_N@,$ECHO_N,;t t
20535
s,@ECHO_T@,$ECHO_T,;t t
20536
s,@LIBS@,$LIBS,;t t
20537
s,@LIBTIDY_VERSION@,$LIBTIDY_VERSION,;t t
20538
s,@LT_RELEASE@,$LT_RELEASE,;t t
20539
s,@LT_CURRENT@,$LT_CURRENT,;t t
20540
s,@LT_REVISION@,$LT_REVISION,;t t
20541
s,@LT_AGE@,$LT_AGE,;t t
20542
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20543
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20544
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20545
s,@CYGPATH_W@,$CYGPATH_W,;t t
20546
s,@PACKAGE@,$PACKAGE,;t t
20547
s,@VERSION@,$VERSION,;t t
20548
s,@ACLOCAL@,$ACLOCAL,;t t
20549
s,@AUTOCONF@,$AUTOCONF,;t t
20550
s,@AUTOMAKE@,$AUTOMAKE,;t t
20551
s,@AUTOHEADER@,$AUTOHEADER,;t t
20552
s,@MAKEINFO@,$MAKEINFO,;t t
20553
s,@install_sh@,$install_sh,;t t
20554
s,@STRIP@,$STRIP,;t t
20555
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20556
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
20557
s,@mkdir_p@,$mkdir_p,;t t
20559
s,@SET_MAKE@,$SET_MAKE,;t t
20560
s,@am__leading_dot@,$am__leading_dot,;t t
20561
s,@AMTAR@,$AMTAR,;t t
20562
s,@am__tar@,$am__tar,;t t
20563
s,@am__untar@,$am__untar,;t t
20565
s,@CFLAGS@,$CFLAGS,;t t
20566
s,@LDFLAGS@,$LDFLAGS,;t t
20567
s,@CPPFLAGS@,$CPPFLAGS,;t t
20568
s,@ac_ct_CC@,$ac_ct_CC,;t t
20569
s,@EXEEXT@,$EXEEXT,;t t
20570
s,@OBJEXT@,$OBJEXT,;t t
20571
s,@DEPDIR@,$DEPDIR,;t t
20572
s,@am__include@,$am__include,;t t
20573
s,@am__quote@,$am__quote,;t t
20574
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
20575
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
20576
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
20577
s,@CCDEPMODE@,$CCDEPMODE,;t t
20578
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
20579
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
20580
s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
20583
s,@CXXFLAGS@,$CXXFLAGS,;t t
20584
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20585
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
20586
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
20587
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
20588
s,@LN_S@,$LN_S,;t t
20589
s,@build@,$build,;t t
20590
s,@build_cpu@,$build_cpu,;t t
20591
s,@build_vendor@,$build_vendor,;t t
20592
s,@build_os@,$build_os,;t t
20593
s,@host@,$host,;t t
20594
s,@host_cpu@,$host_cpu,;t t
20595
s,@host_vendor@,$host_vendor,;t t
20596
s,@host_os@,$host_os,;t t
20597
s,@EGREP@,$EGREP,;t t
20598
s,@ECHO@,$ECHO,;t t
20600
s,@ac_ct_AR@,$ac_ct_AR,;t t
20601
s,@RANLIB@,$RANLIB,;t t
20602
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20603
s,@CXXCPP@,$CXXCPP,;t t
20605
s,@FFLAGS@,$FFLAGS,;t t
20606
s,@ac_ct_F77@,$ac_ct_F77,;t t
20607
s,@LIBTOOL@,$LIBTOOL,;t t
20608
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
20609
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20614
cat >>$CONFIG_STATUS <<\_ACEOF
20615
# Split the substitutions into bite-sized pieces for seds with
20616
# small command number limits, like on Digital OSF/1 and HP-UX.
20617
ac_max_sed_lines=48
20618
ac_sed_frag=1 # Number of current file.
20619
ac_beg=1 # First line for current file.
20620
ac_end=$ac_max_sed_lines # Line after last line for current file.
20623
while $ac_more_lines; do
20624
if test $ac_beg -gt 1; then
20625
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20627
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
20629
if test ! -s $tmp/subs.frag; then
20630
ac_more_lines=false
20632
# The purpose of the label and of the branching condition is to
20633
# speed up the sed processing (if there are no `@' at all, there
20634
# is no need to browse any of the substitutions).
20635
# These are the two extra sed commands mentioned above.
20637
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
20638
if test -z "$ac_sed_cmds"; then
20639
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
20641
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20643
ac_sed_frag=`expr $ac_sed_frag + 1`
20645
ac_end=`expr $ac_end + $ac_max_sed_lines`
20648
if test -z "$ac_sed_cmds"; then
20282
if test -n "$CONFIG_FILES"; then
20289
for ac_last_try in false false false false false :; do
20290
cat >conf$$subs.sed <<_ACEOF
20291
SHELL!$SHELL$ac_delim
20292
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
20293
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
20294
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
20295
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
20296
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
20297
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
20298
exec_prefix!$exec_prefix$ac_delim
20299
prefix!$prefix$ac_delim
20300
program_transform_name!$program_transform_name$ac_delim
20301
bindir!$bindir$ac_delim
20302
sbindir!$sbindir$ac_delim
20303
libexecdir!$libexecdir$ac_delim
20304
datarootdir!$datarootdir$ac_delim
20305
datadir!$datadir$ac_delim
20306
sysconfdir!$sysconfdir$ac_delim
20307
sharedstatedir!$sharedstatedir$ac_delim
20308
localstatedir!$localstatedir$ac_delim
20309
includedir!$includedir$ac_delim
20310
oldincludedir!$oldincludedir$ac_delim
20311
docdir!$docdir$ac_delim
20312
infodir!$infodir$ac_delim
20313
htmldir!$htmldir$ac_delim
20314
dvidir!$dvidir$ac_delim
20315
pdfdir!$pdfdir$ac_delim
20316
psdir!$psdir$ac_delim
20317
libdir!$libdir$ac_delim
20318
localedir!$localedir$ac_delim
20319
mandir!$mandir$ac_delim
20320
DEFS!$DEFS$ac_delim
20321
ECHO_C!$ECHO_C$ac_delim
20322
ECHO_N!$ECHO_N$ac_delim
20323
ECHO_T!$ECHO_T$ac_delim
20324
LIBS!$LIBS$ac_delim
20325
build_alias!$build_alias$ac_delim
20326
host_alias!$host_alias$ac_delim
20327
target_alias!$target_alias$ac_delim
20328
LIBTIDY_VERSION!$LIBTIDY_VERSION$ac_delim
20329
LT_RELEASE!$LT_RELEASE$ac_delim
20330
LT_CURRENT!$LT_CURRENT$ac_delim
20331
LT_REVISION!$LT_REVISION$ac_delim
20332
LT_AGE!$LT_AGE$ac_delim
20333
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
20334
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
20335
INSTALL_DATA!$INSTALL_DATA$ac_delim
20336
CYGPATH_W!$CYGPATH_W$ac_delim
20337
PACKAGE!$PACKAGE$ac_delim
20338
VERSION!$VERSION$ac_delim
20339
ACLOCAL!$ACLOCAL$ac_delim
20340
AUTOCONF!$AUTOCONF$ac_delim
20341
AUTOMAKE!$AUTOMAKE$ac_delim
20342
AUTOHEADER!$AUTOHEADER$ac_delim
20343
MAKEINFO!$MAKEINFO$ac_delim
20344
install_sh!$install_sh$ac_delim
20345
STRIP!$STRIP$ac_delim
20346
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
20347
mkdir_p!$mkdir_p$ac_delim
20349
SET_MAKE!$SET_MAKE$ac_delim
20350
am__leading_dot!$am__leading_dot$ac_delim
20351
AMTAR!$AMTAR$ac_delim
20352
am__tar!$am__tar$ac_delim
20353
am__untar!$am__untar$ac_delim
20355
CFLAGS!$CFLAGS$ac_delim
20356
LDFLAGS!$LDFLAGS$ac_delim
20357
CPPFLAGS!$CPPFLAGS$ac_delim
20358
ac_ct_CC!$ac_ct_CC$ac_delim
20359
EXEEXT!$EXEEXT$ac_delim
20360
OBJEXT!$OBJEXT$ac_delim
20361
DEPDIR!$DEPDIR$ac_delim
20362
am__include!$am__include$ac_delim
20363
am__quote!$am__quote$ac_delim
20364
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
20365
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
20366
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
20367
CCDEPMODE!$CCDEPMODE$ac_delim
20368
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
20369
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
20370
WARNING_CFLAGS!$WARNING_CFLAGS$ac_delim
20373
CXXFLAGS!$CXXFLAGS$ac_delim
20374
ac_ct_CXX!$ac_ct_CXX$ac_delim
20375
CXXDEPMODE!$CXXDEPMODE$ac_delim
20376
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
20377
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
20378
LN_S!$LN_S$ac_delim
20379
build!$build$ac_delim
20380
build_cpu!$build_cpu$ac_delim
20381
build_vendor!$build_vendor$ac_delim
20382
build_os!$build_os$ac_delim
20383
host!$host$ac_delim
20384
host_cpu!$host_cpu$ac_delim
20385
host_vendor!$host_vendor$ac_delim
20386
host_os!$host_os$ac_delim
20390
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
20392
elif $ac_last_try; then
20393
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20394
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20395
{ (exit 1); exit 1; }; }
20397
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20401
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20402
if test -n "$ac_eof"; then
20403
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20404
ac_eof=`expr $ac_eof + 1`
20407
cat >>$CONFIG_STATUS <<_ACEOF
20408
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
20409
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20412
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20413
s/^/s,@/; s/!/@,|#_!!_#|/
20416
s/'"$ac_delim"'$/,g/; t
20418
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20419
' >>$CONFIG_STATUS <conf$$subs.sed
20420
rm -f conf$$subs.sed
20421
cat >>$CONFIG_STATUS <<_ACEOF
20427
for ac_last_try in false false false false false :; do
20428
cat >conf$$subs.sed <<_ACEOF
20429
GREP!$GREP$ac_delim
20430
EGREP!$EGREP$ac_delim
20431
ECHO!$ECHO$ac_delim
20433
RANLIB!$RANLIB$ac_delim
20434
CXXCPP!$CXXCPP$ac_delim
20436
FFLAGS!$FFLAGS$ac_delim
20437
ac_ct_F77!$ac_ct_F77$ac_delim
20438
LIBTOOL!$LIBTOOL$ac_delim
20439
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
20440
LTLIBOBJS!$LTLIBOBJS$ac_delim
20443
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
20445
elif $ac_last_try; then
20446
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
20447
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
20448
{ (exit 1); exit 1; }; }
20450
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20454
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
20455
if test -n "$ac_eof"; then
20456
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
20457
ac_eof=`expr $ac_eof + 1`
20460
cat >>$CONFIG_STATUS <<_ACEOF
20461
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
20462
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
20465
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
20466
s/^/s,@/; s/!/@,|#_!!_#|/
20469
s/'"$ac_delim"'$/,g/; t
20471
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
20472
' >>$CONFIG_STATUS <conf$$subs.sed
20473
rm -f conf$$subs.sed
20474
cat >>$CONFIG_STATUS <<_ACEOF
20481
# VPATH may cause trouble with some makes, so we remove $(srcdir),
20482
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20483
# trailing colons and then remove the whole line if VPATH becomes empty
20484
# (actually we leave an empty line to preserve line numbers).
20485
if test "x$srcdir" = x.; then
20486
ac_vpsub='/^[ ]*VPATH[ ]*=/{
20487
s/:*\$(srcdir):*/:/
20488
s/:*\${srcdir}:*/:/
20490
s/^\([^=]*=[ ]*\):*/\1/
20496
cat >>$CONFIG_STATUS <<\_ACEOF
20651
20497
fi # test -n "$CONFIG_FILES"
20654
cat >>$CONFIG_STATUS <<\_ACEOF
20655
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
20656
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20658
- | *:- | *:-:* ) # input from stdin
20660
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20661
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20662
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
20663
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
20664
* ) ac_file_in=$ac_file.in ;;
20667
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20668
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
20500
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
20503
:[FHLC]) ac_mode=$ac_tag; continue;;
20505
case $ac_mode$ac_tag in
20507
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
20508
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
20509
{ (exit 1); exit 1; }; };;
20510
:[FH]-) ac_tag=-:-;;
20511
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20528
-) ac_f="$tmp/stdin";;
20529
*) # Look for the file first in the build tree, then in the source tree
20530
# (if the path is not absolute). The absolute path cannot be DOS-style,
20531
# because $ac_f cannot contain `:'.
20535
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20537
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
20538
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
20539
{ (exit 1); exit 1; }; };;
20541
ac_file_inputs="$ac_file_inputs $ac_f"
20544
# Let's still pretend it is `configure' which instantiates (i.e., don't
20545
# use $as_me), people would be surprised to read:
20546
# /* config.h. Generated by config.status. */
20547
configure_input="Generated from "`IFS=:
20548
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
20549
if test x"$ac_file" != x-; then
20550
configure_input="$ac_file. $configure_input"
20551
{ echo "$as_me:$LINENO: creating $ac_file" >&5
20552
echo "$as_me: creating $ac_file" >&6;}
20556
*:-:* | *:-) cat >"$tmp/stdin";;
20561
ac_dir=`$as_dirname -- "$ac_file" ||
20669
20562
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20670
20563
X"$ac_file" : 'X\(//\)[^/]' \| \
20671
20564
X"$ac_file" : 'X\(//\)$' \| \
20672
X"$ac_file" : 'X\(/\)' \| \
20673
. : '\(.\)' 2>/dev/null ||
20565
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20674
20566
echo X"$ac_file" |
20675
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20676
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20677
/^X\(\/\/\)$/{ s//\1/; q; }
20678
/^X\(\/\).*/{ s//\1/; q; }
20680
{ if $as_mkdir_p; then
20567
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20571
/^X\(\/\/\)[^/].*/{
20586
-*) as_dir=./$as_dir;;
20588
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
20685
while test ! -d "$as_dir"; do
20686
as_dirs="$as_dir $as_dirs"
20687
as_dir=`(dirname "$as_dir") 2>/dev/null ||
20592
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
20593
*) as_qdir=$as_dir;;
20595
as_dirs="'$as_qdir' $as_dirs"
20596
as_dir=`$as_dirname -- "$as_dir" ||
20688
20597
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20689
20598
X"$as_dir" : 'X\(//\)[^/]' \| \
20690
20599
X"$as_dir" : 'X\(//\)$' \| \
20691
X"$as_dir" : 'X\(/\)' \| \
20692
. : '\(.\)' 2>/dev/null ||
20600
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20693
20601
echo X"$as_dir" |
20694
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20695
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20696
/^X\(\/\/\)$/{ s//\1/; q; }
20697
/^X\(\/\).*/{ s//\1/; q; }
20602
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20606
/^X\(\/\/\)[^/].*/{
20619
test -d "$as_dir" && break
20700
test ! -n "$as_dirs" || mkdir $as_dirs
20701
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20702
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20621
test -z "$as_dirs" || eval "mkdir $as_dirs"
20622
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
20623
echo "$as_me: error: cannot create directory $as_dir" >&2;}
20703
20624
{ (exit 1); exit 1; }; }; }
20705
20625
ac_builddir=.
20707
if test "$ac_dir" != .; then
20628
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20708
20630
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20709
# A "../" for each directory in $ac_dir_suffix.
20710
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20712
ac_dir_suffix= ac_top_builddir=
20631
# A ".." for each directory in $ac_dir_suffix.
20632
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
20633
case $ac_top_builddir_sub in
20634
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20635
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20638
ac_abs_top_builddir=$ac_pwd
20639
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20640
# for backward compatibility:
20641
ac_top_builddir=$ac_top_build_prefix
20715
20643
case $srcdir in
20716
.) # No --srcdir option. We are building in place.
20644
.) # We are building in place.
20718
if test -z "$ac_top_builddir"; then
20721
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20723
[\\/]* | ?:[\\/]* ) # Absolute path.
20646
ac_top_srcdir=$ac_top_builddir_sub
20647
ac_abs_top_srcdir=$ac_pwd ;;
20648
[\\/]* | ?:[\\/]* ) # Absolute name.
20724
20649
ac_srcdir=$srcdir$ac_dir_suffix;
20725
ac_top_srcdir=$srcdir ;;
20726
*) # Relative path.
20727
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20728
ac_top_srcdir=$ac_top_builddir$srcdir ;;
20731
# Do not use `cd foo && pwd` to compute absolute paths, because
20732
# the directories may not exist.
20734
.) ac_abs_builddir="$ac_dir";;
20737
.) ac_abs_builddir=`pwd`;;
20738
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20739
*) ac_abs_builddir=`pwd`/"$ac_dir";;
20742
case $ac_abs_builddir in
20743
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20745
case ${ac_top_builddir}. in
20746
.) ac_abs_top_builddir=$ac_abs_builddir;;
20747
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20748
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20751
case $ac_abs_builddir in
20752
.) ac_abs_srcdir=$ac_srcdir;;
20755
.) ac_abs_srcdir=$ac_abs_builddir;;
20756
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20757
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20760
case $ac_abs_builddir in
20761
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20763
case $ac_top_srcdir in
20764
.) ac_abs_top_srcdir=$ac_abs_builddir;;
20765
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20766
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20650
ac_top_srcdir=$srcdir
20651
ac_abs_top_srcdir=$srcdir ;;
20652
*) # Relative name.
20653
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20654
ac_top_srcdir=$ac_top_build_prefix$srcdir
20655
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20657
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20771
20666
case $INSTALL in
20772
20667
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20773
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20668
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20776
# Let's still pretend it is `configure' which instantiates (i.e., don't
20777
# use $as_me), people would be surprised to read:
20778
# /* config.h. Generated by config.status. */
20779
if test x"$ac_file" = x-; then
20782
configure_input="$ac_file. "
20784
configure_input=$configure_input"Generated from `echo $ac_file_in |
20785
sed 's,.*/,,'` by configure."
20787
# First look for the input files in the build tree, otherwise in the
20789
ac_file_inputs=`IFS=:
20790
for f in $ac_file_in; do
20792
-) echo $tmp/stdin ;;
20794
# Absolute (can't be DOS-style, as IFS=:)
20795
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20796
echo "$as_me: error: cannot find input file: $f" >&2;}
20797
{ (exit 1); exit 1; }; }
20800
if test -f "$f"; then
20803
elif test -f "$srcdir/$f"; then
20808
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
20809
echo "$as_me: error: cannot find input file: $f" >&2;}
20810
{ (exit 1); exit 1; }; }
20813
done` || { (exit 1); exit 1; }
20815
if test x"$ac_file" != x-; then
20816
{ echo "$as_me:$LINENO: creating $ac_file" >&5
20817
echo "$as_me: creating $ac_file" >&6;}
20672
cat >>$CONFIG_STATUS <<\_ACEOF
20673
# If the template does not know about datarootdir, expand it.
20674
# FIXME: This hack should be removed a few years after 2.60.
20675
ac_datarootdir_hack=; ac_datarootdir_seen=
20677
case `sed -n '/datarootdir/ {
20686
' $ac_file_inputs` in
20687
*datarootdir*) ac_datarootdir_seen=yes;;
20688
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20689
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20690
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20692
cat >>$CONFIG_STATUS <<_ACEOF
20693
ac_datarootdir_hack='
20694
s&@datadir@&$datadir&g
20695
s&@docdir@&$docdir&g
20696
s&@infodir@&$infodir&g
20697
s&@localedir@&$localedir&g
20698
s&@mandir@&$mandir&g
20699
s&\\\${datarootdir}&$datarootdir&g' ;;
20703
# Neutralize VPATH when `$srcdir' = `.'.
20704
# Shell code in configure.ac might set extrasub.
20705
# FIXME: do we really want to maintain this feature?
20821
20706
cat >>$CONFIG_STATUS <<_ACEOF
20822
20707
sed "$ac_vpsub
20825
20710
cat >>$CONFIG_STATUS <<\_ACEOF
20827
20712
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20828
s,@configure_input@,$configure_input,;t t
20829
s,@srcdir@,$ac_srcdir,;t t
20830
s,@abs_srcdir@,$ac_abs_srcdir,;t t
20831
s,@top_srcdir@,$ac_top_srcdir,;t t
20832
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
20833
s,@builddir@,$ac_builddir,;t t
20834
s,@abs_builddir@,$ac_abs_builddir,;t t
20835
s,@top_builddir@,$ac_top_builddir,;t t
20836
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
20837
s,@INSTALL@,$ac_INSTALL,;t t
20838
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
20840
if test x"$ac_file" != x-; then
20841
mv $tmp/out $ac_file
20849
cat >>$CONFIG_STATUS <<\_ACEOF
20852
# CONFIG_COMMANDS section.
20854
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
20855
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
20856
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
20857
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
20858
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20859
X"$ac_dest" : 'X\(//\)[^/]' \| \
20860
X"$ac_dest" : 'X\(//\)$' \| \
20861
X"$ac_dest" : 'X\(/\)' \| \
20862
. : '\(.\)' 2>/dev/null ||
20864
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20865
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20866
/^X\(\/\/\)$/{ s//\1/; q; }
20867
/^X\(\/\).*/{ s//\1/; q; }
20869
{ if $as_mkdir_p; then
20874
while test ! -d "$as_dir"; do
20875
as_dirs="$as_dir $as_dirs"
20876
as_dir=`(dirname "$as_dir") 2>/dev/null ||
20877
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20878
X"$as_dir" : 'X\(//\)[^/]' \| \
20879
X"$as_dir" : 'X\(//\)$' \| \
20880
X"$as_dir" : 'X\(/\)' \| \
20881
. : '\(.\)' 2>/dev/null ||
20883
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
20884
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
20885
/^X\(\/\/\)$/{ s//\1/; q; }
20886
/^X\(\/\).*/{ s//\1/; q; }
20889
test ! -n "$as_dirs" || mkdir $as_dirs
20890
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
20891
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
20892
{ (exit 1); exit 1; }; }; }
20896
if test "$ac_dir" != .; then
20897
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
20898
# A "../" for each directory in $ac_dir_suffix.
20899
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
20901
ac_dir_suffix= ac_top_builddir=
20905
.) # No --srcdir option. We are building in place.
20907
if test -z "$ac_top_builddir"; then
20910
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
20912
[\\/]* | ?:[\\/]* ) # Absolute path.
20913
ac_srcdir=$srcdir$ac_dir_suffix;
20914
ac_top_srcdir=$srcdir ;;
20915
*) # Relative path.
20916
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
20917
ac_top_srcdir=$ac_top_builddir$srcdir ;;
20920
# Do not use `cd foo && pwd` to compute absolute paths, because
20921
# the directories may not exist.
20923
.) ac_abs_builddir="$ac_dir";;
20926
.) ac_abs_builddir=`pwd`;;
20927
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
20928
*) ac_abs_builddir=`pwd`/"$ac_dir";;
20931
case $ac_abs_builddir in
20932
.) ac_abs_top_builddir=${ac_top_builddir}.;;
20934
case ${ac_top_builddir}. in
20935
.) ac_abs_top_builddir=$ac_abs_builddir;;
20936
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
20937
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
20940
case $ac_abs_builddir in
20941
.) ac_abs_srcdir=$ac_srcdir;;
20944
.) ac_abs_srcdir=$ac_abs_builddir;;
20945
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
20946
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
20949
case $ac_abs_builddir in
20950
.) ac_abs_top_srcdir=$ac_top_srcdir;;
20952
case $ac_top_srcdir in
20953
.) ac_abs_top_srcdir=$ac_abs_builddir;;
20954
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
20955
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
20960
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20961
echo "$as_me: executing $ac_dest commands" >&6;}
20963
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20713
s&@configure_input@&$configure_input&;t t
20714
s&@top_builddir@&$ac_top_builddir_sub&;t t
20715
s&@srcdir@&$ac_srcdir&;t t
20716
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20717
s&@top_srcdir@&$ac_top_srcdir&;t t
20718
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20719
s&@builddir@&$ac_builddir&;t t
20720
s&@abs_builddir@&$ac_abs_builddir&;t t
20721
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20722
s&@INSTALL@&$ac_INSTALL&;t t
20723
$ac_datarootdir_hack
20724
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
20726
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20727
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
20728
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
20729
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20730
which seems to be undefined. Please make sure it is defined." >&5
20731
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20732
which seems to be undefined. Please make sure it is defined." >&2;}
20736
-) cat "$tmp/out"; rm -f "$tmp/out";;
20737
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
20742
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
20743
echo "$as_me: executing $ac_file commands" >&6;}
20748
case $ac_file$ac_mode in
20749
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
20964
20750
# Strip MF so we end up with the name of the file.
20965
20751
mf=`echo "$mf" | sed -e 's/:.*$//'`
20966
20752
# Check whether this is an Automake generated Makefile or not.