2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for rhythmbox 3.0.1.
5
# Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
test \$(( 1 + 1 )) = 2 || exit 1
203
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207
PATH=/empty FPATH=/empty; export PATH FPATH
208
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and
278
$0: https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox
279
$0: about your system, including any error possibly output
280
$0: before this message. Then install a modern shell, or
281
$0: manually run the script under such a shell if you do
288
SHELL=${CONFIG_SHELL-/bin/sh}
290
# Unset more variables known to interfere with behavior of common tools.
291
CLICOLOR_FORCE= GREP_OPTIONS=
292
unset CLICOLOR_FORCE GREP_OPTIONS
294
## --------------------- ##
295
## M4sh Shell Functions. ##
296
## --------------------- ##
299
# Portably unset VAR.
302
{ eval $1=; unset $1;}
306
# as_fn_set_status STATUS
307
# -----------------------
308
# Set $? to STATUS, without forking.
316
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
326
# Create "$as_dir" as a directory, including parents if necessary.
331
-*) as_dir=./$as_dir;;
333
test -d "$as_dir" || eval $as_mkdir_p || {
337
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
340
as_dirs="'$as_qdir' $as_dirs"
341
as_dir=`$as_dirname -- "$as_dir" ||
342
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
343
X"$as_dir" : 'X\(//\)[^/]' \| \
344
X"$as_dir" : 'X\(//\)$' \| \
345
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
346
$as_echo X"$as_dir" |
347
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
364
test -d "$as_dir" && break
366
test -z "$as_dirs" || eval "mkdir $as_dirs"
367
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
372
# as_fn_executable_p FILE
373
# -----------------------
374
# Test if FILE is an executable regular file.
375
as_fn_executable_p ()
377
test -f "$1" && test -x "$1"
378
} # as_fn_executable_p
379
# as_fn_append VAR VALUE
380
# ----------------------
381
# Append the text in VALUE to the end of the definition contained in VAR. Take
382
# advantage of any shell optimizations that allow amortized linear growth over
383
# repeated appends, instead of the typical quadratic growth present in naive
385
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
386
eval 'as_fn_append ()
399
# Perform arithmetic evaluation on the ARGs, and store the result in the
400
# global $as_val. Take advantage of shells that can avoid forks. The arguments
401
# must be portable across $(()) and expr.
402
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
410
as_val=`expr "$@" || test $? -eq 1`
415
# as_fn_error STATUS ERROR [LINENO LOG_FD]
416
# ----------------------------------------
417
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
418
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
419
# script with STATUS, using 1 if that was 0.
422
as_status=$1; test $as_status -eq 0 && as_status=1
424
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
425
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
427
$as_echo "$as_me: error: $2" >&2
428
as_fn_exit $as_status
431
if expr a : '\(a\)' >/dev/null 2>&1 &&
432
test "X`expr 00001 : '.*\(...\)'`" = X001; then
438
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
444
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
450
as_me=`$as_basename -- "$0" ||
451
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
452
X"$0" : 'X\(//\)$' \| \
453
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455
sed '/^.*\/\([^/][^/]*\)\/*$/{
469
# Avoid depending upon Character Ranges.
470
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
471
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
472
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
473
as_cr_digits='0123456789'
474
as_cr_alnum=$as_cr_Letters$as_cr_digits
477
as_lineno_1=$LINENO as_lineno_1a=$LINENO
478
as_lineno_2=$LINENO as_lineno_2a=$LINENO
479
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
480
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
481
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497
chmod +x "$as_me.lineno" ||
498
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
500
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
501
# already done that, so ensure we don't try to do so again and fall
502
# in an infinite loop. This has already happened in practice.
503
_as_can_reexec=no; export _as_can_reexec
504
# Don't try to exec as it changes $[0], causing all sort of problems
505
# (the dirname of $[0] is not the place where we might find the
506
# original and so on. Autoconf is especially sensitive to this).
508
# Exit status is that of the last command.
512
ECHO_C= ECHO_N= ECHO_T=
513
case `echo -n x` in #(((((
515
case `echo 'xy\c'` in
516
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
518
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
525
rm -f conf$$ conf$$.exe conf$$.file
526
if test -d conf$$.dir; then
527
rm -f conf$$.dir/conf$$.file
530
mkdir conf$$.dir 2>/dev/null
532
if (echo >conf$$.file) 2>/dev/null; then
533
if ln -s conf$$.file conf$$ 2>/dev/null; then
535
# ... but there are two gotchas:
536
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
537
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
538
# In both cases, we have to default to `cp -pR'.
539
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
541
elif ln conf$$.file conf$$ 2>/dev/null; then
549
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
550
rmdir conf$$.dir 2>/dev/null
552
if mkdir -p . 2>/dev/null; then
553
as_mkdir_p='mkdir -p "$as_dir"'
555
test -d ./-p && rmdir ./-p
560
as_executable_p=as_fn_executable_p
562
# Sed expression to map a string onto a valid CPP name.
563
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
565
# Sed expression to map a string onto a valid variable name.
566
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
568
SHELL=${CONFIG_SHELL-/bin/sh}
571
# Use only awk features that work with 7th edition Unix awk (1978).
572
# My, what an old awk you have, Mr. Solaris!
574
while (length(v1) && length(v2)) {
575
# Set d1 to be the next thing to compare from v1, and likewise for d2.
576
# Normally this is a single character, but if v1 and v2 contain digits,
577
# compare them as integers and fractions as strverscmp does.
578
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
579
# Split v1 and v2 into their leading digit string components d1 and d2,
580
# and advance v1 and v2 past the leading digit strings.
581
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
582
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
583
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
584
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
587
# Compare two fractions.
588
while (d1 ~ /^0/ && d2 ~ /^0/) {
589
d1 = substr(d1, 2); len1--
590
d2 = substr(d2, 2); len2--
592
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
593
# The two components differ in length, and the common prefix
594
# contains only leading zeros. Consider the longer to be less.
598
# Otherwise, compare as strings.
603
# A fraction is less than an integer.
608
# An integer is greater than a fraction.
611
# Compare two integers.
617
# The normal case, without worrying about digits.
618
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
619
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
624
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
625
# which mishandles some comparisons of empty strings to integers.
626
if (length(v2)) exit 1
627
if (length(v1)) exit 2
631
test -n "$DJDIR" || exec 7<&0 </dev/null
635
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
636
# so uname gets run too.
637
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
642
ac_default_prefix=/usr/local
644
ac_config_libobj_dir=.
651
# Identity of this package.
652
PACKAGE_NAME='rhythmbox'
653
PACKAGE_TARNAME='rhythmbox'
654
PACKAGE_VERSION='3.0.1'
655
PACKAGE_STRING='rhythmbox 3.0.1'
656
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox'
659
ac_unique_file="rhythmbox.pc.in"
660
# Factoring default headers for most tests.
661
ac_includes_default="\
663
#ifdef HAVE_SYS_TYPES_H
664
# include <sys/types.h>
666
#ifdef HAVE_SYS_STAT_H
667
# include <sys/stat.h>
673
# ifdef HAVE_STDLIB_H
678
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
683
#ifdef HAVE_STRINGS_H
684
# include <strings.h>
686
#ifdef HAVE_INTTYPES_H
687
# include <inttypes.h>
697
ac_subst_vars='am__EXEEXT_FALSE
709
USE_LIBDMAPSHARING_FALSE
710
USE_LIBDMAPSHARING_TRUE
714
ENABLE_BROWSER_PLUGIN_FALSE
715
ENABLE_BROWSER_PLUGIN_TRUE
721
ENABLE_FM_RADIO_FALSE
750
GTK_DOC_USE_REBASE_FALSE
751
GTK_DOC_USE_REBASE_TRUE
752
GTK_DOC_USE_LIBTOOL_FALSE
753
GTK_DOC_USE_LIBTOOL_TRUE
754
GTK_DOC_BUILD_PDF_FALSE
755
GTK_DOC_BUILD_PDF_TRUE
756
GTK_DOC_BUILD_HTML_FALSE
757
GTK_DOC_BUILD_HTML_TRUE
767
NO_STRICT_ALIASING_CFLAGS
770
RHYTHMBOX_CFLAGS_NOWARN
787
XGETTEXT_EXTRA_OPTIONS
791
GETTEXT_MACRO_VERSION
794
HAVE_LIBBRASERO_MEDIA
795
HAVE_LIBBRASERO_MEDIA_FALSE
796
HAVE_LIBBRASERO_MEDIA_TRUE
797
LIBBRASERO_MEDIA_LIBS
798
LIBBRASERO_MEDIA_CFLAGS
834
TOTEM_PLPARSER_CFLAGS
842
GSETTINGS_DISABLE_SCHEMAS_COMPILE
898
INTLTOOL_SERVICE_RULE
900
INTLTOOL_SCHEMAS_RULE
902
INTLTOOL_XML_NOMERGE_RULE
907
INTLTOOL_SOUNDLIST_RULE
914
INTLTOOL_DIRECTORY_RULE
915
INTLTOOL_DESKTOP_RULE
916
intltool__v_merge_options_0
917
intltool__v_merge_options_
918
INTLTOOL_V_MERGE_OPTIONS
926
HAVE_INTROSPECTION_FALSE
927
HAVE_INTROSPECTION_TRUE
928
INTROSPECTION_MAKEFILE
931
INTROSPECTION_TYPELIBDIR
933
INTROSPECTION_GENERATE
934
INTROSPECTION_COMPILER
935
INTROSPECTION_SCANNER
939
RHYTHMBOX_CORE_REVISION
940
RHYTHMBOX_CORE_CURRENT
944
MAINTAINER_MODE_FALSE
958
INSTALL_STRIP_PROGRAM
1000
program_transform_name
1013
enable_option_checking
1015
enable_maintainer_mode
1017
enable_dependency_tracking
1025
enable_schemas_compile
1038
with_libiconv_prefix
1042
enable_uninstalled_build
1043
enable_more_warnings
1052
enable_browser_plugin
1057
ac_precious_vars='build_alias
1073
TOTEM_PLPARSER_CFLAGS
1090
LIBBRASERO_MEDIA_CFLAGS
1091
LIBBRASERO_MEDIA_LIBS
1112
# Initialize some variables set by options.
1114
ac_init_version=false
1115
ac_unrecognized_opts=
1116
ac_unrecognized_sep=
1117
# The variables have the same names as the options, with
1118
# dashes changed to underlines.
1119
cache_file=/dev/null
1126
program_transform_name=s,x,x,
1134
# Installation directory options.
1135
# These are left unexpanded so users can "make install exec_prefix=/foo"
1136
# and all the variables that are supposed to be based on exec_prefix
1137
# by default will actually change.
1138
# Use braces instead of parens because sh, perl, etc. also accept them.
1139
# (The list follows the same order as the GNU Coding Standards.)
1140
bindir='${exec_prefix}/bin'
1141
sbindir='${exec_prefix}/sbin'
1142
libexecdir='${exec_prefix}/libexec'
1143
datarootdir='${prefix}/share'
1144
datadir='${datarootdir}'
1145
sysconfdir='${prefix}/etc'
1146
sharedstatedir='${prefix}/com'
1147
localstatedir='${prefix}/var'
1148
includedir='${prefix}/include'
1149
oldincludedir='/usr/include'
1150
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1151
infodir='${datarootdir}/info'
1156
libdir='${exec_prefix}/lib'
1157
localedir='${datarootdir}/locale'
1158
mandir='${datarootdir}/man'
1164
# If the previous option needs an argument, assign it.
1165
if test -n "$ac_prev"; then
1166
eval $ac_prev=\$ac_option
1172
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1177
# Accept the important Cygnus configure options, so we can diagnose typos.
1179
case $ac_dashdash$ac_option in
1183
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1185
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1186
bindir=$ac_optarg ;;
1188
-build | --build | --buil | --bui | --bu)
1189
ac_prev=build_alias ;;
1190
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1191
build_alias=$ac_optarg ;;
1193
-cache-file | --cache-file | --cache-fil | --cache-fi \
1194
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1195
ac_prev=cache_file ;;
1196
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1197
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1198
cache_file=$ac_optarg ;;
1200
--config-cache | -C)
1201
cache_file=config.cache ;;
1203
-datadir | --datadir | --datadi | --datad)
1205
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1206
datadir=$ac_optarg ;;
1208
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1209
| --dataroo | --dataro | --datar)
1210
ac_prev=datarootdir ;;
1211
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1212
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1213
datarootdir=$ac_optarg ;;
1215
-disable-* | --disable-*)
1216
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1217
# Reject names that are not valid shell variable names.
1218
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1219
as_fn_error $? "invalid feature name: $ac_useropt"
1220
ac_useropt_orig=$ac_useropt
1221
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222
case $ac_user_opts in
1224
"enable_$ac_useropt"
1226
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1227
ac_unrecognized_sep=', ';;
1229
eval enable_$ac_useropt=no ;;
1231
-docdir | --docdir | --docdi | --doc | --do)
1233
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1234
docdir=$ac_optarg ;;
1236
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1238
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1239
dvidir=$ac_optarg ;;
1241
-enable-* | --enable-*)
1242
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1243
# Reject names that are not valid shell variable names.
1244
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1245
as_fn_error $? "invalid feature name: $ac_useropt"
1246
ac_useropt_orig=$ac_useropt
1247
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248
case $ac_user_opts in
1250
"enable_$ac_useropt"
1252
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1253
ac_unrecognized_sep=', ';;
1255
eval enable_$ac_useropt=\$ac_optarg ;;
1257
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1258
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1259
| --exec | --exe | --ex)
1260
ac_prev=exec_prefix ;;
1261
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1262
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1263
| --exec=* | --exe=* | --ex=*)
1264
exec_prefix=$ac_optarg ;;
1266
-gas | --gas | --ga | --g)
1267
# Obsolete; use --with-gas.
1270
-help | --help | --hel | --he | -h)
1271
ac_init_help=long ;;
1272
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1273
ac_init_help=recursive ;;
1274
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1275
ac_init_help=short ;;
1277
-host | --host | --hos | --ho)
1278
ac_prev=host_alias ;;
1279
-host=* | --host=* | --hos=* | --ho=*)
1280
host_alias=$ac_optarg ;;
1282
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1284
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1286
htmldir=$ac_optarg ;;
1288
-includedir | --includedir | --includedi | --included | --include \
1289
| --includ | --inclu | --incl | --inc)
1290
ac_prev=includedir ;;
1291
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1292
| --includ=* | --inclu=* | --incl=* | --inc=*)
1293
includedir=$ac_optarg ;;
1295
-infodir | --infodir | --infodi | --infod | --info | --inf)
1297
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1298
infodir=$ac_optarg ;;
1300
-libdir | --libdir | --libdi | --libd)
1302
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1303
libdir=$ac_optarg ;;
1305
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1306
| --libexe | --libex | --libe)
1307
ac_prev=libexecdir ;;
1308
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1309
| --libexe=* | --libex=* | --libe=*)
1310
libexecdir=$ac_optarg ;;
1312
-localedir | --localedir | --localedi | --localed | --locale)
1313
ac_prev=localedir ;;
1314
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1315
localedir=$ac_optarg ;;
1317
-localstatedir | --localstatedir | --localstatedi | --localstated \
1318
| --localstate | --localstat | --localsta | --localst | --locals)
1319
ac_prev=localstatedir ;;
1320
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1321
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1322
localstatedir=$ac_optarg ;;
1324
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1326
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1327
mandir=$ac_optarg ;;
1329
-nfp | --nfp | --nf)
1330
# Obsolete; use --without-fp.
1333
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1334
| --no-cr | --no-c | -n)
1337
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1338
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1341
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1342
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1343
| --oldin | --oldi | --old | --ol | --o)
1344
ac_prev=oldincludedir ;;
1345
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1346
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1347
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1348
oldincludedir=$ac_optarg ;;
1350
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1352
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1353
prefix=$ac_optarg ;;
1355
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1356
| --program-pre | --program-pr | --program-p)
1357
ac_prev=program_prefix ;;
1358
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1359
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1360
program_prefix=$ac_optarg ;;
1362
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1363
| --program-suf | --program-su | --program-s)
1364
ac_prev=program_suffix ;;
1365
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1366
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1367
program_suffix=$ac_optarg ;;
1369
-program-transform-name | --program-transform-name \
1370
| --program-transform-nam | --program-transform-na \
1371
| --program-transform-n | --program-transform- \
1372
| --program-transform | --program-transfor \
1373
| --program-transfo | --program-transf \
1374
| --program-trans | --program-tran \
1375
| --progr-tra | --program-tr | --program-t)
1376
ac_prev=program_transform_name ;;
1377
-program-transform-name=* | --program-transform-name=* \
1378
| --program-transform-nam=* | --program-transform-na=* \
1379
| --program-transform-n=* | --program-transform-=* \
1380
| --program-transform=* | --program-transfor=* \
1381
| --program-transfo=* | --program-transf=* \
1382
| --program-trans=* | --program-tran=* \
1383
| --progr-tra=* | --program-tr=* | --program-t=*)
1384
program_transform_name=$ac_optarg ;;
1386
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1388
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1389
pdfdir=$ac_optarg ;;
1391
-psdir | --psdir | --psdi | --psd | --ps)
1393
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1396
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1397
| -silent | --silent | --silen | --sile | --sil)
1400
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1402
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1404
sbindir=$ac_optarg ;;
1406
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1407
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1408
| --sharedst | --shareds | --shared | --share | --shar \
1410
ac_prev=sharedstatedir ;;
1411
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1412
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1413
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1415
sharedstatedir=$ac_optarg ;;
1417
-site | --site | --sit)
1419
-site=* | --site=* | --sit=*)
1422
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1424
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1425
srcdir=$ac_optarg ;;
1427
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1428
| --syscon | --sysco | --sysc | --sys | --sy)
1429
ac_prev=sysconfdir ;;
1430
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1431
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1432
sysconfdir=$ac_optarg ;;
1434
-target | --target | --targe | --targ | --tar | --ta | --t)
1435
ac_prev=target_alias ;;
1436
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1437
target_alias=$ac_optarg ;;
1439
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1442
-version | --version | --versio | --versi | --vers | -V)
1443
ac_init_version=: ;;
1446
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1447
# Reject names that are not valid shell variable names.
1448
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1449
as_fn_error $? "invalid package name: $ac_useropt"
1450
ac_useropt_orig=$ac_useropt
1451
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1452
case $ac_user_opts in
1456
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1457
ac_unrecognized_sep=', ';;
1459
eval with_$ac_useropt=\$ac_optarg ;;
1461
-without-* | --without-*)
1462
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1463
# Reject names that are not valid shell variable names.
1464
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1465
as_fn_error $? "invalid package name: $ac_useropt"
1466
ac_useropt_orig=$ac_useropt
1467
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1468
case $ac_user_opts in
1472
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1473
ac_unrecognized_sep=', ';;
1475
eval with_$ac_useropt=no ;;
1478
# Obsolete; use --with-x.
1481
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1482
| --x-incl | --x-inc | --x-in | --x-i)
1483
ac_prev=x_includes ;;
1484
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1485
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1486
x_includes=$ac_optarg ;;
1488
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1489
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1490
ac_prev=x_libraries ;;
1491
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1492
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1493
x_libraries=$ac_optarg ;;
1495
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1496
Try \`$0 --help' for more information"
1500
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1501
# Reject names that are not valid shell variable names.
1502
case $ac_envvar in #(
1503
'' | [0-9]* | *[!_$as_cr_alnum]* )
1504
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1506
eval $ac_envvar=\$ac_optarg
1507
export $ac_envvar ;;
1510
# FIXME: should be removed in autoconf 3.0.
1511
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1512
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1513
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1514
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1520
if test -n "$ac_prev"; then
1521
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1522
as_fn_error $? "missing argument to $ac_option"
1525
if test -n "$ac_unrecognized_opts"; then
1526
case $enable_option_checking in
1528
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1529
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1533
# Check all directory arguments for consistency.
1534
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1535
datadir sysconfdir sharedstatedir localstatedir includedir \
1536
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1537
libdir localedir mandir
1539
eval ac_val=\$$ac_var
1540
# Remove trailing slashes.
1543
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1544
eval $ac_var=\$ac_val;;
1546
# Be sure to have absolute directory names.
1548
[\\/$]* | ?:[\\/]* ) continue;;
1549
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1551
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1554
# There might be people who depend on the old broken behavior: `$host'
1555
# used to hold the argument of --host etc.
1556
# FIXME: To remove some day.
1559
target=$target_alias
1561
# FIXME: To remove some day.
1562
if test "x$host_alias" != x; then
1563
if test "x$build_alias" = x; then
1564
cross_compiling=maybe
1565
elif test "x$build_alias" != "x$host_alias"; then
1571
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1573
test "$silent" = yes && exec 6>/dev/null
1576
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1577
ac_ls_di=`ls -di .` &&
1578
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1579
as_fn_error $? "working directory cannot be determined"
1580
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1581
as_fn_error $? "pwd does not report name of working directory"
1584
# Find the source files, if location was not specified.
1585
if test -z "$srcdir"; then
1586
ac_srcdir_defaulted=yes
1587
# Try the directory containing this script, then the parent directory.
1588
ac_confdir=`$as_dirname -- "$as_myself" ||
1589
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1590
X"$as_myself" : 'X\(//\)[^/]' \| \
1591
X"$as_myself" : 'X\(//\)$' \| \
1592
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1593
$as_echo X"$as_myself" |
1594
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1612
if test ! -r "$srcdir/$ac_unique_file"; then
1616
ac_srcdir_defaulted=no
1618
if test ! -r "$srcdir/$ac_unique_file"; then
1619
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1620
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1622
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1624
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1626
# When building in place, set srcdir=.
1627
if test "$ac_abs_confdir" = "$ac_pwd"; then
1630
# Remove unnecessary trailing slashes from srcdir.
1631
# Double slashes in file names in object file debugging info
1632
# mess up M-x gdb in Emacs.
1634
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1636
for ac_var in $ac_precious_vars; do
1637
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1638
eval ac_env_${ac_var}_value=\$${ac_var}
1639
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1640
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1644
# Report the --help message.
1646
if test "$ac_init_help" = "long"; then
1647
# Omit some internal or obsolete options to make the list less imposing.
1648
# This message is too long to be a string in the A/UX 3.1 sh.
1650
\`configure' configures rhythmbox 3.0.1 to adapt to many kinds of systems.
1652
Usage: $0 [OPTION]... [VAR=VALUE]...
1654
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1655
VAR=VALUE. See below for descriptions of some of the useful variables.
1657
Defaults for the options are specified in brackets.
1660
-h, --help display this help and exit
1661
--help=short display options specific to this package
1662
--help=recursive display the short help of all the included packages
1663
-V, --version display version information and exit
1664
-q, --quiet, --silent do not print \`checking ...' messages
1665
--cache-file=FILE cache test results in FILE [disabled]
1666
-C, --config-cache alias for \`--cache-file=config.cache'
1667
-n, --no-create do not create output files
1668
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1670
Installation directories:
1671
--prefix=PREFIX install architecture-independent files in PREFIX
1672
[$ac_default_prefix]
1673
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1676
By default, \`make install' will install all the files in
1677
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1678
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1679
for instance \`--prefix=\$HOME'.
1681
For better control, use the options below.
1683
Fine tuning of the installation directories:
1684
--bindir=DIR user executables [EPREFIX/bin]
1685
--sbindir=DIR system admin executables [EPREFIX/sbin]
1686
--libexecdir=DIR program executables [EPREFIX/libexec]
1687
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1688
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1689
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1690
--libdir=DIR object code libraries [EPREFIX/lib]
1691
--includedir=DIR C header files [PREFIX/include]
1692
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1693
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1694
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1695
--infodir=DIR info documentation [DATAROOTDIR/info]
1696
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1697
--mandir=DIR man documentation [DATAROOTDIR/man]
1698
--docdir=DIR documentation root [DATAROOTDIR/doc/rhythmbox]
1699
--htmldir=DIR html documentation [DOCDIR]
1700
--dvidir=DIR dvi documentation [DOCDIR]
1701
--pdfdir=DIR pdf documentation [DOCDIR]
1702
--psdir=DIR ps documentation [DOCDIR]
1708
--program-prefix=PREFIX prepend PREFIX to installed program names
1709
--program-suffix=SUFFIX append SUFFIX to installed program names
1710
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1713
--x-includes=DIR X include files are in DIR
1714
--x-libraries=DIR X library files are in DIR
1717
--build=BUILD configure for building on BUILD [guessed]
1718
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1722
if test -n "$ac_init_help"; then
1723
case $ac_init_help in
1724
short | recursive ) echo "Configuration of rhythmbox 3.0.1:";;
1729
--disable-option-checking ignore unrecognized --enable/--with options
1730
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1731
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1732
--enable-silent-rules less verbose build output (undo: "make V=1")
1733
--disable-silent-rules verbose build output (undo: "make V=0")
1734
--disable-maintainer-mode
1735
disable make rules and dependencies not useful (and
1736
sometimes confusing) to the casual installer
1737
--disable-nls do not use Native Language Support
1738
--enable-dependency-tracking
1739
do not reject slow dependency extractors
1740
--disable-dependency-tracking
1741
speeds up one-time build
1742
--enable-static[=PKGS] build static libraries [default=no]
1743
--enable-shared[=PKGS] build shared libraries [default=yes]
1744
--enable-fast-install[=PKGS]
1745
optimize for fast installation [default=yes]
1746
--disable-libtool-lock avoid locking (might break parallel builds)
1747
--disable-schemas-compile
1748
Disable regeneration of gschemas.compiled on install
1749
--disable-libnotify Disable libnotify support
1750
--disable-mmkeys don't build with Multimedia Keys support
1751
--disable-rpath do not hardcode runtime library paths
1752
--enable-lirc enable lirc support
1753
--enable-uninstalled-build
1754
Search for files in build directory as well
1755
--enable-more-warnings Maximum compiler warnings
1756
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1757
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1758
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1759
--enable-python=[no/auto/yes]
1760
Build with python support
1761
--enable-vala Enable Vala plugin support
1762
--disable-fm-radio Disable FM radio support
1763
--enable-browser-plugin compile the iTunes detection browser plugin
1764
--disable-daap Disable DAAP support
1765
--disable-visualizer Disable visualizer plugin support
1766
--disable-grilo Disable Grilo support
1769
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1770
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1771
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1773
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1774
--with-sysroot=DIR Search for dependent libraries within DIR
1775
(or the compiler's sysroot if not specified).
1776
--with-gudev Enable GUdev for hardware detection
1777
--without-hal Disable HAL support
1778
--with-ipod Enable iPod support
1779
--with-mtp Enable MTP support
1780
--with-libsecret Enable keyring support using libsecret
1781
--with-database=tree Select the database to use (default tree)
1782
--with-rhythmdb-debug=0|1|2
1783
Level of RhythmDB sanity checking
1784
--with-x use the X Window System
1785
--with-brasero Build with libbrasero-media support
1786
--with-gnu-ld assume the C compiler uses GNU ld default=no
1787
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1788
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1789
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1790
--without-libintl-prefix don't search for libintl in includedir and libdir
1791
--with-webkit Use WebKit to display HTML
1792
--with-html-dir=PATH path to installed docs
1793
--with-help-dir=DIR path where help files are installed
1795
Some influential environment variables:
1796
PKG_CONFIG path to pkg-config utility
1798
directories to add to pkg-config's search path
1800
path overriding pkg-config's built-in search path
1801
CC C compiler command
1802
CFLAGS C compiler flags
1803
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1804
nonstandard directory <lib dir>
1805
LIBS libraries to pass to the linker, e.g. -l<library>
1806
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1807
you have headers in a nonstandard directory <include dir>
1810
C compiler flags for RB_CLIENT, overriding pkg-config
1812
linker flags for RB_CLIENT, overriding pkg-config
1814
C compiler flags for RHYTHMBOX, overriding pkg-config
1816
linker flags for RHYTHMBOX, overriding pkg-config
1817
TOTEM_PLPARSER_CFLAGS
1818
C compiler flags for TOTEM_PLPARSER, overriding pkg-config
1820
linker flags for TOTEM_PLPARSER, overriding pkg-config
1822
C compiler flags for GUDEV, overriding pkg-config
1823
GUDEV_LIBS linker flags for GUDEV, overriding pkg-config
1824
HAL_CFLAGS C compiler flags for HAL, overriding pkg-config
1825
HAL_LIBS linker flags for HAL, overriding pkg-config
1826
IPOD_CFLAGS C compiler flags for IPOD, overriding pkg-config
1827
IPOD_LIBS linker flags for IPOD, overriding pkg-config
1828
MTP_CFLAGS C compiler flags for MTP, overriding pkg-config
1829
MTP_LIBS linker flags for MTP, overriding pkg-config
1831
C compiler flags for LIBSECRET, overriding pkg-config
1833
linker flags for LIBSECRET, overriding pkg-config
1835
C compiler flags for GSTREAMER, overriding pkg-config
1837
linker flags for GSTREAMER, overriding pkg-config
1839
C compiler flags for NOTIFY, overriding pkg-config
1840
NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config
1841
XMKMF Path to xmkmf, Makefile generator for X Window System
1842
LIBBRASERO_MEDIA_CFLAGS
1843
C compiler flags for LIBBRASERO_MEDIA, overriding pkg-config
1844
LIBBRASERO_MEDIA_LIBS
1845
linker flags for LIBBRASERO_MEDIA, overriding pkg-config
1847
C compiler flags for WEBKIT, overriding pkg-config
1848
WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
1850
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1852
linker flags for GTKDOC_DEPS, overriding pkg-config
1853
ITSTOOL Path to the `itstool` command
1854
XMLLINT Path to the `xmllint` command
1855
PYTHON the Python interpreter
1857
C compiler flags for PYTHON, overriding pkg-config
1858
PYTHON_LIBS linker flags for PYTHON, overriding pkg-config
1860
C compiler flags for CHECK, overriding pkg-config
1861
CHECK_LIBS linker flags for CHECK, overriding pkg-config
1863
Where to install the browser plugin to
1865
C compiler flags for DMAPSHARING, overriding pkg-config
1867
linker flags for DMAPSHARING, overriding pkg-config
1869
C compiler flags for CLUTTER, overriding pkg-config
1871
linker flags for CLUTTER, overriding pkg-config
1873
C compiler flags for GRILO, overriding pkg-config
1874
GRILO_LIBS linker flags for GRILO, overriding pkg-config
1876
Use these variables to override the choices made by `configure' or to help
1877
it to find libraries and programs with nonstandard names/locations.
1879
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox>.
1884
if test "$ac_init_help" = "recursive"; then
1885
# If there are subdirs, report their specific --help.
1886
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1887
test -d "$ac_dir" ||
1888
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1893
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1895
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1896
# A ".." for each directory in $ac_dir_suffix.
1897
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1898
case $ac_top_builddir_sub in
1899
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1900
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1903
ac_abs_top_builddir=$ac_pwd
1904
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1905
# for backward compatibility:
1906
ac_top_builddir=$ac_top_build_prefix
1909
.) # We are building in place.
1911
ac_top_srcdir=$ac_top_builddir_sub
1912
ac_abs_top_srcdir=$ac_pwd ;;
1913
[\\/]* | ?:[\\/]* ) # Absolute name.
1914
ac_srcdir=$srcdir$ac_dir_suffix;
1915
ac_top_srcdir=$srcdir
1916
ac_abs_top_srcdir=$srcdir ;;
1918
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1919
ac_top_srcdir=$ac_top_build_prefix$srcdir
1920
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1922
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1924
cd "$ac_dir" || { ac_status=$?; continue; }
1925
# Check for guested configure.
1926
if test -f "$ac_srcdir/configure.gnu"; then
1928
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1929
elif test -f "$ac_srcdir/configure"; then
1931
$SHELL "$ac_srcdir/configure" --help=recursive
1933
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1935
cd "$ac_pwd" || { ac_status=$?; break; }
1939
test -n "$ac_init_help" && exit $ac_status
1940
if $ac_init_version; then
1942
rhythmbox configure 3.0.1
1943
generated by GNU Autoconf 2.69
1945
Copyright (C) 2012 Free Software Foundation, Inc.
1946
This configure script is free software; the Free Software Foundation
1947
gives unlimited permission to copy, distribute and modify it.
1952
## ------------------------ ##
1953
## Autoconf initialization. ##
1954
## ------------------------ ##
1956
# ac_fn_c_try_compile LINENO
1957
# --------------------------
1958
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1959
ac_fn_c_try_compile ()
1961
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962
rm -f conftest.$ac_objext
1963
if { { ac_try="$ac_compile"
1965
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1966
*) ac_try_echo=$ac_try;;
1968
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1969
$as_echo "$ac_try_echo"; } >&5
1970
(eval "$ac_compile") 2>conftest.err
1972
if test -s conftest.err; then
1973
grep -v '^ *+' conftest.err >conftest.er1
1974
cat conftest.er1 >&5
1975
mv -f conftest.er1 conftest.err
1977
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1978
test $ac_status = 0; } && {
1979
test -z "$ac_c_werror_flag" ||
1980
test ! -s conftest.err
1981
} && test -s conftest.$ac_objext; then :
1984
$as_echo "$as_me: failed program was:" >&5
1985
sed 's/^/| /' conftest.$ac_ext >&5
1989
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990
as_fn_set_status $ac_retval
1992
} # ac_fn_c_try_compile
1994
# ac_fn_c_try_link LINENO
1995
# -----------------------
1996
# Try to link conftest.$ac_ext, and return whether this succeeded.
1999
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000
rm -f conftest.$ac_objext conftest$ac_exeext
2001
if { { ac_try="$ac_link"
2003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2004
*) ac_try_echo=$ac_try;;
2006
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2007
$as_echo "$ac_try_echo"; } >&5
2008
(eval "$ac_link") 2>conftest.err
2010
if test -s conftest.err; then
2011
grep -v '^ *+' conftest.err >conftest.er1
2012
cat conftest.er1 >&5
2013
mv -f conftest.er1 conftest.err
2015
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2016
test $ac_status = 0; } && {
2017
test -z "$ac_c_werror_flag" ||
2018
test ! -s conftest.err
2019
} && test -s conftest$ac_exeext && {
2020
test "$cross_compiling" = yes ||
2021
test -x conftest$ac_exeext
2025
$as_echo "$as_me: failed program was:" >&5
2026
sed 's/^/| /' conftest.$ac_ext >&5
2030
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2031
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2032
# interfere with the next link command; also delete a directory that is
2033
# left behind by Apple's compiler. We do this before executing the actions.
2034
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2035
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2036
as_fn_set_status $ac_retval
2038
} # ac_fn_c_try_link
2040
# ac_fn_c_check_func LINENO FUNC VAR
2041
# ----------------------------------
2042
# Tests whether FUNC exists, setting the cache variable VAR accordingly
2043
ac_fn_c_check_func ()
2045
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2047
$as_echo_n "checking for $2... " >&6; }
2048
if eval \${$3+:} false; then :
2049
$as_echo_n "(cached) " >&6
2051
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2052
/* end confdefs.h. */
2053
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2054
For example, HP-UX 11i <limits.h> declares gettimeofday. */
2055
#define $2 innocuous_$2
2057
/* System header to define __stub macros and hopefully few prototypes,
2058
which can conflict with char $2 (); below.
2059
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2060
<limits.h> exists even on freestanding compilers. */
2063
# include <limits.h>
2065
# include <assert.h>
2070
/* Override any GCC internal prototype to avoid an error.
2071
Use char because int might match the return type of a GCC
2072
builtin and then its argument prototype would still apply. */
2077
/* The GNU C library defines this for functions which it implements
2078
to always fail with ENOSYS. Some functions are actually named
2079
something starting with __ and the normal name is an alias. */
2080
#if defined __stub_$2 || defined __stub___$2
2092
if ac_fn_c_try_link "$LINENO"; then :
2097
rm -f core conftest.err conftest.$ac_objext \
2098
conftest$ac_exeext conftest.$ac_ext
2101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102
$as_echo "$ac_res" >&6; }
2103
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2105
} # ac_fn_c_check_func
2107
# ac_fn_c_try_cpp LINENO
2108
# ----------------------
2109
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2112
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113
if { { ac_try="$ac_cpp conftest.$ac_ext"
2115
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2116
*) ac_try_echo=$ac_try;;
2118
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2119
$as_echo "$ac_try_echo"; } >&5
2120
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2122
if test -s conftest.err; then
2123
grep -v '^ *+' conftest.err >conftest.er1
2124
cat conftest.er1 >&5
2125
mv -f conftest.er1 conftest.err
2127
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2128
test $ac_status = 0; } > conftest.i && {
2129
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2130
test ! -s conftest.err
2134
$as_echo "$as_me: failed program was:" >&5
2135
sed 's/^/| /' conftest.$ac_ext >&5
2139
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2140
as_fn_set_status $ac_retval
2144
# ac_fn_c_try_run LINENO
2145
# ----------------------
2146
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2147
# that executables *can* be run.
2150
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2151
if { { ac_try="$ac_link"
2153
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2154
*) ac_try_echo=$ac_try;;
2156
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2157
$as_echo "$ac_try_echo"; } >&5
2158
(eval "$ac_link") 2>&5
2160
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2161
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2162
{ { case "(($ac_try" in
2163
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164
*) ac_try_echo=$ac_try;;
2166
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167
$as_echo "$ac_try_echo"; } >&5
2168
(eval "$ac_try") 2>&5
2170
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2171
test $ac_status = 0; }; }; then :
2174
$as_echo "$as_me: program exited with status $ac_status" >&5
2175
$as_echo "$as_me: failed program was:" >&5
2176
sed 's/^/| /' conftest.$ac_ext >&5
2178
ac_retval=$ac_status
2180
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2181
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182
as_fn_set_status $ac_retval
2186
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2187
# -------------------------------------------------------
2188
# Tests whether HEADER exists and can be compiled using the include files in
2189
# INCLUDES, setting the cache variable VAR accordingly.
2190
ac_fn_c_check_header_compile ()
2192
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194
$as_echo_n "checking for $2... " >&6; }
2195
if eval \${$3+:} false; then :
2196
$as_echo_n "(cached) " >&6
2198
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2199
/* end confdefs.h. */
2203
if ac_fn_c_try_compile "$LINENO"; then :
2208
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2212
$as_echo "$ac_res" >&6; }
2213
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2215
} # ac_fn_c_check_header_compile
2217
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2218
# --------------------------------------------
2219
# Tries to find the compile-time value of EXPR in a program that includes
2220
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2222
ac_fn_c_compute_int ()
2224
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2225
if test "$cross_compiling" = yes; then
2226
# Depending upon the size, compute the lo and hi bounds.
2227
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2228
/* end confdefs.h. */
2233
static int test_array [1 - 2 * !(($2) >= 0)];
2235
return test_array [0];
2241
if ac_fn_c_try_compile "$LINENO"; then :
2244
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245
/* end confdefs.h. */
2250
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2252
return test_array [0];
2258
if ac_fn_c_try_compile "$LINENO"; then :
2259
ac_hi=$ac_mid; break
2261
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2262
if test $ac_lo -le $ac_mid; then
2266
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2268
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2271
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2272
/* end confdefs.h. */
2277
static int test_array [1 - 2 * !(($2) < 0)];
2279
return test_array [0];
2285
if ac_fn_c_try_compile "$LINENO"; then :
2288
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289
/* end confdefs.h. */
2294
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2296
return test_array [0];
2302
if ac_fn_c_try_compile "$LINENO"; then :
2303
ac_lo=$ac_mid; break
2305
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2306
if test $ac_mid -le $ac_hi; then
2310
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2312
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2317
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2320
# Binary search between lo and hi bounds.
2321
while test "x$ac_lo" != "x$ac_hi"; do
2322
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2323
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324
/* end confdefs.h. */
2329
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2331
return test_array [0];
2337
if ac_fn_c_try_compile "$LINENO"; then :
2340
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2345
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2349
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2350
/* end confdefs.h. */
2352
static long int longval () { return $2; }
2353
static unsigned long int ulongval () { return $2; }
2360
FILE *f = fopen ("conftest.val", "w");
2365
long int i = longval ();
2368
fprintf (f, "%ld", i);
2372
unsigned long int i = ulongval ();
2375
fprintf (f, "%lu", i);
2377
/* Do not output a trailing newline, as this causes \r\n confusion
2378
on some platforms. */
2379
return ferror (f) || fclose (f) != 0;
2385
if ac_fn_c_try_run "$LINENO"; then :
2386
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2390
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2391
conftest.$ac_objext conftest.beam conftest.$ac_ext
2395
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2396
as_fn_set_status $ac_retval
2398
} # ac_fn_c_compute_int
2400
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2401
# -------------------------------------------------------
2402
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2403
# the include files in INCLUDES and setting the cache variable VAR
2405
ac_fn_c_check_header_mongrel ()
2407
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2408
if eval \${$3+:} false; then :
2409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2410
$as_echo_n "checking for $2... " >&6; }
2411
if eval \${$3+:} false; then :
2412
$as_echo_n "(cached) " >&6
2415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2416
$as_echo "$ac_res" >&6; }
2418
# Is the header compilable?
2419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2420
$as_echo_n "checking $2 usability... " >&6; }
2421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2422
/* end confdefs.h. */
2426
if ac_fn_c_try_compile "$LINENO"; then :
2427
ac_header_compiler=yes
2429
ac_header_compiler=no
2431
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2433
$as_echo "$ac_header_compiler" >&6; }
2435
# Is the header present?
2436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2437
$as_echo_n "checking $2 presence... " >&6; }
2438
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439
/* end confdefs.h. */
2442
if ac_fn_c_try_cpp "$LINENO"; then :
2443
ac_header_preproc=yes
2445
ac_header_preproc=no
2447
rm -f conftest.err conftest.i conftest.$ac_ext
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2449
$as_echo "$ac_header_preproc" >&6; }
2451
# So? What about this header?
2452
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2454
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2455
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2456
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2457
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2460
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2461
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2462
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2463
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2464
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2465
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2466
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2467
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2468
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2469
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2470
( $as_echo "## ------------------------------------------------------------------------- ##
2471
## Report this to https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox ##
2472
## ------------------------------------------------------------------------- ##"
2473
) | sed "s/^/$as_me: WARNING: /" >&2
2476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2477
$as_echo_n "checking for $2... " >&6; }
2478
if eval \${$3+:} false; then :
2479
$as_echo_n "(cached) " >&6
2481
eval "$3=\$ac_header_compiler"
2484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2485
$as_echo "$ac_res" >&6; }
2487
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2489
} # ac_fn_c_check_header_mongrel
2490
cat >config.log <<_ACEOF
2491
This file contains any messages produced by compilers while
2492
running configure, to aid debugging if configure makes a mistake.
2494
It was created by rhythmbox $as_me 3.0.1, which was
2495
generated by GNU Autoconf 2.69. Invocation command line was
2507
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2508
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2509
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2510
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2511
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2513
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2514
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2516
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2517
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2518
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2519
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2520
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2521
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2522
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2526
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530
test -z "$as_dir" && as_dir=.
2531
$as_echo "PATH: $as_dir"
2547
# Keep a trace of the command line.
2548
# Strip out --no-create and --no-recursion so they do not pile up.
2549
# Strip out --silent because we don't want to record it for future runs.
2550
# Also quote any args containing shell meta-characters.
2551
# Make two passes to allow for proper duplicate-argument suppression.
2555
ac_must_keep_next=false
2561
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2562
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2563
| -silent | --silent | --silen | --sile | --sil)
2566
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2569
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2571
as_fn_append ac_configure_args1 " '$ac_arg'"
2572
if test $ac_must_keep_next = true; then
2573
ac_must_keep_next=false # Got value, back to normal.
2576
*=* | --config-cache | -C | -disable-* | --disable-* \
2577
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2578
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2579
| -with-* | --with-* | -without-* | --without-* | --x)
2580
case "$ac_configure_args0 " in
2581
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2584
-* ) ac_must_keep_next=true ;;
2587
as_fn_append ac_configure_args " '$ac_arg'"
2592
{ ac_configure_args0=; unset ac_configure_args0;}
2593
{ ac_configure_args1=; unset ac_configure_args1;}
2595
# When interrupted or exit'd, cleanup temporary files, and complete
2596
# config.log. We remove comments because anyway the quotes in there
2597
# would cause problems or look ugly.
2598
# WARNING: Use '\'' to represent an apostrophe within the trap.
2599
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2600
trap 'exit_status=$?
2601
# Save into config.log some information that might help in debugging.
2605
$as_echo "## ---------------- ##
2606
## Cache variables. ##
2607
## ---------------- ##"
2609
# The following way of writing the cache mishandles newlines in values,
2611
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612
eval ac_val=\$$ac_var
2616
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2620
_ | IFS | as_nl) ;; #(
2621
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622
*) { eval $ac_var=; unset $ac_var;} ;;
2627
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628
*${as_nl}ac_space=\ *)
2630
"s/'\''/'\''\\\\'\'''\''/g;
2631
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2634
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2641
$as_echo "## ----------------- ##
2642
## Output variables. ##
2643
## ----------------- ##"
2645
for ac_var in $ac_subst_vars
2647
eval ac_val=\$$ac_var
2649
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2651
$as_echo "$ac_var='\''$ac_val'\''"
2655
if test -n "$ac_subst_files"; then
2656
$as_echo "## ------------------- ##
2657
## File substitutions. ##
2658
## ------------------- ##"
2660
for ac_var in $ac_subst_files
2662
eval ac_val=\$$ac_var
2664
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2666
$as_echo "$ac_var='\''$ac_val'\''"
2671
if test -s confdefs.h; then
2672
$as_echo "## ----------- ##
2679
test "$ac_signal" != 0 &&
2680
$as_echo "$as_me: caught signal $ac_signal"
2681
$as_echo "$as_me: exit $exit_status"
2683
rm -f core *.core core.conftest.* &&
2684
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2687
for ac_signal in 1 2 13 15; do
2688
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2692
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2693
rm -f -r conftest* confdefs.h
2695
$as_echo "/* confdefs.h */" > confdefs.h
2697
# Predefined preprocessor variables.
2699
cat >>confdefs.h <<_ACEOF
2700
#define PACKAGE_NAME "$PACKAGE_NAME"
2703
cat >>confdefs.h <<_ACEOF
2704
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2707
cat >>confdefs.h <<_ACEOF
2708
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2711
cat >>confdefs.h <<_ACEOF
2712
#define PACKAGE_STRING "$PACKAGE_STRING"
2715
cat >>confdefs.h <<_ACEOF
2716
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2719
cat >>confdefs.h <<_ACEOF
2720
#define PACKAGE_URL "$PACKAGE_URL"
2724
# Let the site file select an alternate cache file if it wants to.
2725
# Prefer an explicitly selected file to automatically selected ones.
2728
if test -n "$CONFIG_SITE"; then
2729
# We do not want a PATH search for config.site.
2730
case $CONFIG_SITE in #((
2731
-*) ac_site_file1=./$CONFIG_SITE;;
2732
*/*) ac_site_file1=$CONFIG_SITE;;
2733
*) ac_site_file1=./$CONFIG_SITE;;
2735
elif test "x$prefix" != xNONE; then
2736
ac_site_file1=$prefix/share/config.site
2737
ac_site_file2=$prefix/etc/config.site
2739
ac_site_file1=$ac_default_prefix/share/config.site
2740
ac_site_file2=$ac_default_prefix/etc/config.site
2742
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2744
test "x$ac_site_file" = xNONE && continue
2745
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2746
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2747
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2748
sed 's/^/| /' "$ac_site_file" >&5
2750
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2751
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2752
as_fn_error $? "failed to load site script $ac_site_file
2753
See \`config.log' for more details" "$LINENO" 5; }
2757
if test -r "$cache_file"; then
2758
# Some versions of bash will fail to source /dev/null (special files
2759
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2760
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2762
$as_echo "$as_me: loading cache $cache_file" >&6;}
2764
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2765
*) . "./$cache_file";;
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2770
$as_echo "$as_me: creating cache $cache_file" >&6;}
2774
gt_needs="$gt_needs "
2775
# Check that the precious variables saved in the cache have kept the same
2777
ac_cache_corrupted=false
2778
for ac_var in $ac_precious_vars; do
2779
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2780
eval ac_new_set=\$ac_env_${ac_var}_set
2781
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2782
eval ac_new_val=\$ac_env_${ac_var}_value
2783
case $ac_old_set,$ac_new_set in
2785
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2786
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2787
ac_cache_corrupted=: ;;
2789
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2790
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2791
ac_cache_corrupted=: ;;
2794
if test "x$ac_old_val" != "x$ac_new_val"; then
2795
# differences in whitespace do not lead to failure.
2796
ac_old_val_w=`echo x $ac_old_val`
2797
ac_new_val_w=`echo x $ac_new_val`
2798
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2799
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2800
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2801
ac_cache_corrupted=:
2803
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2804
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2805
eval $ac_var=\$ac_old_val
2807
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2808
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2809
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2810
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2813
# Pass precious variables to config.status.
2814
if test "$ac_new_set" = set; then
2816
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2817
*) ac_arg=$ac_var=$ac_new_val ;;
2819
case " $ac_configure_args " in
2820
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2821
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2825
if $ac_cache_corrupted; then
2826
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2827
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2828
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2829
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2830
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2832
## -------------------- ##
2833
## Main body of script. ##
2834
## -------------------- ##
2837
ac_cpp='$CPP $CPPFLAGS'
2838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2845
ac_config_headers="$ac_config_headers config.h"
2847
am__api_version='1.13'
2850
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2851
if test -f "$ac_dir/install-sh"; then
2853
ac_install_sh="$ac_aux_dir/install-sh -c"
2855
elif test -f "$ac_dir/install.sh"; then
2857
ac_install_sh="$ac_aux_dir/install.sh -c"
2859
elif test -f "$ac_dir/shtool"; then
2861
ac_install_sh="$ac_aux_dir/shtool install -c"
2865
if test -z "$ac_aux_dir"; then
2866
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2869
# These three variables are undocumented and unsupported,
2870
# and are intended to be withdrawn in a future Autoconf release.
2871
# They can cause serious problems if a builder's source tree is in a directory
2872
# whose full name contains unusual characters.
2873
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2874
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2875
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2878
# Find a good install program. We prefer a C program (faster),
2879
# so one script is as good as another. But avoid the broken or
2880
# incompatible versions:
2881
# SysV /etc/install, /usr/sbin/install
2882
# SunOS /usr/etc/install
2883
# IRIX /sbin/install
2885
# AmigaOS /C/install, which installs bootblocks on floppy discs
2886
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2887
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2888
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2889
# OS/2's system install, which has a completely different semantic
2890
# ./install, which can be erroneously created by make from ./install.sh.
2891
# Reject install programs that cannot install multiple files.
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2893
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2894
if test -z "$INSTALL"; then
2895
if ${ac_cv_path_install+:} false; then :
2896
$as_echo_n "(cached) " >&6
2898
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2902
test -z "$as_dir" && as_dir=.
2903
# Account for people who put trailing slashes in PATH elements.
2904
case $as_dir/ in #((
2905
./ | .// | /[cC]/* | \
2906
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2907
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2910
# OSF1 and SCO ODT 3.0 have their own names for install.
2911
# Don't use installbsd from OSF since it installs stuff as root
2913
for ac_prog in ginstall scoinst install; do
2914
for ac_exec_ext in '' $ac_executable_extensions; do
2915
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2916
if test $ac_prog = install &&
2917
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2918
# AIX install. It has an incompatible calling convention.
2920
elif test $ac_prog = install &&
2921
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2922
# program-specific install script used by HP pwplus--don't use.
2925
rm -rf conftest.one conftest.two conftest.dir
2926
echo one > conftest.one
2927
echo two > conftest.two
2929
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2930
test -s conftest.one && test -s conftest.two &&
2931
test -s conftest.dir/conftest.one &&
2932
test -s conftest.dir/conftest.two
2934
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2947
rm -rf conftest.one conftest.two conftest.dir
2950
if test "${ac_cv_path_install+set}" = set; then
2951
INSTALL=$ac_cv_path_install
2953
# As a last resort, use the slow shell script. Don't cache a
2954
# value for INSTALL within a source directory, because that will
2955
# break other packages using the cache if that directory is
2956
# removed, or if the value is a relative name.
2957
INSTALL=$ac_install_sh
2960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2961
$as_echo "$INSTALL" >&6; }
2963
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2964
# It thinks the first close brace ends the variable substitution.
2965
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2967
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2969
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2972
$as_echo_n "checking whether build environment is sane... " >&6; }
2973
# Reject unsafe characters in $srcdir or the absolute working directory
2974
# name. Accept space and tab only in the latter.
2978
*[\\\"\#\$\&\'\`$am_lf]*)
2979
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2982
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2983
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2986
# Do 'set' in a subshell so we don't clobber the current shell's
2987
# arguments. Must try -L first in case configure is actually a
2988
# symlink; some systems play weird games with the mod time of symlinks
2989
# (eg FreeBSD returns the mod time of the symlink's containing
2993
for am_try in 1 2; do
2994
echo "timestamp, slept: $am_has_slept" > conftest.file
2995
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2996
if test "$*" = "X"; then
2998
set X `ls -t "$srcdir/configure" conftest.file`
3000
if test "$*" != "X $srcdir/configure conftest.file" \
3001
&& test "$*" != "X conftest.file $srcdir/configure"; then
3003
# If neither matched, then we have a broken ls. This can happen
3004
# if, for instance, CONFIG_SHELL is bash and it inherits a
3005
# broken ls alias from the environment. This has actually
3006
# happened. Such a system could not be considered "sane".
3007
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3008
alias in your environment" "$LINENO" 5
3010
if test "$2" = conftest.file || test $am_try -eq 2; then
3017
test "$2" = conftest.file
3023
as_fn_error $? "newly created file is older than distributed files!
3024
Check your system clock" "$LINENO" 5
3026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3027
$as_echo "yes" >&6; }
3028
# If we didn't sleep, we still need to ensure time stamps of config.status and
3029
# generated files are strictly newer.
3031
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3038
test "$program_prefix" != NONE &&
3039
program_transform_name="s&^&$program_prefix&;$program_transform_name"
3040
# Use a double $ so make ignores it.
3041
test "$program_suffix" != NONE &&
3042
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3043
# Double any \ or $.
3044
# By default was `s,x,x', remove it if useless.
3045
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3046
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3048
# expand $ac_aux_dir to an absolute path
3049
am_aux_dir=`cd $ac_aux_dir && pwd`
3051
if test x"${MISSING+set}" != xset; then
3054
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3056
MISSING="\${SHELL} $am_aux_dir/missing" ;;
3059
# Use eval to expand $SHELL
3060
if eval "$MISSING --is-lightweight"; then
3061
am_missing_run="$MISSING "
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3065
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3068
if test x"${install_sh}" != xset; then
3071
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3073
install_sh="\${SHELL} $am_aux_dir/install-sh"
3077
# Installed binaries are usually stripped using 'strip' when the user
3078
# run "make install-strip". However 'strip' might not be the right
3079
# tool to use in cross-compilation environments, therefore Automake
3080
# will honor the 'STRIP' environment variable to overrule this program.
3081
if test "$cross_compiling" != no; then
3082
if test -n "$ac_tool_prefix"; then
3083
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3084
set dummy ${ac_tool_prefix}strip; ac_word=$2
3085
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086
$as_echo_n "checking for $ac_word... " >&6; }
3087
if ${ac_cv_prog_STRIP+:} false; then :
3088
$as_echo_n "(cached) " >&6
3090
if test -n "$STRIP"; then
3091
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3093
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097
test -z "$as_dir" && as_dir=.
3098
for ac_exec_ext in '' $ac_executable_extensions; do
3099
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3100
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3101
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3110
STRIP=$ac_cv_prog_STRIP
3111
if test -n "$STRIP"; then
3112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3113
$as_echo "$STRIP" >&6; }
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116
$as_echo "no" >&6; }
3121
if test -z "$ac_cv_prog_STRIP"; then
3123
# Extract the first word of "strip", so it can be a program name with args.
3124
set dummy strip; ac_word=$2
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126
$as_echo_n "checking for $ac_word... " >&6; }
3127
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3128
$as_echo_n "(cached) " >&6
3130
if test -n "$ac_ct_STRIP"; then
3131
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3133
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3137
test -z "$as_dir" && as_dir=.
3138
for ac_exec_ext in '' $ac_executable_extensions; do
3139
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3140
ac_cv_prog_ac_ct_STRIP="strip"
3141
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3151
if test -n "$ac_ct_STRIP"; then
3152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3153
$as_echo "$ac_ct_STRIP" >&6; }
3155
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156
$as_echo "no" >&6; }
3159
if test "x$ac_ct_STRIP" = x; then
3162
case $cross_compiling:$ac_tool_warned in
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3165
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3166
ac_tool_warned=yes ;;
3171
STRIP="$ac_cv_prog_STRIP"
3175
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3177
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3178
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3179
if test -z "$MKDIR_P"; then
3180
if ${ac_cv_path_mkdir+:} false; then :
3181
$as_echo_n "(cached) " >&6
3183
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3184
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3187
test -z "$as_dir" && as_dir=.
3188
for ac_prog in mkdir gmkdir; do
3189
for ac_exec_ext in '' $ac_executable_extensions; do
3190
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3191
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3192
'mkdir (GNU coreutils) '* | \
3193
'mkdir (coreutils) '* | \
3194
'mkdir (fileutils) '4.1*)
3195
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3205
test -d ./--version && rmdir ./--version
3206
if test "${ac_cv_path_mkdir+set}" = set; then
3207
MKDIR_P="$ac_cv_path_mkdir -p"
3209
# As a last resort, use the slow shell script. Don't cache a
3210
# value for MKDIR_P within a source directory, because that will
3211
# break other packages using the cache if that directory is
3212
# removed, or if the value is a relative name.
3213
MKDIR_P="$ac_install_sh -d"
3216
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3217
$as_echo "$MKDIR_P" >&6; }
3219
for ac_prog in gawk mawk nawk awk
3221
# Extract the first word of "$ac_prog", so it can be a program name with args.
3222
set dummy $ac_prog; ac_word=$2
3223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3224
$as_echo_n "checking for $ac_word... " >&6; }
3225
if ${ac_cv_prog_AWK+:} false; then :
3226
$as_echo_n "(cached) " >&6
3228
if test -n "$AWK"; then
3229
ac_cv_prog_AWK="$AWK" # Let the user override the test.
3231
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3235
test -z "$as_dir" && as_dir=.
3236
for ac_exec_ext in '' $ac_executable_extensions; do
3237
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3238
ac_cv_prog_AWK="$ac_prog"
3239
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249
if test -n "$AWK"; then
3250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3251
$as_echo "$AWK" >&6; }
3253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3254
$as_echo "no" >&6; }
3258
test -n "$AWK" && break
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3262
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3264
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3265
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3266
$as_echo_n "(cached) " >&6
3268
cat >conftest.make <<\_ACEOF
3271
@echo '@@@%%%=$(MAKE)=@@@%%%'
3273
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3274
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3276
eval ac_cv_prog_make_${ac_make}_set=yes;;
3278
eval ac_cv_prog_make_${ac_make}_set=no;;
3282
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3284
$as_echo "yes" >&6; }
3287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3288
$as_echo "no" >&6; }
3289
SET_MAKE="MAKE=${MAKE-make}"
3292
rm -rf .tst 2>/dev/null
3293
mkdir .tst 2>/dev/null
3294
if test -d .tst; then
3299
rmdir .tst 2>/dev/null
3301
# Check whether --enable-silent-rules was given.
3302
if test "${enable_silent_rules+set}" = set; then :
3303
enableval=$enable_silent_rules;
3306
case $enable_silent_rules in # (((
3307
yes) AM_DEFAULT_VERBOSITY=0;;
3308
no) AM_DEFAULT_VERBOSITY=1;;
3309
*) AM_DEFAULT_VERBOSITY=1;;
3311
am_make=${MAKE-make}
3312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3313
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3314
if ${am_cv_make_support_nested_variables+:} false; then :
3315
$as_echo_n "(cached) " >&6
3317
if $as_echo 'TRUE=$(BAR$(V))
3323
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3324
am_cv_make_support_nested_variables=yes
3326
am_cv_make_support_nested_variables=no
3329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3330
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3331
if test $am_cv_make_support_nested_variables = yes; then
3333
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3335
AM_V=$AM_DEFAULT_VERBOSITY
3336
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3340
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3341
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3342
# is not polluted with repeated "-I."
3343
am__isrc=' -I$(srcdir)'
3344
# test to see if srcdir already configured
3345
if test -f $srcdir/config.status; then
3346
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3350
# test whether we have cygpath
3351
if test -z "$CYGPATH_W"; then
3352
if (cygpath --version) >/dev/null 2>/dev/null; then
3353
CYGPATH_W='cygpath -w'
3360
# Define the identity of the package.
3365
cat >>confdefs.h <<_ACEOF
3366
#define PACKAGE "$PACKAGE"
3370
cat >>confdefs.h <<_ACEOF
3371
#define VERSION "$VERSION"
3374
# Some tools Automake needs.
3376
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3379
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3382
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3385
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3388
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3390
# For better backward compatibility. To be removed once Automake 1.9.x
3391
# dies out for good. For more background, see:
3392
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3393
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3394
mkdir_p='$(MKDIR_P)'
3396
# We need awk for the "check" target. The system "awk" is bad on
3398
# Always define AMTAR for backward compatibility. Yes, it's still used
3399
# in the wild :-( We should find a proper way to deprecate it ...
3403
# We'll loop over all known methods to create a tar archive until one works.
3404
_am_tools='gnutar plaintar pax cpio none'
3406
# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3407
# There is notably a 21 bits limit for the UID and the GID. In fact,
3408
# the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3410
am_max_uid=2097151 # 2^21 - 1
3411
am_max_gid=$am_max_uid
3412
# The $UID and $GID variables are not portable, so we need to resort
3413
# to the POSIX-mandated id(1) utility. Errors in the 'id' calls
3414
# below are definitely unexpected, so allow the users to see them
3415
# (that is, avoid stderr redirection).
3416
am_uid=`id -u || echo unknown`
3417
am_gid=`id -g || echo unknown`
3418
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3419
$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3420
if test $am_uid -le $am_max_uid; then
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3422
$as_echo "yes" >&6; }
3424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425
$as_echo "no" >&6; }
3428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3429
$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3430
if test $am_gid -le $am_max_gid; then
3431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3432
$as_echo "yes" >&6; }
3434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435
$as_echo "no" >&6; }
3439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3440
$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3442
# Go ahead even if we have the value already cached. We do so because we
3443
# need to set the values for the 'am__tar' and 'am__untar' variables.
3444
_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3446
for _am_tool in $_am_tools; do
3449
for _am_tar in tar gnutar gtar; do
3450
{ echo "$as_me:$LINENO: $_am_tar --version" >&5
3451
($_am_tar --version) >&5 2>&5
3453
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454
(exit $ac_status); } && break
3456
am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3457
am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3458
am__untar="$_am_tar -xf -"
3461
# Must skip GNU tar: if it does not support --format= it doesn't create
3462
# ustar tarball either.
3463
(tar --version) >/dev/null 2>&1 && continue
3464
am__tar='tar chf - "$$tardir"'
3465
am__tar_='tar chf - "$tardir"'
3466
am__untar='tar xf -'
3469
am__tar='pax -L -x ustar -w "$$tardir"'
3470
am__tar_='pax -L -x ustar -w "$tardir"'
3474
am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3475
am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3476
am__untar='cpio -i -H ustar -d'
3485
# If the value was cached, stop now. We just wanted to have am__tar
3486
# and am__untar set.
3487
test -n "${am_cv_prog_tar_ustar}" && break
3489
# tar/untar a dummy directory, and stop if the command works.
3492
echo GrepMe > conftest.dir/file
3493
{ echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3494
(tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3496
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3497
(exit $ac_status); }
3499
if test -s conftest.tar; then
3500
{ echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3501
($am__untar <conftest.tar) >&5 2>&5
3503
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504
(exit $ac_status); }
3505
{ echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3506
(cat conftest.dir/file) >&5 2>&5
3508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509
(exit $ac_status); }
3510
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3515
if ${am_cv_prog_tar_ustar+:} false; then :
3516
$as_echo_n "(cached) " >&6
3518
am_cv_prog_tar_ustar=$_am_tool
3521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3522
$as_echo "$am_cv_prog_tar_ustar" >&6; }
3531
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3532
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3533
# Check whether --enable-maintainer-mode was given.
3534
if test "${enable_maintainer_mode+set}" = set; then :
3535
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3537
USE_MAINTAINER_MODE=yes
3540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3541
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3542
if test $USE_MAINTAINER_MODE = yes; then
3543
MAINTAINER_MODE_TRUE=
3544
MAINTAINER_MODE_FALSE='#'
3546
MAINTAINER_MODE_TRUE='#'
3547
MAINTAINER_MODE_FALSE=
3550
MAINT=$MAINTAINER_MODE_TRUE
3556
DISABLE_DEPRECATED=""
3557
if test $USE_MAINTAINER_MODE = yes; then
3558
DOMAINS="GCONF BONOBO BONOBO_UI GNOME LIBGLADE GNOME_VFS WNCK LIBSOUP"
3559
for DOMAIN in $DOMAINS; do
3560
DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
3567
# plugin API versioning
3568
# Increment on interface addition, reset on removal
3569
RHYTHMBOX_CORE_AGE=0
3570
# Increment on interface add, remove, or change
3571
RHYTHMBOX_CORE_CURRENT=8
3572
# Increment on source change, reset when CURRENT changes.
3573
RHYTHMBOX_CORE_REVISION=0
3579
# Check whether --enable-silent-rules was given.
3580
if test "${enable_silent_rules+set}" = set; then :
3581
enableval=$enable_silent_rules;
3584
case $enable_silent_rules in # (((
3585
yes) AM_DEFAULT_VERBOSITY=0;;
3586
no) AM_DEFAULT_VERBOSITY=1;;
3587
*) AM_DEFAULT_VERBOSITY=0;;
3589
am_make=${MAKE-make}
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3591
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3592
if ${am_cv_make_support_nested_variables+:} false; then :
3593
$as_echo_n "(cached) " >&6
3595
if $as_echo 'TRUE=$(BAR$(V))
3601
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3602
am_cv_make_support_nested_variables=yes
3604
am_cv_make_support_nested_variables=no
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3608
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3609
if test $am_cv_make_support_nested_variables = yes; then
3611
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3613
AM_V=$AM_DEFAULT_VERBOSITY
3614
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3621
GOBJECT_INTROSPECTION_REQS=0.10.0
3629
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3630
if test -n "$ac_tool_prefix"; then
3631
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3632
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634
$as_echo_n "checking for $ac_word... " >&6; }
3635
if ${ac_cv_path_PKG_CONFIG+:} false; then :
3636
$as_echo_n "(cached) " >&6
3640
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3643
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647
test -z "$as_dir" && as_dir=.
3648
for ac_exec_ext in '' $ac_executable_extensions; do
3649
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3650
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3651
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3662
if test -n "$PKG_CONFIG"; then
3663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3664
$as_echo "$PKG_CONFIG" >&6; }
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667
$as_echo "no" >&6; }
3672
if test -z "$ac_cv_path_PKG_CONFIG"; then
3673
ac_pt_PKG_CONFIG=$PKG_CONFIG
3674
# Extract the first word of "pkg-config", so it can be a program name with args.
3675
set dummy pkg-config; ac_word=$2
3676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677
$as_echo_n "checking for $ac_word... " >&6; }
3678
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3679
$as_echo_n "(cached) " >&6
3681
case $ac_pt_PKG_CONFIG in
3683
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3686
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3690
test -z "$as_dir" && as_dir=.
3691
for ac_exec_ext in '' $ac_executable_extensions; do
3692
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3694
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3705
if test -n "$ac_pt_PKG_CONFIG"; then
3706
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
3707
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
3709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710
$as_echo "no" >&6; }
3713
if test "x$ac_pt_PKG_CONFIG" = x; then
3716
case $cross_compiling:$ac_tool_warned in
3718
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3719
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3720
ac_tool_warned=yes ;;
3722
PKG_CONFIG=$ac_pt_PKG_CONFIG
3725
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3729
if test -n "$PKG_CONFIG"; then
3730
_pkg_min_version=0.9.0
3731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
3732
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
3733
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3735
$as_echo "yes" >&6; }
3737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738
$as_echo "no" >&6; }
3745
enable_introspection=yes
3747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
3748
$as_echo_n "checking for gobject-introspection... " >&6; }
3750
case $enable_introspection in #(
3752
found_introspection="no (disabled, use --enable-introspection to enable)"
3755
if test -n "$PKG_CONFIG" && \
3756
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
3757
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
3759
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3760
test $ac_status = 0; }; then
3763
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
3765
if test -n "$PKG_CONFIG" && \
3766
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS\""; } >&5
3767
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS") 2>&5
3769
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3770
test $ac_status = 0; }; then
3771
found_introspection=yes
3773
as_fn_error $? "You need to have gobject-introspection >= $GOBJECT_INTROSPECTION_REQS installed to build rhythmbox" "$LINENO" 5
3777
if test -n "$PKG_CONFIG" && \
3778
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS\""; } >&5
3779
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS") 2>&5
3781
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3782
test $ac_status = 0; }; then
3783
found_introspection=yes
3785
found_introspection=no
3787
enable_introspection=$found_introspection
3790
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
3794
$as_echo "$found_introspection" >&6; }
3796
INTROSPECTION_SCANNER=
3797
INTROSPECTION_COMPILER=
3798
INTROSPECTION_GENERATE=
3799
INTROSPECTION_GIRDIR=
3800
INTROSPECTION_TYPELIBDIR=
3801
if test "x$found_introspection" = "xyes"; then
3802
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
3803
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
3804
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
3805
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
3806
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
3807
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
3808
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
3809
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
3820
if test "x$found_introspection" = "xyes"; then
3821
HAVE_INTROSPECTION_TRUE=
3822
HAVE_INTROSPECTION_FALSE='#'
3824
HAVE_INTROSPECTION_TRUE='#'
3825
HAVE_INTROSPECTION_FALSE=
3832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
3833
$as_echo_n "checking whether NLS is requested... " >&6; }
3834
# Check whether --enable-nls was given.
3835
if test "${enable_nls+set}" = set; then :
3836
enableval=$enable_nls; USE_NLS=$enableval
3841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
3842
$as_echo "$USE_NLS" >&6; }
3845
DEPDIR="${am__leading_dot}deps"
3847
ac_config_commands="$ac_config_commands depfiles"
3850
am_make=${MAKE-make}
3851
cat > confinc << 'END'
3853
@echo this is the am__doit target
3856
# If we don't find an include directive, just comment out the code.
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3858
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3862
# First try GNU make style include.
3863
echo "include confinc" > confmf
3864
# Ignore all kinds of additional output from 'make'.
3865
case `$am_make -s -f confmf 2> /dev/null` in #(
3866
*the\ am__doit\ target*)
3872
# Now try BSD make style include.
3873
if test "$am__include" = "#"; then
3874
echo '.include "confinc"' > confmf
3875
case `$am_make -s -f confmf 2> /dev/null` in #(
3876
*the\ am__doit\ target*)
3877
am__include=.include
3885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3886
$as_echo "$_am_result" >&6; }
3887
rm -f confinc confmf
3889
# Check whether --enable-dependency-tracking was given.
3890
if test "${enable_dependency_tracking+set}" = set; then :
3891
enableval=$enable_dependency_tracking;
3894
if test "x$enable_dependency_tracking" != xno; then
3895
am_depcomp="$ac_aux_dir/depcomp"
3899
if test "x$enable_dependency_tracking" != xno; then
3909
ac_cpp='$CPP $CPPFLAGS'
3910
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3911
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3912
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3913
if test -n "$ac_tool_prefix"; then
3914
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3915
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3917
$as_echo_n "checking for $ac_word... " >&6; }
3918
if ${ac_cv_prog_CC+:} false; then :
3919
$as_echo_n "(cached) " >&6
3921
if test -n "$CC"; then
3922
ac_cv_prog_CC="$CC" # Let the user override the test.
3924
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3928
test -z "$as_dir" && as_dir=.
3929
for ac_exec_ext in '' $ac_executable_extensions; do
3930
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3931
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3932
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942
if test -n "$CC"; then
3943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3944
$as_echo "$CC" >&6; }
3946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3947
$as_echo "no" >&6; }
3952
if test -z "$ac_cv_prog_CC"; then
3954
# Extract the first word of "gcc", so it can be a program name with args.
3955
set dummy gcc; ac_word=$2
3956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3957
$as_echo_n "checking for $ac_word... " >&6; }
3958
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3959
$as_echo_n "(cached) " >&6
3961
if test -n "$ac_ct_CC"; then
3962
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3964
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3968
test -z "$as_dir" && as_dir=.
3969
for ac_exec_ext in '' $ac_executable_extensions; do
3970
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3971
ac_cv_prog_ac_ct_CC="gcc"
3972
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3981
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3982
if test -n "$ac_ct_CC"; then
3983
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3984
$as_echo "$ac_ct_CC" >&6; }
3986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3987
$as_echo "no" >&6; }
3990
if test "x$ac_ct_CC" = x; then
3993
case $cross_compiling:$ac_tool_warned in
3995
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3996
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3997
ac_tool_warned=yes ;;
4005
if test -z "$CC"; then
4006
if test -n "$ac_tool_prefix"; then
4007
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4008
set dummy ${ac_tool_prefix}cc; ac_word=$2
4009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4010
$as_echo_n "checking for $ac_word... " >&6; }
4011
if ${ac_cv_prog_CC+:} false; then :
4012
$as_echo_n "(cached) " >&6
4014
if test -n "$CC"; then
4015
ac_cv_prog_CC="$CC" # Let the user override the test.
4017
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4021
test -z "$as_dir" && as_dir=.
4022
for ac_exec_ext in '' $ac_executable_extensions; do
4023
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4024
ac_cv_prog_CC="${ac_tool_prefix}cc"
4025
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4035
if test -n "$CC"; then
4036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4037
$as_echo "$CC" >&6; }
4039
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4040
$as_echo "no" >&6; }
4046
if test -z "$CC"; then
4047
# Extract the first word of "cc", so it can be a program name with args.
4048
set dummy cc; ac_word=$2
4049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4050
$as_echo_n "checking for $ac_word... " >&6; }
4051
if ${ac_cv_prog_CC+:} false; then :
4052
$as_echo_n "(cached) " >&6
4054
if test -n "$CC"; then
4055
ac_cv_prog_CC="$CC" # Let the user override the test.
4058
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062
test -z "$as_dir" && as_dir=.
4063
for ac_exec_ext in '' $ac_executable_extensions; do
4064
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4065
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4066
ac_prog_rejected=yes
4070
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4077
if test $ac_prog_rejected = yes; then
4078
# We found a bogon in the path, so make sure we never use it.
4079
set dummy $ac_cv_prog_CC
4081
if test $# != 0; then
4082
# We chose a different compiler from the bogus one.
4083
# However, it has the same basename, so the bogon will be chosen
4084
# first if we set CC to just the basename; use the full file name.
4086
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4092
if test -n "$CC"; then
4093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4094
$as_echo "$CC" >&6; }
4096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4097
$as_echo "no" >&6; }
4102
if test -z "$CC"; then
4103
if test -n "$ac_tool_prefix"; then
4104
for ac_prog in cl.exe
4106
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4107
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4109
$as_echo_n "checking for $ac_word... " >&6; }
4110
if ${ac_cv_prog_CC+:} false; then :
4111
$as_echo_n "(cached) " >&6
4113
if test -n "$CC"; then
4114
ac_cv_prog_CC="$CC" # Let the user override the test.
4116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4120
test -z "$as_dir" && as_dir=.
4121
for ac_exec_ext in '' $ac_executable_extensions; do
4122
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4123
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4124
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4134
if test -n "$CC"; then
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4136
$as_echo "$CC" >&6; }
4138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4139
$as_echo "no" >&6; }
4143
test -n "$CC" && break
4146
if test -z "$CC"; then
4148
for ac_prog in cl.exe
4150
# Extract the first word of "$ac_prog", so it can be a program name with args.
4151
set dummy $ac_prog; ac_word=$2
4152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4153
$as_echo_n "checking for $ac_word... " >&6; }
4154
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4155
$as_echo_n "(cached) " >&6
4157
if test -n "$ac_ct_CC"; then
4158
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4160
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4164
test -z "$as_dir" && as_dir=.
4165
for ac_exec_ext in '' $ac_executable_extensions; do
4166
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4167
ac_cv_prog_ac_ct_CC="$ac_prog"
4168
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4177
ac_ct_CC=$ac_cv_prog_ac_ct_CC
4178
if test -n "$ac_ct_CC"; then
4179
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4180
$as_echo "$ac_ct_CC" >&6; }
4182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4183
$as_echo "no" >&6; }
4187
test -n "$ac_ct_CC" && break
4190
if test "x$ac_ct_CC" = x; then
4193
case $cross_compiling:$ac_tool_warned in
4195
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4196
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4197
ac_tool_warned=yes ;;
4206
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4207
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4208
as_fn_error $? "no acceptable C compiler found in \$PATH
4209
See \`config.log' for more details" "$LINENO" 5; }
4211
# Provide some information about the compiler.
4212
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4215
for ac_option in --version -v -V -qversion; do
4216
{ { ac_try="$ac_compiler $ac_option >&5"
4218
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219
*) ac_try_echo=$ac_try;;
4221
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4222
$as_echo "$ac_try_echo"; } >&5
4223
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4225
if test -s conftest.err; then
4227
... rest of stderr output deleted ...
4228
10q' conftest.err >conftest.er1
4229
cat conftest.er1 >&5
4231
rm -f conftest.er1 conftest.err
4232
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4233
test $ac_status = 0; }
4236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237
/* end confdefs.h. */
4247
ac_clean_files_save=$ac_clean_files
4248
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4249
# Try to create an executable without -o first, disregard a.out.
4250
# It will help us diagnose broken compilers, and finding out an intuition
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4253
$as_echo_n "checking whether the C compiler works... " >&6; }
4254
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4256
# The possible output files:
4257
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4260
for ac_file in $ac_files
4263
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4264
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
4269
if { { ac_try="$ac_link_default"
4271
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272
*) ac_try_echo=$ac_try;;
4274
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275
$as_echo "$ac_try_echo"; } >&5
4276
(eval "$ac_link_default") 2>&5
4278
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279
test $ac_status = 0; }; then :
4280
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4281
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4282
# in a Makefile. We should not override ac_cv_exeext if it was cached,
4283
# so that the user can short-circuit this test for compilers unknown to
4285
for ac_file in $ac_files ''
4287
test -f "$ac_file" || continue
4289
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4292
# We found the default executable, but exeext='' is most
4296
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4298
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4300
# We set ac_cv_exeext here because the later test for it is not
4301
# safe: cross compilers may not add the suffix if given an `-o'
4302
# argument, so we may need to know it at that point already.
4303
# Even if this section looks crufty: it has the advantage of
4310
test "$ac_cv_exeext" = no && ac_cv_exeext=
4315
if test -z "$ac_file"; then :
4316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4317
$as_echo "no" >&6; }
4318
$as_echo "$as_me: failed program was:" >&5
4319
sed 's/^/| /' conftest.$ac_ext >&5
4321
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323
as_fn_error 77 "C compiler cannot create executables
4324
See \`config.log' for more details" "$LINENO" 5; }
4326
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4327
$as_echo "yes" >&6; }
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4330
$as_echo_n "checking for C compiler default output file name... " >&6; }
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4332
$as_echo "$ac_file" >&6; }
4333
ac_exeext=$ac_cv_exeext
4335
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4336
ac_clean_files=$ac_clean_files_save
4337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4338
$as_echo_n "checking for suffix of executables... " >&6; }
4339
if { { ac_try="$ac_link"
4341
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4342
*) ac_try_echo=$ac_try;;
4344
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4345
$as_echo "$ac_try_echo"; } >&5
4346
(eval "$ac_link") 2>&5
4348
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4349
test $ac_status = 0; }; then :
4350
# If both `conftest.exe' and `conftest' are `present' (well, observable)
4351
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4352
# work properly (i.e., refer to `conftest.exe'), while it won't with
4354
for ac_file in conftest.exe conftest conftest.*; do
4355
test -f "$ac_file" || continue
4357
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4358
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4364
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4365
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4366
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4367
See \`config.log' for more details" "$LINENO" 5; }
4369
rm -f conftest conftest$ac_cv_exeext
4370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4371
$as_echo "$ac_cv_exeext" >&6; }
4373
rm -f conftest.$ac_ext
4374
EXEEXT=$ac_cv_exeext
4376
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377
/* end confdefs.h. */
4382
FILE *f = fopen ("conftest.out", "w");
4383
return ferror (f) || fclose (f) != 0;
4389
ac_clean_files="$ac_clean_files conftest.out"
4390
# Check that the compiler produces executables we can run. If not, either
4391
# the compiler is broken, or we cross compile.
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4393
$as_echo_n "checking whether we are cross compiling... " >&6; }
4394
if test "$cross_compiling" != yes; then
4395
{ { ac_try="$ac_link"
4397
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4398
*) ac_try_echo=$ac_try;;
4400
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4401
$as_echo "$ac_try_echo"; } >&5
4402
(eval "$ac_link") 2>&5
4404
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4405
test $ac_status = 0; }
4406
if { ac_try='./conftest$ac_cv_exeext'
4407
{ { case "(($ac_try" in
4408
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4409
*) ac_try_echo=$ac_try;;
4411
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4412
$as_echo "$ac_try_echo"; } >&5
4413
(eval "$ac_try") 2>&5
4415
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4416
test $ac_status = 0; }; }; then
4419
if test "$cross_compiling" = maybe; then
4422
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4423
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4424
as_fn_error $? "cannot run C compiled programs.
4425
If you meant to cross compile, use \`--host'.
4426
See \`config.log' for more details" "$LINENO" 5; }
4430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4431
$as_echo "$cross_compiling" >&6; }
4433
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4434
ac_clean_files=$ac_clean_files_save
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4436
$as_echo_n "checking for suffix of object files... " >&6; }
4437
if ${ac_cv_objext+:} false; then :
4438
$as_echo_n "(cached) " >&6
4440
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4441
/* end confdefs.h. */
4451
rm -f conftest.o conftest.obj
4452
if { { ac_try="$ac_compile"
4454
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4455
*) ac_try_echo=$ac_try;;
4457
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4458
$as_echo "$ac_try_echo"; } >&5
4459
(eval "$ac_compile") 2>&5
4461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462
test $ac_status = 0; }; then :
4463
for ac_file in conftest.o conftest.obj conftest.*; do
4464
test -f "$ac_file" || continue;
4466
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4467
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4472
$as_echo "$as_me: failed program was:" >&5
4473
sed 's/^/| /' conftest.$ac_ext >&5
4475
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4476
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4477
as_fn_error $? "cannot compute suffix of object files: cannot compile
4478
See \`config.log' for more details" "$LINENO" 5; }
4480
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4483
$as_echo "$ac_cv_objext" >&6; }
4484
OBJEXT=$ac_cv_objext
4486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4487
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4488
if ${ac_cv_c_compiler_gnu+:} false; then :
4489
$as_echo_n "(cached) " >&6
4491
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492
/* end confdefs.h. */
4505
if ac_fn_c_try_compile "$LINENO"; then :
4510
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4511
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4515
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4516
if test $ac_compiler_gnu = yes; then
4521
ac_test_CFLAGS=${CFLAGS+set}
4522
ac_save_CFLAGS=$CFLAGS
4523
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4524
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4525
if ${ac_cv_prog_cc_g+:} false; then :
4526
$as_echo_n "(cached) " >&6
4528
ac_save_c_werror_flag=$ac_c_werror_flag
4529
ac_c_werror_flag=yes
4532
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4533
/* end confdefs.h. */
4543
if ac_fn_c_try_compile "$LINENO"; then :
4547
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4548
/* end confdefs.h. */
4558
if ac_fn_c_try_compile "$LINENO"; then :
4561
ac_c_werror_flag=$ac_save_c_werror_flag
4563
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564
/* end confdefs.h. */
4574
if ac_fn_c_try_compile "$LINENO"; then :
4577
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4579
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582
ac_c_werror_flag=$ac_save_c_werror_flag
4584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4585
$as_echo "$ac_cv_prog_cc_g" >&6; }
4586
if test "$ac_test_CFLAGS" = set; then
4587
CFLAGS=$ac_save_CFLAGS
4588
elif test $ac_cv_prog_cc_g = yes; then
4589
if test "$GCC" = yes; then
4595
if test "$GCC" = yes; then
4601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4602
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4603
if ${ac_cv_prog_cc_c89+:} false; then :
4604
$as_echo_n "(cached) " >&6
4606
ac_cv_prog_cc_c89=no
4608
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4609
/* end confdefs.h. */
4613
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4614
struct buf { int x; };
4615
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4616
static char *e (p, i)
4622
static char *f (char * (*g) (char **, int), char **p, ...)
4627
s = g (p, va_arg (v,int));
4632
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4633
function prototypes and stuff, but not '\xHH' hex character constants.
4634
These don't provoke an error unfortunately, instead are silently treated
4635
as 'x'. The following induces an error, until -std is added to get
4636
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4637
array size at least. It's necessary to write '\x00'==0 to get something
4638
that's true only with -std. */
4639
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4641
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4642
inside strings and character constants. */
4644
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4646
int test (int i, double x);
4647
struct s1 {int (*f) (int a);};
4648
struct s2 {int (*f) (double a);};
4649
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4655
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4660
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4661
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4663
CC="$ac_save_CC $ac_arg"
4664
if ac_fn_c_try_compile "$LINENO"; then :
4665
ac_cv_prog_cc_c89=$ac_arg
4667
rm -f core conftest.err conftest.$ac_objext
4668
test "x$ac_cv_prog_cc_c89" != "xno" && break
4670
rm -f conftest.$ac_ext
4675
case "x$ac_cv_prog_cc_c89" in
4677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4678
$as_echo "none needed" >&6; } ;;
4680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4681
$as_echo "unsupported" >&6; } ;;
4683
CC="$CC $ac_cv_prog_cc_c89"
4684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4685
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4687
if test "x$ac_cv_prog_cc_c89" != xno; then :
4692
ac_cpp='$CPP $CPPFLAGS'
4693
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4694
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4695
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4697
depcc="$CC" am_compiler_list=
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4700
$as_echo_n "checking dependency style of $depcc... " >&6; }
4701
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4702
$as_echo_n "(cached) " >&6
4704
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4705
# We make a subdir and do the tests there. Otherwise we can end up
4706
# making bogus files that we don't know about and never remove. For
4707
# instance it was reported that on HP-UX the gcc test will end up
4708
# making a dummy file named 'D' -- because '-MD' means "put the output
4712
# Copy depcomp to subdir because otherwise we won't find it if we're
4713
# using a relative directory.
4714
cp "$am_depcomp" conftest.dir
4716
# We will build objects and dependencies in a subdirectory because
4717
# it helps to detect inapplicable dependency modes. For instance
4718
# both Tru64's cc and ICC support -MD to output dependencies as a
4719
# side effect of compilation, but ICC will put the dependencies in
4720
# the current directory while Tru64 will put them in the object
4724
am_cv_CC_dependencies_compiler_type=none
4725
if test "$am_compiler_list" = ""; then
4726
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4729
case " $depcc " in #(
4730
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4733
for depmode in $am_compiler_list; do
4734
# Setup a source with many dependencies, because some compilers
4735
# like to wrap large dependency lists on column 80 (with \), and
4736
# we should not choose a depcomp mode which is confused by this.
4738
# We need to recreate these files for each test, as the compiler may
4739
# overwrite some of them when testing with obscure command lines.
4740
# This happens at least with the AIX C compiler.
4742
for i in 1 2 3 4 5 6; do
4743
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4744
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4745
# Solaris 10 /bin/sh.
4746
echo '/* dummy */' > sub/conftst$i.h
4748
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4750
# We check with '-c' and '-o' for the sake of the "dashmstdout"
4751
# mode. It turns out that the SunPro C++ compiler does not properly
4752
# handle '-M -o', and we need to detect this. Also, some Intel
4753
# versions had trouble with output in subdirs.
4754
am__obj=sub/conftest.${OBJEXT-o}
4755
am__minus_obj="-o $am__obj"
4758
# This depmode causes a compiler race in universal mode.
4759
test "$am__universal" = false || continue
4762
# After this tag, mechanisms are not by side-effect, so they'll
4763
# only be used when explicitly requested.
4764
if test "x$enable_dependency_tracking" = xyes; then
4770
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4771
# This compiler won't grok '-c -o', but also, the minuso test has
4772
# not run yet. These depmodes are late enough in the game, and
4773
# so weak that their functioning should not be impacted.
4774
am__obj=conftest.${OBJEXT-o}
4779
if depmode=$depmode \
4780
source=sub/conftest.c object=$am__obj \
4781
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4782
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4783
>/dev/null 2>conftest.err &&
4784
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4785
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4786
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4787
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4788
# icc doesn't choke on unknown options, it will just issue warnings
4789
# or remarks (even with -Werror). So we grep stderr for any message
4790
# that says an option was ignored or not supported.
4791
# When given -MP, icc 7.0 and 7.1 complain thusly:
4792
# icc: Command line warning: ignoring option '-M'; no argument required
4793
# The diagnosis changed in icc 8.0:
4794
# icc: Command line remark: option '-MP' not supported
4795
if (grep 'ignoring option' conftest.err ||
4796
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4797
am_cv_CC_dependencies_compiler_type=$depmode
4806
am_cv_CC_dependencies_compiler_type=none
4810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4811
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4812
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4815
test "x$enable_dependency_tracking" != xno \
4816
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4818
am__fastdepCC_FALSE='#'
4820
am__fastdepCC_TRUE='#'
4821
am__fastdepCC_FALSE=
4828
case "$am__api_version" in
4830
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
4836
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4837
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
4838
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
4839
if test -n "0.35.0"; then
4840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
4841
$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
4842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
4843
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
4844
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
4845
as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5
4848
# Extract the first word of "intltool-update", so it can be a program name with args.
4849
set dummy intltool-update; ac_word=$2
4850
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4851
$as_echo_n "checking for $ac_word... " >&6; }
4852
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
4853
$as_echo_n "(cached) " >&6
4855
case $INTLTOOL_UPDATE in
4857
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
4860
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4864
test -z "$as_dir" && as_dir=.
4865
for ac_exec_ext in '' $ac_executable_extensions; do
4866
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4867
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
4868
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
4879
if test -n "$INTLTOOL_UPDATE"; then
4880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
4881
$as_echo "$INTLTOOL_UPDATE" >&6; }
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884
$as_echo "no" >&6; }
4888
# Extract the first word of "intltool-merge", so it can be a program name with args.
4889
set dummy intltool-merge; ac_word=$2
4890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4891
$as_echo_n "checking for $ac_word... " >&6; }
4892
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
4893
$as_echo_n "(cached) " >&6
4895
case $INTLTOOL_MERGE in
4897
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
4900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4904
test -z "$as_dir" && as_dir=.
4905
for ac_exec_ext in '' $ac_executable_extensions; do
4906
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4907
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
4908
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
4919
if test -n "$INTLTOOL_MERGE"; then
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
4921
$as_echo "$INTLTOOL_MERGE" >&6; }
4923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924
$as_echo "no" >&6; }
4928
# Extract the first word of "intltool-extract", so it can be a program name with args.
4929
set dummy intltool-extract; ac_word=$2
4930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931
$as_echo_n "checking for $ac_word... " >&6; }
4932
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
4933
$as_echo_n "(cached) " >&6
4935
case $INTLTOOL_EXTRACT in
4937
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
4940
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4944
test -z "$as_dir" && as_dir=.
4945
for ac_exec_ext in '' $ac_executable_extensions; do
4946
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4947
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
4948
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
4959
if test -n "$INTLTOOL_EXTRACT"; then
4960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
4961
$as_echo "$INTLTOOL_EXTRACT" >&6; }
4963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964
$as_echo "no" >&6; }
4968
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
4969
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
4972
if test -z "$AM_DEFAULT_VERBOSITY"; then
4973
AM_DEFAULT_VERBOSITY=1
4977
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
4978
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
4979
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
4984
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
4985
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
4986
intltool__v_merge_options_0='-q'
4991
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4992
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4993
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4994
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4995
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
4996
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4997
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4998
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
4999
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5000
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5001
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5002
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
5003
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
5005
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
5007
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5008
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5009
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5010
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5011
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5012
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5013
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
5111
# Check the gettext tools to make sure they are GNU
5112
# Extract the first word of "xgettext", so it can be a program name with args.
5113
set dummy xgettext; ac_word=$2
5114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115
$as_echo_n "checking for $ac_word... " >&6; }
5116
if ${ac_cv_path_XGETTEXT+:} false; then :
5117
$as_echo_n "(cached) " >&6
5121
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
5124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5128
test -z "$as_dir" && as_dir=.
5129
for ac_exec_ext in '' $ac_executable_extensions; do
5130
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5131
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
5132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5142
XGETTEXT=$ac_cv_path_XGETTEXT
5143
if test -n "$XGETTEXT"; then
5144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
5145
$as_echo "$XGETTEXT" >&6; }
5147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5148
$as_echo "no" >&6; }
5152
# Extract the first word of "msgmerge", so it can be a program name with args.
5153
set dummy msgmerge; ac_word=$2
5154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5155
$as_echo_n "checking for $ac_word... " >&6; }
5156
if ${ac_cv_path_MSGMERGE+:} false; then :
5157
$as_echo_n "(cached) " >&6
5161
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
5164
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5168
test -z "$as_dir" && as_dir=.
5169
for ac_exec_ext in '' $ac_executable_extensions; do
5170
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5171
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
5172
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5182
MSGMERGE=$ac_cv_path_MSGMERGE
5183
if test -n "$MSGMERGE"; then
5184
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
5185
$as_echo "$MSGMERGE" >&6; }
5187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5188
$as_echo "no" >&6; }
5192
# Extract the first word of "msgfmt", so it can be a program name with args.
5193
set dummy msgfmt; ac_word=$2
5194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5195
$as_echo_n "checking for $ac_word... " >&6; }
5196
if ${ac_cv_path_MSGFMT+:} false; then :
5197
$as_echo_n "(cached) " >&6
5201
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
5204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208
test -z "$as_dir" && as_dir=.
5209
for ac_exec_ext in '' $ac_executable_extensions; do
5210
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
5212
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5222
MSGFMT=$ac_cv_path_MSGFMT
5223
if test -n "$MSGFMT"; then
5224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5225
$as_echo "$MSGFMT" >&6; }
5227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228
$as_echo "no" >&6; }
5232
# Extract the first word of "gmsgfmt", so it can be a program name with args.
5233
set dummy gmsgfmt; ac_word=$2
5234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5235
$as_echo_n "checking for $ac_word... " >&6; }
5236
if ${ac_cv_path_GMSGFMT+:} false; then :
5237
$as_echo_n "(cached) " >&6
5241
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
5244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248
test -z "$as_dir" && as_dir=.
5249
for ac_exec_ext in '' $ac_executable_extensions; do
5250
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5251
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
5252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5259
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
5263
GMSGFMT=$ac_cv_path_GMSGFMT
5264
if test -n "$GMSGFMT"; then
5265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
5266
$as_echo "$GMSGFMT" >&6; }
5268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5269
$as_echo "no" >&6; }
5273
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
5274
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5276
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
5277
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
5278
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
5279
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
5280
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
5283
# Extract the first word of "perl", so it can be a program name with args.
5284
set dummy perl; ac_word=$2
5285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5286
$as_echo_n "checking for $ac_word... " >&6; }
5287
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
5288
$as_echo_n "(cached) " >&6
5290
case $INTLTOOL_PERL in
5292
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
5295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5299
test -z "$as_dir" && as_dir=.
5300
for ac_exec_ext in '' $ac_executable_extensions; do
5301
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5302
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
5303
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
5314
if test -n "$INTLTOOL_PERL"; then
5315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
5316
$as_echo "$INTLTOOL_PERL" >&6; }
5318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319
$as_echo "no" >&6; }
5323
if test -z "$INTLTOOL_PERL"; then
5324
as_fn_error $? "perl not found" "$LINENO" 5
5326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
5327
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
5328
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
5329
if test $? -ne 0; then
5330
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
5332
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
5333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
5334
$as_echo "$IT_PERL_VERSION" >&6; }
5336
if test "x" != "xno-xml"; then
5337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
5338
$as_echo_n "checking for XML::Parser... " >&6; }
5339
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
5340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
5341
$as_echo "ok" >&6; }
5343
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
5347
# Substitute ALL_LINGUAS so we can use it in po/Makefile
5350
# Set DATADIRNAME correctly if it is not set yet
5351
# (copied from glib-gettext.m4)
5352
if test -z "$DATADIRNAME"; then
5353
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5354
/* end confdefs.h. */
5359
extern int _nl_msg_cat_cntr;
5360
return _nl_msg_cat_cntr
5365
if ac_fn_c_try_link "$LINENO"; then :
5370
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
5371
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
5383
rm -f core conftest.err conftest.$ac_objext \
5384
conftest$ac_exeext conftest.$ac_ext
5392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
5393
$as_echo_n "checking for library containing strerror... " >&6; }
5394
if ${ac_cv_search_strerror+:} false; then :
5395
$as_echo_n "(cached) " >&6
5397
ac_func_search_save_LIBS=$LIBS
5398
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5399
/* end confdefs.h. */
5401
/* Override any GCC internal prototype to avoid an error.
5402
Use char because int might match the return type of a GCC
5403
builtin and then its argument prototype would still apply. */
5416
for ac_lib in '' cposix; do
5417
if test -z "$ac_lib"; then
5418
ac_res="none required"
5421
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5423
if ac_fn_c_try_link "$LINENO"; then :
5424
ac_cv_search_strerror=$ac_res
5426
rm -f core conftest.err conftest.$ac_objext \
5428
if ${ac_cv_search_strerror+:} false; then :
5432
if ${ac_cv_search_strerror+:} false; then :
5435
ac_cv_search_strerror=no
5438
LIBS=$ac_func_search_save_LIBS
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
5441
$as_echo "$ac_cv_search_strerror" >&6; }
5442
ac_res=$ac_cv_search_strerror
5443
if test "$ac_res" != no; then :
5444
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5449
ac_cpp='$CPP $CPPFLAGS'
5450
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5451
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5452
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5453
if test -n "$ac_tool_prefix"; then
5454
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5455
set dummy ${ac_tool_prefix}gcc; ac_word=$2
5456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457
$as_echo_n "checking for $ac_word... " >&6; }
5458
if ${ac_cv_prog_CC+:} false; then :
5459
$as_echo_n "(cached) " >&6
5461
if test -n "$CC"; then
5462
ac_cv_prog_CC="$CC" # Let the user override the test.
5464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468
test -z "$as_dir" && as_dir=.
5469
for ac_exec_ext in '' $ac_executable_extensions; do
5470
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471
ac_cv_prog_CC="${ac_tool_prefix}gcc"
5472
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5482
if test -n "$CC"; then
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5484
$as_echo "$CC" >&6; }
5486
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487
$as_echo "no" >&6; }
5492
if test -z "$ac_cv_prog_CC"; then
5494
# Extract the first word of "gcc", so it can be a program name with args.
5495
set dummy gcc; ac_word=$2
5496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497
$as_echo_n "checking for $ac_word... " >&6; }
5498
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5499
$as_echo_n "(cached) " >&6
5501
if test -n "$ac_ct_CC"; then
5502
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5504
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5508
test -z "$as_dir" && as_dir=.
5509
for ac_exec_ext in '' $ac_executable_extensions; do
5510
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511
ac_cv_prog_ac_ct_CC="gcc"
5512
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5521
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5522
if test -n "$ac_ct_CC"; then
5523
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5524
$as_echo "$ac_ct_CC" >&6; }
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527
$as_echo "no" >&6; }
5530
if test "x$ac_ct_CC" = x; then
5533
case $cross_compiling:$ac_tool_warned in
5535
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5536
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5537
ac_tool_warned=yes ;;
5545
if test -z "$CC"; then
5546
if test -n "$ac_tool_prefix"; then
5547
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5548
set dummy ${ac_tool_prefix}cc; ac_word=$2
5549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5550
$as_echo_n "checking for $ac_word... " >&6; }
5551
if ${ac_cv_prog_CC+:} false; then :
5552
$as_echo_n "(cached) " >&6
5554
if test -n "$CC"; then
5555
ac_cv_prog_CC="$CC" # Let the user override the test.
5557
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5561
test -z "$as_dir" && as_dir=.
5562
for ac_exec_ext in '' $ac_executable_extensions; do
5563
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5564
ac_cv_prog_CC="${ac_tool_prefix}cc"
5565
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5575
if test -n "$CC"; then
5576
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5577
$as_echo "$CC" >&6; }
5579
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5580
$as_echo "no" >&6; }
5586
if test -z "$CC"; then
5587
# Extract the first word of "cc", so it can be a program name with args.
5588
set dummy cc; ac_word=$2
5589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5590
$as_echo_n "checking for $ac_word... " >&6; }
5591
if ${ac_cv_prog_CC+:} false; then :
5592
$as_echo_n "(cached) " >&6
5594
if test -n "$CC"; then
5595
ac_cv_prog_CC="$CC" # Let the user override the test.
5598
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602
test -z "$as_dir" && as_dir=.
5603
for ac_exec_ext in '' $ac_executable_extensions; do
5604
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5605
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5606
ac_prog_rejected=yes
5610
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5617
if test $ac_prog_rejected = yes; then
5618
# We found a bogon in the path, so make sure we never use it.
5619
set dummy $ac_cv_prog_CC
5621
if test $# != 0; then
5622
# We chose a different compiler from the bogus one.
5623
# However, it has the same basename, so the bogon will be chosen
5624
# first if we set CC to just the basename; use the full file name.
5626
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
5632
if test -n "$CC"; then
5633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5634
$as_echo "$CC" >&6; }
5636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5637
$as_echo "no" >&6; }
5642
if test -z "$CC"; then
5643
if test -n "$ac_tool_prefix"; then
5644
for ac_prog in cl.exe
5646
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5647
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649
$as_echo_n "checking for $ac_word... " >&6; }
5650
if ${ac_cv_prog_CC+:} false; then :
5651
$as_echo_n "(cached) " >&6
5653
if test -n "$CC"; then
5654
ac_cv_prog_CC="$CC" # Let the user override the test.
5656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5660
test -z "$as_dir" && as_dir=.
5661
for ac_exec_ext in '' $ac_executable_extensions; do
5662
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5663
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
5664
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5674
if test -n "$CC"; then
5675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5676
$as_echo "$CC" >&6; }
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5679
$as_echo "no" >&6; }
5683
test -n "$CC" && break
5686
if test -z "$CC"; then
5688
for ac_prog in cl.exe
5690
# Extract the first word of "$ac_prog", so it can be a program name with args.
5691
set dummy $ac_prog; ac_word=$2
5692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693
$as_echo_n "checking for $ac_word... " >&6; }
5694
if ${ac_cv_prog_ac_ct_CC+:} false; then :
5695
$as_echo_n "(cached) " >&6
5697
if test -n "$ac_ct_CC"; then
5698
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5700
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704
test -z "$as_dir" && as_dir=.
5705
for ac_exec_ext in '' $ac_executable_extensions; do
5706
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707
ac_cv_prog_ac_ct_CC="$ac_prog"
5708
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5717
ac_ct_CC=$ac_cv_prog_ac_ct_CC
5718
if test -n "$ac_ct_CC"; then
5719
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5720
$as_echo "$ac_ct_CC" >&6; }
5722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723
$as_echo "no" >&6; }
5727
test -n "$ac_ct_CC" && break
5730
if test "x$ac_ct_CC" = x; then
5733
case $cross_compiling:$ac_tool_warned in
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5736
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5737
ac_tool_warned=yes ;;
5746
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5747
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5748
as_fn_error $? "no acceptable C compiler found in \$PATH
5749
See \`config.log' for more details" "$LINENO" 5; }
5751
# Provide some information about the compiler.
5752
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5755
for ac_option in --version -v -V -qversion; do
5756
{ { ac_try="$ac_compiler $ac_option >&5"
5758
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5759
*) ac_try_echo=$ac_try;;
5761
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5762
$as_echo "$ac_try_echo"; } >&5
5763
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
5765
if test -s conftest.err; then
5767
... rest of stderr output deleted ...
5768
10q' conftest.err >conftest.er1
5769
cat conftest.er1 >&5
5771
rm -f conftest.er1 conftest.err
5772
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5773
test $ac_status = 0; }
5776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5777
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5778
if ${ac_cv_c_compiler_gnu+:} false; then :
5779
$as_echo_n "(cached) " >&6
5781
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5782
/* end confdefs.h. */
5795
if ac_fn_c_try_compile "$LINENO"; then :
5800
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801
ac_cv_c_compiler_gnu=$ac_compiler_gnu
5804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5805
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
5806
if test $ac_compiler_gnu = yes; then
5811
ac_test_CFLAGS=${CFLAGS+set}
5812
ac_save_CFLAGS=$CFLAGS
5813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5814
$as_echo_n "checking whether $CC accepts -g... " >&6; }
5815
if ${ac_cv_prog_cc_g+:} false; then :
5816
$as_echo_n "(cached) " >&6
5818
ac_save_c_werror_flag=$ac_c_werror_flag
5819
ac_c_werror_flag=yes
5822
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5823
/* end confdefs.h. */
5833
if ac_fn_c_try_compile "$LINENO"; then :
5837
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838
/* end confdefs.h. */
5848
if ac_fn_c_try_compile "$LINENO"; then :
5851
ac_c_werror_flag=$ac_save_c_werror_flag
5853
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5854
/* end confdefs.h. */
5864
if ac_fn_c_try_compile "$LINENO"; then :
5867
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5869
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5871
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5872
ac_c_werror_flag=$ac_save_c_werror_flag
5874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5875
$as_echo "$ac_cv_prog_cc_g" >&6; }
5876
if test "$ac_test_CFLAGS" = set; then
5877
CFLAGS=$ac_save_CFLAGS
5878
elif test $ac_cv_prog_cc_g = yes; then
5879
if test "$GCC" = yes; then
5885
if test "$GCC" = yes; then
5891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5892
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5893
if ${ac_cv_prog_cc_c89+:} false; then :
5894
$as_echo_n "(cached) " >&6
5896
ac_cv_prog_cc_c89=no
5898
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5899
/* end confdefs.h. */
5903
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5904
struct buf { int x; };
5905
FILE * (*rcsopen) (struct buf *, struct stat *, int);
5906
static char *e (p, i)
5912
static char *f (char * (*g) (char **, int), char **p, ...)
5917
s = g (p, va_arg (v,int));
5922
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5923
function prototypes and stuff, but not '\xHH' hex character constants.
5924
These don't provoke an error unfortunately, instead are silently treated
5925
as 'x'. The following induces an error, until -std is added to get
5926
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5927
array size at least. It's necessary to write '\x00'==0 to get something
5928
that's true only with -std. */
5929
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5931
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5932
inside strings and character constants. */
5934
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5936
int test (int i, double x);
5937
struct s1 {int (*f) (int a);};
5938
struct s2 {int (*f) (double a);};
5939
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5945
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5950
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5951
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5953
CC="$ac_save_CC $ac_arg"
5954
if ac_fn_c_try_compile "$LINENO"; then :
5955
ac_cv_prog_cc_c89=$ac_arg
5957
rm -f core conftest.err conftest.$ac_objext
5958
test "x$ac_cv_prog_cc_c89" != "xno" && break
5960
rm -f conftest.$ac_ext
5965
case "x$ac_cv_prog_cc_c89" in
5967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5968
$as_echo "none needed" >&6; } ;;
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5971
$as_echo "unsupported" >&6; } ;;
5973
CC="$CC $ac_cv_prog_cc_c89"
5974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5975
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5977
if test "x$ac_cv_prog_cc_c89" != xno; then :
5982
ac_cpp='$CPP $CPPFLAGS'
5983
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5984
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5985
ac_compiler_gnu=$ac_cv_c_compiler_gnu
5987
depcc="$CC" am_compiler_list=
5989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5990
$as_echo_n "checking dependency style of $depcc... " >&6; }
5991
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5992
$as_echo_n "(cached) " >&6
5994
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5995
# We make a subdir and do the tests there. Otherwise we can end up
5996
# making bogus files that we don't know about and never remove. For
5997
# instance it was reported that on HP-UX the gcc test will end up
5998
# making a dummy file named 'D' -- because '-MD' means "put the output
6002
# Copy depcomp to subdir because otherwise we won't find it if we're
6003
# using a relative directory.
6004
cp "$am_depcomp" conftest.dir
6006
# We will build objects and dependencies in a subdirectory because
6007
# it helps to detect inapplicable dependency modes. For instance
6008
# both Tru64's cc and ICC support -MD to output dependencies as a
6009
# side effect of compilation, but ICC will put the dependencies in
6010
# the current directory while Tru64 will put them in the object
6014
am_cv_CC_dependencies_compiler_type=none
6015
if test "$am_compiler_list" = ""; then
6016
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
6019
case " $depcc " in #(
6020
*\ -arch\ *\ -arch\ *) am__universal=true ;;
6023
for depmode in $am_compiler_list; do
6024
# Setup a source with many dependencies, because some compilers
6025
# like to wrap large dependency lists on column 80 (with \), and
6026
# we should not choose a depcomp mode which is confused by this.
6028
# We need to recreate these files for each test, as the compiler may
6029
# overwrite some of them when testing with obscure command lines.
6030
# This happens at least with the AIX C compiler.
6032
for i in 1 2 3 4 5 6; do
6033
echo '#include "conftst'$i'.h"' >> sub/conftest.c
6034
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
6035
# Solaris 10 /bin/sh.
6036
echo '/* dummy */' > sub/conftst$i.h
6038
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
6040
# We check with '-c' and '-o' for the sake of the "dashmstdout"
6041
# mode. It turns out that the SunPro C++ compiler does not properly
6042
# handle '-M -o', and we need to detect this. Also, some Intel
6043
# versions had trouble with output in subdirs.
6044
am__obj=sub/conftest.${OBJEXT-o}
6045
am__minus_obj="-o $am__obj"
6048
# This depmode causes a compiler race in universal mode.
6049
test "$am__universal" = false || continue
6052
# After this tag, mechanisms are not by side-effect, so they'll
6053
# only be used when explicitly requested.
6054
if test "x$enable_dependency_tracking" = xyes; then
6060
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
6061
# This compiler won't grok '-c -o', but also, the minuso test has
6062
# not run yet. These depmodes are late enough in the game, and
6063
# so weak that their functioning should not be impacted.
6064
am__obj=conftest.${OBJEXT-o}
6069
if depmode=$depmode \
6070
source=sub/conftest.c object=$am__obj \
6071
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
6072
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
6073
>/dev/null 2>conftest.err &&
6074
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
6075
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
6076
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
6077
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
6078
# icc doesn't choke on unknown options, it will just issue warnings
6079
# or remarks (even with -Werror). So we grep stderr for any message
6080
# that says an option was ignored or not supported.
6081
# When given -MP, icc 7.0 and 7.1 complain thusly:
6082
# icc: Command line warning: ignoring option '-M'; no argument required
6083
# The diagnosis changed in icc 8.0:
6084
# icc: Command line remark: option '-MP' not supported
6085
if (grep 'ignoring option' conftest.err ||
6086
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
6087
am_cv_CC_dependencies_compiler_type=$depmode
6096
am_cv_CC_dependencies_compiler_type=none
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
6101
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
6102
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
6105
test "x$enable_dependency_tracking" != xno \
6106
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
6108
am__fastdepCC_FALSE='#'
6110
am__fastdepCC_TRUE='#'
6111
am__fastdepCC_FALSE=
6116
ac_cpp='$CPP $CPPFLAGS'
6117
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6118
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6121
$as_echo_n "checking how to run the C preprocessor... " >&6; }
6122
# On Suns, sometimes $CPP names a directory.
6123
if test -n "$CPP" && test -d "$CPP"; then
6126
if test -z "$CPP"; then
6127
if ${ac_cv_prog_CPP+:} false; then :
6128
$as_echo_n "(cached) " >&6
6130
# Double quotes because CPP needs to be expanded
6131
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6134
for ac_c_preproc_warn_flag in '' yes
6136
# Use a header file that comes with gcc, so configuring glibc
6137
# with a fresh cross-compiler works.
6138
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6139
# <limits.h> exists even on freestanding compilers.
6140
# On the NeXT, cc -E runs the code through the compiler's parser,
6141
# not just through cpp. "Syntax error" is here to catch this case.
6142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6143
/* end confdefs.h. */
6145
# include <limits.h>
6147
# include <assert.h>
6151
if ac_fn_c_try_cpp "$LINENO"; then :
6154
# Broken: fails on valid input.
6157
rm -f conftest.err conftest.i conftest.$ac_ext
6159
# OK, works on sane cases. Now check whether nonexistent headers
6160
# can be detected and how.
6161
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6162
/* end confdefs.h. */
6163
#include <ac_nonexistent.h>
6165
if ac_fn_c_try_cpp "$LINENO"; then :
6166
# Broken: success on invalid input.
6169
# Passes both tests.
6173
rm -f conftest.err conftest.i conftest.$ac_ext
6176
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6177
rm -f conftest.i conftest.err conftest.$ac_ext
6178
if $ac_preproc_ok; then :
6190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6191
$as_echo "$CPP" >&6; }
6193
for ac_c_preproc_warn_flag in '' yes
6195
# Use a header file that comes with gcc, so configuring glibc
6196
# with a fresh cross-compiler works.
6197
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6198
# <limits.h> exists even on freestanding compilers.
6199
# On the NeXT, cc -E runs the code through the compiler's parser,
6200
# not just through cpp. "Syntax error" is here to catch this case.
6201
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6202
/* end confdefs.h. */
6204
# include <limits.h>
6206
# include <assert.h>
6210
if ac_fn_c_try_cpp "$LINENO"; then :
6213
# Broken: fails on valid input.
6216
rm -f conftest.err conftest.i conftest.$ac_ext
6218
# OK, works on sane cases. Now check whether nonexistent headers
6219
# can be detected and how.
6220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6221
/* end confdefs.h. */
6222
#include <ac_nonexistent.h>
6224
if ac_fn_c_try_cpp "$LINENO"; then :
6225
# Broken: success on invalid input.
6228
# Passes both tests.
6232
rm -f conftest.err conftest.i conftest.$ac_ext
6235
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6236
rm -f conftest.i conftest.err conftest.$ac_ext
6237
if $ac_preproc_ok; then :
6240
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6241
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6242
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6243
See \`config.log' for more details" "$LINENO" 5; }
6247
ac_cpp='$CPP $CPPFLAGS'
6248
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6249
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6250
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6254
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6255
if ${ac_cv_path_GREP+:} false; then :
6256
$as_echo_n "(cached) " >&6
6258
if test -z "$GREP"; then
6259
ac_path_GREP_found=false
6260
# Loop through the user's path and test for each of PROGNAME-LIST
6261
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6265
test -z "$as_dir" && as_dir=.
6266
for ac_prog in grep ggrep; do
6267
for ac_exec_ext in '' $ac_executable_extensions; do
6268
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6269
as_fn_executable_p "$ac_path_GREP" || continue
6270
# Check for GNU ac_path_GREP and select it if it is found.
6271
# Check for GNU $ac_path_GREP
6272
case `"$ac_path_GREP" --version 2>&1` in
6274
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6277
$as_echo_n 0123456789 >"conftest.in"
6280
cat "conftest.in" "conftest.in" >"conftest.tmp"
6281
mv "conftest.tmp" "conftest.in"
6282
cp "conftest.in" "conftest.nl"
6283
$as_echo 'GREP' >> "conftest.nl"
6284
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6285
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6286
as_fn_arith $ac_count + 1 && ac_count=$as_val
6287
if test $ac_count -gt ${ac_path_GREP_max-0}; then
6288
# Best one so far, save it but keep looking for a better one
6289
ac_cv_path_GREP="$ac_path_GREP"
6290
ac_path_GREP_max=$ac_count
6292
# 10*(2^10) chars as input seems more than enough
6293
test $ac_count -gt 10 && break
6295
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6298
$ac_path_GREP_found && break 3
6303
if test -z "$ac_cv_path_GREP"; then
6304
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6307
ac_cv_path_GREP=$GREP
6311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6312
$as_echo "$ac_cv_path_GREP" >&6; }
6313
GREP="$ac_cv_path_GREP"
6316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6317
$as_echo_n "checking for egrep... " >&6; }
6318
if ${ac_cv_path_EGREP+:} false; then :
6319
$as_echo_n "(cached) " >&6
6321
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6322
then ac_cv_path_EGREP="$GREP -E"
6324
if test -z "$EGREP"; then
6325
ac_path_EGREP_found=false
6326
# Loop through the user's path and test for each of PROGNAME-LIST
6327
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6331
test -z "$as_dir" && as_dir=.
6332
for ac_prog in egrep; do
6333
for ac_exec_ext in '' $ac_executable_extensions; do
6334
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6335
as_fn_executable_p "$ac_path_EGREP" || continue
6336
# Check for GNU ac_path_EGREP and select it if it is found.
6337
# Check for GNU $ac_path_EGREP
6338
case `"$ac_path_EGREP" --version 2>&1` in
6340
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6343
$as_echo_n 0123456789 >"conftest.in"
6346
cat "conftest.in" "conftest.in" >"conftest.tmp"
6347
mv "conftest.tmp" "conftest.in"
6348
cp "conftest.in" "conftest.nl"
6349
$as_echo 'EGREP' >> "conftest.nl"
6350
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6351
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6352
as_fn_arith $ac_count + 1 && ac_count=$as_val
6353
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6354
# Best one so far, save it but keep looking for a better one
6355
ac_cv_path_EGREP="$ac_path_EGREP"
6356
ac_path_EGREP_max=$ac_count
6358
# 10*(2^10) chars as input seems more than enough
6359
test $ac_count -gt 10 && break
6361
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6364
$ac_path_EGREP_found && break 3
6369
if test -z "$ac_cv_path_EGREP"; then
6370
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6373
ac_cv_path_EGREP=$EGREP
6378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6379
$as_echo "$ac_cv_path_EGREP" >&6; }
6380
EGREP="$ac_cv_path_EGREP"
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6384
$as_echo_n "checking for ANSI C header files... " >&6; }
6385
if ${ac_cv_header_stdc+:} false; then :
6386
$as_echo_n "(cached) " >&6
6388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6389
/* end confdefs.h. */
6403
if ac_fn_c_try_compile "$LINENO"; then :
6404
ac_cv_header_stdc=yes
6406
ac_cv_header_stdc=no
6408
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6410
if test $ac_cv_header_stdc = yes; then
6411
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6412
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6413
/* end confdefs.h. */
6417
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6418
$EGREP "memchr" >/dev/null 2>&1; then :
6421
ac_cv_header_stdc=no
6427
if test $ac_cv_header_stdc = yes; then
6428
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6430
/* end confdefs.h. */
6434
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6435
$EGREP "free" >/dev/null 2>&1; then :
6438
ac_cv_header_stdc=no
6444
if test $ac_cv_header_stdc = yes; then
6445
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6446
if test "$cross_compiling" = yes; then :
6449
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6450
/* end confdefs.h. */
6453
#if ((' ' & 0x0FF) == 0x020)
6454
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6455
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6457
# define ISLOWER(c) \
6458
(('a' <= (c) && (c) <= 'i') \
6459
|| ('j' <= (c) && (c) <= 'r') \
6460
|| ('s' <= (c) && (c) <= 'z'))
6461
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6464
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6469
for (i = 0; i < 256; i++)
6470
if (XOR (islower (i), ISLOWER (i))
6471
|| toupper (i) != TOUPPER (i))
6476
if ac_fn_c_try_run "$LINENO"; then :
6479
ac_cv_header_stdc=no
6481
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6482
conftest.$ac_objext conftest.beam conftest.$ac_ext
6487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6488
$as_echo "$ac_cv_header_stdc" >&6; }
6489
if test $ac_cv_header_stdc = yes; then
6491
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
6497
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6498
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6503
macro_version='2.4.2'
6504
macro_revision='1.3337'
6518
ltmain="$ac_aux_dir/ltmain.sh"
6520
# Make sure we can run config.sub.
6521
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6522
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6525
$as_echo_n "checking build system type... " >&6; }
6526
if ${ac_cv_build+:} false; then :
6527
$as_echo_n "(cached) " >&6
6529
ac_build_alias=$build_alias
6530
test "x$ac_build_alias" = x &&
6531
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6532
test "x$ac_build_alias" = x &&
6533
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6534
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6535
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6539
$as_echo "$ac_cv_build" >&6; }
6540
case $ac_cv_build in
6542
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6545
ac_save_IFS=$IFS; IFS='-'
6551
# Remember, the first character of IFS is used to create $*,
6552
# except with old shells:
6555
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6559
$as_echo_n "checking host system type... " >&6; }
6560
if ${ac_cv_host+:} false; then :
6561
$as_echo_n "(cached) " >&6
6563
if test "x$host_alias" = x; then
6564
ac_cv_host=$ac_cv_build
6566
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6567
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6572
$as_echo "$ac_cv_host" >&6; }
6575
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6578
ac_save_IFS=$IFS; IFS='-'
6584
# Remember, the first character of IFS is used to create $*,
6585
# except with old shells:
6588
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6591
# Backslashify metacharacters that are still active within
6592
# double-quoted strings.
6593
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6595
# Same as above, but do not quote variable references.
6596
double_quote_subst='s/\(["`\\]\)/\\\1/g'
6598
# Sed substitution to delay expansion of an escaped shell variable in a
6599
# double_quote_subst'ed string.
6600
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6602
# Sed substitution to delay expansion of an escaped single quote.
6603
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6605
# Sed substitution to avoid accidental globbing in evaled expressions
6606
no_glob_subst='s/\*/\\\*/g'
6608
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6609
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6610
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6613
$as_echo_n "checking how to print strings... " >&6; }
6614
# Test print first, because it will be a builtin if present.
6615
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6616
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6618
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6621
# Use this function as a fallback that always works.
6622
func_fallback_echo ()
6624
eval 'cat <<_LTECHO_EOF
6628
ECHO='func_fallback_echo'
6631
# func_echo_all arg...
6632
# Invoke $ECHO with all args, space-separated.
6639
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6640
$as_echo "printf" >&6; } ;;
6641
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6642
$as_echo "print -r" >&6; } ;;
6643
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6644
$as_echo "cat" >&6; } ;;
6660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6661
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6662
if ${ac_cv_path_SED+:} false; then :
6663
$as_echo_n "(cached) " >&6
6665
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6666
for ac_i in 1 2 3 4 5 6 7; do
6667
ac_script="$ac_script$as_nl$ac_script"
6669
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6670
{ ac_script=; unset ac_script;}
6671
if test -z "$SED"; then
6672
ac_path_SED_found=false
6673
# Loop through the user's path and test for each of PROGNAME-LIST
6674
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6678
test -z "$as_dir" && as_dir=.
6679
for ac_prog in sed gsed; do
6680
for ac_exec_ext in '' $ac_executable_extensions; do
6681
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6682
as_fn_executable_p "$ac_path_SED" || continue
6683
# Check for GNU ac_path_SED and select it if it is found.
6684
# Check for GNU $ac_path_SED
6685
case `"$ac_path_SED" --version 2>&1` in
6687
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6690
$as_echo_n 0123456789 >"conftest.in"
6693
cat "conftest.in" "conftest.in" >"conftest.tmp"
6694
mv "conftest.tmp" "conftest.in"
6695
cp "conftest.in" "conftest.nl"
6696
$as_echo '' >> "conftest.nl"
6697
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6698
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6699
as_fn_arith $ac_count + 1 && ac_count=$as_val
6700
if test $ac_count -gt ${ac_path_SED_max-0}; then
6701
# Best one so far, save it but keep looking for a better one
6702
ac_cv_path_SED="$ac_path_SED"
6703
ac_path_SED_max=$ac_count
6705
# 10*(2^10) chars as input seems more than enough
6706
test $ac_count -gt 10 && break
6708
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6711
$ac_path_SED_found && break 3
6716
if test -z "$ac_cv_path_SED"; then
6717
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6724
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6725
$as_echo "$ac_cv_path_SED" >&6; }
6726
SED="$ac_cv_path_SED"
6729
test -z "$SED" && SED=sed
6730
Xsed="$SED -e 1s/^X//"
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6743
$as_echo_n "checking for fgrep... " >&6; }
6744
if ${ac_cv_path_FGREP+:} false; then :
6745
$as_echo_n "(cached) " >&6
6747
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6748
then ac_cv_path_FGREP="$GREP -F"
6750
if test -z "$FGREP"; then
6751
ac_path_FGREP_found=false
6752
# Loop through the user's path and test for each of PROGNAME-LIST
6753
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6754
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6757
test -z "$as_dir" && as_dir=.
6758
for ac_prog in fgrep; do
6759
for ac_exec_ext in '' $ac_executable_extensions; do
6760
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6761
as_fn_executable_p "$ac_path_FGREP" || continue
6762
# Check for GNU ac_path_FGREP and select it if it is found.
6763
# Check for GNU $ac_path_FGREP
6764
case `"$ac_path_FGREP" --version 2>&1` in
6766
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6769
$as_echo_n 0123456789 >"conftest.in"
6772
cat "conftest.in" "conftest.in" >"conftest.tmp"
6773
mv "conftest.tmp" "conftest.in"
6774
cp "conftest.in" "conftest.nl"
6775
$as_echo 'FGREP' >> "conftest.nl"
6776
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6777
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6778
as_fn_arith $ac_count + 1 && ac_count=$as_val
6779
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6780
# Best one so far, save it but keep looking for a better one
6781
ac_cv_path_FGREP="$ac_path_FGREP"
6782
ac_path_FGREP_max=$ac_count
6784
# 10*(2^10) chars as input seems more than enough
6785
test $ac_count -gt 10 && break
6787
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6790
$ac_path_FGREP_found && break 3
6795
if test -z "$ac_cv_path_FGREP"; then
6796
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6799
ac_cv_path_FGREP=$FGREP
6804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6805
$as_echo "$ac_cv_path_FGREP" >&6; }
6806
FGREP="$ac_cv_path_FGREP"
6809
test -z "$GREP" && GREP=grep
6829
# Check whether --with-gnu-ld was given.
6830
if test "${with_gnu_ld+set}" = set; then :
6831
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6837
if test "$GCC" = yes; then
6838
# Check if gcc -print-prog-name=ld gives a path.
6839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6840
$as_echo_n "checking for ld used by $CC... " >&6; }
6843
# gcc leaves a trailing carriage return which upsets mingw
6844
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6846
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6849
# Accept absolute paths.
6851
re_direlt='/[^/][^/]*/\.\./'
6852
# Canonicalize the pathname of ld
6853
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6854
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6855
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6857
test -z "$LD" && LD="$ac_prog"
6860
# If it fails, then pretend we aren't using GCC.
6864
# If it is relative, then search for the first ld in PATH.
6868
elif test "$with_gnu_ld" = yes; then
6869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6870
$as_echo_n "checking for GNU ld... " >&6; }
6872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6873
$as_echo_n "checking for non-GNU ld... " >&6; }
6875
if ${lt_cv_path_LD+:} false; then :
6876
$as_echo_n "(cached) " >&6
6878
if test -z "$LD"; then
6879
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6880
for ac_dir in $PATH; do
6882
test -z "$ac_dir" && ac_dir=.
6883
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6884
lt_cv_path_LD="$ac_dir/$ac_prog"
6885
# Check to see if the program is GNU ld. I'd rather use --version,
6886
# but apparently some variants of GNU ld only accept -v.
6887
# Break only if it was the GNU/non-GNU ld that we prefer.
6888
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6889
*GNU* | *'with BFD'*)
6890
test "$with_gnu_ld" != no && break
6893
test "$with_gnu_ld" != yes && break
6900
lt_cv_path_LD="$LD" # Let the user override the test with a path.
6905
if test -n "$LD"; then
6906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6907
$as_echo "$LD" >&6; }
6909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
$as_echo "no" >&6; }
6912
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6913
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6914
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6915
if ${lt_cv_prog_gnu_ld+:} false; then :
6916
$as_echo_n "(cached) " >&6
6918
# I'd rather use --version here, but apparently some GNU lds only accept -v.
6919
case `$LD -v 2>&1 </dev/null` in
6920
*GNU* | *'with BFD'*)
6921
lt_cv_prog_gnu_ld=yes
6924
lt_cv_prog_gnu_ld=no
6928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6929
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6930
with_gnu_ld=$lt_cv_prog_gnu_ld
6940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6941
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6942
if ${lt_cv_path_NM+:} false; then :
6943
$as_echo_n "(cached) " >&6
6945
if test -n "$NM"; then
6946
# Let the user override the test.
6949
lt_nm_to_check="${ac_tool_prefix}nm"
6950
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6951
lt_nm_to_check="$lt_nm_to_check nm"
6953
for lt_tmp_nm in $lt_nm_to_check; do
6954
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6955
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6957
test -z "$ac_dir" && ac_dir=.
6958
tmp_nm="$ac_dir/$lt_tmp_nm"
6959
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6960
# Check to see if the nm accepts a BSD-compat flag.
6961
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
6962
# nm: unknown option "B" ignored
6963
# Tru64's nm complains that /dev/null is an invalid object file
6964
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6965
*/dev/null* | *'Invalid file or object type'*)
6966
lt_cv_path_NM="$tmp_nm -B"
6970
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6972
lt_cv_path_NM="$tmp_nm -p"
6976
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6977
continue # so that we can try to find one that supports BSD flags
6986
: ${lt_cv_path_NM=no}
6989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6990
$as_echo "$lt_cv_path_NM" >&6; }
6991
if test "$lt_cv_path_NM" != "no"; then
6994
# Didn't find any BSD compatible name lister, look for dumpbin.
6995
if test -n "$DUMPBIN"; then :
6996
# Let the user override the test.
6998
if test -n "$ac_tool_prefix"; then
6999
for ac_prog in dumpbin "link -dump"
7001
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7002
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7004
$as_echo_n "checking for $ac_word... " >&6; }
7005
if ${ac_cv_prog_DUMPBIN+:} false; then :
7006
$as_echo_n "(cached) " >&6
7008
if test -n "$DUMPBIN"; then
7009
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7011
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7015
test -z "$as_dir" && as_dir=.
7016
for ac_exec_ext in '' $ac_executable_extensions; do
7017
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7018
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7019
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7028
DUMPBIN=$ac_cv_prog_DUMPBIN
7029
if test -n "$DUMPBIN"; then
7030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7031
$as_echo "$DUMPBIN" >&6; }
7033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7034
$as_echo "no" >&6; }
7038
test -n "$DUMPBIN" && break
7041
if test -z "$DUMPBIN"; then
7042
ac_ct_DUMPBIN=$DUMPBIN
7043
for ac_prog in dumpbin "link -dump"
7045
# Extract the first word of "$ac_prog", so it can be a program name with args.
7046
set dummy $ac_prog; ac_word=$2
7047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048
$as_echo_n "checking for $ac_word... " >&6; }
7049
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7050
$as_echo_n "(cached) " >&6
7052
if test -n "$ac_ct_DUMPBIN"; then
7053
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059
test -z "$as_dir" && as_dir=.
7060
for ac_exec_ext in '' $ac_executable_extensions; do
7061
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7063
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7073
if test -n "$ac_ct_DUMPBIN"; then
7074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7075
$as_echo "$ac_ct_DUMPBIN" >&6; }
7077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078
$as_echo "no" >&6; }
7082
test -n "$ac_ct_DUMPBIN" && break
7085
if test "x$ac_ct_DUMPBIN" = x; then
7088
case $cross_compiling:$ac_tool_warned in
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7091
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7092
ac_tool_warned=yes ;;
7094
DUMPBIN=$ac_ct_DUMPBIN
7098
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7100
DUMPBIN="$DUMPBIN -symbols"
7108
if test "$DUMPBIN" != ":"; then
7112
test -z "$NM" && NM=nm
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7120
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
7121
if ${lt_cv_nm_interface+:} false; then :
7122
$as_echo_n "(cached) " >&6
7124
lt_cv_nm_interface="BSD nm"
7125
echo "int some_variable = 0;" > conftest.$ac_ext
7126
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7127
(eval "$ac_compile" 2>conftest.err)
7128
cat conftest.err >&5
7129
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7130
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7131
cat conftest.err >&5
7132
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
7133
cat conftest.out >&5
7134
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7135
lt_cv_nm_interface="MS dumpbin"
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7140
$as_echo "$lt_cv_nm_interface" >&6; }
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7143
$as_echo_n "checking whether ln -s works... " >&6; }
7145
if test "$LN_S" = "ln -s"; then
7146
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7147
$as_echo "yes" >&6; }
7149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7150
$as_echo "no, using $LN_S" >&6; }
7153
# find the maximum length of command line arguments
7154
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7155
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7156
if ${lt_cv_sys_max_cmd_len+:} false; then :
7157
$as_echo_n "(cached) " >&6
7164
# On DJGPP, this test can blow up pretty badly due to problems in libc
7165
# (any single argument exceeding 2000 bytes causes a buffer overrun
7166
# during glob expansion). Even if it were fixed, the result of this
7167
# check would be larger than it should be.
7168
lt_cv_sys_max_cmd_len=12288; # 12K is about right
7172
# Under GNU Hurd, this test is not required because there is
7173
# no limit to the length of command line arguments.
7174
# Libtool will interpret -1 as no limit whatsoever
7175
lt_cv_sys_max_cmd_len=-1;
7178
cygwin* | mingw* | cegcc*)
7179
# On Win9x/ME, this test blows up -- it succeeds, but takes
7180
# about 5 minutes as the teststring grows exponentially.
7181
# Worse, since 9x/ME are not pre-emptively multitasking,
7182
# you end up with a "frozen" computer, even though with patience
7183
# the test eventually succeeds (with a max line length of 256k).
7184
# Instead, let's just punt: use the minimum linelength reported by
7185
# all of the supported platforms: 8192 (on NT/2K/XP).
7186
lt_cv_sys_max_cmd_len=8192;
7190
# On MiNT this can take a long time and run out of memory.
7191
lt_cv_sys_max_cmd_len=8192;
7195
# On AmigaOS with pdksh, this test takes hours, literally.
7196
# So we just punt and use a minimum line length of 8192.
7197
lt_cv_sys_max_cmd_len=8192;
7200
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7201
# This has been around since 386BSD, at least. Likely further.
7202
if test -x /sbin/sysctl; then
7203
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7204
elif test -x /usr/sbin/sysctl; then
7205
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7207
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7209
# And add a safety zone
7210
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7211
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7215
# We know the value 262144 and hardcode it with a safety zone (like BSD)
7216
lt_cv_sys_max_cmd_len=196608
7220
# The test takes a long time on OS/2.
7221
lt_cv_sys_max_cmd_len=8192
7225
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7226
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7227
# nice to cause kernel panics so lets avoid the loop below.
7228
# First set a reasonable default.
7229
lt_cv_sys_max_cmd_len=16384
7231
if test -x /sbin/sysconfig; then
7232
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7233
*1*) lt_cv_sys_max_cmd_len=-1 ;;
7238
lt_cv_sys_max_cmd_len=102400
7240
sysv5* | sco5v6* | sysv4.2uw2*)
7241
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7242
if test -n "$kargmax"; then
7243
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7245
lt_cv_sys_max_cmd_len=32768
7249
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7250
if test -n "$lt_cv_sys_max_cmd_len"; then
7251
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7252
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7254
# Make teststring a little bigger before we do anything with it.
7255
# a 1K string should be a reasonable start.
7256
for i in 1 2 3 4 5 6 7 8 ; do
7257
teststring=$teststring$teststring
7259
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7260
# If test is not a shell built-in, we'll probably end up computing a
7261
# maximum length that is only half of the actual maximum length, but
7263
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7264
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
7265
test $i != 17 # 1/2 MB should be enough
7268
teststring=$teststring$teststring
7270
# Only check the string length outside the loop.
7271
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7273
# Add a significant safety factor because C++ compilers can tack on
7274
# massive amounts of additional arguments before passing them to the
7275
# linker. It appears as though 1/2 is a usable value.
7276
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7283
if test -n $lt_cv_sys_max_cmd_len ; then
7284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7285
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7288
$as_echo "none" >&6; }
7290
max_cmd_len=$lt_cv_sys_max_cmd_len
7301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7302
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7303
# Try some XSI features
7306
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7308
&& eval 'test $(( 1 + 1 )) -eq 2 \
7309
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7312
$as_echo "$xsi_shell" >&6; }
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7316
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7318
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7320
&& lt_shell_append=yes
7321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7322
$as_echo "$lt_shell_append" >&6; }
7325
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7335
# test EBCDIC or ASCII
7336
case `echo X|tr X '\101'` in
7337
A) # ASCII based system
7338
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7339
lt_SP2NL='tr \040 \012'
7340
lt_NL2SP='tr \015\012 \040\040'
7342
*) # EBCDIC based system
7343
lt_SP2NL='tr \100 \n'
7344
lt_NL2SP='tr \r\n \100\100'
7356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7357
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7358
if ${lt_cv_to_host_file_cmd+:} false; then :
7359
$as_echo_n "(cached) " >&6
7364
*-*-mingw* ) # actually msys
7365
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7368
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7370
* ) # otherwise, assume *nix
7371
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7377
*-*-mingw* ) # actually msys
7378
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7381
lt_cv_to_host_file_cmd=func_convert_file_noop
7383
* ) # otherwise, assume *nix
7384
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7388
* ) # unhandled hosts (and "normal" native builds)
7389
lt_cv_to_host_file_cmd=func_convert_file_noop
7395
to_host_file_cmd=$lt_cv_to_host_file_cmd
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7397
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7404
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7405
if ${lt_cv_to_tool_file_cmd+:} false; then :
7406
$as_echo_n "(cached) " >&6
7408
#assume ordinary cross tools, or native build.
7409
lt_cv_to_tool_file_cmd=func_convert_file_noop
7413
*-*-mingw* ) # actually msys
7414
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7422
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7424
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7431
$as_echo_n "checking for $LD option to reload object files... " >&6; }
7432
if ${lt_cv_ld_reload_flag+:} false; then :
7433
$as_echo_n "(cached) " >&6
7435
lt_cv_ld_reload_flag='-r'
7437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7438
$as_echo "$lt_cv_ld_reload_flag" >&6; }
7439
reload_flag=$lt_cv_ld_reload_flag
7440
case $reload_flag in
7442
*) reload_flag=" $reload_flag" ;;
7444
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7446
cygwin* | mingw* | pw32* | cegcc*)
7447
if test "$GCC" != yes; then
7452
if test "$GCC" = yes; then
7453
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7455
reload_cmds='$LD$reload_flag -o $output$reload_objs'
7468
if test -n "$ac_tool_prefix"; then
7469
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7470
set dummy ${ac_tool_prefix}objdump; ac_word=$2
7471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7472
$as_echo_n "checking for $ac_word... " >&6; }
7473
if ${ac_cv_prog_OBJDUMP+:} false; then :
7474
$as_echo_n "(cached) " >&6
7476
if test -n "$OBJDUMP"; then
7477
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7483
test -z "$as_dir" && as_dir=.
7484
for ac_exec_ext in '' $ac_executable_extensions; do
7485
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7486
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7487
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7496
OBJDUMP=$ac_cv_prog_OBJDUMP
7497
if test -n "$OBJDUMP"; then
7498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7499
$as_echo "$OBJDUMP" >&6; }
7501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7502
$as_echo "no" >&6; }
7507
if test -z "$ac_cv_prog_OBJDUMP"; then
7508
ac_ct_OBJDUMP=$OBJDUMP
7509
# Extract the first word of "objdump", so it can be a program name with args.
7510
set dummy objdump; ac_word=$2
7511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7512
$as_echo_n "checking for $ac_word... " >&6; }
7513
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7514
$as_echo_n "(cached) " >&6
7516
if test -n "$ac_ct_OBJDUMP"; then
7517
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7519
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7523
test -z "$as_dir" && as_dir=.
7524
for ac_exec_ext in '' $ac_executable_extensions; do
7525
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7526
ac_cv_prog_ac_ct_OBJDUMP="objdump"
7527
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7536
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7537
if test -n "$ac_ct_OBJDUMP"; then
7538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7539
$as_echo "$ac_ct_OBJDUMP" >&6; }
7541
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7542
$as_echo "no" >&6; }
7545
if test "x$ac_ct_OBJDUMP" = x; then
7548
case $cross_compiling:$ac_tool_warned in
7550
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7551
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7552
ac_tool_warned=yes ;;
7554
OBJDUMP=$ac_ct_OBJDUMP
7557
OBJDUMP="$ac_cv_prog_OBJDUMP"
7560
test -z "$OBJDUMP" && OBJDUMP=objdump
7570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7571
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7572
if ${lt_cv_deplibs_check_method+:} false; then :
7573
$as_echo_n "(cached) " >&6
7575
lt_cv_file_magic_cmd='$MAGIC_CMD'
7576
lt_cv_file_magic_test_file=
7577
lt_cv_deplibs_check_method='unknown'
7578
# Need to set the preceding variable on all platforms that support
7579
# interlibrary dependencies.
7580
# 'none' -- dependencies not supported.
7581
# `unknown' -- same as none, but documents that we really don't know.
7582
# 'pass_all' -- all dependencies passed with no checks.
7583
# 'test_compile' -- check by making test program.
7584
# 'file_magic [[regex]]' -- check by looking for files in library path
7585
# which responds to the $file_magic_cmd with a given extended regex.
7586
# If you have `file' or equivalent on your system and you're not sure
7587
# whether `pass_all' will *always* work, you probably want this one.
7591
lt_cv_deplibs_check_method=pass_all
7595
lt_cv_deplibs_check_method=pass_all
7599
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7600
lt_cv_file_magic_cmd='/usr/bin/file -L'
7601
lt_cv_file_magic_test_file=/shlib/libc.so
7605
# func_win32_libid is a shell function defined in ltmain.sh
7606
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7607
lt_cv_file_magic_cmd='func_win32_libid'
7611
# Base MSYS/MinGW do not provide the 'file' command needed by
7612
# func_win32_libid shell function, so use a weaker test based on 'objdump',
7613
# unless we find 'file', for example because we are cross-compiling.
7614
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7615
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
7616
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7617
lt_cv_file_magic_cmd='func_win32_libid'
7619
# Keep this pattern in sync with the one in func_win32_libid.
7620
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7621
lt_cv_file_magic_cmd='$OBJDUMP -f'
7626
# use the weaker test based on 'objdump'. See mingw*.
7627
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7628
lt_cv_file_magic_cmd='$OBJDUMP -f'
7631
darwin* | rhapsody*)
7632
lt_cv_deplibs_check_method=pass_all
7635
freebsd* | dragonfly*)
7636
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7639
# Not sure whether the presence of OpenBSD here was a mistake.
7640
# Let's accept both of them until this is cleared up.
7641
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7642
lt_cv_file_magic_cmd=/usr/bin/file
7643
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7647
lt_cv_deplibs_check_method=pass_all
7652
lt_cv_deplibs_check_method=pass_all
7656
lt_cv_deplibs_check_method=pass_all
7659
hpux10.20* | hpux11*)
7660
lt_cv_file_magic_cmd=/usr/bin/file
7663
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7664
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7667
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
7668
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7671
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7672
lt_cv_file_magic_test_file=/usr/lib/libc.sl
7678
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7679
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7682
irix5* | irix6* | nonstopux*)
7684
*-32|*"-32 ") libmagic=32-bit;;
7685
*-n32|*"-n32 ") libmagic=N32;;
7686
*-64|*"-64 ") libmagic=64-bit;;
7687
*) libmagic=never-match;;
7689
lt_cv_deplibs_check_method=pass_all
7692
# This must be glibc/ELF.
7693
linux* | k*bsd*-gnu | kopensolaris*-gnu)
7694
lt_cv_deplibs_check_method=pass_all
7698
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7699
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7701
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7706
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7707
lt_cv_file_magic_cmd=/usr/bin/file
7708
lt_cv_file_magic_test_file=/usr/lib/libnls.so
7712
lt_cv_deplibs_check_method=pass_all
7716
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7717
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7719
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7723
osf3* | osf4* | osf5*)
7724
lt_cv_deplibs_check_method=pass_all
7728
lt_cv_deplibs_check_method=pass_all
7732
lt_cv_deplibs_check_method=pass_all
7735
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7736
lt_cv_deplibs_check_method=pass_all
7740
case $host_vendor in
7742
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
7743
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7746
lt_cv_deplibs_check_method=pass_all
7749
lt_cv_file_magic_cmd='/bin/file'
7750
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7753
lt_cv_file_magic_cmd='/bin/file'
7754
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7755
lt_cv_file_magic_test_file=/lib/libc.so
7758
lt_cv_deplibs_check_method=pass_all
7761
lt_cv_deplibs_check_method=pass_all
7767
lt_cv_deplibs_check_method=pass_all
7772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7773
$as_echo "$lt_cv_deplibs_check_method" >&6; }
7777
if test "$build" = "$host"; then
7780
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7783
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7789
file_magic_cmd=$lt_cv_file_magic_cmd
7790
deplibs_check_method=$lt_cv_deplibs_check_method
7791
test -z "$deplibs_check_method" && deplibs_check_method=unknown
7814
if test -n "$ac_tool_prefix"; then
7815
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7816
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7818
$as_echo_n "checking for $ac_word... " >&6; }
7819
if ${ac_cv_prog_DLLTOOL+:} false; then :
7820
$as_echo_n "(cached) " >&6
7822
if test -n "$DLLTOOL"; then
7823
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7825
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7829
test -z "$as_dir" && as_dir=.
7830
for ac_exec_ext in '' $ac_executable_extensions; do
7831
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7832
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7833
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7842
DLLTOOL=$ac_cv_prog_DLLTOOL
7843
if test -n "$DLLTOOL"; then
7844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7845
$as_echo "$DLLTOOL" >&6; }
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7848
$as_echo "no" >&6; }
7853
if test -z "$ac_cv_prog_DLLTOOL"; then
7854
ac_ct_DLLTOOL=$DLLTOOL
7855
# Extract the first word of "dlltool", so it can be a program name with args.
7856
set dummy dlltool; ac_word=$2
7857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7858
$as_echo_n "checking for $ac_word... " >&6; }
7859
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7860
$as_echo_n "(cached) " >&6
7862
if test -n "$ac_ct_DLLTOOL"; then
7863
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7865
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869
test -z "$as_dir" && as_dir=.
7870
for ac_exec_ext in '' $ac_executable_extensions; do
7871
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7873
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7883
if test -n "$ac_ct_DLLTOOL"; then
7884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7885
$as_echo "$ac_ct_DLLTOOL" >&6; }
7887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888
$as_echo "no" >&6; }
7891
if test "x$ac_ct_DLLTOOL" = x; then
7894
case $cross_compiling:$ac_tool_warned in
7896
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7897
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7898
ac_tool_warned=yes ;;
7900
DLLTOOL=$ac_ct_DLLTOOL
7903
DLLTOOL="$ac_cv_prog_DLLTOOL"
7906
test -z "$DLLTOOL" && DLLTOOL=dlltool
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7918
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7919
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7920
$as_echo_n "(cached) " >&6
7922
lt_cv_sharedlib_from_linklib_cmd='unknown'
7925
cygwin* | mingw* | pw32* | cegcc*)
7926
# two different shell functions defined in ltmain.sh
7927
# decide which to use based on capabilities of $DLLTOOL
7928
case `$DLLTOOL --help 2>&1` in
7929
*--identify-strict*)
7930
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7933
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7938
# fallback: assume linklib IS sharedlib
7939
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
7944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7945
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7946
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7947
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7955
if test -n "$ac_tool_prefix"; then
7958
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7959
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7961
$as_echo_n "checking for $ac_word... " >&6; }
7962
if ${ac_cv_prog_AR+:} false; then :
7963
$as_echo_n "(cached) " >&6
7965
if test -n "$AR"; then
7966
ac_cv_prog_AR="$AR" # Let the user override the test.
7968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972
test -z "$as_dir" && as_dir=.
7973
for ac_exec_ext in '' $ac_executable_extensions; do
7974
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7976
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7986
if test -n "$AR"; then
7987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7988
$as_echo "$AR" >&6; }
7990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7991
$as_echo "no" >&6; }
7995
test -n "$AR" && break
7998
if test -z "$AR"; then
8002
# Extract the first word of "$ac_prog", so it can be a program name with args.
8003
set dummy $ac_prog; ac_word=$2
8004
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8005
$as_echo_n "checking for $ac_word... " >&6; }
8006
if ${ac_cv_prog_ac_ct_AR+:} false; then :
8007
$as_echo_n "(cached) " >&6
8009
if test -n "$ac_ct_AR"; then
8010
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8012
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8016
test -z "$as_dir" && as_dir=.
8017
for ac_exec_ext in '' $ac_executable_extensions; do
8018
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8019
ac_cv_prog_ac_ct_AR="$ac_prog"
8020
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029
ac_ct_AR=$ac_cv_prog_ac_ct_AR
8030
if test -n "$ac_ct_AR"; then
8031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8032
$as_echo "$ac_ct_AR" >&6; }
8034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035
$as_echo "no" >&6; }
8039
test -n "$ac_ct_AR" && break
8042
if test "x$ac_ct_AR" = x; then
8045
case $cross_compiling:$ac_tool_warned in
8047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8048
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8049
ac_tool_warned=yes ;;
8068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8069
$as_echo_n "checking for archiver @FILE support... " >&6; }
8070
if ${lt_cv_ar_at_file+:} false; then :
8071
$as_echo_n "(cached) " >&6
8074
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8075
/* end confdefs.h. */
8085
if ac_fn_c_try_compile "$LINENO"; then :
8086
echo conftest.$ac_objext > conftest.lst
8087
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8088
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8089
(eval $lt_ar_try) 2>&5
8091
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8092
test $ac_status = 0; }
8093
if test "$ac_status" -eq 0; then
8094
# Ensure the archiver fails upon bogus file names.
8095
rm -f conftest.$ac_objext libconftest.a
8096
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8097
(eval $lt_ar_try) 2>&5
8099
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8100
test $ac_status = 0; }
8101
if test "$ac_status" -ne 0; then
8105
rm -f conftest.* libconftest.a
8108
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8111
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8112
$as_echo "$lt_cv_ar_at_file" >&6; }
8114
if test "x$lt_cv_ar_at_file" = xno; then
8117
archiver_list_spec=$lt_cv_ar_at_file
8126
if test -n "$ac_tool_prefix"; then
8127
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8128
set dummy ${ac_tool_prefix}strip; ac_word=$2
8129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8130
$as_echo_n "checking for $ac_word... " >&6; }
8131
if ${ac_cv_prog_STRIP+:} false; then :
8132
$as_echo_n "(cached) " >&6
8134
if test -n "$STRIP"; then
8135
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8141
test -z "$as_dir" && as_dir=.
8142
for ac_exec_ext in '' $ac_executable_extensions; do
8143
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8144
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8145
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8154
STRIP=$ac_cv_prog_STRIP
8155
if test -n "$STRIP"; then
8156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8157
$as_echo "$STRIP" >&6; }
8159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160
$as_echo "no" >&6; }
8165
if test -z "$ac_cv_prog_STRIP"; then
8167
# Extract the first word of "strip", so it can be a program name with args.
8168
set dummy strip; ac_word=$2
8169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8170
$as_echo_n "checking for $ac_word... " >&6; }
8171
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8172
$as_echo_n "(cached) " >&6
8174
if test -n "$ac_ct_STRIP"; then
8175
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8181
test -z "$as_dir" && as_dir=.
8182
for ac_exec_ext in '' $ac_executable_extensions; do
8183
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8184
ac_cv_prog_ac_ct_STRIP="strip"
8185
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8194
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8195
if test -n "$ac_ct_STRIP"; then
8196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8197
$as_echo "$ac_ct_STRIP" >&6; }
8199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8200
$as_echo "no" >&6; }
8203
if test "x$ac_ct_STRIP" = x; then
8206
case $cross_compiling:$ac_tool_warned in
8208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8210
ac_tool_warned=yes ;;
8215
STRIP="$ac_cv_prog_STRIP"
8218
test -z "$STRIP" && STRIP=:
8225
if test -n "$ac_tool_prefix"; then
8226
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8227
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229
$as_echo_n "checking for $ac_word... " >&6; }
8230
if ${ac_cv_prog_RANLIB+:} false; then :
8231
$as_echo_n "(cached) " >&6
8233
if test -n "$RANLIB"; then
8234
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8240
test -z "$as_dir" && as_dir=.
8241
for ac_exec_ext in '' $ac_executable_extensions; do
8242
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8244
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8253
RANLIB=$ac_cv_prog_RANLIB
8254
if test -n "$RANLIB"; then
8255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8256
$as_echo "$RANLIB" >&6; }
8258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259
$as_echo "no" >&6; }
8264
if test -z "$ac_cv_prog_RANLIB"; then
8265
ac_ct_RANLIB=$RANLIB
8266
# Extract the first word of "ranlib", so it can be a program name with args.
8267
set dummy ranlib; ac_word=$2
8268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8269
$as_echo_n "checking for $ac_word... " >&6; }
8270
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8271
$as_echo_n "(cached) " >&6
8273
if test -n "$ac_ct_RANLIB"; then
8274
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8276
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8280
test -z "$as_dir" && as_dir=.
8281
for ac_exec_ext in '' $ac_executable_extensions; do
8282
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8283
ac_cv_prog_ac_ct_RANLIB="ranlib"
8284
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8293
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8294
if test -n "$ac_ct_RANLIB"; then
8295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8296
$as_echo "$ac_ct_RANLIB" >&6; }
8298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8299
$as_echo "no" >&6; }
8302
if test "x$ac_ct_RANLIB" = x; then
8305
case $cross_compiling:$ac_tool_warned in
8307
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8308
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8309
ac_tool_warned=yes ;;
8311
RANLIB=$ac_ct_RANLIB
8314
RANLIB="$ac_cv_prog_RANLIB"
8317
test -z "$RANLIB" && RANLIB=:
8324
# Determine commands to create old-style static archives.
8325
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8326
old_postinstall_cmds='chmod 644 $oldlib'
8327
old_postuninstall_cmds=
8329
if test -n "$RANLIB"; then
8332
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8335
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8338
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8343
lock_old_archive_extraction=yes ;;
8345
lock_old_archive_extraction=no ;;
8386
# If no C compiler was specified, use CC.
8389
# If no C compiler flags were specified, use CFLAGS.
8390
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8392
# Allow CC to be a program name with arguments.
8396
# Check for command to grab the raw symbol name followed by C symbol from nm.
8397
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8398
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8399
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8400
$as_echo_n "(cached) " >&6
8403
# These are sane defaults that work on at least a few old systems.
8404
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
8406
# Character class describing NM global symbol codes.
8407
symcode='[BCDEGRST]'
8409
# Regexp to match symbols that can be accessed directly from C.
8410
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8412
# Define system-specific variables.
8417
cygwin* | mingw* | pw32* | cegcc*)
8418
symcode='[ABCDGISTW]'
8421
if test "$host_cpu" = ia64; then
8422
symcode='[ABCDEGRST]'
8426
symcode='[BCDEGRST]'
8429
symcode='[BCDEGQRST]'
8440
sysv5* | sco5v6* | unixware* | OpenUNIX*)
8448
# If we're using GNU nm, then use its standard symbol codes.
8449
case `$NM -V 2>&1` in
8450
*GNU* | *'with BFD'*)
8451
symcode='[ABCDGIRSTW]' ;;
8454
# Transform an extracted symbol line into a proper C declaration.
8455
# Some systems (esp. on ia64) link data and code symbols differently,
8456
# so use this general approach.
8457
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8459
# Transform an extracted symbol line into symbol name and symbol address
8460
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8461
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
8463
# Handle CRLF in mingw tool chain
8467
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8471
# Try without a prefix underscore, then with it.
8472
for ac_symprfx in "" "_"; do
8474
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8475
symxfrm="\\1 $ac_symprfx\\2 \\2"
8477
# Write the raw and C identifiers.
8478
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8479
# Fake it for dumpbin and say T for any non-static function
8480
# and D for any global variable.
8481
# Also find C++ and __fastcall symbols from MSVC++,
8482
# which start with @ or ?.
8483
lt_cv_sys_global_symbol_pipe="$AWK '"\
8484
" {last_section=section; section=\$ 3};"\
8485
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8486
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8487
" \$ 0!~/External *\|/{next};"\
8488
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8489
" {if(hide[section]) next};"\
8490
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8491
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8492
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
8493
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8494
" ' prfx=^$ac_symprfx"
8496
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8498
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8500
# Check to see that the pipe works correctly.
8504
cat > conftest.$ac_ext <<_LT_EOF
8509
void nm_test_func(void);
8510
void nm_test_func(void){}
8514
int main(){nm_test_var='a';nm_test_func();return(0);}
8517
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8518
(eval $ac_compile) 2>&5
8520
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8521
test $ac_status = 0; }; then
8522
# Now try to grab the symbols.
8524
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8525
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8527
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8528
test $ac_status = 0; } && test -s "$nlist"; then
8529
# Try sorting and uniquifying the output.
8530
if sort "$nlist" | uniq > "$nlist"T; then
8531
mv -f "$nlist"T "$nlist"
8536
# Make sure that we snagged all the symbols we need.
8537
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8538
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8539
cat <<_LT_EOF > conftest.$ac_ext
8540
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8541
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
8542
/* DATA imports from DLLs on WIN32 con't be const, because runtime
8543
relocations are performed -- see ld's documentation on pseudo-relocs. */
8544
# define LT_DLSYM_CONST
8545
#elif defined(__osf__)
8546
/* This system does not cope well with relocations in const data. */
8547
# define LT_DLSYM_CONST
8549
# define LT_DLSYM_CONST const
8557
# Now generate the symbol file.
8558
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8560
cat <<_LT_EOF >> conftest.$ac_ext
8562
/* The mapping between symbol names and symbols. */
8563
LT_DLSYM_CONST struct {
8567
lt__PROGRAM__LTX_preloaded_symbols[] =
8569
{ "@PROGRAM@", (void *) 0 },
8571
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8572
cat <<\_LT_EOF >> conftest.$ac_ext
8576
/* This works around a problem in FreeBSD linker */
8577
#ifdef FREEBSD_WORKAROUND
8578
static const void *lt_preloaded_setup() {
8579
return lt__PROGRAM__LTX_preloaded_symbols;
8587
# Now try linking the two files.
8588
mv conftest.$ac_objext conftstm.$ac_objext
8589
lt_globsym_save_LIBS=$LIBS
8590
lt_globsym_save_CFLAGS=$CFLAGS
8591
LIBS="conftstm.$ac_objext"
8592
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8593
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8594
(eval $ac_link) 2>&5
8596
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8597
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
8600
LIBS=$lt_globsym_save_LIBS
8601
CFLAGS=$lt_globsym_save_CFLAGS
8603
echo "cannot find nm_test_func in $nlist" >&5
8606
echo "cannot find nm_test_var in $nlist" >&5
8609
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8612
echo "$progname: failed program was:" >&5
8613
cat conftest.$ac_ext >&5
8615
rm -rf conftest* conftst*
8617
# Do not use the global_symbol_pipe unless it works.
8618
if test "$pipe_works" = yes; then
8621
lt_cv_sys_global_symbol_pipe=
8627
if test -z "$lt_cv_sys_global_symbol_pipe"; then
8628
lt_cv_sys_global_symbol_to_cdecl=
8630
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8632
$as_echo "failed" >&6; }
8634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8635
$as_echo "ok" >&6; }
8638
# Response file support.
8639
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8640
nm_file_list_spec='@'
8641
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8642
nm_file_list_spec='@'
8671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8672
$as_echo_n "checking for sysroot... " >&6; }
8674
# Check whether --with-sysroot was given.
8675
if test "${with_sysroot+set}" = set; then :
8676
withval=$with_sysroot;
8683
case ${with_sysroot} in #(
8685
if test "$GCC" = yes; then
8686
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8690
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
8696
$as_echo "${with_sysroot}" >&6; }
8697
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8702
$as_echo "${lt_sysroot:-no}" >&6; }
8708
# Check whether --enable-libtool-lock was given.
8709
if test "${enable_libtool_lock+set}" = set; then :
8710
enableval=$enable_libtool_lock;
8713
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8715
# Some flags need to be propagated to the compiler or linker for good
8719
# Find out which ABI we are using.
8720
echo 'int i;' > conftest.$ac_ext
8721
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8722
(eval $ac_compile) 2>&5
8724
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8725
test $ac_status = 0; }; then
8726
case `/usr/bin/file conftest.$ac_objext` in
8738
# Find out which ABI we are using.
8739
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8740
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8741
(eval $ac_compile) 2>&5
8743
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8744
test $ac_status = 0; }; then
8745
if test "$lt_cv_prog_gnu_ld" = yes; then
8746
case `/usr/bin/file conftest.$ac_objext` in
8748
LD="${LD-ld} -melf32bsmip"
8751
LD="${LD-ld} -melf32bmipn32"
8754
LD="${LD-ld} -melf64bmip"
8758
case `/usr/bin/file conftest.$ac_objext` in
8774
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
8775
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8776
# Find out which ABI we are using.
8777
echo 'int i;' > conftest.$ac_ext
8778
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8779
(eval $ac_compile) 2>&5
8781
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8782
test $ac_status = 0; }; then
8783
case `/usr/bin/file conftest.o` in
8786
x86_64-*kfreebsd*-gnu)
8787
LD="${LD-ld} -m elf_i386_fbsd"
8790
LD="${LD-ld} -m elf_i386"
8792
ppc64-*linux*|powerpc64-*linux*)
8793
LD="${LD-ld} -m elf32ppclinux"
8796
LD="${LD-ld} -m elf_s390"
8799
LD="${LD-ld} -m elf32_sparc"
8805
x86_64-*kfreebsd*-gnu)
8806
LD="${LD-ld} -m elf_x86_64_fbsd"
8809
LD="${LD-ld} -m elf_x86_64"
8811
ppc*-*linux*|powerpc*-*linux*)
8812
LD="${LD-ld} -m elf64ppc"
8814
s390*-*linux*|s390*-*tpf*)
8815
LD="${LD-ld} -m elf64_s390"
8818
LD="${LD-ld} -m elf64_sparc"
8828
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
8829
SAVE_CFLAGS="$CFLAGS"
8830
CFLAGS="$CFLAGS -belf"
8831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8832
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8833
if ${lt_cv_cc_needs_belf+:} false; then :
8834
$as_echo_n "(cached) " >&6
8837
ac_cpp='$CPP $CPPFLAGS'
8838
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8839
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8840
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8842
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8843
/* end confdefs.h. */
8853
if ac_fn_c_try_link "$LINENO"; then :
8854
lt_cv_cc_needs_belf=yes
8856
lt_cv_cc_needs_belf=no
8858
rm -f core conftest.err conftest.$ac_objext \
8859
conftest$ac_exeext conftest.$ac_ext
8861
ac_cpp='$CPP $CPPFLAGS'
8862
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8863
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8864
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8867
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8868
$as_echo "$lt_cv_cc_needs_belf" >&6; }
8869
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
8870
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8871
CFLAGS="$SAVE_CFLAGS"
8875
# Find out which ABI we are using.
8876
echo 'int i;' > conftest.$ac_ext
8877
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8878
(eval $ac_compile) 2>&5
8880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8881
test $ac_status = 0; }; then
8882
case `/usr/bin/file conftest.o` in
8884
case $lt_cv_prog_gnu_ld in
8888
LD="${LD-ld} -m elf_x86_64"
8891
LD="${LD-ld} -m elf64_sparc"
8894
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
8895
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8900
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8912
need_locks="$enable_libtool_lock"
8914
if test -n "$ac_tool_prefix"; then
8915
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8916
set dummy ${ac_tool_prefix}mt; ac_word=$2
8917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8918
$as_echo_n "checking for $ac_word... " >&6; }
8919
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8920
$as_echo_n "(cached) " >&6
8922
if test -n "$MANIFEST_TOOL"; then
8923
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8925
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8929
test -z "$as_dir" && as_dir=.
8930
for ac_exec_ext in '' $ac_executable_extensions; do
8931
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8932
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8933
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8942
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8943
if test -n "$MANIFEST_TOOL"; then
8944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8945
$as_echo "$MANIFEST_TOOL" >&6; }
8947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8948
$as_echo "no" >&6; }
8953
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8954
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8955
# Extract the first word of "mt", so it can be a program name with args.
8956
set dummy mt; ac_word=$2
8957
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8958
$as_echo_n "checking for $ac_word... " >&6; }
8959
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8960
$as_echo_n "(cached) " >&6
8962
if test -n "$ac_ct_MANIFEST_TOOL"; then
8963
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8965
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8969
test -z "$as_dir" && as_dir=.
8970
for ac_exec_ext in '' $ac_executable_extensions; do
8971
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8973
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8982
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8983
if test -n "$ac_ct_MANIFEST_TOOL"; then
8984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8985
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988
$as_echo "no" >&6; }
8991
if test "x$ac_ct_MANIFEST_TOOL" = x; then
8994
case $cross_compiling:$ac_tool_warned in
8996
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8997
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8998
ac_tool_warned=yes ;;
9000
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9003
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9006
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9007
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9008
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9009
if ${lt_cv_path_mainfest_tool+:} false; then :
9010
$as_echo_n "(cached) " >&6
9012
lt_cv_path_mainfest_tool=no
9013
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9014
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9015
cat conftest.err >&5
9016
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9017
lt_cv_path_mainfest_tool=yes
9021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9022
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9023
if test "x$lt_cv_path_mainfest_tool" != xyes; then
9033
rhapsody* | darwin*)
9034
if test -n "$ac_tool_prefix"; then
9035
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9036
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9038
$as_echo_n "checking for $ac_word... " >&6; }
9039
if ${ac_cv_prog_DSYMUTIL+:} false; then :
9040
$as_echo_n "(cached) " >&6
9042
if test -n "$DSYMUTIL"; then
9043
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9049
test -z "$as_dir" && as_dir=.
9050
for ac_exec_ext in '' $ac_executable_extensions; do
9051
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9052
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9053
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9062
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9063
if test -n "$DSYMUTIL"; then
9064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9065
$as_echo "$DSYMUTIL" >&6; }
9067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9068
$as_echo "no" >&6; }
9073
if test -z "$ac_cv_prog_DSYMUTIL"; then
9074
ac_ct_DSYMUTIL=$DSYMUTIL
9075
# Extract the first word of "dsymutil", so it can be a program name with args.
9076
set dummy dsymutil; ac_word=$2
9077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9078
$as_echo_n "checking for $ac_word... " >&6; }
9079
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9080
$as_echo_n "(cached) " >&6
9082
if test -n "$ac_ct_DSYMUTIL"; then
9083
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9089
test -z "$as_dir" && as_dir=.
9090
for ac_exec_ext in '' $ac_executable_extensions; do
9091
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9092
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9093
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9102
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9103
if test -n "$ac_ct_DSYMUTIL"; then
9104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9105
$as_echo "$ac_ct_DSYMUTIL" >&6; }
9107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108
$as_echo "no" >&6; }
9111
if test "x$ac_ct_DSYMUTIL" = x; then
9114
case $cross_compiling:$ac_tool_warned in
9116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9118
ac_tool_warned=yes ;;
9120
DSYMUTIL=$ac_ct_DSYMUTIL
9123
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9126
if test -n "$ac_tool_prefix"; then
9127
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9128
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9130
$as_echo_n "checking for $ac_word... " >&6; }
9131
if ${ac_cv_prog_NMEDIT+:} false; then :
9132
$as_echo_n "(cached) " >&6
9134
if test -n "$NMEDIT"; then
9135
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9141
test -z "$as_dir" && as_dir=.
9142
for ac_exec_ext in '' $ac_executable_extensions; do
9143
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9144
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9145
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9154
NMEDIT=$ac_cv_prog_NMEDIT
9155
if test -n "$NMEDIT"; then
9156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9157
$as_echo "$NMEDIT" >&6; }
9159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9160
$as_echo "no" >&6; }
9165
if test -z "$ac_cv_prog_NMEDIT"; then
9166
ac_ct_NMEDIT=$NMEDIT
9167
# Extract the first word of "nmedit", so it can be a program name with args.
9168
set dummy nmedit; ac_word=$2
9169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170
$as_echo_n "checking for $ac_word... " >&6; }
9171
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9172
$as_echo_n "(cached) " >&6
9174
if test -n "$ac_ct_NMEDIT"; then
9175
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9181
test -z "$as_dir" && as_dir=.
9182
for ac_exec_ext in '' $ac_executable_extensions; do
9183
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9184
ac_cv_prog_ac_ct_NMEDIT="nmedit"
9185
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9194
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9195
if test -n "$ac_ct_NMEDIT"; then
9196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9197
$as_echo "$ac_ct_NMEDIT" >&6; }
9199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200
$as_echo "no" >&6; }
9203
if test "x$ac_ct_NMEDIT" = x; then
9206
case $cross_compiling:$ac_tool_warned in
9208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9210
ac_tool_warned=yes ;;
9212
NMEDIT=$ac_ct_NMEDIT
9215
NMEDIT="$ac_cv_prog_NMEDIT"
9218
if test -n "$ac_tool_prefix"; then
9219
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9220
set dummy ${ac_tool_prefix}lipo; ac_word=$2
9221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222
$as_echo_n "checking for $ac_word... " >&6; }
9223
if ${ac_cv_prog_LIPO+:} false; then :
9224
$as_echo_n "(cached) " >&6
9226
if test -n "$LIPO"; then
9227
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9233
test -z "$as_dir" && as_dir=.
9234
for ac_exec_ext in '' $ac_executable_extensions; do
9235
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9236
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9237
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9246
LIPO=$ac_cv_prog_LIPO
9247
if test -n "$LIPO"; then
9248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9249
$as_echo "$LIPO" >&6; }
9251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9252
$as_echo "no" >&6; }
9257
if test -z "$ac_cv_prog_LIPO"; then
9259
# Extract the first word of "lipo", so it can be a program name with args.
9260
set dummy lipo; ac_word=$2
9261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9262
$as_echo_n "checking for $ac_word... " >&6; }
9263
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9264
$as_echo_n "(cached) " >&6
9266
if test -n "$ac_ct_LIPO"; then
9267
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9273
test -z "$as_dir" && as_dir=.
9274
for ac_exec_ext in '' $ac_executable_extensions; do
9275
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9276
ac_cv_prog_ac_ct_LIPO="lipo"
9277
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9286
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9287
if test -n "$ac_ct_LIPO"; then
9288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9289
$as_echo "$ac_ct_LIPO" >&6; }
9291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292
$as_echo "no" >&6; }
9295
if test "x$ac_ct_LIPO" = x; then
9298
case $cross_compiling:$ac_tool_warned in
9300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9302
ac_tool_warned=yes ;;
9307
LIPO="$ac_cv_prog_LIPO"
9310
if test -n "$ac_tool_prefix"; then
9311
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9312
set dummy ${ac_tool_prefix}otool; ac_word=$2
9313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314
$as_echo_n "checking for $ac_word... " >&6; }
9315
if ${ac_cv_prog_OTOOL+:} false; then :
9316
$as_echo_n "(cached) " >&6
9318
if test -n "$OTOOL"; then
9319
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9325
test -z "$as_dir" && as_dir=.
9326
for ac_exec_ext in '' $ac_executable_extensions; do
9327
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9328
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9329
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9338
OTOOL=$ac_cv_prog_OTOOL
9339
if test -n "$OTOOL"; then
9340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9341
$as_echo "$OTOOL" >&6; }
9343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9344
$as_echo "no" >&6; }
9349
if test -z "$ac_cv_prog_OTOOL"; then
9351
# Extract the first word of "otool", so it can be a program name with args.
9352
set dummy otool; ac_word=$2
9353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9354
$as_echo_n "checking for $ac_word... " >&6; }
9355
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9356
$as_echo_n "(cached) " >&6
9358
if test -n "$ac_ct_OTOOL"; then
9359
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9365
test -z "$as_dir" && as_dir=.
9366
for ac_exec_ext in '' $ac_executable_extensions; do
9367
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9368
ac_cv_prog_ac_ct_OTOOL="otool"
9369
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9378
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9379
if test -n "$ac_ct_OTOOL"; then
9380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9381
$as_echo "$ac_ct_OTOOL" >&6; }
9383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9384
$as_echo "no" >&6; }
9387
if test "x$ac_ct_OTOOL" = x; then
9390
case $cross_compiling:$ac_tool_warned in
9392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9394
ac_tool_warned=yes ;;
9399
OTOOL="$ac_cv_prog_OTOOL"
9402
if test -n "$ac_tool_prefix"; then
9403
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9404
set dummy ${ac_tool_prefix}otool64; ac_word=$2
9405
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406
$as_echo_n "checking for $ac_word... " >&6; }
9407
if ${ac_cv_prog_OTOOL64+:} false; then :
9408
$as_echo_n "(cached) " >&6
9410
if test -n "$OTOOL64"; then
9411
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9413
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9417
test -z "$as_dir" && as_dir=.
9418
for ac_exec_ext in '' $ac_executable_extensions; do
9419
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9420
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9421
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9430
OTOOL64=$ac_cv_prog_OTOOL64
9431
if test -n "$OTOOL64"; then
9432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9433
$as_echo "$OTOOL64" >&6; }
9435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9436
$as_echo "no" >&6; }
9441
if test -z "$ac_cv_prog_OTOOL64"; then
9442
ac_ct_OTOOL64=$OTOOL64
9443
# Extract the first word of "otool64", so it can be a program name with args.
9444
set dummy otool64; ac_word=$2
9445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9446
$as_echo_n "checking for $ac_word... " >&6; }
9447
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9448
$as_echo_n "(cached) " >&6
9450
if test -n "$ac_ct_OTOOL64"; then
9451
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9453
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9457
test -z "$as_dir" && as_dir=.
9458
for ac_exec_ext in '' $ac_executable_extensions; do
9459
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9460
ac_cv_prog_ac_ct_OTOOL64="otool64"
9461
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9470
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9471
if test -n "$ac_ct_OTOOL64"; then
9472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9473
$as_echo "$ac_ct_OTOOL64" >&6; }
9475
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9476
$as_echo "no" >&6; }
9479
if test "x$ac_ct_OTOOL64" = x; then
9482
case $cross_compiling:$ac_tool_warned in
9484
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9485
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9486
ac_tool_warned=yes ;;
9488
OTOOL64=$ac_ct_OTOOL64
9491
OTOOL64="$ac_cv_prog_OTOOL64"
9520
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9521
$as_echo_n "checking for -single_module linker flag... " >&6; }
9522
if ${lt_cv_apple_cc_single_mod+:} false; then :
9523
$as_echo_n "(cached) " >&6
9525
lt_cv_apple_cc_single_mod=no
9526
if test -z "${LT_MULTI_MODULE}"; then
9527
# By default we will add the -single_module flag. You can override
9528
# by either setting the environment variable LT_MULTI_MODULE
9529
# non-empty at configure time, or by adding -multi_module to the
9531
rm -rf libconftest.dylib*
9532
echo "int foo(void){return 1;}" > conftest.c
9533
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9534
-dynamiclib -Wl,-single_module conftest.c" >&5
9535
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9536
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9538
# If there is a non-empty error log, and "single_module"
9539
# appears in it, assume the flag caused a linker warning
9540
if test -s conftest.err && $GREP single_module conftest.err; then
9541
cat conftest.err >&5
9542
# Otherwise, if the output was created with a 0 exit code from
9543
# the compiler, it worked.
9544
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
9545
lt_cv_apple_cc_single_mod=yes
9547
cat conftest.err >&5
9549
rm -rf libconftest.dylib*
9553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9554
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9557
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9558
if ${lt_cv_ld_exported_symbols_list+:} false; then :
9559
$as_echo_n "(cached) " >&6
9561
lt_cv_ld_exported_symbols_list=no
9562
save_LDFLAGS=$LDFLAGS
9563
echo "_main" > conftest.sym
9564
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9565
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566
/* end confdefs.h. */
9576
if ac_fn_c_try_link "$LINENO"; then :
9577
lt_cv_ld_exported_symbols_list=yes
9579
lt_cv_ld_exported_symbols_list=no
9581
rm -f core conftest.err conftest.$ac_objext \
9582
conftest$ac_exeext conftest.$ac_ext
9583
LDFLAGS="$save_LDFLAGS"
9586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9587
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9590
$as_echo_n "checking for -force_load linker flag... " >&6; }
9591
if ${lt_cv_ld_force_load+:} false; then :
9592
$as_echo_n "(cached) " >&6
9594
lt_cv_ld_force_load=no
9595
cat > conftest.c << _LT_EOF
9596
int forced_loaded() { return 2;}
9598
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9599
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9600
echo "$AR cru libconftest.a conftest.o" >&5
9601
$AR cru libconftest.a conftest.o 2>&5
9602
echo "$RANLIB libconftest.a" >&5
9603
$RANLIB libconftest.a 2>&5
9604
cat > conftest.c << _LT_EOF
9605
int main() { return 0;}
9607
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9608
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9610
if test -s conftest.err && $GREP force_load conftest.err; then
9611
cat conftest.err >&5
9612
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
9613
lt_cv_ld_force_load=yes
9615
cat conftest.err >&5
9617
rm -f conftest.err libconftest.a conftest conftest.c
9618
rm -rf conftest.dSYM
9621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9622
$as_echo "$lt_cv_ld_force_load" >&6; }
9624
rhapsody* | darwin1.[012])
9625
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9627
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9628
darwin*) # darwin 5.x on
9629
# if running on 10.5 or later, the deployment target defaults
9630
# to the OS version, if on x86, and 10.4, the deployment
9631
# target defaults to 10.4. Don't you love it?
9632
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9633
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9634
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9636
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9638
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9642
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9643
_lt_dar_single_mod='$single_module'
9645
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9646
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9648
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9650
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9651
_lt_dsymutil='~$DSYMUTIL $lib || :'
9658
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
9659
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
9660
inttypes.h stdint.h unistd.h
9662
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9663
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
9665
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9666
cat >>confdefs.h <<_ACEOF
9667
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9675
for ac_header in dlfcn.h
9677
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9679
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9680
cat >>confdefs.h <<_ACEOF
9681
#define HAVE_DLFCN_H 1
9693
# Check whether --enable-static was given.
9694
if test "${enable_static+set}" = set; then :
9695
enableval=$enable_static; p=${PACKAGE-default}
9697
yes) enable_static=yes ;;
9698
no) enable_static=no ;;
9701
# Look at the argument we got. We use all the common list separators.
9702
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9703
for pkg in $enableval; do
9705
if test "X$pkg" = "X$p"; then
9731
# Check whether --enable-shared was given.
9732
if test "${enable_shared+set}" = set; then :
9733
enableval=$enable_shared; p=${PACKAGE-default}
9735
yes) enable_shared=yes ;;
9736
no) enable_shared=no ;;
9739
# Look at the argument we got. We use all the common list separators.
9740
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9741
for pkg in $enableval; do
9743
if test "X$pkg" = "X$p"; then
9764
# Check whether --with-pic was given.
9765
if test "${with_pic+set}" = set; then :
9766
withval=$with_pic; lt_p=${PACKAGE-default}
9768
yes|no) pic_mode=$withval ;;
9771
# Look at the argument we got. We use all the common list separators.
9772
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9773
for lt_pkg in $withval; do
9775
if test "X$lt_pkg" = "X$lt_p"; then
9787
test -z "$pic_mode" && pic_mode=default
9795
# Check whether --enable-fast-install was given.
9796
if test "${enable_fast_install+set}" = set; then :
9797
enableval=$enable_fast_install; p=${PACKAGE-default}
9799
yes) enable_fast_install=yes ;;
9800
no) enable_fast_install=no ;;
9802
enable_fast_install=no
9803
# Look at the argument we got. We use all the common list separators.
9804
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9805
for pkg in $enableval; do
9807
if test "X$pkg" = "X$p"; then
9808
enable_fast_install=yes
9815
enable_fast_install=yes
9828
# This can be used to rebuild libtool when needed
9829
LIBTOOL_DEPS="$ltmain"
9831
# Always use our own libtool.
9832
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9863
test -z "$LN_S" && LN_S="ln -s"
9878
if test -n "${ZSH_VERSION+set}" ; then
9879
setopt NO_GLOB_SUBST
9882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9883
$as_echo_n "checking for objdir... " >&6; }
9884
if ${lt_cv_objdir+:} false; then :
9885
$as_echo_n "(cached) " >&6
9887
rm -f .libs 2>/dev/null
9888
mkdir .libs 2>/dev/null
9889
if test -d .libs; then
9892
# MS-DOS does not allow filenames that begin with a dot.
9895
rmdir .libs 2>/dev/null
9897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9898
$as_echo "$lt_cv_objdir" >&6; }
9899
objdir=$lt_cv_objdir
9905
cat >>confdefs.h <<_ACEOF
9906
#define LT_OBJDIR "$lt_cv_objdir/"
9914
# AIX sometimes has problems with the GCC collect2 program. For some
9915
# reason, if we set the COLLECT_NAMES environment variable, the problems
9916
# vanish in a puff of smoke.
9917
if test "X${COLLECT_NAMES+set}" != Xset; then
9919
export COLLECT_NAMES
9926
can_build_shared=yes
9928
# All known linkers require a `.a' archive for static linking (except MSVC,
9929
# which needs '.lib').
9932
with_gnu_ld="$lt_cv_prog_gnu_ld"
9935
old_CFLAGS="$CFLAGS"
9937
# Set sane defaults for various variables
9938
test -z "$CC" && CC=cc
9939
test -z "$LTCC" && LTCC=$CC
9940
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9941
test -z "$LD" && LD=ld
9942
test -z "$ac_objext" && ac_objext=o
9944
for cc_temp in $compiler""; do
9946
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9947
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9952
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9955
# Only perform the check for file, if the check method requires it
9956
test -z "$MAGIC_CMD" && MAGIC_CMD=file
9957
case $deplibs_check_method in
9959
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9961
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9962
if ${lt_cv_path_MAGIC_CMD+:} false; then :
9963
$as_echo_n "(cached) " >&6
9967
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9970
lt_save_MAGIC_CMD="$MAGIC_CMD"
9971
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9972
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9973
for ac_dir in $ac_dummy; do
9975
test -z "$ac_dir" && ac_dir=.
9976
if test -f $ac_dir/${ac_tool_prefix}file; then
9977
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
9978
if test -n "$file_magic_test_file"; then
9979
case $deplibs_check_method in
9981
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9982
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9983
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9984
$EGREP "$file_magic_regex" > /dev/null; then
9989
*** Warning: the command libtool uses to detect shared libraries,
9990
*** $file_magic_cmd, produces output that libtool cannot recognize.
9991
*** The result is that libtool may fail to recognize shared libraries
9992
*** as such. This will affect the creation of libtool libraries that
9993
*** depend on shared libraries, but programs linked with such libtool
9994
*** libraries will work regardless of this problem. Nevertheless, you
9995
*** may want to report the problem to your system manager and/or to
9996
*** bug-libtool@gnu.org
10006
MAGIC_CMD="$lt_save_MAGIC_CMD"
10011
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10012
if test -n "$MAGIC_CMD"; then
10013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10014
$as_echo "$MAGIC_CMD" >&6; }
10016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10017
$as_echo "no" >&6; }
10024
if test -z "$lt_cv_path_MAGIC_CMD"; then
10025
if test -n "$ac_tool_prefix"; then
10026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10027
$as_echo_n "checking for file... " >&6; }
10028
if ${lt_cv_path_MAGIC_CMD+:} false; then :
10029
$as_echo_n "(cached) " >&6
10033
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10036
lt_save_MAGIC_CMD="$MAGIC_CMD"
10037
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10038
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10039
for ac_dir in $ac_dummy; do
10041
test -z "$ac_dir" && ac_dir=.
10042
if test -f $ac_dir/file; then
10043
lt_cv_path_MAGIC_CMD="$ac_dir/file"
10044
if test -n "$file_magic_test_file"; then
10045
case $deplibs_check_method in
10047
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10048
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10049
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10050
$EGREP "$file_magic_regex" > /dev/null; then
10055
*** Warning: the command libtool uses to detect shared libraries,
10056
*** $file_magic_cmd, produces output that libtool cannot recognize.
10057
*** The result is that libtool may fail to recognize shared libraries
10058
*** as such. This will affect the creation of libtool libraries that
10059
*** depend on shared libraries, but programs linked with such libtool
10060
*** libraries will work regardless of this problem. Nevertheless, you
10061
*** may want to report the problem to your system manager and/or to
10062
*** bug-libtool@gnu.org
10072
MAGIC_CMD="$lt_save_MAGIC_CMD"
10077
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10078
if test -n "$MAGIC_CMD"; then
10079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10080
$as_echo "$MAGIC_CMD" >&6; }
10082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10083
$as_echo "no" >&6; }
10096
# Use C for the default configuration in the libtool script
10100
ac_cpp='$CPP $CPPFLAGS'
10101
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10102
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10103
ac_compiler_gnu=$ac_cv_c_compiler_gnu
10106
# Source file extension for C test sources.
10109
# Object file extension for compiled C test sources.
10113
# Code to be used in simple compile tests
10114
lt_simple_compile_test_code="int some_variable = 0;"
10116
# Code to be used in simple link tests
10117
lt_simple_link_test_code='int main(){return(0);}'
10125
# If no C compiler was specified, use CC.
10128
# If no C compiler flags were specified, use CFLAGS.
10129
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10131
# Allow CC to be a program name with arguments.
10134
# Save the default compiler, since it gets overwritten when the other
10135
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10136
compiler_DEFAULT=$CC
10138
# save warnings/boilerplate of simple test code
10139
ac_outfile=conftest.$ac_objext
10140
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10141
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10142
_lt_compiler_boilerplate=`cat conftest.err`
10145
ac_outfile=conftest.$ac_objext
10146
echo "$lt_simple_link_test_code" >conftest.$ac_ext
10147
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10148
_lt_linker_boilerplate=`cat conftest.err`
10153
## There is no encapsulation within the following macros, do not change
10154
## the running order or otherwise move them around unless you know exactly
10155
## what you are doing...
10156
if test -n "$compiler"; then
10158
lt_prog_compiler_no_builtin_flag=
10160
if test "$GCC" = yes; then
10161
case $cc_basename in
10163
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10165
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10169
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10170
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10171
$as_echo_n "(cached) " >&6
10173
lt_cv_prog_compiler_rtti_exceptions=no
10174
ac_outfile=conftest.$ac_objext
10175
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10176
lt_compiler_flag="-fno-rtti -fno-exceptions"
10177
# Insert the option either (1) after the last *FLAGS variable, or
10178
# (2) before a word containing "conftest.", or (3) at the end.
10179
# Note that $ac_compile itself does not contain backslashes and begins
10180
# with a dollar sign (not a hyphen), so the echo should work correctly.
10181
# The option is referenced via a variable to avoid confusing sed.
10182
lt_compile=`echo "$ac_compile" | $SED \
10183
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10184
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10185
-e 's:$: $lt_compiler_flag:'`
10186
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10187
(eval "$lt_compile" 2>conftest.err)
10189
cat conftest.err >&5
10190
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10191
if (exit $ac_status) && test -s "$ac_outfile"; then
10192
# The compiler can only warn and ignore the option if not recognized
10193
# So say no if there are warnings other than the usual output.
10194
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10195
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10196
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10197
lt_cv_prog_compiler_rtti_exceptions=yes
10203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10204
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10206
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10207
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10219
lt_prog_compiler_wl=
10220
lt_prog_compiler_pic=
10221
lt_prog_compiler_static=
10224
if test "$GCC" = yes; then
10225
lt_prog_compiler_wl='-Wl,'
10226
lt_prog_compiler_static='-static'
10230
# All AIX code is PIC.
10231
if test "$host_cpu" = ia64; then
10232
# AIX 5 now supports IA64 processor
10233
lt_prog_compiler_static='-Bstatic'
10240
# see comment about AmigaOS4 .so support
10241
lt_prog_compiler_pic='-fPIC'
10244
# FIXME: we need at least 68020 code to build shared libraries, but
10245
# adding the `-m68020' flag to GCC prevents building anything better,
10247
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10252
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10253
# PIC is the default for these OSes.
10256
mingw* | cygwin* | pw32* | os2* | cegcc*)
10257
# This hack is so that the source file can tell whether it is being
10258
# built for inclusion in a dll (and should export symbols for example).
10259
# Although the cygwin gcc ignores -fPIC, still need this for old-style
10260
# (--disable-auto-import) libraries
10261
lt_prog_compiler_pic='-DDLL_EXPORT'
10264
darwin* | rhapsody*)
10265
# PIC is the default on this platform
10266
# Common symbols not allowed in MH_DYLIB files
10267
lt_prog_compiler_pic='-fno-common'
10271
# PIC is the default for Haiku.
10272
# The "-static" flag exists, but is broken.
10273
lt_prog_compiler_static=
10277
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10278
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10279
# sets the default TLS model and affects inlining.
10285
lt_prog_compiler_pic='-fPIC'
10291
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
10292
# Instead, we relocate shared libraries at runtime.
10296
# Just because we use GCC doesn't mean we suddenly get shared libraries
10297
# on systems that don't support them.
10298
lt_prog_compiler_can_build_shared=no
10303
# QNX uses GNU C++, but need to define -shared option too, otherwise
10304
# it will coredump.
10305
lt_prog_compiler_pic='-fPIC -shared'
10309
if test -d /usr/nec; then
10310
lt_prog_compiler_pic=-Kconform_pic
10315
lt_prog_compiler_pic='-fPIC'
10319
case $cc_basename in
10320
nvcc*) # Cuda Compiler Driver 2.2
10321
lt_prog_compiler_wl='-Xlinker '
10322
if test -n "$lt_prog_compiler_pic"; then
10323
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10328
# PORTME Check for flag to pass linker flags through the system compiler.
10331
lt_prog_compiler_wl='-Wl,'
10332
if test "$host_cpu" = ia64; then
10333
# AIX 5 now supports IA64 processor
10334
lt_prog_compiler_static='-Bstatic'
10336
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10340
mingw* | cygwin* | pw32* | os2* | cegcc*)
10341
# This hack is so that the source file can tell whether it is being
10342
# built for inclusion in a dll (and should export symbols for example).
10343
lt_prog_compiler_pic='-DDLL_EXPORT'
10346
hpux9* | hpux10* | hpux11*)
10347
lt_prog_compiler_wl='-Wl,'
10348
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10349
# not for PA HP-UX.
10355
lt_prog_compiler_pic='+Z'
10358
# Is there a better lt_prog_compiler_static that works with the bundled CC?
10359
lt_prog_compiler_static='${wl}-a ${wl}archive'
10362
irix5* | irix6* | nonstopux*)
10363
lt_prog_compiler_wl='-Wl,'
10364
# PIC (with -KPIC) is the default.
10365
lt_prog_compiler_static='-non_shared'
10368
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10369
case $cc_basename in
10370
# old Intel for x86_64 which still supported -KPIC.
10372
lt_prog_compiler_wl='-Wl,'
10373
lt_prog_compiler_pic='-KPIC'
10374
lt_prog_compiler_static='-static'
10376
# icc used to be incompatible with GCC.
10377
# ICC 10 doesn't accept -KPIC any more.
10379
lt_prog_compiler_wl='-Wl,'
10380
lt_prog_compiler_pic='-fPIC'
10381
lt_prog_compiler_static='-static'
10383
# Lahey Fortran 8.1.
10385
lt_prog_compiler_wl='-Wl,'
10386
lt_prog_compiler_pic='--shared'
10387
lt_prog_compiler_static='--static'
10390
# NAG Fortran compiler
10391
lt_prog_compiler_wl='-Wl,-Wl,,'
10392
lt_prog_compiler_pic='-PIC'
10393
lt_prog_compiler_static='-Bstatic'
10395
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10396
# Portland Group compilers (*not* the Pentium gcc compiler,
10397
# which looks to be a dead project)
10398
lt_prog_compiler_wl='-Wl,'
10399
lt_prog_compiler_pic='-fpic'
10400
lt_prog_compiler_static='-Bstatic'
10403
lt_prog_compiler_wl='-Wl,'
10404
# All Alpha code is PIC.
10405
lt_prog_compiler_static='-non_shared'
10407
xl* | bgxl* | bgf* | mpixl*)
10408
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10409
lt_prog_compiler_wl='-Wl,'
10410
lt_prog_compiler_pic='-qpic'
10411
lt_prog_compiler_static='-qstaticlink'
10414
case `$CC -V 2>&1 | sed 5q` in
10415
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10416
# Sun Fortran 8.3 passes all unrecognized flags to the linker
10417
lt_prog_compiler_pic='-KPIC'
10418
lt_prog_compiler_static='-Bstatic'
10419
lt_prog_compiler_wl=''
10421
*Sun\ F* | *Sun*Fortran*)
10422
lt_prog_compiler_pic='-KPIC'
10423
lt_prog_compiler_static='-Bstatic'
10424
lt_prog_compiler_wl='-Qoption ld '
10428
lt_prog_compiler_pic='-KPIC'
10429
lt_prog_compiler_static='-Bstatic'
10430
lt_prog_compiler_wl='-Wl,'
10432
*Intel*\ [CF]*Compiler*)
10433
lt_prog_compiler_wl='-Wl,'
10434
lt_prog_compiler_pic='-fPIC'
10435
lt_prog_compiler_static='-static'
10438
lt_prog_compiler_wl='-Wl,'
10439
lt_prog_compiler_pic='-fpic'
10440
lt_prog_compiler_static='-Bstatic'
10448
lt_prog_compiler_pic='-KPIC'
10449
lt_prog_compiler_static='-Bstatic'
10453
# QNX uses GNU C++, but need to define -shared option too, otherwise
10454
# it will coredump.
10455
lt_prog_compiler_pic='-fPIC -shared'
10458
osf3* | osf4* | osf5*)
10459
lt_prog_compiler_wl='-Wl,'
10460
# All OSF/1 code is PIC.
10461
lt_prog_compiler_static='-non_shared'
10465
lt_prog_compiler_static='-non_shared'
10469
lt_prog_compiler_pic='-KPIC'
10470
lt_prog_compiler_static='-Bstatic'
10471
case $cc_basename in
10472
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10473
lt_prog_compiler_wl='-Qoption ld ';;
10475
lt_prog_compiler_wl='-Wl,';;
10480
lt_prog_compiler_wl='-Qoption ld '
10481
lt_prog_compiler_pic='-PIC'
10482
lt_prog_compiler_static='-Bstatic'
10485
sysv4 | sysv4.2uw2* | sysv4.3*)
10486
lt_prog_compiler_wl='-Wl,'
10487
lt_prog_compiler_pic='-KPIC'
10488
lt_prog_compiler_static='-Bstatic'
10492
if test -d /usr/nec ;then
10493
lt_prog_compiler_pic='-Kconform_pic'
10494
lt_prog_compiler_static='-Bstatic'
10498
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10499
lt_prog_compiler_wl='-Wl,'
10500
lt_prog_compiler_pic='-KPIC'
10501
lt_prog_compiler_static='-Bstatic'
10505
lt_prog_compiler_wl='-Wl,'
10506
lt_prog_compiler_can_build_shared=no
10510
lt_prog_compiler_pic='-pic'
10511
lt_prog_compiler_static='-Bstatic'
10515
lt_prog_compiler_can_build_shared=no
10521
# For platforms which do not support PIC, -DPIC is meaningless:
10523
lt_prog_compiler_pic=
10526
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10531
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10532
if ${lt_cv_prog_compiler_pic+:} false; then :
10533
$as_echo_n "(cached) " >&6
10535
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10538
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10539
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10542
# Check to make sure the PIC flag actually works.
10544
if test -n "$lt_prog_compiler_pic"; then
10545
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10546
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10547
if ${lt_cv_prog_compiler_pic_works+:} false; then :
10548
$as_echo_n "(cached) " >&6
10550
lt_cv_prog_compiler_pic_works=no
10551
ac_outfile=conftest.$ac_objext
10552
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10553
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
10554
# Insert the option either (1) after the last *FLAGS variable, or
10555
# (2) before a word containing "conftest.", or (3) at the end.
10556
# Note that $ac_compile itself does not contain backslashes and begins
10557
# with a dollar sign (not a hyphen), so the echo should work correctly.
10558
# The option is referenced via a variable to avoid confusing sed.
10559
lt_compile=`echo "$ac_compile" | $SED \
10560
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10561
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10562
-e 's:$: $lt_compiler_flag:'`
10563
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10564
(eval "$lt_compile" 2>conftest.err)
10566
cat conftest.err >&5
10567
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10568
if (exit $ac_status) && test -s "$ac_outfile"; then
10569
# The compiler can only warn and ignore the option if not recognized
10570
# So say no if there are warnings other than the usual output.
10571
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10572
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10573
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10574
lt_cv_prog_compiler_pic_works=yes
10580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10581
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10583
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
10584
case $lt_prog_compiler_pic in
10586
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10589
lt_prog_compiler_pic=
10590
lt_prog_compiler_can_build_shared=no
10606
# Check to make sure the static flag actually works.
10608
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10610
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10611
if ${lt_cv_prog_compiler_static_works+:} false; then :
10612
$as_echo_n "(cached) " >&6
10614
lt_cv_prog_compiler_static_works=no
10615
save_LDFLAGS="$LDFLAGS"
10616
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10617
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10618
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10619
# The linker can only warn and ignore the option if not recognized
10620
# So say no if there are warnings
10621
if test -s conftest.err; then
10622
# Append any errors to the config.log.
10623
cat conftest.err 1>&5
10624
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10625
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10626
if diff conftest.exp conftest.er2 >/dev/null; then
10627
lt_cv_prog_compiler_static_works=yes
10630
lt_cv_prog_compiler_static_works=yes
10634
LDFLAGS="$save_LDFLAGS"
10637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10638
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10640
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
10643
lt_prog_compiler_static=
10652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10653
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10654
if ${lt_cv_prog_compiler_c_o+:} false; then :
10655
$as_echo_n "(cached) " >&6
10657
lt_cv_prog_compiler_c_o=no
10658
$RM -r conftest 2>/dev/null
10662
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10664
lt_compiler_flag="-o out/conftest2.$ac_objext"
10665
# Insert the option either (1) after the last *FLAGS variable, or
10666
# (2) before a word containing "conftest.", or (3) at the end.
10667
# Note that $ac_compile itself does not contain backslashes and begins
10668
# with a dollar sign (not a hyphen), so the echo should work correctly.
10669
lt_compile=`echo "$ac_compile" | $SED \
10670
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10671
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10672
-e 's:$: $lt_compiler_flag:'`
10673
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10674
(eval "$lt_compile" 2>out/conftest.err)
10676
cat out/conftest.err >&5
10677
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10678
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10680
# The compiler can only warn and ignore the option if not recognized
10681
# So say no if there are warnings
10682
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10683
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10684
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10685
lt_cv_prog_compiler_c_o=yes
10690
# SGI C++ compiler will create directory out/ii_files/ for
10691
# template instantiation
10692
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10693
$RM out/* && rmdir out
10699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10700
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10707
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10708
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10709
if ${lt_cv_prog_compiler_c_o+:} false; then :
10710
$as_echo_n "(cached) " >&6
10712
lt_cv_prog_compiler_c_o=no
10713
$RM -r conftest 2>/dev/null
10717
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10719
lt_compiler_flag="-o out/conftest2.$ac_objext"
10720
# Insert the option either (1) after the last *FLAGS variable, or
10721
# (2) before a word containing "conftest.", or (3) at the end.
10722
# Note that $ac_compile itself does not contain backslashes and begins
10723
# with a dollar sign (not a hyphen), so the echo should work correctly.
10724
lt_compile=`echo "$ac_compile" | $SED \
10725
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10726
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10727
-e 's:$: $lt_compiler_flag:'`
10728
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10729
(eval "$lt_compile" 2>out/conftest.err)
10731
cat out/conftest.err >&5
10732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
10733
if (exit $ac_status) && test -s out/conftest2.$ac_objext
10735
# The compiler can only warn and ignore the option if not recognized
10736
# So say no if there are warnings
10737
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10738
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10739
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10740
lt_cv_prog_compiler_c_o=yes
10745
# SGI C++ compiler will create directory out/ii_files/ for
10746
# template instantiation
10747
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10748
$RM out/* && rmdir out
10754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10755
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10760
hard_links="nottested"
10761
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
10762
# do not overwrite the value of need_locks provided by the user
10763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10764
$as_echo_n "checking if we can lock with hard links... " >&6; }
10767
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10769
ln conftest.a conftest.b 2>&5 || hard_links=no
10770
ln conftest.a conftest.b 2>/dev/null && hard_links=no
10771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10772
$as_echo "$hard_links" >&6; }
10773
if test "$hard_links" = no; then
10774
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10775
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10788
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10791
allow_undefined_flag=
10792
always_export_symbols=no
10794
archive_expsym_cmds=
10795
compiler_needs_object=no
10796
enable_shared_with_static_runtimes=no
10797
export_dynamic_flag_spec=
10798
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10799
hardcode_automatic=no
10801
hardcode_direct_absolute=no
10802
hardcode_libdir_flag_spec=
10803
hardcode_libdir_separator=
10804
hardcode_minus_L=no
10805
hardcode_shlibpath_var=unsupported
10807
link_all_deplibs=unknown
10809
module_expsym_cmds=
10810
old_archive_from_new_cmds=
10811
old_archive_from_expsyms_cmds=
10812
thread_safe_flag_spec=
10813
whole_archive_flag_spec=
10814
# include_expsyms should be a list of space-separated symbols to be *always*
10815
# included in the symbol list
10817
# exclude_expsyms can be an extended regexp of symbols to exclude
10818
# it will be wrapped by ` (' and `)$', so one must not match beginning or
10819
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10820
# as well as any symbol that contains `d'.
10821
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10822
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10823
# platforms (ab)use it in PIC code, but their linkers get confused if
10824
# the symbol is explicitly referenced. Since portable code cannot
10825
# rely on this symbol name, it's probably fine to never include it in
10826
# preloaded symbol tables.
10827
# Exclude shared library initialization/finalization symbols.
10828
extract_expsyms_cmds=
10831
cygwin* | mingw* | pw32* | cegcc*)
10832
# FIXME: the MSVC++ port hasn't been tested in a loooong time
10833
# When not using gcc, we currently assume that we are using
10834
# Microsoft Visual C++.
10835
if test "$GCC" != yes; then
10840
# we just hope/assume this is gcc and not c89 (= MSVC++)
10850
# On some targets, GNU ld is compatible enough with the native linker
10851
# that we're better off using the native interface for both.
10852
lt_use_gnu_ld_interface=no
10853
if test "$with_gnu_ld" = yes; then
10856
# The AIX port of GNU ld has always aspired to compatibility
10857
# with the native linker. However, as the warning in the GNU ld
10858
# block says, versions before 2.19.5* couldn't really create working
10859
# shared libraries, regardless of the interface used.
10860
case `$LD -v 2>&1` in
10861
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10862
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10863
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
10865
lt_use_gnu_ld_interface=yes
10870
lt_use_gnu_ld_interface=yes
10875
if test "$lt_use_gnu_ld_interface" = yes; then
10876
# If archive_cmds runs LD, not CC, wlarc should be empty
10879
# Set some defaults for GNU ld with shared library support. These
10880
# are reset later if shared libraries are not supported. Putting them
10881
# here allows them to be overridden if necessary.
10882
runpath_var=LD_RUN_PATH
10883
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10884
export_dynamic_flag_spec='${wl}--export-dynamic'
10885
# ancient GNU ld didn't support --whole-archive et. al.
10886
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10887
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10889
whole_archive_flag_spec=
10891
supports_anon_versioning=no
10892
case `$LD -v 2>&1` in
10893
*GNU\ gold*) supports_anon_versioning=yes ;;
10894
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10895
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10896
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10897
*\ 2.11.*) ;; # other 2.11 versions
10898
*) supports_anon_versioning=yes ;;
10901
# See if GNU ld supports shared libraries.
10904
# On AIX/PPC, the GNU linker is very broken
10905
if test "$host_cpu" != ia64; then
10909
*** Warning: the GNU linker, at least up to release 2.19, is reported
10910
*** to be unable to reliably create shared libraries on AIX.
10911
*** Therefore, libtool is disabling shared libraries support. If you
10912
*** really care for shared libraries, you may want to install binutils
10913
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10914
*** You will then need to restart the configuration process.
10923
# see comment about AmigaOS4 .so support
10924
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10925
archive_expsym_cmds=''
10928
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
10929
hardcode_libdir_flag_spec='-L$libdir'
10930
hardcode_minus_L=yes
10936
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10937
allow_undefined_flag=unsupported
10938
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10939
# support --undefined. This deserves some investigation. FIXME
10940
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10946
cygwin* | mingw* | pw32* | cegcc*)
10947
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10948
# as there is no search path for DLLs.
10949
hardcode_libdir_flag_spec='-L$libdir'
10950
export_dynamic_flag_spec='${wl}--export-all-symbols'
10951
allow_undefined_flag=unsupported
10952
always_export_symbols=no
10953
enable_shared_with_static_runtimes=yes
10954
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
10955
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10957
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10958
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10959
# If the export-symbols file already is a .def file (1st line
10960
# is EXPORTS), use it as is; otherwise, prepend...
10961
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10962
cp $export_symbols $output_objdir/$soname.def;
10964
echo EXPORTS > $output_objdir/$soname.def;
10965
cat $export_symbols >> $output_objdir/$soname.def;
10967
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10974
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10975
link_all_deplibs=yes
10980
hardcode_shlibpath_var=no
10981
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10982
export_dynamic_flag_spec='${wl}-E'
10983
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10984
# Instead, shared libraries are loaded at an image base (0x10000000 by
10985
# default) and relocated if they conflict, which is a slow very memory
10986
# consuming and fragmenting process. To avoid this, we pick a random,
10987
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10988
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
10989
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10990
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10993
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10995
if test "$host_os" = linux-dietlibc; then
10996
case $cc_basename in
10997
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11000
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11001
&& test "$tmp_diet" = no
11003
tmp_addflag=' $pic_flag'
11004
tmp_sharedflag='-shared'
11005
case $cc_basename,$host_cpu in
11006
pgcc*) # Portland Group C compiler
11007
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11008
tmp_addflag=' $pic_flag'
11010
pgf77* | pgf90* | pgf95* | pgfortran*)
11011
# Portland Group f77 and f90 compilers
11012
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11013
tmp_addflag=' $pic_flag -Mnomain' ;;
11014
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11015
tmp_addflag=' -i_dynamic' ;;
11016
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11017
tmp_addflag=' -i_dynamic -nofor_main' ;;
11018
ifc* | ifort*) # Intel Fortran compiler
11019
tmp_addflag=' -nofor_main' ;;
11020
lf95*) # Lahey Fortran 8.1
11021
whole_archive_flag_spec=
11022
tmp_sharedflag='--shared' ;;
11023
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11024
tmp_sharedflag='-qmkshrobj'
11026
nvcc*) # Cuda Compiler Driver 2.2
11027
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11028
compiler_needs_object=yes
11031
case `$CC -V 2>&1 | sed 5q` in
11032
*Sun\ C*) # Sun C 5.9
11033
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
11034
compiler_needs_object=yes
11035
tmp_sharedflag='-G' ;;
11036
*Sun\ F*) # Sun Fortran 8.3
11037
tmp_sharedflag='-G' ;;
11039
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11041
if test "x$supports_anon_versioning" = xyes; then
11042
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11043
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11044
echo "local: *; };" >> $output_objdir/$libname.ver~
11045
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11048
case $cc_basename in
11049
xlf* | bgf* | bgxlf* | mpixlf*)
11050
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11051
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11052
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11053
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11054
if test "x$supports_anon_versioning" = xyes; then
11055
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11056
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11057
echo "local: *; };" >> $output_objdir/$libname.ver~
11058
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11068
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11069
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11072
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11073
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11078
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11082
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11083
*** create shared libraries on Solaris systems. Therefore, libtool
11084
*** is disabling shared libraries support. We urge you to upgrade GNU
11085
*** binutils to release 2.9.1 or newer. Another option is to modify
11086
*** your PATH or compiler configuration so that the native linker is
11087
*** used, and then restart.
11090
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11091
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11092
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11098
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11099
case `$LD -v 2>&1` in
11100
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11104
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11105
*** reliably create shared libraries on SCO systems. Therefore, libtool
11106
*** is disabling shared libraries support. We urge you to upgrade GNU
11107
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11108
*** your PATH or compiler configuration so that the native linker is
11109
*** used, and then restart.
11114
# For security reasons, it is highly recommended that you always
11115
# use absolute paths for naming shared libraries, and exclude the
11116
# DT_RUNPATH tag from executables and libraries. But doing so
11117
# requires that you compile everything twice, which is a pain.
11118
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11119
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11120
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11121
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11130
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11132
hardcode_direct=yes
11133
hardcode_shlibpath_var=no
11137
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11138
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11139
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11146
if test "$ld_shlibs" = no; then
11148
hardcode_libdir_flag_spec=
11149
export_dynamic_flag_spec=
11150
whole_archive_flag_spec=
11153
# PORTME fill in a description of your system's linker (not GNU ld)
11156
allow_undefined_flag=unsupported
11157
always_export_symbols=yes
11158
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11159
# Note: this linker hardcodes the directories in LIBPATH if there
11160
# are no directories specified by -L.
11161
hardcode_minus_L=yes
11162
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11163
# Neither direct hardcoding nor static linking is supported with a
11165
hardcode_direct=unsupported
11170
if test "$host_cpu" = ia64; then
11171
# On IA64, the linker does run time linking by default, so we don't
11172
# have to do anything special.
11173
aix_use_runtimelinking=no
11174
exp_sym_flag='-Bexport'
11177
# If we're using GNU nm, then we don't want the "-C" option.
11178
# -C means demangle to AIX nm, but means don't demangle with GNU nm
11179
# Also, AIX nm treats weak defined symbols like other global
11180
# defined symbols, whereas GNU nm marks them as "W".
11181
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11182
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11184
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11186
aix_use_runtimelinking=no
11188
# Test if we are trying to use run time linking or normal
11189
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11190
# need to do runtime linking.
11191
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11192
for ld_flag in $LDFLAGS; do
11193
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11194
aix_use_runtimelinking=yes
11201
exp_sym_flag='-bexport'
11202
no_entry_flag='-bnoentry'
11205
# When large executables or shared objects are built, AIX ld can
11206
# have problems creating the table of contents. If linking a library
11207
# or program results in "error TOC overflow" add -mminimal-toc to
11208
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11209
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11212
hardcode_direct=yes
11213
hardcode_direct_absolute=yes
11214
hardcode_libdir_separator=':'
11215
link_all_deplibs=yes
11216
file_list_spec='${wl}-f,'
11218
if test "$GCC" = yes; then
11219
case $host_os in aix4.[012]|aix4.[012].*)
11220
# We only want to do this on AIX 4.2 and lower, the check
11221
# below for broken collect2 doesn't work under 4.3+
11222
collect2name=`${CC} -print-prog-name=collect2`
11223
if test -f "$collect2name" &&
11224
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11226
# We have reworked collect2
11229
# We have old collect2
11230
hardcode_direct=unsupported
11231
# It fails to find uninstalled libraries when the uninstalled
11232
# path is not listed in the libpath. Setting hardcode_minus_L
11233
# to unsupported forces relinking
11234
hardcode_minus_L=yes
11235
hardcode_libdir_flag_spec='-L$libdir'
11236
hardcode_libdir_separator=
11240
shared_flag='-shared'
11241
if test "$aix_use_runtimelinking" = yes; then
11242
shared_flag="$shared_flag "'${wl}-G'
11246
if test "$host_cpu" = ia64; then
11247
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11248
# chokes on -Wl,-G. The following line is correct:
11251
if test "$aix_use_runtimelinking" = yes; then
11252
shared_flag='${wl}-G'
11254
shared_flag='${wl}-bM:SRE'
11259
export_dynamic_flag_spec='${wl}-bexpall'
11260
# It seems that -bexpall does not export symbols beginning with
11261
# underscore (_), so it is better to generate a list of symbols to export.
11262
always_export_symbols=yes
11263
if test "$aix_use_runtimelinking" = yes; then
11264
# Warning - without using the other runtime loading flags (-brtl),
11265
# -berok will link without error, but may produce a broken library.
11266
allow_undefined_flag='-berok'
11267
# Determine the default libpath from the value encoded in an
11268
# empty executable.
11269
if test "${lt_cv_aix_libpath+set}" = set; then
11270
aix_libpath=$lt_cv_aix_libpath
11272
if ${lt_cv_aix_libpath_+:} false; then :
11273
$as_echo_n "(cached) " >&6
11275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276
/* end confdefs.h. */
11286
if ac_fn_c_try_link "$LINENO"; then :
11288
lt_aix_libpath_sed='
11289
/Import File Strings/,/^$/ {
11291
s/^0 *\([^ ]*\) *$/\1/
11295
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11296
# Check for a 64-bit object if we didn't find anything.
11297
if test -z "$lt_cv_aix_libpath_"; then
11298
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11301
rm -f core conftest.err conftest.$ac_objext \
11302
conftest$ac_exeext conftest.$ac_ext
11303
if test -z "$lt_cv_aix_libpath_"; then
11304
lt_cv_aix_libpath_="/usr/lib:/lib"
11309
aix_libpath=$lt_cv_aix_libpath_
11312
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11313
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11315
if test "$host_cpu" = ia64; then
11316
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
11317
allow_undefined_flag="-z nodefs"
11318
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11320
# Determine the default libpath from the value encoded in an
11321
# empty executable.
11322
if test "${lt_cv_aix_libpath+set}" = set; then
11323
aix_libpath=$lt_cv_aix_libpath
11325
if ${lt_cv_aix_libpath_+:} false; then :
11326
$as_echo_n "(cached) " >&6
11328
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329
/* end confdefs.h. */
11339
if ac_fn_c_try_link "$LINENO"; then :
11341
lt_aix_libpath_sed='
11342
/Import File Strings/,/^$/ {
11344
s/^0 *\([^ ]*\) *$/\1/
11348
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11349
# Check for a 64-bit object if we didn't find anything.
11350
if test -z "$lt_cv_aix_libpath_"; then
11351
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11354
rm -f core conftest.err conftest.$ac_objext \
11355
conftest$ac_exeext conftest.$ac_ext
11356
if test -z "$lt_cv_aix_libpath_"; then
11357
lt_cv_aix_libpath_="/usr/lib:/lib"
11362
aix_libpath=$lt_cv_aix_libpath_
11365
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
11366
# Warning - without using the other run time loading flags,
11367
# -berok will link without error, but may produce a broken library.
11368
no_undefined_flag=' ${wl}-bernotok'
11369
allow_undefined_flag=' ${wl}-berok'
11370
if test "$with_gnu_ld" = yes; then
11371
# We only use this code for GNU lds that support --whole-archive.
11372
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11374
# Exported symbols can be pulled into shared objects from archives
11375
whole_archive_flag_spec='$convenience'
11377
archive_cmds_need_lc=yes
11378
# This is similar to how AIX traditionally builds its shared libraries.
11379
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11387
# see comment about AmigaOS4 .so support
11388
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11389
archive_expsym_cmds=''
11392
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11393
hardcode_libdir_flag_spec='-L$libdir'
11394
hardcode_minus_L=yes
11400
export_dynamic_flag_spec=-rdynamic
11403
cygwin* | mingw* | pw32* | cegcc*)
11404
# When not using gcc, we currently assume that we are using
11405
# Microsoft Visual C++.
11406
# hardcode_libdir_flag_spec is actually meaningless, as there is
11407
# no search path for DLLs.
11408
case $cc_basename in
11411
hardcode_libdir_flag_spec=' '
11412
allow_undefined_flag=unsupported
11413
always_export_symbols=yes
11415
# Tell ltmain to make .lib files, not .a files.
11417
# Tell ltmain to make .dll files, not .so files.
11419
# FIXME: Setting linknames here is a bad hack.
11420
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
11421
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11422
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
11424
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
11426
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11428
# The linker will not automatically build a static lib if we build a DLL.
11429
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11430
enable_shared_with_static_runtimes=yes
11431
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11432
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11434
old_postinstall_cmds='chmod 644 $oldlib'
11435
postlink_cmds='lt_outputfile="@OUTPUT@"~
11436
lt_tool_outputfile="@TOOL_OUTPUT@"~
11437
case $lt_outputfile in
11440
lt_outputfile="$lt_outputfile.exe"
11441
lt_tool_outputfile="$lt_tool_outputfile.exe"
11444
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
11445
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11446
$RM "$lt_outputfile.manifest";
11450
# Assume MSVC wrapper
11451
hardcode_libdir_flag_spec=' '
11452
allow_undefined_flag=unsupported
11453
# Tell ltmain to make .lib files, not .a files.
11455
# Tell ltmain to make .dll files, not .so files.
11457
# FIXME: Setting linknames here is a bad hack.
11458
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11459
# The linker will automatically build a .lib file if we build a DLL.
11460
old_archive_from_new_cmds='true'
11461
# FIXME: Should let the user specify the lib program.
11462
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11463
enable_shared_with_static_runtimes=yes
11468
darwin* | rhapsody*)
11471
archive_cmds_need_lc=no
11473
hardcode_automatic=yes
11474
hardcode_shlibpath_var=unsupported
11475
if test "$lt_cv_ld_force_load" = "yes"; then
11476
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
11479
whole_archive_flag_spec=''
11481
link_all_deplibs=yes
11482
allow_undefined_flag="$_lt_dar_allow_undefined"
11483
case $cc_basename in
11484
ifort*) _lt_dar_can_shared=yes ;;
11485
*) _lt_dar_can_shared=$GCC ;;
11487
if test "$_lt_dar_can_shared" = "yes"; then
11488
output_verbose_link_cmd=func_echo_all
11489
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
11490
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
11491
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
11492
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
11501
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11502
hardcode_libdir_flag_spec='-L$libdir'
11503
hardcode_shlibpath_var=no
11506
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11507
# support. Future versions do this automatically, but an explicit c++rt0.o
11508
# does not break anything, and helps significantly (at the cost of a little
11511
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11512
hardcode_libdir_flag_spec='-R$libdir'
11513
hardcode_direct=yes
11514
hardcode_shlibpath_var=no
11517
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
11519
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11520
hardcode_direct=yes
11521
hardcode_minus_L=yes
11522
hardcode_shlibpath_var=no
11525
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11526
freebsd* | dragonfly*)
11527
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11528
hardcode_libdir_flag_spec='-R$libdir'
11529
hardcode_direct=yes
11530
hardcode_shlibpath_var=no
11534
if test "$GCC" = yes; then
11535
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11537
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11539
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11540
hardcode_libdir_separator=:
11541
hardcode_direct=yes
11543
# hardcode_minus_L: Not really in the search PATH,
11544
# but as the default location of the library.
11545
hardcode_minus_L=yes
11546
export_dynamic_flag_spec='${wl}-E'
11550
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11551
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11553
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11555
if test "$with_gnu_ld" = no; then
11556
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11557
hardcode_libdir_separator=:
11558
hardcode_direct=yes
11559
hardcode_direct_absolute=yes
11560
export_dynamic_flag_spec='${wl}-E'
11561
# hardcode_minus_L: Not really in the search PATH,
11562
# but as the default location of the library.
11563
hardcode_minus_L=yes
11568
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
11571
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11574
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11577
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11583
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11586
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11590
# Older versions of the 11.00 compiler do not understand -b yet
11591
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11593
$as_echo_n "checking if $CC understands -b... " >&6; }
11594
if ${lt_cv_prog_compiler__b+:} false; then :
11595
$as_echo_n "(cached) " >&6
11597
lt_cv_prog_compiler__b=no
11598
save_LDFLAGS="$LDFLAGS"
11599
LDFLAGS="$LDFLAGS -b"
11600
echo "$lt_simple_link_test_code" > conftest.$ac_ext
11601
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11602
# The linker can only warn and ignore the option if not recognized
11603
# So say no if there are warnings
11604
if test -s conftest.err; then
11605
# Append any errors to the config.log.
11606
cat conftest.err 1>&5
11607
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11608
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11609
if diff conftest.exp conftest.er2 >/dev/null; then
11610
lt_cv_prog_compiler__b=yes
11613
lt_cv_prog_compiler__b=yes
11617
LDFLAGS="$save_LDFLAGS"
11620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11621
$as_echo "$lt_cv_prog_compiler__b" >&6; }
11623
if test x"$lt_cv_prog_compiler__b" = xyes; then
11624
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11626
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11632
if test "$with_gnu_ld" = no; then
11633
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
11634
hardcode_libdir_separator=:
11639
hardcode_shlibpath_var=no
11642
hardcode_direct=yes
11643
hardcode_direct_absolute=yes
11644
export_dynamic_flag_spec='${wl}-E'
11646
# hardcode_minus_L: Not really in the search PATH,
11647
# but as the default location of the library.
11648
hardcode_minus_L=yes
11654
irix5* | irix6* | nonstopux*)
11655
if test "$GCC" = yes; then
11656
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11657
# Try to use the -exported_symbol ld option, if it does not
11658
# work, assume that -exports_file does not work either and
11659
# implicitly export all symbols.
11660
# This should be the same for all languages, so no per-tag cache variable.
11661
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11662
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11663
if ${lt_cv_irix_exported_symbol+:} false; then :
11664
$as_echo_n "(cached) " >&6
11666
save_LDFLAGS="$LDFLAGS"
11667
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11669
/* end confdefs.h. */
11670
int foo (void) { return 0; }
11672
if ac_fn_c_try_link "$LINENO"; then :
11673
lt_cv_irix_exported_symbol=yes
11675
lt_cv_irix_exported_symbol=no
11677
rm -f core conftest.err conftest.$ac_objext \
11678
conftest$ac_exeext conftest.$ac_ext
11679
LDFLAGS="$save_LDFLAGS"
11681
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11682
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11683
if test "$lt_cv_irix_exported_symbol" = yes; then
11684
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
11687
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11688
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
11690
archive_cmds_need_lc='no'
11691
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11692
hardcode_libdir_separator=:
11694
link_all_deplibs=yes
11698
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11699
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11701
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11703
hardcode_libdir_flag_spec='-R$libdir'
11704
hardcode_direct=yes
11705
hardcode_shlibpath_var=no
11709
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11710
hardcode_direct=yes
11711
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11712
hardcode_libdir_separator=:
11713
hardcode_shlibpath_var=no
11720
if test -f /usr/libexec/ld.so; then
11721
hardcode_direct=yes
11722
hardcode_shlibpath_var=no
11723
hardcode_direct_absolute=yes
11724
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11725
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11726
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11727
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11728
export_dynamic_flag_spec='${wl}-E'
11731
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
11732
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11733
hardcode_libdir_flag_spec='-R$libdir'
11736
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11737
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11747
hardcode_libdir_flag_spec='-L$libdir'
11748
hardcode_minus_L=yes
11749
allow_undefined_flag=unsupported
11750
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
11751
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11755
if test "$GCC" = yes; then
11756
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11757
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11759
allow_undefined_flag=' -expect_unresolved \*'
11760
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11762
archive_cmds_need_lc='no'
11763
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11764
hardcode_libdir_separator=:
11767
osf4* | osf5*) # as osf3* with the addition of -msym flag
11768
if test "$GCC" = yes; then
11769
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
11770
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11771
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11773
allow_undefined_flag=' -expect_unresolved \*'
11774
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
11775
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
11776
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
11778
# Both c and cxx compiler support -rpath directly
11779
hardcode_libdir_flag_spec='-rpath $libdir'
11781
archive_cmds_need_lc='no'
11782
hardcode_libdir_separator=:
11786
no_undefined_flag=' -z defs'
11787
if test "$GCC" = yes; then
11789
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11790
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11791
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11793
case `$CC -V 2>&1` in
11796
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11797
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11798
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11802
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11803
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11804
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11808
hardcode_libdir_flag_spec='-R$libdir'
11809
hardcode_shlibpath_var=no
11811
solaris2.[0-5] | solaris2.[0-5].*) ;;
11813
# The compiler driver will combine and reorder linker options,
11814
# but understands `-z linker_flag'. GCC discards it without `$wl',
11815
# but is careful enough not to reorder.
11816
# Supported since Solaris 2.6 (maybe 2.5.1?)
11817
if test "$GCC" = yes; then
11818
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11820
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11824
link_all_deplibs=yes
11828
if test "x$host_vendor" = xsequent; then
11829
# Use $CC to link under sequent, because it throws in some extra .o
11830
# files that make .init and .fini sections work.
11831
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11833
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11835
hardcode_libdir_flag_spec='-L$libdir'
11836
hardcode_direct=yes
11837
hardcode_minus_L=yes
11838
hardcode_shlibpath_var=no
11842
case $host_vendor in
11844
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11845
hardcode_direct=yes # is this really true???
11848
## LD is ld it makes a PLAMLIB
11849
## CC just makes a GrossModule.
11850
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11851
reload_cmds='$CC -r -o $output$reload_objs'
11855
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11856
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11859
runpath_var='LD_RUN_PATH'
11860
hardcode_shlibpath_var=no
11864
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11865
hardcode_shlibpath_var=no
11866
export_dynamic_flag_spec='-Bexport'
11870
if test -d /usr/nec; then
11871
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11872
hardcode_shlibpath_var=no
11873
runpath_var=LD_RUN_PATH
11874
hardcode_runpath_var=yes
11879
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11880
no_undefined_flag='${wl}-z,text'
11881
archive_cmds_need_lc=no
11882
hardcode_shlibpath_var=no
11883
runpath_var='LD_RUN_PATH'
11885
if test "$GCC" = yes; then
11886
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11887
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11889
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11890
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11894
sysv5* | sco3.2v5* | sco5v6*)
11895
# Note: We can NOT use -z defs as we might desire, because we do not
11896
# link with -lc, and that would cause any symbols used from libc to
11897
# always be unresolved, which means just about no library would
11898
# ever link correctly. If we're not using GNU ld we use -z text
11899
# though, which does catch some bad symbols but isn't as heavy-handed
11901
no_undefined_flag='${wl}-z,text'
11902
allow_undefined_flag='${wl}-z,nodefs'
11903
archive_cmds_need_lc=no
11904
hardcode_shlibpath_var=no
11905
hardcode_libdir_flag_spec='${wl}-R,$libdir'
11906
hardcode_libdir_separator=':'
11907
link_all_deplibs=yes
11908
export_dynamic_flag_spec='${wl}-Bexport'
11909
runpath_var='LD_RUN_PATH'
11911
if test "$GCC" = yes; then
11912
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11913
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11915
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11916
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11921
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11922
hardcode_libdir_flag_spec='-L$libdir'
11923
hardcode_shlibpath_var=no
11931
if test x$host_vendor = xsni; then
11933
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11934
export_dynamic_flag_spec='${wl}-Blargedynsym'
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11941
$as_echo "$ld_shlibs" >&6; }
11942
test "$ld_shlibs" = no && can_build_shared=no
11944
with_gnu_ld=$with_gnu_ld
11961
# Do we need to explicitly link libc?
11963
case "x$archive_cmds_need_lc" in
11965
# Assume -lc should be added
11966
archive_cmds_need_lc=yes
11968
if test "$enable_shared" = yes && test "$GCC" = yes; then
11969
case $archive_cmds in
11971
# FIXME: we may have to deal with multi-command sequences.
11974
# Test whether the compiler implicitly links with -lc since on some
11975
# systems, -lgcc has to come before -lc. If gcc already passes -lc
11976
# to ld, don't add -lc before -lgcc.
11977
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11978
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11979
if ${lt_cv_archive_cmds_need_lc+:} false; then :
11980
$as_echo_n "(cached) " >&6
11983
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11985
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11986
(eval $ac_compile) 2>&5
11988
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11989
test $ac_status = 0; } 2>conftest.err; then
11992
libobjs=conftest.$ac_objext
11994
wl=$lt_prog_compiler_wl
11995
pic_flag=$lt_prog_compiler_pic
12001
lt_save_allow_undefined_flag=$allow_undefined_flag
12002
allow_undefined_flag=
12003
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12004
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12006
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12007
test $ac_status = 0; }
12009
lt_cv_archive_cmds_need_lc=no
12011
lt_cv_archive_cmds_need_lc=yes
12013
allow_undefined_flag=$lt_save_allow_undefined_flag
12015
cat conftest.err 1>&5
12020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12021
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12022
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12181
$as_echo_n "checking dynamic linker characteristics... " >&6; }
12183
if test "$GCC" = yes; then
12185
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12186
*) lt_awk_arg="/^libraries:/" ;;
12189
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12190
*) lt_sed_strip_eq="s,=/,/,g" ;;
12192
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12193
case $lt_search_path_spec in
12195
# if the path contains ";" then we assume it to be the separator
12196
# otherwise default to the standard path separator (i.e. ":") - it is
12197
# assumed that no part of a normal pathname contains ";" but that should
12198
# okay in the real world where ";" in dirpaths is itself problematic.
12199
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12202
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12205
# Ok, now we have the path, separated by spaces, we can step through it
12206
# and add multilib dir if necessary.
12207
lt_tmp_lt_search_path_spec=
12208
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12209
for lt_sys_path in $lt_search_path_spec; do
12210
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12211
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12213
test -d "$lt_sys_path" && \
12214
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12217
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12218
BEGIN {RS=" "; FS="/|\n";} {
12221
for (lt_i = NF; lt_i > 0; lt_i--) {
12222
if ($lt_i != "" && $lt_i != ".") {
12223
if ($lt_i == "..") {
12226
if (lt_count == 0) {
12227
lt_foo="/" $lt_i lt_foo;
12234
if (lt_foo != "") { lt_freq[lt_foo]++; }
12235
if (lt_freq[lt_foo] == 1) { print lt_foo; }
12237
# AWK program above erroneously prepends '/' to C:/dos/paths
12240
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12241
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
12243
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12245
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12247
library_names_spec=
12248
libname_spec='lib$name'
12252
postuninstall_cmds=
12256
shlibpath_overrides_runpath=unknown
12258
dynamic_linker="$host_os ld.so"
12259
sys_lib_dlsearch_path_spec="/lib /usr/lib"
12260
need_lib_prefix=unknown
12261
hardcode_into_libs=no
12263
# when you set need_version to no, make sure it does not cause -set_version
12264
# flags to be left without arguments
12265
need_version=unknown
12269
version_type=linux # correct to gnu/linux during the next big refactor
12270
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12271
shlibpath_var=LIBPATH
12273
# AIX 3 has no versioning support, so we append a major version to the name.
12274
soname_spec='${libname}${release}${shared_ext}$major'
12278
version_type=linux # correct to gnu/linux during the next big refactor
12281
hardcode_into_libs=yes
12282
if test "$host_cpu" = ia64; then
12283
# AIX 5 supports IA64
12284
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12285
shlibpath_var=LD_LIBRARY_PATH
12287
# With GCC up to 2.95.x, collect2 would create an import file
12288
# for dependence libraries. The import file would start with
12289
# the line `#! .'. This would cause the generated library to
12290
# depend on `.', always an invalid library. This was fixed in
12291
# development snapshots of GCC prior to 3.0.
12293
aix4 | aix4.[01] | aix4.[01].*)
12294
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12296
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12299
can_build_shared=no
12303
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12304
# soname into executable. Probably we can add versioning support to
12305
# collect2, so additional links can be useful in future.
12306
if test "$aix_use_runtimelinking" = yes; then
12307
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
12308
# instead of lib<name>.a to let people know that these are not
12309
# typical AIX shared libraries.
12310
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12312
# We preserve .a as extension for shared libraries through AIX4.2
12313
# and later when we are not doing run time linking.
12314
library_names_spec='${libname}${release}.a $libname.a'
12315
soname_spec='${libname}${release}${shared_ext}$major'
12317
shlibpath_var=LIBPATH
12324
# Since July 2007 AmigaOS4 officially supports .so libraries.
12325
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12326
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12329
library_names_spec='$libname.ixlibrary $libname.a'
12330
# Create ${libname}_ixlibrary.a entries in /sys/libs.
12331
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12337
library_names_spec='${libname}${shared_ext}'
12338
dynamic_linker="$host_os ld.so"
12339
shlibpath_var=LIBRARY_PATH
12343
version_type=linux # correct to gnu/linux during the next big refactor
12345
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12346
soname_spec='${libname}${release}${shared_ext}$major'
12347
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12348
shlibpath_var=LD_LIBRARY_PATH
12349
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12350
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12351
# the default ld.so.conf also contains /usr/contrib/lib and
12352
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12353
# libtool to hard-code these into programs
12356
cygwin* | mingw* | pw32* | cegcc*)
12357
version_type=windows
12362
case $GCC,$cc_basename in
12365
library_names_spec='$libname.dll.a'
12366
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12367
postinstall_cmds='base_file=`basename \${file}`~
12368
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12369
dldir=$destdir/`dirname \$dlpath`~
12370
test -d \$dldir || mkdir -p \$dldir~
12371
$install_prog $dir/$dlname \$dldir/$dlname~
12372
chmod a+x \$dldir/$dlname~
12373
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12374
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12376
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12377
dlpath=$dir/\$dldll~
12379
shlibpath_overrides_runpath=yes
12383
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
12384
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12386
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12389
# MinGW DLLs use traditional 'lib' prefix
12390
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12393
# pw32 DLLs use 'pw' prefix rather than 'lib'
12394
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12397
dynamic_linker='Win32 ld.exe'
12402
libname_spec='$name'
12403
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12404
library_names_spec='${libname}.dll.lib'
12408
sys_lib_search_path_spec=
12411
for lt_path in $LIB
12414
# Let DOS variable expansion print the short 8.3 style file name.
12415
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12416
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12419
# Convert to MSYS style.
12420
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12423
# Convert to unix form, then to dos form, then back to unix form
12424
# but this time dos style (no spaces!) so that the unix form looks
12425
# like /cygdrive/c/PROGRA~1:/cygdr...
12426
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12427
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12428
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12431
sys_lib_search_path_spec="$LIB"
12432
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12433
# It is most probably a Windows format PATH.
12434
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12436
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12438
# FIXME: find the short name or the path components, as spaces are
12439
# common. (e.g. "Program Files" -> "PROGRA~1")
12443
# DLL is installed to $(libdir)/../bin by postinstall_cmds
12444
postinstall_cmds='base_file=`basename \${file}`~
12445
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12446
dldir=$destdir/`dirname \$dlpath`~
12447
test -d \$dldir || mkdir -p \$dldir~
12448
$install_prog $dir/$dlname \$dldir/$dlname'
12449
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12450
dlpath=$dir/\$dldll~
12452
shlibpath_overrides_runpath=yes
12453
dynamic_linker='Win32 link.exe'
12457
# Assume MSVC wrapper
12458
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12459
dynamic_linker='Win32 ld.exe'
12462
# FIXME: first we should search . and the directory the executable is in
12466
darwin* | rhapsody*)
12467
dynamic_linker="$host_os dyld"
12468
version_type=darwin
12471
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12472
soname_spec='${libname}${release}${major}$shared_ext'
12473
shlibpath_overrides_runpath=yes
12474
shlibpath_var=DYLD_LIBRARY_PATH
12475
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12477
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12478
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12482
version_type=linux # correct to gnu/linux during the next big refactor
12485
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12486
soname_spec='${libname}${release}${shared_ext}$major'
12487
shlibpath_var=LD_LIBRARY_PATH
12490
freebsd* | dragonfly*)
12491
# DragonFly does not have aout. When/if they implement a new
12492
# versioning mechanism, adjust this.
12493
if test -x /usr/bin/objformat; then
12494
objformat=`/usr/bin/objformat`
12497
freebsd[23].*) objformat=aout ;;
12498
*) objformat=elf ;;
12501
version_type=freebsd-$objformat
12502
case $version_type in
12504
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12509
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12513
shlibpath_var=LD_LIBRARY_PATH
12516
shlibpath_overrides_runpath=yes
12518
freebsd3.[01]* | freebsdelf3.[01]*)
12519
shlibpath_overrides_runpath=yes
12520
hardcode_into_libs=yes
12522
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12523
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12524
shlibpath_overrides_runpath=no
12525
hardcode_into_libs=yes
12527
*) # from 4.6 on, and DragonFly
12528
shlibpath_overrides_runpath=yes
12529
hardcode_into_libs=yes
12535
version_type=linux # correct to gnu/linux during the next big refactor
12538
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12539
soname_spec='${libname}${release}${shared_ext}$major'
12540
shlibpath_var=LD_LIBRARY_PATH
12541
shlibpath_overrides_runpath=no
12542
hardcode_into_libs=yes
12546
version_type=linux # correct to gnu/linux during the next big refactor
12549
dynamic_linker="$host_os runtime_loader"
12550
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12551
soname_spec='${libname}${release}${shared_ext}$major'
12552
shlibpath_var=LIBRARY_PATH
12553
shlibpath_overrides_runpath=yes
12554
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12555
hardcode_into_libs=yes
12558
hpux9* | hpux10* | hpux11*)
12559
# Give a soname corresponding to the major version so that dld.sl refuses to
12560
# link against other versions.
12567
hardcode_into_libs=yes
12568
dynamic_linker="$host_os dld.so"
12569
shlibpath_var=LD_LIBRARY_PATH
12570
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12571
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12572
soname_spec='${libname}${release}${shared_ext}$major'
12573
if test "X$HPUX_IA64_MODE" = X32; then
12574
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12576
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12578
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12582
hardcode_into_libs=yes
12583
dynamic_linker="$host_os dld.sl"
12584
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12585
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12586
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12587
soname_spec='${libname}${release}${shared_ext}$major'
12588
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12589
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12593
dynamic_linker="$host_os dld.sl"
12594
shlibpath_var=SHLIB_PATH
12595
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12596
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12597
soname_spec='${libname}${release}${shared_ext}$major'
12600
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12601
postinstall_cmds='chmod 555 $lib'
12602
# or fails outright, so override atomically:
12603
install_override_mode=555
12607
version_type=linux # correct to gnu/linux during the next big refactor
12610
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12611
soname_spec='${libname}${release}${shared_ext}$major'
12612
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12613
shlibpath_var=LD_LIBRARY_PATH
12614
shlibpath_overrides_runpath=no
12615
hardcode_into_libs=yes
12618
irix5* | irix6* | nonstopux*)
12620
nonstopux*) version_type=nonstopux ;;
12622
if test "$lt_cv_prog_gnu_ld" = yes; then
12623
version_type=linux # correct to gnu/linux during the next big refactor
12630
soname_spec='${libname}${release}${shared_ext}$major'
12631
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12633
irix5* | nonstopux*)
12634
libsuff= shlibsuff=
12637
case $LD in # libtool.m4 will add one of these switches to LD
12638
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12639
libsuff= shlibsuff= libmagic=32-bit;;
12640
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12641
libsuff=32 shlibsuff=N32 libmagic=N32;;
12642
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12643
libsuff=64 shlibsuff=64 libmagic=64-bit;;
12644
*) libsuff= shlibsuff= libmagic=never-match;;
12648
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12649
shlibpath_overrides_runpath=no
12650
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12651
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12652
hardcode_into_libs=yes
12655
# No shared lib support for Linux oldld, aout, or coff.
12656
linux*oldld* | linux*aout* | linux*coff*)
12660
# This must be glibc/ELF.
12661
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12662
version_type=linux # correct to gnu/linux during the next big refactor
12665
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12666
soname_spec='${libname}${release}${shared_ext}$major'
12667
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12668
shlibpath_var=LD_LIBRARY_PATH
12669
shlibpath_overrides_runpath=no
12671
# Some binutils ld are patched to set DT_RUNPATH
12672
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12673
$as_echo_n "(cached) " >&6
12675
lt_cv_shlibpath_overrides_runpath=no
12676
save_LDFLAGS=$LDFLAGS
12677
save_libdir=$libdir
12678
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12679
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12680
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12681
/* end confdefs.h. */
12691
if ac_fn_c_try_link "$LINENO"; then :
12692
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12693
lt_cv_shlibpath_overrides_runpath=yes
12696
rm -f core conftest.err conftest.$ac_objext \
12697
conftest$ac_exeext conftest.$ac_ext
12698
LDFLAGS=$save_LDFLAGS
12699
libdir=$save_libdir
12703
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12705
# This implies no fast_install, which is unacceptable.
12706
# Some rework will be needed to allow for fast_install
12707
# before this can be enabled.
12708
hardcode_into_libs=yes
12710
# Add ABI-specific directories to the system library path.
12711
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
12713
# Append ld.so.conf contents to the search path
12714
if test -f /etc/ld.so.conf; then
12715
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
12716
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
12720
# We used to test for /lib/ld.so.1 and disable shared libraries on
12721
# powerpc, because MkLinux only supported shared libraries with the
12722
# GNU dynamic linker. Since this was broken with cross compilers,
12723
# most powerpc-linux boxes support dynamic linking these days and
12724
# people can always --disable-shared, the test was removed, and we
12725
# assume the GNU/Linux dynamic linker is in use.
12726
dynamic_linker='GNU/Linux ld.so'
12733
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12734
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12735
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12736
dynamic_linker='NetBSD (a.out) ld.so'
12738
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12739
soname_spec='${libname}${release}${shared_ext}$major'
12740
dynamic_linker='NetBSD ld.elf_so'
12742
shlibpath_var=LD_LIBRARY_PATH
12743
shlibpath_overrides_runpath=yes
12744
hardcode_into_libs=yes
12748
version_type=linux # correct to gnu/linux during the next big refactor
12749
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12750
shlibpath_var=LD_LIBRARY_PATH
12751
shlibpath_overrides_runpath=yes
12758
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12759
soname_spec='${libname}${release}${shared_ext}$major'
12760
shlibpath_var=LD_LIBRARY_PATH
12761
shlibpath_overrides_runpath=no
12762
hardcode_into_libs=yes
12763
dynamic_linker='ldqnx.so'
12768
sys_lib_dlsearch_path_spec="/usr/lib"
12770
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12772
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
12773
*) need_version=no ;;
12775
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12776
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12777
shlibpath_var=LD_LIBRARY_PATH
12778
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12780
openbsd2.[89] | openbsd2.[89].*)
12781
shlibpath_overrides_runpath=no
12784
shlibpath_overrides_runpath=yes
12788
shlibpath_overrides_runpath=yes
12793
libname_spec='$name'
12796
library_names_spec='$libname${shared_ext} $libname.a'
12797
dynamic_linker='OS/2 ld.exe'
12798
shlibpath_var=LIBPATH
12801
osf3* | osf4* | osf5*)
12805
soname_spec='${libname}${release}${shared_ext}$major'
12806
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12807
shlibpath_var=LD_LIBRARY_PATH
12808
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12809
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
12817
version_type=linux # correct to gnu/linux during the next big refactor
12820
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12821
soname_spec='${libname}${release}${shared_ext}$major'
12822
shlibpath_var=LD_LIBRARY_PATH
12823
shlibpath_overrides_runpath=yes
12824
hardcode_into_libs=yes
12825
# ldd complains unless libraries are executable
12826
postinstall_cmds='chmod +x $lib'
12831
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12832
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12833
shlibpath_var=LD_LIBRARY_PATH
12834
shlibpath_overrides_runpath=yes
12835
if test "$with_gnu_ld" = yes; then
12842
version_type=linux # correct to gnu/linux during the next big refactor
12843
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12844
soname_spec='${libname}${release}${shared_ext}$major'
12845
shlibpath_var=LD_LIBRARY_PATH
12846
case $host_vendor in
12848
shlibpath_overrides_runpath=no
12850
runpath_var=LD_RUN_PATH
12858
shlibpath_overrides_runpath=no
12859
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12865
if test -d /usr/nec ;then
12866
version_type=linux # correct to gnu/linux during the next big refactor
12867
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12868
soname_spec='$libname${shared_ext}.$major'
12869
shlibpath_var=LD_LIBRARY_PATH
12873
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12874
version_type=freebsd-elf
12877
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12878
soname_spec='${libname}${release}${shared_ext}$major'
12879
shlibpath_var=LD_LIBRARY_PATH
12880
shlibpath_overrides_runpath=yes
12881
hardcode_into_libs=yes
12882
if test "$with_gnu_ld" = yes; then
12883
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12885
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12888
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12892
sys_lib_dlsearch_path_spec='/usr/lib'
12896
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12897
version_type=linux # correct to gnu/linux during the next big refactor
12900
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12901
shlibpath_var=LD_LIBRARY_PATH
12902
shlibpath_overrides_runpath=no
12903
hardcode_into_libs=yes
12907
version_type=linux # correct to gnu/linux during the next big refactor
12908
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12909
soname_spec='${libname}${release}${shared_ext}$major'
12910
shlibpath_var=LD_LIBRARY_PATH
12917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12918
$as_echo "$dynamic_linker" >&6; }
12919
test "$dynamic_linker" = no && can_build_shared=no
12921
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12922
if test "$GCC" = yes; then
12923
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12926
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12927
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
12929
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12930
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13024
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13025
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13027
if test -n "$hardcode_libdir_flag_spec" ||
13028
test -n "$runpath_var" ||
13029
test "X$hardcode_automatic" = "Xyes" ; then
13031
# We can hardcode non-existent directories.
13032
if test "$hardcode_direct" != no &&
13033
# If the only mechanism to avoid hardcoding is shlibpath_var, we
13034
# have to relink, otherwise we might link with an installed library
13035
# when we should be linking with a yet-to-be-installed one
13036
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13037
test "$hardcode_minus_L" != no; then
13038
# Linking always hardcodes the temporary library directory.
13039
hardcode_action=relink
13041
# We can link without hardcoding, and we can hardcode nonexisting dirs.
13042
hardcode_action=immediate
13045
# We cannot hardcode anything, or else we can only hardcode existing
13047
hardcode_action=unsupported
13049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13050
$as_echo "$hardcode_action" >&6; }
13052
if test "$hardcode_action" = relink ||
13053
test "$inherit_rpath" = yes; then
13054
# Fast installation is not supported
13055
enable_fast_install=no
13056
elif test "$shlibpath_overrides_runpath" = yes ||
13057
test "$enable_shared" = no; then
13058
# Fast installation is not necessary
13059
enable_fast_install=needless
13067
if test "x$enable_dlopen" != xyes; then
13068
enable_dlopen=unknown
13069
enable_dlopen_self=unknown
13070
enable_dlopen_self_static=unknown
13077
lt_cv_dlopen="load_add_on"
13079
lt_cv_dlopen_self=yes
13082
mingw* | pw32* | cegcc*)
13083
lt_cv_dlopen="LoadLibrary"
13088
lt_cv_dlopen="dlopen"
13093
# if libdl is installed we need to link against it
13094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13095
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13096
if ${ac_cv_lib_dl_dlopen+:} false; then :
13097
$as_echo_n "(cached) " >&6
13099
ac_check_lib_save_LIBS=$LIBS
13101
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13102
/* end confdefs.h. */
13104
/* Override any GCC internal prototype to avoid an error.
13105
Use char because int might match the return type of a GCC
13106
builtin and then its argument prototype would still apply. */
13119
if ac_fn_c_try_link "$LINENO"; then :
13120
ac_cv_lib_dl_dlopen=yes
13122
ac_cv_lib_dl_dlopen=no
13124
rm -f core conftest.err conftest.$ac_objext \
13125
conftest$ac_exeext conftest.$ac_ext
13126
LIBS=$ac_check_lib_save_LIBS
13128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13129
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13130
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13131
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13134
lt_cv_dlopen="dyld"
13136
lt_cv_dlopen_self=yes
13143
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13144
if test "x$ac_cv_func_shl_load" = xyes; then :
13145
lt_cv_dlopen="shl_load"
13147
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13148
$as_echo_n "checking for shl_load in -ldld... " >&6; }
13149
if ${ac_cv_lib_dld_shl_load+:} false; then :
13150
$as_echo_n "(cached) " >&6
13152
ac_check_lib_save_LIBS=$LIBS
13154
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13155
/* end confdefs.h. */
13157
/* Override any GCC internal prototype to avoid an error.
13158
Use char because int might match the return type of a GCC
13159
builtin and then its argument prototype would still apply. */
13167
return shl_load ();
13172
if ac_fn_c_try_link "$LINENO"; then :
13173
ac_cv_lib_dld_shl_load=yes
13175
ac_cv_lib_dld_shl_load=no
13177
rm -f core conftest.err conftest.$ac_objext \
13178
conftest$ac_exeext conftest.$ac_ext
13179
LIBS=$ac_check_lib_save_LIBS
13181
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13182
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13183
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13184
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13186
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13187
if test "x$ac_cv_func_dlopen" = xyes; then :
13188
lt_cv_dlopen="dlopen"
13190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13191
$as_echo_n "checking for dlopen in -ldl... " >&6; }
13192
if ${ac_cv_lib_dl_dlopen+:} false; then :
13193
$as_echo_n "(cached) " >&6
13195
ac_check_lib_save_LIBS=$LIBS
13197
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13198
/* end confdefs.h. */
13200
/* Override any GCC internal prototype to avoid an error.
13201
Use char because int might match the return type of a GCC
13202
builtin and then its argument prototype would still apply. */
13215
if ac_fn_c_try_link "$LINENO"; then :
13216
ac_cv_lib_dl_dlopen=yes
13218
ac_cv_lib_dl_dlopen=no
13220
rm -f core conftest.err conftest.$ac_objext \
13221
conftest$ac_exeext conftest.$ac_ext
13222
LIBS=$ac_check_lib_save_LIBS
13224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13225
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13226
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13227
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13230
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13231
if ${ac_cv_lib_svld_dlopen+:} false; then :
13232
$as_echo_n "(cached) " >&6
13234
ac_check_lib_save_LIBS=$LIBS
13235
LIBS="-lsvld $LIBS"
13236
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13237
/* end confdefs.h. */
13239
/* Override any GCC internal prototype to avoid an error.
13240
Use char because int might match the return type of a GCC
13241
builtin and then its argument prototype would still apply. */
13254
if ac_fn_c_try_link "$LINENO"; then :
13255
ac_cv_lib_svld_dlopen=yes
13257
ac_cv_lib_svld_dlopen=no
13259
rm -f core conftest.err conftest.$ac_objext \
13260
conftest$ac_exeext conftest.$ac_ext
13261
LIBS=$ac_check_lib_save_LIBS
13263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13264
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13265
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13266
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13269
$as_echo_n "checking for dld_link in -ldld... " >&6; }
13270
if ${ac_cv_lib_dld_dld_link+:} false; then :
13271
$as_echo_n "(cached) " >&6
13273
ac_check_lib_save_LIBS=$LIBS
13275
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13276
/* end confdefs.h. */
13278
/* Override any GCC internal prototype to avoid an error.
13279
Use char because int might match the return type of a GCC
13280
builtin and then its argument prototype would still apply. */
13288
return dld_link ();
13293
if ac_fn_c_try_link "$LINENO"; then :
13294
ac_cv_lib_dld_dld_link=yes
13296
ac_cv_lib_dld_dld_link=no
13298
rm -f core conftest.err conftest.$ac_objext \
13299
conftest$ac_exeext conftest.$ac_ext
13300
LIBS=$ac_check_lib_save_LIBS
13302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13303
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13304
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13305
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
13326
if test "x$lt_cv_dlopen" != xno; then
13332
case $lt_cv_dlopen in
13334
save_CPPFLAGS="$CPPFLAGS"
13335
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13337
save_LDFLAGS="$LDFLAGS"
13338
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13341
LIBS="$lt_cv_dlopen_libs $LIBS"
13343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13344
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13345
if ${lt_cv_dlopen_self+:} false; then :
13346
$as_echo_n "(cached) " >&6
13348
if test "$cross_compiling" = yes; then :
13349
lt_cv_dlopen_self=cross
13351
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13352
lt_status=$lt_dlunknown
13353
cat > conftest.$ac_ext <<_LT_EOF
13354
#line $LINENO "configure"
13355
#include "confdefs.h"
13364
# define LT_DLGLOBAL RTLD_GLOBAL
13367
# define LT_DLGLOBAL DL_GLOBAL
13369
# define LT_DLGLOBAL 0
13373
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13374
find out it does not work in some platform. */
13375
#ifndef LT_DLLAZY_OR_NOW
13377
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13380
# define LT_DLLAZY_OR_NOW DL_LAZY
13383
# define LT_DLLAZY_OR_NOW RTLD_NOW
13386
# define LT_DLLAZY_OR_NOW DL_NOW
13388
# define LT_DLLAZY_OR_NOW 0
13395
/* When -fvisbility=hidden is used, assume the code has been annotated
13396
correspondingly for the symbols needed. */
13397
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13398
int fnord () __attribute__((visibility("default")));
13401
int fnord () { return 42; }
13404
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13405
int status = $lt_dlunknown;
13409
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13412
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13413
else puts (dlerror ());
13415
/* dlclose (self); */
13423
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13424
(eval $ac_link) 2>&5
13426
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13427
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13428
(./conftest; exit; ) >&5 2>/dev/null
13430
case x$lt_status in
13431
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13432
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13433
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13436
# compilation failed
13437
lt_cv_dlopen_self=no
13444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13445
$as_echo "$lt_cv_dlopen_self" >&6; }
13447
if test "x$lt_cv_dlopen_self" = xyes; then
13448
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13450
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13451
if ${lt_cv_dlopen_self_static+:} false; then :
13452
$as_echo_n "(cached) " >&6
13454
if test "$cross_compiling" = yes; then :
13455
lt_cv_dlopen_self_static=cross
13457
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13458
lt_status=$lt_dlunknown
13459
cat > conftest.$ac_ext <<_LT_EOF
13460
#line $LINENO "configure"
13461
#include "confdefs.h"
13470
# define LT_DLGLOBAL RTLD_GLOBAL
13473
# define LT_DLGLOBAL DL_GLOBAL
13475
# define LT_DLGLOBAL 0
13479
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13480
find out it does not work in some platform. */
13481
#ifndef LT_DLLAZY_OR_NOW
13483
# define LT_DLLAZY_OR_NOW RTLD_LAZY
13486
# define LT_DLLAZY_OR_NOW DL_LAZY
13489
# define LT_DLLAZY_OR_NOW RTLD_NOW
13492
# define LT_DLLAZY_OR_NOW DL_NOW
13494
# define LT_DLLAZY_OR_NOW 0
13501
/* When -fvisbility=hidden is used, assume the code has been annotated
13502
correspondingly for the symbols needed. */
13503
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13504
int fnord () __attribute__((visibility("default")));
13507
int fnord () { return 42; }
13510
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13511
int status = $lt_dlunknown;
13515
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
13518
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
13519
else puts (dlerror ());
13521
/* dlclose (self); */
13529
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13530
(eval $ac_link) 2>&5
13532
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13533
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
13534
(./conftest; exit; ) >&5 2>/dev/null
13536
case x$lt_status in
13537
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13538
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13539
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13542
# compilation failed
13543
lt_cv_dlopen_self_static=no
13550
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13551
$as_echo "$lt_cv_dlopen_self_static" >&6; }
13554
CPPFLAGS="$save_CPPFLAGS"
13555
LDFLAGS="$save_LDFLAGS"
13560
case $lt_cv_dlopen_self in
13561
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13562
*) enable_dlopen_self=unknown ;;
13565
case $lt_cv_dlopen_self_static in
13566
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13567
*) enable_dlopen_self_static=unknown ;;
13589
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13590
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13591
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13592
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13593
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13595
$as_echo "yes" >&6; }
13597
# FIXME - insert some real tests, host_os isn't really good enough
13600
if test -n "$STRIP" ; then
13601
striplib="$STRIP -x"
13602
old_striplib="$STRIP -S"
13603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13604
$as_echo "yes" >&6; }
13606
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13607
$as_echo "no" >&6; }
13611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13612
$as_echo "no" >&6; }
13628
# Report which library types will actually be built
13629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13630
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13632
$as_echo "$can_build_shared" >&6; }
13634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13635
$as_echo_n "checking whether to build shared libraries... " >&6; }
13636
test "$can_build_shared" = "no" && enable_shared=no
13638
# On AIX, shared libraries and static libraries use the same namespace, and
13639
# are all built from PIC.
13642
test "$enable_shared" = yes && enable_static=no
13643
if test -n "$RANLIB"; then
13644
archive_cmds="$archive_cmds~\$RANLIB \$lib"
13645
postinstall_cmds='$RANLIB $lib'
13650
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
13651
test "$enable_shared" = yes && enable_static=no
13655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13656
$as_echo "$enable_shared" >&6; }
13658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13659
$as_echo_n "checking whether to build static libraries... " >&6; }
13660
# Make sure either enable_shared or enable_static is yes.
13661
test "$enable_shared" = yes || enable_static=yes
13662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13663
$as_echo "$enable_static" >&6; }
13670
ac_cpp='$CPP $CPPFLAGS'
13671
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13672
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13673
ac_compiler_gnu=$ac_cv_c_compiler_gnu
13691
ac_config_commands="$ac_config_commands libtool"
13696
# Only expand once:
13700
: ${CONFIG_LT=./config.lt}
13701
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
13702
$as_echo "$as_me: creating $CONFIG_LT" >&6;}
13704
cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
13706
# Generated by $as_me.
13707
# Run this file to recreate a libtool stub with the current configuration.
13708
SHELL=\${CONFIG_SHELL-$SHELL}
13711
cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
13712
## -------------------- ##
13713
## M4sh Initialization. ##
13714
## -------------------- ##
13716
# Be more Bourne compatible
13717
DUALCASE=1; export DUALCASE # for MKS sh
13718
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13721
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13722
# is contrary to our usage. Disable this feature.
13723
alias -g '${1+"$@"}'='"$@"'
13724
setopt NO_GLOB_SUBST
13726
case `(set -o) 2>/dev/null` in #(
13738
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13739
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13740
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13741
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13742
# Prefer a ksh shell builtin over an external printf program on Solaris,
13743
# but without wasting forks for bash or zsh.
13744
if test -z "$BASH_VERSION$ZSH_VERSION" \
13745
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13746
as_echo='print -r --'
13747
as_echo_n='print -rn --'
13748
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13749
as_echo='printf %s\n'
13750
as_echo_n='printf %s'
13752
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13753
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13754
as_echo_n='/usr/ucb/echo -n'
13756
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13757
as_echo_n_body='eval
13761
expr "X$arg" : "X\\(.*\\)$as_nl";
13762
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13764
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13766
export as_echo_n_body
13767
as_echo_n='sh -c $as_echo_n_body as_echo'
13769
export as_echo_body
13770
as_echo='sh -c $as_echo_body as_echo'
13773
# The user is always right.
13774
if test "${PATH_SEPARATOR+set}" != set; then
13776
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13777
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13784
# We need space, tab and new line, in precisely that order. Quoting is
13785
# there to prevent editors from complaining about space-tab.
13786
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13787
# splitting by setting IFS to empty value.)
13790
# Find who we are. Look in the path if we contain no directory separator.
13793
*[\\/]* ) as_myself=$0 ;;
13794
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13795
for as_dir in $PATH
13798
test -z "$as_dir" && as_dir=.
13799
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13805
# We did not find ourselves, most probably we were run as `sh COMMAND'
13806
# in which case we are not to be found in the path.
13807
if test "x$as_myself" = x; then
13810
if test ! -f "$as_myself"; then
13811
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13815
# Unset variables that we do not need and which cause bugs (e.g. in
13816
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13817
# suppresses any "Segmentation fault" message there. '((' could
13818
# trigger a bug in pdksh 5.2.14.
13819
for as_var in BASH_ENV ENV MAIL MAILPATH
13820
do eval test x\${$as_var+set} = xset \
13821
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13834
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13837
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13838
# ----------------------------------------
13839
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13840
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13841
# script with STATUS, using 1 if that was 0.
13844
as_status=$1; test $as_status -eq 0 && as_status=1
13846
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13847
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13849
$as_echo "$as_me: error: $2" >&2
13850
as_fn_exit $as_status
13854
# as_fn_set_status STATUS
13855
# -----------------------
13856
# Set $? to STATUS, without forking.
13857
as_fn_set_status ()
13860
} # as_fn_set_status
13862
# as_fn_exit STATUS
13863
# -----------------
13864
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13868
as_fn_set_status $1
13874
# Portably unset VAR.
13877
{ eval $1=; unset $1;}
13879
as_unset=as_fn_unset
13880
# as_fn_append VAR VALUE
13881
# ----------------------
13882
# Append the text in VALUE to the end of the definition contained in VAR. Take
13883
# advantage of any shell optimizations that allow amortized linear growth over
13884
# repeated appends, instead of the typical quadratic growth present in naive
13886
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13887
eval 'as_fn_append ()
13898
# as_fn_arith ARG...
13899
# ------------------
13900
# Perform arithmetic evaluation on the ARGs, and store the result in the
13901
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13902
# must be portable across $(()) and expr.
13903
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13904
eval 'as_fn_arith ()
13911
as_val=`expr "$@" || test $? -eq 1`
13916
if expr a : '\(a\)' >/dev/null 2>&1 &&
13917
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13923
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13924
as_basename=basename
13929
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13935
as_me=`$as_basename -- "$0" ||
13936
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13937
X"$0" : 'X\(//\)$' \| \
13938
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13940
sed '/^.*\/\([^/][^/]*\)\/*$/{
13954
# Avoid depending upon Character Ranges.
13955
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13956
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13957
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13958
as_cr_digits='0123456789'
13959
as_cr_alnum=$as_cr_Letters$as_cr_digits
13961
ECHO_C= ECHO_N= ECHO_T=
13962
case `echo -n x` in #(((((
13964
case `echo 'xy\c'` in
13965
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
13967
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
13974
rm -f conf$$ conf$$.exe conf$$.file
13975
if test -d conf$$.dir; then
13976
rm -f conf$$.dir/conf$$.file
13979
mkdir conf$$.dir 2>/dev/null
13981
if (echo >conf$$.file) 2>/dev/null; then
13982
if ln -s conf$$.file conf$$ 2>/dev/null; then
13984
# ... but there are two gotchas:
13985
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13986
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13987
# In both cases, we have to default to `cp -pR'.
13988
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13990
elif ln conf$$.file conf$$ 2>/dev/null; then
13998
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13999
rmdir conf$$.dir 2>/dev/null
14004
# Create "$as_dir" as a directory, including parents if necessary.
14009
-*) as_dir=./$as_dir;;
14011
test -d "$as_dir" || eval $as_mkdir_p || {
14015
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14016
*) as_qdir=$as_dir;;
14018
as_dirs="'$as_qdir' $as_dirs"
14019
as_dir=`$as_dirname -- "$as_dir" ||
14020
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14021
X"$as_dir" : 'X\(//\)[^/]' \| \
14022
X"$as_dir" : 'X\(//\)$' \| \
14023
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14024
$as_echo X"$as_dir" |
14025
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14029
/^X\(\/\/\)[^/].*/{
14042
test -d "$as_dir" && break
14044
test -z "$as_dirs" || eval "mkdir $as_dirs"
14045
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14049
if mkdir -p . 2>/dev/null; then
14050
as_mkdir_p='mkdir -p "$as_dir"'
14052
test -d ./-p && rmdir ./-p
14057
# as_fn_executable_p FILE
14058
# -----------------------
14059
# Test if FILE is an executable regular file.
14060
as_fn_executable_p ()
14062
test -f "$1" && test -x "$1"
14063
} # as_fn_executable_p
14064
as_test_x='test -x'
14065
as_executable_p=as_fn_executable_p
14067
# Sed expression to map a string onto a valid CPP name.
14068
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14070
# Sed expression to map a string onto a valid variable name.
14071
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14075
## --------------------------------- ##
14076
## Main body of "$CONFIG_LT" script. ##
14077
## --------------------------------- ##
14079
test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
14081
cat >>"$CONFIG_LT" <<\_LTEOF
14086
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14087
## Running $as_me. ##
14092
\`$as_me' creates a local libtool stub from the current configuration,
14093
for use in further configure time tests before the real libtool is
14096
Usage: $0 [OPTIONS]
14098
-h, --help print this help, then exit
14099
-V, --version print version number, then exit
14100
-q, --quiet do not print progress messages
14101
-d, --debug don't remove temporary files
14103
Report bugs to <bug-libtool@gnu.org>."
14106
rhythmbox config.lt 3.0.1
14107
configured by $0, generated by GNU Autoconf 2.69.
14109
Copyright (C) 2011 Free Software Foundation, Inc.
14110
This config.lt script is free software; the Free Software Foundation
14111
gives unlimited permision to copy, distribute and modify it."
14116
--version | --v* | -V )
14117
echo "$lt_cl_version"; exit 0 ;;
14118
--help | --h* | -h )
14119
echo "$lt_cl_help"; exit 0 ;;
14120
--debug | --d* | -d )
14122
--quiet | --q* | --silent | --s* | -q )
14125
-*) as_fn_error $? "unrecognized option: $1
14126
Try \`$0 --help' for more information." "$LINENO" 5 ;;
14128
*) as_fn_error $? "unrecognized argument: $1
14129
Try \`$0 --help' for more information." "$LINENO" 5 ;;
14134
if $lt_cl_silent; then
14139
cat >>"$CONFIG_LT" <<_LTEOF
14142
# The HP-UX ksh and POSIX shell print the target directory to stdout
14143
# if CDPATH is set.
14144
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14146
sed_quote_subst='$sed_quote_subst'
14147
double_quote_subst='$double_quote_subst'
14148
delay_variable_subst='$delay_variable_subst'
14149
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14150
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14151
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14152
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14153
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14154
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14155
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14156
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14157
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14158
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14159
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14160
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14161
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14162
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14163
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14164
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14165
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14166
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14167
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14168
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14169
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14170
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14171
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14172
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14173
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14174
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14175
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14176
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14177
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14178
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14179
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14180
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14181
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14182
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14183
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14184
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14185
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14186
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14187
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14188
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14189
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14190
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14191
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14192
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14193
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14194
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14195
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14196
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14197
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14198
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14199
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14200
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14201
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14202
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14203
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14204
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14205
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
14206
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14207
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14208
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14209
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14210
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14211
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14212
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14213
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14214
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14215
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14216
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14217
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14218
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14219
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14220
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14221
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14222
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14223
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14224
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14225
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14226
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14227
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14228
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14229
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14230
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14231
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14232
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14233
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14234
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14235
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14236
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14237
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14238
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14239
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14240
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14241
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14242
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14243
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14244
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14245
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14246
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14247
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14248
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14249
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14250
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14251
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14252
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14253
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14254
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14255
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14256
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14257
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14258
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14259
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14260
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14261
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14262
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14263
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14264
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14265
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14266
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14267
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14268
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14269
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14270
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14271
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14272
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14273
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14274
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14275
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14276
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14277
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14278
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14281
LTCFLAGS='$LTCFLAGS'
14282
compiler='$compiler_DEFAULT'
14284
# A function that is used when there is no print builtin or printf.
14285
func_fallback_echo ()
14287
eval 'cat <<_LTECHO_EOF
14292
# Quote evaled strings.
14307
deplibs_check_method \
14312
sharedlib_from_linklib_cmd \
14315
archiver_list_spec \
14321
lt_cv_sys_global_symbol_pipe \
14322
lt_cv_sys_global_symbol_to_cdecl \
14323
lt_cv_sys_global_symbol_to_c_name_address \
14324
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14325
nm_file_list_spec \
14326
lt_prog_compiler_no_builtin_flag \
14327
lt_prog_compiler_pic \
14328
lt_prog_compiler_wl \
14329
lt_prog_compiler_static \
14330
lt_cv_prog_compiler_c_o \
14339
export_dynamic_flag_spec \
14340
whole_archive_flag_spec \
14341
compiler_needs_object \
14343
allow_undefined_flag \
14344
no_undefined_flag \
14345
hardcode_libdir_flag_spec \
14346
hardcode_libdir_separator \
14350
variables_saved_for_relink \
14352
library_names_spec \
14354
install_override_mode \
14358
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14359
*[\\\\\\\`\\"\\\$]*)
14360
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14363
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14368
# Double-quote double-evaled strings.
14369
for var in reload_cmds \
14370
old_postinstall_cmds \
14371
old_postuninstall_cmds \
14373
extract_expsyms_cmds \
14374
old_archive_from_new_cmds \
14375
old_archive_from_expsyms_cmds \
14377
archive_expsym_cmds \
14379
module_expsym_cmds \
14380
export_symbols_cmds \
14384
postuninstall_cmds \
14386
sys_lib_search_path_spec \
14387
sys_lib_dlsearch_path_spec; do
14388
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14389
*[\\\\\\\`\\"\\\$]*)
14390
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14393
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14398
ac_aux_dir='$ac_aux_dir'
14399
xsi_shell='$xsi_shell'
14400
lt_shell_append='$lt_shell_append'
14402
# See if we are running on zsh, and set the options which allow our
14403
# commands through without removal of \ escapes INIT.
14404
if test -n "\${ZSH_VERSION+set}" ; then
14405
setopt NO_GLOB_SUBST
14411
TIMESTAMP='$TIMESTAMP'
14419
cat >>"$CONFIG_LT" <<\_LTEOF
14420
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
14421
$as_echo "$as_me: creating $ofile" >&6;}
14424
# See if we are running on zsh, and set the options which allow our
14425
# commands through without removal of \ escapes.
14426
if test -n "${ZSH_VERSION+set}" ; then
14427
setopt NO_GLOB_SUBST
14430
cfgfile="${ofile}T"
14431
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14434
cat <<_LT_EOF >> "$cfgfile"
14437
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14438
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14439
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14440
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14442
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14443
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
14445
# Written by Gordon Matzigkeit, 1996
14447
# This file is part of GNU Libtool.
14449
# GNU Libtool is free software; you can redistribute it and/or
14450
# modify it under the terms of the GNU General Public License as
14451
# published by the Free Software Foundation; either version 2 of
14452
# the License, or (at your option) any later version.
14454
# As a special exception to the GNU General Public License,
14455
# if you distribute this file as part of a program or library that
14456
# is built using GNU Libtool, you may include this file under the
14457
# same distribution terms that you use for the rest of that program.
14459
# GNU Libtool is distributed in the hope that it will be useful,
14460
# but WITHOUT ANY WARRANTY; without even the implied warranty of
14461
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14462
# GNU General Public License for more details.
14464
# You should have received a copy of the GNU General Public License
14465
# along with GNU Libtool; see the file COPYING. If not, a copy
14466
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14467
# obtained by writing to the Free Software Foundation, Inc.,
14468
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14471
# The names of the tagged configurations supported by this script.
14474
# ### BEGIN LIBTOOL CONFIG
14476
# Which release of libtool.m4 was used?
14477
macro_version=$macro_version
14478
macro_revision=$macro_revision
14480
# Whether or not to build static libraries.
14481
build_old_libs=$enable_static
14483
# Whether or not to build shared libraries.
14484
build_libtool_libs=$enable_shared
14486
# What type of objects to build.
14489
# Whether or not to optimize for fast installation.
14490
fast_install=$enable_fast_install
14492
# Shell to use when invoking shell scripts.
14495
# An echo program that protects backslashes.
14498
# The PATH separator for the build system.
14499
PATH_SEPARATOR=$lt_PATH_SEPARATOR
14502
host_alias=$host_alias
14506
# The build system.
14507
build_alias=$build_alias
14511
# A sed program that does not truncate output.
14514
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14515
Xsed="\$SED -e 1s/^X//"
14517
# A grep program that handles long lines.
14523
# A literal string matcher.
14526
# A BSD- or MS-compatible name lister.
14529
# Whether we need soft or hard links.
14532
# What is the maximum length of a command?
14533
max_cmd_len=$max_cmd_len
14535
# Object file suffix (normally "o").
14538
# Executable file suffix (normally "").
14541
# whether the shell understands "unset".
14544
# turn spaces into newlines.
14547
# turn newlines into spaces.
14550
# convert \$build file names to \$host format.
14551
to_host_file_cmd=$lt_cv_to_host_file_cmd
14553
# convert \$build files to toolchain format.
14554
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14556
# An object symbol dumper.
14557
OBJDUMP=$lt_OBJDUMP
14559
# Method to check whether dependent libraries are shared objects.
14560
deplibs_check_method=$lt_deplibs_check_method
14562
# Command to use when deplibs_check_method = "file_magic".
14563
file_magic_cmd=$lt_file_magic_cmd
14565
# How to find potential files when deplibs_check_method = "file_magic".
14566
file_magic_glob=$lt_file_magic_glob
14568
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14569
want_nocaseglob=$lt_want_nocaseglob
14571
# DLL creation program.
14572
DLLTOOL=$lt_DLLTOOL
14574
# Command to associate shared and link libraries.
14575
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14580
# Flags to create an archive.
14581
AR_FLAGS=$lt_AR_FLAGS
14583
# How to feed a file listing to the archiver.
14584
archiver_list_spec=$lt_archiver_list_spec
14586
# A symbol stripping program.
14589
# Commands used to install an old-style archive.
14591
old_postinstall_cmds=$lt_old_postinstall_cmds
14592
old_postuninstall_cmds=$lt_old_postuninstall_cmds
14594
# Whether to use a lock for old archive extraction.
14595
lock_old_archive_extraction=$lock_old_archive_extraction
14600
# LTCC compiler flags.
14601
LTCFLAGS=$lt_CFLAGS
14603
# Take the output of nm and produce a listing of raw symbols and C names.
14604
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14606
# Transform the output of nm in a proper C declaration.
14607
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14609
# Transform the output of nm in a C name address pair.
14610
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14612
# Transform the output of nm in a C name address pair when lib prefix is needed.
14613
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14615
# Specify filename containing input files for \$NM.
14616
nm_file_list_spec=$lt_nm_file_list_spec
14618
# The root where to search for dependent libraries,and in which our libraries should be installed.
14619
lt_sysroot=$lt_sysroot
14621
# The name of the directory that contains temporary libtool files.
14624
# Used to examine libraries when file_magic_cmd begins with "file".
14625
MAGIC_CMD=$MAGIC_CMD
14627
# Must we lock files when doing compilation?
14628
need_locks=$lt_need_locks
14631
MANIFEST_TOOL=$lt_MANIFEST_TOOL
14633
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14634
DSYMUTIL=$lt_DSYMUTIL
14636
# Tool to change global to local symbols on Mac OS X.
14639
# Tool to manipulate fat objects and archives on Mac OS X.
14642
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14645
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14646
OTOOL64=$lt_OTOOL64
14648
# Old archive suffix (normally "a").
14651
# Shared library suffix (normally ".so").
14652
shrext_cmds=$lt_shrext_cmds
14654
# The commands to extract the exported symbol list from a shared archive.
14655
extract_expsyms_cmds=$lt_extract_expsyms_cmds
14657
# Variables whose values should be saved in libtool wrapper scripts and
14658
# restored at link time.
14659
variables_saved_for_relink=$lt_variables_saved_for_relink
14661
# Do we need the "lib" prefix for modules?
14662
need_lib_prefix=$need_lib_prefix
14664
# Do we need a version for libraries?
14665
need_version=$need_version
14667
# Library versioning type.
14668
version_type=$version_type
14670
# Shared library runtime path variable.
14671
runpath_var=$runpath_var
14673
# Shared library path variable.
14674
shlibpath_var=$shlibpath_var
14676
# Is shlibpath searched before the hard-coded library search path?
14677
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14679
# Format of library name prefix.
14680
libname_spec=$lt_libname_spec
14682
# List of archive names. First name is the real one, the rest are links.
14683
# The last name is the one that the linker finds with -lNAME
14684
library_names_spec=$lt_library_names_spec
14686
# The coded name of the library, if different from the real name.
14687
soname_spec=$lt_soname_spec
14689
# Permission mode override for installation of shared libraries.
14690
install_override_mode=$lt_install_override_mode
14692
# Command to use after installation of a shared archive.
14693
postinstall_cmds=$lt_postinstall_cmds
14695
# Command to use after uninstallation of a shared archive.
14696
postuninstall_cmds=$lt_postuninstall_cmds
14698
# Commands used to finish a libtool library installation in a directory.
14699
finish_cmds=$lt_finish_cmds
14701
# As "finish_cmds", except a single script fragment to be evaled but
14703
finish_eval=$lt_finish_eval
14705
# Whether we should hardcode library paths into libraries.
14706
hardcode_into_libs=$hardcode_into_libs
14708
# Compile-time system search path for libraries.
14709
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14711
# Run-time system search path for libraries.
14712
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14714
# Whether dlopen is supported.
14715
dlopen_support=$enable_dlopen
14717
# Whether dlopen of programs is supported.
14718
dlopen_self=$enable_dlopen_self
14720
# Whether dlopen of statically linked programs is supported.
14721
dlopen_self_static=$enable_dlopen_self_static
14723
# Commands to strip libraries.
14724
old_striplib=$lt_old_striplib
14725
striplib=$lt_striplib
14728
# The linker used to build libraries.
14731
# How to create reloadable object files.
14732
reload_flag=$lt_reload_flag
14733
reload_cmds=$lt_reload_cmds
14735
# Commands used to build an old-style archive.
14736
old_archive_cmds=$lt_old_archive_cmds
14738
# A language specific compiler.
14741
# Is the compiler the GNU compiler?
14744
# Compiler flag to turn off builtin functions.
14745
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14747
# Additional compiler flags for building library objects.
14748
pic_flag=$lt_lt_prog_compiler_pic
14750
# How to pass a linker flag through the compiler.
14751
wl=$lt_lt_prog_compiler_wl
14753
# Compiler flag to prevent dynamic linking.
14754
link_static_flag=$lt_lt_prog_compiler_static
14756
# Does compiler simultaneously support -c and -o options?
14757
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14759
# Whether or not to add -lc for building shared libraries.
14760
build_libtool_need_lc=$archive_cmds_need_lc
14762
# Whether or not to disallow shared libs when runtime libs are static.
14763
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14765
# Compiler flag to allow reflexive dlopens.
14766
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14768
# Compiler flag to generate shared objects directly from archives.
14769
whole_archive_flag_spec=$lt_whole_archive_flag_spec
14771
# Whether the compiler copes with passing no objects directly.
14772
compiler_needs_object=$lt_compiler_needs_object
14774
# Create an old-style archive from a shared archive.
14775
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14777
# Create a temporary old-style archive to link instead of a shared archive.
14778
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14780
# Commands used to build a shared archive.
14781
archive_cmds=$lt_archive_cmds
14782
archive_expsym_cmds=$lt_archive_expsym_cmds
14784
# Commands used to build a loadable module if different from building
14785
# a shared archive.
14786
module_cmds=$lt_module_cmds
14787
module_expsym_cmds=$lt_module_expsym_cmds
14789
# Whether we are building with GNU ld or not.
14790
with_gnu_ld=$lt_with_gnu_ld
14792
# Flag that allows shared libraries with undefined symbols to be built.
14793
allow_undefined_flag=$lt_allow_undefined_flag
14795
# Flag that enforces no undefined symbols.
14796
no_undefined_flag=$lt_no_undefined_flag
14798
# Flag to hardcode \$libdir into a binary during linking.
14799
# This must work even if \$libdir does not exist
14800
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14802
# Whether we need a single "-rpath" flag with a separated argument.
14803
hardcode_libdir_separator=$lt_hardcode_libdir_separator
14805
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14806
# DIR into the resulting binary.
14807
hardcode_direct=$hardcode_direct
14809
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14810
# DIR into the resulting binary and the resulting library dependency is
14811
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14812
# library is relocated.
14813
hardcode_direct_absolute=$hardcode_direct_absolute
14815
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14816
# into the resulting binary.
14817
hardcode_minus_L=$hardcode_minus_L
14819
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14820
# into the resulting binary.
14821
hardcode_shlibpath_var=$hardcode_shlibpath_var
14823
# Set to "yes" if building a shared library automatically hardcodes DIR
14824
# into the library and all subsequent libraries and executables linked
14826
hardcode_automatic=$hardcode_automatic
14828
# Set to yes if linker adds runtime paths of dependent libraries
14829
# to runtime path list.
14830
inherit_rpath=$inherit_rpath
14832
# Whether libtool must link a program against all its dependency libraries.
14833
link_all_deplibs=$link_all_deplibs
14835
# Set to "yes" if exported symbols are required.
14836
always_export_symbols=$always_export_symbols
14838
# The commands to list exported symbols.
14839
export_symbols_cmds=$lt_export_symbols_cmds
14841
# Symbols that should not be listed in the preloaded symbols.
14842
exclude_expsyms=$lt_exclude_expsyms
14844
# Symbols that must always be exported.
14845
include_expsyms=$lt_include_expsyms
14847
# Commands necessary for linking programs (against libraries) with templates.
14848
prelink_cmds=$lt_prelink_cmds
14850
# Commands necessary for finishing linking programs.
14851
postlink_cmds=$lt_postlink_cmds
14853
# Specify filename containing input files.
14854
file_list_spec=$lt_file_list_spec
14856
# How to hardcode a shared library path into an executable.
14857
hardcode_action=$hardcode_action
14859
# ### END LIBTOOL CONFIG
14865
cat <<\_LT_EOF >> "$cfgfile"
14866
# AIX sometimes has problems with the GCC collect2 program. For some
14867
# reason, if we set the COLLECT_NAMES environment variable, the problems
14868
# vanish in a puff of smoke.
14869
if test "X${COLLECT_NAMES+set}" != Xset; then
14871
export COLLECT_NAMES
14878
ltmain="$ac_aux_dir/ltmain.sh"
14881
# We use sed instead of cat because bash on DJGPP gets confused if
14882
# if finds mixed CR/LF and LF-only lines. Since sed operates in
14883
# text mode, it properly converts lines to CR/LF. This bash problem
14884
# is reportedly fixed, but why not run on old versions too?
14885
sed '$q' "$ltmain" >> "$cfgfile" \
14886
|| (rm -f "$cfgfile"; exit 1)
14888
if test x"$xsi_shell" = xyes; then
14889
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14893
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14894
\ * ) func_dirname_result="${3}" ;;\
14896
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14897
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14898
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14899
test 0 -eq $? || _lt_function_replace_fail=:
14902
sed -e '/^func_basename ()$/,/^} # func_basename /c\
14905
\ func_basename_result="${1##*/}"\
14906
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14907
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14908
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14909
test 0 -eq $? || _lt_function_replace_fail=:
14912
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14913
func_dirname_and_basename ()\
14916
\ */*) func_dirname_result="${1%/*}${2}" ;;\
14917
\ * ) func_dirname_result="${3}" ;;\
14919
\ func_basename_result="${1##*/}"\
14920
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14921
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14922
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14923
test 0 -eq $? || _lt_function_replace_fail=:
14926
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14929
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14930
\ # positional parameters, so assign one to ordinary parameter first.\
14931
\ func_stripname_result=${3}\
14932
\ func_stripname_result=${func_stripname_result#"${1}"}\
14933
\ func_stripname_result=${func_stripname_result%"${2}"}\
14934
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14935
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14936
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14937
test 0 -eq $? || _lt_function_replace_fail=:
14940
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14941
func_split_long_opt ()\
14943
\ func_split_long_opt_name=${1%%=*}\
14944
\ func_split_long_opt_arg=${1#*=}\
14945
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14946
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14947
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14948
test 0 -eq $? || _lt_function_replace_fail=:
14951
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14952
func_split_short_opt ()\
14954
\ func_split_short_opt_arg=${1#??}\
14955
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14956
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14957
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14958
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14959
test 0 -eq $? || _lt_function_replace_fail=:
14962
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14966
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14967
\ *) func_lo2o_result=${1} ;;\
14969
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14970
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14971
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14972
test 0 -eq $? || _lt_function_replace_fail=:
14975
sed -e '/^func_xform ()$/,/^} # func_xform /c\
14978
func_xform_result=${1%.*}.lo\
14979
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14980
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14981
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14982
test 0 -eq $? || _lt_function_replace_fail=:
14985
sed -e '/^func_arith ()$/,/^} # func_arith /c\
14988
func_arith_result=$(( $* ))\
14989
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14990
&& mv -f "$cfgfile.tmp" "$cfgfile" \
14991
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14992
test 0 -eq $? || _lt_function_replace_fail=:
14995
sed -e '/^func_len ()$/,/^} # func_len /c\
14998
func_len_result=${#1}\
14999
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15000
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15001
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15002
test 0 -eq $? || _lt_function_replace_fail=:
15006
if test x"$lt_shell_append" = xyes; then
15007
sed -e '/^func_append ()$/,/^} # func_append /c\
15010
eval "${1}+=\\${2}"\
15011
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15012
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15013
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15014
test 0 -eq $? || _lt_function_replace_fail=:
15017
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15018
func_append_quoted ()\
15020
\ func_quote_for_eval "${2}"\
15021
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15022
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15023
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15024
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15025
test 0 -eq $? || _lt_function_replace_fail=:
15028
# Save a `func_append' function call where possible by direct use of '+='
15029
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15030
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15031
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15032
test 0 -eq $? || _lt_function_replace_fail=:
15034
# Save a `func_append' function call even when '+=' is not available
15035
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15036
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15037
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15038
test 0 -eq $? || _lt_function_replace_fail=:
15041
if test x"$_lt_function_replace_fail" = x":"; then
15042
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15043
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15047
mv -f "$cfgfile" "$ofile" ||
15048
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15054
chmod +x "$CONFIG_LT"
15056
# configure is writing to config.log, but config.lt does its own redirection,
15057
# appending to config.log, which fails on DOS, as config.log is still kept
15058
# open by configure. Here we exec the FD to /dev/null, effectively closing
15059
# config.log, so it can be properly (re)opened and appended to by config.lt.
15061
test "$silent" = yes &&
15062
lt_config_lt_args="$lt_config_lt_args --quiet"
15064
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
15066
$lt_cl_success || as_fn_exit 1
15068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
15069
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
15070
if ${ac_cv_c_bigendian+:} false; then :
15071
$as_echo_n "(cached) " >&6
15073
ac_cv_c_bigendian=unknown
15074
# See if we're dealing with a universal compiler.
15075
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15076
/* end confdefs.h. */
15077
#ifndef __APPLE_CC__
15078
not a universal capable compiler
15083
if ac_fn_c_try_compile "$LINENO"; then :
15085
# Check for potential -arch flags. It is not universal unless
15086
# there are at least two -arch flags with different values.
15089
for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15090
if test -n "$ac_prev"; then
15092
i?86 | x86_64 | ppc | ppc64)
15093
if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15096
ac_cv_c_bigendian=universal
15102
elif test "x$ac_word" = "x-arch"; then
15107
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15108
if test $ac_cv_c_bigendian = unknown; then
15109
# See if sys/param.h defines the BYTE_ORDER macro.
15110
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15111
/* end confdefs.h. */
15112
#include <sys/types.h>
15113
#include <sys/param.h>
15118
#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
15119
&& defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
15121
bogus endian macros
15128
if ac_fn_c_try_compile "$LINENO"; then :
15129
# It does; now see whether it defined to BIG_ENDIAN or not.
15130
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15131
/* end confdefs.h. */
15132
#include <sys/types.h>
15133
#include <sys/param.h>
15138
#if BYTE_ORDER != BIG_ENDIAN
15146
if ac_fn_c_try_compile "$LINENO"; then :
15147
ac_cv_c_bigendian=yes
15149
ac_cv_c_bigendian=no
15151
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15155
if test $ac_cv_c_bigendian = unknown; then
15156
# See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
15157
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158
/* end confdefs.h. */
15159
#include <limits.h>
15164
#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
15165
bogus endian macros
15172
if ac_fn_c_try_compile "$LINENO"; then :
15173
# It does; now see whether it defined to _BIG_ENDIAN or not.
15174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175
/* end confdefs.h. */
15176
#include <limits.h>
15181
#ifndef _BIG_ENDIAN
15189
if ac_fn_c_try_compile "$LINENO"; then :
15190
ac_cv_c_bigendian=yes
15192
ac_cv_c_bigendian=no
15194
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15196
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15198
if test $ac_cv_c_bigendian = unknown; then
15199
# Compile a test program.
15200
if test "$cross_compiling" = yes; then :
15201
# Try to guess by grepping values from an object file.
15202
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203
/* end confdefs.h. */
15204
short int ascii_mm[] =
15205
{ 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
15206
short int ascii_ii[] =
15207
{ 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
15208
int use_ascii (int i) {
15209
return ascii_mm[i] + ascii_ii[i];
15211
short int ebcdic_ii[] =
15212
{ 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
15213
short int ebcdic_mm[] =
15214
{ 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
15215
int use_ebcdic (int i) {
15216
return ebcdic_mm[i] + ebcdic_ii[i];
15223
return use_ascii (foo) == use_ebcdic (foo);
15228
if ac_fn_c_try_compile "$LINENO"; then :
15229
if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
15230
ac_cv_c_bigendian=yes
15232
if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
15233
if test "$ac_cv_c_bigendian" = unknown; then
15234
ac_cv_c_bigendian=no
15236
# finding both strings is unlikely to happen, but who knows?
15237
ac_cv_c_bigendian=unknown
15241
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15243
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244
/* end confdefs.h. */
15245
$ac_includes_default
15250
/* Are we little or big endian? From Harbison&Steele. */
15254
char c[sizeof (long int)];
15257
return u.c[sizeof (long int) - 1] == 1;
15263
if ac_fn_c_try_run "$LINENO"; then :
15264
ac_cv_c_bigendian=no
15266
ac_cv_c_bigendian=yes
15268
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15269
conftest.$ac_objext conftest.beam conftest.$ac_ext
15274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
15275
$as_echo "$ac_cv_c_bigendian" >&6; }
15276
case $ac_cv_c_bigendian in #(
15278
$as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
15284
$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
15288
as_fn_error $? "unknown endianness
15289
presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
15292
# The cast to long int works around a bug in the HP C Compiler
15293
# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15294
# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15295
# This bug is HP SR number 8606223364.
15296
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
15297
$as_echo_n "checking size of long... " >&6; }
15298
if ${ac_cv_sizeof_long+:} false; then :
15299
$as_echo_n "(cached) " >&6
15301
if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
15304
if test "$ac_cv_type_long" = yes; then
15305
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15306
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15307
as_fn_error 77 "cannot compute sizeof (long)
15308
See \`config.log' for more details" "$LINENO" 5; }
15310
ac_cv_sizeof_long=0
15315
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
15316
$as_echo "$ac_cv_sizeof_long" >&6; }
15320
cat >>confdefs.h <<_ACEOF
15321
#define SIZEOF_LONG $ac_cv_sizeof_long
15329
GDK_PIXBUF_REQS=2.18.0
15332
TOTEM_PLPARSER_REQS=3.2.0
15334
LIBSOUP_REQS=2.26.0
15340
LIBSECRET_REQS=0.14
15342
LIBNOTIFY_REQS=0.7.0
15343
BRASERO_MIN_REQS=2.31.5
15344
WEBKIT_MIN_REQS=1.3.9
15345
PYGOBJECT_REQUIRED=3.0.0
15349
# Check whether --enable-schemas-compile was given.
15350
if test "${enable_schemas_compile+set}" = set; then :
15351
enableval=$enable_schemas_compile; case ${enableval} in
15352
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
15353
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
15354
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
15366
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15367
if test -n "$ac_tool_prefix"; then
15368
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15369
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15371
$as_echo_n "checking for $ac_word... " >&6; }
15372
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15373
$as_echo_n "(cached) " >&6
15375
case $PKG_CONFIG in
15377
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15381
for as_dir in $PATH
15384
test -z "$as_dir" && as_dir=.
15385
for ac_exec_ext in '' $ac_executable_extensions; do
15386
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15387
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15388
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15398
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15399
if test -n "$PKG_CONFIG"; then
15400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15401
$as_echo "$PKG_CONFIG" >&6; }
15403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15404
$as_echo "no" >&6; }
15409
if test -z "$ac_cv_path_PKG_CONFIG"; then
15410
ac_pt_PKG_CONFIG=$PKG_CONFIG
15411
# Extract the first word of "pkg-config", so it can be a program name with args.
15412
set dummy pkg-config; ac_word=$2
15413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15414
$as_echo_n "checking for $ac_word... " >&6; }
15415
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15416
$as_echo_n "(cached) " >&6
15418
case $ac_pt_PKG_CONFIG in
15420
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15424
for as_dir in $PATH
15427
test -z "$as_dir" && as_dir=.
15428
for ac_exec_ext in '' $ac_executable_extensions; do
15429
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15430
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15431
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15441
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15442
if test -n "$ac_pt_PKG_CONFIG"; then
15443
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15444
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15447
$as_echo "no" >&6; }
15450
if test "x$ac_pt_PKG_CONFIG" = x; then
15453
case $cross_compiling:$ac_tool_warned in
15455
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15456
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15457
ac_tool_warned=yes ;;
15459
PKG_CONFIG=$ac_pt_PKG_CONFIG
15462
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15466
if test -n "$PKG_CONFIG"; then
15467
_pkg_min_version=0.16
15468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15469
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15470
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15472
$as_echo "yes" >&6; }
15474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15475
$as_echo "no" >&6; }
15479
gsettingsschemadir=${datadir}/glib-2.0/schemas
15481
if test x$cross_compiling != xyes; then
15482
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
15484
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
15485
set dummy glib-compile-schemas; ac_word=$2
15486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15487
$as_echo_n "checking for $ac_word... " >&6; }
15488
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
15489
$as_echo_n "(cached) " >&6
15491
case $GLIB_COMPILE_SCHEMAS in
15493
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
15496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15497
for as_dir in $PATH
15500
test -z "$as_dir" && as_dir=.
15501
for ac_exec_ext in '' $ac_executable_extensions; do
15502
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15503
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
15504
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15514
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
15515
if test -n "$GLIB_COMPILE_SCHEMAS"; then
15516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
15517
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
15519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15520
$as_echo "no" >&6; }
15526
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
15527
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
15533
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
15535
mostlyclean-am: clean-gsettings-schemas
15537
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
15539
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
15540
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
15542
all-am: $(gsettings_SCHEMAS:.xml=.valid)
15543
uninstall-am: uninstall-gsettings-schemas
15544
install-data-am: install-gsettings-schemas
15546
.SECONDARY: $(gsettings_SCHEMAS)
15548
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
15550
if test -n "$^"; then \
15551
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
15552
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
15553
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
15556
uninstall-gsettings-schemas:
15557
@$(NORMAL_UNINSTALL)
15558
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
15559
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
15560
test -n "$$files" || exit 0; \
15561
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
15562
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
15563
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
15565
clean-gsettings-schemas:
15566
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
15568
ifdef gsettings_ENUM_NAMESPACE
15569
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
15570
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
15582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU extension fwrite_unlocked" >&5
15583
$as_echo_n "checking for GNU extension fwrite_unlocked... " >&6; }
15584
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15585
/* end confdefs.h. */
15587
#define _GNU_SOURCE
15593
fwrite_unlocked ("foo", 1, sizeof ("foo"), stdout);
15598
if ac_fn_c_try_link "$LINENO"; then :
15599
have_fwrite_unlocked=yes
15601
rm -f core conftest.err conftest.$ac_objext \
15602
conftest$ac_exeext conftest.$ac_ext
15603
if test x"$have_fwrite_unlocked" = xyes; then
15605
$as_echo "#define HAVE_GNU_FWRITE_UNLOCKED 1" >>confdefs.h
15607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15608
$as_echo "yes" >&6; }
15610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15611
$as_echo "no" >&6; }
15621
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15622
if test -n "$ac_tool_prefix"; then
15623
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15624
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15626
$as_echo_n "checking for $ac_word... " >&6; }
15627
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15628
$as_echo_n "(cached) " >&6
15630
case $PKG_CONFIG in
15632
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15636
for as_dir in $PATH
15639
test -z "$as_dir" && as_dir=.
15640
for ac_exec_ext in '' $ac_executable_extensions; do
15641
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15642
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15643
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15653
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15654
if test -n "$PKG_CONFIG"; then
15655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15656
$as_echo "$PKG_CONFIG" >&6; }
15658
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15659
$as_echo "no" >&6; }
15664
if test -z "$ac_cv_path_PKG_CONFIG"; then
15665
ac_pt_PKG_CONFIG=$PKG_CONFIG
15666
# Extract the first word of "pkg-config", so it can be a program name with args.
15667
set dummy pkg-config; ac_word=$2
15668
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15669
$as_echo_n "checking for $ac_word... " >&6; }
15670
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15671
$as_echo_n "(cached) " >&6
15673
case $ac_pt_PKG_CONFIG in
15675
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15679
for as_dir in $PATH
15682
test -z "$as_dir" && as_dir=.
15683
for ac_exec_ext in '' $ac_executable_extensions; do
15684
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15685
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15686
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15696
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15697
if test -n "$ac_pt_PKG_CONFIG"; then
15698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15699
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15702
$as_echo "no" >&6; }
15705
if test "x$ac_pt_PKG_CONFIG" = x; then
15708
case $cross_compiling:$ac_tool_warned in
15710
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15711
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15712
ac_tool_warned=yes ;;
15714
PKG_CONFIG=$ac_pt_PKG_CONFIG
15717
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15721
if test -n "$PKG_CONFIG"; then
15722
_pkg_min_version=0.9.0
15723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15724
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15725
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15726
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15727
$as_echo "yes" >&6; }
15729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15730
$as_echo "no" >&6; }
15737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RB_CLIENT" >&5
15738
$as_echo_n "checking for RB_CLIENT... " >&6; }
15740
if test -n "$RB_CLIENT_CFLAGS"; then
15741
pkg_cv_RB_CLIENT_CFLAGS="$RB_CLIENT_CFLAGS"
15742
elif test -n "$PKG_CONFIG"; then
15743
if test -n "$PKG_CONFIG" && \
15744
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gio-2.0 >= \$GLIB_REQS gio-unix-2.0 >= \$GLIB_REQS\""; } >&5
15745
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS") 2>&5
15747
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15748
test $ac_status = 0; }; then
15749
pkg_cv_RB_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>/dev/null`
15750
test "x$?" != "x0" && pkg_failed=yes
15757
if test -n "$RB_CLIENT_LIBS"; then
15758
pkg_cv_RB_CLIENT_LIBS="$RB_CLIENT_LIBS"
15759
elif test -n "$PKG_CONFIG"; then
15760
if test -n "$PKG_CONFIG" && \
15761
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQS gio-2.0 >= \$GLIB_REQS gio-unix-2.0 >= \$GLIB_REQS\""; } >&5
15762
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS") 2>&5
15764
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15765
test $ac_status = 0; }; then
15766
pkg_cv_RB_CLIENT_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>/dev/null`
15767
test "x$?" != "x0" && pkg_failed=yes
15777
if test $pkg_failed = yes; then
15778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15779
$as_echo "no" >&6; }
15781
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15782
_pkg_short_errors_supported=yes
15784
_pkg_short_errors_supported=no
15786
if test $_pkg_short_errors_supported = yes; then
15787
RB_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>&1`
15789
RB_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS" 2>&1`
15791
# Put the nasty error message in config.log where it belongs
15792
echo "$RB_CLIENT_PKG_ERRORS" >&5
15794
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQS gio-2.0 >= $GLIB_REQS gio-unix-2.0 >= $GLIB_REQS) were not met:
15796
$RB_CLIENT_PKG_ERRORS
15798
Consider adjusting the PKG_CONFIG_PATH environment variable if you
15799
installed software in a non-standard prefix.
15801
Alternatively, you may set the environment variables RB_CLIENT_CFLAGS
15802
and RB_CLIENT_LIBS to avoid the need to call pkg-config.
15803
See the pkg-config man page for more details." "$LINENO" 5
15804
elif test $pkg_failed = untried; then
15805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15806
$as_echo "no" >&6; }
15807
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15808
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15809
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
15810
is in your PATH or set the PKG_CONFIG environment variable to the full
15811
path to pkg-config.
15813
Alternatively, you may set the environment variables RB_CLIENT_CFLAGS
15814
and RB_CLIENT_LIBS to avoid the need to call pkg-config.
15815
See the pkg-config man page for more details.
15817
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15818
See \`config.log' for more details" "$LINENO" 5; }
15820
RB_CLIENT_CFLAGS=$pkg_cv_RB_CLIENT_CFLAGS
15821
RB_CLIENT_LIBS=$pkg_cv_RB_CLIENT_LIBS
15822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15823
$as_echo "yes" >&6; }
15828
gdk_targets=`$PKG_CONFIG --variable targets gdk-3.0`
15829
for target in $gdk_targets; do
15842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RHYTHMBOX" >&5
15843
$as_echo_n "checking for RHYTHMBOX... " >&6; }
15845
if test -n "$RHYTHMBOX_CFLAGS"; then
15846
pkg_cv_RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS"
15847
elif test -n "$PKG_CONFIG"; then
15848
if test -n "$PKG_CONFIG" && \
15849
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15850
gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS \\
15851
gtk+-3.0 >= \$GTK_REQS \\
15853
gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQS \\
15854
glib-2.0 >= \$GLIB_REQS \\
15855
gio-2.0 >= \$GLIB_REQS \\
15856
gio-unix-2.0 >= \$GLIB_REQS \\
15857
libsoup-2.4 >= \$LIBSOUP_REQS \\
15858
libsoup-gnome-2.4 >= \$LIBSOUP_REQS \\
15859
libpeas-1.0 >= \$LIBPEAS_REQS \\
15860
libpeas-gtk-1.0 >= \$LIBPEAS_REQS \\
15861
libxml-2.0 >= \$LIBXML2_REQS \\
15863
json-glib-1.0\""; } >&5
15864
($PKG_CONFIG --exists --print-errors "\
15865
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
15866
gtk+-3.0 >= $GTK_REQS \
15868
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
15869
glib-2.0 >= $GLIB_REQS \
15870
gio-2.0 >= $GLIB_REQS \
15871
gio-unix-2.0 >= $GLIB_REQS \
15872
libsoup-2.4 >= $LIBSOUP_REQS \
15873
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
15874
libpeas-1.0 >= $LIBPEAS_REQS \
15875
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
15876
libxml-2.0 >= $LIBXML2_REQS \
15878
json-glib-1.0") 2>&5
15880
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15881
test $ac_status = 0; }; then
15882
pkg_cv_RHYTHMBOX_CFLAGS=`$PKG_CONFIG --cflags "\
15883
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
15884
gtk+-3.0 >= $GTK_REQS \
15886
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
15887
glib-2.0 >= $GLIB_REQS \
15888
gio-2.0 >= $GLIB_REQS \
15889
gio-unix-2.0 >= $GLIB_REQS \
15890
libsoup-2.4 >= $LIBSOUP_REQS \
15891
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
15892
libpeas-1.0 >= $LIBPEAS_REQS \
15893
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
15894
libxml-2.0 >= $LIBXML2_REQS \
15896
json-glib-1.0" 2>/dev/null`
15897
test "x$?" != "x0" && pkg_failed=yes
15904
if test -n "$RHYTHMBOX_LIBS"; then
15905
pkg_cv_RHYTHMBOX_LIBS="$RHYTHMBOX_LIBS"
15906
elif test -n "$PKG_CONFIG"; then
15907
if test -n "$PKG_CONFIG" && \
15908
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
15909
gobject-introspection-1.0 >= \$GOBJECT_INTROSPECTION_REQS \\
15910
gtk+-3.0 >= \$GTK_REQS \\
15912
gdk-pixbuf-2.0 >= \$GDK_PIXBUF_REQS \\
15913
glib-2.0 >= \$GLIB_REQS \\
15914
gio-2.0 >= \$GLIB_REQS \\
15915
gio-unix-2.0 >= \$GLIB_REQS \\
15916
libsoup-2.4 >= \$LIBSOUP_REQS \\
15917
libsoup-gnome-2.4 >= \$LIBSOUP_REQS \\
15918
libpeas-1.0 >= \$LIBPEAS_REQS \\
15919
libpeas-gtk-1.0 >= \$LIBPEAS_REQS \\
15920
libxml-2.0 >= \$LIBXML2_REQS \\
15922
json-glib-1.0\""; } >&5
15923
($PKG_CONFIG --exists --print-errors "\
15924
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
15925
gtk+-3.0 >= $GTK_REQS \
15927
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
15928
glib-2.0 >= $GLIB_REQS \
15929
gio-2.0 >= $GLIB_REQS \
15930
gio-unix-2.0 >= $GLIB_REQS \
15931
libsoup-2.4 >= $LIBSOUP_REQS \
15932
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
15933
libpeas-1.0 >= $LIBPEAS_REQS \
15934
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
15935
libxml-2.0 >= $LIBXML2_REQS \
15937
json-glib-1.0") 2>&5
15939
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15940
test $ac_status = 0; }; then
15941
pkg_cv_RHYTHMBOX_LIBS=`$PKG_CONFIG --libs "\
15942
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
15943
gtk+-3.0 >= $GTK_REQS \
15945
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
15946
glib-2.0 >= $GLIB_REQS \
15947
gio-2.0 >= $GLIB_REQS \
15948
gio-unix-2.0 >= $GLIB_REQS \
15949
libsoup-2.4 >= $LIBSOUP_REQS \
15950
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
15951
libpeas-1.0 >= $LIBPEAS_REQS \
15952
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
15953
libxml-2.0 >= $LIBXML2_REQS \
15955
json-glib-1.0" 2>/dev/null`
15956
test "x$?" != "x0" && pkg_failed=yes
15966
if test $pkg_failed = yes; then
15967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15968
$as_echo "no" >&6; }
15970
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15971
_pkg_short_errors_supported=yes
15973
_pkg_short_errors_supported=no
15975
if test $_pkg_short_errors_supported = yes; then
15976
RHYTHMBOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
15977
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
15978
gtk+-3.0 >= $GTK_REQS \
15980
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
15981
glib-2.0 >= $GLIB_REQS \
15982
gio-2.0 >= $GLIB_REQS \
15983
gio-unix-2.0 >= $GLIB_REQS \
15984
libsoup-2.4 >= $LIBSOUP_REQS \
15985
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
15986
libpeas-1.0 >= $LIBPEAS_REQS \
15987
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
15988
libxml-2.0 >= $LIBXML2_REQS \
15990
json-glib-1.0" 2>&1`
15992
RHYTHMBOX_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
15993
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
15994
gtk+-3.0 >= $GTK_REQS \
15996
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
15997
glib-2.0 >= $GLIB_REQS \
15998
gio-2.0 >= $GLIB_REQS \
15999
gio-unix-2.0 >= $GLIB_REQS \
16000
libsoup-2.4 >= $LIBSOUP_REQS \
16001
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
16002
libpeas-1.0 >= $LIBPEAS_REQS \
16003
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
16004
libxml-2.0 >= $LIBXML2_REQS \
16006
json-glib-1.0" 2>&1`
16008
# Put the nasty error message in config.log where it belongs
16009
echo "$RHYTHMBOX_PKG_ERRORS" >&5
16011
as_fn_error $? "Package requirements (\
16012
gobject-introspection-1.0 >= $GOBJECT_INTROSPECTION_REQS \
16013
gtk+-3.0 >= $GTK_REQS \
16015
gdk-pixbuf-2.0 >= $GDK_PIXBUF_REQS \
16016
glib-2.0 >= $GLIB_REQS \
16017
gio-2.0 >= $GLIB_REQS \
16018
gio-unix-2.0 >= $GLIB_REQS \
16019
libsoup-2.4 >= $LIBSOUP_REQS \
16020
libsoup-gnome-2.4 >= $LIBSOUP_REQS \
16021
libpeas-1.0 >= $LIBPEAS_REQS \
16022
libpeas-gtk-1.0 >= $LIBPEAS_REQS \
16023
libxml-2.0 >= $LIBXML2_REQS \
16025
json-glib-1.0) were not met:
16027
$RHYTHMBOX_PKG_ERRORS
16029
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16030
installed software in a non-standard prefix.
16032
Alternatively, you may set the environment variables RHYTHMBOX_CFLAGS
16033
and RHYTHMBOX_LIBS to avoid the need to call pkg-config.
16034
See the pkg-config man page for more details." "$LINENO" 5
16035
elif test $pkg_failed = untried; then
16036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16037
$as_echo "no" >&6; }
16038
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16039
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16040
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16041
is in your PATH or set the PKG_CONFIG environment variable to the full
16042
path to pkg-config.
16044
Alternatively, you may set the environment variables RHYTHMBOX_CFLAGS
16045
and RHYTHMBOX_LIBS to avoid the need to call pkg-config.
16046
See the pkg-config man page for more details.
16048
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16049
See \`config.log' for more details" "$LINENO" 5; }
16051
RHYTHMBOX_CFLAGS=$pkg_cv_RHYTHMBOX_CFLAGS
16052
RHYTHMBOX_LIBS=$pkg_cv_RHYTHMBOX_LIBS
16053
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16054
$as_echo "yes" >&6; }
16060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TOTEM_PLPARSER" >&5
16061
$as_echo_n "checking for TOTEM_PLPARSER... " >&6; }
16063
if test -n "$TOTEM_PLPARSER_CFLAGS"; then
16064
pkg_cv_TOTEM_PLPARSER_CFLAGS="$TOTEM_PLPARSER_CFLAGS"
16065
elif test -n "$PKG_CONFIG"; then
16066
if test -n "$PKG_CONFIG" && \
16067
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"totem-plparser >= \$TOTEM_PLPARSER_REQS\""; } >&5
16068
($PKG_CONFIG --exists --print-errors "totem-plparser >= $TOTEM_PLPARSER_REQS") 2>&5
16070
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16071
test $ac_status = 0; }; then
16072
pkg_cv_TOTEM_PLPARSER_CFLAGS=`$PKG_CONFIG --cflags "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>/dev/null`
16073
test "x$?" != "x0" && pkg_failed=yes
16080
if test -n "$TOTEM_PLPARSER_LIBS"; then
16081
pkg_cv_TOTEM_PLPARSER_LIBS="$TOTEM_PLPARSER_LIBS"
16082
elif test -n "$PKG_CONFIG"; then
16083
if test -n "$PKG_CONFIG" && \
16084
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"totem-plparser >= \$TOTEM_PLPARSER_REQS\""; } >&5
16085
($PKG_CONFIG --exists --print-errors "totem-plparser >= $TOTEM_PLPARSER_REQS") 2>&5
16087
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16088
test $ac_status = 0; }; then
16089
pkg_cv_TOTEM_PLPARSER_LIBS=`$PKG_CONFIG --libs "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>/dev/null`
16090
test "x$?" != "x0" && pkg_failed=yes
16100
if test $pkg_failed = yes; then
16101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16102
$as_echo "no" >&6; }
16104
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16105
_pkg_short_errors_supported=yes
16107
_pkg_short_errors_supported=no
16109
if test $_pkg_short_errors_supported = yes; then
16110
TOTEM_PLPARSER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>&1`
16112
TOTEM_PLPARSER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "totem-plparser >= $TOTEM_PLPARSER_REQS" 2>&1`
16114
# Put the nasty error message in config.log where it belongs
16115
echo "$TOTEM_PLPARSER_PKG_ERRORS" >&5
16117
have_totem_plparser=no
16118
elif test $pkg_failed = untried; then
16119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16120
$as_echo "no" >&6; }
16121
have_totem_plparser=no
16123
TOTEM_PLPARSER_CFLAGS=$pkg_cv_TOTEM_PLPARSER_CFLAGS
16124
TOTEM_PLPARSER_LIBS=$pkg_cv_TOTEM_PLPARSER_LIBS
16125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16126
$as_echo "yes" >&6; }
16127
have_totem_plparser=yes
16129
if test x$have_totem_plparser != xyes; then
16130
as_fn_error $? "totem playlist parsing library not found or too old" "$LINENO" 5
16132
if test "x`pkg-config --variable uselibcamel totem-plparser`" = "xno" ; then
16133
as_fn_error $? "totem playlist parsing library has Podcast parsing disabled" "$LINENO" 5
16138
# Check whether --with-gudev was given.
16139
if test "${with_gudev+set}" = set; then :
16140
withval=$with_gudev;
16145
if test x"$with_gudev" != "xno"; then
16148
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUDEV" >&5
16149
$as_echo_n "checking for GUDEV... " >&6; }
16151
if test -n "$GUDEV_CFLAGS"; then
16152
pkg_cv_GUDEV_CFLAGS="$GUDEV_CFLAGS"
16153
elif test -n "$PKG_CONFIG"; then
16154
if test -n "$PKG_CONFIG" && \
16155
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= \$GUDEV_REQS\""; } >&5
16156
($PKG_CONFIG --exists --print-errors "gudev-1.0 >= $GUDEV_REQS") 2>&5
16158
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16159
test $ac_status = 0; }; then
16160
pkg_cv_GUDEV_CFLAGS=`$PKG_CONFIG --cflags "gudev-1.0 >= $GUDEV_REQS" 2>/dev/null`
16161
test "x$?" != "x0" && pkg_failed=yes
16168
if test -n "$GUDEV_LIBS"; then
16169
pkg_cv_GUDEV_LIBS="$GUDEV_LIBS"
16170
elif test -n "$PKG_CONFIG"; then
16171
if test -n "$PKG_CONFIG" && \
16172
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gudev-1.0 >= \$GUDEV_REQS\""; } >&5
16173
($PKG_CONFIG --exists --print-errors "gudev-1.0 >= $GUDEV_REQS") 2>&5
16175
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16176
test $ac_status = 0; }; then
16177
pkg_cv_GUDEV_LIBS=`$PKG_CONFIG --libs "gudev-1.0 >= $GUDEV_REQS" 2>/dev/null`
16178
test "x$?" != "x0" && pkg_failed=yes
16188
if test $pkg_failed = yes; then
16189
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16190
$as_echo "no" >&6; }
16192
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16193
_pkg_short_errors_supported=yes
16195
_pkg_short_errors_supported=no
16197
if test $_pkg_short_errors_supported = yes; then
16198
GUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gudev-1.0 >= $GUDEV_REQS" 2>&1`
16200
GUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gudev-1.0 >= $GUDEV_REQS" 2>&1`
16202
# Put the nasty error message in config.log where it belongs
16203
echo "$GUDEV_PKG_ERRORS" >&5
16206
elif test $pkg_failed = untried; then
16207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16208
$as_echo "no" >&6; }
16211
GUDEV_CFLAGS=$pkg_cv_GUDEV_CFLAGS
16212
GUDEV_LIBS=$pkg_cv_GUDEV_LIBS
16213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16214
$as_echo "yes" >&6; }
16217
if test x"$have_gudev" = "xno" -a x"$with_gudev" = "xyes"; then
16218
as_fn_error $? "GUdev explicitly requested, but is not available" "$LINENO" 5
16220
if test x"$have_gudev" = "xyes"; then
16225
$as_echo "#define HAVE_GUDEV 1" >>confdefs.h
16233
if test x"$use_gudev" = xyes; then
16235
USE_GUDEV_FALSE='#'
16243
# Check whether --with-hal was given.
16244
if test "${with_hal+set}" = set; then :
16248
if test "x$with_hal" != "xno"; then
16251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HAL" >&5
16252
$as_echo_n "checking for HAL... " >&6; }
16254
if test -n "$HAL_CFLAGS"; then
16255
pkg_cv_HAL_CFLAGS="$HAL_CFLAGS"
16256
elif test -n "$PKG_CONFIG"; then
16257
if test -n "$PKG_CONFIG" && \
16258
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5 hal < 0.6 dbus-glib-1\""; } >&5
16259
($PKG_CONFIG --exists --print-errors "hal >= 0.5 hal < 0.6 dbus-glib-1") 2>&5
16261
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16262
test $ac_status = 0; }; then
16263
pkg_cv_HAL_CFLAGS=`$PKG_CONFIG --cflags "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>/dev/null`
16264
test "x$?" != "x0" && pkg_failed=yes
16271
if test -n "$HAL_LIBS"; then
16272
pkg_cv_HAL_LIBS="$HAL_LIBS"
16273
elif test -n "$PKG_CONFIG"; then
16274
if test -n "$PKG_CONFIG" && \
16275
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hal >= 0.5 hal < 0.6 dbus-glib-1\""; } >&5
16276
($PKG_CONFIG --exists --print-errors "hal >= 0.5 hal < 0.6 dbus-glib-1") 2>&5
16278
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16279
test $ac_status = 0; }; then
16280
pkg_cv_HAL_LIBS=`$PKG_CONFIG --libs "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>/dev/null`
16281
test "x$?" != "x0" && pkg_failed=yes
16291
if test $pkg_failed = yes; then
16292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16293
$as_echo "no" >&6; }
16295
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16296
_pkg_short_errors_supported=yes
16298
_pkg_short_errors_supported=no
16300
if test $_pkg_short_errors_supported = yes; then
16301
HAL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>&1`
16303
HAL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "hal >= 0.5 hal < 0.6 dbus-glib-1" 2>&1`
16305
# Put the nasty error message in config.log where it belongs
16306
echo "$HAL_PKG_ERRORS" >&5
16309
elif test $pkg_failed = untried; then
16310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16311
$as_echo "no" >&6; }
16314
HAL_CFLAGS=$pkg_cv_HAL_CFLAGS
16315
HAL_LIBS=$pkg_cv_HAL_LIBS
16316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16317
$as_echo "yes" >&6; }
16320
if test "x$enable_hal" != "xyes" -a "x$with_hal" = "xyes"; then
16321
as_fn_error $? "HAL support explicitly requested but HAL couldn't be found" "$LINENO" 5
16324
if test "x$enable_hal" = "xyes"; then
16326
$as_echo "#define HAVE_HAL 1" >>confdefs.h
16332
if test x"$enable_hal" = xyes; then
16343
# Check whether --with-ipod was given.
16344
if test "${with_ipod+set}" = set; then :
16345
withval=$with_ipod;
16350
if test "x$with_ipod" != "xno"; then
16353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPOD" >&5
16354
$as_echo_n "checking for IPOD... " >&6; }
16356
if test -n "$IPOD_CFLAGS"; then
16357
pkg_cv_IPOD_CFLAGS="$IPOD_CFLAGS"
16358
elif test -n "$PKG_CONFIG"; then
16359
if test -n "$PKG_CONFIG" && \
16360
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgpod-1.0 >= \$LIBGPOD_REQS\""; } >&5
16361
($PKG_CONFIG --exists --print-errors "libgpod-1.0 >= $LIBGPOD_REQS") 2>&5
16363
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16364
test $ac_status = 0; }; then
16365
pkg_cv_IPOD_CFLAGS=`$PKG_CONFIG --cflags "libgpod-1.0 >= $LIBGPOD_REQS" 2>/dev/null`
16366
test "x$?" != "x0" && pkg_failed=yes
16373
if test -n "$IPOD_LIBS"; then
16374
pkg_cv_IPOD_LIBS="$IPOD_LIBS"
16375
elif test -n "$PKG_CONFIG"; then
16376
if test -n "$PKG_CONFIG" && \
16377
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgpod-1.0 >= \$LIBGPOD_REQS\""; } >&5
16378
($PKG_CONFIG --exists --print-errors "libgpod-1.0 >= $LIBGPOD_REQS") 2>&5
16380
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16381
test $ac_status = 0; }; then
16382
pkg_cv_IPOD_LIBS=`$PKG_CONFIG --libs "libgpod-1.0 >= $LIBGPOD_REQS" 2>/dev/null`
16383
test "x$?" != "x0" && pkg_failed=yes
16393
if test $pkg_failed = yes; then
16394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16395
$as_echo "no" >&6; }
16397
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16398
_pkg_short_errors_supported=yes
16400
_pkg_short_errors_supported=no
16402
if test $_pkg_short_errors_supported = yes; then
16403
IPOD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libgpod-1.0 >= $LIBGPOD_REQS" 2>&1`
16405
IPOD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libgpod-1.0 >= $LIBGPOD_REQS" 2>&1`
16407
# Put the nasty error message in config.log where it belongs
16408
echo "$IPOD_PKG_ERRORS" >&5
16411
elif test $pkg_failed = untried; then
16412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16413
$as_echo "no" >&6; }
16416
IPOD_CFLAGS=$pkg_cv_IPOD_CFLAGS
16417
IPOD_LIBS=$pkg_cv_IPOD_LIBS
16418
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16419
$as_echo "yes" >&6; }
16422
if test "x$have_libgpod" = "xno" -a "x$with_ipod" = "xyes"; then
16423
as_fn_error $? "iPod explicitly requested but libgpod couldn't be found" "$LINENO" 5
16425
if test "x$have_libgpod" = "xyes"; then
16426
if test -n "$PKG_CONFIG" && \
16427
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libgpod-1.0 >= 0.7.92\""; } >&5
16428
($PKG_CONFIG --exists --print-errors "libgpod-1.0 >= 0.7.92") 2>&5
16430
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16431
test $ac_status = 0; }; then
16432
have_itdb_start_stop_sync=yes
16434
have_itdb_start_stop_sync=no
16436
if test "x$have_itdb_start_stop_sync" = "xyes"; then
16438
$as_echo "#define HAVE_ITDB_START_STOP_SYNC 1" >>confdefs.h
16446
if test x"$use_ipod" = xyes; then
16456
# Check whether --with-mtp was given.
16457
if test "${with_mtp+set}" = set; then :
16463
if test "x$with_mtp" != "xno"; then
16465
if test x"$use_gudev" = "xyes" -o x"$enable_hal" = "xyes"; then
16471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MTP" >&5
16472
$as_echo_n "checking for MTP... " >&6; }
16474
if test -n "$MTP_CFLAGS"; then
16475
pkg_cv_MTP_CFLAGS="$MTP_CFLAGS"
16476
elif test -n "$PKG_CONFIG"; then
16477
if test -n "$PKG_CONFIG" && \
16478
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= \$LIBMTP_REQS\""; } >&5
16479
($PKG_CONFIG --exists --print-errors "libmtp >= $LIBMTP_REQS") 2>&5
16481
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16482
test $ac_status = 0; }; then
16483
pkg_cv_MTP_CFLAGS=`$PKG_CONFIG --cflags "libmtp >= $LIBMTP_REQS" 2>/dev/null`
16484
test "x$?" != "x0" && pkg_failed=yes
16491
if test -n "$MTP_LIBS"; then
16492
pkg_cv_MTP_LIBS="$MTP_LIBS"
16493
elif test -n "$PKG_CONFIG"; then
16494
if test -n "$PKG_CONFIG" && \
16495
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmtp >= \$LIBMTP_REQS\""; } >&5
16496
($PKG_CONFIG --exists --print-errors "libmtp >= $LIBMTP_REQS") 2>&5
16498
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16499
test $ac_status = 0; }; then
16500
pkg_cv_MTP_LIBS=`$PKG_CONFIG --libs "libmtp >= $LIBMTP_REQS" 2>/dev/null`
16501
test "x$?" != "x0" && pkg_failed=yes
16511
if test $pkg_failed = yes; then
16512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16513
$as_echo "no" >&6; }
16515
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16516
_pkg_short_errors_supported=yes
16518
_pkg_short_errors_supported=no
16520
if test $_pkg_short_errors_supported = yes; then
16521
MTP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmtp >= $LIBMTP_REQS" 2>&1`
16523
MTP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmtp >= $LIBMTP_REQS" 2>&1`
16525
# Put the nasty error message in config.log where it belongs
16526
echo "$MTP_PKG_ERRORS" >&5
16529
elif test $pkg_failed = untried; then
16530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16531
$as_echo "no" >&6; }
16534
MTP_CFLAGS=$pkg_cv_MTP_CFLAGS
16535
MTP_LIBS=$pkg_cv_MTP_LIBS
16536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16537
$as_echo "yes" >&6; }
16540
if test x"$with_mtp" = "xyes"; then
16541
if test x"$have_libmtp" = "xno"; then
16542
as_fn_error $? "MTP explicitly requested but libmtp is not available" "$LINENO" 5
16544
if test x"$can_use_mtp" = "xno"; then
16545
as_fn_error $? "MTP explicitly requested but GUdev and HAL are not available" "$LINENO" 5
16548
if test "x$have_libmtp" = "xyes" -a "x$can_use_mtp" = "xyes"; then
16554
if test x"$use_mtp" = xyes; then
16566
# Check whether --with-libsecret was given.
16567
if test "${with_libsecret+set}" = set; then :
16568
withval=$with_libsecret;
16570
with_libsecret=auto
16573
if test "x$with_libsecret" != "xno"; then
16577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSECRET" >&5
16578
$as_echo_n "checking for LIBSECRET... " >&6; }
16580
if test -n "$LIBSECRET_CFLAGS"; then
16581
pkg_cv_LIBSECRET_CFLAGS="$LIBSECRET_CFLAGS"
16582
elif test -n "$PKG_CONFIG"; then
16583
if test -n "$PKG_CONFIG" && \
16584
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= \$LIBSECRET_REQS\""; } >&5
16585
($PKG_CONFIG --exists --print-errors "libsecret-1 >= $LIBSECRET_REQS") 2>&5
16587
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16588
test $ac_status = 0; }; then
16589
pkg_cv_LIBSECRET_CFLAGS=`$PKG_CONFIG --cflags "libsecret-1 >= $LIBSECRET_REQS" 2>/dev/null`
16590
test "x$?" != "x0" && pkg_failed=yes
16597
if test -n "$LIBSECRET_LIBS"; then
16598
pkg_cv_LIBSECRET_LIBS="$LIBSECRET_LIBS"
16599
elif test -n "$PKG_CONFIG"; then
16600
if test -n "$PKG_CONFIG" && \
16601
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsecret-1 >= \$LIBSECRET_REQS\""; } >&5
16602
($PKG_CONFIG --exists --print-errors "libsecret-1 >= $LIBSECRET_REQS") 2>&5
16604
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16605
test $ac_status = 0; }; then
16606
pkg_cv_LIBSECRET_LIBS=`$PKG_CONFIG --libs "libsecret-1 >= $LIBSECRET_REQS" 2>/dev/null`
16607
test "x$?" != "x0" && pkg_failed=yes
16617
if test $pkg_failed = yes; then
16618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16619
$as_echo "no" >&6; }
16621
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16622
_pkg_short_errors_supported=yes
16624
_pkg_short_errors_supported=no
16626
if test $_pkg_short_errors_supported = yes; then
16627
LIBSECRET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsecret-1 >= $LIBSECRET_REQS" 2>&1`
16629
LIBSECRET_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsecret-1 >= $LIBSECRET_REQS" 2>&1`
16631
# Put the nasty error message in config.log where it belongs
16632
echo "$LIBSECRET_PKG_ERRORS" >&5
16635
elif test $pkg_failed = untried; then
16636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16637
$as_echo "no" >&6; }
16640
LIBSECRET_CFLAGS=$pkg_cv_LIBSECRET_CFLAGS
16641
LIBSECRET_LIBS=$pkg_cv_LIBSECRET_LIBS
16642
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16643
$as_echo "yes" >&6; }
16646
if test "x$have_libsecret" = "xno" -a "x$with_libsecret" = "xyes"; then
16647
as_fn_error $? "keyring support explicitly requested but libsecret
16648
could not be found" "$LINENO" 5
16650
if test "x$have_libsecret" = "xyes"; then
16652
$as_echo "#define WITH_LIBSECRET 1" >>confdefs.h
16657
PY_LIBSECRET_ENABLED=True
16660
PY_LIBSECRET_ENABLED=False
16664
PY_LIBSECRET_ENABLED=False
16667
if test x"$use_libsecret" = xyes; then
16668
USE_LIBSECRET_TRUE=
16669
USE_LIBSECRET_FALSE='#'
16671
USE_LIBSECRET_TRUE='#'
16672
USE_LIBSECRET_FALSE=
16677
# Check whether --with-database was given.
16678
if test "${with_database+set}" = set; then :
16679
withval=$with_database;
16684
if test x"$with_database" = xtree; then
16686
USE_TREEDB_FALSE='#'
16688
USE_TREEDB_TRUE='#'
16693
case "x$with_database" in
16696
$as_echo "#define WITH_RHYTHMDB_TREE 1" >>confdefs.h
16700
as_fn_error $? "Unknown database selected" "$LINENO" 5
16705
# Check whether --with-rhythmdb-debug was given.
16706
if test "${with_rhythmdb_debug+set}" = set; then :
16707
withval=$with_rhythmdb_debug;
16709
with_rhythmdb_debug=0
16712
if test x"${with_rhythmdb_debug}" != x0; then
16714
cat >>confdefs.h <<_ACEOF
16715
#define RHYTHMDB_ENABLE_SANITY_CHECK "${with_rhythmdb_debug}"
16722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5
16723
$as_echo_n "checking for GSTREAMER... " >&6; }
16725
if test -n "$GSTREAMER_CFLAGS"; then
16726
pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS"
16727
elif test -n "$PKG_CONFIG"; then
16728
if test -n "$PKG_CONFIG" && \
16729
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
16730
gstreamer-1.0 >= \$GST_REQS
16731
gstreamer-audio-1.0 >= \$GST_REQS
16732
gstreamer-base-1.0 >= \$GST_REQS
16733
gstreamer-plugins-base-1.0 >= \$GST_REQS
16734
gstreamer-pbutils-1.0 >= \$GST_REQS\""; } >&5
16735
($PKG_CONFIG --exists --print-errors "\
16736
gstreamer-1.0 >= $GST_REQS
16737
gstreamer-audio-1.0 >= $GST_REQS
16738
gstreamer-base-1.0 >= $GST_REQS
16739
gstreamer-plugins-base-1.0 >= $GST_REQS
16740
gstreamer-pbutils-1.0 >= $GST_REQS") 2>&5
16742
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16743
test $ac_status = 0; }; then
16744
pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "\
16745
gstreamer-1.0 >= $GST_REQS
16746
gstreamer-audio-1.0 >= $GST_REQS
16747
gstreamer-base-1.0 >= $GST_REQS
16748
gstreamer-plugins-base-1.0 >= $GST_REQS
16749
gstreamer-pbutils-1.0 >= $GST_REQS" 2>/dev/null`
16750
test "x$?" != "x0" && pkg_failed=yes
16757
if test -n "$GSTREAMER_LIBS"; then
16758
pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS"
16759
elif test -n "$PKG_CONFIG"; then
16760
if test -n "$PKG_CONFIG" && \
16761
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
16762
gstreamer-1.0 >= \$GST_REQS
16763
gstreamer-audio-1.0 >= \$GST_REQS
16764
gstreamer-base-1.0 >= \$GST_REQS
16765
gstreamer-plugins-base-1.0 >= \$GST_REQS
16766
gstreamer-pbutils-1.0 >= \$GST_REQS\""; } >&5
16767
($PKG_CONFIG --exists --print-errors "\
16768
gstreamer-1.0 >= $GST_REQS
16769
gstreamer-audio-1.0 >= $GST_REQS
16770
gstreamer-base-1.0 >= $GST_REQS
16771
gstreamer-plugins-base-1.0 >= $GST_REQS
16772
gstreamer-pbutils-1.0 >= $GST_REQS") 2>&5
16774
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16775
test $ac_status = 0; }; then
16776
pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "\
16777
gstreamer-1.0 >= $GST_REQS
16778
gstreamer-audio-1.0 >= $GST_REQS
16779
gstreamer-base-1.0 >= $GST_REQS
16780
gstreamer-plugins-base-1.0 >= $GST_REQS
16781
gstreamer-pbutils-1.0 >= $GST_REQS" 2>/dev/null`
16782
test "x$?" != "x0" && pkg_failed=yes
16792
if test $pkg_failed = yes; then
16793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16794
$as_echo "no" >&6; }
16796
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16797
_pkg_short_errors_supported=yes
16799
_pkg_short_errors_supported=no
16801
if test $_pkg_short_errors_supported = yes; then
16802
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
16803
gstreamer-1.0 >= $GST_REQS
16804
gstreamer-audio-1.0 >= $GST_REQS
16805
gstreamer-base-1.0 >= $GST_REQS
16806
gstreamer-plugins-base-1.0 >= $GST_REQS
16807
gstreamer-pbutils-1.0 >= $GST_REQS" 2>&1`
16809
GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
16810
gstreamer-1.0 >= $GST_REQS
16811
gstreamer-audio-1.0 >= $GST_REQS
16812
gstreamer-base-1.0 >= $GST_REQS
16813
gstreamer-plugins-base-1.0 >= $GST_REQS
16814
gstreamer-pbutils-1.0 >= $GST_REQS" 2>&1`
16816
# Put the nasty error message in config.log where it belongs
16817
echo "$GSTREAMER_PKG_ERRORS" >&5
16819
as_fn_error $? "Package requirements (\
16820
gstreamer-1.0 >= $GST_REQS
16821
gstreamer-audio-1.0 >= $GST_REQS
16822
gstreamer-base-1.0 >= $GST_REQS
16823
gstreamer-plugins-base-1.0 >= $GST_REQS
16824
gstreamer-pbutils-1.0 >= $GST_REQS) were not met:
16826
$GSTREAMER_PKG_ERRORS
16828
Consider adjusting the PKG_CONFIG_PATH environment variable if you
16829
installed software in a non-standard prefix.
16831
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
16832
and GSTREAMER_LIBS to avoid the need to call pkg-config.
16833
See the pkg-config man page for more details." "$LINENO" 5
16834
elif test $pkg_failed = untried; then
16835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16836
$as_echo "no" >&6; }
16837
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16838
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16839
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16840
is in your PATH or set the PKG_CONFIG environment variable to the full
16841
path to pkg-config.
16843
Alternatively, you may set the environment variables GSTREAMER_CFLAGS
16844
and GSTREAMER_LIBS to avoid the need to call pkg-config.
16845
See the pkg-config man page for more details.
16847
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16848
See \`config.log' for more details" "$LINENO" 5; }
16850
GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS
16851
GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS
16852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16853
$as_echo "yes" >&6; }
16857
RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $GSTREAMER_CFLAGS -DGST_USE_UNSTABLE_API"
16858
RHYTHMBOX_LIBS="$RHYTHMBOX_LIBS $GSTREAMER_LIBS"
16860
# Check whether --enable-libnotify was given.
16861
if test "${enable_libnotify+set}" = set; then :
16862
enableval=$enable_libnotify;
16864
enable_libnotify=auto
16867
if test "x$enable_libnotify" != "xno"; then
16870
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5
16871
$as_echo_n "checking for NOTIFY... " >&6; }
16873
if test -n "$NOTIFY_CFLAGS"; then
16874
pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS"
16875
elif test -n "$PKG_CONFIG"; then
16876
if test -n "$PKG_CONFIG" && \
16877
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
16878
libnotify >= \$LIBNOTIFY_REQS\""; } >&5
16879
($PKG_CONFIG --exists --print-errors "\
16880
libnotify >= $LIBNOTIFY_REQS") 2>&5
16882
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16883
test $ac_status = 0; }; then
16884
pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "\
16885
libnotify >= $LIBNOTIFY_REQS" 2>/dev/null`
16886
test "x$?" != "x0" && pkg_failed=yes
16893
if test -n "$NOTIFY_LIBS"; then
16894
pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS"
16895
elif test -n "$PKG_CONFIG"; then
16896
if test -n "$PKG_CONFIG" && \
16897
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\\
16898
libnotify >= \$LIBNOTIFY_REQS\""; } >&5
16899
($PKG_CONFIG --exists --print-errors "\
16900
libnotify >= $LIBNOTIFY_REQS") 2>&5
16902
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16903
test $ac_status = 0; }; then
16904
pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "\
16905
libnotify >= $LIBNOTIFY_REQS" 2>/dev/null`
16906
test "x$?" != "x0" && pkg_failed=yes
16916
if test $pkg_failed = yes; then
16917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16918
$as_echo "no" >&6; }
16920
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16921
_pkg_short_errors_supported=yes
16923
_pkg_short_errors_supported=no
16925
if test $_pkg_short_errors_supported = yes; then
16926
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "\
16927
libnotify >= $LIBNOTIFY_REQS" 2>&1`
16929
NOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "\
16930
libnotify >= $LIBNOTIFY_REQS" 2>&1`
16932
# Put the nasty error message in config.log where it belongs
16933
echo "$NOTIFY_PKG_ERRORS" >&5
16936
elif test $pkg_failed = untried; then
16937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16938
$as_echo "no" >&6; }
16941
NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS
16942
NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS
16943
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16944
$as_echo "yes" >&6; }
16947
if test "x$have_libnotify" = "xno" -a "x$enable_libnotify" = "xyes"; then
16948
as_fn_error $? "libnotify support explicitly requested, but libnotify couldn't be found" "$LINENO" 5
16950
if test "x$have_libnotify" = "xyes"; then
16951
enable_libnotify=yes
16954
if test x"$enable_libnotify" = xyes; then
16956
USE_NOTIFY_FALSE='#'
16958
USE_NOTIFY_TRUE='#'
16962
if test x$enable_libnotify = xyes ; then
16963
# Find out the version of LIBNOTIFY we're using
16964
libnotify_version=`pkg-config --modversion libnotify`
16965
LIBNOTIFY_VERSION_MAJOR=`echo $libnotify_version | awk -F. '{print $1}'`
16966
LIBNOTIFY_VERSION_MINOR=`echo $libnotify_version | awk -F. '{print $2}'`
16967
LIBNOTIFY_VERSION_MICRO=`echo $libnotify_version | awk -F. '{print $3}'`
16968
if test "z$LIBNOTIFY_VERSION_MAJOR" = "z"; then
16969
LIBNOTIFY_VERSION_MAJOR="0"
16971
if test "z$LIBNOTIFY_VERSION_MINOR" = "z"; then
16972
LIBNOTIFY_VERSION_MINOR="0"
16974
if test "z$LIBNOTIFY_VERSION_MICRO" = "z"; then
16975
LIBNOTIFY_VERSION_MICRO="0"
16977
echo "Your libnotify version is $LIBNOTIFY_VERSION_MAJOR,$LIBNOTIFY_VERSION_MINOR,$LIBNOTIFY_VERSION_MICRO."
16978
NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MAJOR=$LIBNOTIFY_VERSION_MAJOR"
16979
NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MINOR=$LIBNOTIFY_VERSION_MINOR"
16980
NOTIFY_CFLAGS="$NOTIFY_CFLAGS -DLIBNOTIFY_VERSION_MICRO=$LIBNOTIFY_VERSION_MICRO"
16983
$as_echo "#define HAVE_NOTIFY 1" >>confdefs.h
16989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5
16990
$as_echo_n "checking for uncompress in -lz... " >&6; }
16991
if ${ac_cv_lib_z_uncompress+:} false; then :
16992
$as_echo_n "(cached) " >&6
16994
ac_check_lib_save_LIBS=$LIBS
16996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997
/* end confdefs.h. */
16999
/* Override any GCC internal prototype to avoid an error.
17000
Use char because int might match the return type of a GCC
17001
builtin and then its argument prototype would still apply. */
17005
char uncompress ();
17009
return uncompress ();
17014
if ac_fn_c_try_link "$LINENO"; then :
17015
ac_cv_lib_z_uncompress=yes
17017
ac_cv_lib_z_uncompress=no
17019
rm -f core conftest.err conftest.$ac_objext \
17020
conftest$ac_exeext conftest.$ac_ext
17021
LIBS=$ac_check_lib_save_LIBS
17023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5
17024
$as_echo "$ac_cv_lib_z_uncompress" >&6; }
17025
if test "x$ac_cv_lib_z_uncompress" = xyes; then :
17026
cat >>confdefs.h <<_ACEOF
17027
#define HAVE_LIBZ 1
17035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
17036
$as_echo_n "checking for X... " >&6; }
17039
# Check whether --with-x was given.
17040
if test "${with_x+set}" = set; then :
17044
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
17045
if test "x$with_x" = xno; then
17046
# The user explicitly disabled X.
17049
case $x_includes,$x_libraries in #(
17050
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
17051
*,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
17052
$as_echo_n "(cached) " >&6
17054
# One or both of the vars are not set, and there is no cached value.
17055
ac_x_includes=no ac_x_libraries=no
17056
rm -f -r conftest.dir
17057
if mkdir conftest.dir; then
17059
cat >Imakefile <<'_ACEOF'
17061
@echo incroot='${INCROOT}'
17063
@echo usrlibdir='${USRLIBDIR}'
17065
@echo libdir='${LIBDIR}'
17067
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
17068
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
17069
for ac_var in incroot usrlibdir libdir; do
17070
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
17072
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
17073
for ac_extension in a so sl dylib la dll; do
17074
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
17075
test -f "$ac_im_libdir/libX11.$ac_extension"; then
17076
ac_im_usrlibdir=$ac_im_libdir; break
17079
# Screen out bogus values from the imake configuration. They are
17080
# bogus both because they are the default anyway, and because
17081
# using them would break gcc on systems where it needs fixed includes.
17082
case $ac_im_incroot in
17083
/usr/include) ac_x_includes= ;;
17084
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
17086
case $ac_im_usrlibdir in
17087
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
17088
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
17092
rm -f -r conftest.dir
17095
# Standard set of common directories for X headers.
17096
# Check X11 before X11Rn because it is often a symlink to the current release.
17110
/usr/local/X11/include
17111
/usr/local/X11R7/include
17112
/usr/local/X11R6/include
17113
/usr/local/X11R5/include
17114
/usr/local/X11R4/include
17116
/usr/local/include/X11
17117
/usr/local/include/X11R7
17118
/usr/local/include/X11R6
17119
/usr/local/include/X11R5
17120
/usr/local/include/X11R4
17124
/usr/XFree86/include/X11
17128
/usr/unsupported/include
17129
/usr/athena/include
17130
/usr/local/x11r5/include
17131
/usr/lpp/Xamples/include
17133
/usr/openwin/include
17134
/usr/openwin/share/include'
17136
if test "$ac_x_includes" = no; then
17137
# Guess where to find include files, by looking for Xlib.h.
17138
# First, try using that file with no special directory specified.
17139
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17140
/* end confdefs.h. */
17141
#include <X11/Xlib.h>
17143
if ac_fn_c_try_cpp "$LINENO"; then :
17144
# We can compile using X headers with no special include directory.
17147
for ac_dir in $ac_x_header_dirs; do
17148
if test -r "$ac_dir/X11/Xlib.h"; then
17149
ac_x_includes=$ac_dir
17154
rm -f conftest.err conftest.i conftest.$ac_ext
17155
fi # $ac_x_includes = no
17157
if test "$ac_x_libraries" = no; then
17158
# Check for the libraries.
17159
# See if we find them without any special options.
17160
# Don't add to $LIBS permanently.
17163
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164
/* end confdefs.h. */
17165
#include <X11/Xlib.h>
17174
if ac_fn_c_try_link "$LINENO"; then :
17176
# We can link X programs with no special library path.
17180
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
17182
# Don't even attempt the hair of trying to link an X program!
17183
for ac_extension in a so sl dylib la dll; do
17184
if test -r "$ac_dir/libX11.$ac_extension"; then
17185
ac_x_libraries=$ac_dir
17191
rm -f core conftest.err conftest.$ac_objext \
17192
conftest$ac_exeext conftest.$ac_ext
17193
fi # $ac_x_libraries = no
17195
case $ac_x_includes,$ac_x_libraries in #(
17196
no,* | *,no | *\'*)
17197
# Didn't find X, or a directory has "'" in its name.
17198
ac_cv_have_x="have_x=no";; #(
17200
# Record where we found X for the cache.
17201
ac_cv_have_x="have_x=yes\
17202
ac_x_includes='$ac_x_includes'\
17203
ac_x_libraries='$ac_x_libraries'"
17209
eval "$ac_cv_have_x"
17212
if test "$have_x" != yes; then
17213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
17214
$as_echo "$have_x" >&6; }
17217
# If each of the values was on the command line, it overrides each guess.
17218
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
17219
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
17220
# Update the cache value to reflect the command line values.
17221
ac_cv_have_x="have_x=yes\
17222
ac_x_includes='$x_includes'\
17223
ac_x_libraries='$x_libraries'"
17224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
17225
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
17228
if test "$no_x" = yes; then
17229
# Not all programs may use this symbol, but it does not hurt to define it.
17231
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
17233
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
17235
if test -n "$x_includes"; then
17236
X_CFLAGS="$X_CFLAGS -I$x_includes"
17239
# It would also be nice to do this for all -L options, not just this one.
17240
if test -n "$x_libraries"; then
17241
X_LIBS="$X_LIBS -L$x_libraries"
17242
# For Solaris; some versions of Sun CC require a space after -R and
17243
# others require no space. Words are not sufficient . . . .
17244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
17245
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
17246
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
17247
ac_xsave_c_werror_flag=$ac_c_werror_flag
17248
ac_c_werror_flag=yes
17249
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250
/* end confdefs.h. */
17260
if ac_fn_c_try_link "$LINENO"; then :
17261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17262
$as_echo "no" >&6; }
17263
X_LIBS="$X_LIBS -R$x_libraries"
17265
LIBS="$ac_xsave_LIBS -R $x_libraries"
17266
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17267
/* end confdefs.h. */
17277
if ac_fn_c_try_link "$LINENO"; then :
17278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17279
$as_echo "yes" >&6; }
17280
X_LIBS="$X_LIBS -R $x_libraries"
17282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
17283
$as_echo "neither works" >&6; }
17285
rm -f core conftest.err conftest.$ac_objext \
17286
conftest$ac_exeext conftest.$ac_ext
17288
rm -f core conftest.err conftest.$ac_objext \
17289
conftest$ac_exeext conftest.$ac_ext
17290
ac_c_werror_flag=$ac_xsave_c_werror_flag
17291
LIBS=$ac_xsave_LIBS
17294
# Check for system-dependent libraries X programs must link with.
17295
# Do this before checking for the system-independent R6 libraries
17296
# (-lICE), since we may need -lsocket or whatever for X linking.
17298
if test "$ISC" = yes; then
17299
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
17301
# Martyn Johnson says this is needed for Ultrix, if the X
17302
# libraries were built with DECnet support. And Karl Berry says
17303
# the Alpha needs dnet_stub (dnet does not exist).
17304
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
17305
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17306
/* end confdefs.h. */
17308
/* Override any GCC internal prototype to avoid an error.
17309
Use char because int might match the return type of a GCC
17310
builtin and then its argument prototype would still apply. */
17314
char XOpenDisplay ();
17318
return XOpenDisplay ();
17323
if ac_fn_c_try_link "$LINENO"; then :
17326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
17327
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
17328
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
17329
$as_echo_n "(cached) " >&6
17331
ac_check_lib_save_LIBS=$LIBS
17332
LIBS="-ldnet $LIBS"
17333
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334
/* end confdefs.h. */
17336
/* Override any GCC internal prototype to avoid an error.
17337
Use char because int might match the return type of a GCC
17338
builtin and then its argument prototype would still apply. */
17346
return dnet_ntoa ();
17351
if ac_fn_c_try_link "$LINENO"; then :
17352
ac_cv_lib_dnet_dnet_ntoa=yes
17354
ac_cv_lib_dnet_dnet_ntoa=no
17356
rm -f core conftest.err conftest.$ac_objext \
17357
conftest$ac_exeext conftest.$ac_ext
17358
LIBS=$ac_check_lib_save_LIBS
17360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17361
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
17362
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
17363
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
17366
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
17367
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
17368
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
17369
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
17370
$as_echo_n "(cached) " >&6
17372
ac_check_lib_save_LIBS=$LIBS
17373
LIBS="-ldnet_stub $LIBS"
17374
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17375
/* end confdefs.h. */
17377
/* Override any GCC internal prototype to avoid an error.
17378
Use char because int might match the return type of a GCC
17379
builtin and then its argument prototype would still apply. */
17387
return dnet_ntoa ();
17392
if ac_fn_c_try_link "$LINENO"; then :
17393
ac_cv_lib_dnet_stub_dnet_ntoa=yes
17395
ac_cv_lib_dnet_stub_dnet_ntoa=no
17397
rm -f core conftest.err conftest.$ac_objext \
17398
conftest$ac_exeext conftest.$ac_ext
17399
LIBS=$ac_check_lib_save_LIBS
17401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17402
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
17403
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
17404
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
17409
rm -f core conftest.err conftest.$ac_objext \
17410
conftest$ac_exeext conftest.$ac_ext
17411
LIBS="$ac_xsave_LIBS"
17413
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
17414
# to get the SysV transport functions.
17415
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
17417
# The nsl library prevents programs from opening the X display
17418
# on Irix 5.2, according to T.E. Dickey.
17419
# The functions gethostbyname, getservbyname, and inet_addr are
17420
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17421
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
17422
if test "x$ac_cv_func_gethostbyname" = xyes; then :
17426
if test $ac_cv_func_gethostbyname = no; then
17427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
17428
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
17429
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
17430
$as_echo_n "(cached) " >&6
17432
ac_check_lib_save_LIBS=$LIBS
17434
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17435
/* end confdefs.h. */
17437
/* Override any GCC internal prototype to avoid an error.
17438
Use char because int might match the return type of a GCC
17439
builtin and then its argument prototype would still apply. */
17443
char gethostbyname ();
17447
return gethostbyname ();
17452
if ac_fn_c_try_link "$LINENO"; then :
17453
ac_cv_lib_nsl_gethostbyname=yes
17455
ac_cv_lib_nsl_gethostbyname=no
17457
rm -f core conftest.err conftest.$ac_objext \
17458
conftest$ac_exeext conftest.$ac_ext
17459
LIBS=$ac_check_lib_save_LIBS
17461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
17462
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
17463
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
17464
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
17467
if test $ac_cv_lib_nsl_gethostbyname = no; then
17468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
17469
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
17470
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
17471
$as_echo_n "(cached) " >&6
17473
ac_check_lib_save_LIBS=$LIBS
17475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17476
/* end confdefs.h. */
17478
/* Override any GCC internal prototype to avoid an error.
17479
Use char because int might match the return type of a GCC
17480
builtin and then its argument prototype would still apply. */
17484
char gethostbyname ();
17488
return gethostbyname ();
17493
if ac_fn_c_try_link "$LINENO"; then :
17494
ac_cv_lib_bsd_gethostbyname=yes
17496
ac_cv_lib_bsd_gethostbyname=no
17498
rm -f core conftest.err conftest.$ac_objext \
17499
conftest$ac_exeext conftest.$ac_ext
17500
LIBS=$ac_check_lib_save_LIBS
17502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
17503
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
17504
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
17505
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
17511
# lieder@skyler.mavd.honeywell.com says without -lsocket,
17512
# socket/setsockopt and other routines are undefined under SCO ODT
17513
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
17514
# on later versions), says Simon Leinen: it contains gethostby*
17515
# variants that don't use the name server (or something). -lsocket
17516
# must be given before -lnsl if both are needed. We assume that
17517
# if connect needs -lnsl, so does gethostbyname.
17518
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
17519
if test "x$ac_cv_func_connect" = xyes; then :
17523
if test $ac_cv_func_connect = no; then
17524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
17525
$as_echo_n "checking for connect in -lsocket... " >&6; }
17526
if ${ac_cv_lib_socket_connect+:} false; then :
17527
$as_echo_n "(cached) " >&6
17529
ac_check_lib_save_LIBS=$LIBS
17530
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
17531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532
/* end confdefs.h. */
17534
/* Override any GCC internal prototype to avoid an error.
17535
Use char because int might match the return type of a GCC
17536
builtin and then its argument prototype would still apply. */
17549
if ac_fn_c_try_link "$LINENO"; then :
17550
ac_cv_lib_socket_connect=yes
17552
ac_cv_lib_socket_connect=no
17554
rm -f core conftest.err conftest.$ac_objext \
17555
conftest$ac_exeext conftest.$ac_ext
17556
LIBS=$ac_check_lib_save_LIBS
17558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
17559
$as_echo "$ac_cv_lib_socket_connect" >&6; }
17560
if test "x$ac_cv_lib_socket_connect" = xyes; then :
17561
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
17566
# Guillermo Gomez says -lposix is necessary on A/UX.
17567
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
17568
if test "x$ac_cv_func_remove" = xyes; then :
17572
if test $ac_cv_func_remove = no; then
17573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
17574
$as_echo_n "checking for remove in -lposix... " >&6; }
17575
if ${ac_cv_lib_posix_remove+:} false; then :
17576
$as_echo_n "(cached) " >&6
17578
ac_check_lib_save_LIBS=$LIBS
17579
LIBS="-lposix $LIBS"
17580
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581
/* end confdefs.h. */
17583
/* Override any GCC internal prototype to avoid an error.
17584
Use char because int might match the return type of a GCC
17585
builtin and then its argument prototype would still apply. */
17598
if ac_fn_c_try_link "$LINENO"; then :
17599
ac_cv_lib_posix_remove=yes
17601
ac_cv_lib_posix_remove=no
17603
rm -f core conftest.err conftest.$ac_objext \
17604
conftest$ac_exeext conftest.$ac_ext
17605
LIBS=$ac_check_lib_save_LIBS
17607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
17608
$as_echo "$ac_cv_lib_posix_remove" >&6; }
17609
if test "x$ac_cv_lib_posix_remove" = xyes; then :
17610
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
17615
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17616
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
17617
if test "x$ac_cv_func_shmat" = xyes; then :
17621
if test $ac_cv_func_shmat = no; then
17622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
17623
$as_echo_n "checking for shmat in -lipc... " >&6; }
17624
if ${ac_cv_lib_ipc_shmat+:} false; then :
17625
$as_echo_n "(cached) " >&6
17627
ac_check_lib_save_LIBS=$LIBS
17629
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17630
/* end confdefs.h. */
17632
/* Override any GCC internal prototype to avoid an error.
17633
Use char because int might match the return type of a GCC
17634
builtin and then its argument prototype would still apply. */
17647
if ac_fn_c_try_link "$LINENO"; then :
17648
ac_cv_lib_ipc_shmat=yes
17650
ac_cv_lib_ipc_shmat=no
17652
rm -f core conftest.err conftest.$ac_objext \
17653
conftest$ac_exeext conftest.$ac_ext
17654
LIBS=$ac_check_lib_save_LIBS
17656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
17657
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
17658
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
17659
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
17665
# Check for libraries that X11R6 Xt/Xaw programs need.
17666
ac_save_LDFLAGS=$LDFLAGS
17667
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
17668
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
17669
# check for ICE first), but we must link in the order -lSM -lICE or
17670
# we get undefined symbols. So assume we have SM if we have ICE.
17671
# These have to be linked with before -lX11, unlike the other
17672
# libraries we check for below, so use a different variable.
17673
# John Interrante, Karl Berry
17674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
17675
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
17676
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
17677
$as_echo_n "(cached) " >&6
17679
ac_check_lib_save_LIBS=$LIBS
17680
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
17681
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17682
/* end confdefs.h. */
17684
/* Override any GCC internal prototype to avoid an error.
17685
Use char because int might match the return type of a GCC
17686
builtin and then its argument prototype would still apply. */
17690
char IceConnectionNumber ();
17694
return IceConnectionNumber ();
17699
if ac_fn_c_try_link "$LINENO"; then :
17700
ac_cv_lib_ICE_IceConnectionNumber=yes
17702
ac_cv_lib_ICE_IceConnectionNumber=no
17704
rm -f core conftest.err conftest.$ac_objext \
17705
conftest$ac_exeext conftest.$ac_ext
17706
LIBS=$ac_check_lib_save_LIBS
17708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17709
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
17710
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
17711
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
17714
LDFLAGS=$ac_save_LDFLAGS
17718
CFLAGS="$CFLAGS $X_CFLAGS"
17722
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723
/* end confdefs.h. */
17725
#include <X11/XF86keysym.h>
17726
int main(int argc,char **argv) {
17731
if ac_fn_c_try_compile "$LINENO"; then :
17734
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XFree86 headers" >&5
17736
$as_echo_n "checking for XFree86 headers... " >&6; }
17737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_xfree" >&5
17738
$as_echo "$have_xfree" >&6; }
17739
if test x"$have_xfree" = "xyes" ; then
17741
$as_echo "#define HAVE_XFREE 1" >>confdefs.h
17745
# Check whether --enable-mmkeys was given.
17746
if test "${enable_mmkeys+set}" = set; then :
17747
enableval=$enable_mmkeys;
17750
if test x"$have_xfree" = xyes; then
17751
if test x"$enable_mmkeys" != xno; then
17754
$as_echo "#define HAVE_MMKEYS 1" >>confdefs.h
17758
if test x"$enable_mmkeys" = xyes; then
17759
as_fn_error $? "Multimedia keys explicitly requested but no support found" "$LINENO" 5
17763
have_libbrasero_media=no
17765
# Check whether --with-brasero was given.
17766
if test "${with_brasero+set}" = set; then :
17767
withval=$with_brasero;
17772
if test x"$with_brasero" != "xno"; then
17775
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBBRASERO_MEDIA" >&5
17776
$as_echo_n "checking for LIBBRASERO_MEDIA... " >&6; }
17778
if test -n "$LIBBRASERO_MEDIA_CFLAGS"; then
17779
pkg_cv_LIBBRASERO_MEDIA_CFLAGS="$LIBBRASERO_MEDIA_CFLAGS"
17780
elif test -n "$PKG_CONFIG"; then
17781
if test -n "$PKG_CONFIG" && \
17782
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbrasero-media3 >= \$BRASERO_MIN_REQS\""; } >&5
17783
($PKG_CONFIG --exists --print-errors "libbrasero-media3 >= $BRASERO_MIN_REQS") 2>&5
17785
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17786
test $ac_status = 0; }; then
17787
pkg_cv_LIBBRASERO_MEDIA_CFLAGS=`$PKG_CONFIG --cflags "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>/dev/null`
17788
test "x$?" != "x0" && pkg_failed=yes
17795
if test -n "$LIBBRASERO_MEDIA_LIBS"; then
17796
pkg_cv_LIBBRASERO_MEDIA_LIBS="$LIBBRASERO_MEDIA_LIBS"
17797
elif test -n "$PKG_CONFIG"; then
17798
if test -n "$PKG_CONFIG" && \
17799
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbrasero-media3 >= \$BRASERO_MIN_REQS\""; } >&5
17800
($PKG_CONFIG --exists --print-errors "libbrasero-media3 >= $BRASERO_MIN_REQS") 2>&5
17802
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17803
test $ac_status = 0; }; then
17804
pkg_cv_LIBBRASERO_MEDIA_LIBS=`$PKG_CONFIG --libs "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>/dev/null`
17805
test "x$?" != "x0" && pkg_failed=yes
17815
if test $pkg_failed = yes; then
17816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17817
$as_echo "no" >&6; }
17819
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17820
_pkg_short_errors_supported=yes
17822
_pkg_short_errors_supported=no
17824
if test $_pkg_short_errors_supported = yes; then
17825
LIBBRASERO_MEDIA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>&1`
17827
LIBBRASERO_MEDIA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbrasero-media3 >= $BRASERO_MIN_REQS" 2>&1`
17829
# Put the nasty error message in config.log where it belongs
17830
echo "$LIBBRASERO_MEDIA_PKG_ERRORS" >&5
17832
have_libbrasero_media=no
17833
elif test $pkg_failed = untried; then
17834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17835
$as_echo "no" >&6; }
17836
have_libbrasero_media=no
17838
LIBBRASERO_MEDIA_CFLAGS=$pkg_cv_LIBBRASERO_MEDIA_CFLAGS
17839
LIBBRASERO_MEDIA_LIBS=$pkg_cv_LIBBRASERO_MEDIA_LIBS
17840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17841
$as_echo "yes" >&6; }
17842
have_libbrasero_media=yes
17847
if test "x$have_libbrasero_media" = "xyes"; then
17849
$as_echo "#define HAVE_LIBBRASERO_MEDIA 1" >>confdefs.h
17852
if test x$have_libbrasero_media = xyes; then
17853
HAVE_LIBBRASERO_MEDIA_TRUE=
17854
HAVE_LIBBRASERO_MEDIA_FALSE='#'
17856
HAVE_LIBBRASERO_MEDIA_TRUE='#'
17857
HAVE_LIBBRASERO_MEDIA_FALSE=
17865
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
17866
set dummy glib-genmarshal; ac_word=$2
17867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17868
$as_echo_n "checking for $ac_word... " >&6; }
17869
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
17870
$as_echo_n "(cached) " >&6
17872
case $GLIB_GENMARSHAL in
17874
ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
17877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17878
for as_dir in $PATH
17881
test -z "$as_dir" && as_dir=.
17882
for ac_exec_ext in '' $ac_executable_extensions; do
17883
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17884
ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
17885
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17895
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
17896
if test -n "$GLIB_GENMARSHAL"; then
17897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
17898
$as_echo "$GLIB_GENMARSHAL" >&6; }
17900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17901
$as_echo "no" >&6; }
17905
# Extract the first word of "gdk-pixbuf-csource", so it can be a program name with args.
17906
set dummy gdk-pixbuf-csource; ac_word=$2
17907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17908
$as_echo_n "checking for $ac_word... " >&6; }
17909
if ${ac_cv_path_GDK_PIXBUF_CSOURCE+:} false; then :
17910
$as_echo_n "(cached) " >&6
17912
case $GDK_PIXBUF_CSOURCE in
17914
ac_cv_path_GDK_PIXBUF_CSOURCE="$GDK_PIXBUF_CSOURCE" # Let the user override the test with a path.
17917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17918
for as_dir in $PATH
17921
test -z "$as_dir" && as_dir=.
17922
for ac_exec_ext in '' $ac_executable_extensions; do
17923
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17924
ac_cv_path_GDK_PIXBUF_CSOURCE="$as_dir/$ac_word$ac_exec_ext"
17925
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17935
GDK_PIXBUF_CSOURCE=$ac_cv_path_GDK_PIXBUF_CSOURCE
17936
if test -n "$GDK_PIXBUF_CSOURCE"; then
17937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDK_PIXBUF_CSOURCE" >&5
17938
$as_echo "$GDK_PIXBUF_CSOURCE" >&6; }
17940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17941
$as_echo "no" >&6; }
17949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strftime supports %E and %O modifiers" >&5
17950
$as_echo_n "checking whether strftime supports %E and %O modifiers... " >&6; }
17951
if ${ac_cv_strftime_supports_E_O+:} false; then :
17952
$as_echo_n "(cached) " >&6
17955
if test "$cross_compiling" = yes; then :
17956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot run test program while cross compiling" >&5
17957
$as_echo "cannot run test program while cross compiling" >&6; }
17958
as_fn_error $? "Please set ac_cv_strftime_supports_E_O to yes or no." "$LINENO" 5
17961
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17962
/* end confdefs.h. */
17967
struct tm tm = {0};
17969
if (strftime(buf, 100, "%EY", &tm) == 4 &&
17970
strcmp (buf, "1999")==0)
17976
if ac_fn_c_try_run "$LINENO"; then :
17977
ac_cv_strftime_supports_E_O=yes
17979
ac_cv_strftime_supports_E_O=no
17981
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17982
conftest.$ac_objext conftest.beam conftest.$ac_ext
17987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_strftime_supports_E_O" >&5
17988
$as_echo "$ac_cv_strftime_supports_E_O" >&6; }
17989
if test "x$ac_cv_strftime_supports_E_O" = xyes; then
17991
$as_echo "#define HAVE_STRFTIME_EXTENSION 1" >>confdefs.h
17999
[\\/$]* | ?:[\\/]*) ;;
18000
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
18005
GETTEXT_MACRO_VERSION=0.18
18010
# Prepare PATH_SEPARATOR.
18011
# The user is always right.
18012
if test "${PATH_SEPARATOR+set}" != set; then
18013
echo "#! /bin/sh" >conf$$.sh
18014
echo "exit 0" >>conf$$.sh
18016
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18024
# Find out how to test for executable files. Don't use a zero-byte file,
18025
# as systems may use methods other than mode bits to determine executability.
18026
cat >conf$$.file <<_ASEOF
18030
chmod +x conf$$.file
18031
if test -x conf$$.file >/dev/null 2>&1; then
18032
ac_executable_p="test -x"
18034
ac_executable_p="test -f"
18038
# Extract the first word of "msgfmt", so it can be a program name with args.
18039
set dummy msgfmt; ac_word=$2
18040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18041
$as_echo_n "checking for $ac_word... " >&6; }
18042
if ${ac_cv_path_MSGFMT+:} false; then :
18043
$as_echo_n "(cached) " >&6
18047
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18050
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
18051
for ac_dir in $PATH; do
18053
test -z "$ac_dir" && ac_dir=.
18054
for ac_exec_ext in '' $ac_executable_extensions; do
18055
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
18056
echo "$as_me: trying $ac_dir/$ac_word..." >&5
18057
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
18058
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
18059
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
18066
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
18070
MSGFMT="$ac_cv_path_MSGFMT"
18071
if test "$MSGFMT" != ":"; then
18072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18073
$as_echo "$MSGFMT" >&6; }
18075
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18076
$as_echo "no" >&6; }
18079
# Extract the first word of "gmsgfmt", so it can be a program name with args.
18080
set dummy gmsgfmt; ac_word=$2
18081
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18082
$as_echo_n "checking for $ac_word... " >&6; }
18083
if ${ac_cv_path_GMSGFMT+:} false; then :
18084
$as_echo_n "(cached) " >&6
18088
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18091
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18092
for as_dir in $PATH
18095
test -z "$as_dir" && as_dir=.
18096
for ac_exec_ext in '' $ac_executable_extensions; do
18097
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18098
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
18099
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18106
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18110
GMSGFMT=$ac_cv_path_GMSGFMT
18111
if test -n "$GMSGFMT"; then
18112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18113
$as_echo "$GMSGFMT" >&6; }
18115
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18116
$as_echo "no" >&6; }
18121
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
18122
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
18123
*) MSGFMT_015=$MSGFMT ;;
18126
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
18127
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
18128
*) GMSGFMT_015=$GMSGFMT ;;
18133
# Prepare PATH_SEPARATOR.
18134
# The user is always right.
18135
if test "${PATH_SEPARATOR+set}" != set; then
18136
echo "#! /bin/sh" >conf$$.sh
18137
echo "exit 0" >>conf$$.sh
18139
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18147
# Find out how to test for executable files. Don't use a zero-byte file,
18148
# as systems may use methods other than mode bits to determine executability.
18149
cat >conf$$.file <<_ASEOF
18153
chmod +x conf$$.file
18154
if test -x conf$$.file >/dev/null 2>&1; then
18155
ac_executable_p="test -x"
18157
ac_executable_p="test -f"
18161
# Extract the first word of "xgettext", so it can be a program name with args.
18162
set dummy xgettext; ac_word=$2
18163
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18164
$as_echo_n "checking for $ac_word... " >&6; }
18165
if ${ac_cv_path_XGETTEXT+:} false; then :
18166
$as_echo_n "(cached) " >&6
18168
case "$XGETTEXT" in
18170
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18173
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
18174
for ac_dir in $PATH; do
18176
test -z "$ac_dir" && ac_dir=.
18177
for ac_exec_ext in '' $ac_executable_extensions; do
18178
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
18179
echo "$as_me: trying $ac_dir/$ac_word..." >&5
18180
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
18181
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
18182
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
18189
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
18193
XGETTEXT="$ac_cv_path_XGETTEXT"
18194
if test "$XGETTEXT" != ":"; then
18195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18196
$as_echo "$XGETTEXT" >&6; }
18198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18199
$as_echo "no" >&6; }
18204
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
18205
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
18206
*) XGETTEXT_015=$XGETTEXT ;;
18211
# Prepare PATH_SEPARATOR.
18212
# The user is always right.
18213
if test "${PATH_SEPARATOR+set}" != set; then
18214
echo "#! /bin/sh" >conf$$.sh
18215
echo "exit 0" >>conf$$.sh
18217
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18225
# Find out how to test for executable files. Don't use a zero-byte file,
18226
# as systems may use methods other than mode bits to determine executability.
18227
cat >conf$$.file <<_ASEOF
18231
chmod +x conf$$.file
18232
if test -x conf$$.file >/dev/null 2>&1; then
18233
ac_executable_p="test -x"
18235
ac_executable_p="test -f"
18239
# Extract the first word of "msgmerge", so it can be a program name with args.
18240
set dummy msgmerge; ac_word=$2
18241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18242
$as_echo_n "checking for $ac_word... " >&6; }
18243
if ${ac_cv_path_MSGMERGE+:} false; then :
18244
$as_echo_n "(cached) " >&6
18246
case "$MSGMERGE" in
18248
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
18251
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
18252
for ac_dir in $PATH; do
18254
test -z "$ac_dir" && ac_dir=.
18255
for ac_exec_ext in '' $ac_executable_extensions; do
18256
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
18257
echo "$as_me: trying $ac_dir/$ac_word..." >&5
18258
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
18259
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
18266
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
18270
MSGMERGE="$ac_cv_path_MSGMERGE"
18271
if test "$MSGMERGE" != ":"; then
18272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
18273
$as_echo "$MSGMERGE" >&6; }
18275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18276
$as_echo "no" >&6; }
18280
test -n "$localedir" || localedir='${datadir}/locale'
18283
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
18286
ac_config_commands="$ac_config_commands po-directories"
18290
if test "X$prefix" = "XNONE"; then
18291
acl_final_prefix="$ac_default_prefix"
18293
acl_final_prefix="$prefix"
18295
if test "X$exec_prefix" = "XNONE"; then
18296
acl_final_exec_prefix='${prefix}'
18298
acl_final_exec_prefix="$exec_prefix"
18300
acl_save_prefix="$prefix"
18301
prefix="$acl_final_prefix"
18302
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
18303
prefix="$acl_save_prefix"
18306
# Check whether --with-gnu-ld was given.
18307
if test "${with_gnu_ld+set}" = set; then :
18308
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
18313
# Prepare PATH_SEPARATOR.
18314
# The user is always right.
18315
if test "${PATH_SEPARATOR+set}" != set; then
18316
echo "#! /bin/sh" >conf$$.sh
18317
echo "exit 0" >>conf$$.sh
18319
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18327
if test "$GCC" = yes; then
18328
# Check if gcc -print-prog-name=ld gives a path.
18329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
18330
$as_echo_n "checking for ld used by GCC... " >&6; }
18333
# gcc leaves a trailing carriage return which upsets mingw
18334
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18336
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18339
# Accept absolute paths.
18340
[\\/]* | [A-Za-z]:[\\/]*)
18341
re_direlt='/[^/][^/]*/\.\./'
18342
# Canonicalize the path of ld
18343
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
18344
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
18345
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
18347
test -z "$LD" && LD="$ac_prog"
18350
# If it fails, then pretend we aren't using GCC.
18354
# If it is relative, then search for the first ld in PATH.
18355
with_gnu_ld=unknown
18358
elif test "$with_gnu_ld" = yes; then
18359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
18360
$as_echo_n "checking for GNU ld... " >&6; }
18362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
18363
$as_echo_n "checking for non-GNU ld... " >&6; }
18365
if ${acl_cv_path_LD+:} false; then :
18366
$as_echo_n "(cached) " >&6
18368
if test -z "$LD"; then
18369
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
18370
for ac_dir in $PATH; do
18371
test -z "$ac_dir" && ac_dir=.
18372
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18373
acl_cv_path_LD="$ac_dir/$ac_prog"
18374
# Check to see if the program is GNU ld. I'd rather use --version,
18375
# but apparently some GNU ld's only accept -v.
18376
# Break only if it was the GNU/non-GNU ld that we prefer.
18377
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
18378
*GNU* | *'with BFD'*)
18379
test "$with_gnu_ld" != no && break ;;
18381
test "$with_gnu_ld" != yes && break ;;
18387
acl_cv_path_LD="$LD" # Let the user override the test with a path.
18391
LD="$acl_cv_path_LD"
18392
if test -n "$LD"; then
18393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
18394
$as_echo "$LD" >&6; }
18396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18397
$as_echo "no" >&6; }
18399
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
18400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
18401
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
18402
if ${acl_cv_prog_gnu_ld+:} false; then :
18403
$as_echo_n "(cached) " >&6
18405
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
18406
case `$LD -v 2>&1 </dev/null` in
18407
*GNU* | *'with BFD'*)
18408
acl_cv_prog_gnu_ld=yes ;;
18410
acl_cv_prog_gnu_ld=no ;;
18413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
18414
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
18415
with_gnu_ld=$acl_cv_prog_gnu_ld
18420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
18421
$as_echo_n "checking for shared library run path origin... " >&6; }
18422
if ${acl_cv_rpath+:} false; then :
18423
$as_echo_n "(cached) " >&6
18426
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
18427
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
18429
rm -f ./conftest.sh
18433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
18434
$as_echo "$acl_cv_rpath" >&6; }
18436
acl_libext="$acl_cv_libext"
18437
acl_shlibext="$acl_cv_shlibext"
18438
acl_libname_spec="$acl_cv_libname_spec"
18439
acl_library_names_spec="$acl_cv_library_names_spec"
18440
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
18441
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
18442
acl_hardcode_direct="$acl_cv_hardcode_direct"
18443
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
18444
# Check whether --enable-rpath was given.
18445
if test "${enable_rpath+set}" = set; then :
18446
enableval=$enable_rpath; :
18458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
18459
$as_echo_n "checking for 64-bit host... " >&6; }
18460
if ${gl_cv_solaris_64bit+:} false; then :
18461
$as_echo_n "(cached) " >&6
18463
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464
/* end confdefs.h. */
18471
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18472
$EGREP "sixtyfour bits" >/dev/null 2>&1; then :
18473
gl_cv_solaris_64bit=yes
18475
gl_cv_solaris_64bit=no
18481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
18482
$as_echo "$gl_cv_solaris_64bit" >&6; }
18483
if test $gl_cv_solaris_64bit = yes; then
18484
acl_libdirstem=lib/64
18485
case "$host_cpu" in
18486
sparc*) acl_libdirstem2=lib/sparcv9 ;;
18487
i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
18492
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
18493
if test -n "$searchpath"; then
18494
acl_save_IFS="${IFS= }"; IFS=":"
18495
for searchdir in $searchpath; do
18496
if test -d "$searchdir"; then
18497
case "$searchdir" in
18498
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
18500
# Better ignore directories of this form. They are misleading.
18502
*) searchdir=`cd "$searchdir" && pwd`
18503
case "$searchdir" in
18504
*/lib64 ) acl_libdirstem=lib64 ;;
18509
IFS="$acl_save_IFS"
18513
test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
18528
acl_save_prefix="$prefix"
18529
prefix="$acl_final_prefix"
18530
acl_save_exec_prefix="$exec_prefix"
18531
exec_prefix="$acl_final_exec_prefix"
18533
eval additional_includedir=\"$includedir\"
18534
eval additional_libdir=\"$libdir\"
18536
exec_prefix="$acl_save_exec_prefix"
18537
prefix="$acl_save_prefix"
18540
# Check whether --with-libiconv-prefix was given.
18541
if test "${with_libiconv_prefix+set}" = set; then :
18542
withval=$with_libiconv_prefix;
18543
if test "X$withval" = "Xno"; then
18546
if test "X$withval" = "X"; then
18548
acl_save_prefix="$prefix"
18549
prefix="$acl_final_prefix"
18550
acl_save_exec_prefix="$exec_prefix"
18551
exec_prefix="$acl_final_exec_prefix"
18553
eval additional_includedir=\"$includedir\"
18554
eval additional_libdir=\"$libdir\"
18556
exec_prefix="$acl_save_exec_prefix"
18557
prefix="$acl_save_prefix"
18560
additional_includedir="$withval/include"
18561
additional_libdir="$withval/$acl_libdirstem"
18562
if test "$acl_libdirstem2" != "$acl_libdirstem" \
18563
&& ! test -d "$withval/$acl_libdirstem"; then
18564
additional_libdir="$withval/$acl_libdirstem2"
18578
names_already_handled=
18579
names_next_round='iconv '
18580
while test -n "$names_next_round"; do
18581
names_this_round="$names_next_round"
18583
for name in $names_this_round; do
18585
for n in $names_already_handled; do
18586
if test "$n" = "$name"; then
18587
already_handled=yes
18591
if test -z "$already_handled"; then
18592
names_already_handled="$names_already_handled $name"
18593
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
18594
eval value=\"\$HAVE_LIB$uppername\"
18595
if test -n "$value"; then
18596
if test "$value" = yes; then
18597
eval value=\"\$LIB$uppername\"
18598
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
18599
eval value=\"\$LTLIB$uppername\"
18600
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
18609
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
18610
if test -n "$acl_shlibext"; then
18611
shrext=".$acl_shlibext" # typically: shrext=.so
18615
if test $use_additional = yes; then
18616
dir="$additional_libdir"
18617
if test -n "$acl_shlibext"; then
18618
if test -f "$dir/$libname$shrext"; then
18620
found_so="$dir/$libname$shrext"
18622
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18623
ver=`(cd "$dir" && \
18624
for f in "$libname$shrext".*; do echo "$f"; done \
18625
| sed -e "s,^$libname$shrext\\\\.,," \
18626
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18627
| sed 1q ) 2>/dev/null`
18628
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18630
found_so="$dir/$libname$shrext.$ver"
18633
eval library_names=\"$acl_library_names_spec\"
18634
for f in $library_names; do
18635
if test -f "$dir/$f"; then
18644
if test "X$found_dir" = "X"; then
18645
if test -f "$dir/$libname.$acl_libext"; then
18647
found_a="$dir/$libname.$acl_libext"
18650
if test "X$found_dir" != "X"; then
18651
if test -f "$dir/$libname.la"; then
18652
found_la="$dir/$libname.la"
18656
if test "X$found_dir" = "X"; then
18657
for x in $LDFLAGS $LTLIBICONV; do
18659
acl_save_prefix="$prefix"
18660
prefix="$acl_final_prefix"
18661
acl_save_exec_prefix="$exec_prefix"
18662
exec_prefix="$acl_final_exec_prefix"
18664
exec_prefix="$acl_save_exec_prefix"
18665
prefix="$acl_save_prefix"
18669
dir=`echo "X$x" | sed -e 's/^X-L//'`
18670
if test -n "$acl_shlibext"; then
18671
if test -f "$dir/$libname$shrext"; then
18673
found_so="$dir/$libname$shrext"
18675
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
18676
ver=`(cd "$dir" && \
18677
for f in "$libname$shrext".*; do echo "$f"; done \
18678
| sed -e "s,^$libname$shrext\\\\.,," \
18679
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
18680
| sed 1q ) 2>/dev/null`
18681
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
18683
found_so="$dir/$libname$shrext.$ver"
18686
eval library_names=\"$acl_library_names_spec\"
18687
for f in $library_names; do
18688
if test -f "$dir/$f"; then
18697
if test "X$found_dir" = "X"; then
18698
if test -f "$dir/$libname.$acl_libext"; then
18700
found_a="$dir/$libname.$acl_libext"
18703
if test "X$found_dir" != "X"; then
18704
if test -f "$dir/$libname.la"; then
18705
found_la="$dir/$libname.la"
18710
if test "X$found_dir" != "X"; then
18715
if test "X$found_dir" != "X"; then
18716
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
18717
if test "X$found_so" != "X"; then
18718
if test "$enable_rpath" = no \
18719
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
18720
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
18721
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18724
for x in $ltrpathdirs; do
18725
if test "X$x" = "X$found_dir"; then
18730
if test -z "$haveit"; then
18731
ltrpathdirs="$ltrpathdirs $found_dir"
18733
if test "$acl_hardcode_direct" = yes; then
18734
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18736
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
18737
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18739
for x in $rpathdirs; do
18740
if test "X$x" = "X$found_dir"; then
18745
if test -z "$haveit"; then
18746
rpathdirs="$rpathdirs $found_dir"
18750
for x in $LDFLAGS $LIBICONV; do
18752
acl_save_prefix="$prefix"
18753
prefix="$acl_final_prefix"
18754
acl_save_exec_prefix="$exec_prefix"
18755
exec_prefix="$acl_final_exec_prefix"
18757
exec_prefix="$acl_save_exec_prefix"
18758
prefix="$acl_save_prefix"
18760
if test "X$x" = "X-L$found_dir"; then
18765
if test -z "$haveit"; then
18766
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
18768
if test "$acl_hardcode_minus_L" != no; then
18769
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
18771
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18777
if test "X$found_a" != "X"; then
18778
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
18780
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
18783
additional_includedir=
18784
case "$found_dir" in
18785
*/$acl_libdirstem | */$acl_libdirstem/)
18786
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
18787
if test "$name" = 'iconv'; then
18788
LIBICONV_PREFIX="$basedir"
18790
additional_includedir="$basedir/include"
18792
*/$acl_libdirstem2 | */$acl_libdirstem2/)
18793
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
18794
if test "$name" = 'iconv'; then
18795
LIBICONV_PREFIX="$basedir"
18797
additional_includedir="$basedir/include"
18800
if test "X$additional_includedir" != "X"; then
18801
if test "X$additional_includedir" != "X/usr/include"; then
18803
if test "X$additional_includedir" = "X/usr/local/include"; then
18804
if test -n "$GCC"; then
18806
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18810
if test -z "$haveit"; then
18811
for x in $CPPFLAGS $INCICONV; do
18813
acl_save_prefix="$prefix"
18814
prefix="$acl_final_prefix"
18815
acl_save_exec_prefix="$exec_prefix"
18816
exec_prefix="$acl_final_exec_prefix"
18818
exec_prefix="$acl_save_exec_prefix"
18819
prefix="$acl_save_prefix"
18821
if test "X$x" = "X-I$additional_includedir"; then
18826
if test -z "$haveit"; then
18827
if test -d "$additional_includedir"; then
18828
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
18834
if test -n "$found_la"; then
18835
save_libdir="$libdir"
18836
case "$found_la" in
18837
*/* | *\\*) . "$found_la" ;;
18838
*) . "./$found_la" ;;
18840
libdir="$save_libdir"
18841
for dep in $dependency_libs; do
18844
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
18845
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
18846
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
18848
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
18849
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
18850
if test -n "$GCC"; then
18852
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
18856
if test -z "$haveit"; then
18858
for x in $LDFLAGS $LIBICONV; do
18860
acl_save_prefix="$prefix"
18861
prefix="$acl_final_prefix"
18862
acl_save_exec_prefix="$exec_prefix"
18863
exec_prefix="$acl_final_exec_prefix"
18865
exec_prefix="$acl_save_exec_prefix"
18866
prefix="$acl_save_prefix"
18868
if test "X$x" = "X-L$additional_libdir"; then
18873
if test -z "$haveit"; then
18874
if test -d "$additional_libdir"; then
18875
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
18879
for x in $LDFLAGS $LTLIBICONV; do
18881
acl_save_prefix="$prefix"
18882
prefix="$acl_final_prefix"
18883
acl_save_exec_prefix="$exec_prefix"
18884
exec_prefix="$acl_final_exec_prefix"
18886
exec_prefix="$acl_save_exec_prefix"
18887
prefix="$acl_save_prefix"
18889
if test "X$x" = "X-L$additional_libdir"; then
18894
if test -z "$haveit"; then
18895
if test -d "$additional_libdir"; then
18896
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
18903
dir=`echo "X$dep" | sed -e 's/^X-R//'`
18904
if test "$enable_rpath" != no; then
18906
for x in $rpathdirs; do
18907
if test "X$x" = "X$dir"; then
18912
if test -z "$haveit"; then
18913
rpathdirs="$rpathdirs $dir"
18916
for x in $ltrpathdirs; do
18917
if test "X$x" = "X$dir"; then
18922
if test -z "$haveit"; then
18923
ltrpathdirs="$ltrpathdirs $dir"
18928
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
18931
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
18934
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
18935
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
18941
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
18942
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
18948
if test "X$rpathdirs" != "X"; then
18949
if test -n "$acl_hardcode_libdir_separator"; then
18951
for found_dir in $rpathdirs; do
18952
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
18954
acl_save_libdir="$libdir"
18956
eval flag=\"$acl_hardcode_libdir_flag_spec\"
18957
libdir="$acl_save_libdir"
18958
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18960
for found_dir in $rpathdirs; do
18961
acl_save_libdir="$libdir"
18962
libdir="$found_dir"
18963
eval flag=\"$acl_hardcode_libdir_flag_spec\"
18964
libdir="$acl_save_libdir"
18965
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
18969
if test "X$ltrpathdirs" != "X"; then
18970
for found_dir in $ltrpathdirs; do
18971
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
19005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
19006
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
19007
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
19008
$as_echo_n "(cached) " >&6
19010
gt_save_LIBS="$LIBS"
19011
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
19012
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19013
/* end confdefs.h. */
19014
#include <CoreFoundation/CFPreferences.h>
19018
CFPreferencesCopyAppValue(NULL, NULL)
19023
if ac_fn_c_try_link "$LINENO"; then :
19024
gt_cv_func_CFPreferencesCopyAppValue=yes
19026
gt_cv_func_CFPreferencesCopyAppValue=no
19028
rm -f core conftest.err conftest.$ac_objext \
19029
conftest$ac_exeext conftest.$ac_ext
19030
LIBS="$gt_save_LIBS"
19032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
19033
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
19034
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
19036
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
19039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
19040
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
19041
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
19042
$as_echo_n "(cached) " >&6
19044
gt_save_LIBS="$LIBS"
19045
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
19046
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19047
/* end confdefs.h. */
19048
#include <CoreFoundation/CFLocale.h>
19052
CFLocaleCopyCurrent();
19057
if ac_fn_c_try_link "$LINENO"; then :
19058
gt_cv_func_CFLocaleCopyCurrent=yes
19060
gt_cv_func_CFLocaleCopyCurrent=no
19062
rm -f core conftest.err conftest.$ac_objext \
19063
conftest$ac_exeext conftest.$ac_ext
19064
LIBS="$gt_save_LIBS"
19066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
19067
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
19068
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
19070
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
19074
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
19075
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
19087
case " $gt_needs " in
19088
*" need-formatstring-macros "*) gt_api_version=3 ;;
19089
*" need-ngettext "*) gt_api_version=2 ;;
19090
*) gt_api_version=1 ;;
19092
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
19093
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
19095
if test "$USE_NLS" = "yes"; then
19096
gt_use_preinstalled_gnugettext=no
19099
if test $gt_api_version -ge 3; then
19100
gt_revision_test_code='
19101
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
19102
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
19104
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
19107
gt_revision_test_code=
19109
if test $gt_api_version -ge 2; then
19110
gt_expression_test_code=' + * ngettext ("", "", 0)'
19112
gt_expression_test_code=
19115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
19116
$as_echo_n "checking for GNU gettext in libc... " >&6; }
19117
if eval \${$gt_func_gnugettext_libc+:} false; then :
19118
$as_echo_n "(cached) " >&6
19120
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19121
/* end confdefs.h. */
19122
#include <libintl.h>
19123
$gt_revision_test_code
19124
extern int _nl_msg_cat_cntr;
19125
extern int *_nl_domain_bindings;
19129
bindtextdomain ("", "");
19130
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
19135
if ac_fn_c_try_link "$LINENO"; then :
19136
eval "$gt_func_gnugettext_libc=yes"
19138
eval "$gt_func_gnugettext_libc=no"
19140
rm -f core conftest.err conftest.$ac_objext \
19141
conftest$ac_exeext conftest.$ac_ext
19143
eval ac_res=\$$gt_func_gnugettext_libc
19144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19145
$as_echo "$ac_res" >&6; }
19147
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
19153
am_save_CPPFLAGS="$CPPFLAGS"
19155
for element in $INCICONV; do
19157
for x in $CPPFLAGS; do
19159
acl_save_prefix="$prefix"
19160
prefix="$acl_final_prefix"
19161
acl_save_exec_prefix="$exec_prefix"
19162
exec_prefix="$acl_final_exec_prefix"
19164
exec_prefix="$acl_save_exec_prefix"
19165
prefix="$acl_save_prefix"
19167
if test "X$x" = "X$element"; then
19172
if test -z "$haveit"; then
19173
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
19179
$as_echo_n "checking for iconv... " >&6; }
19180
if ${am_cv_func_iconv+:} false; then :
19181
$as_echo_n "(cached) " >&6
19184
am_cv_func_iconv="no, consider installing GNU libiconv"
19186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19187
/* end confdefs.h. */
19188
#include <stdlib.h>
19193
iconv_t cd = iconv_open("","");
19194
iconv(cd,NULL,NULL,NULL,NULL);
19200
if ac_fn_c_try_link "$LINENO"; then :
19201
am_cv_func_iconv=yes
19203
rm -f core conftest.err conftest.$ac_objext \
19204
conftest$ac_exeext conftest.$ac_ext
19205
if test "$am_cv_func_iconv" != yes; then
19206
am_save_LIBS="$LIBS"
19207
LIBS="$LIBS $LIBICONV"
19208
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209
/* end confdefs.h. */
19210
#include <stdlib.h>
19215
iconv_t cd = iconv_open("","");
19216
iconv(cd,NULL,NULL,NULL,NULL);
19222
if ac_fn_c_try_link "$LINENO"; then :
19223
am_cv_lib_iconv=yes
19224
am_cv_func_iconv=yes
19226
rm -f core conftest.err conftest.$ac_objext \
19227
conftest$ac_exeext conftest.$ac_ext
19228
LIBS="$am_save_LIBS"
19232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
19233
$as_echo "$am_cv_func_iconv" >&6; }
19234
if test "$am_cv_func_iconv" = yes; then
19235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
19236
$as_echo_n "checking for working iconv... " >&6; }
19237
if ${am_cv_func_iconv_works+:} false; then :
19238
$as_echo_n "(cached) " >&6
19241
am_save_LIBS="$LIBS"
19242
if test $am_cv_lib_iconv = yes; then
19243
LIBS="$LIBS $LIBICONV"
19245
if test "$cross_compiling" = yes; then :
19247
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
19248
*) am_cv_func_iconv_works="guessing yes" ;;
19251
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19252
/* end confdefs.h. */
19255
#include <string.h>
19258
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
19261
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
19262
if (cd_utf8_to_88591 != (iconv_t)(-1))
19264
static const char input[] = "\342\202\254"; /* EURO SIGN */
19266
const char *inptr = input;
19267
size_t inbytesleft = strlen (input);
19268
char *outptr = buf;
19269
size_t outbytesleft = sizeof (buf);
19270
size_t res = iconv (cd_utf8_to_88591,
19271
(char **) &inptr, &inbytesleft,
19272
&outptr, &outbytesleft);
19277
/* Test against Solaris 10 bug: Failures are not distinguishable from
19278
successful returns. */
19280
iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
19281
if (cd_ascii_to_88591 != (iconv_t)(-1))
19283
static const char input[] = "\263";
19285
const char *inptr = input;
19286
size_t inbytesleft = strlen (input);
19287
char *outptr = buf;
19288
size_t outbytesleft = sizeof (buf);
19289
size_t res = iconv (cd_ascii_to_88591,
19290
(char **) &inptr, &inbytesleft,
19291
&outptr, &outbytesleft);
19296
#if 0 /* This bug could be worked around by the caller. */
19297
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
19299
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
19300
if (cd_88591_to_utf8 != (iconv_t)(-1))
19302
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
19304
const char *inptr = input;
19305
size_t inbytesleft = strlen (input);
19306
char *outptr = buf;
19307
size_t outbytesleft = sizeof (buf);
19308
size_t res = iconv (cd_88591_to_utf8,
19309
(char **) &inptr, &inbytesleft,
19310
&outptr, &outbytesleft);
19316
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
19318
if (/* Try standardized names. */
19319
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
19320
/* Try IRIX, OSF/1 names. */
19321
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
19322
/* Try AIX names. */
19323
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
19324
/* Try HP-UX names. */
19325
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
19330
if ac_fn_c_try_run "$LINENO"; then :
19331
am_cv_func_iconv_works=yes
19333
am_cv_func_iconv_works=no
19335
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19336
conftest.$ac_objext conftest.beam conftest.$ac_ext
19339
LIBS="$am_save_LIBS"
19342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
19343
$as_echo "$am_cv_func_iconv_works" >&6; }
19344
case "$am_cv_func_iconv_works" in
19345
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
19346
*) am_func_iconv=yes ;;
19349
am_func_iconv=no am_cv_lib_iconv=no
19351
if test "$am_func_iconv" = yes; then
19353
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
19356
if test "$am_cv_lib_iconv" = yes; then
19357
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
19358
$as_echo_n "checking how to link with libiconv... " >&6; }
19359
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
19360
$as_echo "$LIBICONV" >&6; }
19362
CPPFLAGS="$am_save_CPPFLAGS"
19379
acl_save_prefix="$prefix"
19380
prefix="$acl_final_prefix"
19381
acl_save_exec_prefix="$exec_prefix"
19382
exec_prefix="$acl_final_exec_prefix"
19384
eval additional_includedir=\"$includedir\"
19385
eval additional_libdir=\"$libdir\"
19387
exec_prefix="$acl_save_exec_prefix"
19388
prefix="$acl_save_prefix"
19391
# Check whether --with-libintl-prefix was given.
19392
if test "${with_libintl_prefix+set}" = set; then :
19393
withval=$with_libintl_prefix;
19394
if test "X$withval" = "Xno"; then
19397
if test "X$withval" = "X"; then
19399
acl_save_prefix="$prefix"
19400
prefix="$acl_final_prefix"
19401
acl_save_exec_prefix="$exec_prefix"
19402
exec_prefix="$acl_final_exec_prefix"
19404
eval additional_includedir=\"$includedir\"
19405
eval additional_libdir=\"$libdir\"
19407
exec_prefix="$acl_save_exec_prefix"
19408
prefix="$acl_save_prefix"
19411
additional_includedir="$withval/include"
19412
additional_libdir="$withval/$acl_libdirstem"
19413
if test "$acl_libdirstem2" != "$acl_libdirstem" \
19414
&& ! test -d "$withval/$acl_libdirstem"; then
19415
additional_libdir="$withval/$acl_libdirstem2"
19429
names_already_handled=
19430
names_next_round='intl '
19431
while test -n "$names_next_round"; do
19432
names_this_round="$names_next_round"
19434
for name in $names_this_round; do
19436
for n in $names_already_handled; do
19437
if test "$n" = "$name"; then
19438
already_handled=yes
19442
if test -z "$already_handled"; then
19443
names_already_handled="$names_already_handled $name"
19444
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
19445
eval value=\"\$HAVE_LIB$uppername\"
19446
if test -n "$value"; then
19447
if test "$value" = yes; then
19448
eval value=\"\$LIB$uppername\"
19449
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
19450
eval value=\"\$LTLIB$uppername\"
19451
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
19460
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
19461
if test -n "$acl_shlibext"; then
19462
shrext=".$acl_shlibext" # typically: shrext=.so
19466
if test $use_additional = yes; then
19467
dir="$additional_libdir"
19468
if test -n "$acl_shlibext"; then
19469
if test -f "$dir/$libname$shrext"; then
19471
found_so="$dir/$libname$shrext"
19473
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19474
ver=`(cd "$dir" && \
19475
for f in "$libname$shrext".*; do echo "$f"; done \
19476
| sed -e "s,^$libname$shrext\\\\.,," \
19477
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19478
| sed 1q ) 2>/dev/null`
19479
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19481
found_so="$dir/$libname$shrext.$ver"
19484
eval library_names=\"$acl_library_names_spec\"
19485
for f in $library_names; do
19486
if test -f "$dir/$f"; then
19495
if test "X$found_dir" = "X"; then
19496
if test -f "$dir/$libname.$acl_libext"; then
19498
found_a="$dir/$libname.$acl_libext"
19501
if test "X$found_dir" != "X"; then
19502
if test -f "$dir/$libname.la"; then
19503
found_la="$dir/$libname.la"
19507
if test "X$found_dir" = "X"; then
19508
for x in $LDFLAGS $LTLIBINTL; do
19510
acl_save_prefix="$prefix"
19511
prefix="$acl_final_prefix"
19512
acl_save_exec_prefix="$exec_prefix"
19513
exec_prefix="$acl_final_exec_prefix"
19515
exec_prefix="$acl_save_exec_prefix"
19516
prefix="$acl_save_prefix"
19520
dir=`echo "X$x" | sed -e 's/^X-L//'`
19521
if test -n "$acl_shlibext"; then
19522
if test -f "$dir/$libname$shrext"; then
19524
found_so="$dir/$libname$shrext"
19526
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
19527
ver=`(cd "$dir" && \
19528
for f in "$libname$shrext".*; do echo "$f"; done \
19529
| sed -e "s,^$libname$shrext\\\\.,," \
19530
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
19531
| sed 1q ) 2>/dev/null`
19532
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
19534
found_so="$dir/$libname$shrext.$ver"
19537
eval library_names=\"$acl_library_names_spec\"
19538
for f in $library_names; do
19539
if test -f "$dir/$f"; then
19548
if test "X$found_dir" = "X"; then
19549
if test -f "$dir/$libname.$acl_libext"; then
19551
found_a="$dir/$libname.$acl_libext"
19554
if test "X$found_dir" != "X"; then
19555
if test -f "$dir/$libname.la"; then
19556
found_la="$dir/$libname.la"
19561
if test "X$found_dir" != "X"; then
19566
if test "X$found_dir" != "X"; then
19567
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
19568
if test "X$found_so" != "X"; then
19569
if test "$enable_rpath" = no \
19570
|| test "X$found_dir" = "X/usr/$acl_libdirstem" \
19571
|| test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
19572
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19575
for x in $ltrpathdirs; do
19576
if test "X$x" = "X$found_dir"; then
19581
if test -z "$haveit"; then
19582
ltrpathdirs="$ltrpathdirs $found_dir"
19584
if test "$acl_hardcode_direct" = yes; then
19585
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19587
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
19588
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19590
for x in $rpathdirs; do
19591
if test "X$x" = "X$found_dir"; then
19596
if test -z "$haveit"; then
19597
rpathdirs="$rpathdirs $found_dir"
19601
for x in $LDFLAGS $LIBINTL; do
19603
acl_save_prefix="$prefix"
19604
prefix="$acl_final_prefix"
19605
acl_save_exec_prefix="$exec_prefix"
19606
exec_prefix="$acl_final_exec_prefix"
19608
exec_prefix="$acl_save_exec_prefix"
19609
prefix="$acl_save_prefix"
19611
if test "X$x" = "X-L$found_dir"; then
19616
if test -z "$haveit"; then
19617
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
19619
if test "$acl_hardcode_minus_L" != no; then
19620
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
19622
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
19628
if test "X$found_a" != "X"; then
19629
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
19631
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
19634
additional_includedir=
19635
case "$found_dir" in
19636
*/$acl_libdirstem | */$acl_libdirstem/)
19637
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
19638
if test "$name" = 'intl'; then
19639
LIBINTL_PREFIX="$basedir"
19641
additional_includedir="$basedir/include"
19643
*/$acl_libdirstem2 | */$acl_libdirstem2/)
19644
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
19645
if test "$name" = 'intl'; then
19646
LIBINTL_PREFIX="$basedir"
19648
additional_includedir="$basedir/include"
19651
if test "X$additional_includedir" != "X"; then
19652
if test "X$additional_includedir" != "X/usr/include"; then
19654
if test "X$additional_includedir" = "X/usr/local/include"; then
19655
if test -n "$GCC"; then
19657
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19661
if test -z "$haveit"; then
19662
for x in $CPPFLAGS $INCINTL; do
19664
acl_save_prefix="$prefix"
19665
prefix="$acl_final_prefix"
19666
acl_save_exec_prefix="$exec_prefix"
19667
exec_prefix="$acl_final_exec_prefix"
19669
exec_prefix="$acl_save_exec_prefix"
19670
prefix="$acl_save_prefix"
19672
if test "X$x" = "X-I$additional_includedir"; then
19677
if test -z "$haveit"; then
19678
if test -d "$additional_includedir"; then
19679
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
19685
if test -n "$found_la"; then
19686
save_libdir="$libdir"
19687
case "$found_la" in
19688
*/* | *\\*) . "$found_la" ;;
19689
*) . "./$found_la" ;;
19691
libdir="$save_libdir"
19692
for dep in $dependency_libs; do
19695
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
19696
if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
19697
&& test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
19699
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
19700
|| test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
19701
if test -n "$GCC"; then
19703
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
19707
if test -z "$haveit"; then
19709
for x in $LDFLAGS $LIBINTL; do
19711
acl_save_prefix="$prefix"
19712
prefix="$acl_final_prefix"
19713
acl_save_exec_prefix="$exec_prefix"
19714
exec_prefix="$acl_final_exec_prefix"
19716
exec_prefix="$acl_save_exec_prefix"
19717
prefix="$acl_save_prefix"
19719
if test "X$x" = "X-L$additional_libdir"; then
19724
if test -z "$haveit"; then
19725
if test -d "$additional_libdir"; then
19726
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
19730
for x in $LDFLAGS $LTLIBINTL; do
19732
acl_save_prefix="$prefix"
19733
prefix="$acl_final_prefix"
19734
acl_save_exec_prefix="$exec_prefix"
19735
exec_prefix="$acl_final_exec_prefix"
19737
exec_prefix="$acl_save_exec_prefix"
19738
prefix="$acl_save_prefix"
19740
if test "X$x" = "X-L$additional_libdir"; then
19745
if test -z "$haveit"; then
19746
if test -d "$additional_libdir"; then
19747
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
19754
dir=`echo "X$dep" | sed -e 's/^X-R//'`
19755
if test "$enable_rpath" != no; then
19757
for x in $rpathdirs; do
19758
if test "X$x" = "X$dir"; then
19763
if test -z "$haveit"; then
19764
rpathdirs="$rpathdirs $dir"
19767
for x in $ltrpathdirs; do
19768
if test "X$x" = "X$dir"; then
19773
if test -z "$haveit"; then
19774
ltrpathdirs="$ltrpathdirs $dir"
19779
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
19782
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
19785
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
19786
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
19792
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
19793
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
19799
if test "X$rpathdirs" != "X"; then
19800
if test -n "$acl_hardcode_libdir_separator"; then
19802
for found_dir in $rpathdirs; do
19803
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
19805
acl_save_libdir="$libdir"
19807
eval flag=\"$acl_hardcode_libdir_flag_spec\"
19808
libdir="$acl_save_libdir"
19809
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
19811
for found_dir in $rpathdirs; do
19812
acl_save_libdir="$libdir"
19813
libdir="$found_dir"
19814
eval flag=\"$acl_hardcode_libdir_flag_spec\"
19815
libdir="$acl_save_libdir"
19816
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
19820
if test "X$ltrpathdirs" != "X"; then
19821
for found_dir in $ltrpathdirs; do
19822
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
19831
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
19832
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
19833
if eval \${$gt_func_gnugettext_libintl+:} false; then :
19834
$as_echo_n "(cached) " >&6
19836
gt_save_CPPFLAGS="$CPPFLAGS"
19837
CPPFLAGS="$CPPFLAGS $INCINTL"
19838
gt_save_LIBS="$LIBS"
19839
LIBS="$LIBS $LIBINTL"
19840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19841
/* end confdefs.h. */
19842
#include <libintl.h>
19843
$gt_revision_test_code
19844
extern int _nl_msg_cat_cntr;
19849
const char *_nl_expand_alias (const char *);
19853
bindtextdomain ("", "");
19854
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
19859
if ac_fn_c_try_link "$LINENO"; then :
19860
eval "$gt_func_gnugettext_libintl=yes"
19862
eval "$gt_func_gnugettext_libintl=no"
19864
rm -f core conftest.err conftest.$ac_objext \
19865
conftest$ac_exeext conftest.$ac_ext
19866
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
19867
LIBS="$LIBS $LIBICONV"
19868
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19869
/* end confdefs.h. */
19870
#include <libintl.h>
19871
$gt_revision_test_code
19872
extern int _nl_msg_cat_cntr;
19877
const char *_nl_expand_alias (const char *);
19881
bindtextdomain ("", "");
19882
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
19887
if ac_fn_c_try_link "$LINENO"; then :
19888
LIBINTL="$LIBINTL $LIBICONV"
19889
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
19890
eval "$gt_func_gnugettext_libintl=yes"
19893
rm -f core conftest.err conftest.$ac_objext \
19894
conftest$ac_exeext conftest.$ac_ext
19896
CPPFLAGS="$gt_save_CPPFLAGS"
19897
LIBS="$gt_save_LIBS"
19899
eval ac_res=\$$gt_func_gnugettext_libintl
19900
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
19901
$as_echo "$ac_res" >&6; }
19904
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
19905
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
19906
&& test "$PACKAGE" != gettext-runtime \
19907
&& test "$PACKAGE" != gettext-tools; }; then
19908
gt_use_preinstalled_gnugettext=yes
19917
if test -n "$INTL_MACOSX_LIBS"; then
19918
if test "$gt_use_preinstalled_gnugettext" = "yes" \
19919
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
19920
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
19921
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
19925
if test "$gt_use_preinstalled_gnugettext" = "yes" \
19926
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
19928
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
19935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
19936
$as_echo_n "checking whether to use NLS... " >&6; }
19937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
19938
$as_echo "$USE_NLS" >&6; }
19939
if test "$USE_NLS" = "yes"; then
19940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
19941
$as_echo_n "checking where the gettext function comes from... " >&6; }
19942
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19943
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19944
gt_source="external libintl"
19949
gt_source="included intl directory"
19951
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
19952
$as_echo "$gt_source" >&6; }
19955
if test "$USE_NLS" = "yes"; then
19957
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
19958
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
19959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
19960
$as_echo_n "checking how to link with libintl... " >&6; }
19961
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
19962
$as_echo "$LIBINTL" >&6; }
19964
for element in $INCINTL; do
19966
for x in $CPPFLAGS; do
19968
acl_save_prefix="$prefix"
19969
prefix="$acl_final_prefix"
19970
acl_save_exec_prefix="$exec_prefix"
19971
exec_prefix="$acl_final_exec_prefix"
19973
exec_prefix="$acl_save_exec_prefix"
19974
prefix="$acl_save_prefix"
19976
if test "X$x" = "X$element"; then
19981
if test -z "$haveit"; then
19982
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
19989
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
19992
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
20001
INTLLIBS="$LIBINTL"
20009
GETTEXT_PACKAGE=rhythmbox
20012
cat >>confdefs.h <<_ACEOF
20013
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
20017
if test x"$mkdir_p" = "x"; then
20018
MKINSTALLDIRS="mkinstalldirs"
20022
# Check whether --enable-lirc was given.
20023
if test "${enable_lirc+set}" = set; then :
20024
enableval=$enable_lirc;
20028
if test x"$enable_lirc" != xno; then
20029
ac_fn_c_check_header_mongrel "$LINENO" "lirc/lirc_client.h" "ac_cv_header_lirc_lirc_client_h" "$ac_includes_default"
20030
if test "x$ac_cv_header_lirc_lirc_client_h" = xyes; then :
20037
if test x"$with_lirc" = xyes; then
20038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lirc_init in -llirc_client" >&5
20039
$as_echo_n "checking for lirc_init in -llirc_client... " >&6; }
20040
if ${ac_cv_lib_lirc_client_lirc_init+:} false; then :
20041
$as_echo_n "(cached) " >&6
20043
ac_check_lib_save_LIBS=$LIBS
20044
LIBS="-llirc_client $LIBS"
20045
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20046
/* end confdefs.h. */
20048
/* Override any GCC internal prototype to avoid an error.
20049
Use char because int might match the return type of a GCC
20050
builtin and then its argument prototype would still apply. */
20058
return lirc_init ();
20063
if ac_fn_c_try_link "$LINENO"; then :
20064
ac_cv_lib_lirc_client_lirc_init=yes
20066
ac_cv_lib_lirc_client_lirc_init=no
20068
rm -f core conftest.err conftest.$ac_objext \
20069
conftest$ac_exeext conftest.$ac_ext
20070
LIBS=$ac_check_lib_save_LIBS
20072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lirc_client_lirc_init" >&5
20073
$as_echo "$ac_cv_lib_lirc_client_lirc_init" >&6; }
20074
if test "x$ac_cv_lib_lirc_client_lirc_init" = xyes; then :
20081
if test x"$with_lirc" = xno -a x"$enable_lirc" = xyes; then
20082
as_fn_error $? "lirc explicitly requested but no support found" "$LINENO" 5
20085
if test x"$with_lirc" = xyes; then
20087
WITH_LIRC_FALSE='#'
20096
# Check whether --with-webkit was given.
20097
if test "${with_webkit+set}" = set; then :
20098
withval=$with_webkit;
20103
if test "x$with_webkit" != xno; then
20106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
20107
$as_echo_n "checking for WEBKIT... " >&6; }
20109
if test -n "$WEBKIT_CFLAGS"; then
20110
pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
20111
elif test -n "$PKG_CONFIG"; then
20112
if test -n "$PKG_CONFIG" && \
20113
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0 >= \$WEBKIT_MIN_REQS\""; } >&5
20114
($PKG_CONFIG --exists --print-errors "webkitgtk-3.0 >= $WEBKIT_MIN_REQS") 2>&5
20116
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20117
test $ac_status = 0; }; then
20118
pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>/dev/null`
20119
test "x$?" != "x0" && pkg_failed=yes
20126
if test -n "$WEBKIT_LIBS"; then
20127
pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
20128
elif test -n "$PKG_CONFIG"; then
20129
if test -n "$PKG_CONFIG" && \
20130
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"webkitgtk-3.0 >= \$WEBKIT_MIN_REQS\""; } >&5
20131
($PKG_CONFIG --exists --print-errors "webkitgtk-3.0 >= $WEBKIT_MIN_REQS") 2>&5
20133
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20134
test $ac_status = 0; }; then
20135
pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>/dev/null`
20136
test "x$?" != "x0" && pkg_failed=yes
20146
if test $pkg_failed = yes; then
20147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20148
$as_echo "no" >&6; }
20150
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20151
_pkg_short_errors_supported=yes
20153
_pkg_short_errors_supported=no
20155
if test $_pkg_short_errors_supported = yes; then
20156
WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>&1`
20158
WEBKIT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "webkitgtk-3.0 >= $WEBKIT_MIN_REQS" 2>&1`
20160
# Put the nasty error message in config.log where it belongs
20161
echo "$WEBKIT_PKG_ERRORS" >&5
20164
elif test $pkg_failed = untried; then
20165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20166
$as_echo "no" >&6; }
20169
WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
20170
WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
20171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20172
$as_echo "yes" >&6; }
20175
if test "x$have_webkit" = "xno" -a "x$with_webkit" = "xyes"; then
20176
as_fn_error $? "WebKit support explicitly requested, but WebKit could not be found" "$LINENO" 5
20178
if test "x$have_webkit" = "xyes"; then
20180
$as_echo "#define WITH_WEBKIT 1" >>confdefs.h
20184
if test x"$have_webkit" = xyes; then
20186
WITH_WEBKIT_FALSE='#'
20188
WITH_WEBKIT_TRUE='#'
20194
# Check whether --enable-uninstalled-build was given.
20195
if test "${enable_uninstalled_build+set}" = set; then :
20196
enableval=$enable_uninstalled_build; enable_uninstalled=yes
20199
if test x"$enable_uninstalled" = xyes; then
20201
$as_echo "#define USE_UNINSTALLED_DIRS 1" >>confdefs.h
20204
ROOT_UNINSTALLED_DIR="`pwd`"
20206
cat >>confdefs.h <<_ACEOF
20207
#define SHARE_UNINSTALLED_DIR "`pwd`/$srcdir/data"
20211
cat >>confdefs.h <<_ACEOF
20212
#define SHARE_UNINSTALLED_BUILDDIR "`pwd`/data"
20216
cat >>confdefs.h <<_ACEOF
20217
#define METADATA_UNINSTALLED_DIR "`pwd`/metadata"
20224
# Check whether --enable-more-warnings was given.
20225
if test "${enable_more_warnings+set}" = set; then :
20226
enableval=$enable_more_warnings; set_more_warnings="$enableval"
20229
if test -d "$srcdir/.svn" || test -d "$srcdir/{arch}" || test -d "$srcdir/CVS" || test -d "$srcdir/_darcs" || test -d "$srcdir/.git"; then
20230
set_more_warnings=yes
20232
set_more_warnings=no
20237
RHYTHMBOX_CFLAGS_NOWARN=$RHYTHMBOX_CFLAGS
20239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for more warnings" >&5
20240
$as_echo_n "checking for more warnings... " >&6; }
20241
if test "$GCC" = "yes" -a "$set_more_warnings" != "no"; then
20242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20243
$as_echo "yes" >&6; }
20245
-Wcomment -Wformat -Wnonnull -Wimplicit-int -Wimplicit \
20246
-Wmain -Wmissing-braces -Wparentheses -Wsequence-point \
20247
-Wreturn-type -Wswitch -Wtrigraphs -Wunused-function \
20248
-Wunused-label -Wunused-value \
20249
-Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes \
20250
-Wnested-externs -Wpointer-arith \
20251
-Wcast-align -Wformat-security -Wall \
20252
-Werror -Wno-deprecated-declarations -std=gnu89"
20254
if echo "$CFLAGS" | grep -q -- '-O' && echo "$CFLAGS" | grep -q -v -- '-O0'; then
20255
WARN_CFLAGS="-Wuninitialized $WARN_CFLAGS"
20258
for option in $WARN_CFLAGS; do
20259
SAVE_CFLAGS="$CFLAGS"
20260
CFLAGS="$CFLAGS $option"
20261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
20262
$as_echo_n "checking whether gcc understands $option... " >&6; }
20263
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264
/* end confdefs.h. */
20274
if ac_fn_c_try_compile "$LINENO"; then :
20279
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20280
if test x$has_option = xyes; then
20281
RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $option"
20283
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
20284
$as_echo "$has_option" >&6; }
20285
CFLAGS="$SAVE_CFLAGS"
20292
SAVE_CFLAGS="$CFLAGS"
20293
CFLAGS="$CFLAGS -Wno-error"
20294
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20295
/* end confdefs.h. */
20305
if ac_fn_c_try_compile "$LINENO"; then :
20306
WNOERROR_CFLAGS="-Wno-error"
20310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312
CFLAGS="$SAVE_CFLAGS"
20317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20318
$as_echo "no" >&6; }
20322
$as_echo "#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_34" >>confdefs.h
20325
$as_echo "#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_34" >>confdefs.h
20328
$as_echo "#define GDK_VERSION_MIN_REQUIRED GDK_VERSION_3_6" >>confdefs.h
20331
$as_echo "#define GDK_VERSION_MAX_ALLOWED GDK_VERSION_3_6" >>confdefs.h
20334
$as_echo "#define CLUTTER_VERSION_MIN_REQUIRED CLUTTER_VERSION_1_8" >>confdefs.h
20337
$as_echo "#define CLUTTER_VERSION_MAX_ALLOWED CLUTTER_VERSION_1_8" >>confdefs.h
20340
FLAGS="-fno-strict-aliasing"
20341
save_CFLAGS="$CFLAGS"
20342
CFLAGS="$CFLAGS $FLAGS"
20343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands $FLAGS" >&5
20344
$as_echo_n "checking whether $CC understands $FLAGS... " >&6; }
20345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20346
/* end confdefs.h. */
20356
if ac_fn_c_try_compile "$LINENO"; then :
20357
compiler_has_option=yes
20359
compiler_has_option=no
20361
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20362
CFLAGS="$save_CFLAGS"
20363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $compiler_has_option" >&5
20364
$as_echo "$compiler_has_option" >&6; }
20365
if test $compiler_has_option = yes; then
20366
NO_STRICT_ALIASING_CFLAGS="$FLAGS"
20373
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
20374
set dummy gtkdoc-check; ac_word=$2
20375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20376
$as_echo_n "checking for $ac_word... " >&6; }
20377
if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
20378
$as_echo_n "(cached) " >&6
20380
if test -n "$GTKDOC_CHECK"; then
20381
ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
20383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20384
for as_dir in $PATH
20387
test -z "$as_dir" && as_dir=.
20388
for ac_exec_ext in '' $ac_executable_extensions; do
20389
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20390
ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
20391
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20400
GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
20401
if test -n "$GTKDOC_CHECK"; then
20402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
20403
$as_echo "$GTKDOC_CHECK" >&6; }
20405
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20406
$as_echo "no" >&6; }
20410
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
20411
set dummy gtkdoc-check; ac_word=$2
20412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20413
$as_echo_n "checking for $ac_word... " >&6; }
20414
if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
20415
$as_echo_n "(cached) " >&6
20417
case $GTKDOC_CHECK_PATH in
20419
ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
20422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20423
for as_dir in $PATH
20426
test -z "$as_dir" && as_dir=.
20427
for ac_exec_ext in '' $ac_executable_extensions; do
20428
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20429
ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
20430
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20440
GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
20441
if test -n "$GTKDOC_CHECK_PATH"; then
20442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
20443
$as_echo "$GTKDOC_CHECK_PATH" >&6; }
20445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20446
$as_echo "no" >&6; }
20450
for ac_prog in gtkdoc-rebase
20452
# Extract the first word of "$ac_prog", so it can be a program name with args.
20453
set dummy $ac_prog; ac_word=$2
20454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20455
$as_echo_n "checking for $ac_word... " >&6; }
20456
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
20457
$as_echo_n "(cached) " >&6
20459
case $GTKDOC_REBASE in
20461
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
20464
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20465
for as_dir in $PATH
20468
test -z "$as_dir" && as_dir=.
20469
for ac_exec_ext in '' $ac_executable_extensions; do
20470
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20471
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
20472
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20482
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
20483
if test -n "$GTKDOC_REBASE"; then
20484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
20485
$as_echo "$GTKDOC_REBASE" >&6; }
20487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20488
$as_echo "no" >&6; }
20492
test -n "$GTKDOC_REBASE" && break
20494
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
20496
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
20497
set dummy gtkdoc-mkpdf; ac_word=$2
20498
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20499
$as_echo_n "checking for $ac_word... " >&6; }
20500
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
20501
$as_echo_n "(cached) " >&6
20503
case $GTKDOC_MKPDF in
20505
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
20508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20509
for as_dir in $PATH
20512
test -z "$as_dir" && as_dir=.
20513
for ac_exec_ext in '' $ac_executable_extensions; do
20514
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20515
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
20516
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20526
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
20527
if test -n "$GTKDOC_MKPDF"; then
20528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
20529
$as_echo "$GTKDOC_MKPDF" >&6; }
20531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20532
$as_echo "no" >&6; }
20538
# Check whether --with-html-dir was given.
20539
if test "${with_html_dir+set}" = set; then :
20540
withval=$with_html_dir;
20542
with_html_dir='${datadir}/gtk-doc/html'
20545
HTML_DIR="$with_html_dir"
20548
# Check whether --enable-gtk-doc was given.
20549
if test "${enable_gtk_doc+set}" = set; then :
20550
enableval=$enable_gtk_doc;
20556
if test x$enable_gtk_doc = xyes; then
20557
if test -n "$PKG_CONFIG" && \
20558
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.4\""; } >&5
20559
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.4") 2>&5
20561
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20562
test $ac_status = 0; }; then
20565
as_fn_error $? "You need to have gtk-doc >= 1.4 installed to build $PACKAGE_NAME" "$LINENO" 5
20567
if test "x$PACKAGE_NAME" != "xglib"; then
20570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
20571
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
20573
if test -n "$GTKDOC_DEPS_CFLAGS"; then
20574
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
20575
elif test -n "$PKG_CONFIG"; then
20576
if test -n "$PKG_CONFIG" && \
20577
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
20578
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
20580
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20581
test $ac_status = 0; }; then
20582
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
20583
test "x$?" != "x0" && pkg_failed=yes
20590
if test -n "$GTKDOC_DEPS_LIBS"; then
20591
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
20592
elif test -n "$PKG_CONFIG"; then
20593
if test -n "$PKG_CONFIG" && \
20594
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
20595
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
20597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
20598
test $ac_status = 0; }; then
20599
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
20600
test "x$?" != "x0" && pkg_failed=yes
20610
if test $pkg_failed = yes; then
20611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20612
$as_echo "no" >&6; }
20614
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
20615
_pkg_short_errors_supported=yes
20617
_pkg_short_errors_supported=no
20619
if test $_pkg_short_errors_supported = yes; then
20620
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
20622
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
20624
# Put the nasty error message in config.log where it belongs
20625
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
20628
elif test $pkg_failed = untried; then
20629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20630
$as_echo "no" >&6; }
20633
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
20634
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
20635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20636
$as_echo "yes" >&6; }
20642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
20643
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
20644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
20645
$as_echo "$enable_gtk_doc" >&6; }
20647
# Check whether --enable-gtk-doc-html was given.
20648
if test "${enable_gtk_doc_html+set}" = set; then :
20649
enableval=$enable_gtk_doc_html;
20651
enable_gtk_doc_html=yes
20654
# Check whether --enable-gtk-doc-pdf was given.
20655
if test "${enable_gtk_doc_pdf+set}" = set; then :
20656
enableval=$enable_gtk_doc_pdf;
20658
enable_gtk_doc_pdf=no
20662
if test -z "$GTKDOC_MKPDF"; then
20663
enable_gtk_doc_pdf=no
20666
if test -z "$AM_DEFAULT_VERBOSITY"; then
20667
AM_DEFAULT_VERBOSITY=1
20671
if test x$enable_gtk_doc = xyes; then
20672
ENABLE_GTK_DOC_TRUE=
20673
ENABLE_GTK_DOC_FALSE='#'
20675
ENABLE_GTK_DOC_TRUE='#'
20676
ENABLE_GTK_DOC_FALSE=
20679
if test x$enable_gtk_doc_html = xyes; then
20680
GTK_DOC_BUILD_HTML_TRUE=
20681
GTK_DOC_BUILD_HTML_FALSE='#'
20683
GTK_DOC_BUILD_HTML_TRUE='#'
20684
GTK_DOC_BUILD_HTML_FALSE=
20687
if test x$enable_gtk_doc_pdf = xyes; then
20688
GTK_DOC_BUILD_PDF_TRUE=
20689
GTK_DOC_BUILD_PDF_FALSE='#'
20691
GTK_DOC_BUILD_PDF_TRUE='#'
20692
GTK_DOC_BUILD_PDF_FALSE=
20695
if test -n "$LIBTOOL"; then
20696
GTK_DOC_USE_LIBTOOL_TRUE=
20697
GTK_DOC_USE_LIBTOOL_FALSE='#'
20699
GTK_DOC_USE_LIBTOOL_TRUE='#'
20700
GTK_DOC_USE_LIBTOOL_FALSE=
20703
if test -n "$GTKDOC_REBASE"; then
20704
GTK_DOC_USE_REBASE_TRUE=
20705
GTK_DOC_USE_REBASE_FALSE='#'
20707
GTK_DOC_USE_REBASE_TRUE='#'
20708
GTK_DOC_USE_REBASE_FALSE=
20719
# Check whether --with-help-dir was given.
20720
if test "${with_help_dir+set}" = set; then :
20721
withval=$with_help_dir;
20723
with_help_dir='${datadir}/help'
20726
HELP_DIR="$with_help_dir"
20730
# Extract the first word of "itstool", so it can be a program name with args.
20731
set dummy itstool; ac_word=$2
20732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20733
$as_echo_n "checking for $ac_word... " >&6; }
20734
if ${ac_cv_prog_ITSTOOL+:} false; then :
20735
$as_echo_n "(cached) " >&6
20737
if test -n "$ITSTOOL"; then
20738
ac_cv_prog_ITSTOOL="$ITSTOOL" # Let the user override the test.
20740
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20741
for as_dir in $PATH
20744
test -z "$as_dir" && as_dir=.
20745
for ac_exec_ext in '' $ac_executable_extensions; do
20746
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20747
ac_cv_prog_ITSTOOL="itstool"
20748
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20757
ITSTOOL=$ac_cv_prog_ITSTOOL
20758
if test -n "$ITSTOOL"; then
20759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ITSTOOL" >&5
20760
$as_echo "$ITSTOOL" >&6; }
20762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20763
$as_echo "no" >&6; }
20767
if test x"$ITSTOOL" = x; then
20768
as_fn_error $? "itstool not found" "$LINENO" 5
20772
# Extract the first word of "xmllint", so it can be a program name with args.
20773
set dummy xmllint; ac_word=$2
20774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20775
$as_echo_n "checking for $ac_word... " >&6; }
20776
if ${ac_cv_prog_XMLLINT+:} false; then :
20777
$as_echo_n "(cached) " >&6
20779
if test -n "$XMLLINT"; then
20780
ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
20782
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20783
for as_dir in $PATH
20786
test -z "$as_dir" && as_dir=.
20787
for ac_exec_ext in '' $ac_executable_extensions; do
20788
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20789
ac_cv_prog_XMLLINT="xmllint"
20790
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20799
XMLLINT=$ac_cv_prog_XMLLINT
20800
if test -n "$XMLLINT"; then
20801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
20802
$as_echo "$XMLLINT" >&6; }
20804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20805
$as_echo "no" >&6; }
20809
if test x"$XMLLINT" = x; then
20810
as_fn_error $? "xmllint not found" "$LINENO" 5
20821
_HELP_LINGUAS = $(if $(filter environment,$(origin LINGUAS)),$(filter $(LINGUAS),$(HELP_LINGUAS)),$(HELP_LINGUAS))
20822
_HELP_POTFILE = $(if $(HELP_POT),$(HELP_POT),$(if $(HELP_ID),$(HELP_ID).pot))
20823
_HELP_POFILES = $(if $(HELP_ID),$(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).po))
20824
_HELP_MOFILES = $(patsubst %.po,%.mo,$(_HELP_POFILES))
20825
_HELP_C_FILES = $(foreach f,$(HELP_FILES),C/$(f))
20826
_HELP_C_EXTRA = $(foreach f,$(HELP_EXTRA),C/$(f))
20827
_HELP_C_MEDIA = $(foreach f,$(HELP_MEDIA),C/$(f))
20828
_HELP_LC_FILES = $(foreach lc,$(_HELP_LINGUAS),$(foreach f,$(HELP_FILES),$(lc)/$(f)))
20829
_HELP_LC_STAMPS = $(foreach lc,$(_HELP_LINGUAS),$(lc)/$(lc).stamp)
20831
_HELP_DEFAULT_V = $(if $(AM_DEFAULT_VERBOSITY),$(AM_DEFAULT_VERBOSITY),1)
20832
_HELP_V = $(if $(V),$(V),$(_HELP_DEFAULT_V))
20833
_HELP_LC_VERBOSE = $(_HELP_LC_VERBOSE_$(_HELP_V))
20834
_HELP_LC_VERBOSE_ = $(_HELP_LC_VERBOSE_$(_HELP_DEFAULT_V))
20835
_HELP_LC_VERBOSE_0 = @echo " GEN "$(dir $@);
20837
all: $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA) $(_HELP_LC_FILES) $(_HELP_POFILES)
20840
pot: $(_HELP_POTFILE)
20841
$(_HELP_POTFILE): $(_HELP_C_FILES) $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
20842
$(AM_V_GEN)if test -d "C"; then d=; else d="$(srcdir)/"; fi; \
20843
$(ITSTOOL) -o "$@" $(foreach f,$(_HELP_C_FILES),"$${d}$(f)")
20846
repo: $(_HELP_POTFILE)
20847
$(AM_V_at)for po in $(_HELP_POFILES); do \
20848
if test "x$(_HELP_V)" = "x0"; then echo " GEN $${po}"; fi; \
20849
msgmerge -q -o "$${po}" "$${po}" "$(_HELP_POTFILE)"; \
20853
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
20854
$(AM_V_at)if test ! -f "$@" -a -f "$(srcdir)/$@"; then cp "$(srcdir)/$@" "$@"; fi
20855
$(AM_V_GEN)if ! test -f "$@"; then \
20856
(cd "$(dir $@)" && \
20857
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
20858
mv "$(notdir $@).tmp" "$(notdir $@)"); \
20860
(cd "$(dir $@)" && \
20861
$(ITSTOOL) -o "$(notdir $@).tmp" $(_HELP_C_FILES) && \
20862
msgmerge -o "$(notdir $@)" "$(notdir $@)" "$(notdir $@).tmp" && \
20863
rm "$(notdir $@).tmp"); \
20866
$(_HELP_MOFILES): %.mo: %.po
20867
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
20868
$(AM_V_GEN)msgfmt -o "$@" "$<"
20870
$(_HELP_LC_FILES): $(_HELP_LINGUAS)
20871
$(_HELP_LINGUAS): $(_HELP_LC_STAMPS)
20872
$(_HELP_LC_STAMPS): %.stamp: %.mo
20873
$(_HELP_LC_STAMPS): $(_HELP_C_FILES) $(_HELP_C_EXTRA)
20874
$(AM_V_at)if ! test -d "$(dir $@)"; then mkdir "$(dir $@)"; fi
20875
$(_HELP_LC_VERBOSE)if test -d "C"; then d="../"; else d="$(abs_srcdir)/"; fi; \
20876
mo="$(dir $@)$(patsubst %/$(notdir $@),%,$@).mo"; \
20877
if test -f "$${mo}"; then mo="../$${mo}"; else mo="$(abs_srcdir)/$${mo}"; fi; \
20878
(cd "$(dir $@)" && $(ITSTOOL) -m "$${mo}" $(foreach f,$(_HELP_C_FILES),$${d}/$(f))) && \
20882
mostlyclean-am: $(if $(HELP_ID),clean-help)
20884
rm -f $(_HELP_LC_FILES) $(_HELP_LC_STAMPS) $(_HELP_MOFILES)
20887
EXTRA_DIST += $(_HELP_C_EXTRA) $(_HELP_C_MEDIA)
20888
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).stamp)
20889
EXTRA_DIST += $(foreach lc,$(HELP_LINGUAS),$(lc)/$(lc).po)
20890
EXTRA_DIST += $(foreach f,$(HELP_MEDIA),$(foreach lc,$(HELP_LINGUAS),$(wildcard $(lc)/$(f))))
20892
distdir: distdir-help-files
20893
distdir-help-files:
20894
@for lc in C $(HELP_LINGUAS); do \
20895
$(MKDIR_P) "$(distdir)/$$lc"; \
20896
for file in $(HELP_FILES); do \
20897
if test -f "$$lc/$$file"; then d=./; else d=$(srcdir)/; fi; \
20898
cp -p "$$d$$lc/$$file" "$(distdir)/$$lc/" || exit 1; \
20905
for lc in C $(_HELP_LINGUAS); do \
20906
if test -d "$$lc"; \
20911
xmlpath="$$lc:$(srcdir)/$$lc"; \
20913
for page in $(HELP_FILES); do \
20914
echo "$(XMLLINT) --noout --noent --path $$xmlpath --xinclude $$d$$lc/$$page"; \
20915
$(XMLLINT) --noout --noent --path "$$xmlpath" --xinclude "$$d$$lc/$$page"; \
20920
.PHONY: install-help
20921
install-data-am: $(if $(HELP_ID),install-help)
20923
@for lc in C $(_HELP_LINGUAS); do \
20924
$(mkinstalldirs) "$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)" || exit 1; \
20926
@for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
20927
if test -f "$$lc/$$f"; then d=; else d="$(srcdir)/"; fi; \
20928
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
20929
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
20930
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir`basename $$f`"; \
20931
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir`basename $$f`" || exit 1; \
20933
@for f in $(_HELP_C_EXTRA); do \
20934
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
20935
if test -f "$$f"; then d=; else d="$(srcdir)/"; fi; \
20936
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
20937
if ! test -d "$$helpdir"; then $(mkinstalldirs) "$$helpdir"; fi; \
20938
echo "$(INSTALL_DATA) $$d$$f $$helpdir`basename $$f`"; \
20939
$(INSTALL_DATA) "$$d$$f" "$$helpdir`basename $$f`" || exit 1; \
20941
@for f in $(HELP_MEDIA); do \
20942
for lc in C $(_HELP_LINGUAS); do \
20943
if test -f "$$lc$$f"; then d=; else d="$(srcdir)/"; fi; \
20944
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
20945
mdir=`dirname "$$f"`; \
20946
if test "x$mdir" = "x."; then mdir=""; fi; \
20947
if ! test -d "$$helpdir$$mdir"; then $(mkinstalldirs) "$$helpdir$$mdir"; fi; \
20948
if test -f "$$d$$lc/$$f"; then \
20949
echo "$(INSTALL_DATA) $$d$$lc/$$f $$helpdir$$f"; \
20950
$(INSTALL_DATA) "$$d$$lc/$$f" "$$helpdir$$f" || exit 1; \
20951
elif test "x$$lc" != "xC"; then \
20952
echo "$(LN_S) -f $(HELP_DIR)/C/$(HELP_ID)/$$f $$helpdir$$f"; \
20953
$(LN_S) -f "$(HELP_DIR)/C/$(HELP_ID)/$$f" "$$helpdir$$f" || exit 1; \
20958
.PHONY: uninstall-help
20959
uninstall-am: $(if $(HELP_ID),uninstall-help)
20961
for lc in C $(_HELP_LINGUAS); do for f in $(HELP_FILES); do \
20962
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
20963
echo "rm -f $$helpdir`basename $$f`"; \
20964
rm -f "$$helpdir`basename $$f`"; \
20966
@for f in $(_HELP_C_EXTRA); do \
20967
lc=`dirname "$$f"`; lc=`basename "$$lc"`; \
20968
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
20969
echo "rm -f $$helpdir`basename $$f`"; \
20970
rm -f "$$helpdir`basename $$f`"; \
20972
@for f in $(HELP_MEDIA); do \
20973
for lc in C $(_HELP_LINGUAS); do \
20974
helpdir="$(DESTDIR)$(HELP_DIR)/$$lc/$(HELP_ID)/"; \
20975
echo "rm -f $$helpdir$$f"; \
20976
rm -f "$$helpdir$$f"; \
20985
PLUGIN_LIBTOOL_FLAGS="-module -avoid-version"
20988
PLUGINDIR='${libdir}/rhythmbox/plugins'
20989
PLUGINDATADIR='${datadir}/rhythmbox/plugins'
20990
SAMPLEPLUGINDIR='${libdir}/rhythmbox/sample-plugins'
21001
if test -n "$PYTHON"; then
21002
# If the user set $PYTHON, use it and don't search something else.
21003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.2.3" >&5
21004
$as_echo_n "checking whether $PYTHON version is >= 3.2.3... " >&6; }
21006
# split strings by '.' and convert to numeric. Append some zeros
21007
# because we need at least 4 digits for the hex conversion.
21008
# map returns an iterator in Python 3.0 and a list in 2.x
21009
minver = list(map(int, '3.2.3'.split('.'))) + [0, 0, 0]
21011
# xrange is not present in Python 3.0 and range returns an iterator
21012
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
21013
sys.exit(sys.hexversion < minverhex)"
21014
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
21015
($PYTHON -c "$prog") >&5 2>&5
21017
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018
(exit $ac_status); }; then :
21019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21020
$as_echo "yes" >&6; }
21022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21023
$as_echo "no" >&6; }
21024
as_fn_error $? "Python interpreter is too old" "$LINENO" 5
21026
am_display_PYTHON=$PYTHON
21028
# Otherwise, try each interpreter until we find one that satisfies
21030
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.2.3" >&5
21031
$as_echo_n "checking for a Python interpreter with version >= 3.2.3... " >&6; }
21032
if ${am_cv_pathless_PYTHON+:} false; then :
21033
$as_echo_n "(cached) " >&6
21036
for am_cv_pathless_PYTHON in python python2 python3 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
21037
test "$am_cv_pathless_PYTHON" = none && break
21039
# split strings by '.' and convert to numeric. Append some zeros
21040
# because we need at least 4 digits for the hex conversion.
21041
# map returns an iterator in Python 3.0 and a list in 2.x
21042
minver = list(map(int, '3.2.3'.split('.'))) + [0, 0, 0]
21044
# xrange is not present in Python 3.0 and range returns an iterator
21045
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
21046
sys.exit(sys.hexversion < minverhex)"
21047
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
21048
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
21050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21051
(exit $ac_status); }; then :
21056
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
21057
$as_echo "$am_cv_pathless_PYTHON" >&6; }
21058
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
21059
if test "$am_cv_pathless_PYTHON" = none; then
21062
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
21063
set dummy $am_cv_pathless_PYTHON; ac_word=$2
21064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21065
$as_echo_n "checking for $ac_word... " >&6; }
21066
if ${ac_cv_path_PYTHON+:} false; then :
21067
$as_echo_n "(cached) " >&6
21071
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21074
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21075
for as_dir in $PATH
21078
test -z "$as_dir" && as_dir=.
21079
for ac_exec_ext in '' $ac_executable_extensions; do
21080
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21081
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21082
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21092
PYTHON=$ac_cv_path_PYTHON
21093
if test -n "$PYTHON"; then
21094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
21095
$as_echo "$PYTHON" >&6; }
21097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21098
$as_echo "no" >&6; }
21103
am_display_PYTHON=$am_cv_pathless_PYTHON
21107
if test "$PYTHON" = :; then
21108
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
21112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
21113
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
21114
if ${am_cv_python_version+:} false; then :
21115
$as_echo_n "(cached) " >&6
21117
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
21119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
21120
$as_echo "$am_cv_python_version" >&6; }
21121
PYTHON_VERSION=$am_cv_python_version
21125
PYTHON_PREFIX='${prefix}'
21127
PYTHON_EXEC_PREFIX='${exec_prefix}'
21131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
21132
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
21133
if ${am_cv_python_platform+:} false; then :
21134
$as_echo_n "(cached) " >&6
21136
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
21138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
21139
$as_echo "$am_cv_python_platform" >&6; }
21140
PYTHON_PLATFORM=$am_cv_python_platform
21143
# Just factor out some code duplication.
21144
am_python_setup_sysconfig="\
21146
# Prefer sysconfig over distutils.sysconfig, for better compatibility
21147
# with python 3.x. See automake bug#10227.
21150
except ImportError:
21151
can_use_sysconfig = 0
21153
can_use_sysconfig = 1
21154
# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
21155
# <https://github.com/pypa/virtualenv/issues/118>
21157
from platform import python_implementation
21158
if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
21159
can_use_sysconfig = 0
21160
except ImportError:
21164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
21165
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
21166
if ${am_cv_python_pythondir+:} false; then :
21167
$as_echo_n "(cached) " >&6
21169
if test "x$prefix" = xNONE
21171
am_py_prefix=$ac_default_prefix
21173
am_py_prefix=$prefix
21175
am_cv_python_pythondir=`$PYTHON -c "
21176
$am_python_setup_sysconfig
21177
if can_use_sysconfig:
21178
sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
21180
from distutils import sysconfig
21181
sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
21182
sys.stdout.write(sitedir)"`
21183
case $am_cv_python_pythondir in
21185
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
21186
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
21189
case $am_py_prefix in
21192
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
21199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
21200
$as_echo "$am_cv_python_pythondir" >&6; }
21201
pythondir=$am_cv_python_pythondir
21205
pkgpythondir=\${pythondir}/$PACKAGE
21208
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
21209
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
21210
if ${am_cv_python_pyexecdir+:} false; then :
21211
$as_echo_n "(cached) " >&6
21213
if test "x$exec_prefix" = xNONE
21215
am_py_exec_prefix=$am_py_prefix
21217
am_py_exec_prefix=$exec_prefix
21219
am_cv_python_pyexecdir=`$PYTHON -c "
21220
$am_python_setup_sysconfig
21221
if can_use_sysconfig:
21222
sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
21224
from distutils import sysconfig
21225
sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
21226
sys.stdout.write(sitedir)"`
21227
case $am_cv_python_pyexecdir in
21228
$am_py_exec_prefix*)
21229
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
21230
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
21233
case $am_py_exec_prefix in
21236
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
21243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
21244
$as_echo "$am_cv_python_pyexecdir" >&6; }
21245
pyexecdir=$am_cv_python_pyexecdir
21249
pkgpyexecdir=\${pyexecdir}/$PACKAGE
21258
# Check whether --enable-python was given.
21259
if test "${enable_python+set}" = set; then :
21260
enableval=$enable_python; enable_python=$enableval
21262
enable_python="auto"
21266
if test "x$enable_python" = "xauto"; then
21267
if test -n "$PKG_CONFIG" && \
21268
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
21269
($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
21271
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21272
test $ac_status = 0; }; then
21279
if test "x$enable_python" = "xyes"; then
21282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYTHON" >&5
21283
$as_echo_n "checking for PYTHON... " >&6; }
21285
if test -n "$PYTHON_CFLAGS"; then
21286
pkg_cv_PYTHON_CFLAGS="$PYTHON_CFLAGS"
21287
elif test -n "$PKG_CONFIG"; then
21288
if test -n "$PKG_CONFIG" && \
21289
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
21290
($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
21292
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21293
test $ac_status = 0; }; then
21294
pkg_cv_PYTHON_CFLAGS=`$PKG_CONFIG --cflags "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
21295
test "x$?" != "x0" && pkg_failed=yes
21302
if test -n "$PYTHON_LIBS"; then
21303
pkg_cv_PYTHON_LIBS="$PYTHON_LIBS"
21304
elif test -n "$PKG_CONFIG"; then
21305
if test -n "$PKG_CONFIG" && \
21306
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pygobject-3.0 >= \$PYGOBJECT_REQUIRED\""; } >&5
21307
($PKG_CONFIG --exists --print-errors "pygobject-3.0 >= $PYGOBJECT_REQUIRED") 2>&5
21309
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21310
test $ac_status = 0; }; then
21311
pkg_cv_PYTHON_LIBS=`$PKG_CONFIG --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>/dev/null`
21312
test "x$?" != "x0" && pkg_failed=yes
21322
if test $pkg_failed = yes; then
21323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21324
$as_echo "no" >&6; }
21326
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21327
_pkg_short_errors_supported=yes
21329
_pkg_short_errors_supported=no
21331
if test $_pkg_short_errors_supported = yes; then
21332
PYTHON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
21334
PYTHON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pygobject-3.0 >= $PYGOBJECT_REQUIRED" 2>&1`
21336
# Put the nasty error message in config.log where it belongs
21337
echo "$PYTHON_PKG_ERRORS" >&5
21339
as_fn_error $? "Package requirements (pygobject-3.0 >= $PYGOBJECT_REQUIRED) were not met:
21343
Consider adjusting the PKG_CONFIG_PATH environment variable if you
21344
installed software in a non-standard prefix.
21346
Alternatively, you may set the environment variables PYTHON_CFLAGS
21347
and PYTHON_LIBS to avoid the need to call pkg-config.
21348
See the pkg-config man page for more details." "$LINENO" 5
21349
elif test $pkg_failed = untried; then
21350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21351
$as_echo "no" >&6; }
21352
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
21353
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
21354
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
21355
is in your PATH or set the PKG_CONFIG environment variable to the full
21356
path to pkg-config.
21358
Alternatively, you may set the environment variables PYTHON_CFLAGS
21359
and PYTHON_LIBS to avoid the need to call pkg-config.
21360
See the pkg-config man page for more details.
21362
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
21363
See \`config.log' for more details" "$LINENO" 5; }
21365
PYTHON_CFLAGS=$pkg_cv_PYTHON_CFLAGS
21366
PYTHON_LIBS=$pkg_cv_PYTHON_LIBS
21367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21368
$as_echo "yes" >&6; }
21372
pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
21376
if test x"$enable_python" = "xyes"; then
21377
ENABLE_PYTHON_TRUE=
21378
ENABLE_PYTHON_FALSE='#'
21380
ENABLE_PYTHON_TRUE='#'
21381
ENABLE_PYTHON_FALSE=
21385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Vala plugin support is requested" >&5
21386
$as_echo_n "checking whether Vala plugin support is requested... " >&6; }
21387
# Check whether --enable-vala was given.
21388
if test "${enable_vala+set}" = set; then :
21389
enableval=$enable_vala; enable_vala=$enableval have_vala=$enableval
21391
enable_vala=autodetect have_vala=yes
21394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vala" >&5
21395
$as_echo "$enable_vala" >&6; }
21397
if test "x$enable_vala" = "xyes"; then
21398
# Extract the first word of "valac", so it can be a program name with args.
21399
set dummy valac; ac_word=$2
21400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21401
$as_echo_n "checking for $ac_word... " >&6; }
21402
if ${ac_cv_path_VALAC+:} false; then :
21403
$as_echo_n "(cached) " >&6
21407
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
21410
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21411
for as_dir in $PATH
21414
test -z "$as_dir" && as_dir=.
21415
for ac_exec_ext in '' $ac_executable_extensions; do
21416
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21417
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
21418
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
21425
test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
21429
VALAC=$ac_cv_path_VALAC
21430
if test -n "$VALAC"; then
21431
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
21432
$as_echo "$VALAC" >&6; }
21434
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21435
$as_echo "no" >&6; }
21439
if test "$VALAC" != valac && test -n "$VALA_REQS"; then :
21440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version $VALA_REQS" >&5
21441
$as_echo_n "checking whether $VALAC is at least version $VALA_REQS... " >&6; }
21442
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
21443
as_arg_v1=$VALA_REQS
21444
as_arg_v2="$am__vala_version"
21445
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
21448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21449
$as_echo "yes" >&6; } ;; #(
21451
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21452
$as_echo "yes" >&6; } ;; #(
21454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21455
$as_echo "no" >&6; }
21461
if test "$VALAC" = valac; then
21462
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
21463
$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
21464
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
21465
$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
21469
if test "x$VALAC" != "x"; then
21470
VAPIDIR=$datadir/vala/vapi
21477
elif test "x$enable_vala" = "xyes"; then
21478
as_fn_error $? "Vala plugin support explicitly requested, but not found" "$LINENO" 5
21481
if test "x$with_vala" = "xyes"; then
21483
ENABLE_VALA_FALSE='#'
21485
ENABLE_VALA_TRUE='#'
21490
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether FM radio support is requested" >&5
21491
$as_echo_n "checking whether FM radio support is requested... " >&6; }
21492
# Check whether --enable-fm-radio was given.
21493
if test "${enable_fm_radio+set}" = set; then :
21494
enableval=$enable_fm_radio;
21496
enable_fm_radio=yes
21499
if test "x$enable_fm_radio" != xno; then
21500
ac_fn_c_check_header_mongrel "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "$ac_includes_default"
21501
if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
21509
if test "x$enable_fm_radio" != xno; then
21510
ENABLE_FM_RADIO_TRUE=
21511
ENABLE_FM_RADIO_FALSE='#'
21513
ENABLE_FM_RADIO_TRUE='#'
21514
ENABLE_FM_RADIO_FALSE=
21521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CHECK" >&5
21522
$as_echo_n "checking for CHECK... " >&6; }
21524
if test -n "$CHECK_CFLAGS"; then
21525
pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
21526
elif test -n "$PKG_CONFIG"; then
21527
if test -n "$PKG_CONFIG" && \
21528
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
21529
($PKG_CONFIG --exists --print-errors "check") 2>&5
21531
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21532
test $ac_status = 0; }; then
21533
pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check" 2>/dev/null`
21534
test "x$?" != "x0" && pkg_failed=yes
21541
if test -n "$CHECK_LIBS"; then
21542
pkg_cv_CHECK_LIBS="$CHECK_LIBS"
21543
elif test -n "$PKG_CONFIG"; then
21544
if test -n "$PKG_CONFIG" && \
21545
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check\""; } >&5
21546
($PKG_CONFIG --exists --print-errors "check") 2>&5
21548
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21549
test $ac_status = 0; }; then
21550
pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check" 2>/dev/null`
21551
test "x$?" != "x0" && pkg_failed=yes
21561
if test $pkg_failed = yes; then
21562
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21563
$as_echo "no" >&6; }
21565
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21566
_pkg_short_errors_supported=yes
21568
_pkg_short_errors_supported=no
21570
if test $_pkg_short_errors_supported = yes; then
21571
CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check" 2>&1`
21573
CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check" 2>&1`
21575
# Put the nasty error message in config.log where it belongs
21576
echo "$CHECK_PKG_ERRORS" >&5
21579
elif test $pkg_failed = untried; then
21580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21581
$as_echo "no" >&6; }
21584
CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
21585
CHECK_LIBS=$pkg_cv_CHECK_LIBS
21586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21587
$as_echo "yes" >&6; }
21590
if test "x$have_check" = "xyes"; then
21592
HAVE_CHECK_FALSE='#'
21594
HAVE_CHECK_TRUE='#'
21600
# Check whether --enable-browser-plugin was given.
21601
if test "${enable_browser_plugin+set}" = set; then :
21602
enableval=$enable_browser_plugin;
21604
enable_browser_plugin=yes
21608
MOZILLA_PLUGINDIR=${MOZILLA_PLUGINDIR:-'${libdir}/mozilla/plugins'}
21611
if test x$enable_browser_plugin = xyes; then
21612
ENABLE_BROWSER_PLUGIN_TRUE=
21613
ENABLE_BROWSER_PLUGIN_FALSE='#'
21615
ENABLE_BROWSER_PLUGIN_TRUE='#'
21616
ENABLE_BROWSER_PLUGIN_FALSE=
21619
if test x$enable_browser_plugin = xyes; then
21620
ITMS_HANDLER="x-scheme-handler/itms;"
21624
# Check whether --enable-daap was given.
21625
if test "${enable_daap+set}" = set; then :
21626
enableval=$enable_daap;
21631
if test "x$enable_daap" != "xno"; then
21634
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DMAPSHARING" >&5
21635
$as_echo_n "checking for DMAPSHARING... " >&6; }
21637
if test -n "$DMAPSHARING_CFLAGS"; then
21638
pkg_cv_DMAPSHARING_CFLAGS="$DMAPSHARING_CFLAGS"
21639
elif test -n "$PKG_CONFIG"; then
21640
if test -n "$PKG_CONFIG" && \
21641
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdmapsharing-3.0 >= 2.9.19\""; } >&5
21642
($PKG_CONFIG --exists --print-errors "libdmapsharing-3.0 >= 2.9.19") 2>&5
21644
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21645
test $ac_status = 0; }; then
21646
pkg_cv_DMAPSHARING_CFLAGS=`$PKG_CONFIG --cflags "libdmapsharing-3.0 >= 2.9.19" 2>/dev/null`
21647
test "x$?" != "x0" && pkg_failed=yes
21654
if test -n "$DMAPSHARING_LIBS"; then
21655
pkg_cv_DMAPSHARING_LIBS="$DMAPSHARING_LIBS"
21656
elif test -n "$PKG_CONFIG"; then
21657
if test -n "$PKG_CONFIG" && \
21658
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdmapsharing-3.0 >= 2.9.19\""; } >&5
21659
($PKG_CONFIG --exists --print-errors "libdmapsharing-3.0 >= 2.9.19") 2>&5
21661
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21662
test $ac_status = 0; }; then
21663
pkg_cv_DMAPSHARING_LIBS=`$PKG_CONFIG --libs "libdmapsharing-3.0 >= 2.9.19" 2>/dev/null`
21664
test "x$?" != "x0" && pkg_failed=yes
21674
if test $pkg_failed = yes; then
21675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21676
$as_echo "no" >&6; }
21678
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21679
_pkg_short_errors_supported=yes
21681
_pkg_short_errors_supported=no
21683
if test $_pkg_short_errors_supported = yes; then
21684
DMAPSHARING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdmapsharing-3.0 >= 2.9.19" 2>&1`
21686
DMAPSHARING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdmapsharing-3.0 >= 2.9.19" 2>&1`
21688
# Put the nasty error message in config.log where it belongs
21689
echo "$DMAPSHARING_PKG_ERRORS" >&5
21691
have_libdmapsharing=no
21692
elif test $pkg_failed = untried; then
21693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21694
$as_echo "no" >&6; }
21695
have_libdmapsharing=no
21697
DMAPSHARING_CFLAGS=$pkg_cv_DMAPSHARING_CFLAGS
21698
DMAPSHARING_LIBS=$pkg_cv_DMAPSHARING_LIBS
21699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21700
$as_echo "yes" >&6; }
21701
have_libdmapsharing=yes
21703
if test "x$have_libdmapsharing" = "xno" -a "x$enable_daap" = "xyes"; then
21704
as_fn_error $? "DAAP support explicitly requested, but libdmapsharing couldn't be found" "$LINENO" 5
21706
if test x"$have_libdmapsharing" = "xyes"; then
21708
$as_echo "#define HAVE_LIBDMAPSHARING 1" >>confdefs.h
21713
if test x"$have_libdmapsharing" = "xyes"; then
21714
USE_LIBDMAPSHARING_TRUE=
21715
USE_LIBDMAPSHARING_FALSE='#'
21717
USE_LIBDMAPSHARING_TRUE='#'
21718
USE_LIBDMAPSHARING_FALSE=
21725
# Check whether --enable-visualizer was given.
21726
if test "${enable_visualizer+set}" = set; then :
21727
enableval=$enable_visualizer;
21729
enable_visualizer=auto
21732
if test "x$enable_visualizer" != "xno"; then
21735
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLUTTER" >&5
21736
$as_echo_n "checking for CLUTTER... " >&6; }
21738
if test -n "$CLUTTER_CFLAGS"; then
21739
pkg_cv_CLUTTER_CFLAGS="$CLUTTER_CFLAGS"
21740
elif test -n "$PKG_CONFIG"; then
21741
if test -n "$PKG_CONFIG" && \
21742
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.8 \\
21743
clutter-x11-1.0 >= 1.8 \\
21745
clutter-gtk-1.0 >= 1.0 \\
21746
mx-1.0 >= 1.0.1\""; } >&5
21747
($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.8 \
21748
clutter-x11-1.0 >= 1.8 \
21750
clutter-gtk-1.0 >= 1.0 \
21751
mx-1.0 >= 1.0.1") 2>&5
21753
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21754
test $ac_status = 0; }; then
21755
pkg_cv_CLUTTER_CFLAGS=`$PKG_CONFIG --cflags "clutter-1.0 >= 1.8 \
21756
clutter-x11-1.0 >= 1.8 \
21758
clutter-gtk-1.0 >= 1.0 \
21759
mx-1.0 >= 1.0.1" 2>/dev/null`
21760
test "x$?" != "x0" && pkg_failed=yes
21767
if test -n "$CLUTTER_LIBS"; then
21768
pkg_cv_CLUTTER_LIBS="$CLUTTER_LIBS"
21769
elif test -n "$PKG_CONFIG"; then
21770
if test -n "$PKG_CONFIG" && \
21771
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"clutter-1.0 >= 1.8 \\
21772
clutter-x11-1.0 >= 1.8 \\
21774
clutter-gtk-1.0 >= 1.0 \\
21775
mx-1.0 >= 1.0.1\""; } >&5
21776
($PKG_CONFIG --exists --print-errors "clutter-1.0 >= 1.8 \
21777
clutter-x11-1.0 >= 1.8 \
21779
clutter-gtk-1.0 >= 1.0 \
21780
mx-1.0 >= 1.0.1") 2>&5
21782
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21783
test $ac_status = 0; }; then
21784
pkg_cv_CLUTTER_LIBS=`$PKG_CONFIG --libs "clutter-1.0 >= 1.8 \
21785
clutter-x11-1.0 >= 1.8 \
21787
clutter-gtk-1.0 >= 1.0 \
21788
mx-1.0 >= 1.0.1" 2>/dev/null`
21789
test "x$?" != "x0" && pkg_failed=yes
21799
if test $pkg_failed = yes; then
21800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21801
$as_echo "no" >&6; }
21803
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21804
_pkg_short_errors_supported=yes
21806
_pkg_short_errors_supported=no
21808
if test $_pkg_short_errors_supported = yes; then
21809
CLUTTER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "clutter-1.0 >= 1.8 \
21810
clutter-x11-1.0 >= 1.8 \
21812
clutter-gtk-1.0 >= 1.0 \
21813
mx-1.0 >= 1.0.1" 2>&1`
21815
CLUTTER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "clutter-1.0 >= 1.8 \
21816
clutter-x11-1.0 >= 1.8 \
21818
clutter-gtk-1.0 >= 1.0 \
21819
mx-1.0 >= 1.0.1" 2>&1`
21821
# Put the nasty error message in config.log where it belongs
21822
echo "$CLUTTER_PKG_ERRORS" >&5
21825
elif test $pkg_failed = untried; then
21826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21827
$as_echo "no" >&6; }
21830
CLUTTER_CFLAGS=$pkg_cv_CLUTTER_CFLAGS
21831
CLUTTER_LIBS=$pkg_cv_CLUTTER_LIBS
21832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21833
$as_echo "yes" >&6; }
21836
if test "x$have_clutter" = "xno" -a "x$enable_visualizer" = "xyes"; then
21837
as_fn_error $? "Visualizer support explicitly requested, but clutter couldn't be found" "$LINENO" 5
21841
if test x"$have_clutter" = "xyes"; then
21843
USE_CLUTTER_FALSE='#'
21845
USE_CLUTTER_TRUE='#'
21853
# Check whether --enable-grilo was given.
21854
if test "${enable_grilo+set}" = set; then :
21855
enableval=$enable_grilo;
21860
if test "x$enable_grilo" != "xno"; then
21863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GRILO" >&5
21864
$as_echo_n "checking for GRILO... " >&6; }
21866
if test -n "$GRILO_CFLAGS"; then
21867
pkg_cv_GRILO_CFLAGS="$GRILO_CFLAGS"
21868
elif test -n "$PKG_CONFIG"; then
21869
if test -n "$PKG_CONFIG" && \
21870
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"grilo-0.2 >= \$GRILO_REQS\""; } >&5
21871
($PKG_CONFIG --exists --print-errors "grilo-0.2 >= $GRILO_REQS") 2>&5
21873
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21874
test $ac_status = 0; }; then
21875
pkg_cv_GRILO_CFLAGS=`$PKG_CONFIG --cflags "grilo-0.2 >= $GRILO_REQS" 2>/dev/null`
21876
test "x$?" != "x0" && pkg_failed=yes
21883
if test -n "$GRILO_LIBS"; then
21884
pkg_cv_GRILO_LIBS="$GRILO_LIBS"
21885
elif test -n "$PKG_CONFIG"; then
21886
if test -n "$PKG_CONFIG" && \
21887
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"grilo-0.2 >= \$GRILO_REQS\""; } >&5
21888
($PKG_CONFIG --exists --print-errors "grilo-0.2 >= $GRILO_REQS") 2>&5
21890
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21891
test $ac_status = 0; }; then
21892
pkg_cv_GRILO_LIBS=`$PKG_CONFIG --libs "grilo-0.2 >= $GRILO_REQS" 2>/dev/null`
21893
test "x$?" != "x0" && pkg_failed=yes
21903
if test $pkg_failed = yes; then
21904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21905
$as_echo "no" >&6; }
21907
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
21908
_pkg_short_errors_supported=yes
21910
_pkg_short_errors_supported=no
21912
if test $_pkg_short_errors_supported = yes; then
21913
GRILO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "grilo-0.2 >= $GRILO_REQS" 2>&1`
21915
GRILO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "grilo-0.2 >= $GRILO_REQS" 2>&1`
21917
# Put the nasty error message in config.log where it belongs
21918
echo "$GRILO_PKG_ERRORS" >&5
21921
elif test $pkg_failed = untried; then
21922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21923
$as_echo "no" >&6; }
21926
GRILO_CFLAGS=$pkg_cv_GRILO_CFLAGS
21927
GRILO_LIBS=$pkg_cv_GRILO_LIBS
21928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21929
$as_echo "yes" >&6; }
21932
if test "x$have_grilo" = "xno" -a "x$enable_grilo" = "xyes"; then
21933
as_fn_error $? "Grilo support explicitly requested, but grilo couldn not be found" "$LINENO" 5
21935
if test "x$have_grilo" = "xyes"; then
21937
$as_echo "#define HAVE_GRILO 1" >>confdefs.h
21942
if test x"$have_grilo" = "xyes"; then
21944
ENABLE_GRILO_FALSE='#'
21946
ENABLE_GRILO_TRUE='#'
21947
ENABLE_GRILO_FALSE=
21954
ac_config_files="$ac_config_files rhythmbox.pc Makefile lib/Makefile lib/libmediaplayerid/Makefile metadata/Makefile rhythmdb/Makefile widgets/Makefile podcast/Makefile shell/Makefile data/Makefile data/rhythmbox.desktop.in data/rhythmbox-device.desktop.in data/ui/Makefile data/icons/Makefile data/icons/hicolor/Makefile data/icons/hicolor/16x16/Makefile data/icons/hicolor/16x16/apps/Makefile data/icons/hicolor/16x16/status/Makefile data/icons/hicolor/22x22/Makefile data/icons/hicolor/22x22/apps/Makefile data/icons/hicolor/24x24/Makefile data/icons/hicolor/24x24/apps/Makefile data/icons/hicolor/32x32/Makefile data/icons/hicolor/32x32/apps/Makefile data/icons/hicolor/48x48/Makefile data/icons/hicolor/48x48/apps/Makefile data/icons/hicolor/48x48/status/Makefile data/icons/hicolor/256x256/Makefile data/icons/hicolor/256x256/apps/Makefile data/icons/hicolor/scalable/Makefile data/icons/hicolor/scalable/apps/Makefile data/icons/src/Makefile sources/Makefile sources/sync/Makefile plugins/Makefile plugins/audiocd/Makefile plugins/audioscrobbler/Makefile plugins/brasero-disc-recorder/Makefile plugins/daap/Makefile plugins/fmradio/Makefile plugins/im-status/Makefile plugins/ipod/Makefile plugins/mtpdevice/Makefile plugins/iradio/Makefile plugins/lirc/Makefile plugins/lyrics/Makefile plugins/pythonconsole/Makefile plugins/artsearch/Makefile plugins/magnatune/Makefile plugins/generic-player/Makefile plugins/rb/Makefile plugins/rb/rbconfig.py plugins/power-manager/Makefile plugins/mmkeys/Makefile plugins/context/Makefile plugins/sendto/Makefile plugins/replaygain/Makefile plugins/mpris/Makefile plugins/dbus-media-server/Makefile plugins/rbzeitgeist/Makefile plugins/notification/Makefile plugins/visualizer/Makefile plugins/grilo/Makefile sample-plugins/Makefile sample-plugins/sample/Makefile sample-plugins/sample-python/Makefile sample-plugins/sample-vala/Makefile bindings/Makefile bindings/vala/Makefile bindings/gi/Makefile help/Makefile po/Makefile.in tests/Makefile doc/Makefile doc/reference/Makefile backends/Makefile backends/gstreamer/Makefile remote/Makefile remote/dbus/Makefile"
21956
cat >confcache <<\_ACEOF
21957
# This file is a shell script that caches the results of configure
21958
# tests run on this system so they can be shared between configure
21959
# scripts and configure runs, see configure's option --config-cache.
21960
# It is not useful on other systems. If it contains results you don't
21961
# want to keep, you may remove or edit it.
21963
# config.status only pays attention to the cache file if you give it
21964
# the --recheck option to rerun configure.
21966
# `ac_cv_env_foo' variables (set or unset) will be overridden when
21967
# loading this file, other *unset* `ac_cv_foo' will be assigned the
21968
# following values.
21972
# The following way of writing the cache mishandles newlines in values,
21973
# but we know of no workaround that is simple, portable, and efficient.
21974
# So, we kill variables containing newlines.
21975
# Ultrix sh set writes to stderr and can't be redirected directly,
21976
# and sets the high bit in the cache file unless we assign to the vars.
21978
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21979
eval ac_val=\$$ac_var
21983
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21984
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21987
_ | IFS | as_nl) ;; #(
21988
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21989
*) { eval $ac_var=; unset $ac_var;} ;;
21995
case $as_nl`(ac_space=' '; set) 2>&1` in #(
21996
*${as_nl}ac_space=\ *)
21997
# `set' does not quote correctly, so add quotes: double-quote
21998
# substitution turns \\\\ into \\, and sed turns \\ into \.
22001
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22004
# `set' quotes correctly as required by POSIX, so do not add quotes.
22005
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22014
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22016
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22018
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22019
if test -w "$cache_file"; then
22020
if test "x$cache_file" != "x/dev/null"; then
22021
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22022
$as_echo "$as_me: updating cache $cache_file" >&6;}
22023
if test ! -f "$cache_file" || test -h "$cache_file"; then
22024
cat confcache >"$cache_file"
22026
case $cache_file in #(
22028
mv -f confcache "$cache_file"$$ &&
22029
mv -f "$cache_file"$$ "$cache_file" ;; #(
22031
mv -f confcache "$cache_file" ;;
22036
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22037
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22042
test "x$prefix" = xNONE && prefix=$ac_default_prefix
22043
# Let make expand exec_prefix.
22044
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22046
DEFS=-DHAVE_CONFIG_H
22051
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22052
# 1. Remove the extension, and $U if already installed.
22053
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22054
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
22055
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22056
# will be set to the directory where LIBOBJS objects are built.
22057
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22058
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22060
LIBOBJS=$ac_libobjs
22062
LTLIBOBJS=$ac_ltlibobjs
22065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
22066
$as_echo_n "checking that generated files are newer than configure... " >&6; }
22067
if test -n "$am_sleep_pid"; then
22068
# Hide warnings about reused PIDs.
22069
wait $am_sleep_pid 2>/dev/null
22071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
22072
$as_echo "done" >&6; }
22073
if test -n "$EXEEXT"; then
22075
am__EXEEXT_FALSE='#'
22077
am__EXEEXT_TRUE='#'
22081
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
22082
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
22083
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22085
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
22086
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
22087
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22089
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
22090
as_fn_error $? "conditional \"AMDEP\" was never defined.
22091
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22093
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22094
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22095
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22098
ac_config_commands="$ac_config_commands po/stamp-it"
22101
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
22102
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
22103
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22106
if test -z "${USE_GUDEV_TRUE}" && test -z "${USE_GUDEV_FALSE}"; then
22107
as_fn_error $? "conditional \"USE_GUDEV\" was never defined.
22108
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22110
if test -z "${HAVE_HAL_TRUE}" && test -z "${HAVE_HAL_FALSE}"; then
22111
as_fn_error $? "conditional \"HAVE_HAL\" was never defined.
22112
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22114
if test -z "${USE_IPOD_TRUE}" && test -z "${USE_IPOD_FALSE}"; then
22115
as_fn_error $? "conditional \"USE_IPOD\" was never defined.
22116
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22118
if test -z "${USE_MTP_TRUE}" && test -z "${USE_MTP_FALSE}"; then
22119
as_fn_error $? "conditional \"USE_MTP\" was never defined.
22120
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22122
if test -z "${USE_LIBSECRET_TRUE}" && test -z "${USE_LIBSECRET_FALSE}"; then
22123
as_fn_error $? "conditional \"USE_LIBSECRET\" was never defined.
22124
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22126
if test -z "${USE_TREEDB_TRUE}" && test -z "${USE_TREEDB_FALSE}"; then
22127
as_fn_error $? "conditional \"USE_TREEDB\" was never defined.
22128
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22130
if test -z "${USE_NOTIFY_TRUE}" && test -z "${USE_NOTIFY_FALSE}"; then
22131
as_fn_error $? "conditional \"USE_NOTIFY\" was never defined.
22132
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22134
if test -z "${HAVE_LIBBRASERO_MEDIA_TRUE}" && test -z "${HAVE_LIBBRASERO_MEDIA_FALSE}"; then
22135
as_fn_error $? "conditional \"HAVE_LIBBRASERO_MEDIA\" was never defined.
22136
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22138
if test -z "${WITH_LIRC_TRUE}" && test -z "${WITH_LIRC_FALSE}"; then
22139
as_fn_error $? "conditional \"WITH_LIRC\" was never defined.
22140
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22142
if test -z "${WITH_WEBKIT_TRUE}" && test -z "${WITH_WEBKIT_FALSE}"; then
22143
as_fn_error $? "conditional \"WITH_WEBKIT\" was never defined.
22144
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22146
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
22147
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
22148
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22150
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
22151
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
22152
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22154
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
22155
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
22156
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22158
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
22159
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
22160
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22162
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
22163
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
22164
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22166
if test -z "${ENABLE_PYTHON_TRUE}" && test -z "${ENABLE_PYTHON_FALSE}"; then
22167
as_fn_error $? "conditional \"ENABLE_PYTHON\" was never defined.
22168
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22170
if test -z "${ENABLE_VALA_TRUE}" && test -z "${ENABLE_VALA_FALSE}"; then
22171
as_fn_error $? "conditional \"ENABLE_VALA\" was never defined.
22172
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22174
if test -z "${ENABLE_FM_RADIO_TRUE}" && test -z "${ENABLE_FM_RADIO_FALSE}"; then
22175
as_fn_error $? "conditional \"ENABLE_FM_RADIO\" was never defined.
22176
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22178
if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
22179
as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
22180
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22182
if test -z "${ENABLE_BROWSER_PLUGIN_TRUE}" && test -z "${ENABLE_BROWSER_PLUGIN_FALSE}"; then
22183
as_fn_error $? "conditional \"ENABLE_BROWSER_PLUGIN\" was never defined.
22184
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22186
if test -z "${USE_LIBDMAPSHARING_TRUE}" && test -z "${USE_LIBDMAPSHARING_FALSE}"; then
22187
as_fn_error $? "conditional \"USE_LIBDMAPSHARING\" was never defined.
22188
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22190
if test -z "${USE_CLUTTER_TRUE}" && test -z "${USE_CLUTTER_FALSE}"; then
22191
as_fn_error $? "conditional \"USE_CLUTTER\" was never defined.
22192
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22194
if test -z "${ENABLE_GRILO_TRUE}" && test -z "${ENABLE_GRILO_FALSE}"; then
22195
as_fn_error $? "conditional \"ENABLE_GRILO\" was never defined.
22196
Usually this means the macro was only invoked conditionally." "$LINENO" 5
22199
: "${CONFIG_STATUS=./config.status}"
22201
ac_clean_files_save=$ac_clean_files
22202
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22203
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22204
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
22206
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22208
# Generated by $as_me.
22209
# Run this file to recreate the current configuration.
22210
# Compiler output produced by configure, useful for debugging
22211
# configure, is in config.log if it exists.
22214
ac_cs_recheck=false
22217
SHELL=\${CONFIG_SHELL-$SHELL}
22220
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22221
## -------------------- ##
22222
## M4sh Initialization. ##
22223
## -------------------- ##
22225
# Be more Bourne compatible
22226
DUALCASE=1; export DUALCASE # for MKS sh
22227
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22230
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22231
# is contrary to our usage. Disable this feature.
22232
alias -g '${1+"$@"}'='"$@"'
22233
setopt NO_GLOB_SUBST
22235
case `(set -o) 2>/dev/null` in #(
22247
# Printing a long string crashes Solaris 7 /usr/bin/printf.
22248
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
22249
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
22250
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
22251
# Prefer a ksh shell builtin over an external printf program on Solaris,
22252
# but without wasting forks for bash or zsh.
22253
if test -z "$BASH_VERSION$ZSH_VERSION" \
22254
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
22255
as_echo='print -r --'
22256
as_echo_n='print -rn --'
22257
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
22258
as_echo='printf %s\n'
22259
as_echo_n='printf %s'
22261
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
22262
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
22263
as_echo_n='/usr/ucb/echo -n'
22265
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
22266
as_echo_n_body='eval
22270
expr "X$arg" : "X\\(.*\\)$as_nl";
22271
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
22273
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
22275
export as_echo_n_body
22276
as_echo_n='sh -c $as_echo_n_body as_echo'
22278
export as_echo_body
22279
as_echo='sh -c $as_echo_body as_echo'
22282
# The user is always right.
22283
if test "${PATH_SEPARATOR+set}" != set; then
22285
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22286
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22293
# We need space, tab and new line, in precisely that order. Quoting is
22294
# there to prevent editors from complaining about space-tab.
22295
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
22296
# splitting by setting IFS to empty value.)
22299
# Find who we are. Look in the path if we contain no directory separator.
22302
*[\\/]* ) as_myself=$0 ;;
22303
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22304
for as_dir in $PATH
22307
test -z "$as_dir" && as_dir=.
22308
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22314
# We did not find ourselves, most probably we were run as `sh COMMAND'
22315
# in which case we are not to be found in the path.
22316
if test "x$as_myself" = x; then
22319
if test ! -f "$as_myself"; then
22320
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22324
# Unset variables that we do not need and which cause bugs (e.g. in
22325
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
22326
# suppresses any "Segmentation fault" message there. '((' could
22327
# trigger a bug in pdksh 5.2.14.
22328
for as_var in BASH_ENV ENV MAIL MAILPATH
22329
do eval test x\${$as_var+set} = xset \
22330
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22343
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22346
# as_fn_error STATUS ERROR [LINENO LOG_FD]
22347
# ----------------------------------------
22348
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22349
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22350
# script with STATUS, using 1 if that was 0.
22353
as_status=$1; test $as_status -eq 0 && as_status=1
22355
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22356
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22358
$as_echo "$as_me: error: $2" >&2
22359
as_fn_exit $as_status
22363
# as_fn_set_status STATUS
22364
# -----------------------
22365
# Set $? to STATUS, without forking.
22366
as_fn_set_status ()
22369
} # as_fn_set_status
22371
# as_fn_exit STATUS
22372
# -----------------
22373
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22377
as_fn_set_status $1
22383
# Portably unset VAR.
22386
{ eval $1=; unset $1;}
22388
as_unset=as_fn_unset
22389
# as_fn_append VAR VALUE
22390
# ----------------------
22391
# Append the text in VALUE to the end of the definition contained in VAR. Take
22392
# advantage of any shell optimizations that allow amortized linear growth over
22393
# repeated appends, instead of the typical quadratic growth present in naive
22395
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
22396
eval 'as_fn_append ()
22407
# as_fn_arith ARG...
22408
# ------------------
22409
# Perform arithmetic evaluation on the ARGs, and store the result in the
22410
# global $as_val. Take advantage of shells that can avoid forks. The arguments
22411
# must be portable across $(()) and expr.
22412
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
22413
eval 'as_fn_arith ()
22420
as_val=`expr "$@" || test $? -eq 1`
22425
if expr a : '\(a\)' >/dev/null 2>&1 &&
22426
test "X`expr 00001 : '.*\(...\)'`" = X001; then
22432
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22433
as_basename=basename
22438
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22444
as_me=`$as_basename -- "$0" ||
22445
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22446
X"$0" : 'X\(//\)$' \| \
22447
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22449
sed '/^.*\/\([^/][^/]*\)\/*$/{
22463
# Avoid depending upon Character Ranges.
22464
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22465
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22466
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22467
as_cr_digits='0123456789'
22468
as_cr_alnum=$as_cr_Letters$as_cr_digits
22470
ECHO_C= ECHO_N= ECHO_T=
22471
case `echo -n x` in #(((((
22473
case `echo 'xy\c'` in
22474
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
22476
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22483
rm -f conf$$ conf$$.exe conf$$.file
22484
if test -d conf$$.dir; then
22485
rm -f conf$$.dir/conf$$.file
22488
mkdir conf$$.dir 2>/dev/null
22490
if (echo >conf$$.file) 2>/dev/null; then
22491
if ln -s conf$$.file conf$$ 2>/dev/null; then
22493
# ... but there are two gotchas:
22494
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22495
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22496
# In both cases, we have to default to `cp -pR'.
22497
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22499
elif ln conf$$.file conf$$ 2>/dev/null; then
22507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22508
rmdir conf$$.dir 2>/dev/null
22513
# Create "$as_dir" as a directory, including parents if necessary.
22518
-*) as_dir=./$as_dir;;
22520
test -d "$as_dir" || eval $as_mkdir_p || {
22524
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22525
*) as_qdir=$as_dir;;
22527
as_dirs="'$as_qdir' $as_dirs"
22528
as_dir=`$as_dirname -- "$as_dir" ||
22529
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22530
X"$as_dir" : 'X\(//\)[^/]' \| \
22531
X"$as_dir" : 'X\(//\)$' \| \
22532
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22533
$as_echo X"$as_dir" |
22534
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22538
/^X\(\/\/\)[^/].*/{
22551
test -d "$as_dir" && break
22553
test -z "$as_dirs" || eval "mkdir $as_dirs"
22554
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22558
if mkdir -p . 2>/dev/null; then
22559
as_mkdir_p='mkdir -p "$as_dir"'
22561
test -d ./-p && rmdir ./-p
22566
# as_fn_executable_p FILE
22567
# -----------------------
22568
# Test if FILE is an executable regular file.
22569
as_fn_executable_p ()
22571
test -f "$1" && test -x "$1"
22572
} # as_fn_executable_p
22573
as_test_x='test -x'
22574
as_executable_p=as_fn_executable_p
22576
# Sed expression to map a string onto a valid CPP name.
22577
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22579
# Sed expression to map a string onto a valid variable name.
22580
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22584
## ----------------------------------- ##
22585
## Main body of $CONFIG_STATUS script. ##
22586
## ----------------------------------- ##
22588
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22590
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22591
# Save the log message, to keep $0 and so on meaningful, and to
22592
# report actual input values of CONFIG_FILES etc. instead of their
22593
# values after options handling.
22595
This file was extended by rhythmbox $as_me 3.0.1, which was
22596
generated by GNU Autoconf 2.69. Invocation command line was
22598
CONFIG_FILES = $CONFIG_FILES
22599
CONFIG_HEADERS = $CONFIG_HEADERS
22600
CONFIG_LINKS = $CONFIG_LINKS
22601
CONFIG_COMMANDS = $CONFIG_COMMANDS
22604
on `(hostname || uname -n) 2>/dev/null | sed 1q`
22609
case $ac_config_files in *"
22610
"*) set x $ac_config_files; shift; ac_config_files=$*;;
22613
case $ac_config_headers in *"
22614
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22618
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22619
# Files that config.status was made for.
22620
config_files="$ac_config_files"
22621
config_headers="$ac_config_headers"
22622
config_commands="$ac_config_commands"
22626
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22628
\`$as_me' instantiates files and other configuration actions
22629
from templates according to the current configuration. Unless the files
22630
and actions are specified as TAGs, all are instantiated by default.
22632
Usage: $0 [OPTION]... [TAG]...
22634
-h, --help print this help, then exit
22635
-V, --version print version number and configuration settings, then exit
22636
--config print configuration, then exit
22637
-q, --quiet, --silent
22638
do not print progress messages
22639
-d, --debug don't remove temporary files
22640
--recheck update $as_me by reconfiguring in the same conditions
22641
--file=FILE[:TEMPLATE]
22642
instantiate the configuration file FILE
22643
--header=FILE[:TEMPLATE]
22644
instantiate the configuration header FILE
22646
Configuration files:
22649
Configuration headers:
22652
Configuration commands:
22655
Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=rhythmbox>."
22658
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22659
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
22661
rhythmbox config.status 3.0.1
22662
configured by $0, generated by GNU Autoconf 2.69,
22663
with options \\"\$ac_cs_config\\"
22665
Copyright (C) 2012 Free Software Foundation, Inc.
22666
This config.status script is free software; the Free Software Foundation
22667
gives unlimited permission to copy, distribute and modify it."
22674
test -n "\$AWK" || AWK=awk
22677
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22678
# The default lists apply if the user does not specify any file.
22684
ac_option=`expr "X$1" : 'X\([^=]*\)='`
22685
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22689
ac_option=`expr "X$1" : 'X\([^=]*\)='`
22701
# Handling of the options.
22702
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22704
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22705
$as_echo "$ac_cs_version"; exit ;;
22706
--config | --confi | --conf | --con | --co | --c )
22707
$as_echo "$ac_cs_config"; exit ;;
22708
--debug | --debu | --deb | --de | --d | -d )
22710
--file | --fil | --fi | --f )
22713
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22714
'') as_fn_error $? "missing file argument" ;;
22716
as_fn_append CONFIG_FILES " '$ac_optarg'"
22717
ac_need_defaults=false;;
22718
--header | --heade | --head | --hea )
22721
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22723
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22724
ac_need_defaults=false;;
22726
# Conflict between --help and --header
22727
as_fn_error $? "ambiguous option: \`$1'
22728
Try \`$0 --help' for more information.";;
22729
--help | --hel | -h )
22730
$as_echo "$ac_cs_usage"; exit ;;
22731
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
22732
| -silent | --silent | --silen | --sile | --sil | --si | --s)
22735
# This is an error.
22736
-*) as_fn_error $? "unrecognized option: \`$1'
22737
Try \`$0 --help' for more information." ;;
22739
*) as_fn_append ac_config_targets " $1"
22740
ac_need_defaults=false ;;
22746
ac_configure_extra_args=
22748
if $ac_cs_silent; then
22750
ac_configure_extra_args="$ac_configure_extra_args --silent"
22754
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22755
if \$ac_cs_recheck; then
22756
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22758
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
22759
CONFIG_SHELL='$SHELL'
22760
export CONFIG_SHELL
22765
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22769
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22770
## Running $as_me. ##
22776
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22780
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
22783
# The HP-UX ksh and POSIX shell print the target directory to stdout
22784
# if CDPATH is set.
22785
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
22787
sed_quote_subst='$sed_quote_subst'
22788
double_quote_subst='$double_quote_subst'
22789
delay_variable_subst='$delay_variable_subst'
22790
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
22791
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
22792
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
22793
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
22794
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
22795
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
22796
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
22797
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
22798
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
22799
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
22800
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
22801
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
22802
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
22803
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
22804
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
22805
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
22806
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
22807
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
22808
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
22809
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
22810
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
22811
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
22812
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
22813
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
22814
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
22815
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
22816
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
22817
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
22818
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
22819
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
22820
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
22821
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
22822
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
22823
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
22824
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
22825
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
22826
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
22827
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
22828
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
22829
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
22830
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
22831
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
22832
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
22833
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
22834
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
22835
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22836
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22837
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
22838
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
22839
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
22840
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
22841
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
22842
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
22843
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
22844
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
22845
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
22846
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
22847
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
22848
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
22849
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
22850
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
22851
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
22852
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
22853
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
22854
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
22855
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
22856
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
22857
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
22858
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
22859
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
22860
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
22861
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
22862
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
22863
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
22864
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
22865
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22866
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
22867
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
22868
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
22869
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
22870
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
22871
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
22872
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
22873
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
22874
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22875
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
22876
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
22877
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
22878
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
22879
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
22880
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
22881
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
22882
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
22883
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
22884
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
22885
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
22886
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
22887
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
22888
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
22889
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
22890
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
22891
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
22892
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
22893
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
22894
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
22895
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
22896
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
22897
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
22898
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
22899
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
22900
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
22901
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
22902
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
22903
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
22904
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
22905
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
22906
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
22907
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
22908
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
22909
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
22910
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
22911
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
22912
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
22913
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
22914
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
22915
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
22916
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
22917
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
22918
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
22919
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
22922
LTCFLAGS='$LTCFLAGS'
22923
compiler='$compiler_DEFAULT'
22925
# A function that is used when there is no print builtin or printf.
22926
func_fallback_echo ()
22928
eval 'cat <<_LTECHO_EOF
22933
# Quote evaled strings.
22948
deplibs_check_method \
22953
sharedlib_from_linklib_cmd \
22956
archiver_list_spec \
22962
lt_cv_sys_global_symbol_pipe \
22963
lt_cv_sys_global_symbol_to_cdecl \
22964
lt_cv_sys_global_symbol_to_c_name_address \
22965
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
22966
nm_file_list_spec \
22967
lt_prog_compiler_no_builtin_flag \
22968
lt_prog_compiler_pic \
22969
lt_prog_compiler_wl \
22970
lt_prog_compiler_static \
22971
lt_cv_prog_compiler_c_o \
22980
export_dynamic_flag_spec \
22981
whole_archive_flag_spec \
22982
compiler_needs_object \
22984
allow_undefined_flag \
22985
no_undefined_flag \
22986
hardcode_libdir_flag_spec \
22987
hardcode_libdir_separator \
22991
variables_saved_for_relink \
22993
library_names_spec \
22995
install_override_mode \
22999
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23000
*[\\\\\\\`\\"\\\$]*)
23001
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
23004
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23009
# Double-quote double-evaled strings.
23010
for var in reload_cmds \
23011
old_postinstall_cmds \
23012
old_postuninstall_cmds \
23014
extract_expsyms_cmds \
23015
old_archive_from_new_cmds \
23016
old_archive_from_expsyms_cmds \
23018
archive_expsym_cmds \
23020
module_expsym_cmds \
23021
export_symbols_cmds \
23025
postuninstall_cmds \
23027
sys_lib_search_path_spec \
23028
sys_lib_dlsearch_path_spec; do
23029
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
23030
*[\\\\\\\`\\"\\\$]*)
23031
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
23034
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
23039
ac_aux_dir='$ac_aux_dir'
23040
xsi_shell='$xsi_shell'
23041
lt_shell_append='$lt_shell_append'
23043
# See if we are running on zsh, and set the options which allow our
23044
# commands through without removal of \ escapes INIT.
23045
if test -n "\${ZSH_VERSION+set}" ; then
23046
setopt NO_GLOB_SUBST
23052
TIMESTAMP='$TIMESTAMP'
23056
ac_aux_dir='$ac_aux_dir'
23059
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
23060
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
23061
# from automake < 1.5.
23062
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
23063
# Capture the value of LINGUAS because we need it to compute CATALOGS.
23064
LINGUAS="${LINGUAS-%UNSET%}"
23069
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23071
# Handling of arguments.
23072
for ac_config_target in $ac_config_targets
23074
case $ac_config_target in
23075
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
23076
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
23077
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
23078
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
23079
"rhythmbox.pc") CONFIG_FILES="$CONFIG_FILES rhythmbox.pc" ;;
23080
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
23081
"lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
23082
"lib/libmediaplayerid/Makefile") CONFIG_FILES="$CONFIG_FILES lib/libmediaplayerid/Makefile" ;;
23083
"metadata/Makefile") CONFIG_FILES="$CONFIG_FILES metadata/Makefile" ;;
23084
"rhythmdb/Makefile") CONFIG_FILES="$CONFIG_FILES rhythmdb/Makefile" ;;
23085
"widgets/Makefile") CONFIG_FILES="$CONFIG_FILES widgets/Makefile" ;;
23086
"podcast/Makefile") CONFIG_FILES="$CONFIG_FILES podcast/Makefile" ;;
23087
"shell/Makefile") CONFIG_FILES="$CONFIG_FILES shell/Makefile" ;;
23088
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
23089
"data/rhythmbox.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rhythmbox.desktop.in" ;;
23090
"data/rhythmbox-device.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rhythmbox-device.desktop.in" ;;
23091
"data/ui/Makefile") CONFIG_FILES="$CONFIG_FILES data/ui/Makefile" ;;
23092
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
23093
"data/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/Makefile" ;;
23094
"data/icons/hicolor/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/Makefile" ;;
23095
"data/icons/hicolor/16x16/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/apps/Makefile" ;;
23096
"data/icons/hicolor/16x16/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/16x16/status/Makefile" ;;
23097
"data/icons/hicolor/22x22/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/Makefile" ;;
23098
"data/icons/hicolor/22x22/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/22x22/apps/Makefile" ;;
23099
"data/icons/hicolor/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/Makefile" ;;
23100
"data/icons/hicolor/24x24/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/24x24/apps/Makefile" ;;
23101
"data/icons/hicolor/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/Makefile" ;;
23102
"data/icons/hicolor/32x32/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/32x32/apps/Makefile" ;;
23103
"data/icons/hicolor/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/Makefile" ;;
23104
"data/icons/hicolor/48x48/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/apps/Makefile" ;;
23105
"data/icons/hicolor/48x48/status/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/48x48/status/Makefile" ;;
23106
"data/icons/hicolor/256x256/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/Makefile" ;;
23107
"data/icons/hicolor/256x256/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/256x256/apps/Makefile" ;;
23108
"data/icons/hicolor/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/Makefile" ;;
23109
"data/icons/hicolor/scalable/apps/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/hicolor/scalable/apps/Makefile" ;;
23110
"data/icons/src/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/src/Makefile" ;;
23111
"sources/Makefile") CONFIG_FILES="$CONFIG_FILES sources/Makefile" ;;
23112
"sources/sync/Makefile") CONFIG_FILES="$CONFIG_FILES sources/sync/Makefile" ;;
23113
"plugins/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/Makefile" ;;
23114
"plugins/audiocd/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audiocd/Makefile" ;;
23115
"plugins/audioscrobbler/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/audioscrobbler/Makefile" ;;
23116
"plugins/brasero-disc-recorder/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/brasero-disc-recorder/Makefile" ;;
23117
"plugins/daap/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/daap/Makefile" ;;
23118
"plugins/fmradio/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/fmradio/Makefile" ;;
23119
"plugins/im-status/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/im-status/Makefile" ;;
23120
"plugins/ipod/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/ipod/Makefile" ;;
23121
"plugins/mtpdevice/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mtpdevice/Makefile" ;;
23122
"plugins/iradio/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/iradio/Makefile" ;;
23123
"plugins/lirc/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lirc/Makefile" ;;
23124
"plugins/lyrics/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/lyrics/Makefile" ;;
23125
"plugins/pythonconsole/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/pythonconsole/Makefile" ;;
23126
"plugins/artsearch/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/artsearch/Makefile" ;;
23127
"plugins/magnatune/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/magnatune/Makefile" ;;
23128
"plugins/generic-player/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/generic-player/Makefile" ;;
23129
"plugins/rb/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rb/Makefile" ;;
23130
"plugins/rb/rbconfig.py") CONFIG_FILES="$CONFIG_FILES plugins/rb/rbconfig.py" ;;
23131
"plugins/power-manager/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/power-manager/Makefile" ;;
23132
"plugins/mmkeys/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mmkeys/Makefile" ;;
23133
"plugins/context/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/context/Makefile" ;;
23134
"plugins/sendto/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/sendto/Makefile" ;;
23135
"plugins/replaygain/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/replaygain/Makefile" ;;
23136
"plugins/mpris/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/mpris/Makefile" ;;
23137
"plugins/dbus-media-server/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/dbus-media-server/Makefile" ;;
23138
"plugins/rbzeitgeist/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/rbzeitgeist/Makefile" ;;
23139
"plugins/notification/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/notification/Makefile" ;;
23140
"plugins/visualizer/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/visualizer/Makefile" ;;
23141
"plugins/grilo/Makefile") CONFIG_FILES="$CONFIG_FILES plugins/grilo/Makefile" ;;
23142
"sample-plugins/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/Makefile" ;;
23143
"sample-plugins/sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/sample/Makefile" ;;
23144
"sample-plugins/sample-python/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/sample-python/Makefile" ;;
23145
"sample-plugins/sample-vala/Makefile") CONFIG_FILES="$CONFIG_FILES sample-plugins/sample-vala/Makefile" ;;
23146
"bindings/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/Makefile" ;;
23147
"bindings/vala/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/vala/Makefile" ;;
23148
"bindings/gi/Makefile") CONFIG_FILES="$CONFIG_FILES bindings/gi/Makefile" ;;
23149
"help/Makefile") CONFIG_FILES="$CONFIG_FILES help/Makefile" ;;
23150
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
23151
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
23152
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
23153
"doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
23154
"backends/Makefile") CONFIG_FILES="$CONFIG_FILES backends/Makefile" ;;
23155
"backends/gstreamer/Makefile") CONFIG_FILES="$CONFIG_FILES backends/gstreamer/Makefile" ;;
23156
"remote/Makefile") CONFIG_FILES="$CONFIG_FILES remote/Makefile" ;;
23157
"remote/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES remote/dbus/Makefile" ;;
23158
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
23160
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23165
# If the user did not use the arguments to specify the items to instantiate,
23166
# then the envvar interface is used. Set only those that are not.
23167
# We use the long form for the default assignment because of an extremely
23168
# bizarre bug on SunOS 4.1.3.
23169
if $ac_need_defaults; then
23170
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23171
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23172
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23175
# Have a temporary directory for convenience. Make it in the build tree
23176
# simply because there is no reason against having it here, and in addition,
23177
# creating and moving files from /tmp can sometimes cause problems.
23178
# Hook for its removal unless debugging.
23179
# Note that there is a small window in which the directory will not be cleaned:
23180
# after its creation but before its name has been assigned to `$tmp'.
23184
trap 'exit_status=$?
23185
: "${ac_tmp:=$tmp}"
23186
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23188
trap 'as_fn_exit 1' 1 2 13 15
23190
# Create a (secure) tmp directory for tmp files.
23193
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23197
tmp=./conf$$-$RANDOM
23198
(umask 077 && mkdir "$tmp")
23199
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23202
# Set up the scripts for CONFIG_FILES section.
23203
# No need to generate them if there are no CONFIG_FILES.
23204
# This happens for instance with `./config.status config.h'.
23205
if test -n "$CONFIG_FILES"; then
23208
ac_cr=`echo X | tr X '\015'`
23209
# On cygwin, bash can eat \r inside `` if the user requested igncr.
23210
# But we know of no other shell where ac_cr would be empty at this
23211
# point, so we can use a bashism as a fallback.
23212
if test "x$ac_cr" = x; then
23213
eval ac_cr=\$\'\\r\'
23215
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
23216
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
23219
ac_cs_awk_cr=$ac_cr
23222
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
23227
echo "cat >conf$$subs.awk <<_ACEOF" &&
23228
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
23230
} >conf$$subs.sh ||
23231
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23232
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
23234
for ac_last_try in false false false false false :; do
23235
. ./conf$$subs.sh ||
23236
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23238
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
23239
if test $ac_delim_n = $ac_delim_num; then
23241
elif $ac_last_try; then
23242
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
23244
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23247
rm -f conf$$subs.sh
23249
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23250
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
23254
s/^/S["/; s/!.*/"]=/
23264
s/\(.\{148\}\)..*/\1/
23266
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
23271
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23278
s/\(.\{148\}\)..*/\1/
23280
s/["\\]/\\&/g; s/^/"/; s/$/"/
23284
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
23289
' <conf$$subs.awk | sed '
23294
' >>$CONFIG_STATUS || ac_write_fail=1
23295
rm -f conf$$subs.awk
23296
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23298
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
23299
for (key in S) S_is_set[key] = 1
23305
nfields = split(line, field, "@")
23307
len = length(field[1])
23308
for (i = 2; i < nfields; i++) {
23310
keylen = length(key)
23311
if (S_is_set[key]) {
23313
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
23314
len += length(value) + length(field[++i])
23325
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23326
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
23327
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
23330
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
23331
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
23334
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
23335
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
23336
# trailing colons and then remove the whole line if VPATH becomes empty
23337
# (actually we leave an empty line to preserve line numbers).
23338
if test "x$srcdir" = x.; then
23339
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
23357
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23358
fi # test -n "$CONFIG_FILES"
23360
# Set up the scripts for CONFIG_HEADERS section.
23361
# No need to generate them if there are no CONFIG_HEADERS.
23362
# This happens for instance with `./config.status Makefile'.
23363
if test -n "$CONFIG_HEADERS"; then
23364
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23368
# Transform confdefs.h into an awk script `defines.awk', embedded as
23369
# here-document in config.status, that substitutes the proper values into
23370
# config.h.in to produce config.h.
23372
# Create a delimiter string that does not exist in confdefs.h, to ease
23373
# handling of long lines.
23375
for ac_last_try in false false :; do
23376
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23377
if test -z "$ac_tt"; then
23379
elif $ac_last_try; then
23380
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23382
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23386
# For the awk script, D is an array of macro values keyed by name,
23387
# likewise P contains macro parameters if any. Preserve backslash
23388
# newline sequences.
23390
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23392
s/.\{148\}/&'"$ac_delim"'/g
23395
s/^[ ]*#[ ]*define[ ][ ]*/ /
23402
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23404
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23408
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23409
D["\1"]=" \3\\\\\\n"\\/p
23411
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23416
s/.\{148\}/&'"$ac_delim"'/g
23421
s/["\\]/\\&/g; s/^/"/; s/$/"/p
23424
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23426
' <confdefs.h | sed '
23427
s/'"$ac_delim"'/"\\\
23428
"/g' >>$CONFIG_STATUS || ac_write_fail=1
23430
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23431
for (key in D) D_is_set[key] = 1
23434
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23436
split(line, arg, " ")
23437
if (arg[1] == "#") {
23441
defundef = substr(arg[1], 2)
23444
split(mac1, mac2, "(") #)
23446
prefix = substr(line, 1, index(line, defundef) - 1)
23447
if (D_is_set[macro]) {
23448
# Preserve the white space surrounding the "#".
23449
print prefix "define", macro P[macro] D[macro]
23452
# Replace #undef with comments. This is necessary, for example,
23453
# in the case of _POSIX_SOURCE, which is predefined and required
23454
# on some systems where configure will not decide to define it.
23455
if (defundef == "undef") {
23456
print "/*", prefix defundef, macro, "*/"
23464
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23465
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23466
fi # test -n "$CONFIG_HEADERS"
23469
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
23474
:[FHLC]) ac_mode=$ac_tag; continue;;
23476
case $ac_mode$ac_tag in
23478
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23479
:[FH]-) ac_tag=-:-;;
23480
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23497
-) ac_f="$ac_tmp/stdin";;
23498
*) # Look for the file first in the build tree, then in the source tree
23499
# (if the path is not absolute). The absolute path cannot be DOS-style,
23500
# because $ac_f cannot contain `:'.
23504
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23506
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23508
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23509
as_fn_append ac_file_inputs " '$ac_f'"
23512
# Let's still pretend it is `configure' which instantiates (i.e., don't
23513
# use $as_me), people would be surprised to read:
23514
# /* config.h. Generated by config.status. */
23515
configure_input='Generated from '`
23516
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23518
if test x"$ac_file" != x-; then
23519
configure_input="$ac_file. $configure_input"
23520
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23521
$as_echo "$as_me: creating $ac_file" >&6;}
23523
# Neutralize special characters interpreted by sed in replacement strings.
23524
case $configure_input in #(
23525
*\&* | *\|* | *\\* )
23526
ac_sed_conf_input=`$as_echo "$configure_input" |
23527
sed 's/[\\\\&|]/\\\\&/g'`;; #(
23528
*) ac_sed_conf_input=$configure_input;;
23532
*:-:* | *:-) cat >"$ac_tmp/stdin" \
23533
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23538
ac_dir=`$as_dirname -- "$ac_file" ||
23539
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23540
X"$ac_file" : 'X\(//\)[^/]' \| \
23541
X"$ac_file" : 'X\(//\)$' \| \
23542
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23543
$as_echo X"$ac_file" |
23544
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23548
/^X\(\/\/\)[^/].*/{
23561
as_dir="$ac_dir"; as_fn_mkdir_p
23565
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23567
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
23568
# A ".." for each directory in $ac_dir_suffix.
23569
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23570
case $ac_top_builddir_sub in
23571
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23572
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23575
ac_abs_top_builddir=$ac_pwd
23576
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23577
# for backward compatibility:
23578
ac_top_builddir=$ac_top_build_prefix
23581
.) # We are building in place.
23583
ac_top_srcdir=$ac_top_builddir_sub
23584
ac_abs_top_srcdir=$ac_pwd ;;
23585
[\\/]* | ?:[\\/]* ) # Absolute name.
23586
ac_srcdir=$srcdir$ac_dir_suffix;
23587
ac_top_srcdir=$srcdir
23588
ac_abs_top_srcdir=$srcdir ;;
23589
*) # Relative name.
23590
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23591
ac_top_srcdir=$ac_top_build_prefix$srcdir
23592
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23594
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23604
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23605
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23607
ac_MKDIR_P=$MKDIR_P
23609
[\\/$]* | ?:[\\/]* ) ;;
23610
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23614
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23615
# If the template does not know about datarootdir, expand it.
23616
# FIXME: This hack should be removed a few years after 2.60.
23617
ac_datarootdir_hack=; ac_datarootdir_seen=
23628
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
23629
*datarootdir*) ac_datarootdir_seen=yes;;
23630
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23631
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23632
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23634
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23635
ac_datarootdir_hack='
23636
s&@datadir@&$datadir&g
23637
s&@docdir@&$docdir&g
23638
s&@infodir@&$infodir&g
23639
s&@localedir@&$localedir&g
23640
s&@mandir@&$mandir&g
23641
s&\\\${datarootdir}&$datarootdir&g' ;;
23645
# Neutralize VPATH when `$srcdir' = `.'.
23646
# Shell code in configure.ac might set extrasub.
23647
# FIXME: do we really want to maintain this feature?
23648
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23649
ac_sed_extra="$ac_vpsub
23652
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23654
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23655
s|@configure_input@|$ac_sed_conf_input|;t t
23656
s&@top_builddir@&$ac_top_builddir_sub&;t t
23657
s&@top_build_prefix@&$ac_top_build_prefix&;t t
23658
s&@srcdir@&$ac_srcdir&;t t
23659
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23660
s&@top_srcdir@&$ac_top_srcdir&;t t
23661
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23662
s&@builddir@&$ac_builddir&;t t
23663
s&@abs_builddir@&$ac_abs_builddir&;t t
23664
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23665
s&@INSTALL@&$ac_INSTALL&;t t
23666
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23667
$ac_datarootdir_hack
23669
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
23670
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23672
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23673
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
23674
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
23675
"$ac_tmp/out"`; test -z "$ac_out"; } &&
23676
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23677
which seems to be undefined. Please make sure it is defined" >&5
23678
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23679
which seems to be undefined. Please make sure it is defined" >&2;}
23681
rm -f "$ac_tmp/stdin"
23683
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
23684
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
23686
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23692
if test x"$ac_file" != x-; then
23694
$as_echo "/* $configure_input */" \
23695
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23696
} >"$ac_tmp/config.h" \
23697
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23698
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23699
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23700
$as_echo "$as_me: $ac_file is unchanged" >&6;}
23703
mv "$ac_tmp/config.h" "$ac_file" \
23704
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
23707
$as_echo "/* $configure_input */" \
23708
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23709
|| as_fn_error $? "could not create -" "$LINENO" 5
23711
# Compute "$ac_file"'s index in $config_headers.
23714
for _am_header in $config_headers :; do
23715
case $_am_header in
23716
$_am_arg | $_am_arg:* )
23719
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
23722
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23723
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23724
X"$_am_arg" : 'X\(//\)[^/]' \| \
23725
X"$_am_arg" : 'X\(//\)$' \| \
23726
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23727
$as_echo X"$_am_arg" |
23728
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23732
/^X\(\/\/\)[^/].*/{
23744
s/.*/./; q'`/stamp-h$_am_stamp_count
23747
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23748
$as_echo "$as_me: executing $ac_file commands" >&6;}
23753
case $ac_file$ac_mode in
23754
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
23755
# Older Autoconf quotes --file arguments for eval, but not when files
23756
# are listed without --file. Let's play safe and only enable the eval
23757
# if we detect the quoting.
23758
case $CONFIG_FILES in
23759
*\'*) eval set x "$CONFIG_FILES" ;;
23760
*) set x $CONFIG_FILES ;;
23765
# Strip MF so we end up with the name of the file.
23766
mf=`echo "$mf" | sed -e 's/:.*$//'`
23767
# Check whether this is an Automake generated Makefile or not.
23768
# We used to match only the files named 'Makefile.in', but
23769
# some people rename them; so instead we look at the file content.
23770
# Grep'ing the first line is not enough: some people post-process
23771
# each Makefile.in and add a new line on top of each file to say so.
23772
# Grep'ing the whole file is not good either: AIX grep has a line
23773
# limit of 2048, but all sed's we know have understand at least 4000.
23774
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
23775
dirpart=`$as_dirname -- "$mf" ||
23776
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23777
X"$mf" : 'X\(//\)[^/]' \| \
23778
X"$mf" : 'X\(//\)$' \| \
23779
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
23781
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23785
/^X\(\/\/\)[^/].*/{
23801
# Extract the definition of DEPDIR, am__include, and am__quote
23802
# from the Makefile without running 'make'.
23803
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
23804
test -z "$DEPDIR" && continue
23805
am__include=`sed -n 's/^am__include = //p' < "$mf"`
23806
test -z "$am__include" && continue
23807
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
23808
# Find all dependency output files, they are included files with
23809
# $(DEPDIR) in their names. We invoke sed twice because it is the
23810
# simplest approach to changing $(DEPDIR) to its actual value in the
23812
for file in `sed -n "
23813
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
23814
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
23815
# Make sure the directory exists.
23816
test -f "$dirpart/$file" && continue
23817
fdir=`$as_dirname -- "$file" ||
23818
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23819
X"$file" : 'X\(//\)[^/]' \| \
23820
X"$file" : 'X\(//\)$' \| \
23821
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
23822
$as_echo X"$file" |
23823
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23827
/^X\(\/\/\)[^/].*/{
23840
as_dir=$dirpart/$fdir; as_fn_mkdir_p
23841
# echo "creating $dirpart/$file"
23842
echo '# dummy' > "$dirpart/$file"
23849
# See if we are running on zsh, and set the options which allow our
23850
# commands through without removal of \ escapes.
23851
if test -n "${ZSH_VERSION+set}" ; then
23852
setopt NO_GLOB_SUBST
23855
cfgfile="${ofile}T"
23856
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
23859
cat <<_LT_EOF >> "$cfgfile"
23862
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
23863
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
23864
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
23865
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
23867
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
23868
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
23870
# Written by Gordon Matzigkeit, 1996
23872
# This file is part of GNU Libtool.
23874
# GNU Libtool is free software; you can redistribute it and/or
23875
# modify it under the terms of the GNU General Public License as
23876
# published by the Free Software Foundation; either version 2 of
23877
# the License, or (at your option) any later version.
23879
# As a special exception to the GNU General Public License,
23880
# if you distribute this file as part of a program or library that
23881
# is built using GNU Libtool, you may include this file under the
23882
# same distribution terms that you use for the rest of that program.
23884
# GNU Libtool is distributed in the hope that it will be useful,
23885
# but WITHOUT ANY WARRANTY; without even the implied warranty of
23886
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23887
# GNU General Public License for more details.
23889
# You should have received a copy of the GNU General Public License
23890
# along with GNU Libtool; see the file COPYING. If not, a copy
23891
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
23892
# obtained by writing to the Free Software Foundation, Inc.,
23893
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23896
# The names of the tagged configurations supported by this script.
23899
# ### BEGIN LIBTOOL CONFIG
23901
# Which release of libtool.m4 was used?
23902
macro_version=$macro_version
23903
macro_revision=$macro_revision
23905
# Whether or not to build static libraries.
23906
build_old_libs=$enable_static
23908
# Whether or not to build shared libraries.
23909
build_libtool_libs=$enable_shared
23911
# What type of objects to build.
23914
# Whether or not to optimize for fast installation.
23915
fast_install=$enable_fast_install
23917
# Shell to use when invoking shell scripts.
23920
# An echo program that protects backslashes.
23923
# The PATH separator for the build system.
23924
PATH_SEPARATOR=$lt_PATH_SEPARATOR
23927
host_alias=$host_alias
23931
# The build system.
23932
build_alias=$build_alias
23936
# A sed program that does not truncate output.
23939
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
23940
Xsed="\$SED -e 1s/^X//"
23942
# A grep program that handles long lines.
23948
# A literal string matcher.
23951
# A BSD- or MS-compatible name lister.
23954
# Whether we need soft or hard links.
23957
# What is the maximum length of a command?
23958
max_cmd_len=$max_cmd_len
23960
# Object file suffix (normally "o").
23963
# Executable file suffix (normally "").
23966
# whether the shell understands "unset".
23969
# turn spaces into newlines.
23972
# turn newlines into spaces.
23975
# convert \$build file names to \$host format.
23976
to_host_file_cmd=$lt_cv_to_host_file_cmd
23978
# convert \$build files to toolchain format.
23979
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
23981
# An object symbol dumper.
23982
OBJDUMP=$lt_OBJDUMP
23984
# Method to check whether dependent libraries are shared objects.
23985
deplibs_check_method=$lt_deplibs_check_method
23987
# Command to use when deplibs_check_method = "file_magic".
23988
file_magic_cmd=$lt_file_magic_cmd
23990
# How to find potential files when deplibs_check_method = "file_magic".
23991
file_magic_glob=$lt_file_magic_glob
23993
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
23994
want_nocaseglob=$lt_want_nocaseglob
23996
# DLL creation program.
23997
DLLTOOL=$lt_DLLTOOL
23999
# Command to associate shared and link libraries.
24000
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
24005
# Flags to create an archive.
24006
AR_FLAGS=$lt_AR_FLAGS
24008
# How to feed a file listing to the archiver.
24009
archiver_list_spec=$lt_archiver_list_spec
24011
# A symbol stripping program.
24014
# Commands used to install an old-style archive.
24016
old_postinstall_cmds=$lt_old_postinstall_cmds
24017
old_postuninstall_cmds=$lt_old_postuninstall_cmds
24019
# Whether to use a lock for old archive extraction.
24020
lock_old_archive_extraction=$lock_old_archive_extraction
24025
# LTCC compiler flags.
24026
LTCFLAGS=$lt_CFLAGS
24028
# Take the output of nm and produce a listing of raw symbols and C names.
24029
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
24031
# Transform the output of nm in a proper C declaration.
24032
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
24034
# Transform the output of nm in a C name address pair.
24035
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
24037
# Transform the output of nm in a C name address pair when lib prefix is needed.
24038
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
24040
# Specify filename containing input files for \$NM.
24041
nm_file_list_spec=$lt_nm_file_list_spec
24043
# The root where to search for dependent libraries,and in which our libraries should be installed.
24044
lt_sysroot=$lt_sysroot
24046
# The name of the directory that contains temporary libtool files.
24049
# Used to examine libraries when file_magic_cmd begins with "file".
24050
MAGIC_CMD=$MAGIC_CMD
24052
# Must we lock files when doing compilation?
24053
need_locks=$lt_need_locks
24056
MANIFEST_TOOL=$lt_MANIFEST_TOOL
24058
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
24059
DSYMUTIL=$lt_DSYMUTIL
24061
# Tool to change global to local symbols on Mac OS X.
24064
# Tool to manipulate fat objects and archives on Mac OS X.
24067
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
24070
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
24071
OTOOL64=$lt_OTOOL64
24073
# Old archive suffix (normally "a").
24076
# Shared library suffix (normally ".so").
24077
shrext_cmds=$lt_shrext_cmds
24079
# The commands to extract the exported symbol list from a shared archive.
24080
extract_expsyms_cmds=$lt_extract_expsyms_cmds
24082
# Variables whose values should be saved in libtool wrapper scripts and
24083
# restored at link time.
24084
variables_saved_for_relink=$lt_variables_saved_for_relink
24086
# Do we need the "lib" prefix for modules?
24087
need_lib_prefix=$need_lib_prefix
24089
# Do we need a version for libraries?
24090
need_version=$need_version
24092
# Library versioning type.
24093
version_type=$version_type
24095
# Shared library runtime path variable.
24096
runpath_var=$runpath_var
24098
# Shared library path variable.
24099
shlibpath_var=$shlibpath_var
24101
# Is shlibpath searched before the hard-coded library search path?
24102
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
24104
# Format of library name prefix.
24105
libname_spec=$lt_libname_spec
24107
# List of archive names. First name is the real one, the rest are links.
24108
# The last name is the one that the linker finds with -lNAME
24109
library_names_spec=$lt_library_names_spec
24111
# The coded name of the library, if different from the real name.
24112
soname_spec=$lt_soname_spec
24114
# Permission mode override for installation of shared libraries.
24115
install_override_mode=$lt_install_override_mode
24117
# Command to use after installation of a shared archive.
24118
postinstall_cmds=$lt_postinstall_cmds
24120
# Command to use after uninstallation of a shared archive.
24121
postuninstall_cmds=$lt_postuninstall_cmds
24123
# Commands used to finish a libtool library installation in a directory.
24124
finish_cmds=$lt_finish_cmds
24126
# As "finish_cmds", except a single script fragment to be evaled but
24128
finish_eval=$lt_finish_eval
24130
# Whether we should hardcode library paths into libraries.
24131
hardcode_into_libs=$hardcode_into_libs
24133
# Compile-time system search path for libraries.
24134
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
24136
# Run-time system search path for libraries.
24137
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
24139
# Whether dlopen is supported.
24140
dlopen_support=$enable_dlopen
24142
# Whether dlopen of programs is supported.
24143
dlopen_self=$enable_dlopen_self
24145
# Whether dlopen of statically linked programs is supported.
24146
dlopen_self_static=$enable_dlopen_self_static
24148
# Commands to strip libraries.
24149
old_striplib=$lt_old_striplib
24150
striplib=$lt_striplib
24153
# The linker used to build libraries.
24156
# How to create reloadable object files.
24157
reload_flag=$lt_reload_flag
24158
reload_cmds=$lt_reload_cmds
24160
# Commands used to build an old-style archive.
24161
old_archive_cmds=$lt_old_archive_cmds
24163
# A language specific compiler.
24166
# Is the compiler the GNU compiler?
24169
# Compiler flag to turn off builtin functions.
24170
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
24172
# Additional compiler flags for building library objects.
24173
pic_flag=$lt_lt_prog_compiler_pic
24175
# How to pass a linker flag through the compiler.
24176
wl=$lt_lt_prog_compiler_wl
24178
# Compiler flag to prevent dynamic linking.
24179
link_static_flag=$lt_lt_prog_compiler_static
24181
# Does compiler simultaneously support -c and -o options?
24182
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
24184
# Whether or not to add -lc for building shared libraries.
24185
build_libtool_need_lc=$archive_cmds_need_lc
24187
# Whether or not to disallow shared libs when runtime libs are static.
24188
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
24190
# Compiler flag to allow reflexive dlopens.
24191
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
24193
# Compiler flag to generate shared objects directly from archives.
24194
whole_archive_flag_spec=$lt_whole_archive_flag_spec
24196
# Whether the compiler copes with passing no objects directly.
24197
compiler_needs_object=$lt_compiler_needs_object
24199
# Create an old-style archive from a shared archive.
24200
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
24202
# Create a temporary old-style archive to link instead of a shared archive.
24203
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
24205
# Commands used to build a shared archive.
24206
archive_cmds=$lt_archive_cmds
24207
archive_expsym_cmds=$lt_archive_expsym_cmds
24209
# Commands used to build a loadable module if different from building
24210
# a shared archive.
24211
module_cmds=$lt_module_cmds
24212
module_expsym_cmds=$lt_module_expsym_cmds
24214
# Whether we are building with GNU ld or not.
24215
with_gnu_ld=$lt_with_gnu_ld
24217
# Flag that allows shared libraries with undefined symbols to be built.
24218
allow_undefined_flag=$lt_allow_undefined_flag
24220
# Flag that enforces no undefined symbols.
24221
no_undefined_flag=$lt_no_undefined_flag
24223
# Flag to hardcode \$libdir into a binary during linking.
24224
# This must work even if \$libdir does not exist
24225
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
24227
# Whether we need a single "-rpath" flag with a separated argument.
24228
hardcode_libdir_separator=$lt_hardcode_libdir_separator
24230
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24231
# DIR into the resulting binary.
24232
hardcode_direct=$hardcode_direct
24234
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
24235
# DIR into the resulting binary and the resulting library dependency is
24236
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
24237
# library is relocated.
24238
hardcode_direct_absolute=$hardcode_direct_absolute
24240
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
24241
# into the resulting binary.
24242
hardcode_minus_L=$hardcode_minus_L
24244
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
24245
# into the resulting binary.
24246
hardcode_shlibpath_var=$hardcode_shlibpath_var
24248
# Set to "yes" if building a shared library automatically hardcodes DIR
24249
# into the library and all subsequent libraries and executables linked
24251
hardcode_automatic=$hardcode_automatic
24253
# Set to yes if linker adds runtime paths of dependent libraries
24254
# to runtime path list.
24255
inherit_rpath=$inherit_rpath
24257
# Whether libtool must link a program against all its dependency libraries.
24258
link_all_deplibs=$link_all_deplibs
24260
# Set to "yes" if exported symbols are required.
24261
always_export_symbols=$always_export_symbols
24263
# The commands to list exported symbols.
24264
export_symbols_cmds=$lt_export_symbols_cmds
24266
# Symbols that should not be listed in the preloaded symbols.
24267
exclude_expsyms=$lt_exclude_expsyms
24269
# Symbols that must always be exported.
24270
include_expsyms=$lt_include_expsyms
24272
# Commands necessary for linking programs (against libraries) with templates.
24273
prelink_cmds=$lt_prelink_cmds
24275
# Commands necessary for finishing linking programs.
24276
postlink_cmds=$lt_postlink_cmds
24278
# Specify filename containing input files.
24279
file_list_spec=$lt_file_list_spec
24281
# How to hardcode a shared library path into an executable.
24282
hardcode_action=$hardcode_action
24284
# ### END LIBTOOL CONFIG
24290
cat <<\_LT_EOF >> "$cfgfile"
24291
# AIX sometimes has problems with the GCC collect2 program. For some
24292
# reason, if we set the COLLECT_NAMES environment variable, the problems
24293
# vanish in a puff of smoke.
24294
if test "X${COLLECT_NAMES+set}" != Xset; then
24296
export COLLECT_NAMES
24303
ltmain="$ac_aux_dir/ltmain.sh"
24306
# We use sed instead of cat because bash on DJGPP gets confused if
24307
# if finds mixed CR/LF and LF-only lines. Since sed operates in
24308
# text mode, it properly converts lines to CR/LF. This bash problem
24309
# is reportedly fixed, but why not run on old versions too?
24310
sed '$q' "$ltmain" >> "$cfgfile" \
24311
|| (rm -f "$cfgfile"; exit 1)
24313
if test x"$xsi_shell" = xyes; then
24314
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
24318
\ */*) func_dirname_result="${1%/*}${2}" ;;\
24319
\ * ) func_dirname_result="${3}" ;;\
24321
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
24322
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24323
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24324
test 0 -eq $? || _lt_function_replace_fail=:
24327
sed -e '/^func_basename ()$/,/^} # func_basename /c\
24330
\ func_basename_result="${1##*/}"\
24331
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
24332
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24333
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24334
test 0 -eq $? || _lt_function_replace_fail=:
24337
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
24338
func_dirname_and_basename ()\
24341
\ */*) func_dirname_result="${1%/*}${2}" ;;\
24342
\ * ) func_dirname_result="${3}" ;;\
24344
\ func_basename_result="${1##*/}"\
24345
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
24346
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24347
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24348
test 0 -eq $? || _lt_function_replace_fail=:
24351
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
24354
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
24355
\ # positional parameters, so assign one to ordinary parameter first.\
24356
\ func_stripname_result=${3}\
24357
\ func_stripname_result=${func_stripname_result#"${1}"}\
24358
\ func_stripname_result=${func_stripname_result%"${2}"}\
24359
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
24360
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24361
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24362
test 0 -eq $? || _lt_function_replace_fail=:
24365
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
24366
func_split_long_opt ()\
24368
\ func_split_long_opt_name=${1%%=*}\
24369
\ func_split_long_opt_arg=${1#*=}\
24370
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
24371
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24372
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24373
test 0 -eq $? || _lt_function_replace_fail=:
24376
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
24377
func_split_short_opt ()\
24379
\ func_split_short_opt_arg=${1#??}\
24380
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
24381
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
24382
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24383
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24384
test 0 -eq $? || _lt_function_replace_fail=:
24387
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
24391
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
24392
\ *) func_lo2o_result=${1} ;;\
24394
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
24395
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24396
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24397
test 0 -eq $? || _lt_function_replace_fail=:
24400
sed -e '/^func_xform ()$/,/^} # func_xform /c\
24403
func_xform_result=${1%.*}.lo\
24404
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
24405
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24406
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24407
test 0 -eq $? || _lt_function_replace_fail=:
24410
sed -e '/^func_arith ()$/,/^} # func_arith /c\
24413
func_arith_result=$(( $* ))\
24414
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
24415
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24416
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24417
test 0 -eq $? || _lt_function_replace_fail=:
24420
sed -e '/^func_len ()$/,/^} # func_len /c\
24423
func_len_result=${#1}\
24424
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
24425
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24426
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24427
test 0 -eq $? || _lt_function_replace_fail=:
24431
if test x"$lt_shell_append" = xyes; then
24432
sed -e '/^func_append ()$/,/^} # func_append /c\
24435
eval "${1}+=\\${2}"\
24436
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
24437
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24438
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24439
test 0 -eq $? || _lt_function_replace_fail=:
24442
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
24443
func_append_quoted ()\
24445
\ func_quote_for_eval "${2}"\
24446
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
24447
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
24448
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24449
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24450
test 0 -eq $? || _lt_function_replace_fail=:
24453
# Save a `func_append' function call where possible by direct use of '+='
24454
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
24455
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24456
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24457
test 0 -eq $? || _lt_function_replace_fail=:
24459
# Save a `func_append' function call even when '+=' is not available
24460
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
24461
&& mv -f "$cfgfile.tmp" "$cfgfile" \
24462
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
24463
test 0 -eq $? || _lt_function_replace_fail=:
24466
if test x"$_lt_function_replace_fail" = x":"; then
24467
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
24468
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
24472
mv -f "$cfgfile" "$ofile" ||
24473
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
24477
"po-directories":C)
24478
for ac_file in $CONFIG_FILES; do
24479
# Support "outfile[:infile[:infile...]]"
24481
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
24483
# PO directories have a Makefile.in generated from Makefile.in.in.
24484
case "$ac_file" in */Makefile.in)
24485
# Adjust a relative srcdir.
24486
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
24487
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
24488
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
24489
# In autoconf-2.13 it is called $ac_given_srcdir.
24490
# In autoconf-2.50 it is called $srcdir.
24491
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
24492
case "$ac_given_srcdir" in
24493
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
24494
/*) top_srcdir="$ac_given_srcdir" ;;
24495
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
24497
# Treat a directory as a PO directory if and only if it has a
24498
# POTFILES.in file. This allows packages to have multiple PO
24499
# directories under different names or in different locations.
24500
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
24501
rm -f "$ac_dir/POTFILES"
24502
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
24503
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
24504
POMAKEFILEDEPS="POTFILES.in"
24505
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
24506
# on $ac_dir but don't depend on user-specified configuration
24508
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
24509
# The LINGUAS file contains the set of available languages.
24510
if test -n "$OBSOLETE_ALL_LINGUAS"; then
24511
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
24513
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
24514
# Hide the ALL_LINGUAS assigment from automake < 1.5.
24515
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
24516
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
24518
# The set of available languages was given in configure.in.
24519
# Hide the ALL_LINGUAS assigment from automake < 1.5.
24520
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
24523
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
24524
# Compute UPDATEPOFILES
24525
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
24526
# Compute DUMMYPOFILES
24527
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
24529
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
24530
case "$ac_given_srcdir" in
24532
*) srcdirpre='$(srcdir)/' ;;
24538
for lang in $ALL_LINGUAS; do
24539
POFILES="$POFILES $srcdirpre$lang.po"
24540
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
24541
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
24542
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
24544
# CATALOGS depends on both $ac_dir and the user's LINGUAS
24545
# environment variable.
24547
if test -n "$ALL_LINGUAS"; then
24548
for presentlang in $ALL_LINGUAS; do
24550
if test "%UNSET%" != "$LINGUAS"; then
24551
desiredlanguages="$LINGUAS"
24553
desiredlanguages="$ALL_LINGUAS"
24555
for desiredlang in $desiredlanguages; do
24556
# Use the presentlang catalog if desiredlang is
24557
# a. equal to presentlang, or
24558
# b. a variant of presentlang (because in this case,
24559
# presentlang can be used as a fallback for messages
24560
# which are not translated in the desiredlang catalog).
24561
case "$desiredlang" in
24562
"$presentlang"*) useit=yes;;
24565
if test $useit = yes; then
24566
INST_LINGUAS="$INST_LINGUAS $presentlang"
24571
if test -n "$INST_LINGUAS"; then
24572
for lang in $INST_LINGUAS; do
24573
CATALOGS="$CATALOGS $lang.gmo"
24576
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
24577
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
24578
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
24579
if test -f "$f"; then
24581
*.orig | *.bak | *~) ;;
24582
*) cat "$f" >> "$ac_dir/Makefile" ;;
24591
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
24592
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
24594
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
24599
'"s|^| $ac_top_srcdir/|" \
24600
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
24602
sed '/^POTFILES =/,/[^\\]$/ {
24606
' "po/Makefile.in" >"po/Makefile"
24607
rm -f "po/Makefile.tmp"
24608
mv "po/stamp-it.tmp" "po/stamp-it"
24617
ac_clean_files=$ac_clean_files_save
24619
test $ac_write_fail = 0 ||
24620
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
24623
# configure is writing to config.log, and then calls config.status.
24624
# config.status does its own redirection, appending to config.log.
24625
# Unfortunately, on DOS this fails, as config.log is still kept open
24626
# by configure, so config.status won't be able to write to it; its
24627
# output is simply discarded. So we exec the FD to /dev/null,
24628
# effectively closing config.log, so it can be properly (re)opened and
24629
# appended to by config.status. When coming back to configure, we
24630
# need to make the FD available again.
24631
if test "$no_create" != yes; then
24633
ac_config_status_args=
24634
test "$silent" = yes &&
24635
ac_config_status_args="$ac_config_status_args --quiet"
24637
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24639
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
24640
# would make configure fail if this is the last instruction.
24641
$ac_cs_success || as_fn_exit 1
24643
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
24644
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
24645
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
24649
{ $as_echo "$as_me:${as_lineno-$LINENO}: Rhythmbox was configured with the following options:" >&5
24650
$as_echo "$as_me: Rhythmbox was configured with the following options:" >&6;}
24651
if test x"$with_database" = xtree; then
24652
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** Tree database is enabled" >&5
24653
$as_echo "$as_me: ** Tree database is enabled" >&6;}
24655
as_fn_error $? "Unknown database!" "$LINENO" 5
24657
if test x"${with_rhythmdb_debug}" != x0; then
24658
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** RhythmDB sanity checking enabled (may be slow!)" >&5
24659
$as_echo "$as_me: ** RhythmDB sanity checking enabled (may be slow!)" >&6;}
24663
if test x"$enable_mmkeys" != "xyes"; then
24664
{ $as_echo "$as_me:${as_lineno-$LINENO}: Multimedia keys support is disabled" >&5
24665
$as_echo "$as_me: Multimedia keys support is disabled" >&6;}
24667
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** Multimedia keys support is enabled" >&5
24668
$as_echo "$as_me: ** Multimedia keys support is enabled" >&6;}
24671
if test x"$use_ipod" = xyes; then
24672
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** iPod integration enabled" >&5
24673
$as_echo "$as_me: ** iPod integration enabled" >&6;}
24675
{ $as_echo "$as_me:${as_lineno-$LINENO}: iPod integration disabled" >&5
24676
$as_echo "$as_me: iPod integration disabled" >&6;}
24678
if test x"$use_mtp" = xyes; then
24679
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** MTP integration enabled" >&5
24680
$as_echo "$as_me: ** MTP integration enabled" >&6;}
24682
{ $as_echo "$as_me:${as_lineno-$LINENO}: MTP integration disabled" >&5
24683
$as_echo "$as_me: MTP integration disabled" >&6;}
24685
if test x"$have_libbrasero_media" != xno; then
24686
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** CD burning support enabled" >&5
24687
$as_echo "$as_me: ** CD burning support enabled" >&6;}
24689
{ $as_echo "$as_me:${as_lineno-$LINENO}: CD burning support disabled" >&5
24690
$as_echo "$as_me: CD burning support disabled" >&6;}
24692
if test x"$have_libdmapsharing" = xyes; then
24693
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** DAAP (music sharing) support is enabled" >&5
24694
$as_echo "$as_me: ** DAAP (music sharing) support is enabled" >&6;}
24696
{ $as_echo "$as_me:${as_lineno-$LINENO}: DAAP (music sharing) support is disabled" >&5
24697
$as_echo "$as_me: DAAP (music sharing) support is disabled" >&6;}
24699
if test x"$have_libnotify" = xyes; then
24700
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** libnotify support is enabled" >&5
24701
$as_echo "$as_me: ** libnotify support is enabled" >&6;}
24703
{ $as_echo "$as_me:${as_lineno-$LINENO}: libnotify support is disabled" >&5
24704
$as_echo "$as_me: libnotify support is disabled" >&6;}
24706
if test x"$have_webkit" = xyes; then
24707
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** WebKit support is enabled" >&5
24708
$as_echo "$as_me: ** WebKit support is enabled" >&6;}
24710
{ $as_echo "$as_me:${as_lineno-$LINENO}: WebKit support is disabled" >&5
24711
$as_echo "$as_me: WebKit support is disabled" >&6;}
24713
if test x"$use_gudev" = xyes; then
24714
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** GUdev support enabled" >&5
24715
$as_echo "$as_me: ** GUdev support enabled" >&6;}
24716
elif test x"$enable_hal" = xyes; then
24717
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** HAL support enabled" >&5
24718
$as_echo "$as_me: ** HAL support enabled" >&6;}
24720
{ $as_echo "$as_me:${as_lineno-$LINENO}: GUdev support disabled" >&5
24721
$as_echo "$as_me: GUdev support disabled" >&6;}
24723
if test x"$enable_python" = xyes; then
24724
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** Python plugin support enabled" >&5
24725
$as_echo "$as_me: ** Python plugin support enabled" >&6;}
24727
{ $as_echo "$as_me:${as_lineno-$LINENO}: Python plugin support disabled" >&5
24728
$as_echo "$as_me: Python plugin support disabled" >&6;}
24730
if test x"$with_vala" = xyes; then
24731
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** Vala plugin support enabled" >&5
24732
$as_echo "$as_me: ** Vala plugin support enabled" >&6;}
24734
{ $as_echo "$as_me:${as_lineno-$LINENO}: Vala plugin support disabled" >&5
24735
$as_echo "$as_me: Vala plugin support disabled" >&6;}
24737
if test x"$use_libsecret" = xyes; then
24738
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** Libsecret keyring support enabled" >&5
24739
$as_echo "$as_me: ** Libsecret keyring support enabled" >&6;}
24741
{ $as_echo "$as_me:${as_lineno-$LINENO}: Libsecret keyring support disabled" >&5
24742
$as_echo "$as_me: Libsecret keyring support disabled" >&6;}
24744
if test "x$enable_fm_radio" != xno; then
24745
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** FM radio support enabled" >&5
24746
$as_echo "$as_me: ** FM radio support enabled" >&6;}
24748
{ $as_echo "$as_me:${as_lineno-$LINENO}: FM radio support disabled" >&5
24749
$as_echo "$as_me: FM radio support disabled" >&6;}
24752
if test "x$enable_browser_plugin" != xno; then
24753
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** iTunes detection browser plugin (for podcasts) enabled" >&5
24754
$as_echo "$as_me: ** iTunes detection browser plugin (for podcasts) enabled" >&6;}
24756
{ $as_echo "$as_me:${as_lineno-$LINENO}: iTunes detection browser plugin (for podcasts) disabled" >&5
24757
$as_echo "$as_me: iTunes detection browser plugin (for podcasts) disabled" >&6;}
24760
if test "x$have_clutter" = xyes; then
24761
{ $as_echo "$as_me:${as_lineno-$LINENO}: ** Visualizer plugin enabled" >&5
24762
$as_echo "$as_me: ** Visualizer plugin enabled" >&6;}
24764
{ $as_echo "$as_me:${as_lineno-$LINENO}: Visualizer plugin disabled" >&5
24765
$as_echo "$as_me: Visualizer plugin disabled" >&6;}
24768
{ $as_echo "$as_me:${as_lineno-$LINENO}: End options" >&5
24769
$as_echo "$as_me: End options" >&6;}