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
1050
1537
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1051
1538
--with-pic try to use only PIC/non-PIC objects [default=use
1054
include additional configurations [automatic]
1540
--with-tags[=TAGS] include additional configurations [automatic]
1056
1542
Some influential environment variables:
1057
1543
CC C compiler command
1058
1544
CFLAGS C compiler flags
1059
1545
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060
1546
nonstandard directory <lib dir>
1061
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062
headers in a nonstandard directory <include dir>
1547
LIBS libraries to pass to the linker, e.g. -l<library>
1548
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1549
you have headers in a nonstandard directory <include dir>
1063
1550
CXX C++ compiler command
1064
1551
CXXFLAGS C++ compiler flags
1065
1552
CXXCPP C++ preprocessor
1066
1553
CPP C preprocessor
1067
1554
F77 Fortran 77 compiler command
1068
1555
FFLAGS Fortran 77 compiler flags
1556
PKG_CONFIG path to pkg-config utility
1557
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1558
GTK_LIBS linker flags for GTK, overriding pkg-config
1559
OGG_CFLAGS C compiler flags for OGG, overriding pkg-config
1560
OGG_LIBS linker flags for OGG, overriding pkg-config
1562
C compiler flags for VORBIS, overriding pkg-config
1563
VORBIS_LIBS linker flags for VORBIS, overriding pkg-config
1565
C compiler flags for WAVPACK, overriding pkg-config
1567
linker flags for WAVPACK, overriding pkg-config
1070
1569
Use these variables to override the choices made by `configure' or to help
1071
1570
it to find libraries and programs with nonstandard names/locations.
1076
1576
if test "$ac_init_help" = "recursive"; then
1077
1577
# If there are subdirs, report their specific --help.
1079
1578
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1080
test -d $ac_dir || continue
1579
test -d "$ac_dir" || continue
1083
if test "$ac_dir" != .; then
1583
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1084
1585
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1085
# A "../" for each directory in $ac_dir_suffix.
1086
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1088
ac_dir_suffix= ac_top_builddir=
1586
# A ".." for each directory in $ac_dir_suffix.
1587
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1588
case $ac_top_builddir_sub in
1589
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593
ac_abs_top_builddir=$ac_pwd
1594
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595
# for backward compatibility:
1596
ac_top_builddir=$ac_top_build_prefix
1091
1598
case $srcdir in
1092
.) # No --srcdir option. We are building in place.
1599
.) # We are building in place.
1094
if test -z "$ac_top_builddir"; then
1097
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1099
[\\/]* | ?:[\\/]* ) # Absolute path.
1601
ac_top_srcdir=$ac_top_builddir_sub
1602
ac_abs_top_srcdir=$ac_pwd ;;
1603
[\\/]* | ?:[\\/]* ) # Absolute name.
1100
1604
ac_srcdir=$srcdir$ac_dir_suffix;
1101
ac_top_srcdir=$srcdir ;;
1103
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1104
ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107
# Do not use `cd foo && pwd` to compute absolute paths, because
1108
# the directories may not exist.
1110
.) ac_abs_builddir="$ac_dir";;
1113
.) ac_abs_builddir=`pwd`;;
1114
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1115
*) ac_abs_builddir=`pwd`/"$ac_dir";;
1118
case $ac_abs_builddir in
1119
.) ac_abs_top_builddir=${ac_top_builddir}.;;
1121
case ${ac_top_builddir}. in
1122
.) ac_abs_top_builddir=$ac_abs_builddir;;
1123
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1124
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1127
case $ac_abs_builddir in
1128
.) ac_abs_srcdir=$ac_srcdir;;
1131
.) ac_abs_srcdir=$ac_abs_builddir;;
1132
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1133
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1136
case $ac_abs_builddir in
1137
.) ac_abs_top_srcdir=$ac_top_srcdir;;
1139
case $ac_top_srcdir in
1140
.) ac_abs_top_srcdir=$ac_abs_builddir;;
1141
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1142
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1147
# Check for guested configure; otherwise get Cygnus style configure.
1148
if test -f $ac_srcdir/configure.gnu; then
1150
$SHELL $ac_srcdir/configure.gnu --help=recursive
1151
elif test -f $ac_srcdir/configure; then
1153
$SHELL $ac_srcdir/configure --help=recursive
1154
elif test -f $ac_srcdir/configure.ac ||
1155
test -f $ac_srcdir/configure.in; then
1157
$ac_configure --help
1605
ac_top_srcdir=$srcdir
1606
ac_abs_top_srcdir=$srcdir ;;
1608
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609
ac_top_srcdir=$ac_top_build_prefix$srcdir
1610
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614
cd "$ac_dir" || { ac_status=$?; continue; }
1615
# Check for guested configure.
1616
if test -f "$ac_srcdir/configure.gnu"; then
1618
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619
elif test -f "$ac_srcdir/configure"; then
1621
$SHELL "$ac_srcdir/configure" --help=recursive
1159
1623
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625
cd "$ac_pwd" || { ac_status=$?; break; }
1165
test -n "$ac_init_help" && exit 0
1629
test -n "$ac_init_help" && exit $ac_status
1166
1630
if $ac_init_version; then
1168
easytag configure 1.99.12
1169
generated by GNU Autoconf 2.59
1632
easytag configure 2.1.4
1633
generated by GNU Autoconf 2.61
1171
Copyright (C) 2003 Free Software Foundation, Inc.
1635
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1636
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1172
1637
This configure script is free software; the Free Software Foundation
1173
1638
gives unlimited permission to copy, distribute and modify it.
1642
cat >config.log <<_ACEOF
1179
1643
This file contains any messages produced by compilers while
1180
1644
running configure, to aid debugging if configure makes a mistake.
1182
It was created by easytag $as_me 1.99.12, which was
1183
generated by GNU Autoconf 2.59. Invocation command line was
1646
It was created by easytag $as_me 2.1.4, which was
1647
generated by GNU Autoconf 2.61. Invocation command line was
1190
1655
## --------- ##
2525
3105
rm -f conftest.$ac_objext
2526
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527
(eval $ac_compile) 2>conftest.er1
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
2529
3114
grep -v '^ *+' conftest.er1 >conftest.err
2530
3115
rm -f conftest.er1
2531
3116
cat conftest.err >&5
2532
3117
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533
(exit $ac_status); } &&
2534
{ ac_try='test -z "$ac_c_werror_flag"
2535
|| test ! -s conftest.err'
2536
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540
(exit $ac_status); }; } &&
2541
{ ac_try='test -s conftest.$ac_objext'
2542
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546
(exit $ac_status); }; }; then
3118
(exit $ac_status); } && {
3119
test -z "$ac_c_werror_flag" ||
3120
test ! -s conftest.err
3121
} && test -s conftest.$ac_objext; then
2547
3122
ac_compiler_gnu=yes
2549
3124
echo "$as_me: failed program was:" >&5
2550
3125
sed 's/^/| /' conftest.$ac_ext >&5
2554
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3130
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2555
3131
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2558
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2559
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3134
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3135
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2560
3136
GCC=`test $ac_compiler_gnu = yes && echo yes`
2561
3137
ac_test_CFLAGS=${CFLAGS+set}
2562
3138
ac_save_CFLAGS=$CFLAGS
2564
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2565
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3139
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3140
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2566
3141
if test "${ac_cv_prog_cc_g+set}" = set; then
2567
3142
echo $ECHO_N "(cached) $ECHO_C" >&6
2569
cat >conftest.$ac_ext <<_ACEOF
2572
cat confdefs.h >>conftest.$ac_ext
2573
cat >>conftest.$ac_ext <<_ACEOF
2574
/* end confdefs.h. */
2584
rm -f conftest.$ac_objext
2585
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2586
(eval $ac_compile) 2>conftest.er1
2588
grep -v '^ *+' conftest.er1 >conftest.err
2590
cat conftest.err >&5
2591
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592
(exit $ac_status); } &&
2593
{ ac_try='test -z "$ac_c_werror_flag"
2594
|| test ! -s conftest.err'
2595
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
(exit $ac_status); }; } &&
2600
{ ac_try='test -s conftest.$ac_objext'
2601
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605
(exit $ac_status); }; }; then
2608
echo "$as_me: failed program was:" >&5
2609
sed 's/^/| /' conftest.$ac_ext >&5
2613
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2615
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2616
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3144
ac_save_c_werror_flag=$ac_c_werror_flag
3145
ac_c_werror_flag=yes
3148
cat >conftest.$ac_ext <<_ACEOF
3151
cat confdefs.h >>conftest.$ac_ext
3152
cat >>conftest.$ac_ext <<_ACEOF
3153
/* end confdefs.h. */
3163
rm -f conftest.$ac_objext
3164
if { (ac_try="$ac_compile"
3166
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3167
*) ac_try_echo=$ac_try;;
3169
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170
(eval "$ac_compile") 2>conftest.er1
3172
grep -v '^ *+' conftest.er1 >conftest.err
3174
cat conftest.err >&5
3175
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176
(exit $ac_status); } && {
3177
test -z "$ac_c_werror_flag" ||
3178
test ! -s conftest.err
3179
} && test -s conftest.$ac_objext; then
3182
echo "$as_me: failed program was:" >&5
3183
sed 's/^/| /' conftest.$ac_ext >&5
3186
cat >conftest.$ac_ext <<_ACEOF
3189
cat confdefs.h >>conftest.$ac_ext
3190
cat >>conftest.$ac_ext <<_ACEOF
3191
/* end confdefs.h. */
3201
rm -f conftest.$ac_objext
3202
if { (ac_try="$ac_compile"
3204
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205
*) ac_try_echo=$ac_try;;
3207
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208
(eval "$ac_compile") 2>conftest.er1
3210
grep -v '^ *+' conftest.er1 >conftest.err
3212
cat conftest.err >&5
3213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
(exit $ac_status); } && {
3215
test -z "$ac_c_werror_flag" ||
3216
test ! -s conftest.err
3217
} && test -s conftest.$ac_objext; then
3220
echo "$as_me: failed program was:" >&5
3221
sed 's/^/| /' conftest.$ac_ext >&5
3223
ac_c_werror_flag=$ac_save_c_werror_flag
3225
cat >conftest.$ac_ext <<_ACEOF
3228
cat confdefs.h >>conftest.$ac_ext
3229
cat >>conftest.$ac_ext <<_ACEOF
3230
/* end confdefs.h. */
3240
rm -f conftest.$ac_objext
3241
if { (ac_try="$ac_compile"
3243
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3244
*) ac_try_echo=$ac_try;;
3246
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3247
(eval "$ac_compile") 2>conftest.er1
3249
grep -v '^ *+' conftest.er1 >conftest.err
3251
cat conftest.err >&5
3252
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3253
(exit $ac_status); } && {
3254
test -z "$ac_c_werror_flag" ||
3255
test ! -s conftest.err
3256
} && test -s conftest.$ac_objext; then
3259
echo "$as_me: failed program was:" >&5
3260
sed 's/^/| /' conftest.$ac_ext >&5
3265
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3271
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3272
ac_c_werror_flag=$ac_save_c_werror_flag
3274
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3275
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2617
3276
if test "$ac_test_CFLAGS" = set; then
2618
3277
CFLAGS=$ac_save_CFLAGS
2619
3278
elif test $ac_cv_prog_cc_g = yes; then
2691
# Don't try gcc -ansi; that turns off useful extensions and
2692
# breaks some systems' header files.
2693
# AIX -qlanglvl=ansi
2694
# Ultrix and OSF/1 -std1
2695
# HP-UX 10.20 and later -Ae
2696
# HP-UX older versions -Aa -D_HPUX_SOURCE
2697
# SVR4 -Xc -D__EXTENSIONS__
2698
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3355
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3356
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2700
3358
CC="$ac_save_CC $ac_arg"
2701
3359
rm -f conftest.$ac_objext
2702
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703
(eval $ac_compile) 2>conftest.er1
3360
if { (ac_try="$ac_compile"
3362
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3363
*) ac_try_echo=$ac_try;;
3365
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3366
(eval "$ac_compile") 2>conftest.er1
2705
3368
grep -v '^ *+' conftest.er1 >conftest.err
2706
3369
rm -f conftest.er1
2707
3370
cat conftest.err >&5
2708
3371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709
(exit $ac_status); } &&
2710
{ ac_try='test -z "$ac_c_werror_flag"
2711
|| test ! -s conftest.err'
2712
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2715
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2716
(exit $ac_status); }; } &&
2717
{ ac_try='test -s conftest.$ac_objext'
2718
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722
(exit $ac_status); }; }; then
2723
ac_cv_prog_cc_stdc=$ac_arg
3372
(exit $ac_status); } && {
3373
test -z "$ac_c_werror_flag" ||
3374
test ! -s conftest.err
3375
} && test -s conftest.$ac_objext; then
3376
ac_cv_prog_cc_c89=$ac_arg
2726
3378
echo "$as_me: failed program was:" >&5
2727
3379
sed 's/^/| /' conftest.$ac_ext >&5
2730
rm -f conftest.err conftest.$ac_objext
3384
rm -f core conftest.err conftest.$ac_objext
3385
test "x$ac_cv_prog_cc_c89" != "xno" && break
2732
rm -f conftest.$ac_ext conftest.$ac_objext
3387
rm -f conftest.$ac_ext
2737
case "x$ac_cv_prog_cc_stdc" in
2739
echo "$as_me:$LINENO: result: none needed" >&5
2740
echo "${ECHO_T}none needed" >&6 ;;
3392
case "x$ac_cv_prog_cc_c89" in
3394
{ echo "$as_me:$LINENO: result: none needed" >&5
3395
echo "${ECHO_T}none needed" >&6; } ;;
3397
{ echo "$as_me:$LINENO: result: unsupported" >&5
3398
echo "${ECHO_T}unsupported" >&6; } ;;
2742
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2743
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2744
CC="$CC $ac_cv_prog_cc_stdc" ;;
3400
CC="$CC $ac_cv_prog_cc_c89"
3401
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3402
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2747
# Some people use a C++ compiler to compile C. Since we use `exit',
2748
# in C++ we need to declare it. In case someone uses the same compiler
2749
# for both compiling C and C++ we need to have the C++ compiler decide
2750
# the declaration of exit, since it's the most demanding environment.
2751
cat >conftest.$ac_ext <<_ACEOF
2756
rm -f conftest.$ac_objext
2757
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2758
(eval $ac_compile) 2>conftest.er1
2760
grep -v '^ *+' conftest.er1 >conftest.err
2762
cat conftest.err >&5
2763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764
(exit $ac_status); } &&
2765
{ ac_try='test -z "$ac_c_werror_flag"
2766
|| test ! -s conftest.err'
2767
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771
(exit $ac_status); }; } &&
2772
{ ac_try='test -s conftest.$ac_objext'
2773
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2777
(exit $ac_status); }; }; then
2778
for ac_declaration in \
2780
'extern "C" void std::exit (int) throw (); using std::exit;' \
2781
'extern "C" void std::exit (int); using std::exit;' \
2782
'extern "C" void exit (int) throw ();' \
2783
'extern "C" void exit (int);' \
2786
cat >conftest.$ac_ext <<_ACEOF
2789
cat confdefs.h >>conftest.$ac_ext
2790
cat >>conftest.$ac_ext <<_ACEOF
2791
/* end confdefs.h. */
2802
rm -f conftest.$ac_objext
2803
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804
(eval $ac_compile) 2>conftest.er1
2806
grep -v '^ *+' conftest.er1 >conftest.err
2808
cat conftest.err >&5
2809
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810
(exit $ac_status); } &&
2811
{ ac_try='test -z "$ac_c_werror_flag"
2812
|| test ! -s conftest.err'
2813
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817
(exit $ac_status); }; } &&
2818
{ ac_try='test -s conftest.$ac_objext'
2819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823
(exit $ac_status); }; }; then
2826
echo "$as_me: failed program was:" >&5
2827
sed 's/^/| /' conftest.$ac_ext >&5
2831
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2832
cat >conftest.$ac_ext <<_ACEOF
2835
cat confdefs.h >>conftest.$ac_ext
2836
cat >>conftest.$ac_ext <<_ACEOF
2837
/* end confdefs.h. */
2847
rm -f conftest.$ac_objext
2848
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2849
(eval $ac_compile) 2>conftest.er1
2851
grep -v '^ *+' conftest.er1 >conftest.err
2853
cat conftest.err >&5
2854
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2855
(exit $ac_status); } &&
2856
{ ac_try='test -z "$ac_c_werror_flag"
2857
|| test ! -s conftest.err'
2858
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2861
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862
(exit $ac_status); }; } &&
2863
{ ac_try='test -s conftest.$ac_objext'
2864
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2867
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868
(exit $ac_status); }; }; then
2871
echo "$as_me: failed program was:" >&5
2872
sed 's/^/| /' conftest.$ac_ext >&5
2875
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2878
if test -n "$ac_declaration"; then
2879
echo '#ifdef __cplusplus' >>confdefs.h
2880
echo $ac_declaration >>confdefs.h
2881
echo '#endif' >>confdefs.h
2885
echo "$as_me: failed program was:" >&5
2886
sed 's/^/| /' conftest.$ac_ext >&5
2889
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2891
3407
ac_cpp='$CPP $CPPFLAGS'
2892
3408
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206
3754
rm -f conftest.$ac_objext
3207
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208
(eval $ac_compile) 2>conftest.er1
3755
if { (ac_try="$ac_compile"
3757
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3758
*) ac_try_echo=$ac_try;;
3760
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3761
(eval "$ac_compile") 2>conftest.er1
3210
3763
grep -v '^ *+' conftest.er1 >conftest.err
3211
3764
rm -f conftest.er1
3212
3765
cat conftest.err >&5
3213
3766
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
(exit $ac_status); } &&
3215
{ ac_try='test -z "$ac_cxx_werror_flag"
3216
|| test ! -s conftest.err'
3217
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3220
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221
(exit $ac_status); }; } &&
3222
{ ac_try='test -s conftest.$ac_objext'
3223
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3226
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3227
(exit $ac_status); }; }; then
3767
(exit $ac_status); } && {
3768
test -z "$ac_cxx_werror_flag" ||
3769
test ! -s conftest.err
3770
} && test -s conftest.$ac_objext; then
3228
3771
ac_compiler_gnu=yes
3230
3773
echo "$as_me: failed program was:" >&5
3231
3774
sed 's/^/| /' conftest.$ac_ext >&5
3235
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3779
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3236
3780
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3239
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3240
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3783
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3784
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3241
3785
GXX=`test $ac_compiler_gnu = yes && echo yes`
3242
3786
ac_test_CXXFLAGS=${CXXFLAGS+set}
3243
3787
ac_save_CXXFLAGS=$CXXFLAGS
3245
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3246
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3788
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3789
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3247
3790
if test "${ac_cv_prog_cxx_g+set}" = set; then
3248
3791
echo $ECHO_N "(cached) $ECHO_C" >&6
3250
cat >conftest.$ac_ext <<_ACEOF
3253
cat confdefs.h >>conftest.$ac_ext
3254
cat >>conftest.$ac_ext <<_ACEOF
3255
/* end confdefs.h. */
3265
rm -f conftest.$ac_objext
3266
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267
(eval $ac_compile) 2>conftest.er1
3269
grep -v '^ *+' conftest.er1 >conftest.err
3271
cat conftest.err >&5
3272
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273
(exit $ac_status); } &&
3274
{ ac_try='test -z "$ac_cxx_werror_flag"
3275
|| test ! -s conftest.err'
3276
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3279
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280
(exit $ac_status); }; } &&
3281
{ ac_try='test -s conftest.$ac_objext'
3282
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286
(exit $ac_status); }; }; then
3287
ac_cv_prog_cxx_g=yes
3289
echo "$as_me: failed program was:" >&5
3290
sed 's/^/| /' conftest.$ac_ext >&5
3294
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3296
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3297
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3793
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3794
ac_cxx_werror_flag=yes
3797
cat >conftest.$ac_ext <<_ACEOF
3800
cat confdefs.h >>conftest.$ac_ext
3801
cat >>conftest.$ac_ext <<_ACEOF
3802
/* end confdefs.h. */
3812
rm -f conftest.$ac_objext
3813
if { (ac_try="$ac_compile"
3815
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3816
*) ac_try_echo=$ac_try;;
3818
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3819
(eval "$ac_compile") 2>conftest.er1
3821
grep -v '^ *+' conftest.er1 >conftest.err
3823
cat conftest.err >&5
3824
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825
(exit $ac_status); } && {
3826
test -z "$ac_cxx_werror_flag" ||
3827
test ! -s conftest.err
3828
} && test -s conftest.$ac_objext; then
3829
ac_cv_prog_cxx_g=yes
3831
echo "$as_me: failed program was:" >&5
3832
sed 's/^/| /' conftest.$ac_ext >&5
3835
cat >conftest.$ac_ext <<_ACEOF
3838
cat confdefs.h >>conftest.$ac_ext
3839
cat >>conftest.$ac_ext <<_ACEOF
3840
/* end confdefs.h. */
3850
rm -f conftest.$ac_objext
3851
if { (ac_try="$ac_compile"
3853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3854
*) ac_try_echo=$ac_try;;
3856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3857
(eval "$ac_compile") 2>conftest.er1
3859
grep -v '^ *+' conftest.er1 >conftest.err
3861
cat conftest.err >&5
3862
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863
(exit $ac_status); } && {
3864
test -z "$ac_cxx_werror_flag" ||
3865
test ! -s conftest.err
3866
} && test -s conftest.$ac_objext; then
3869
echo "$as_me: failed program was:" >&5
3870
sed 's/^/| /' conftest.$ac_ext >&5
3872
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3874
cat >conftest.$ac_ext <<_ACEOF
3877
cat confdefs.h >>conftest.$ac_ext
3878
cat >>conftest.$ac_ext <<_ACEOF
3879
/* end confdefs.h. */
3889
rm -f conftest.$ac_objext
3890
if { (ac_try="$ac_compile"
3892
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3893
*) ac_try_echo=$ac_try;;
3895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3896
(eval "$ac_compile") 2>conftest.er1
3898
grep -v '^ *+' conftest.er1 >conftest.err
3900
cat conftest.err >&5
3901
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902
(exit $ac_status); } && {
3903
test -z "$ac_cxx_werror_flag" ||
3904
test ! -s conftest.err
3905
} && test -s conftest.$ac_objext; then
3906
ac_cv_prog_cxx_g=yes
3908
echo "$as_me: failed program was:" >&5
3909
sed 's/^/| /' conftest.$ac_ext >&5
3914
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3917
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3920
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3923
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3924
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3298
3925
if test "$ac_test_CXXFLAGS" = set; then
3299
3926
CXXFLAGS=$ac_save_CXXFLAGS
3300
3927
elif test $ac_cv_prog_cxx_g = yes; then
4049
4600
SED=$lt_cv_path_SED
4053
echo "$as_me:$LINENO: result: $SED" >&5
4054
echo "${ECHO_T}$SED" >&6
4056
echo "$as_me:$LINENO: checking for egrep" >&5
4057
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4058
if test "${ac_cv_prog_egrep+set}" = set; then
4059
echo $ECHO_N "(cached) $ECHO_C" >&6
4061
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4062
then ac_cv_prog_egrep='grep -E'
4063
else ac_cv_prog_egrep='egrep'
4066
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4067
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4068
EGREP=$ac_cv_prog_egrep
4072
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4602
{ echo "$as_me:$LINENO: result: $SED" >&5
4603
echo "${ECHO_T}$SED" >&6; }
4605
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4606
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4607
if test "${ac_cv_path_GREP+set}" = set; then
4608
echo $ECHO_N "(cached) $ECHO_C" >&6
4610
# Extract the first word of "grep ggrep" to use in msg output
4611
if test -z "$GREP"; then
4612
set dummy grep ggrep; ac_prog_name=$2
4613
if test "${ac_cv_path_GREP+set}" = set; then
4614
echo $ECHO_N "(cached) $ECHO_C" >&6
4616
ac_path_GREP_found=false
4617
# Loop through the user's path and test for each of PROGNAME-LIST
4618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4619
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4622
test -z "$as_dir" && as_dir=.
4623
for ac_prog in grep ggrep; do
4624
for ac_exec_ext in '' $ac_executable_extensions; do
4625
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4626
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4627
# Check for GNU ac_path_GREP and select it if it is found.
4628
# Check for GNU $ac_path_GREP
4629
case `"$ac_path_GREP" --version 2>&1` in
4631
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4634
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4637
cat "conftest.in" "conftest.in" >"conftest.tmp"
4638
mv "conftest.tmp" "conftest.in"
4639
cp "conftest.in" "conftest.nl"
4640
echo 'GREP' >> "conftest.nl"
4641
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4642
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4643
ac_count=`expr $ac_count + 1`
4644
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4645
# Best one so far, save it but keep looking for a better one
4646
ac_cv_path_GREP="$ac_path_GREP"
4647
ac_path_GREP_max=$ac_count
4649
# 10*(2^10) chars as input seems more than enough
4650
test $ac_count -gt 10 && break
4652
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4656
$ac_path_GREP_found && break 3
4666
GREP="$ac_cv_path_GREP"
4667
if test -z "$GREP"; then
4668
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4669
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4670
{ (exit 1); exit 1; }; }
4674
ac_cv_path_GREP=$GREP
4679
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4680
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4681
GREP="$ac_cv_path_GREP"
4684
{ echo "$as_me:$LINENO: checking for egrep" >&5
4685
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4686
if test "${ac_cv_path_EGREP+set}" = set; then
4687
echo $ECHO_N "(cached) $ECHO_C" >&6
4689
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4690
then ac_cv_path_EGREP="$GREP -E"
4692
# Extract the first word of "egrep" to use in msg output
4693
if test -z "$EGREP"; then
4694
set dummy egrep; ac_prog_name=$2
4695
if test "${ac_cv_path_EGREP+set}" = set; then
4696
echo $ECHO_N "(cached) $ECHO_C" >&6
4698
ac_path_EGREP_found=false
4699
# Loop through the user's path and test for each of PROGNAME-LIST
4700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4701
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4704
test -z "$as_dir" && as_dir=.
4705
for ac_prog in egrep; do
4706
for ac_exec_ext in '' $ac_executable_extensions; do
4707
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4708
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4709
# Check for GNU ac_path_EGREP and select it if it is found.
4710
# Check for GNU $ac_path_EGREP
4711
case `"$ac_path_EGREP" --version 2>&1` in
4713
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4716
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4719
cat "conftest.in" "conftest.in" >"conftest.tmp"
4720
mv "conftest.tmp" "conftest.in"
4721
cp "conftest.in" "conftest.nl"
4722
echo 'EGREP' >> "conftest.nl"
4723
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4724
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4725
ac_count=`expr $ac_count + 1`
4726
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4727
# Best one so far, save it but keep looking for a better one
4728
ac_cv_path_EGREP="$ac_path_EGREP"
4729
ac_path_EGREP_max=$ac_count
4731
# 10*(2^10) chars as input seems more than enough
4732
test $ac_count -gt 10 && break
4734
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4738
$ac_path_EGREP_found && break 3
4748
EGREP="$ac_cv_path_EGREP"
4749
if test -z "$EGREP"; then
4750
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4751
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4752
{ (exit 1); exit 1; }; }
4756
ac_cv_path_EGREP=$EGREP
4762
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4763
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4764
EGREP="$ac_cv_path_EGREP"
4768
# Check whether --with-gnu-ld was given.
4073
4769
if test "${with_gnu_ld+set}" = set; then
4074
withval="$with_gnu_ld"
4075
test "$withval" = no || with_gnu_ld=yes
4770
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4080
4776
if test "$GCC" = yes; then
4081
4777
# Check if gcc -print-prog-name=ld gives a path.
4082
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4083
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4778
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4779
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4086
4782
# gcc leaves a trailing carriage return which upsets mingw
6002
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6003
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6004
(test "X$CXX" != "Xg++"))) ; then
6006
ac_cpp='$CXXCPP $CPPFLAGS'
6007
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6010
{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6011
echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
6012
if test -z "$CXXCPP"; then
6013
if test "${ac_cv_prog_CXXCPP+set}" = set; then
6014
echo $ECHO_N "(cached) $ECHO_C" >&6
6016
# Double quotes because CXXCPP needs to be expanded
6017
for CXXCPP in "$CXX -E" "/lib/cpp"
6020
for ac_cxx_preproc_warn_flag in '' yes
6022
# Use a header file that comes with gcc, so configuring glibc
6023
# with a fresh cross-compiler works.
6024
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6025
# <limits.h> exists even on freestanding compilers.
6026
# On the NeXT, cc -E runs the code through the compiler's parser,
6027
# not just through cpp. "Syntax error" is here to catch this case.
6028
cat >conftest.$ac_ext <<_ACEOF
6031
cat confdefs.h >>conftest.$ac_ext
6032
cat >>conftest.$ac_ext <<_ACEOF
6033
/* end confdefs.h. */
6035
# include <limits.h>
6037
# include <assert.h>
6041
if { (ac_try="$ac_cpp conftest.$ac_ext"
6043
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6044
*) ac_try_echo=$ac_try;;
6046
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6047
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6049
grep -v '^ *+' conftest.er1 >conftest.err
6051
cat conftest.err >&5
6052
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053
(exit $ac_status); } >/dev/null && {
6054
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6055
test ! -s conftest.err
6059
echo "$as_me: failed program was:" >&5
6060
sed 's/^/| /' conftest.$ac_ext >&5
6062
# Broken: fails on valid input.
6066
rm -f conftest.err conftest.$ac_ext
6068
# OK, works on sane cases. Now check whether nonexistent headers
6069
# can be detected and how.
6070
cat >conftest.$ac_ext <<_ACEOF
6073
cat confdefs.h >>conftest.$ac_ext
6074
cat >>conftest.$ac_ext <<_ACEOF
6075
/* end confdefs.h. */
6076
#include <ac_nonexistent.h>
6078
if { (ac_try="$ac_cpp conftest.$ac_ext"
6080
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6081
*) ac_try_echo=$ac_try;;
6083
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6084
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6086
grep -v '^ *+' conftest.er1 >conftest.err
6088
cat conftest.err >&5
6089
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090
(exit $ac_status); } >/dev/null && {
6091
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6092
test ! -s conftest.err
6094
# Broken: success on invalid input.
6097
echo "$as_me: failed program was:" >&5
6098
sed 's/^/| /' conftest.$ac_ext >&5
6100
# Passes both tests.
6105
rm -f conftest.err conftest.$ac_ext
6108
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6109
rm -f conftest.err conftest.$ac_ext
6110
if $ac_preproc_ok; then
6115
ac_cv_prog_CXXCPP=$CXXCPP
6118
CXXCPP=$ac_cv_prog_CXXCPP
6120
ac_cv_prog_CXXCPP=$CXXCPP
6122
{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
6123
echo "${ECHO_T}$CXXCPP" >&6; }
6125
for ac_cxx_preproc_warn_flag in '' yes
6127
# Use a header file that comes with gcc, so configuring glibc
6128
# with a fresh cross-compiler works.
6129
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6130
# <limits.h> exists even on freestanding compilers.
6131
# On the NeXT, cc -E runs the code through the compiler's parser,
6132
# not just through cpp. "Syntax error" is here to catch this case.
6133
cat >conftest.$ac_ext <<_ACEOF
6136
cat confdefs.h >>conftest.$ac_ext
6137
cat >>conftest.$ac_ext <<_ACEOF
6138
/* end confdefs.h. */
6140
# include <limits.h>
6142
# include <assert.h>
6146
if { (ac_try="$ac_cpp conftest.$ac_ext"
6148
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6149
*) ac_try_echo=$ac_try;;
6151
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6152
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6154
grep -v '^ *+' conftest.er1 >conftest.err
6156
cat conftest.err >&5
6157
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6158
(exit $ac_status); } >/dev/null && {
6159
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6160
test ! -s conftest.err
6164
echo "$as_me: failed program was:" >&5
6165
sed 's/^/| /' conftest.$ac_ext >&5
6167
# Broken: fails on valid input.
6171
rm -f conftest.err conftest.$ac_ext
6173
# OK, works on sane cases. Now check whether nonexistent headers
6174
# can be detected and how.
6175
cat >conftest.$ac_ext <<_ACEOF
6178
cat confdefs.h >>conftest.$ac_ext
6179
cat >>conftest.$ac_ext <<_ACEOF
6180
/* end confdefs.h. */
6181
#include <ac_nonexistent.h>
6183
if { (ac_try="$ac_cpp conftest.$ac_ext"
6185
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6186
*) ac_try_echo=$ac_try;;
6188
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6189
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6191
grep -v '^ *+' conftest.er1 >conftest.err
6193
cat conftest.err >&5
6194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195
(exit $ac_status); } >/dev/null && {
6196
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6197
test ! -s conftest.err
6199
# Broken: success on invalid input.
6202
echo "$as_me: failed program was:" >&5
6203
sed 's/^/| /' conftest.$ac_ext >&5
6205
# Passes both tests.
6210
rm -f conftest.err conftest.$ac_ext
6213
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6214
rm -f conftest.err conftest.$ac_ext
6215
if $ac_preproc_ok; then
6218
{ { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6219
See \`config.log' for more details." >&5
6220
echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
6221
See \`config.log' for more details." >&2;}
6222
{ (exit 1); exit 1; }; }
6226
ac_cpp='$CXXCPP $CPPFLAGS'
6227
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6228
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6229
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5268
6235
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5269
6236
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5270
6237
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5271
6238
if test -n "$ac_tool_prefix"; then
5272
for ac_prog in g77 f77 xlf frt pgf77 fort77 fl32 af77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 ifc efc pgf95 lf95 gfortran
6239
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
5274
6241
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5275
6242
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5276
echo "$as_me:$LINENO: checking for $ac_word" >&5
5277
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6243
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6244
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5278
6245
if test "${ac_cv_prog_F77+set}" = set; then
5279
6246
echo $ECHO_N "(cached) $ECHO_C" >&6
11973
13573
enable_fast_install=needless
11978
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11979
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11980
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11981
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11982
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11983
echo "$as_me:$LINENO: result: yes" >&5
11984
echo "${ECHO_T}yes" >&6
11986
# FIXME - insert some real tests, host_os isn't really good enough
11989
if test -n "$STRIP" ; then
11990
striplib="$STRIP -x"
11991
echo "$as_me:$LINENO: result: yes" >&5
11992
echo "${ECHO_T}yes" >&6
11994
echo "$as_me:$LINENO: result: no" >&5
11995
echo "${ECHO_T}no" >&6
11999
echo "$as_me:$LINENO: result: no" >&5
12000
echo "${ECHO_T}no" >&6
12005
if test "x$enable_dlopen" != xyes; then
12006
enable_dlopen=unknown
12007
enable_dlopen_self=unknown
12008
enable_dlopen_self_static=unknown
12015
lt_cv_dlopen="load_add_on"
12017
lt_cv_dlopen_self=yes
12021
lt_cv_dlopen="LoadLibrary"
12026
lt_cv_dlopen="dlopen"
12031
# if libdl is installed we need to link against it
12032
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12033
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12034
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12035
echo $ECHO_N "(cached) $ECHO_C" >&6
12037
ac_check_lib_save_LIBS=$LIBS
12039
cat >conftest.$ac_ext <<_ACEOF
12042
cat confdefs.h >>conftest.$ac_ext
12043
cat >>conftest.$ac_ext <<_ACEOF
12044
/* end confdefs.h. */
12046
/* Override any gcc2 internal prototype to avoid an error. */
12050
/* We use char because int might match the return type of a gcc2
12051
builtin and then its argument prototype would still apply. */
12061
rm -f conftest.$ac_objext conftest$ac_exeext
12062
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12063
(eval $ac_link) 2>conftest.er1
12065
grep -v '^ *+' conftest.er1 >conftest.err
12067
cat conftest.err >&5
12068
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069
(exit $ac_status); } &&
12070
{ ac_try='test -z "$ac_cxx_werror_flag"
12071
|| test ! -s conftest.err'
12072
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12073
(eval $ac_try) 2>&5
12075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12076
(exit $ac_status); }; } &&
12077
{ ac_try='test -s conftest$ac_exeext'
12078
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12079
(eval $ac_try) 2>&5
12081
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082
(exit $ac_status); }; }; then
12083
ac_cv_lib_dl_dlopen=yes
12085
echo "$as_me: failed program was:" >&5
12086
sed 's/^/| /' conftest.$ac_ext >&5
12088
ac_cv_lib_dl_dlopen=no
12090
rm -f conftest.err conftest.$ac_objext \
12091
conftest$ac_exeext conftest.$ac_ext
12092
LIBS=$ac_check_lib_save_LIBS
12094
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12095
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12096
if test $ac_cv_lib_dl_dlopen = yes; then
12097
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12100
lt_cv_dlopen="dyld"
12102
lt_cv_dlopen_self=yes
12109
echo "$as_me:$LINENO: checking for shl_load" >&5
12110
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
12111
if test "${ac_cv_func_shl_load+set}" = set; then
12112
echo $ECHO_N "(cached) $ECHO_C" >&6
12114
cat >conftest.$ac_ext <<_ACEOF
12117
cat confdefs.h >>conftest.$ac_ext
12118
cat >>conftest.$ac_ext <<_ACEOF
12119
/* end confdefs.h. */
12120
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12121
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12122
#define shl_load innocuous_shl_load
12124
/* System header to define __stub macros and hopefully few prototypes,
12125
which can conflict with char shl_load (); below.
12126
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12127
<limits.h> exists even on freestanding compilers. */
12130
# include <limits.h>
12132
# include <assert.h>
12137
/* Override any gcc2 internal prototype to avoid an error. */
12142
/* We use char because int might match the return type of a gcc2
12143
builtin and then its argument prototype would still apply. */
12145
/* The GNU C library defines this for functions which it implements
12146
to always fail with ENOSYS. Some functions are actually named
12147
something starting with __ and the normal name is an alias. */
12148
#if defined (__stub_shl_load) || defined (__stub___shl_load)
12151
char (*f) () = shl_load;
12160
return f != shl_load;
12165
rm -f conftest.$ac_objext conftest$ac_exeext
12166
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12167
(eval $ac_link) 2>conftest.er1
12169
grep -v '^ *+' conftest.er1 >conftest.err
12171
cat conftest.err >&5
12172
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12173
(exit $ac_status); } &&
12174
{ ac_try='test -z "$ac_cxx_werror_flag"
12175
|| test ! -s conftest.err'
12176
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12177
(eval $ac_try) 2>&5
12179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12180
(exit $ac_status); }; } &&
12181
{ ac_try='test -s conftest$ac_exeext'
12182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12183
(eval $ac_try) 2>&5
12185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186
(exit $ac_status); }; }; then
12187
ac_cv_func_shl_load=yes
12189
echo "$as_me: failed program was:" >&5
12190
sed 's/^/| /' conftest.$ac_ext >&5
12192
ac_cv_func_shl_load=no
12194
rm -f conftest.err conftest.$ac_objext \
12195
conftest$ac_exeext conftest.$ac_ext
12197
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12198
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
12199
if test $ac_cv_func_shl_load = yes; then
12200
lt_cv_dlopen="shl_load"
12202
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
12203
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
12204
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
12205
echo $ECHO_N "(cached) $ECHO_C" >&6
12207
ac_check_lib_save_LIBS=$LIBS
12209
cat >conftest.$ac_ext <<_ACEOF
12212
cat confdefs.h >>conftest.$ac_ext
12213
cat >>conftest.$ac_ext <<_ACEOF
12214
/* end confdefs.h. */
12216
/* Override any gcc2 internal prototype to avoid an error. */
12220
/* We use char because int might match the return type of a gcc2
12221
builtin and then its argument prototype would still apply. */
12231
rm -f conftest.$ac_objext conftest$ac_exeext
12232
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12233
(eval $ac_link) 2>conftest.er1
12235
grep -v '^ *+' conftest.er1 >conftest.err
12237
cat conftest.err >&5
12238
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12239
(exit $ac_status); } &&
12240
{ ac_try='test -z "$ac_cxx_werror_flag"
12241
|| test ! -s conftest.err'
12242
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12243
(eval $ac_try) 2>&5
12245
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12246
(exit $ac_status); }; } &&
12247
{ ac_try='test -s conftest$ac_exeext'
12248
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12249
(eval $ac_try) 2>&5
12251
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252
(exit $ac_status); }; }; then
12253
ac_cv_lib_dld_shl_load=yes
12255
echo "$as_me: failed program was:" >&5
12256
sed 's/^/| /' conftest.$ac_ext >&5
12258
ac_cv_lib_dld_shl_load=no
12260
rm -f conftest.err conftest.$ac_objext \
12261
conftest$ac_exeext conftest.$ac_ext
12262
LIBS=$ac_check_lib_save_LIBS
12264
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
12265
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
12266
if test $ac_cv_lib_dld_shl_load = yes; then
12267
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
12269
echo "$as_me:$LINENO: checking for dlopen" >&5
12270
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
12271
if test "${ac_cv_func_dlopen+set}" = set; then
12272
echo $ECHO_N "(cached) $ECHO_C" >&6
12274
cat >conftest.$ac_ext <<_ACEOF
12277
cat confdefs.h >>conftest.$ac_ext
12278
cat >>conftest.$ac_ext <<_ACEOF
12279
/* end confdefs.h. */
12280
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12281
For example, HP-UX 11i <limits.h> declares gettimeofday. */
12282
#define dlopen innocuous_dlopen
12284
/* System header to define __stub macros and hopefully few prototypes,
12285
which can conflict with char dlopen (); below.
12286
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12287
<limits.h> exists even on freestanding compilers. */
12290
# include <limits.h>
12292
# include <assert.h>
12297
/* Override any gcc2 internal prototype to avoid an error. */
12302
/* We use char because int might match the return type of a gcc2
12303
builtin and then its argument prototype would still apply. */
12305
/* The GNU C library defines this for functions which it implements
12306
to always fail with ENOSYS. Some functions are actually named
12307
something starting with __ and the normal name is an alias. */
12308
#if defined (__stub_dlopen) || defined (__stub___dlopen)
12311
char (*f) () = dlopen;
12320
return f != dlopen;
12325
rm -f conftest.$ac_objext conftest$ac_exeext
12326
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12327
(eval $ac_link) 2>conftest.er1
12329
grep -v '^ *+' conftest.er1 >conftest.err
12331
cat conftest.err >&5
12332
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333
(exit $ac_status); } &&
12334
{ ac_try='test -z "$ac_cxx_werror_flag"
12335
|| test ! -s conftest.err'
12336
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337
(eval $ac_try) 2>&5
12339
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340
(exit $ac_status); }; } &&
12341
{ ac_try='test -s conftest$ac_exeext'
12342
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12343
(eval $ac_try) 2>&5
12345
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346
(exit $ac_status); }; }; then
12347
ac_cv_func_dlopen=yes
12349
echo "$as_me: failed program was:" >&5
12350
sed 's/^/| /' conftest.$ac_ext >&5
12352
ac_cv_func_dlopen=no
12354
rm -f conftest.err conftest.$ac_objext \
12355
conftest$ac_exeext conftest.$ac_ext
12357
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12358
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
12359
if test $ac_cv_func_dlopen = yes; then
12360
lt_cv_dlopen="dlopen"
12362
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
12363
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
12364
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
12365
echo $ECHO_N "(cached) $ECHO_C" >&6
12367
ac_check_lib_save_LIBS=$LIBS
12369
cat >conftest.$ac_ext <<_ACEOF
12372
cat confdefs.h >>conftest.$ac_ext
12373
cat >>conftest.$ac_ext <<_ACEOF
12374
/* end confdefs.h. */
12376
/* Override any gcc2 internal prototype to avoid an error. */
12380
/* We use char because int might match the return type of a gcc2
12381
builtin and then its argument prototype would still apply. */
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"
12401
|| test ! -s conftest.err'
12402
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403
(eval $ac_try) 2>&5
12405
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406
(exit $ac_status); }; } &&
12407
{ ac_try='test -s conftest$ac_exeext'
12408
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12409
(eval $ac_try) 2>&5
12411
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412
(exit $ac_status); }; }; then
12413
ac_cv_lib_dl_dlopen=yes
12415
echo "$as_me: failed program was:" >&5
12416
sed 's/^/| /' conftest.$ac_ext >&5
12418
ac_cv_lib_dl_dlopen=no
12420
rm -f conftest.err conftest.$ac_objext \
12421
conftest$ac_exeext conftest.$ac_ext
12422
LIBS=$ac_check_lib_save_LIBS
12424
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12425
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12426
if test $ac_cv_lib_dl_dlopen = yes; then
12427
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12429
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12430
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12431
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12432
echo $ECHO_N "(cached) $ECHO_C" >&6
12434
ac_check_lib_save_LIBS=$LIBS
12435
LIBS="-lsvld $LIBS"
12436
cat >conftest.$ac_ext <<_ACEOF
12439
cat confdefs.h >>conftest.$ac_ext
12440
cat >>conftest.$ac_ext <<_ACEOF
12441
/* end confdefs.h. */
12443
/* Override any gcc2 internal prototype to avoid an error. */
12447
/* We use char because int might match the return type of a gcc2
12448
builtin and then its argument prototype would still apply. */
12458
rm -f conftest.$ac_objext conftest$ac_exeext
12459
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12460
(eval $ac_link) 2>conftest.er1
12462
grep -v '^ *+' conftest.er1 >conftest.err
12464
cat conftest.err >&5
12465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12466
(exit $ac_status); } &&
12467
{ ac_try='test -z "$ac_cxx_werror_flag"
12468
|| test ! -s conftest.err'
12469
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12470
(eval $ac_try) 2>&5
12472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12473
(exit $ac_status); }; } &&
12474
{ ac_try='test -s conftest$ac_exeext'
12475
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12476
(eval $ac_try) 2>&5
12478
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12479
(exit $ac_status); }; }; then
12480
ac_cv_lib_svld_dlopen=yes
12482
echo "$as_me: failed program was:" >&5
12483
sed 's/^/| /' conftest.$ac_ext >&5
12485
ac_cv_lib_svld_dlopen=no
12487
rm -f conftest.err conftest.$ac_objext \
12488
conftest$ac_exeext conftest.$ac_ext
12489
LIBS=$ac_check_lib_save_LIBS
12491
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12492
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12493
if test $ac_cv_lib_svld_dlopen = yes; then
12494
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12496
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12497
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12498
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12499
echo $ECHO_N "(cached) $ECHO_C" >&6
12501
ac_check_lib_save_LIBS=$LIBS
12503
cat >conftest.$ac_ext <<_ACEOF
12506
cat confdefs.h >>conftest.$ac_ext
12507
cat >>conftest.$ac_ext <<_ACEOF
12508
/* end confdefs.h. */
12510
/* Override any gcc2 internal prototype to avoid an error. */
12514
/* We use char because int might match the return type of a gcc2
12515
builtin and then its argument prototype would still apply. */
12525
rm -f conftest.$ac_objext conftest$ac_exeext
12526
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12527
(eval $ac_link) 2>conftest.er1
12529
grep -v '^ *+' conftest.er1 >conftest.err
12531
cat conftest.err >&5
12532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533
(exit $ac_status); } &&
12534
{ ac_try='test -z "$ac_cxx_werror_flag"
12535
|| test ! -s conftest.err'
12536
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537
(eval $ac_try) 2>&5
12539
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540
(exit $ac_status); }; } &&
12541
{ ac_try='test -s conftest$ac_exeext'
12542
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543
(eval $ac_try) 2>&5
12545
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546
(exit $ac_status); }; }; then
12547
ac_cv_lib_dld_dld_link=yes
12549
echo "$as_me: failed program was:" >&5
12550
sed 's/^/| /' conftest.$ac_ext >&5
12552
ac_cv_lib_dld_dld_link=no
12554
rm -f conftest.err conftest.$ac_objext \
12555
conftest$ac_exeext conftest.$ac_ext
12556
LIBS=$ac_check_lib_save_LIBS
12558
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12559
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12560
if test $ac_cv_lib_dld_dld_link = yes; then
12561
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12582
if test "x$lt_cv_dlopen" != xno; then
12588
case $lt_cv_dlopen in
12590
save_CPPFLAGS="$CPPFLAGS"
12591
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12593
save_LDFLAGS="$LDFLAGS"
12594
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12597
LIBS="$lt_cv_dlopen_libs $LIBS"
12599
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12600
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12601
if test "${lt_cv_dlopen_self+set}" = set; then
12602
echo $ECHO_N "(cached) $ECHO_C" >&6
12604
if test "$cross_compiling" = yes; then :
12605
lt_cv_dlopen_self=cross
12607
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12608
lt_status=$lt_dlunknown
12609
cat > conftest.$ac_ext <<EOF
12610
#line 12610 "configure"
12611
#include "confdefs.h"
12620
# define LT_DLGLOBAL RTLD_GLOBAL
12623
# define LT_DLGLOBAL DL_GLOBAL
12625
# define LT_DLGLOBAL 0
12629
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12630
find out it does not work in some platform. */
12631
#ifndef LT_DLLAZY_OR_NOW
12633
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12636
# define LT_DLLAZY_OR_NOW DL_LAZY
12639
# define LT_DLLAZY_OR_NOW RTLD_NOW
12642
# define LT_DLLAZY_OR_NOW DL_NOW
12644
# define LT_DLLAZY_OR_NOW 0
12652
extern "C" void exit (int);
12655
void fnord() { int i=42;}
12658
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12659
int status = $lt_dlunknown;
12663
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12664
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12665
/* dlclose (self); */
12671
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12672
(eval $ac_link) 2>&5
12674
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12676
(./conftest; exit; ) 2>/dev/null
12678
case x$lt_status in
12679
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12680
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12681
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12684
# compilation failed
12685
lt_cv_dlopen_self=no
12692
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12693
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12695
if test "x$lt_cv_dlopen_self" = xyes; then
12696
LDFLAGS="$LDFLAGS $link_static_flag"
12697
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12698
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12699
if test "${lt_cv_dlopen_self_static+set}" = set; then
12700
echo $ECHO_N "(cached) $ECHO_C" >&6
12702
if test "$cross_compiling" = yes; then :
12703
lt_cv_dlopen_self_static=cross
12705
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12706
lt_status=$lt_dlunknown
12707
cat > conftest.$ac_ext <<EOF
12708
#line 12708 "configure"
12709
#include "confdefs.h"
12718
# define LT_DLGLOBAL RTLD_GLOBAL
12721
# define LT_DLGLOBAL DL_GLOBAL
12723
# define LT_DLGLOBAL 0
12727
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12728
find out it does not work in some platform. */
12729
#ifndef LT_DLLAZY_OR_NOW
12731
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12734
# define LT_DLLAZY_OR_NOW DL_LAZY
12737
# define LT_DLLAZY_OR_NOW RTLD_NOW
12740
# define LT_DLLAZY_OR_NOW DL_NOW
12742
# define LT_DLLAZY_OR_NOW 0
12750
extern "C" void exit (int);
12753
void fnord() { int i=42;}
12756
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12757
int status = $lt_dlunknown;
12761
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12762
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12763
/* dlclose (self); */
12769
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12770
(eval $ac_link) 2>&5
12772
echo "$as_me:$LINENO: \$? = $ac_status" >&5
12773
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12774
(./conftest; exit; ) 2>/dev/null
12776
case x$lt_status in
12777
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12778
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12779
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12782
# compilation failed
12783
lt_cv_dlopen_self_static=no
12790
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12791
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12794
CPPFLAGS="$save_CPPFLAGS"
12795
LDFLAGS="$save_LDFLAGS"
12800
case $lt_cv_dlopen_self in
12801
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12802
*) enable_dlopen_self=unknown ;;
12805
case $lt_cv_dlopen_self_static in
12806
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12807
*) enable_dlopen_self_static=unknown ;;
12812
13577
# The else clause should only fire when bootstrapping the
12813
13578
# libtool distribution, otherwise you forgot to ship ltmain.sh
17511
18779
enable_fast_install=needless
17516
echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
17517
echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
17518
if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
17519
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
17520
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
17521
echo "$as_me:$LINENO: result: yes" >&5
17522
echo "${ECHO_T}yes" >&6
17524
# FIXME - insert some real tests, host_os isn't really good enough
17527
if test -n "$STRIP" ; then
17528
striplib="$STRIP -x"
17529
echo "$as_me:$LINENO: result: yes" >&5
17530
echo "${ECHO_T}yes" >&6
17532
echo "$as_me:$LINENO: result: no" >&5
17533
echo "${ECHO_T}no" >&6
17537
echo "$as_me:$LINENO: result: no" >&5
17538
echo "${ECHO_T}no" >&6
17543
if test "x$enable_dlopen" != xyes; then
17544
enable_dlopen=unknown
17545
enable_dlopen_self=unknown
17546
enable_dlopen_self_static=unknown
17553
lt_cv_dlopen="load_add_on"
17555
lt_cv_dlopen_self=yes
17559
lt_cv_dlopen="LoadLibrary"
17564
lt_cv_dlopen="dlopen"
17569
# if libdl is installed we need to link against it
17570
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17571
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17572
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17573
echo $ECHO_N "(cached) $ECHO_C" >&6
17575
ac_check_lib_save_LIBS=$LIBS
17577
cat >conftest.$ac_ext <<_ACEOF
17580
cat confdefs.h >>conftest.$ac_ext
17581
cat >>conftest.$ac_ext <<_ACEOF
17582
/* end confdefs.h. */
17584
/* Override any gcc2 internal prototype to avoid an error. */
17588
/* We use char because int might match the return type of a gcc2
17589
builtin and then its argument prototype would still apply. */
17599
rm -f conftest.$ac_objext conftest$ac_exeext
17600
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17601
(eval $ac_link) 2>conftest.er1
17603
grep -v '^ *+' conftest.er1 >conftest.err
17605
cat conftest.err >&5
17606
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607
(exit $ac_status); } &&
17608
{ ac_try='test -z "$ac_c_werror_flag"
17609
|| test ! -s conftest.err'
17610
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611
(eval $ac_try) 2>&5
17613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614
(exit $ac_status); }; } &&
17615
{ ac_try='test -s conftest$ac_exeext'
17616
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17617
(eval $ac_try) 2>&5
17619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17620
(exit $ac_status); }; }; then
17621
ac_cv_lib_dl_dlopen=yes
17623
echo "$as_me: failed program was:" >&5
17624
sed 's/^/| /' conftest.$ac_ext >&5
17626
ac_cv_lib_dl_dlopen=no
17628
rm -f conftest.err conftest.$ac_objext \
17629
conftest$ac_exeext conftest.$ac_ext
17630
LIBS=$ac_check_lib_save_LIBS
17632
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17633
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17634
if test $ac_cv_lib_dl_dlopen = yes; then
17635
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17638
lt_cv_dlopen="dyld"
17640
lt_cv_dlopen_self=yes
17647
echo "$as_me:$LINENO: checking for shl_load" >&5
17648
echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17649
if test "${ac_cv_func_shl_load+set}" = set; then
17650
echo $ECHO_N "(cached) $ECHO_C" >&6
17652
cat >conftest.$ac_ext <<_ACEOF
17655
cat confdefs.h >>conftest.$ac_ext
17656
cat >>conftest.$ac_ext <<_ACEOF
17657
/* end confdefs.h. */
17658
/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
17659
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17660
#define shl_load innocuous_shl_load
17662
/* System header to define __stub macros and hopefully few prototypes,
17663
which can conflict with char shl_load (); below.
17664
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17665
<limits.h> exists even on freestanding compilers. */
17668
# include <limits.h>
17670
# include <assert.h>
17675
/* Override any gcc2 internal prototype to avoid an error. */
17680
/* We use char because int might match the return type of a gcc2
17681
builtin and then its argument prototype would still apply. */
17683
/* The GNU C library defines this for functions which it implements
17684
to always fail with ENOSYS. Some functions are actually named
17685
something starting with __ and the normal name is an alias. */
17686
#if defined (__stub_shl_load) || defined (__stub___shl_load)
17689
char (*f) () = shl_load;
17698
return f != shl_load;
17703
rm -f conftest.$ac_objext conftest$ac_exeext
17704
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17705
(eval $ac_link) 2>conftest.er1
17707
grep -v '^ *+' conftest.er1 >conftest.err
17709
cat conftest.err >&5
17710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711
(exit $ac_status); } &&
17712
{ ac_try='test -z "$ac_c_werror_flag"
17713
|| test ! -s conftest.err'
17714
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715
(eval $ac_try) 2>&5
17717
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718
(exit $ac_status); }; } &&
17719
{ ac_try='test -s conftest$ac_exeext'
17720
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721
(eval $ac_try) 2>&5
17723
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724
(exit $ac_status); }; }; then
17725
ac_cv_func_shl_load=yes
17727
echo "$as_me: failed program was:" >&5
17728
sed 's/^/| /' conftest.$ac_ext >&5
17730
ac_cv_func_shl_load=no
17732
rm -f conftest.err conftest.$ac_objext \
17733
conftest$ac_exeext conftest.$ac_ext
17735
echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17736
echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17737
if test $ac_cv_func_shl_load = yes; then
17738
lt_cv_dlopen="shl_load"
17740
echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17741
echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17742
if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17743
echo $ECHO_N "(cached) $ECHO_C" >&6
17745
ac_check_lib_save_LIBS=$LIBS
17747
cat >conftest.$ac_ext <<_ACEOF
17750
cat confdefs.h >>conftest.$ac_ext
17751
cat >>conftest.$ac_ext <<_ACEOF
17752
/* end confdefs.h. */
17754
/* Override any gcc2 internal prototype to avoid an error. */
17758
/* We use char because int might match the return type of a gcc2
17759
builtin and then its argument prototype would still apply. */
17769
rm -f conftest.$ac_objext conftest$ac_exeext
17770
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17771
(eval $ac_link) 2>conftest.er1
17773
grep -v '^ *+' conftest.er1 >conftest.err
17775
cat conftest.err >&5
17776
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777
(exit $ac_status); } &&
17778
{ ac_try='test -z "$ac_c_werror_flag"
17779
|| test ! -s conftest.err'
17780
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17781
(eval $ac_try) 2>&5
17783
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784
(exit $ac_status); }; } &&
17785
{ ac_try='test -s conftest$ac_exeext'
17786
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787
(eval $ac_try) 2>&5
17789
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790
(exit $ac_status); }; }; then
17791
ac_cv_lib_dld_shl_load=yes
17793
echo "$as_me: failed program was:" >&5
17794
sed 's/^/| /' conftest.$ac_ext >&5
17796
ac_cv_lib_dld_shl_load=no
17798
rm -f conftest.err conftest.$ac_objext \
17799
conftest$ac_exeext conftest.$ac_ext
17800
LIBS=$ac_check_lib_save_LIBS
17802
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17803
echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17804
if test $ac_cv_lib_dld_shl_load = yes; then
17805
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17807
echo "$as_me:$LINENO: checking for dlopen" >&5
17808
echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17809
if test "${ac_cv_func_dlopen+set}" = set; then
17810
echo $ECHO_N "(cached) $ECHO_C" >&6
17812
cat >conftest.$ac_ext <<_ACEOF
17815
cat confdefs.h >>conftest.$ac_ext
17816
cat >>conftest.$ac_ext <<_ACEOF
17817
/* end confdefs.h. */
17818
/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
17819
For example, HP-UX 11i <limits.h> declares gettimeofday. */
17820
#define dlopen innocuous_dlopen
17822
/* System header to define __stub macros and hopefully few prototypes,
17823
which can conflict with char dlopen (); below.
17824
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17825
<limits.h> exists even on freestanding compilers. */
17828
# include <limits.h>
17830
# include <assert.h>
17835
/* Override any gcc2 internal prototype to avoid an error. */
17840
/* We use char because int might match the return type of a gcc2
17841
builtin and then its argument prototype would still apply. */
17843
/* The GNU C library defines this for functions which it implements
17844
to always fail with ENOSYS. Some functions are actually named
17845
something starting with __ and the normal name is an alias. */
17846
#if defined (__stub_dlopen) || defined (__stub___dlopen)
17849
char (*f) () = dlopen;
17858
return f != dlopen;
17863
rm -f conftest.$ac_objext conftest$ac_exeext
17864
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17865
(eval $ac_link) 2>conftest.er1
17867
grep -v '^ *+' conftest.er1 >conftest.err
17869
cat conftest.err >&5
17870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871
(exit $ac_status); } &&
17872
{ ac_try='test -z "$ac_c_werror_flag"
17873
|| test ! -s conftest.err'
17874
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875
(eval $ac_try) 2>&5
17877
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878
(exit $ac_status); }; } &&
17879
{ ac_try='test -s conftest$ac_exeext'
17880
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881
(eval $ac_try) 2>&5
17883
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884
(exit $ac_status); }; }; then
17885
ac_cv_func_dlopen=yes
17887
echo "$as_me: failed program was:" >&5
17888
sed 's/^/| /' conftest.$ac_ext >&5
17890
ac_cv_func_dlopen=no
17892
rm -f conftest.err conftest.$ac_objext \
17893
conftest$ac_exeext conftest.$ac_ext
17895
echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17896
echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17897
if test $ac_cv_func_dlopen = yes; then
17898
lt_cv_dlopen="dlopen"
17900
echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17901
echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17902
if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17903
echo $ECHO_N "(cached) $ECHO_C" >&6
17905
ac_check_lib_save_LIBS=$LIBS
17907
cat >conftest.$ac_ext <<_ACEOF
17910
cat confdefs.h >>conftest.$ac_ext
17911
cat >>conftest.$ac_ext <<_ACEOF
17912
/* end confdefs.h. */
17914
/* Override any gcc2 internal prototype to avoid an error. */
17918
/* We use char because int might match the return type of a gcc2
17919
builtin and then its argument prototype would still apply. */
17929
rm -f conftest.$ac_objext conftest$ac_exeext
17930
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17931
(eval $ac_link) 2>conftest.er1
17933
grep -v '^ *+' conftest.er1 >conftest.err
17935
cat conftest.err >&5
17936
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937
(exit $ac_status); } &&
17938
{ ac_try='test -z "$ac_c_werror_flag"
17939
|| test ! -s conftest.err'
17940
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941
(eval $ac_try) 2>&5
17943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944
(exit $ac_status); }; } &&
17945
{ ac_try='test -s conftest$ac_exeext'
17946
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947
(eval $ac_try) 2>&5
17949
echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950
(exit $ac_status); }; }; then
17951
ac_cv_lib_dl_dlopen=yes
17953
echo "$as_me: failed program was:" >&5
17954
sed 's/^/| /' conftest.$ac_ext >&5
17956
ac_cv_lib_dl_dlopen=no
17958
rm -f conftest.err conftest.$ac_objext \
17959
conftest$ac_exeext conftest.$ac_ext
17960
LIBS=$ac_check_lib_save_LIBS
17962
echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17963
echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17964
if test $ac_cv_lib_dl_dlopen = yes; then
17965
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17967
echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17968
echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17969
if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17970
echo $ECHO_N "(cached) $ECHO_C" >&6
17972
ac_check_lib_save_LIBS=$LIBS
17973
LIBS="-lsvld $LIBS"
17974
cat >conftest.$ac_ext <<_ACEOF
17977
cat confdefs.h >>conftest.$ac_ext
17978
cat >>conftest.$ac_ext <<_ACEOF
17979
/* end confdefs.h. */
17981
/* Override any gcc2 internal prototype to avoid an error. */
17985
/* We use char because int might match the return type of a gcc2
17986
builtin and then its argument prototype would still apply. */
17996
rm -f conftest.$ac_objext conftest$ac_exeext
17997
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17998
(eval $ac_link) 2>conftest.er1
18000
grep -v '^ *+' conftest.er1 >conftest.err
18002
cat conftest.err >&5
18003
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18004
(exit $ac_status); } &&
18005
{ ac_try='test -z "$ac_c_werror_flag"
18006
|| test ! -s conftest.err'
18007
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18008
(eval $ac_try) 2>&5
18010
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18011
(exit $ac_status); }; } &&
18012
{ ac_try='test -s conftest$ac_exeext'
18013
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18014
(eval $ac_try) 2>&5
18016
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017
(exit $ac_status); }; }; then
18018
ac_cv_lib_svld_dlopen=yes
18020
echo "$as_me: failed program was:" >&5
18021
sed 's/^/| /' conftest.$ac_ext >&5
18023
ac_cv_lib_svld_dlopen=no
18025
rm -f conftest.err conftest.$ac_objext \
18026
conftest$ac_exeext conftest.$ac_ext
18027
LIBS=$ac_check_lib_save_LIBS
18029
echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
18030
echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
18031
if test $ac_cv_lib_svld_dlopen = yes; then
18032
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
18034
echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
18035
echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
18036
if test "${ac_cv_lib_dld_dld_link+set}" = set; then
18037
echo $ECHO_N "(cached) $ECHO_C" >&6
18039
ac_check_lib_save_LIBS=$LIBS
18041
cat >conftest.$ac_ext <<_ACEOF
18044
cat confdefs.h >>conftest.$ac_ext
18045
cat >>conftest.$ac_ext <<_ACEOF
18046
/* end confdefs.h. */
18048
/* Override any gcc2 internal prototype to avoid an error. */
18052
/* We use char because int might match the return type of a gcc2
18053
builtin and then its argument prototype would still apply. */
18063
rm -f conftest.$ac_objext conftest$ac_exeext
18064
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18065
(eval $ac_link) 2>conftest.er1
18067
grep -v '^ *+' conftest.er1 >conftest.err
18069
cat conftest.err >&5
18070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18071
(exit $ac_status); } &&
18072
{ ac_try='test -z "$ac_c_werror_flag"
18073
|| test ! -s conftest.err'
18074
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075
(eval $ac_try) 2>&5
18077
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078
(exit $ac_status); }; } &&
18079
{ ac_try='test -s conftest$ac_exeext'
18080
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081
(eval $ac_try) 2>&5
18083
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084
(exit $ac_status); }; }; then
18085
ac_cv_lib_dld_dld_link=yes
18087
echo "$as_me: failed program was:" >&5
18088
sed 's/^/| /' conftest.$ac_ext >&5
18090
ac_cv_lib_dld_dld_link=no
18092
rm -f conftest.err conftest.$ac_objext \
18093
conftest$ac_exeext conftest.$ac_ext
18094
LIBS=$ac_check_lib_save_LIBS
18096
echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
18097
echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
18098
if test $ac_cv_lib_dld_dld_link = yes; then
18099
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
18120
if test "x$lt_cv_dlopen" != xno; then
18126
case $lt_cv_dlopen in
18128
save_CPPFLAGS="$CPPFLAGS"
18129
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
18131
save_LDFLAGS="$LDFLAGS"
18132
eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
18135
LIBS="$lt_cv_dlopen_libs $LIBS"
18137
echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
18138
echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
18139
if test "${lt_cv_dlopen_self+set}" = set; then
18140
echo $ECHO_N "(cached) $ECHO_C" >&6
18142
if test "$cross_compiling" = yes; then :
18143
lt_cv_dlopen_self=cross
18145
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18146
lt_status=$lt_dlunknown
18147
cat > conftest.$ac_ext <<EOF
18148
#line 18148 "configure"
18149
#include "confdefs.h"
18158
# define LT_DLGLOBAL RTLD_GLOBAL
18161
# define LT_DLGLOBAL DL_GLOBAL
18163
# define LT_DLGLOBAL 0
18167
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18168
find out it does not work in some platform. */
18169
#ifndef LT_DLLAZY_OR_NOW
18171
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18174
# define LT_DLLAZY_OR_NOW DL_LAZY
18177
# define LT_DLLAZY_OR_NOW RTLD_NOW
18180
# define LT_DLLAZY_OR_NOW DL_NOW
18182
# define LT_DLLAZY_OR_NOW 0
18190
extern "C" void exit (int);
18193
void fnord() { int i=42;}
18196
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18197
int status = $lt_dlunknown;
18201
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18202
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18203
/* dlclose (self); */
18209
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18210
(eval $ac_link) 2>&5
18212
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18214
(./conftest; exit; ) 2>/dev/null
18216
case x$lt_status in
18217
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
18218
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
18219
x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
18222
# compilation failed
18223
lt_cv_dlopen_self=no
18230
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
18231
echo "${ECHO_T}$lt_cv_dlopen_self" >&6
18233
if test "x$lt_cv_dlopen_self" = xyes; then
18234
LDFLAGS="$LDFLAGS $link_static_flag"
18235
echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
18236
echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
18237
if test "${lt_cv_dlopen_self_static+set}" = set; then
18238
echo $ECHO_N "(cached) $ECHO_C" >&6
18240
if test "$cross_compiling" = yes; then :
18241
lt_cv_dlopen_self_static=cross
18243
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
18244
lt_status=$lt_dlunknown
18245
cat > conftest.$ac_ext <<EOF
18246
#line 18246 "configure"
18247
#include "confdefs.h"
18256
# define LT_DLGLOBAL RTLD_GLOBAL
18259
# define LT_DLGLOBAL DL_GLOBAL
18261
# define LT_DLGLOBAL 0
18265
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
18266
find out it does not work in some platform. */
18267
#ifndef LT_DLLAZY_OR_NOW
18269
# define LT_DLLAZY_OR_NOW RTLD_LAZY
18272
# define LT_DLLAZY_OR_NOW DL_LAZY
18275
# define LT_DLLAZY_OR_NOW RTLD_NOW
18278
# define LT_DLLAZY_OR_NOW DL_NOW
18280
# define LT_DLLAZY_OR_NOW 0
18288
extern "C" void exit (int);
18291
void fnord() { int i=42;}
18294
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
18295
int status = $lt_dlunknown;
18299
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
18300
else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
18301
/* dlclose (self); */
18307
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18308
(eval $ac_link) 2>&5
18310
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18311
(exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18312
(./conftest; exit; ) 2>/dev/null
18314
case x$lt_status in
18315
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18316
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
18317
x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
18320
# compilation failed
18321
lt_cv_dlopen_self_static=no
18328
echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
18329
echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
18332
CPPFLAGS="$save_CPPFLAGS"
18333
LDFLAGS="$save_LDFLAGS"
18338
case $lt_cv_dlopen_self in
18339
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
18340
*) enable_dlopen_self=unknown ;;
18343
case $lt_cv_dlopen_self_static in
18344
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
18345
*) enable_dlopen_self_static=unknown ;;
18350
18783
# The else clause should only fire when bootstrapping the
18351
18784
# libtool distribution, otherwise you forgot to ship ltmain.sh
20070
20705
rm -f conf.gtktest
20075
if test -z "$PKG_CONFIG"; then
20076
# Extract the first word of "pkg-config", so it can be a program name with args.
20077
set dummy pkg-config; ac_word=$2
20078
echo "$as_me:$LINENO: checking for $ac_word" >&5
20079
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
20080
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
20709
{ echo "$as_me:$LINENO: checking for GTK" >&5
20710
echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
20712
if test -n "$PKG_CONFIG"; then
20713
if test -n "$GTK_CFLAGS"; then
20714
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
20716
if test -n "$PKG_CONFIG" && \
20717
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1\"") >&5
20718
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1") 2>&5
20720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721
(exit $ac_status); }; then
20722
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" 2>/dev/null`
20730
if test -n "$PKG_CONFIG"; then
20731
if test -n "$GTK_LIBS"; then
20732
pkg_cv_GTK_LIBS="$GTK_LIBS"
20734
if test -n "$PKG_CONFIG" && \
20735
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1\"") >&5
20736
($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1") 2>&5
20738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20739
(exit $ac_status); }; then
20740
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" 2>/dev/null`
20751
if test $pkg_failed = yes; then
20753
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20754
_pkg_short_errors_supported=yes
20756
_pkg_short_errors_supported=no
20758
if test $_pkg_short_errors_supported = yes; then
20759
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20761
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20763
# Put the nasty error message in config.log where it belongs
20764
echo "$GTK_PKG_ERRORS" >&5
20766
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) were not met:
20770
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20771
installed software in a non-standard prefix.
20773
Alternatively, you may set the environment variables GTK_CFLAGS
20774
and GTK_LIBS to avoid the need to call pkg-config.
20775
See the pkg-config man page for more details.
20777
echo "$as_me: error: Package requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) were not met:
20781
Consider adjusting the PKG_CONFIG_PATH environment variable if you
20782
installed software in a non-standard prefix.
20784
Alternatively, you may set the environment variables GTK_CFLAGS
20785
and GTK_LIBS to avoid the need to call pkg-config.
20786
See the pkg-config man page for more details.
20788
{ (exit 1); exit 1; }; }
20789
elif test $pkg_failed = untried; then
20790
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
20791
is in your PATH or set the PKG_CONFIG environment variable to the full
20792
path to pkg-config.
20794
Alternatively, you may set the environment variables GTK_CFLAGS
20795
and GTK_LIBS to avoid the need to call pkg-config.
20796
See the pkg-config man page for more details.
20798
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20799
See \`config.log' for more details." >&5
20800
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
20801
is in your PATH or set the PKG_CONFIG environment variable to the full
20802
path to pkg-config.
20804
Alternatively, you may set the environment variables GTK_CFLAGS
20805
and GTK_LIBS to avoid the need to call pkg-config.
20806
See the pkg-config man page for more details.
20808
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
20809
See \`config.log' for more details." >&2;}
20810
{ (exit 1); exit 1; }; }
20812
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
20813
GTK_LIBS=$pkg_cv_GTK_LIBS
20814
{ echo "$as_me:$LINENO: result: yes" >&5
20815
echo "${ECHO_T}yes" >&6; }
20821
{ echo "$as_me:$LINENO: checking for recv in -lsocket" >&5
20822
echo $ECHO_N "checking for recv in -lsocket... $ECHO_C" >&6; }
20823
if test "${ac_cv_lib_socket_recv+set}" = set; then
20081
20824
echo $ECHO_N "(cached) $ECHO_C" >&6
20083
case $PKG_CONFIG in
20085
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
20088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20089
for as_dir in $PATH
20092
test -z "$as_dir" && as_dir=.
20093
for ac_exec_ext in '' $ac_executable_extensions; do
20094
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20095
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20096
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20826
ac_check_lib_save_LIBS=$LIBS
20827
LIBS="-lsocket $LIBS"
20828
cat >conftest.$ac_ext <<_ACEOF
20831
cat confdefs.h >>conftest.$ac_ext
20832
cat >>conftest.$ac_ext <<_ACEOF
20833
/* end confdefs.h. */
20102
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
20835
/* Override any GCC internal prototype to avoid an error.
20836
Use char because int might match the return type of a GCC
20837
builtin and then its argument prototype would still apply. */
20850
rm -f conftest.$ac_objext conftest$ac_exeext
20851
if { (ac_try="$ac_link"
20852
case "(($ac_try" in
20853
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20854
*) ac_try_echo=$ac_try;;
20106
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
20108
if test -n "$PKG_CONFIG"; then
20109
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
20110
echo "${ECHO_T}$PKG_CONFIG" >&6
20856
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20857
(eval "$ac_link") 2>conftest.er1
20859
grep -v '^ *+' conftest.er1 >conftest.err
20861
cat conftest.err >&5
20862
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863
(exit $ac_status); } && {
20864
test -z "$ac_c_werror_flag" ||
20865
test ! -s conftest.err
20866
} && test -s conftest$ac_exeext &&
20867
$as_test_x conftest$ac_exeext; then
20868
ac_cv_lib_socket_recv=yes
20112
echo "$as_me:$LINENO: result: no" >&5
20113
echo "${ECHO_T}no" >&6
20118
if test "$PKG_CONFIG" = "no" ; then
20119
echo "*** The pkg-config script could not be found. Make sure it is"
20120
echo "*** in your path, or set the PKG_CONFIG environment variable"
20121
echo "*** to the full path to pkg-config."
20122
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
20124
PKG_CONFIG_MIN_VERSION=0.9.0
20125
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
20126
echo "$as_me:$LINENO: checking for gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" >&5
20127
echo $ECHO_N "checking for gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1... $ECHO_C" >&6
20129
if $PKG_CONFIG --exists "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1" ; then
20130
echo "$as_me:$LINENO: result: yes" >&5
20131
echo "${ECHO_T}yes" >&6
20134
echo "$as_me:$LINENO: checking GTK_CFLAGS" >&5
20135
echo $ECHO_N "checking GTK_CFLAGS... $ECHO_C" >&6
20136
GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20137
echo "$as_me:$LINENO: result: $GTK_CFLAGS" >&5
20138
echo "${ECHO_T}$GTK_CFLAGS" >&6
20140
echo "$as_me:$LINENO: checking GTK_LIBS" >&5
20141
echo $ECHO_N "checking GTK_LIBS... $ECHO_C" >&6
20142
GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20143
echo "$as_me:$LINENO: result: $GTK_LIBS" >&5
20144
echo "${ECHO_T}$GTK_LIBS" >&6
20148
## If we have a custom action on failure, don't print errors, but
20149
## do set a variable so people can do so.
20150
GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1"`
20151
echo $GTK_PKG_ERRORS
20157
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
20158
echo "*** See http://www.freedesktop.org/software/pkgconfig"
20162
if test $succeeded = yes; then
20165
{ { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
20166
echo "$as_me: error: Library requirements (gtk+-2.0 >= 2.4.1 glib-2.0 >= 2.4.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
20167
{ (exit 1); exit 1; }; }
20172
CFLAGS="`echo $CFLAGS|sed -e 's%\-I/usr/include%%g' -e 's%\-L/usr/lib%%g'`"
20870
echo "$as_me: failed program was:" >&5
20871
sed 's/^/| /' conftest.$ac_ext >&5
20873
ac_cv_lib_socket_recv=no
20876
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20877
conftest$ac_exeext conftest.$ac_ext
20878
LIBS=$ac_check_lib_save_LIBS
20880
{ echo "$as_me:$LINENO: result: $ac_cv_lib_socket_recv" >&5
20881
echo "${ECHO_T}$ac_cv_lib_socket_recv" >&6; }
20882
if test $ac_cv_lib_socket_recv = yes; then
20883
cat >>confdefs.h <<_ACEOF
20884
#define HAVE_LIBSOCKET 1
20887
LIBS="-lsocket $LIBS"
20176
20894
if test "x$enable_ogg" = "xyes" -o "x$enable_flac" = "xyes"; then
20178
echo "$as_me:$LINENO: checking for cos in -lm" >&5
20179
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
20897
{ echo "$as_me:$LINENO: checking for OGG" >&5
20898
echo $ECHO_N "checking for OGG... $ECHO_C" >&6; }
20900
if test -n "$PKG_CONFIG"; then
20901
if test -n "$OGG_CFLAGS"; then
20902
pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
20904
if test -n "$PKG_CONFIG" && \
20905
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
20906
($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
20908
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20909
(exit $ac_status); }; then
20910
pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null`
20918
if test -n "$PKG_CONFIG"; then
20919
if test -n "$OGG_LIBS"; then
20920
pkg_cv_OGG_LIBS="$OGG_LIBS"
20922
if test -n "$PKG_CONFIG" && \
20923
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
20924
($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
20926
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927
(exit $ac_status); }; then
20928
pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null`
20939
if test $pkg_failed = yes; then
20941
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20942
_pkg_short_errors_supported=yes
20944
_pkg_short_errors_supported=no
20946
if test $_pkg_short_errors_supported = yes; then
20947
OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"`
20949
OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"`
20951
# Put the nasty error message in config.log where it belongs
20952
echo "$OGG_PKG_ERRORS" >&5
20954
{ echo "$as_me:$LINENO: result: no" >&5
20955
echo "${ECHO_T}no" >&6; }
20957
elif test $pkg_failed = untried; then
20960
OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
20961
OGG_LIBS=$pkg_cv_OGG_LIBS
20962
{ echo "$as_me:$LINENO: result: yes" >&5
20963
echo "${ECHO_T}yes" >&6; }
20966
if test "x$ogg_available" = "xno"; then
20968
echo "*** Warning: libogg >= 1.0 needed"
20973
{ echo "$as_me:$LINENO: checking for VORBIS" >&5
20974
echo $ECHO_N "checking for VORBIS... $ECHO_C" >&6; }
20976
if test -n "$PKG_CONFIG"; then
20977
if test -n "$VORBIS_CFLAGS"; then
20978
pkg_cv_VORBIS_CFLAGS="$VORBIS_CFLAGS"
20980
if test -n "$PKG_CONFIG" && \
20981
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.1\"") >&5
20982
($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.1") 2>&5
20984
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985
(exit $ac_status); }; then
20986
pkg_cv_VORBIS_CFLAGS=`$PKG_CONFIG --cflags "vorbis >= 1.0.1" 2>/dev/null`
20994
if test -n "$PKG_CONFIG"; then
20995
if test -n "$VORBIS_LIBS"; then
20996
pkg_cv_VORBIS_LIBS="$VORBIS_LIBS"
20998
if test -n "$PKG_CONFIG" && \
20999
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis >= 1.0.1\"") >&5
21000
($PKG_CONFIG --exists --print-errors "vorbis >= 1.0.1") 2>&5
21002
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003
(exit $ac_status); }; then
21004
pkg_cv_VORBIS_LIBS=`$PKG_CONFIG --libs "vorbis >= 1.0.1" 2>/dev/null`
21015
if test $pkg_failed = yes; then
21017
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21018
_pkg_short_errors_supported=yes
21020
_pkg_short_errors_supported=no
21022
if test $_pkg_short_errors_supported = yes; then
21023
VORBIS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "vorbis >= 1.0.1"`
21025
VORBIS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "vorbis >= 1.0.1"`
21027
# Put the nasty error message in config.log where it belongs
21028
echo "$VORBIS_PKG_ERRORS" >&5
21030
{ echo "$as_me:$LINENO: result: no" >&5
21031
echo "${ECHO_T}no" >&6; }
21033
elif test $pkg_failed = untried; then
21036
VORBIS_CFLAGS=$pkg_cv_VORBIS_CFLAGS
21037
VORBIS_LIBS=$pkg_cv_VORBIS_LIBS
21038
{ echo "$as_me:$LINENO: result: yes" >&5
21039
echo "${ECHO_T}yes" >&6; }
21042
if test "x$ogg_available" = "xno"; then
21044
echo "*** Warning: libvorbis >= 1.0.1 needed"
21048
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
21049
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
20180
21050
if test "${ac_cv_lib_m_cos+set}" = set; then
20181
21051
echo $ECHO_N "(cached) $ECHO_C" >&6
20781
21829
if test "x$enable_mp3" = "xyes"; then
20782
echo "$as_me:$LINENO: checking for library containing ID3Tag_Link" >&5
20783
echo $ECHO_N "checking for library containing ID3Tag_Link... $ECHO_C" >&6
21830
{ echo "$as_me:$LINENO: checking for MP3 file support" >&5
21831
echo $ECHO_N "checking for MP3 file support... $ECHO_C" >&6; }
21832
if test "${ac_cv_header_id3tag_h+set}" = set; then
21833
{ echo "$as_me:$LINENO: checking for id3tag.h" >&5
21834
echo $ECHO_N "checking for id3tag.h... $ECHO_C" >&6; }
21835
if test "${ac_cv_header_id3tag_h+set}" = set; then
21836
echo $ECHO_N "(cached) $ECHO_C" >&6
21838
{ echo "$as_me:$LINENO: result: $ac_cv_header_id3tag_h" >&5
21839
echo "${ECHO_T}$ac_cv_header_id3tag_h" >&6; }
21841
# Is the header compilable?
21842
{ echo "$as_me:$LINENO: checking id3tag.h usability" >&5
21843
echo $ECHO_N "checking id3tag.h usability... $ECHO_C" >&6; }
21844
cat >conftest.$ac_ext <<_ACEOF
21847
cat confdefs.h >>conftest.$ac_ext
21848
cat >>conftest.$ac_ext <<_ACEOF
21849
/* end confdefs.h. */
21850
$ac_includes_default
21851
#include <id3tag.h>
21853
rm -f conftest.$ac_objext
21854
if { (ac_try="$ac_compile"
21855
case "(($ac_try" in
21856
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857
*) ac_try_echo=$ac_try;;
21859
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860
(eval "$ac_compile") 2>conftest.er1
21862
grep -v '^ *+' conftest.er1 >conftest.err
21864
cat conftest.err >&5
21865
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866
(exit $ac_status); } && {
21867
test -z "$ac_c_werror_flag" ||
21868
test ! -s conftest.err
21869
} && test -s conftest.$ac_objext; then
21870
ac_header_compiler=yes
21872
echo "$as_me: failed program was:" >&5
21873
sed 's/^/| /' conftest.$ac_ext >&5
21875
ac_header_compiler=no
21878
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21879
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21880
echo "${ECHO_T}$ac_header_compiler" >&6; }
21882
# Is the header present?
21883
{ echo "$as_me:$LINENO: checking id3tag.h presence" >&5
21884
echo $ECHO_N "checking id3tag.h presence... $ECHO_C" >&6; }
21885
cat >conftest.$ac_ext <<_ACEOF
21888
cat confdefs.h >>conftest.$ac_ext
21889
cat >>conftest.$ac_ext <<_ACEOF
21890
/* end confdefs.h. */
21891
#include <id3tag.h>
21893
if { (ac_try="$ac_cpp conftest.$ac_ext"
21894
case "(($ac_try" in
21895
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21896
*) ac_try_echo=$ac_try;;
21898
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
21901
grep -v '^ *+' conftest.er1 >conftest.err
21903
cat conftest.err >&5
21904
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905
(exit $ac_status); } >/dev/null && {
21906
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
21907
test ! -s conftest.err
21909
ac_header_preproc=yes
21911
echo "$as_me: failed program was:" >&5
21912
sed 's/^/| /' conftest.$ac_ext >&5
21914
ac_header_preproc=no
21917
rm -f conftest.err conftest.$ac_ext
21918
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21919
echo "${ECHO_T}$ac_header_preproc" >&6; }
21921
# So? What about this header?
21922
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
21924
{ echo "$as_me:$LINENO: WARNING: id3tag.h: accepted by the compiler, rejected by the preprocessor!" >&5
21925
echo "$as_me: WARNING: id3tag.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
21926
{ echo "$as_me:$LINENO: WARNING: id3tag.h: proceeding with the compiler's result" >&5
21927
echo "$as_me: WARNING: id3tag.h: proceeding with the compiler's result" >&2;}
21928
ac_header_preproc=yes
21931
{ echo "$as_me:$LINENO: WARNING: id3tag.h: present but cannot be compiled" >&5
21932
echo "$as_me: WARNING: id3tag.h: present but cannot be compiled" >&2;}
21933
{ echo "$as_me:$LINENO: WARNING: id3tag.h: check for missing prerequisite headers?" >&5
21934
echo "$as_me: WARNING: id3tag.h: check for missing prerequisite headers?" >&2;}
21935
{ echo "$as_me:$LINENO: WARNING: id3tag.h: see the Autoconf documentation" >&5
21936
echo "$as_me: WARNING: id3tag.h: see the Autoconf documentation" >&2;}
21937
{ echo "$as_me:$LINENO: WARNING: id3tag.h: section \"Present But Cannot Be Compiled\"" >&5
21938
echo "$as_me: WARNING: id3tag.h: section \"Present But Cannot Be Compiled\"" >&2;}
21939
{ echo "$as_me:$LINENO: WARNING: id3tag.h: proceeding with the preprocessor's result" >&5
21940
echo "$as_me: WARNING: id3tag.h: proceeding with the preprocessor's result" >&2;}
21941
{ echo "$as_me:$LINENO: WARNING: id3tag.h: in the future, the compiler will take precedence" >&5
21942
echo "$as_me: WARNING: id3tag.h: in the future, the compiler will take precedence" >&2;}
21946
{ echo "$as_me:$LINENO: checking for id3tag.h" >&5
21947
echo $ECHO_N "checking for id3tag.h... $ECHO_C" >&6; }
21948
if test "${ac_cv_header_id3tag_h+set}" = set; then
21949
echo $ECHO_N "(cached) $ECHO_C" >&6
21951
ac_cv_header_id3tag_h=$ac_header_preproc
21953
{ echo "$as_me:$LINENO: result: $ac_cv_header_id3tag_h" >&5
21954
echo "${ECHO_T}$ac_cv_header_id3tag_h" >&6; }
21957
if test $ac_cv_header_id3tag_h = yes; then
21960
libid3tag_available=no
21965
{ echo "$as_me:$LINENO: checking for id3_frame_field in -lid3tag" >&5
21966
echo $ECHO_N "checking for id3_frame_field in -lid3tag... $ECHO_C" >&6; }
21967
if test "${ac_cv_lib_id3tag_id3_frame_field+set}" = set; then
21968
echo $ECHO_N "(cached) $ECHO_C" >&6
21970
ac_check_lib_save_LIBS=$LIBS
21971
LIBS="-lid3tag -lz $LIBS"
21972
cat >conftest.$ac_ext <<_ACEOF
21975
cat confdefs.h >>conftest.$ac_ext
21976
cat >>conftest.$ac_ext <<_ACEOF
21977
/* end confdefs.h. */
21979
/* Override any GCC internal prototype to avoid an error.
21980
Use char because int might match the return type of a GCC
21981
builtin and then its argument prototype would still apply. */
21985
char id3_frame_field ();
21989
return id3_frame_field ();
21994
rm -f conftest.$ac_objext conftest$ac_exeext
21995
if { (ac_try="$ac_link"
21996
case "(($ac_try" in
21997
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21998
*) ac_try_echo=$ac_try;;
22000
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22001
(eval "$ac_link") 2>conftest.er1
22003
grep -v '^ *+' conftest.er1 >conftest.err
22005
cat conftest.err >&5
22006
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007
(exit $ac_status); } && {
22008
test -z "$ac_c_werror_flag" ||
22009
test ! -s conftest.err
22010
} && test -s conftest$ac_exeext &&
22011
$as_test_x conftest$ac_exeext; then
22012
ac_cv_lib_id3tag_id3_frame_field=yes
22014
echo "$as_me: failed program was:" >&5
22015
sed 's/^/| /' conftest.$ac_ext >&5
22017
ac_cv_lib_id3tag_id3_frame_field=no
22020
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22021
conftest$ac_exeext conftest.$ac_ext
22022
LIBS=$ac_check_lib_save_LIBS
22024
{ echo "$as_me:$LINENO: result: $ac_cv_lib_id3tag_id3_frame_field" >&5
22025
echo "${ECHO_T}$ac_cv_lib_id3tag_id3_frame_field" >&6; }
22026
if test $ac_cv_lib_id3tag_id3_frame_field = yes; then
22027
cat >>confdefs.h <<_ACEOF
22028
#define HAVE_LIBID3TAG 1
22031
LIBS="-lid3tag $LIBS"
22034
libid3tag_available=no
22037
if test "x$libid3tag_available" = "xno"; then
22038
{ echo "$as_me:$LINENO: result: no" >&5
22039
echo "${ECHO_T}no" >&6; }
22042
echo "*** Warning: MP3 file support disabled, libid3tag missing"
22045
{ echo "$as_me:$LINENO: result: yes" >&5
22046
echo "${ECHO_T}yes" >&6; }
22048
cat >>confdefs.h <<\_ACEOF
22049
#define ENABLE_MP3 1
22054
if test "x$enable_id3v23" = "xyes"; then
22055
{ echo "$as_me:$LINENO: checking for library containing ID3Tag_Link" >&5
22056
echo $ECHO_N "checking for library containing ID3Tag_Link... $ECHO_C" >&6; }
20784
22057
if test "${ac_cv_search_ID3Tag_Link+set}" = set; then
20785
22058
echo $ECHO_N "(cached) $ECHO_C" >&6
20787
22060
ac_func_search_save_LIBS=$LIBS
20788
ac_cv_search_ID3Tag_Link=no
20789
22061
cat >conftest.$ac_ext <<_ACEOF
20790
22062
/* confdefs.h. */
21152
22386
mp4_available=no
21157
echo "$as_me:$LINENO: checking for MP4/AAC file support" >&5
21158
echo $ECHO_N "checking for MP4/AAC file support... $ECHO_C" >&6
22391
{ echo "$as_me:$LINENO: checking for MP4/AAC file support" >&5
22392
echo $ECHO_N "checking for MP4/AAC file support... $ECHO_C" >&6; }
21159
22393
if test "x$enable_mp4" = "xyes"; then
21160
22394
if test "x$mp4_available" = "xno"; then
21161
echo "$as_me:$LINENO: result: no" >&5
21162
echo "${ECHO_T}no" >&6
22395
{ echo "$as_me:$LINENO: result: no" >&5
22396
echo "${ECHO_T}no" >&6; }
21163
22397
enable_mp4="no"
21165
22399
echo "*** Warning: MP4 file support disabled"
21166
echo "*** (Install MPEG4IP tools (libmp4v2) to enable it)"
22400
echo "*** (Install libmp4v2 to enable it)"
21169
echo "$as_me:$LINENO: result: yes" >&5
21170
echo "${ECHO_T}yes" >&6
22405
CFLAGS_SAVE="$CFLAGS"
22406
LIBS="$LIBS $LIBMP4V2_LIBS"
22407
CFLAGS="$CFLAGS $LIBMP4V2_CFLAGS"
22408
{ echo "$as_me:$LINENO: checking for libmp4v2 version" >&5
22409
echo $ECHO_N "checking for libmp4v2 version... $ECHO_C" >&6; }
22410
if test "$cross_compiling" = yes; then
22411
echo $ac_n "cross compiling; assuming ${LIBMP4V2_NAME}-${LIBMP4V2_VERSION} $ac_c"
22413
cat >conftest.$ac_ext <<_ACEOF
22416
cat confdefs.h >>conftest.$ac_ext
22417
cat >>conftest.$ac_ext <<_ACEOF
22418
/* end confdefs.h. */
22421
#include <mpeg4ip_config.h>
22425
output=fopen("conftest.mp4v2","w");
22426
fprintf(output,"LIBMP4V2_NAME=%s\nLIBMP4V2_VERSION=%s\n",PACKAGE_TARNAME,PACKAGE_VERSION);
22432
rm -f conftest$ac_exeext
22433
if { (ac_try="$ac_link"
22434
case "(($ac_try" in
22435
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22436
*) ac_try_echo=$ac_try;;
22438
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22439
(eval "$ac_link") 2>&5
22441
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22442
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22443
{ (case "(($ac_try" in
22444
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22445
*) ac_try_echo=$ac_try;;
22447
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22448
(eval "$ac_try") 2>&5
22450
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451
(exit $ac_status); }; }; then
22452
. ./conftest.mp4v2; echo "${LIBMP4V2_NAME}-${LIBMP4V2_VERSION}"
22454
echo "$as_me: program exited with status $ac_status" >&5
22455
echo "$as_me: failed program was:" >&5
22456
sed 's/^/| /' conftest.$ac_ext >&5
22458
( exit $ac_status )
22459
{ echo "$as_me:$LINENO: WARNING: could not determine libmp4v2 version" >&5
22460
echo "$as_me: WARNING: could not determine libmp4v2 version" >&2;}
22462
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22467
CFLAGS="$CFLAGS_SAVE"
22468
if test "$LIBMP4V2_VERSION" != ""; then
22469
LIBMP4V2_VERSION="($LIBMP4V2_NAME-$LIBMP4V2_VERSION)"
22472
cat >conftest.$ac_ext <<_ACEOF
22476
MP4FileHandle hFile;
22477
MP4GetMetadataCoverArt(hFile, NULL, NULL,0); }
22480
rm -f conftest.$ac_objext
22481
if { (ac_try="$ac_compile"
22482
case "(($ac_try" in
22483
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22484
*) ac_try_echo=$ac_try;;
22486
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22487
(eval "$ac_compile") 2>conftest.er1
22489
grep -v '^ *+' conftest.er1 >conftest.err
22491
cat conftest.err >&5
22492
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22493
(exit $ac_status); } && {
22494
test -z "$ac_c_werror_flag" ||
22495
test ! -s conftest.err
22496
} && test -s conftest.$ac_objext; then
22498
cat >>confdefs.h <<\_ACEOF
22503
echo "$as_me: failed program was:" >&5
22504
sed 's/^/| /' conftest.$ac_ext >&5
22509
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22511
{ echo "$as_me:$LINENO: result: yes" >&5
22512
echo "${ECHO_T}yes" >&6; }
21172
22514
cat >>confdefs.h <<\_ACEOF
21173
22515
#define ENABLE_MP4 1
21176
MPEG4IP_VERSION="(mpeg4ip-`mpeg4ip-config --version`)"
21179
echo "$as_me:$LINENO: result: no" >&5
21180
echo "${ECHO_T}no" >&6
22520
{ echo "$as_me:$LINENO: result: no" >&5
22521
echo "${ECHO_T}no" >&6; }
21181
22522
enable_mp4="no"
21183
22524
echo "*** MP4 file support disabled on commandline"
21184
echo "*** (Install MPEG4IP tools (libmp4v2), and use --enable-mp4 to enable it)"
22525
echo "*** (Install libmp4v2 and use --enable-mp4 to enable it)"
22530
if test "x$enable_wavpack" = "xyes"; then
22533
{ echo "$as_me:$LINENO: checking for WAVPACK" >&5
22534
echo $ECHO_N "checking for WAVPACK... $ECHO_C" >&6; }
22536
if test -n "$PKG_CONFIG"; then
22537
if test -n "$WAVPACK_CFLAGS"; then
22538
pkg_cv_WAVPACK_CFLAGS="$WAVPACK_CFLAGS"
22540
if test -n "$PKG_CONFIG" && \
22541
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40\"") >&5
22542
($PKG_CONFIG --exists --print-errors "wavpack >= 4.40") 2>&5
22544
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545
(exit $ac_status); }; then
22546
pkg_cv_WAVPACK_CFLAGS=`$PKG_CONFIG --cflags "wavpack >= 4.40" 2>/dev/null`
22554
if test -n "$PKG_CONFIG"; then
22555
if test -n "$WAVPACK_LIBS"; then
22556
pkg_cv_WAVPACK_LIBS="$WAVPACK_LIBS"
22558
if test -n "$PKG_CONFIG" && \
22559
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"wavpack >= 4.40\"") >&5
22560
($PKG_CONFIG --exists --print-errors "wavpack >= 4.40") 2>&5
22562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22563
(exit $ac_status); }; then
22564
pkg_cv_WAVPACK_LIBS=`$PKG_CONFIG --libs "wavpack >= 4.40" 2>/dev/null`
22575
if test $pkg_failed = yes; then
22577
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22578
_pkg_short_errors_supported=yes
22580
_pkg_short_errors_supported=no
22582
if test $_pkg_short_errors_supported = yes; then
22583
WAVPACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "wavpack >= 4.40"`
22585
WAVPACK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "wavpack >= 4.40"`
22587
# Put the nasty error message in config.log where it belongs
22588
echo "$WAVPACK_PKG_ERRORS" >&5
22590
{ echo "$as_me:$LINENO: result: no" >&5
22591
echo "${ECHO_T}no" >&6; }
22592
wavpack_available=no
22593
elif test $pkg_failed = untried; then
22594
wavpack_available=no
22596
WAVPACK_CFLAGS=$pkg_cv_WAVPACK_CFLAGS
22597
WAVPACK_LIBS=$pkg_cv_WAVPACK_LIBS
22598
{ echo "$as_me:$LINENO: result: yes" >&5
22599
echo "${ECHO_T}yes" >&6; }
22602
if test "x$wavpack_available" = "xno"; then
22604
echo "*** Warning: wavpack >= 4.40 needed"
22608
{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
22609
echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
22610
if test "${ac_cv_lib_m_cos+set}" = set; then
22611
echo $ECHO_N "(cached) $ECHO_C" >&6
22613
ac_check_lib_save_LIBS=$LIBS
22615
cat >conftest.$ac_ext <<_ACEOF
22618
cat confdefs.h >>conftest.$ac_ext
22619
cat >>conftest.$ac_ext <<_ACEOF
22620
/* end confdefs.h. */
22622
/* Override any GCC internal prototype to avoid an error.
22623
Use char because int might match the return type of a GCC
22624
builtin and then its argument prototype would still apply. */
22637
rm -f conftest.$ac_objext conftest$ac_exeext
22638
if { (ac_try="$ac_link"
22639
case "(($ac_try" in
22640
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22641
*) ac_try_echo=$ac_try;;
22643
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22644
(eval "$ac_link") 2>conftest.er1
22646
grep -v '^ *+' conftest.er1 >conftest.err
22648
cat conftest.err >&5
22649
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650
(exit $ac_status); } && {
22651
test -z "$ac_c_werror_flag" ||
22652
test ! -s conftest.err
22653
} && test -s conftest$ac_exeext &&
22654
$as_test_x conftest$ac_exeext; then
22655
ac_cv_lib_m_cos=yes
22657
echo "$as_me: failed program was:" >&5
22658
sed 's/^/| /' conftest.$ac_ext >&5
22663
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22664
conftest$ac_exeext conftest.$ac_ext
22665
LIBS=$ac_check_lib_save_LIBS
22667
{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22668
echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
22669
if test $ac_cv_lib_m_cos = yes; then
22670
cat >>confdefs.h <<_ACEOF
22671
#define HAVE_LIBM 1
22679
{ echo "$as_me:$LINENO: checking for WavpackOpenFileInput in -lwavpack" >&5
22680
echo $ECHO_N "checking for WavpackOpenFileInput in -lwavpack... $ECHO_C" >&6; }
22681
if test "${ac_cv_lib_wavpack_WavpackOpenFileInput+set}" = set; then
22682
echo $ECHO_N "(cached) $ECHO_C" >&6
22684
ac_check_lib_save_LIBS=$LIBS
22685
LIBS="-lwavpack $LIBS"
22686
cat >conftest.$ac_ext <<_ACEOF
22689
cat confdefs.h >>conftest.$ac_ext
22690
cat >>conftest.$ac_ext <<_ACEOF
22691
/* end confdefs.h. */
22693
/* Override any GCC internal prototype to avoid an error.
22694
Use char because int might match the return type of a GCC
22695
builtin and then its argument prototype would still apply. */
22699
char WavpackOpenFileInput ();
22703
return WavpackOpenFileInput ();
22708
rm -f conftest.$ac_objext conftest$ac_exeext
22709
if { (ac_try="$ac_link"
22710
case "(($ac_try" in
22711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22712
*) ac_try_echo=$ac_try;;
22714
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22715
(eval "$ac_link") 2>conftest.er1
22717
grep -v '^ *+' conftest.er1 >conftest.err
22719
cat conftest.err >&5
22720
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721
(exit $ac_status); } && {
22722
test -z "$ac_c_werror_flag" ||
22723
test ! -s conftest.err
22724
} && test -s conftest$ac_exeext &&
22725
$as_test_x conftest$ac_exeext; then
22726
ac_cv_lib_wavpack_WavpackOpenFileInput=yes
22728
echo "$as_me: failed program was:" >&5
22729
sed 's/^/| /' conftest.$ac_ext >&5
22731
ac_cv_lib_wavpack_WavpackOpenFileInput=no
22734
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22735
conftest$ac_exeext conftest.$ac_ext
22736
LIBS=$ac_check_lib_save_LIBS
22738
{ echo "$as_me:$LINENO: result: $ac_cv_lib_wavpack_WavpackOpenFileInput" >&5
22739
echo "${ECHO_T}$ac_cv_lib_wavpack_WavpackOpenFileInput" >&6; }
22740
if test $ac_cv_lib_wavpack_WavpackOpenFileInput = yes; then
22741
cat >>confdefs.h <<_ACEOF
22742
#define HAVE_LIBWAVPACK 1
22745
LIBS="-lwavpack $LIBS"
22748
wavpack_available=no
22753
{ echo "$as_me:$LINENO: checking for Wavpack file support" >&5
22754
echo $ECHO_N "checking for Wavpack file support... $ECHO_C" >&6; }
22755
if test "x$enable_wavpack" = "xyes"; then
22756
if test "x$wavpack_available" = "xno"; then
22757
{ echo "$as_me:$LINENO: result: no" >&5
22758
echo "${ECHO_T}no" >&6; }
22759
enable_wavpack="no"
22761
echo "*** Warning: Wavpack file support disabled"
22762
echo "*** (Install libwavpack to enable it)"
22765
{ echo "$as_me:$LINENO: result: yes" >&5
22766
echo "${ECHO_T}yes" >&6; }
22768
cat >>confdefs.h <<\_ACEOF
22769
#define ENABLE_WAVPACK 1
22774
{ echo "$as_me:$LINENO: result: no" >&5
22775
echo "${ECHO_T}no" >&6; }
22776
enable_wavpack="no"
22778
echo "*** Wavpack file support disabled on commandline"
22779
echo "*** (Install libwavpack, and use --enable-wavpack to enable it)"
21189
22783
if test "x$GCC" = "xyes"; then
21190
22784
case " $CFLAGS " in
21271
22863
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
21272
22864
if test $ac_header_dirent = dirent.h; then
21273
echo "$as_me:$LINENO: checking for library containing opendir" >&5
21274
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
21275
if test "${ac_cv_search_opendir+set}" = set; then
21276
echo $ECHO_N "(cached) $ECHO_C" >&6
21278
ac_func_search_save_LIBS=$LIBS
21279
ac_cv_search_opendir=no
21280
cat >conftest.$ac_ext <<_ACEOF
21283
cat confdefs.h >>conftest.$ac_ext
21284
cat >>conftest.$ac_ext <<_ACEOF
21285
/* end confdefs.h. */
21287
/* Override any gcc2 internal prototype to avoid an error. */
21291
/* We use char because int might match the return type of a gcc2
21292
builtin and then its argument prototype would still apply. */
21302
rm -f conftest.$ac_objext conftest$ac_exeext
21303
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21304
(eval $ac_link) 2>conftest.er1
21306
grep -v '^ *+' conftest.er1 >conftest.err
21308
cat conftest.err >&5
21309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310
(exit $ac_status); } &&
21311
{ ac_try='test -z "$ac_c_werror_flag"
21312
|| test ! -s conftest.err'
21313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21314
(eval $ac_try) 2>&5
21316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21317
(exit $ac_status); }; } &&
21318
{ ac_try='test -s conftest$ac_exeext'
21319
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21320
(eval $ac_try) 2>&5
21322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21323
(exit $ac_status); }; }; then
21324
ac_cv_search_opendir="none required"
21326
echo "$as_me: failed program was:" >&5
21327
sed 's/^/| /' conftest.$ac_ext >&5
21330
rm -f conftest.err conftest.$ac_objext \
21331
conftest$ac_exeext conftest.$ac_ext
21332
if test "$ac_cv_search_opendir" = no; then
21333
for ac_lib in dir; do
21334
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21335
cat >conftest.$ac_ext <<_ACEOF
21338
cat confdefs.h >>conftest.$ac_ext
21339
cat >>conftest.$ac_ext <<_ACEOF
21340
/* end confdefs.h. */
21342
/* Override any gcc2 internal prototype to avoid an error. */
21346
/* We use char because int might match the return type of a gcc2
21347
builtin and then its argument prototype would still apply. */
21357
rm -f conftest.$ac_objext conftest$ac_exeext
21358
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21359
(eval $ac_link) 2>conftest.er1
21361
grep -v '^ *+' conftest.er1 >conftest.err
21363
cat conftest.err >&5
21364
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365
(exit $ac_status); } &&
21366
{ ac_try='test -z "$ac_c_werror_flag"
21367
|| test ! -s conftest.err'
21368
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369
(eval $ac_try) 2>&5
21371
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372
(exit $ac_status); }; } &&
21373
{ ac_try='test -s conftest$ac_exeext'
21374
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375
(eval $ac_try) 2>&5
21377
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378
(exit $ac_status); }; }; then
21379
ac_cv_search_opendir="-l$ac_lib"
21382
echo "$as_me: failed program was:" >&5
21383
sed 's/^/| /' conftest.$ac_ext >&5
21386
rm -f conftest.err conftest.$ac_objext \
21387
conftest$ac_exeext conftest.$ac_ext
21390
LIBS=$ac_func_search_save_LIBS
21392
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21393
echo "${ECHO_T}$ac_cv_search_opendir" >&6
21394
if test "$ac_cv_search_opendir" != no; then
21395
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
21400
echo "$as_me:$LINENO: checking for library containing opendir" >&5
21401
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
21402
if test "${ac_cv_search_opendir+set}" = set; then
21403
echo $ECHO_N "(cached) $ECHO_C" >&6
21405
ac_func_search_save_LIBS=$LIBS
21406
ac_cv_search_opendir=no
21407
cat >conftest.$ac_ext <<_ACEOF
21410
cat confdefs.h >>conftest.$ac_ext
21411
cat >>conftest.$ac_ext <<_ACEOF
21412
/* end confdefs.h. */
21414
/* Override any gcc2 internal prototype to avoid an error. */
21418
/* We use char because int might match the return type of a gcc2
21419
builtin and then its argument prototype would still apply. */
21429
rm -f conftest.$ac_objext conftest$ac_exeext
21430
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21431
(eval $ac_link) 2>conftest.er1
21433
grep -v '^ *+' conftest.er1 >conftest.err
21435
cat conftest.err >&5
21436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437
(exit $ac_status); } &&
21438
{ ac_try='test -z "$ac_c_werror_flag"
21439
|| test ! -s conftest.err'
21440
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441
(eval $ac_try) 2>&5
21443
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444
(exit $ac_status); }; } &&
21445
{ ac_try='test -s conftest$ac_exeext'
21446
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21447
(eval $ac_try) 2>&5
21449
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21450
(exit $ac_status); }; }; then
21451
ac_cv_search_opendir="none required"
21453
echo "$as_me: failed program was:" >&5
21454
sed 's/^/| /' conftest.$ac_ext >&5
21457
rm -f conftest.err conftest.$ac_objext \
21458
conftest$ac_exeext conftest.$ac_ext
21459
if test "$ac_cv_search_opendir" = no; then
21460
for ac_lib in x; do
21461
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21462
cat >conftest.$ac_ext <<_ACEOF
21465
cat confdefs.h >>conftest.$ac_ext
21466
cat >>conftest.$ac_ext <<_ACEOF
21467
/* end confdefs.h. */
21469
/* Override any gcc2 internal prototype to avoid an error. */
21473
/* We use char because int might match the return type of a gcc2
21474
builtin and then its argument prototype would still apply. */
21484
rm -f conftest.$ac_objext conftest$ac_exeext
21485
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21486
(eval $ac_link) 2>conftest.er1
21488
grep -v '^ *+' conftest.er1 >conftest.err
21490
cat conftest.err >&5
21491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21492
(exit $ac_status); } &&
21493
{ ac_try='test -z "$ac_c_werror_flag"
21494
|| test ! -s conftest.err'
21495
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21496
(eval $ac_try) 2>&5
21498
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499
(exit $ac_status); }; } &&
21500
{ ac_try='test -s conftest$ac_exeext'
21501
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21502
(eval $ac_try) 2>&5
21504
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505
(exit $ac_status); }; }; then
21506
ac_cv_search_opendir="-l$ac_lib"
21509
echo "$as_me: failed program was:" >&5
21510
sed 's/^/| /' conftest.$ac_ext >&5
21513
rm -f conftest.err conftest.$ac_objext \
21514
conftest$ac_exeext conftest.$ac_ext
21517
LIBS=$ac_func_search_save_LIBS
21519
echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
21520
echo "${ECHO_T}$ac_cv_search_opendir" >&6
21521
if test "$ac_cv_search_opendir" != no; then
21522
test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
21528
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
21529
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
22865
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
22866
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
22867
if test "${ac_cv_search_opendir+set}" = set; then
22868
echo $ECHO_N "(cached) $ECHO_C" >&6
22870
ac_func_search_save_LIBS=$LIBS
22871
cat >conftest.$ac_ext <<_ACEOF
22874
cat confdefs.h >>conftest.$ac_ext
22875
cat >>conftest.$ac_ext <<_ACEOF
22876
/* end confdefs.h. */
22878
/* Override any GCC internal prototype to avoid an error.
22879
Use char because int might match the return type of a GCC
22880
builtin and then its argument prototype would still apply. */
22893
for ac_lib in '' dir; do
22894
if test -z "$ac_lib"; then
22895
ac_res="none required"
22898
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22900
rm -f conftest.$ac_objext conftest$ac_exeext
22901
if { (ac_try="$ac_link"
22902
case "(($ac_try" in
22903
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22904
*) ac_try_echo=$ac_try;;
22906
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22907
(eval "$ac_link") 2>conftest.er1
22909
grep -v '^ *+' conftest.er1 >conftest.err
22911
cat conftest.err >&5
22912
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913
(exit $ac_status); } && {
22914
test -z "$ac_c_werror_flag" ||
22915
test ! -s conftest.err
22916
} && test -s conftest$ac_exeext &&
22917
$as_test_x conftest$ac_exeext; then
22918
ac_cv_search_opendir=$ac_res
22920
echo "$as_me: failed program was:" >&5
22921
sed 's/^/| /' conftest.$ac_ext >&5
22926
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22928
if test "${ac_cv_search_opendir+set}" = set; then
22932
if test "${ac_cv_search_opendir+set}" = set; then
22935
ac_cv_search_opendir=no
22937
rm conftest.$ac_ext
22938
LIBS=$ac_func_search_save_LIBS
22940
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
22941
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
22942
ac_res=$ac_cv_search_opendir
22943
if test "$ac_res" != no; then
22944
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
22949
{ echo "$as_me:$LINENO: checking for library containing opendir" >&5
22950
echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
22951
if test "${ac_cv_search_opendir+set}" = set; then
22952
echo $ECHO_N "(cached) $ECHO_C" >&6
22954
ac_func_search_save_LIBS=$LIBS
22955
cat >conftest.$ac_ext <<_ACEOF
22958
cat confdefs.h >>conftest.$ac_ext
22959
cat >>conftest.$ac_ext <<_ACEOF
22960
/* end confdefs.h. */
22962
/* Override any GCC internal prototype to avoid an error.
22963
Use char because int might match the return type of a GCC
22964
builtin and then its argument prototype would still apply. */
22977
for ac_lib in '' x; do
22978
if test -z "$ac_lib"; then
22979
ac_res="none required"
22982
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22984
rm -f conftest.$ac_objext conftest$ac_exeext
22985
if { (ac_try="$ac_link"
22986
case "(($ac_try" in
22987
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22988
*) ac_try_echo=$ac_try;;
22990
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22991
(eval "$ac_link") 2>conftest.er1
22993
grep -v '^ *+' conftest.er1 >conftest.err
22995
cat conftest.err >&5
22996
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22997
(exit $ac_status); } && {
22998
test -z "$ac_c_werror_flag" ||
22999
test ! -s conftest.err
23000
} && test -s conftest$ac_exeext &&
23001
$as_test_x conftest$ac_exeext; then
23002
ac_cv_search_opendir=$ac_res
23004
echo "$as_me: failed program was:" >&5
23005
sed 's/^/| /' conftest.$ac_ext >&5
23010
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23012
if test "${ac_cv_search_opendir+set}" = set; then
23016
if test "${ac_cv_search_opendir+set}" = set; then
23019
ac_cv_search_opendir=no
23021
rm conftest.$ac_ext
23022
LIBS=$ac_func_search_save_LIBS
23024
{ echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
23025
echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
23026
ac_res=$ac_cv_search_opendir
23027
if test "$ac_res" != no; then
23028
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
23034
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
23035
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
21530
23036
if test "${ac_cv_header_stdc+set}" = set; then
21531
23037
echo $ECHO_N "(cached) $ECHO_C" >&6
24597
26304
# Name of the executable.
24598
as_me=`$as_basename "$0" ||
26305
as_me=`$as_basename -- "$0" ||
24599
26306
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
24600
26307
X"$0" : 'X\(//\)$' \| \
24601
X"$0" : 'X\(/\)$' \| \
24602
. : '\(.\)' 2>/dev/null ||
26308
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
24603
26309
echo X/"$0" |
24604
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
24605
/^X\/\(\/\/\)$/{ s//\1/; q; }
24606
/^X\/\(\/\).*/{ s//\1/; q; }
24610
# PATH needs CR, and LINENO needs CR and PATH.
24611
# Avoid depending upon Character Ranges.
24612
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
24613
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
24614
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
24615
as_cr_digits='0123456789'
24616
as_cr_alnum=$as_cr_Letters$as_cr_digits
24618
# The user is always right.
24619
if test "${PATH_SEPARATOR+set}" != set; then
24620
echo "#! /bin/sh" >conf$$.sh
24621
echo "exit 0" >>conf$$.sh
24623
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
24632
as_lineno_1=$LINENO
24633
as_lineno_2=$LINENO
24634
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24635
test "x$as_lineno_1" != "x$as_lineno_2" &&
24636
test "x$as_lineno_3" = "x$as_lineno_2" || {
24637
# Find who we are. Look in the path if we contain no path at all
24640
*[\\/]* ) as_myself=$0 ;;
24641
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24642
for as_dir in $PATH
24645
test -z "$as_dir" && as_dir=.
24646
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
24651
# We did not find ourselves, most probably we were run as `sh COMMAND'
24652
# in which case we are not to be found in the path.
24653
if test "x$as_myself" = x; then
24656
if test ! -f "$as_myself"; then
24657
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
24658
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
24659
{ (exit 1); exit 1; }; }
24661
case $CONFIG_SHELL in
24663
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24664
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
24667
test -z "$as_dir" && as_dir=.
24668
for as_base in sh bash ksh sh5; do
24671
if ("$as_dir/$as_base" -c '
24672
as_lineno_1=$LINENO
24673
as_lineno_2=$LINENO
24674
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
24675
test "x$as_lineno_1" != "x$as_lineno_2" &&
24676
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
24677
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
24678
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
24679
CONFIG_SHELL=$as_dir/$as_base
24680
export CONFIG_SHELL
24681
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
26310
sed '/^.*\/\([^/][^/]*\)\/*$/{
26329
as_lineno_1=$LINENO
26330
as_lineno_2=$LINENO
26331
test "x$as_lineno_1" != "x$as_lineno_2" &&
26332
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
24689
26334
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
24690
26335
# uniformly replaced by the line number. The first 'sed' inserts a
24691
# line-number line before each line; the second 'sed' does the real
24692
# work. The second script uses 'N' to pair each line-number line
24693
# with the numbered line, and appends trailing '-' during
24694
# substitution so that $LINENO is not a special case at line end.
26336
# line-number line after each line using $LINENO; the second 'sed'
26337
# does the real work. The second script uses 'N' to pair each
26338
# line-number line with the line containing $LINENO, and appends
26339
# trailing '-' during substitution so that $LINENO is not a special
26340
# case at line end.
24695
26341
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
24696
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
24697
sed '=' <$as_myself |
26342
# scripts with optimization help from Paolo Bonzini. Blame Lee
26343
# E. McMahon (1931-1989) for sed's syntax. :-)
24702
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
26355
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24705
s,^['$as_cr_digits']*\n,,
24706
26358
' >$as_me.lineno &&
24707
chmod +x $as_me.lineno ||
24708
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
24709
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
26359
chmod +x "$as_me.lineno" ||
26360
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24710
26361
{ (exit 1); exit 1; }; }
24712
26363
# Don't try to exec as it changes $[0], causing all sort of problems
24713
26364
# (the dirname of $[0] is not the place where we might find the
24714
# original and so on. Autoconf is especially sensible to this).
26365
# original and so on. Autoconf is especially sensitive to this).
26366
. "./$as_me.lineno"
24716
26367
# Exit status is that of the last command.
24721
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
24722
*c*,-n*) ECHO_N= ECHO_C='
24724
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
24725
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
26372
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26378
ECHO_C= ECHO_N= ECHO_T=
26379
case `echo -n x` in
26381
case `echo 'x\c'` in
26382
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
24728
if expr a : '\(a\)' >/dev/null 2>&1; then
26389
if expr a : '\(a\)' >/dev/null 2>&1 &&
26390
test "X`expr 00001 : '.*\(...\)'`" = X001; then
24731
26393
as_expr=false
24734
26396
rm -f conf$$ conf$$.exe conf$$.file
26397
if test -d conf$$.dir; then
26398
rm -f conf$$.dir/conf$$.file
24735
26403
echo >conf$$.file
24736
26404
if ln -s conf$$.file conf$$ 2>/dev/null; then
24737
# We could just check for DJGPP; but this test a) works b) is more generic
24738
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
24739
if test -f conf$$.exe; then
24740
# Don't use ln at all; we don't have any links
26406
# ... but there are two gotchas:
26407
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26408
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26409
# In both cases, we have to default to `cp -p'.
26410
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24741
26411
as_ln_s='cp -p'
24745
26412
elif ln conf$$.file conf$$ 2>/dev/null; then
24748
26415
as_ln_s='cp -p'
24750
rm -f conf$$ conf$$.exe conf$$.file
26417
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26418
rmdir conf$$.dir 2>/dev/null
24752
26420
if mkdir -p . 2>/dev/null; then
24992
26660
# Have a temporary directory for convenience. Make it in the build tree
24993
# simply because there is no reason to put it here, and in addition,
26661
# simply because there is no reason against having it here, and in addition,
24994
26662
# creating and moving files from /tmp can sometimes cause problems.
24995
# Create a temporary directory, and hook for its removal unless debugging.
26663
# Hook for its removal unless debugging.
26664
# Note that there is a small window in which the directory will not be cleaned:
26665
# after its creation but before its name has been assigned to `$tmp'.
24998
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
26669
trap 'exit_status=$?
26670
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24999
26672
trap '{ (exit 1); exit 1; }' 1 2 13 15
25002
26674
# Create a (secure) tmp directory for tmp files.
25005
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
26677
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
25006
26678
test -n "$tmp" && test -d "$tmp"
25009
tmp=./confstat$$-$RANDOM
25010
(umask 077 && mkdir $tmp)
26681
tmp=./conf$$-$RANDOM
26682
(umask 077 && mkdir "$tmp")
25013
26685
echo "$me: cannot create a temporary directory in ." >&2
25014
26686
{ (exit 1); exit 1; }
25019
cat >>$CONFIG_STATUS <<_ACEOF
25022
# CONFIG_FILES section.
26690
# Set up the sed scripts for CONFIG_FILES section.
25025
26693
# No need to generate the scripts if there are no CONFIG_FILES.
25026
26694
# This happens for instance when ./config.status config.h
25027
if test -n "\$CONFIG_FILES"; then
25028
# Protect against being on the right side of a sed subst in config.status.
25029
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
25030
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
25031
s,@SHELL@,$SHELL,;t t
25032
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
25033
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
25034
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
25035
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
25036
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
25037
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
25038
s,@exec_prefix@,$exec_prefix,;t t
25039
s,@prefix@,$prefix,;t t
25040
s,@program_transform_name@,$program_transform_name,;t t
25041
s,@bindir@,$bindir,;t t
25042
s,@sbindir@,$sbindir,;t t
25043
s,@libexecdir@,$libexecdir,;t t
25044
s,@datadir@,$datadir,;t t
25045
s,@sysconfdir@,$sysconfdir,;t t
25046
s,@sharedstatedir@,$sharedstatedir,;t t
25047
s,@localstatedir@,$localstatedir,;t t
25048
s,@libdir@,$libdir,;t t
25049
s,@includedir@,$includedir,;t t
25050
s,@oldincludedir@,$oldincludedir,;t t
25051
s,@infodir@,$infodir,;t t
25052
s,@mandir@,$mandir,;t t
25053
s,@build_alias@,$build_alias,;t t
25054
s,@host_alias@,$host_alias,;t t
25055
s,@target_alias@,$target_alias,;t t
25056
s,@DEFS@,$DEFS,;t t
25057
s,@ECHO_C@,$ECHO_C,;t t
25058
s,@ECHO_N@,$ECHO_N,;t t
25059
s,@ECHO_T@,$ECHO_T,;t t
25060
s,@LIBS@,$LIBS,;t t
25061
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
25062
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
25063
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
25064
s,@CYGPATH_W@,$CYGPATH_W,;t t
25065
s,@PACKAGE@,$PACKAGE,;t t
25066
s,@VERSION@,$VERSION,;t t
25067
s,@ACLOCAL@,$ACLOCAL,;t t
25068
s,@AUTOCONF@,$AUTOCONF,;t t
25069
s,@AUTOMAKE@,$AUTOMAKE,;t t
25070
s,@AUTOHEADER@,$AUTOHEADER,;t t
25071
s,@MAKEINFO@,$MAKEINFO,;t t
25072
s,@install_sh@,$install_sh,;t t
25073
s,@STRIP@,$STRIP,;t t
25074
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
25075
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
25076
s,@mkdir_p@,$mkdir_p,;t t
25078
s,@SET_MAKE@,$SET_MAKE,;t t
25079
s,@am__leading_dot@,$am__leading_dot,;t t
25080
s,@AMTAR@,$AMTAR,;t t
25081
s,@am__tar@,$am__tar,;t t
25082
s,@am__untar@,$am__untar,;t t
25083
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
25085
s,@CFLAGS@,$CFLAGS,;t t
25086
s,@LDFLAGS@,$LDFLAGS,;t t
25087
s,@CPPFLAGS@,$CPPFLAGS,;t t
25088
s,@ac_ct_CC@,$ac_ct_CC,;t t
25089
s,@EXEEXT@,$EXEEXT,;t t
25090
s,@OBJEXT@,$OBJEXT,;t t
25091
s,@DEPDIR@,$DEPDIR,;t t
25092
s,@am__include@,$am__include,;t t
25093
s,@am__quote@,$am__quote,;t t
25094
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
25095
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
25096
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
25097
s,@CCDEPMODE@,$CCDEPMODE,;t t
25098
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
25099
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
25101
s,@CXXFLAGS@,$CXXFLAGS,;t t
25102
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
25103
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
25104
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
25105
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
25106
s,@CXXCPP@,$CXXCPP,;t t
25107
s,@build@,$build,;t t
25108
s,@build_cpu@,$build_cpu,;t t
25109
s,@build_vendor@,$build_vendor,;t t
25110
s,@build_os@,$build_os,;t t
25111
s,@host@,$host,;t t
25112
s,@host_cpu@,$host_cpu,;t t
25113
s,@host_vendor@,$host_vendor,;t t
25114
s,@host_os@,$host_os,;t t
25115
s,@EGREP@,$EGREP,;t t
25116
s,@LN_S@,$LN_S,;t t
25117
s,@ECHO@,$ECHO,;t t
25119
s,@ac_ct_AR@,$ac_ct_AR,;t t
25120
s,@RANLIB@,$RANLIB,;t t
25121
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
25124
s,@FFLAGS@,$FFLAGS,;t t
25125
s,@ac_ct_F77@,$ac_ct_F77,;t t
25126
s,@LIBTOOL@,$LIBTOOL,;t t
25127
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
25128
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
25129
s,@MAINT@,$MAINT,;t t
25130
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
25131
s,@GLIB_CFLAGS@,$GLIB_CFLAGS,;t t
25132
s,@GLIB_LIBS@,$GLIB_LIBS,;t t
25133
s,@GLIB_GENMARSHAL@,$GLIB_GENMARSHAL,;t t
25134
s,@GOBJECT_QUERY@,$GOBJECT_QUERY,;t t
25135
s,@GLIB_MKENUMS@,$GLIB_MKENUMS,;t t
25136
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
25137
s,@GTK_LIBS@,$GTK_LIBS,;t t
25138
s,@LIBOBJS@,$LIBOBJS,;t t
25139
s,@USE_NLS@,$USE_NLS,;t t
25140
s,@MSGFMT@,$MSGFMT,;t t
25141
s,@GMSGFMT@,$GMSGFMT,;t t
25142
s,@XGETTEXT@,$XGETTEXT,;t t
25143
s,@CATALOGS@,$CATALOGS,;t t
25144
s,@CATOBJEXT@,$CATOBJEXT,;t t
25145
s,@DATADIRNAME@,$DATADIRNAME,;t t
25146
s,@GMOFILES@,$GMOFILES,;t t
25147
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
25148
s,@INTLLIBS@,$INTLLIBS,;t t
25149
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
25150
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
25151
s,@POFILES@,$POFILES,;t t
25152
s,@POSUB@,$POSUB,;t t
25153
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
25154
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
25159
cat >>$CONFIG_STATUS <<\_ACEOF
25160
# Split the substitutions into bite-sized pieces for seds with
25161
# small command number limits, like on Digital OSF/1 and HP-UX.
25162
ac_max_sed_lines=48
25163
ac_sed_frag=1 # Number of current file.
25164
ac_beg=1 # First line for current file.
25165
ac_end=$ac_max_sed_lines # Line after last line for current file.
25168
while $ac_more_lines; do
25169
if test $ac_beg -gt 1; then
25170
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25172
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
25174
if test ! -s $tmp/subs.frag; then
25175
ac_more_lines=false
25177
# The purpose of the label and of the branching condition is to
25178
# speed up the sed processing (if there are no `@' at all, there
25179
# is no need to browse any of the substitutions).
25180
# These are the two extra sed commands mentioned above.
25182
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
25183
if test -z "$ac_sed_cmds"; then
25184
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
25186
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
25188
ac_sed_frag=`expr $ac_sed_frag + 1`
25190
ac_end=`expr $ac_end + $ac_max_sed_lines`
25193
if test -z "$ac_sed_cmds"; then
26695
if test -n "$CONFIG_FILES"; then
26702
for ac_last_try in false false false false false :; do
26703
cat >conf$$subs.sed <<_ACEOF
26704
SHELL!$SHELL$ac_delim
26705
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
26706
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
26707
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
26708
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
26709
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
26710
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
26711
exec_prefix!$exec_prefix$ac_delim
26712
prefix!$prefix$ac_delim
26713
program_transform_name!$program_transform_name$ac_delim
26714
bindir!$bindir$ac_delim
26715
sbindir!$sbindir$ac_delim
26716
libexecdir!$libexecdir$ac_delim
26717
datarootdir!$datarootdir$ac_delim
26718
datadir!$datadir$ac_delim
26719
sysconfdir!$sysconfdir$ac_delim
26720
sharedstatedir!$sharedstatedir$ac_delim
26721
localstatedir!$localstatedir$ac_delim
26722
includedir!$includedir$ac_delim
26723
oldincludedir!$oldincludedir$ac_delim
26724
docdir!$docdir$ac_delim
26725
infodir!$infodir$ac_delim
26726
htmldir!$htmldir$ac_delim
26727
dvidir!$dvidir$ac_delim
26728
pdfdir!$pdfdir$ac_delim
26729
psdir!$psdir$ac_delim
26730
libdir!$libdir$ac_delim
26731
localedir!$localedir$ac_delim
26732
mandir!$mandir$ac_delim
26733
DEFS!$DEFS$ac_delim
26734
ECHO_C!$ECHO_C$ac_delim
26735
ECHO_N!$ECHO_N$ac_delim
26736
ECHO_T!$ECHO_T$ac_delim
26737
LIBS!$LIBS$ac_delim
26738
build_alias!$build_alias$ac_delim
26739
host_alias!$host_alias$ac_delim
26740
target_alias!$target_alias$ac_delim
26741
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
26742
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
26743
INSTALL_DATA!$INSTALL_DATA$ac_delim
26744
am__isrc!$am__isrc$ac_delim
26745
CYGPATH_W!$CYGPATH_W$ac_delim
26746
PACKAGE!$PACKAGE$ac_delim
26747
VERSION!$VERSION$ac_delim
26748
ACLOCAL!$ACLOCAL$ac_delim
26749
AUTOCONF!$AUTOCONF$ac_delim
26750
AUTOMAKE!$AUTOMAKE$ac_delim
26751
AUTOHEADER!$AUTOHEADER$ac_delim
26752
MAKEINFO!$MAKEINFO$ac_delim
26753
install_sh!$install_sh$ac_delim
26754
STRIP!$STRIP$ac_delim
26755
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
26756
mkdir_p!$mkdir_p$ac_delim
26758
SET_MAKE!$SET_MAKE$ac_delim
26759
am__leading_dot!$am__leading_dot$ac_delim
26760
AMTAR!$AMTAR$ac_delim
26761
am__tar!$am__tar$ac_delim
26762
am__untar!$am__untar$ac_delim
26763
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
26765
CFLAGS!$CFLAGS$ac_delim
26766
LDFLAGS!$LDFLAGS$ac_delim
26767
CPPFLAGS!$CPPFLAGS$ac_delim
26768
ac_ct_CC!$ac_ct_CC$ac_delim
26769
EXEEXT!$EXEEXT$ac_delim
26770
OBJEXT!$OBJEXT$ac_delim
26771
DEPDIR!$DEPDIR$ac_delim
26772
am__include!$am__include$ac_delim
26773
am__quote!$am__quote$ac_delim
26774
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
26775
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
26776
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
26777
CCDEPMODE!$CCDEPMODE$ac_delim
26778
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
26779
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
26781
CXXFLAGS!$CXXFLAGS$ac_delim
26782
ac_ct_CXX!$ac_ct_CXX$ac_delim
26783
CXXDEPMODE!$CXXDEPMODE$ac_delim
26784
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
26785
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
26786
CXXCPP!$CXXCPP$ac_delim
26787
build!$build$ac_delim
26788
build_cpu!$build_cpu$ac_delim
26789
build_vendor!$build_vendor$ac_delim
26790
build_os!$build_os$ac_delim
26791
host!$host$ac_delim
26792
host_cpu!$host_cpu$ac_delim
26793
host_vendor!$host_vendor$ac_delim
26794
host_os!$host_os$ac_delim
26796
GREP!$GREP$ac_delim
26797
EGREP!$EGREP$ac_delim
26798
LN_S!$LN_S$ac_delim
26799
ECHO!$ECHO$ac_delim
26803
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
26805
elif $ac_last_try; then
26806
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26807
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26808
{ (exit 1); exit 1; }; }
26810
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26814
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26815
if test -n "$ac_eof"; then
26816
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26817
ac_eof=`expr $ac_eof + 1`
26820
cat >>$CONFIG_STATUS <<_ACEOF
26821
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
26822
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26825
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26826
s/^/s,@/; s/!/@,|#_!!_#|/
26829
s/'"$ac_delim"'$/,g/; t
26831
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26832
' >>$CONFIG_STATUS <conf$$subs.sed
26833
rm -f conf$$subs.sed
26834
cat >>$CONFIG_STATUS <<_ACEOF
26840
for ac_last_try in false false false false false :; do
26841
cat >conf$$subs.sed <<_ACEOF
26842
RANLIB!$RANLIB$ac_delim
26845
FFLAGS!$FFLAGS$ac_delim
26846
ac_ct_F77!$ac_ct_F77$ac_delim
26847
LIBTOOL!$LIBTOOL$ac_delim
26848
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
26849
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
26850
MAINT!$MAINT$ac_delim
26851
PKG_CONFIG!$PKG_CONFIG$ac_delim
26852
GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
26853
GLIB_LIBS!$GLIB_LIBS$ac_delim
26854
GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim
26855
GOBJECT_QUERY!$GOBJECT_QUERY$ac_delim
26856
GLIB_MKENUMS!$GLIB_MKENUMS$ac_delim
26857
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
26858
GTK_LIBS!$GTK_LIBS$ac_delim
26859
OGG_CFLAGS!$OGG_CFLAGS$ac_delim
26860
OGG_LIBS!$OGG_LIBS$ac_delim
26861
VORBIS_CFLAGS!$VORBIS_CFLAGS$ac_delim
26862
VORBIS_LIBS!$VORBIS_LIBS$ac_delim
26863
WAVPACK_CFLAGS!$WAVPACK_CFLAGS$ac_delim
26864
WAVPACK_LIBS!$WAVPACK_LIBS$ac_delim
26865
LIBOBJS!$LIBOBJS$ac_delim
26866
USE_NLS!$USE_NLS$ac_delim
26867
MSGFMT!$MSGFMT$ac_delim
26868
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
26869
GMSGFMT!$GMSGFMT$ac_delim
26870
XGETTEXT!$XGETTEXT$ac_delim
26871
CATALOGS!$CATALOGS$ac_delim
26872
CATOBJEXT!$CATOBJEXT$ac_delim
26873
DATADIRNAME!$DATADIRNAME$ac_delim
26874
GMOFILES!$GMOFILES$ac_delim
26875
INSTOBJEXT!$INSTOBJEXT$ac_delim
26876
INTLLIBS!$INTLLIBS$ac_delim
26877
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
26878
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
26879
POFILES!$POFILES$ac_delim
26880
POSUB!$POSUB$ac_delim
26881
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
26882
LTLIBOBJS!$LTLIBOBJS$ac_delim
26885
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 41; then
26887
elif $ac_last_try; then
26888
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
26889
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
26890
{ (exit 1); exit 1; }; }
26892
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26896
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
26897
if test -n "$ac_eof"; then
26898
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
26899
ac_eof=`expr $ac_eof + 1`
26902
cat >>$CONFIG_STATUS <<_ACEOF
26903
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
26904
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
26907
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
26908
s/^/s,@/; s/!/@,|#_!!_#|/
26911
s/'"$ac_delim"'$/,g/; t
26913
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
26914
' >>$CONFIG_STATUS <conf$$subs.sed
26915
rm -f conf$$subs.sed
26916
cat >>$CONFIG_STATUS <<_ACEOF
26923
# VPATH may cause trouble with some makes, so we remove $(srcdir),
26924
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
26925
# trailing colons and then remove the whole line if VPATH becomes empty
26926
# (actually we leave an empty line to preserve line numbers).
26927
if test "x$srcdir" = x.; then
26928
ac_vpsub='/^[ ]*VPATH[ ]*=/{
26929
s/:*\$(srcdir):*/:/
26930
s/:*\${srcdir}:*/:/
26932
s/^\([^=]*=[ ]*\):*/\1/
26938
cat >>$CONFIG_STATUS <<\_ACEOF
25196
26939
fi # test -n "$CONFIG_FILES"
25199
cat >>$CONFIG_STATUS <<\_ACEOF
25200
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
25201
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25203
- | *:- | *:-:* ) # input from stdin
25205
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25206
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25207
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25208
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25209
* ) ac_file_in=$ac_file.in ;;
25212
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
25213
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
26942
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
26945
:[FHLC]) ac_mode=$ac_tag; continue;;
26947
case $ac_mode$ac_tag in
26949
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
26950
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
26951
{ (exit 1); exit 1; }; };;
26952
:[FH]-) ac_tag=-:-;;
26953
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26970
-) ac_f="$tmp/stdin";;
26971
*) # Look for the file first in the build tree, then in the source tree
26972
# (if the path is not absolute). The absolute path cannot be DOS-style,
26973
# because $ac_f cannot contain `:'.
26977
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26979
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
26980
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
26981
{ (exit 1); exit 1; }; };;
26983
ac_file_inputs="$ac_file_inputs $ac_f"
26986
# Let's still pretend it is `configure' which instantiates (i.e., don't
26987
# use $as_me), people would be surprised to read:
26988
# /* config.h. Generated by config.status. */
26989
configure_input="Generated from "`IFS=:
26990
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
26991
if test x"$ac_file" != x-; then
26992
configure_input="$ac_file. $configure_input"
26993
{ echo "$as_me:$LINENO: creating $ac_file" >&5
26994
echo "$as_me: creating $ac_file" >&6;}
26998
*:-:* | *:-) cat >"$tmp/stdin";;
27003
ac_dir=`$as_dirname -- "$ac_file" ||
25214
27004
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25215
27005
X"$ac_file" : 'X\(//\)[^/]' \| \
25216
27006
X"$ac_file" : 'X\(//\)$' \| \
25217
X"$ac_file" : 'X\(/\)' \| \
25218
. : '\(.\)' 2>/dev/null ||
27007
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25219
27008
echo X"$ac_file" |
25220
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25221
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
25222
/^X\(\/\/\)$/{ s//\1/; q; }
25223
/^X\(\/\).*/{ s//\1/; q; }
25225
{ if $as_mkdir_p; then
27009
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27013
/^X\(\/\/\)[^/].*/{
27028
-*) as_dir=./$as_dir;;
27030
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25230
while test ! -d "$as_dir"; do
25231
as_dirs="$as_dir $as_dirs"
25232
as_dir=`(dirname "$as_dir") 2>/dev/null ||
27034
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
27035
*) as_qdir=$as_dir;;
27037
as_dirs="'$as_qdir' $as_dirs"
27038
as_dir=`$as_dirname -- "$as_dir" ||
25233
27039
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25234
27040
X"$as_dir" : 'X\(//\)[^/]' \| \
25235
27041
X"$as_dir" : 'X\(//\)$' \| \
25236
X"$as_dir" : 'X\(/\)' \| \
25237
. : '\(.\)' 2>/dev/null ||
27042
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25238
27043
echo X"$as_dir" |
25239
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25240
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
25241
/^X\(\/\/\)$/{ s//\1/; q; }
25242
/^X\(\/\).*/{ s//\1/; q; }
27044
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27048
/^X\(\/\/\)[^/].*/{
27061
test -d "$as_dir" && break
25245
test ! -n "$as_dirs" || mkdir $as_dirs
25246
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25247
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
27063
test -z "$as_dirs" || eval "mkdir $as_dirs"
27064
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
27065
echo "$as_me: error: cannot create directory $as_dir" >&2;}
25248
27066
{ (exit 1); exit 1; }; }; }
25250
27067
ac_builddir=.
25252
if test "$ac_dir" != .; then
27070
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25253
27072
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25254
# A "../" for each directory in $ac_dir_suffix.
25255
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25257
ac_dir_suffix= ac_top_builddir=
27073
# A ".." for each directory in $ac_dir_suffix.
27074
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
27075
case $ac_top_builddir_sub in
27076
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27077
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27080
ac_abs_top_builddir=$ac_pwd
27081
ac_abs_builddir=$ac_pwd$ac_dir_suffix
27082
# for backward compatibility:
27083
ac_top_builddir=$ac_top_build_prefix
25260
27085
case $srcdir in
25261
.) # No --srcdir option. We are building in place.
27086
.) # We are building in place.
25263
if test -z "$ac_top_builddir"; then
25266
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25268
[\\/]* | ?:[\\/]* ) # Absolute path.
27088
ac_top_srcdir=$ac_top_builddir_sub
27089
ac_abs_top_srcdir=$ac_pwd ;;
27090
[\\/]* | ?:[\\/]* ) # Absolute name.
25269
27091
ac_srcdir=$srcdir$ac_dir_suffix;
25270
ac_top_srcdir=$srcdir ;;
25271
*) # Relative path.
25272
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25273
ac_top_srcdir=$ac_top_builddir$srcdir ;;
25276
# Do not use `cd foo && pwd` to compute absolute paths, because
25277
# the directories may not exist.
25279
.) ac_abs_builddir="$ac_dir";;
25282
.) ac_abs_builddir=`pwd`;;
25283
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
25284
*) ac_abs_builddir=`pwd`/"$ac_dir";;
25287
case $ac_abs_builddir in
25288
.) ac_abs_top_builddir=${ac_top_builddir}.;;
25290
case ${ac_top_builddir}. in
25291
.) ac_abs_top_builddir=$ac_abs_builddir;;
25292
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
25293
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
25296
case $ac_abs_builddir in
25297
.) ac_abs_srcdir=$ac_srcdir;;
25300
.) ac_abs_srcdir=$ac_abs_builddir;;
25301
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
25302
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
25305
case $ac_abs_builddir in
25306
.) ac_abs_top_srcdir=$ac_top_srcdir;;
25308
case $ac_top_srcdir in
25309
.) ac_abs_top_srcdir=$ac_abs_builddir;;
25310
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
25311
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
27092
ac_top_srcdir=$srcdir
27093
ac_abs_top_srcdir=$srcdir ;;
27094
*) # Relative name.
27095
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27096
ac_top_srcdir=$ac_top_build_prefix$srcdir
27097
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27099
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25316
27108
case $INSTALL in
25317
27109
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25318
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
25321
if test x"$ac_file" != x-; then
25322
{ echo "$as_me:$LINENO: creating $ac_file" >&5
25323
echo "$as_me: creating $ac_file" >&6;}
25326
# Let's still pretend it is `configure' which instantiates (i.e., don't
25327
# use $as_me), people would be surprised to read:
25328
# /* config.h. Generated by config.status. */
25329
if test x"$ac_file" = x-; then
25332
configure_input="$ac_file. "
25334
configure_input=$configure_input"Generated from `echo $ac_file_in |
25335
sed 's,.*/,,'` by configure."
25337
# First look for the input files in the build tree, otherwise in the
25339
ac_file_inputs=`IFS=:
25340
for f in $ac_file_in; do
25342
-) echo $tmp/stdin ;;
25344
# Absolute (can't be DOS-style, as IFS=:)
25345
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25346
echo "$as_me: error: cannot find input file: $f" >&2;}
25347
{ (exit 1); exit 1; }; }
25350
if test -f "$f"; then
25353
elif test -f "$srcdir/$f"; then
25358
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25359
echo "$as_me: error: cannot find input file: $f" >&2;}
25360
{ (exit 1); exit 1; }; }
25363
done` || { (exit 1); exit 1; }
27110
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27112
ac_MKDIR_P=$MKDIR_P
27114
[\\/$]* | ?:[\\/]* ) ;;
27115
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
27119
cat >>$CONFIG_STATUS <<\_ACEOF
27120
# If the template does not know about datarootdir, expand it.
27121
# FIXME: This hack should be removed a few years after 2.60.
27122
ac_datarootdir_hack=; ac_datarootdir_seen=
27124
case `sed -n '/datarootdir/ {
27133
' $ac_file_inputs` in
27134
*datarootdir*) ac_datarootdir_seen=yes;;
27135
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27136
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27137
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27139
cat >>$CONFIG_STATUS <<_ACEOF
27140
ac_datarootdir_hack='
27141
s&@datadir@&$datadir&g
27142
s&@docdir@&$docdir&g
27143
s&@infodir@&$infodir&g
27144
s&@localedir@&$localedir&g
27145
s&@mandir@&$mandir&g
27146
s&\\\${datarootdir}&$datarootdir&g' ;;
27150
# Neutralize VPATH when `$srcdir' = `.'.
27151
# Shell code in configure.ac might set extrasub.
27152
# FIXME: do we really want to maintain this feature?
25365
27153
cat >>$CONFIG_STATUS <<_ACEOF
25366
27154
sed "$ac_vpsub
25369
27157
cat >>$CONFIG_STATUS <<\_ACEOF
25371
27159
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25372
s,@configure_input@,$configure_input,;t t
25373
s,@srcdir@,$ac_srcdir,;t t
25374
s,@abs_srcdir@,$ac_abs_srcdir,;t t
25375
s,@top_srcdir@,$ac_top_srcdir,;t t
25376
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
25377
s,@builddir@,$ac_builddir,;t t
25378
s,@abs_builddir@,$ac_abs_builddir,;t t
25379
s,@top_builddir@,$ac_top_builddir,;t t
25380
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
25381
s,@INSTALL@,$ac_INSTALL,;t t
25382
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
25384
if test x"$ac_file" != x-; then
25385
mv $tmp/out $ac_file
27160
s&@configure_input@&$configure_input&;t t
27161
s&@top_builddir@&$ac_top_builddir_sub&;t t
27162
s&@srcdir@&$ac_srcdir&;t t
27163
s&@abs_srcdir@&$ac_abs_srcdir&;t t
27164
s&@top_srcdir@&$ac_top_srcdir&;t t
27165
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27166
s&@builddir@&$ac_builddir&;t t
27167
s&@abs_builddir@&$ac_abs_builddir&;t t
27168
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27169
s&@INSTALL@&$ac_INSTALL&;t t
27170
s&@MKDIR_P@&$ac_MKDIR_P&;t t
27171
$ac_datarootdir_hack
27172
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
27174
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27175
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
27176
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
27177
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27178
which seems to be undefined. Please make sure it is defined." >&5
27179
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27180
which seems to be undefined. Please make sure it is defined." >&2;}
27184
-) cat "$tmp/out"; rm -f "$tmp/out";;
27185
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25393
cat >>$CONFIG_STATUS <<\_ACEOF
25396
# CONFIG_HEADER section.
25399
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
25400
# NAME is the cpp macro being defined and VALUE is the value it is being given.
25402
# ac_d sets the value in "#define NAME VALUE" lines.
25403
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
25404
ac_dB='[ ].*$,\1#\2'
27194
# Transform confdefs.h into a sed script `conftest.defines', that
27195
# substitutes the proper values into config.h.in to produce config.h.
27196
rm -f conftest.defines conftest.tail
27197
# First, append a space to every undef/define line, to ease matching.
27198
echo 's/$/ /' >conftest.defines
27199
# Then, protect against being on the right side of a sed subst, or in
27200
# an unquoted here document, in config.status. If some macros were
27201
# called several times there might be several #defines for the same
27202
# symbol, which is useless. But do not sort them, since the last
27203
# AC_DEFINE must be honored.
27204
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27205
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
27206
# NAME is the cpp macro being defined, VALUE is the value it is being given.
27207
# PARAMS is the parameter list in the macro definition--in most cases, it's
27208
# just an empty string.
27209
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
27210
ac_dB='\\)[ (].*,\\1define\\2'
25407
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
25408
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
25409
ac_uB='$,\1#\2define\3'
25413
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
25414
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
25416
- | *:- | *:-:* ) # input from stdin
25418
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25419
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25420
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
25421
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
25422
* ) ac_file_in=$ac_file.in ;;
25425
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
25426
echo "$as_me: creating $ac_file" >&6;}
25428
# First look for the input files in the build tree, otherwise in the
25430
ac_file_inputs=`IFS=:
25431
for f in $ac_file_in; do
25433
-) echo $tmp/stdin ;;
25435
# Absolute (can't be DOS-style, as IFS=:)
25436
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25437
echo "$as_me: error: cannot find input file: $f" >&2;}
25438
{ (exit 1); exit 1; }; }
25439
# Do quote $f, to prevent DOS paths from being IFS'd.
25442
if test -f "$f"; then
25445
elif test -f "$srcdir/$f"; then
25450
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
25451
echo "$as_me: error: cannot find input file: $f" >&2;}
25452
{ (exit 1); exit 1; }; }
25455
done` || { (exit 1); exit 1; }
25456
# Remove the trailing spaces.
25457
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
25461
# Transform confdefs.h into two sed scripts, `conftest.defines' and
25462
# `conftest.undefs', that substitutes the proper values into
25463
# config.h.in to produce config.h. The first handles `#define'
25464
# templates, and the second `#undef' templates.
25465
# And first: Protect against being on the right side of a sed subst in
25466
# config.status. Protect against being in an unquoted here document
25467
# in config.status.
25468
rm -f conftest.defines conftest.undefs
25469
# Using a here document instead of a string reduces the quoting nightmare.
25470
# Putting comments in sed scripts is not portable.
25472
# `end' is used to avoid that the second main sed command (meant for
25473
# 0-ary CPP macros) applies to n-ary macro definitions.
25474
# See the Autoconf documentation for `clear'.
25475
cat >confdef2sed.sed <<\_ACEOF
25480
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
25482
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
25485
# If some macros were called several times there might be several times
25486
# the same #defines, which is useless. Nevertheless, we may not want to
25487
# sort them, since we want the *last* AC-DEFINE to be honored.
25488
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
25489
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
25490
rm -f confdef2sed.sed
25492
# This sed command replaces #undef with comments. This is necessary, for
27218
s/^[ ]*#[ ]*define[ ][ ]*//
27223
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
27224
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
27225
' >>conftest.defines
27227
# Remove the space that was appended to ease matching.
27228
# Then replace #undef with comments. This is necessary, for
25493
27229
# example, in the case of _POSIX_SOURCE, which is predefined and required
25494
27230
# on some systems where configure will not decide to define it.
25495
cat >>conftest.undefs <<\_ACEOF
25496
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
27231
# (The regexp can be short, since the line contains either #define or #undef.)
27233
s,^[ #]*u.*,/* & */,' >>conftest.defines
27235
# Break up conftest.defines:
27236
ac_max_sed_lines=50
27238
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
27239
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
27240
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
27242
ac_in='$ac_file_inputs'
27243
ac_out='"$tmp/out1"'
27244
ac_nxt='"$tmp/out2"'
27248
# Write a here document:
27249
cat >>$CONFIG_STATUS <<_ACEOF
27250
# First, check the format of the line:
27251
cat >"\$tmp/defines.sed" <<\\CEOF
27252
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
27253
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25499
# Break up conftest.defines because some shells have a limit on the size
25500
# of here documents, and old seds have small limits too (100 cmds).
25501
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
25502
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
25503
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
25504
echo ' :' >>$CONFIG_STATUS
25505
rm -f conftest.tail
25506
while grep . conftest.defines >/dev/null
25508
# Write a limited-size here document to $tmp/defines.sed.
25509
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
25510
# Speed up: don't consider the non `#define' lines.
25511
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
25512
# Work around the forget-to-reset-the-flag bug.
25513
echo 't clr' >>$CONFIG_STATUS
25514
echo ': clr' >>$CONFIG_STATUS
25515
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
27257
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25517
sed -f $tmp/defines.sed $tmp/in >$tmp/out
25519
mv $tmp/out $tmp/in
25521
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
27259
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
27260
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
27261
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
27262
grep . conftest.tail >/dev/null || break
25522
27263
rm -f conftest.defines
25523
27264
mv conftest.tail conftest.defines
25525
rm -f conftest.defines
25526
echo ' fi # grep' >>$CONFIG_STATUS
25527
echo >>$CONFIG_STATUS
25529
# Break up conftest.undefs because some shells have a limit on the size
25530
# of here documents, and old seds have small limits too (100 cmds).
25531
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
25532
rm -f conftest.tail
25533
while grep . conftest.undefs >/dev/null
25535
# Write a limited-size here document to $tmp/undefs.sed.
25536
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
25537
# Speed up: don't consider the non `#undef'
25538
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
25539
# Work around the forget-to-reset-the-flag bug.
25540
echo 't clr' >>$CONFIG_STATUS
25541
echo ': clr' >>$CONFIG_STATUS
25542
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
25544
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
25546
mv $tmp/out $tmp/in
25548
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
25549
rm -f conftest.undefs
25550
mv conftest.tail conftest.undefs
25552
rm -f conftest.undefs
27266
rm -f conftest.defines conftest.tail
27268
echo "ac_result=$ac_in" >>$CONFIG_STATUS
25554
27269
cat >>$CONFIG_STATUS <<\_ACEOF
25555
# Let's still pretend it is `configure' which instantiates (i.e., don't
25556
# use $as_me), people would be surprised to read:
25557
# /* config.h. Generated by config.status. */
25558
if test x"$ac_file" = x-; then
25559
echo "/* Generated by configure. */" >$tmp/config.h
25561
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
25563
cat $tmp/in >>$tmp/config.h
25565
27270
if test x"$ac_file" != x-; then
25566
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
27271
echo "/* $configure_input */" >"$tmp/config.h"
27272
cat "$ac_result" >>"$tmp/config.h"
27273
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25567
27274
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25568
27275
echo "$as_me: $ac_file is unchanged" >&6;}
25570
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
25571
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25572
X"$ac_file" : 'X\(//\)[^/]' \| \
25573
X"$ac_file" : 'X\(//\)$' \| \
25574
X"$ac_file" : 'X\(/\)' \| \
25575
. : '\(.\)' 2>/dev/null ||
25577
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25578
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
25579
/^X\(\/\/\)$/{ s//\1/; q; }
25580
/^X\(\/\).*/{ s//\1/; q; }
25582
{ if $as_mkdir_p; then
25587
while test ! -d "$as_dir"; do
25588
as_dirs="$as_dir $as_dirs"
25589
as_dir=`(dirname "$as_dir") 2>/dev/null ||
25590
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25591
X"$as_dir" : 'X\(//\)[^/]' \| \
25592
X"$as_dir" : 'X\(//\)$' \| \
25593
X"$as_dir" : 'X\(/\)' \| \
25594
. : '\(.\)' 2>/dev/null ||
25596
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25597
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
25598
/^X\(\/\/\)$/{ s//\1/; q; }
25599
/^X\(\/\).*/{ s//\1/; q; }
25602
test ! -n "$as_dirs" || mkdir $as_dirs
25603
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25604
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25605
{ (exit 1); exit 1; }; }; }
25607
27277
rm -f $ac_file
25608
mv $tmp/config.h $ac_file
27278
mv "$tmp/config.h" $ac_file
25612
rm -f $tmp/config.h
27281
echo "/* $configure_input */"
25614
27285
# Compute $ac_file's index in $config_headers.
25615
27286
_am_stamp_count=1
25616
27287
for _am_header in $config_headers :; do