2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for Rygel 0.12.6.
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
test \$(( 1 + 1 )) = 2 || exit 1
179
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
180
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
183
PATH=/empty FPATH=/empty; export PATH FPATH
184
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
185
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and
250
$0: http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel
251
$0: about your system, including any error possibly output
252
$0: before this message. Then install a modern shell, or
253
$0: manually run the script under such a shell if you do
260
SHELL=${CONFIG_SHELL-/bin/sh}
262
# Unset more variables known to interfere with behavior of common tools.
263
CLICOLOR_FORCE= GREP_OPTIONS=
264
unset CLICOLOR_FORCE GREP_OPTIONS
266
## --------------------- ##
267
## M4sh Shell Functions. ##
268
## --------------------- ##
271
# Portably unset VAR.
274
{ eval $1=; unset $1;}
278
# as_fn_set_status STATUS
279
# -----------------------
280
# Set $? to STATUS, without forking.
288
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
298
# Create "$as_dir" as a directory, including parents if necessary.
303
-*) as_dir=./$as_dir;;
305
test -d "$as_dir" || eval $as_mkdir_p || {
309
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
312
as_dirs="'$as_qdir' $as_dirs"
313
as_dir=`$as_dirname -- "$as_dir" ||
314
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
315
X"$as_dir" : 'X\(//\)[^/]' \| \
316
X"$as_dir" : 'X\(//\)$' \| \
317
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
318
$as_echo X"$as_dir" |
319
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336
test -d "$as_dir" && break
338
test -z "$as_dirs" || eval "mkdir $as_dirs"
339
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
343
# as_fn_append VAR VALUE
344
# ----------------------
345
# Append the text in VALUE to the end of the definition contained in VAR. Take
346
# advantage of any shell optimizations that allow amortized linear growth over
347
# repeated appends, instead of the typical quadratic growth present in naive
349
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
350
eval 'as_fn_append ()
363
# Perform arithmetic evaluation on the ARGs, and store the result in the
364
# global $as_val. Take advantage of shells that can avoid forks. The arguments
365
# must be portable across $(()) and expr.
366
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
374
as_val=`expr "$@" || test $? -eq 1`
379
# as_fn_error STATUS ERROR [LINENO LOG_FD]
380
# ----------------------------------------
381
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
382
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
383
# script with STATUS, using 1 if that was 0.
386
as_status=$1; test $as_status -eq 0 && as_status=1
388
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
389
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
391
$as_echo "$as_me: error: $2" >&2
392
as_fn_exit $as_status
395
if expr a : '\(a\)' >/dev/null 2>&1 &&
396
test "X`expr 00001 : '.*\(...\)'`" = X001; then
402
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
408
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
414
as_me=`$as_basename -- "$0" ||
415
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
416
X"$0" : 'X\(//\)$' \| \
417
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
419
sed '/^.*\/\([^/][^/]*\)\/*$/{
433
# Avoid depending upon Character Ranges.
434
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
435
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
436
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
437
as_cr_digits='0123456789'
438
as_cr_alnum=$as_cr_Letters$as_cr_digits
441
as_lineno_1=$LINENO as_lineno_1a=$LINENO
442
as_lineno_2=$LINENO as_lineno_2a=$LINENO
443
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
444
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
445
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
457
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
461
chmod +x "$as_me.lineno" ||
462
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
464
# Don't try to exec as it changes $[0], causing all sort of problems
465
# (the dirname of $[0] is not the place where we might find the
466
# original and so on. Autoconf is especially sensitive to this).
468
# Exit status is that of the last command.
472
ECHO_C= ECHO_N= ECHO_T=
473
case `echo -n x` in #(((((
475
case `echo 'xy\c'` in
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
478
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
485
rm -f conf$$ conf$$.exe conf$$.file
486
if test -d conf$$.dir; then
487
rm -f conf$$.dir/conf$$.file
490
mkdir conf$$.dir 2>/dev/null
492
if (echo >conf$$.file) 2>/dev/null; then
493
if ln -s conf$$.file conf$$ 2>/dev/null; then
495
# ... but there are two gotchas:
496
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
497
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
498
# In both cases, we have to default to `cp -p'.
499
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501
elif ln conf$$.file conf$$ 2>/dev/null; then
509
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
510
rmdir conf$$.dir 2>/dev/null
512
if mkdir -p . 2>/dev/null; then
513
as_mkdir_p='mkdir -p "$as_dir"'
515
test -d ./-p && rmdir ./-p
519
if test -x / >/dev/null 2>&1; then
522
if ls -dL / >/dev/null 2>&1; then
529
if test -d "$1"; then
535
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
536
???[sx]*):;;*)false;;esac;fi
540
as_executable_p=$as_test_x
542
# Sed expression to map a string onto a valid CPP name.
543
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
545
# Sed expression to map a string onto a valid variable name.
546
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
548
SHELL=${CONFIG_SHELL-/bin/sh}
551
# Use only awk features that work with 7th edition Unix awk (1978).
552
# My, what an old awk you have, Mr. Solaris!
554
while (length(v1) && length(v2)) {
555
# Set d1 to be the next thing to compare from v1, and likewise for d2.
556
# Normally this is a single character, but if v1 and v2 contain digits,
557
# compare them as integers and fractions as strverscmp does.
558
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
559
# Split v1 and v2 into their leading digit string components d1 and d2,
560
# and advance v1 and v2 past the leading digit strings.
561
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
562
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
563
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
564
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
567
# Compare two fractions.
568
while (d1 ~ /^0/ && d2 ~ /^0/) {
569
d1 = substr(d1, 2); len1--
570
d2 = substr(d2, 2); len2--
572
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
573
# The two components differ in length, and the common prefix
574
# contains only leading zeros. Consider the longer to be less.
578
# Otherwise, compare as strings.
583
# A fraction is less than an integer.
588
# An integer is greater than a fraction.
591
# Compare two integers.
597
# The normal case, without worrying about digits.
598
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
599
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
604
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
605
# which mishandles some comparisons of empty strings to integers.
606
if (length(v2)) exit 1
607
if (length(v1)) exit 2
611
test -n "$DJDIR" || exec 7<&0 </dev/null
615
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
616
# so uname gets run too.
617
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
622
ac_default_prefix=/usr/local
624
ac_config_libobj_dir=.
631
# Identity of this package.
633
PACKAGE_TARNAME='rygel'
634
PACKAGE_VERSION='0.12.6'
635
PACKAGE_STRING='Rygel 0.12.6'
636
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel'
637
PACKAGE_URL='http://live.gnome.org/Rygel'
639
ac_unique_file="src/rygel/rygel-root-device.vala"
641
# Factoring default headers for most tests.
642
ac_includes_default="\
644
#ifdef HAVE_SYS_TYPES_H
645
# include <sys/types.h>
647
#ifdef HAVE_SYS_STAT_H
648
# include <sys/stat.h>
654
# ifdef HAVE_STDLIB_H
659
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
664
#ifdef HAVE_STRINGS_H
665
# include <strings.h>
667
#ifdef HAVE_INTTYPES_H
668
# include <inttypes.h>
677
ac_subst_vars='am__EXEEXT_FALSE
690
INTLTOOL_SERVICE_RULE
692
INTLTOOL_SCHEMAS_RULE
694
INTLTOOL_XML_NOMERGE_RULE
699
INTLTOOL_SOUNDLIST_RULE
706
INTLTOOL_DIRECTORY_RULE
707
INTLTOOL_DESKTOP_RULE
741
RYGEL_DEBUG_VALAFLAGS
747
BUILD_GST_LAUNCH_PLUGIN_FALSE
748
BUILD_GST_LAUNCH_PLUGIN_TRUE
749
BUILD_MEDIA_EXPORT_PLUGIN_FALSE
750
BUILD_MEDIA_EXPORT_PLUGIN_TRUE
751
BUILD_MEDIATHEK_PLUGIN_FALSE
752
BUILD_MEDIATHEK_PLUGIN_TRUE
753
BUILD_PLAYBIN_PLUGIN_FALSE
754
BUILD_PLAYBIN_PLUGIN_TRUE
755
BUILD_MPRIS_PLUGIN_FALSE
756
BUILD_MPRIS_PLUGIN_TRUE
757
BUILD_EXTERNAL_PLUGIN_FALSE
758
BUILD_EXTERNAL_PLUGIN_TRUE
759
BUILD_TRACKER_PLUGIN_FALSE
760
BUILD_TRACKER_PLUGIN_TRUE
761
BUILD_TEST_PLUGIN_FALSE
762
BUILD_TEST_PLUGIN_TRUE
773
GSTREAMER_BASE_CFLAGS
815
MAINTAINER_MODE_FALSE
834
INSTALL_STRIP_PROGRAM
887
program_transform_name
900
enable_option_checking
901
enable_dependency_tracking
902
enable_maintainer_mode
911
enable_tracker_plugin
912
enable_external_plugin
914
enable_playbin_plugin
915
enable_mediathek_plugin
916
enable_media_export_plugin
917
enable_gst_launch_plugin
927
ac_precious_vars='build_alias
949
GSTREAMER_BASE_CFLAGS
971
# Initialize some variables set by options.
973
ac_init_version=false
974
ac_unrecognized_opts=
976
# The variables have the same names as the options, with
977
# dashes changed to underlines.
985
program_transform_name=s,x,x,
993
# Installation directory options.
994
# These are left unexpanded so users can "make install exec_prefix=/foo"
995
# and all the variables that are supposed to be based on exec_prefix
996
# by default will actually change.
997
# Use braces instead of parens because sh, perl, etc. also accept them.
998
# (The list follows the same order as the GNU Coding Standards.)
999
bindir='${exec_prefix}/bin'
1000
sbindir='${exec_prefix}/sbin'
1001
libexecdir='${exec_prefix}/libexec'
1002
datarootdir='${prefix}/share'
1003
datadir='${datarootdir}'
1004
sysconfdir='${prefix}/etc'
1005
sharedstatedir='${prefix}/com'
1006
localstatedir='${prefix}/var'
1007
includedir='${prefix}/include'
1008
oldincludedir='/usr/include'
1009
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010
infodir='${datarootdir}/info'
1015
libdir='${exec_prefix}/lib'
1016
localedir='${datarootdir}/locale'
1017
mandir='${datarootdir}/man'
1023
# If the previous option needs an argument, assign it.
1024
if test -n "$ac_prev"; then
1025
eval $ac_prev=\$ac_option
1031
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1036
# Accept the important Cygnus configure options, so we can diagnose typos.
1038
case $ac_dashdash$ac_option in
1042
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1044
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045
bindir=$ac_optarg ;;
1047
-build | --build | --buil | --bui | --bu)
1048
ac_prev=build_alias ;;
1049
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050
build_alias=$ac_optarg ;;
1052
-cache-file | --cache-file | --cache-fil | --cache-fi \
1053
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054
ac_prev=cache_file ;;
1055
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057
cache_file=$ac_optarg ;;
1059
--config-cache | -C)
1060
cache_file=config.cache ;;
1062
-datadir | --datadir | --datadi | --datad)
1064
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1065
datadir=$ac_optarg ;;
1067
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068
| --dataroo | --dataro | --datar)
1069
ac_prev=datarootdir ;;
1070
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072
datarootdir=$ac_optarg ;;
1074
-disable-* | --disable-*)
1075
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076
# Reject names that are not valid shell variable names.
1077
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078
as_fn_error $? "invalid feature name: $ac_useropt"
1079
ac_useropt_orig=$ac_useropt
1080
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081
case $ac_user_opts in
1083
"enable_$ac_useropt"
1085
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086
ac_unrecognized_sep=', ';;
1088
eval enable_$ac_useropt=no ;;
1090
-docdir | --docdir | --docdi | --doc | --do)
1092
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093
docdir=$ac_optarg ;;
1095
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1097
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098
dvidir=$ac_optarg ;;
1100
-enable-* | --enable-*)
1101
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102
# Reject names that are not valid shell variable names.
1103
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104
as_fn_error $? "invalid feature name: $ac_useropt"
1105
ac_useropt_orig=$ac_useropt
1106
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107
case $ac_user_opts in
1109
"enable_$ac_useropt"
1111
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112
ac_unrecognized_sep=', ';;
1114
eval enable_$ac_useropt=\$ac_optarg ;;
1116
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118
| --exec | --exe | --ex)
1119
ac_prev=exec_prefix ;;
1120
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122
| --exec=* | --exe=* | --ex=*)
1123
exec_prefix=$ac_optarg ;;
1125
-gas | --gas | --ga | --g)
1126
# Obsolete; use --with-gas.
1129
-help | --help | --hel | --he | -h)
1130
ac_init_help=long ;;
1131
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132
ac_init_help=recursive ;;
1133
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134
ac_init_help=short ;;
1136
-host | --host | --hos | --ho)
1137
ac_prev=host_alias ;;
1138
-host=* | --host=* | --hos=* | --ho=*)
1139
host_alias=$ac_optarg ;;
1141
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1143
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1145
htmldir=$ac_optarg ;;
1147
-includedir | --includedir | --includedi | --included | --include \
1148
| --includ | --inclu | --incl | --inc)
1149
ac_prev=includedir ;;
1150
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151
| --includ=* | --inclu=* | --incl=* | --inc=*)
1152
includedir=$ac_optarg ;;
1154
-infodir | --infodir | --infodi | --infod | --info | --inf)
1156
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157
infodir=$ac_optarg ;;
1159
-libdir | --libdir | --libdi | --libd)
1161
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1162
libdir=$ac_optarg ;;
1164
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165
| --libexe | --libex | --libe)
1166
ac_prev=libexecdir ;;
1167
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168
| --libexe=* | --libex=* | --libe=*)
1169
libexecdir=$ac_optarg ;;
1171
-localedir | --localedir | --localedi | --localed | --locale)
1172
ac_prev=localedir ;;
1173
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174
localedir=$ac_optarg ;;
1176
-localstatedir | --localstatedir | --localstatedi | --localstated \
1177
| --localstate | --localstat | --localsta | --localst | --locals)
1178
ac_prev=localstatedir ;;
1179
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181
localstatedir=$ac_optarg ;;
1183
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1185
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186
mandir=$ac_optarg ;;
1188
-nfp | --nfp | --nf)
1189
# Obsolete; use --without-fp.
1192
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193
| --no-cr | --no-c | -n)
1196
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1200
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202
| --oldin | --oldi | --old | --ol | --o)
1203
ac_prev=oldincludedir ;;
1204
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207
oldincludedir=$ac_optarg ;;
1209
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1211
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212
prefix=$ac_optarg ;;
1214
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1215
| --program-pre | --program-pr | --program-p)
1216
ac_prev=program_prefix ;;
1217
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1218
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219
program_prefix=$ac_optarg ;;
1221
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1222
| --program-suf | --program-su | --program-s)
1223
ac_prev=program_suffix ;;
1224
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1225
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226
program_suffix=$ac_optarg ;;
1228
-program-transform-name | --program-transform-name \
1229
| --program-transform-nam | --program-transform-na \
1230
| --program-transform-n | --program-transform- \
1231
| --program-transform | --program-transfor \
1232
| --program-transfo | --program-transf \
1233
| --program-trans | --program-tran \
1234
| --progr-tra | --program-tr | --program-t)
1235
ac_prev=program_transform_name ;;
1236
-program-transform-name=* | --program-transform-name=* \
1237
| --program-transform-nam=* | --program-transform-na=* \
1238
| --program-transform-n=* | --program-transform-=* \
1239
| --program-transform=* | --program-transfor=* \
1240
| --program-transfo=* | --program-transf=* \
1241
| --program-trans=* | --program-tran=* \
1242
| --progr-tra=* | --program-tr=* | --program-t=*)
1243
program_transform_name=$ac_optarg ;;
1245
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1247
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248
pdfdir=$ac_optarg ;;
1250
-psdir | --psdir | --psdi | --psd | --ps)
1252
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1255
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256
| -silent | --silent | --silen | --sile | --sil)
1259
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1261
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1263
sbindir=$ac_optarg ;;
1265
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1266
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267
| --sharedst | --shareds | --shared | --share | --shar \
1269
ac_prev=sharedstatedir ;;
1270
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1274
sharedstatedir=$ac_optarg ;;
1276
-site | --site | --sit)
1278
-site=* | --site=* | --sit=*)
1281
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1283
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284
srcdir=$ac_optarg ;;
1286
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287
| --syscon | --sysco | --sysc | --sys | --sy)
1288
ac_prev=sysconfdir ;;
1289
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291
sysconfdir=$ac_optarg ;;
1293
-target | --target | --targe | --targ | --tar | --ta | --t)
1294
ac_prev=target_alias ;;
1295
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296
target_alias=$ac_optarg ;;
1298
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1301
-version | --version | --versio | --versi | --vers | -V)
1302
ac_init_version=: ;;
1305
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306
# Reject names that are not valid shell variable names.
1307
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308
as_fn_error $? "invalid package name: $ac_useropt"
1309
ac_useropt_orig=$ac_useropt
1310
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311
case $ac_user_opts in
1315
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316
ac_unrecognized_sep=', ';;
1318
eval with_$ac_useropt=\$ac_optarg ;;
1320
-without-* | --without-*)
1321
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322
# Reject names that are not valid shell variable names.
1323
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324
as_fn_error $? "invalid package name: $ac_useropt"
1325
ac_useropt_orig=$ac_useropt
1326
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327
case $ac_user_opts in
1331
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332
ac_unrecognized_sep=', ';;
1334
eval with_$ac_useropt=no ;;
1337
# Obsolete; use --with-x.
1340
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341
| --x-incl | --x-inc | --x-in | --x-i)
1342
ac_prev=x_includes ;;
1343
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345
x_includes=$ac_optarg ;;
1347
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1348
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349
ac_prev=x_libraries ;;
1350
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352
x_libraries=$ac_optarg ;;
1354
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1355
Try \`$0 --help' for more information"
1359
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360
# Reject names that are not valid shell variable names.
1361
case $ac_envvar in #(
1362
'' | [0-9]* | *[!_$as_cr_alnum]* )
1363
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1365
eval $ac_envvar=\$ac_optarg
1366
export $ac_envvar ;;
1369
# FIXME: should be removed in autoconf 3.0.
1370
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1379
if test -n "$ac_prev"; then
1380
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381
as_fn_error $? "missing argument to $ac_option"
1384
if test -n "$ac_unrecognized_opts"; then
1385
case $enable_option_checking in
1387
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1392
# Check all directory arguments for consistency.
1393
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394
datadir sysconfdir sharedstatedir localstatedir includedir \
1395
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396
libdir localedir mandir
1398
eval ac_val=\$$ac_var
1399
# Remove trailing slashes.
1402
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403
eval $ac_var=\$ac_val;;
1405
# Be sure to have absolute directory names.
1407
[\\/$]* | ?:[\\/]* ) continue;;
1408
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1410
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1413
# There might be people who depend on the old broken behavior: `$host'
1414
# used to hold the argument of --host etc.
1415
# FIXME: To remove some day.
1418
target=$target_alias
1420
# FIXME: To remove some day.
1421
if test "x$host_alias" != x; then
1422
if test "x$build_alias" = x; then
1423
cross_compiling=maybe
1424
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1425
If a cross compiler is detected then cross compile mode will be used" >&2
1426
elif test "x$build_alias" != "x$host_alias"; then
1432
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1434
test "$silent" = yes && exec 6>/dev/null
1437
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1438
ac_ls_di=`ls -di .` &&
1439
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1440
as_fn_error $? "working directory cannot be determined"
1441
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442
as_fn_error $? "pwd does not report name of working directory"
1445
# Find the source files, if location was not specified.
1446
if test -z "$srcdir"; then
1447
ac_srcdir_defaulted=yes
1448
# Try the directory containing this script, then the parent directory.
1449
ac_confdir=`$as_dirname -- "$as_myself" ||
1450
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451
X"$as_myself" : 'X\(//\)[^/]' \| \
1452
X"$as_myself" : 'X\(//\)$' \| \
1453
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454
$as_echo X"$as_myself" |
1455
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473
if test ! -r "$srcdir/$ac_unique_file"; then
1477
ac_srcdir_defaulted=no
1479
if test ! -r "$srcdir/$ac_unique_file"; then
1480
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1483
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1485
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1487
# When building in place, set srcdir=.
1488
if test "$ac_abs_confdir" = "$ac_pwd"; then
1491
# Remove unnecessary trailing slashes from srcdir.
1492
# Double slashes in file names in object file debugging info
1493
# mess up M-x gdb in Emacs.
1495
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1497
for ac_var in $ac_precious_vars; do
1498
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499
eval ac_env_${ac_var}_value=\$${ac_var}
1500
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1505
# Report the --help message.
1507
if test "$ac_init_help" = "long"; then
1508
# Omit some internal or obsolete options to make the list less imposing.
1509
# This message is too long to be a string in the A/UX 3.1 sh.
1511
\`configure' configures Rygel 0.12.6 to adapt to many kinds of systems.
1513
Usage: $0 [OPTION]... [VAR=VALUE]...
1515
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516
VAR=VALUE. See below for descriptions of some of the useful variables.
1518
Defaults for the options are specified in brackets.
1521
-h, --help display this help and exit
1522
--help=short display options specific to this package
1523
--help=recursive display the short help of all the included packages
1524
-V, --version display version information and exit
1525
-q, --quiet, --silent do not print \`checking ...' messages
1526
--cache-file=FILE cache test results in FILE [disabled]
1527
-C, --config-cache alias for \`--cache-file=config.cache'
1528
-n, --no-create do not create output files
1529
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1531
Installation directories:
1532
--prefix=PREFIX install architecture-independent files in PREFIX
1533
[$ac_default_prefix]
1534
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1537
By default, \`make install' will install all the files in
1538
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1539
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540
for instance \`--prefix=\$HOME'.
1542
For better control, use the options below.
1544
Fine tuning of the installation directories:
1545
--bindir=DIR user executables [EPREFIX/bin]
1546
--sbindir=DIR system admin executables [EPREFIX/sbin]
1547
--libexecdir=DIR program executables [EPREFIX/libexec]
1548
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1549
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1550
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1551
--libdir=DIR object code libraries [EPREFIX/lib]
1552
--includedir=DIR C header files [PREFIX/include]
1553
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1554
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1555
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1556
--infodir=DIR info documentation [DATAROOTDIR/info]
1557
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1558
--mandir=DIR man documentation [DATAROOTDIR/man]
1559
--docdir=DIR documentation root [DATAROOTDIR/doc/rygel]
1560
--htmldir=DIR html documentation [DOCDIR]
1561
--dvidir=DIR dvi documentation [DOCDIR]
1562
--pdfdir=DIR pdf documentation [DOCDIR]
1563
--psdir=DIR ps documentation [DOCDIR]
1569
--program-prefix=PREFIX prepend PREFIX to installed program names
1570
--program-suffix=SUFFIX append SUFFIX to installed program names
1571
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1574
--build=BUILD configure for building on BUILD [guessed]
1575
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1579
if test -n "$ac_init_help"; then
1580
case $ac_init_help in
1581
short | recursive ) echo "Configuration of Rygel 0.12.6:";;
1586
--disable-option-checking ignore unrecognized --enable/--with options
1587
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1588
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1589
--disable-dependency-tracking speeds up one-time build
1590
--enable-dependency-tracking do not reject slow dependency extractors
1591
--disable-maintainer-mode disable make rules and dependencies not useful
1592
(and sometimes confusing) to the casual installer
1593
--enable-static[=PKGS] build static libraries [default=no]
1594
--enable-shared[=PKGS] build shared libraries [default=yes]
1595
--enable-fast-install[=PKGS]
1596
optimize for fast installation [default=yes]
1597
--disable-libtool-lock avoid locking (might break parallel builds)
1598
--enable-test-plugin enable Test plugin
1599
--enable-tracker-plugin enable Tracker plugin
1600
--enable-external-plugin
1601
enable MediaServer2 DBus consumer plugin
1602
--enable-mpris-plugin enable MPRIS2 DBus consumer plugin
1603
--enable-playbin-plugin enable GStreamer playbin plugin
1604
--enable-mediathek-plugin
1605
enable ZDF Mediathek plugin
1606
--enable-media-export-plugin
1607
enable MediaExport plugin
1608
--enable-gst-launch-plugin
1609
enable GStreamer launchline plugin
1610
--enable-vala enable checks for vala
1611
--enable-strict-valac enable strict Vala compiler
1612
--enable-debug enable debugging
1613
--enable-strict-cc enable strict C compiler
1614
--enable-uninstalled run uninstalled
1615
--disable-nls do not use Native Language Support
1616
--enable-silent-rules less verbose build output (undo: `make V=1')
1617
--disable-silent-rules verbose build output (undo: `make V=0')
1620
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1621
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1622
--with-pic try to use only PIC/non-PIC objects [default=use
1624
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1625
--with-sysroot=DIR Search for dependent libraries within DIR
1626
(or the compiler's sysroot if not specified).
1627
--without-ui Do not build UI applications
1629
Some influential environment variables:
1630
CC C compiler command
1631
CFLAGS C compiler flags
1632
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1633
nonstandard directory <lib dir>
1634
LIBS libraries to pass to the linker, e.g. -l<library>
1635
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1636
you have headers in a nonstandard directory <include dir>
1638
PKG_CONFIG path to pkg-config utility
1640
directories to add to pkg-config's search path
1642
path overriding pkg-config's built-in search path
1644
C compiler flags for LIBGSSDP, overriding pkg-config
1646
linker flags for LIBGSSDP, overriding pkg-config
1648
C compiler flags for LIBGUPNP, overriding pkg-config
1650
linker flags for LIBGUPNP, overriding pkg-config
1652
C compiler flags for LIBGUPNP_AV, overriding pkg-config
1654
linker flags for LIBGUPNP_AV, overriding pkg-config
1655
LIBGUPNP_DLNA_CFLAGS
1656
C compiler flags for LIBGUPNP_DLNA, overriding pkg-config
1658
linker flags for LIBGUPNP_DLNA, overriding pkg-config
1660
C compiler flags for LIBGSTREAMER, overriding pkg-config
1662
linker flags for LIBGSTREAMER, overriding pkg-config
1663
GSTREAMER_BASE_CFLAGS
1664
C compiler flags for GSTREAMER_BASE, overriding pkg-config
1666
linker flags for GSTREAMER_BASE, overriding pkg-config
1668
C compiler flags for LIBGIO, overriding pkg-config
1669
LIBGIO_LIBS linker flags for LIBGIO, overriding pkg-config
1670
GEE_CFLAGS C compiler flags for GEE, overriding pkg-config
1671
GEE_LIBS linker flags for GEE, overriding pkg-config
1672
UUID_CFLAGS C compiler flags for UUID, overriding pkg-config
1673
UUID_LIBS linker flags for UUID, overriding pkg-config
1675
C compiler flags for LIBSOUP, overriding pkg-config
1677
linker flags for LIBSOUP, overriding pkg-config
1679
C compiler flags for GUPNP_VALA, overriding pkg-config
1681
linker flags for GUPNP_VALA, overriding pkg-config
1682
GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
1683
GTK_LIBS linker flags for GTK, overriding pkg-config
1685
C compiler flags for LIBSQLITE3, overriding pkg-config
1687
linker flags for LIBSQLITE3, overriding pkg-config
1688
GSTREAMER_TAG_CFLAGS
1689
C compiler flags for GSTREAMER_TAG, overriding pkg-config
1691
linker flags for GSTREAMER_TAG, overriding pkg-config
1692
GSTREAMER_APP_CFLAGS
1693
C compiler flags for GSTREAMER_APP, overriding pkg-config
1695
linker flags for GSTREAMER_APP, overriding pkg-config
1697
Use these variables to override the choices made by `configure' or to help
1698
it to find libraries and programs with nonstandard names/locations.
1700
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
1701
Rygel home page: <http://live.gnome.org/Rygel>.
1706
if test "$ac_init_help" = "recursive"; then
1707
# If there are subdirs, report their specific --help.
1708
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1709
test -d "$ac_dir" ||
1710
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1715
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1717
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1718
# A ".." for each directory in $ac_dir_suffix.
1719
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1720
case $ac_top_builddir_sub in
1721
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1722
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1725
ac_abs_top_builddir=$ac_pwd
1726
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1727
# for backward compatibility:
1728
ac_top_builddir=$ac_top_build_prefix
1731
.) # We are building in place.
1733
ac_top_srcdir=$ac_top_builddir_sub
1734
ac_abs_top_srcdir=$ac_pwd ;;
1735
[\\/]* | ?:[\\/]* ) # Absolute name.
1736
ac_srcdir=$srcdir$ac_dir_suffix;
1737
ac_top_srcdir=$srcdir
1738
ac_abs_top_srcdir=$srcdir ;;
1740
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1741
ac_top_srcdir=$ac_top_build_prefix$srcdir
1742
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1744
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1746
cd "$ac_dir" || { ac_status=$?; continue; }
1747
# Check for guested configure.
1748
if test -f "$ac_srcdir/configure.gnu"; then
1750
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1751
elif test -f "$ac_srcdir/configure"; then
1753
$SHELL "$ac_srcdir/configure" --help=recursive
1755
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1757
cd "$ac_pwd" || { ac_status=$?; break; }
1761
test -n "$ac_init_help" && exit $ac_status
1762
if $ac_init_version; then
1764
Rygel configure 0.12.6
1765
generated by GNU Autoconf 2.68
1767
Copyright (C) 2010 Free Software Foundation, Inc.
1768
This configure script is free software; the Free Software Foundation
1769
gives unlimited permission to copy, distribute and modify it.
1774
## ------------------------ ##
1775
## Autoconf initialization. ##
1776
## ------------------------ ##
1778
# ac_fn_c_try_compile LINENO
1779
# --------------------------
1780
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1781
ac_fn_c_try_compile ()
1783
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784
rm -f conftest.$ac_objext
1785
if { { ac_try="$ac_compile"
1787
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788
*) ac_try_echo=$ac_try;;
1790
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791
$as_echo "$ac_try_echo"; } >&5
1792
(eval "$ac_compile") 2>conftest.err
1794
if test -s conftest.err; then
1795
grep -v '^ *+' conftest.err >conftest.er1
1796
cat conftest.er1 >&5
1797
mv -f conftest.er1 conftest.err
1799
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800
test $ac_status = 0; } && {
1801
test -z "$ac_c_werror_flag" ||
1802
test ! -s conftest.err
1803
} && test -s conftest.$ac_objext; then :
1806
$as_echo "$as_me: failed program was:" >&5
1807
sed 's/^/| /' conftest.$ac_ext >&5
1811
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1812
as_fn_set_status $ac_retval
1814
} # ac_fn_c_try_compile
1816
# ac_fn_c_try_link LINENO
1817
# -----------------------
1818
# Try to link conftest.$ac_ext, and return whether this succeeded.
1821
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822
rm -f conftest.$ac_objext conftest$ac_exeext
1823
if { { ac_try="$ac_link"
1825
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826
*) ac_try_echo=$ac_try;;
1828
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829
$as_echo "$ac_try_echo"; } >&5
1830
(eval "$ac_link") 2>conftest.err
1832
if test -s conftest.err; then
1833
grep -v '^ *+' conftest.err >conftest.er1
1834
cat conftest.er1 >&5
1835
mv -f conftest.er1 conftest.err
1837
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838
test $ac_status = 0; } && {
1839
test -z "$ac_c_werror_flag" ||
1840
test ! -s conftest.err
1841
} && test -s conftest$ac_exeext && {
1842
test "$cross_compiling" = yes ||
1843
$as_test_x conftest$ac_exeext
1847
$as_echo "$as_me: failed program was:" >&5
1848
sed 's/^/| /' conftest.$ac_ext >&5
1852
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854
# interfere with the next link command; also delete a directory that is
1855
# left behind by Apple's compiler. We do this before executing the actions.
1856
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858
as_fn_set_status $ac_retval
1860
} # ac_fn_c_try_link
1862
# ac_fn_c_try_cpp LINENO
1863
# ----------------------
1864
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1867
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868
if { { ac_try="$ac_cpp conftest.$ac_ext"
1870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1871
*) ac_try_echo=$ac_try;;
1873
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874
$as_echo "$ac_try_echo"; } >&5
1875
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1877
if test -s conftest.err; then
1878
grep -v '^ *+' conftest.err >conftest.er1
1879
cat conftest.er1 >&5
1880
mv -f conftest.er1 conftest.err
1882
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883
test $ac_status = 0; } > conftest.i && {
1884
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1885
test ! -s conftest.err
1889
$as_echo "$as_me: failed program was:" >&5
1890
sed 's/^/| /' conftest.$ac_ext >&5
1894
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
as_fn_set_status $ac_retval
1899
# ac_fn_c_try_run LINENO
1900
# ----------------------
1901
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1902
# that executables *can* be run.
1905
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906
if { { ac_try="$ac_link"
1908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909
*) ac_try_echo=$ac_try;;
1911
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912
$as_echo "$ac_try_echo"; } >&5
1913
(eval "$ac_link") 2>&5
1915
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1917
{ { case "(($ac_try" in
1918
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919
*) ac_try_echo=$ac_try;;
1921
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922
$as_echo "$ac_try_echo"; } >&5
1923
(eval "$ac_try") 2>&5
1925
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926
test $ac_status = 0; }; }; then :
1929
$as_echo "$as_me: program exited with status $ac_status" >&5
1930
$as_echo "$as_me: failed program was:" >&5
1931
sed 's/^/| /' conftest.$ac_ext >&5
1933
ac_retval=$ac_status
1935
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1936
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1937
as_fn_set_status $ac_retval
1941
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1942
# -------------------------------------------------------
1943
# Tests whether HEADER exists and can be compiled using the include files in
1944
# INCLUDES, setting the cache variable VAR accordingly.
1945
ac_fn_c_check_header_compile ()
1947
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949
$as_echo_n "checking for $2... " >&6; }
1950
if eval \${$3+:} false; then :
1951
$as_echo_n "(cached) " >&6
1953
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1954
/* end confdefs.h. */
1958
if ac_fn_c_try_compile "$LINENO"; then :
1963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1967
$as_echo "$ac_res" >&6; }
1968
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970
} # ac_fn_c_check_header_compile
1972
# ac_fn_c_check_func LINENO FUNC VAR
1973
# ----------------------------------
1974
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1975
ac_fn_c_check_func ()
1977
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1979
$as_echo_n "checking for $2... " >&6; }
1980
if eval \${$3+:} false; then :
1981
$as_echo_n "(cached) " >&6
1983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1984
/* end confdefs.h. */
1985
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1986
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1987
#define $2 innocuous_$2
1989
/* System header to define __stub macros and hopefully few prototypes,
1990
which can conflict with char $2 (); below.
1991
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1992
<limits.h> exists even on freestanding compilers. */
1995
# include <limits.h>
1997
# include <assert.h>
2002
/* Override any GCC internal prototype to avoid an error.
2003
Use char because int might match the return type of a GCC
2004
builtin and then its argument prototype would still apply. */
2009
/* The GNU C library defines this for functions which it implements
2010
to always fail with ENOSYS. Some functions are actually named
2011
something starting with __ and the normal name is an alias. */
2012
#if defined __stub_$2 || defined __stub___$2
2024
if ac_fn_c_try_link "$LINENO"; then :
2029
rm -f core conftest.err conftest.$ac_objext \
2030
conftest$ac_exeext conftest.$ac_ext
2033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2034
$as_echo "$ac_res" >&6; }
2035
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2037
} # ac_fn_c_check_func
2039
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2040
# -------------------------------------------------------
2041
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2042
# the include files in INCLUDES and setting the cache variable VAR
2044
ac_fn_c_check_header_mongrel ()
2046
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047
if eval \${$3+:} false; then :
2048
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2049
$as_echo_n "checking for $2... " >&6; }
2050
if eval \${$3+:} false; then :
2051
$as_echo_n "(cached) " >&6
2054
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2055
$as_echo "$ac_res" >&6; }
2057
# Is the header compilable?
2058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2059
$as_echo_n "checking $2 usability... " >&6; }
2060
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061
/* end confdefs.h. */
2065
if ac_fn_c_try_compile "$LINENO"; then :
2066
ac_header_compiler=yes
2068
ac_header_compiler=no
2070
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2072
$as_echo "$ac_header_compiler" >&6; }
2074
# Is the header present?
2075
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2076
$as_echo_n "checking $2 presence... " >&6; }
2077
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078
/* end confdefs.h. */
2081
if ac_fn_c_try_cpp "$LINENO"; then :
2082
ac_header_preproc=yes
2084
ac_header_preproc=no
2086
rm -f conftest.err conftest.i conftest.$ac_ext
2087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2088
$as_echo "$ac_header_preproc" >&6; }
2090
# So? What about this header?
2091
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2093
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2094
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2095
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2096
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2099
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2100
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2101
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2102
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2103
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2104
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2105
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2106
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2107
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2108
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2109
( $as_echo "## -------------------------------------------------------------------- ##
2110
## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel ##
2111
## -------------------------------------------------------------------- ##"
2112
) | sed "s/^/$as_me: WARNING: /" >&2
2115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2116
$as_echo_n "checking for $2... " >&6; }
2117
if eval \${$3+:} false; then :
2118
$as_echo_n "(cached) " >&6
2120
eval "$3=\$ac_header_compiler"
2123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2124
$as_echo "$ac_res" >&6; }
2126
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128
} # ac_fn_c_check_header_mongrel
2129
cat >config.log <<_ACEOF
2130
This file contains any messages produced by compilers while
2131
running configure, to aid debugging if configure makes a mistake.
2133
It was created by Rygel $as_me 0.12.6, which was
2134
generated by GNU Autoconf 2.68. Invocation command line was
2146
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2147
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2148
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2149
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2150
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2152
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2153
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2155
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2156
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2157
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2158
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2159
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2160
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2161
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2165
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169
test -z "$as_dir" && as_dir=.
2170
$as_echo "PATH: $as_dir"
2186
# Keep a trace of the command line.
2187
# Strip out --no-create and --no-recursion so they do not pile up.
2188
# Strip out --silent because we don't want to record it for future runs.
2189
# Also quote any args containing shell meta-characters.
2190
# Make two passes to allow for proper duplicate-argument suppression.
2194
ac_must_keep_next=false
2200
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2201
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2202
| -silent | --silent | --silen | --sile | --sil)
2205
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2208
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2210
as_fn_append ac_configure_args1 " '$ac_arg'"
2211
if test $ac_must_keep_next = true; then
2212
ac_must_keep_next=false # Got value, back to normal.
2215
*=* | --config-cache | -C | -disable-* | --disable-* \
2216
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2217
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2218
| -with-* | --with-* | -without-* | --without-* | --x)
2219
case "$ac_configure_args0 " in
2220
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2223
-* ) ac_must_keep_next=true ;;
2226
as_fn_append ac_configure_args " '$ac_arg'"
2231
{ ac_configure_args0=; unset ac_configure_args0;}
2232
{ ac_configure_args1=; unset ac_configure_args1;}
2234
# When interrupted or exit'd, cleanup temporary files, and complete
2235
# config.log. We remove comments because anyway the quotes in there
2236
# would cause problems or look ugly.
2237
# WARNING: Use '\'' to represent an apostrophe within the trap.
2238
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2239
trap 'exit_status=$?
2240
# Save into config.log some information that might help in debugging.
2244
$as_echo "## ---------------- ##
2245
## Cache variables. ##
2246
## ---------------- ##"
2248
# The following way of writing the cache mishandles newlines in values,
2250
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2251
eval ac_val=\$$ac_var
2255
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2256
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2259
_ | IFS | as_nl) ;; #(
2260
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2261
*) { eval $ac_var=; unset $ac_var;} ;;
2266
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2267
*${as_nl}ac_space=\ *)
2269
"s/'\''/'\''\\\\'\'''\''/g;
2270
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2273
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2280
$as_echo "## ----------------- ##
2281
## Output variables. ##
2282
## ----------------- ##"
2284
for ac_var in $ac_subst_vars
2286
eval ac_val=\$$ac_var
2288
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2290
$as_echo "$ac_var='\''$ac_val'\''"
2294
if test -n "$ac_subst_files"; then
2295
$as_echo "## ------------------- ##
2296
## File substitutions. ##
2297
## ------------------- ##"
2299
for ac_var in $ac_subst_files
2301
eval ac_val=\$$ac_var
2303
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2305
$as_echo "$ac_var='\''$ac_val'\''"
2310
if test -s confdefs.h; then
2311
$as_echo "## ----------- ##
2318
test "$ac_signal" != 0 &&
2319
$as_echo "$as_me: caught signal $ac_signal"
2320
$as_echo "$as_me: exit $exit_status"
2322
rm -f core *.core core.conftest.* &&
2323
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2326
for ac_signal in 1 2 13 15; do
2327
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2331
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2332
rm -f -r conftest* confdefs.h
2334
$as_echo "/* confdefs.h */" > confdefs.h
2336
# Predefined preprocessor variables.
2338
cat >>confdefs.h <<_ACEOF
2339
#define PACKAGE_NAME "$PACKAGE_NAME"
2342
cat >>confdefs.h <<_ACEOF
2343
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2346
cat >>confdefs.h <<_ACEOF
2347
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2350
cat >>confdefs.h <<_ACEOF
2351
#define PACKAGE_STRING "$PACKAGE_STRING"
2354
cat >>confdefs.h <<_ACEOF
2355
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2358
cat >>confdefs.h <<_ACEOF
2359
#define PACKAGE_URL "$PACKAGE_URL"
2363
# Let the site file select an alternate cache file if it wants to.
2364
# Prefer an explicitly selected file to automatically selected ones.
2367
if test -n "$CONFIG_SITE"; then
2368
# We do not want a PATH search for config.site.
2369
case $CONFIG_SITE in #((
2370
-*) ac_site_file1=./$CONFIG_SITE;;
2371
*/*) ac_site_file1=$CONFIG_SITE;;
2372
*) ac_site_file1=./$CONFIG_SITE;;
2374
elif test "x$prefix" != xNONE; then
2375
ac_site_file1=$prefix/share/config.site
2376
ac_site_file2=$prefix/etc/config.site
2378
ac_site_file1=$ac_default_prefix/share/config.site
2379
ac_site_file2=$ac_default_prefix/etc/config.site
2381
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2383
test "x$ac_site_file" = xNONE && continue
2384
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2385
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2386
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2387
sed 's/^/| /' "$ac_site_file" >&5
2389
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2390
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2391
as_fn_error $? "failed to load site script $ac_site_file
2392
See \`config.log' for more details" "$LINENO" 5; }
2396
if test -r "$cache_file"; then
2397
# Some versions of bash will fail to source /dev/null (special files
2398
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2399
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2400
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2401
$as_echo "$as_me: loading cache $cache_file" >&6;}
2403
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2404
*) . "./$cache_file";;
2408
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2409
$as_echo "$as_me: creating cache $cache_file" >&6;}
2413
as_fn_append ac_header_list " stdlib.h"
2414
as_fn_append ac_header_list " unistd.h"
2415
as_fn_append ac_header_list " sys/param.h"
2416
# Check that the precious variables saved in the cache have kept the same
2418
ac_cache_corrupted=false
2419
for ac_var in $ac_precious_vars; do
2420
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2421
eval ac_new_set=\$ac_env_${ac_var}_set
2422
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2423
eval ac_new_val=\$ac_env_${ac_var}_value
2424
case $ac_old_set,$ac_new_set in
2426
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2427
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2428
ac_cache_corrupted=: ;;
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2431
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2432
ac_cache_corrupted=: ;;
2435
if test "x$ac_old_val" != "x$ac_new_val"; then
2436
# differences in whitespace do not lead to failure.
2437
ac_old_val_w=`echo x $ac_old_val`
2438
ac_new_val_w=`echo x $ac_new_val`
2439
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2441
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2442
ac_cache_corrupted=:
2444
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2445
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2446
eval $ac_var=\$ac_old_val
2448
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2449
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2450
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2451
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2454
# Pass precious variables to config.status.
2455
if test "$ac_new_set" = set; then
2457
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2458
*) ac_arg=$ac_var=$ac_new_val ;;
2460
case " $ac_configure_args " in
2461
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2462
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2466
if $ac_cache_corrupted; then
2467
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2468
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2469
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2470
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2471
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2473
## -------------------- ##
2474
## Main body of script. ##
2475
## -------------------- ##
2478
ac_cpp='$CPP $CPPFLAGS'
2479
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2485
for ac_dir in build-aux "$srcdir"/build-aux; do
2486
if test -f "$ac_dir/install-sh"; then
2488
ac_install_sh="$ac_aux_dir/install-sh -c"
2490
elif test -f "$ac_dir/install.sh"; then
2492
ac_install_sh="$ac_aux_dir/install.sh -c"
2494
elif test -f "$ac_dir/shtool"; then
2496
ac_install_sh="$ac_aux_dir/shtool install -c"
2500
if test -z "$ac_aux_dir"; then
2501
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2504
# These three variables are undocumented and unsupported,
2505
# and are intended to be withdrawn in a future Autoconf release.
2506
# They can cause serious problems if a builder's source tree is in a directory
2507
# whose full name contains unusual characters.
2508
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2509
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2510
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2515
ac_config_headers="$ac_config_headers config.h"
2520
ac_cpp='$CPP $CPPFLAGS'
2521
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2522
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2523
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2524
if test -n "$ac_tool_prefix"; then
2525
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2526
set dummy ${ac_tool_prefix}gcc; ac_word=$2
2527
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2528
$as_echo_n "checking for $ac_word... " >&6; }
2529
if ${ac_cv_prog_CC+:} false; then :
2530
$as_echo_n "(cached) " >&6
2532
if test -n "$CC"; then
2533
ac_cv_prog_CC="$CC" # Let the user override the test.
2535
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2539
test -z "$as_dir" && as_dir=.
2540
for ac_exec_ext in '' $ac_executable_extensions; do
2541
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542
ac_cv_prog_CC="${ac_tool_prefix}gcc"
2543
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553
if test -n "$CC"; then
2554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2555
$as_echo "$CC" >&6; }
2557
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2558
$as_echo "no" >&6; }
2563
if test -z "$ac_cv_prog_CC"; then
2565
# Extract the first word of "gcc", so it can be a program name with args.
2566
set dummy gcc; ac_word=$2
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2568
$as_echo_n "checking for $ac_word... " >&6; }
2569
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2570
$as_echo_n "(cached) " >&6
2572
if test -n "$ac_ct_CC"; then
2573
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2575
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579
test -z "$as_dir" && as_dir=.
2580
for ac_exec_ext in '' $ac_executable_extensions; do
2581
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2582
ac_cv_prog_ac_ct_CC="gcc"
2583
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2592
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2593
if test -n "$ac_ct_CC"; then
2594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2595
$as_echo "$ac_ct_CC" >&6; }
2597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2598
$as_echo "no" >&6; }
2601
if test "x$ac_ct_CC" = x; then
2604
case $cross_compiling:$ac_tool_warned in
2606
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2607
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2608
ac_tool_warned=yes ;;
2616
if test -z "$CC"; then
2617
if test -n "$ac_tool_prefix"; then
2618
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2619
set dummy ${ac_tool_prefix}cc; ac_word=$2
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2621
$as_echo_n "checking for $ac_word... " >&6; }
2622
if ${ac_cv_prog_CC+:} false; then :
2623
$as_echo_n "(cached) " >&6
2625
if test -n "$CC"; then
2626
ac_cv_prog_CC="$CC" # Let the user override the test.
2628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2632
test -z "$as_dir" && as_dir=.
2633
for ac_exec_ext in '' $ac_executable_extensions; do
2634
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2635
ac_cv_prog_CC="${ac_tool_prefix}cc"
2636
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2646
if test -n "$CC"; then
2647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2648
$as_echo "$CC" >&6; }
2650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2651
$as_echo "no" >&6; }
2657
if test -z "$CC"; then
2658
# Extract the first word of "cc", so it can be a program name with args.
2659
set dummy cc; ac_word=$2
2660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2661
$as_echo_n "checking for $ac_word... " >&6; }
2662
if ${ac_cv_prog_CC+:} false; then :
2663
$as_echo_n "(cached) " >&6
2665
if test -n "$CC"; then
2666
ac_cv_prog_CC="$CC" # Let the user override the test.
2669
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2673
test -z "$as_dir" && as_dir=.
2674
for ac_exec_ext in '' $ac_executable_extensions; do
2675
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2676
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2677
ac_prog_rejected=yes
2681
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2688
if test $ac_prog_rejected = yes; then
2689
# We found a bogon in the path, so make sure we never use it.
2690
set dummy $ac_cv_prog_CC
2692
if test $# != 0; then
2693
# We chose a different compiler from the bogus one.
2694
# However, it has the same basename, so the bogon will be chosen
2695
# first if we set CC to just the basename; use the full file name.
2697
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2703
if test -n "$CC"; then
2704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2705
$as_echo "$CC" >&6; }
2707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2708
$as_echo "no" >&6; }
2713
if test -z "$CC"; then
2714
if test -n "$ac_tool_prefix"; then
2715
for ac_prog in cl.exe
2717
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2718
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720
$as_echo_n "checking for $ac_word... " >&6; }
2721
if ${ac_cv_prog_CC+:} false; then :
2722
$as_echo_n "(cached) " >&6
2724
if test -n "$CC"; then
2725
ac_cv_prog_CC="$CC" # Let the user override the test.
2727
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2731
test -z "$as_dir" && as_dir=.
2732
for ac_exec_ext in '' $ac_executable_extensions; do
2733
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2735
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745
if test -n "$CC"; then
2746
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2747
$as_echo "$CC" >&6; }
2749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750
$as_echo "no" >&6; }
2754
test -n "$CC" && break
2757
if test -z "$CC"; then
2759
for ac_prog in cl.exe
2761
# Extract the first word of "$ac_prog", so it can be a program name with args.
2762
set dummy $ac_prog; ac_word=$2
2763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2764
$as_echo_n "checking for $ac_word... " >&6; }
2765
if ${ac_cv_prog_ac_ct_CC+:} false; then :
2766
$as_echo_n "(cached) " >&6
2768
if test -n "$ac_ct_CC"; then
2769
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2775
test -z "$as_dir" && as_dir=.
2776
for ac_exec_ext in '' $ac_executable_extensions; do
2777
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2778
ac_cv_prog_ac_ct_CC="$ac_prog"
2779
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2788
ac_ct_CC=$ac_cv_prog_ac_ct_CC
2789
if test -n "$ac_ct_CC"; then
2790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2791
$as_echo "$ac_ct_CC" >&6; }
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2794
$as_echo "no" >&6; }
2798
test -n "$ac_ct_CC" && break
2801
if test "x$ac_ct_CC" = x; then
2804
case $cross_compiling:$ac_tool_warned in
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2807
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2808
ac_tool_warned=yes ;;
2817
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819
as_fn_error $? "no acceptable C compiler found in \$PATH
2820
See \`config.log' for more details" "$LINENO" 5; }
2822
# Provide some information about the compiler.
2823
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2826
for ac_option in --version -v -V -qversion; do
2827
{ { ac_try="$ac_compiler $ac_option >&5"
2829
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830
*) ac_try_echo=$ac_try;;
2832
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2833
$as_echo "$ac_try_echo"; } >&5
2834
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2836
if test -s conftest.err; then
2838
... rest of stderr output deleted ...
2839
10q' conftest.err >conftest.er1
2840
cat conftest.er1 >&5
2842
rm -f conftest.er1 conftest.err
2843
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844
test $ac_status = 0; }
2847
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2848
/* end confdefs.h. */
2858
ac_clean_files_save=$ac_clean_files
2859
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2860
# Try to create an executable without -o first, disregard a.out.
2861
# It will help us diagnose broken compilers, and finding out an intuition
2863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2864
$as_echo_n "checking whether the C compiler works... " >&6; }
2865
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2867
# The possible output files:
2868
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2871
for ac_file in $ac_files
2874
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2875
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2880
if { { ac_try="$ac_link_default"
2882
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883
*) ac_try_echo=$ac_try;;
2885
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2886
$as_echo "$ac_try_echo"; } >&5
2887
(eval "$ac_link_default") 2>&5
2889
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2890
test $ac_status = 0; }; then :
2891
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2892
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2893
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2894
# so that the user can short-circuit this test for compilers unknown to
2896
for ac_file in $ac_files ''
2898
test -f "$ac_file" || continue
2900
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2903
# We found the default executable, but exeext='' is most
2907
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2909
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2911
# We set ac_cv_exeext here because the later test for it is not
2912
# safe: cross compilers may not add the suffix if given an `-o'
2913
# argument, so we may need to know it at that point already.
2914
# Even if this section looks crufty: it has the advantage of
2921
test "$ac_cv_exeext" = no && ac_cv_exeext=
2926
if test -z "$ac_file"; then :
2927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928
$as_echo "no" >&6; }
2929
$as_echo "$as_me: failed program was:" >&5
2930
sed 's/^/| /' conftest.$ac_ext >&5
2932
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2933
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2934
as_fn_error 77 "C compiler cannot create executables
2935
See \`config.log' for more details" "$LINENO" 5; }
2937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2938
$as_echo "yes" >&6; }
2940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2941
$as_echo_n "checking for C compiler default output file name... " >&6; }
2942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2943
$as_echo "$ac_file" >&6; }
2944
ac_exeext=$ac_cv_exeext
2946
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2947
ac_clean_files=$ac_clean_files_save
2948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2949
$as_echo_n "checking for suffix of executables... " >&6; }
2950
if { { ac_try="$ac_link"
2952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953
*) ac_try_echo=$ac_try;;
2955
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956
$as_echo "$ac_try_echo"; } >&5
2957
(eval "$ac_link") 2>&5
2959
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960
test $ac_status = 0; }; then :
2961
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2962
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2963
# work properly (i.e., refer to `conftest.exe'), while it won't with
2965
for ac_file in conftest.exe conftest conftest.*; do
2966
test -f "$ac_file" || continue
2968
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2969
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2975
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2976
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2977
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2978
See \`config.log' for more details" "$LINENO" 5; }
2980
rm -f conftest conftest$ac_cv_exeext
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2982
$as_echo "$ac_cv_exeext" >&6; }
2984
rm -f conftest.$ac_ext
2985
EXEEXT=$ac_cv_exeext
2987
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988
/* end confdefs.h. */
2993
FILE *f = fopen ("conftest.out", "w");
2994
return ferror (f) || fclose (f) != 0;
3000
ac_clean_files="$ac_clean_files conftest.out"
3001
# Check that the compiler produces executables we can run. If not, either
3002
# the compiler is broken, or we cross compile.
3003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3004
$as_echo_n "checking whether we are cross compiling... " >&6; }
3005
if test "$cross_compiling" != yes; then
3006
{ { ac_try="$ac_link"
3008
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3009
*) ac_try_echo=$ac_try;;
3011
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3012
$as_echo "$ac_try_echo"; } >&5
3013
(eval "$ac_link") 2>&5
3015
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3016
test $ac_status = 0; }
3017
if { ac_try='./conftest$ac_cv_exeext'
3018
{ { case "(($ac_try" in
3019
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3020
*) ac_try_echo=$ac_try;;
3022
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3023
$as_echo "$ac_try_echo"; } >&5
3024
(eval "$ac_try") 2>&5
3026
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3027
test $ac_status = 0; }; }; then
3030
if test "$cross_compiling" = maybe; then
3033
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3034
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3035
as_fn_error $? "cannot run C compiled programs.
3036
If you meant to cross compile, use \`--host'.
3037
See \`config.log' for more details" "$LINENO" 5; }
3041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3042
$as_echo "$cross_compiling" >&6; }
3044
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3045
ac_clean_files=$ac_clean_files_save
3046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3047
$as_echo_n "checking for suffix of object files... " >&6; }
3048
if ${ac_cv_objext+:} false; then :
3049
$as_echo_n "(cached) " >&6
3051
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3052
/* end confdefs.h. */
3062
rm -f conftest.o conftest.obj
3063
if { { ac_try="$ac_compile"
3065
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3066
*) ac_try_echo=$ac_try;;
3068
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3069
$as_echo "$ac_try_echo"; } >&5
3070
(eval "$ac_compile") 2>&5
3072
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3073
test $ac_status = 0; }; then :
3074
for ac_file in conftest.o conftest.obj conftest.*; do
3075
test -f "$ac_file" || continue;
3077
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3078
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3083
$as_echo "$as_me: failed program was:" >&5
3084
sed 's/^/| /' conftest.$ac_ext >&5
3086
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3087
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3088
as_fn_error $? "cannot compute suffix of object files: cannot compile
3089
See \`config.log' for more details" "$LINENO" 5; }
3091
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3094
$as_echo "$ac_cv_objext" >&6; }
3095
OBJEXT=$ac_cv_objext
3097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3098
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3099
if ${ac_cv_c_compiler_gnu+:} false; then :
3100
$as_echo_n "(cached) " >&6
3102
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3103
/* end confdefs.h. */
3116
if ac_fn_c_try_compile "$LINENO"; then :
3121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3122
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3126
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3127
if test $ac_compiler_gnu = yes; then
3132
ac_test_CFLAGS=${CFLAGS+set}
3133
ac_save_CFLAGS=$CFLAGS
3134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3135
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3136
if ${ac_cv_prog_cc_g+:} false; then :
3137
$as_echo_n "(cached) " >&6
3139
ac_save_c_werror_flag=$ac_c_werror_flag
3140
ac_c_werror_flag=yes
3143
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144
/* end confdefs.h. */
3154
if ac_fn_c_try_compile "$LINENO"; then :
3158
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159
/* end confdefs.h. */
3169
if ac_fn_c_try_compile "$LINENO"; then :
3172
ac_c_werror_flag=$ac_save_c_werror_flag
3174
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3175
/* end confdefs.h. */
3185
if ac_fn_c_try_compile "$LINENO"; then :
3188
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3190
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3193
ac_c_werror_flag=$ac_save_c_werror_flag
3195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3196
$as_echo "$ac_cv_prog_cc_g" >&6; }
3197
if test "$ac_test_CFLAGS" = set; then
3198
CFLAGS=$ac_save_CFLAGS
3199
elif test $ac_cv_prog_cc_g = yes; then
3200
if test "$GCC" = yes; then
3206
if test "$GCC" = yes; then
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3213
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3214
if ${ac_cv_prog_cc_c89+:} false; then :
3215
$as_echo_n "(cached) " >&6
3217
ac_cv_prog_cc_c89=no
3219
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220
/* end confdefs.h. */
3223
#include <sys/types.h>
3224
#include <sys/stat.h>
3225
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3226
struct buf { int x; };
3227
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3228
static char *e (p, i)
3234
static char *f (char * (*g) (char **, int), char **p, ...)
3239
s = g (p, va_arg (v,int));
3244
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3245
function prototypes and stuff, but not '\xHH' hex character constants.
3246
These don't provoke an error unfortunately, instead are silently treated
3247
as 'x'. The following induces an error, until -std is added to get
3248
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3249
array size at least. It's necessary to write '\x00'==0 to get something
3250
that's true only with -std. */
3251
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3253
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3254
inside strings and character constants. */
3256
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3258
int test (int i, double x);
3259
struct s1 {int (*f) (int a);};
3260
struct s2 {int (*f) (double a);};
3261
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3267
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3272
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3273
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3275
CC="$ac_save_CC $ac_arg"
3276
if ac_fn_c_try_compile "$LINENO"; then :
3277
ac_cv_prog_cc_c89=$ac_arg
3279
rm -f core conftest.err conftest.$ac_objext
3280
test "x$ac_cv_prog_cc_c89" != "xno" && break
3282
rm -f conftest.$ac_ext
3287
case "x$ac_cv_prog_cc_c89" in
3289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3290
$as_echo "none needed" >&6; } ;;
3292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3293
$as_echo "unsupported" >&6; } ;;
3295
CC="$CC $ac_cv_prog_cc_c89"
3296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3297
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3299
if test "x$ac_cv_prog_cc_c89" != xno; then :
3304
ac_cpp='$CPP $CPPFLAGS'
3305
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3306
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3307
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3311
$as_echo_n "checking for library containing strerror... " >&6; }
3312
if ${ac_cv_search_strerror+:} false; then :
3313
$as_echo_n "(cached) " >&6
3315
ac_func_search_save_LIBS=$LIBS
3316
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3317
/* end confdefs.h. */
3319
/* Override any GCC internal prototype to avoid an error.
3320
Use char because int might match the return type of a GCC
3321
builtin and then its argument prototype would still apply. */
3334
for ac_lib in '' cposix; do
3335
if test -z "$ac_lib"; then
3336
ac_res="none required"
3339
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3341
if ac_fn_c_try_link "$LINENO"; then :
3342
ac_cv_search_strerror=$ac_res
3344
rm -f core conftest.err conftest.$ac_objext \
3346
if ${ac_cv_search_strerror+:} false; then :
3350
if ${ac_cv_search_strerror+:} false; then :
3353
ac_cv_search_strerror=no
3356
LIBS=$ac_func_search_save_LIBS
3358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3359
$as_echo "$ac_cv_search_strerror" >&6; }
3360
ac_res=$ac_cv_search_strerror
3361
if test "$ac_res" != no; then :
3362
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3367
ac_cpp='$CPP $CPPFLAGS'
3368
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3369
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3370
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3371
if test -n "$ac_tool_prefix"; then
3372
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3373
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3374
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375
$as_echo_n "checking for $ac_word... " >&6; }
3376
if ${ac_cv_prog_CC+:} false; then :
3377
$as_echo_n "(cached) " >&6
3379
if test -n "$CC"; then
3380
ac_cv_prog_CC="$CC" # Let the user override the test.
3382
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3386
test -z "$as_dir" && as_dir=.
3387
for ac_exec_ext in '' $ac_executable_extensions; do
3388
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3389
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3390
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400
if test -n "$CC"; then
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3402
$as_echo "$CC" >&6; }
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405
$as_echo "no" >&6; }
3410
if test -z "$ac_cv_prog_CC"; then
3412
# Extract the first word of "gcc", so it can be a program name with args.
3413
set dummy gcc; ac_word=$2
3414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3415
$as_echo_n "checking for $ac_word... " >&6; }
3416
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3417
$as_echo_n "(cached) " >&6
3419
if test -n "$ac_ct_CC"; then
3420
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3422
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3426
test -z "$as_dir" && as_dir=.
3427
for ac_exec_ext in '' $ac_executable_extensions; do
3428
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3429
ac_cv_prog_ac_ct_CC="gcc"
3430
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3439
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3440
if test -n "$ac_ct_CC"; then
3441
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3442
$as_echo "$ac_ct_CC" >&6; }
3444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3445
$as_echo "no" >&6; }
3448
if test "x$ac_ct_CC" = x; then
3451
case $cross_compiling:$ac_tool_warned in
3453
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3454
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3455
ac_tool_warned=yes ;;
3463
if test -z "$CC"; then
3464
if test -n "$ac_tool_prefix"; then
3465
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3466
set dummy ${ac_tool_prefix}cc; ac_word=$2
3467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3468
$as_echo_n "checking for $ac_word... " >&6; }
3469
if ${ac_cv_prog_CC+:} false; then :
3470
$as_echo_n "(cached) " >&6
3472
if test -n "$CC"; then
3473
ac_cv_prog_CC="$CC" # Let the user override the test.
3475
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479
test -z "$as_dir" && as_dir=.
3480
for ac_exec_ext in '' $ac_executable_extensions; do
3481
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3482
ac_cv_prog_CC="${ac_tool_prefix}cc"
3483
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3493
if test -n "$CC"; then
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3495
$as_echo "$CC" >&6; }
3497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3498
$as_echo "no" >&6; }
3504
if test -z "$CC"; then
3505
# Extract the first word of "cc", so it can be a program name with args.
3506
set dummy cc; ac_word=$2
3507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508
$as_echo_n "checking for $ac_word... " >&6; }
3509
if ${ac_cv_prog_CC+:} false; then :
3510
$as_echo_n "(cached) " >&6
3512
if test -n "$CC"; then
3513
ac_cv_prog_CC="$CC" # Let the user override the test.
3516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3520
test -z "$as_dir" && as_dir=.
3521
for ac_exec_ext in '' $ac_executable_extensions; do
3522
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3523
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3524
ac_prog_rejected=yes
3528
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535
if test $ac_prog_rejected = yes; then
3536
# We found a bogon in the path, so make sure we never use it.
3537
set dummy $ac_cv_prog_CC
3539
if test $# != 0; then
3540
# We chose a different compiler from the bogus one.
3541
# However, it has the same basename, so the bogon will be chosen
3542
# first if we set CC to just the basename; use the full file name.
3544
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3550
if test -n "$CC"; then
3551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3552
$as_echo "$CC" >&6; }
3554
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555
$as_echo "no" >&6; }
3560
if test -z "$CC"; then
3561
if test -n "$ac_tool_prefix"; then
3562
for ac_prog in cl.exe
3564
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3565
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567
$as_echo_n "checking for $ac_word... " >&6; }
3568
if ${ac_cv_prog_CC+:} false; then :
3569
$as_echo_n "(cached) " >&6
3571
if test -n "$CC"; then
3572
ac_cv_prog_CC="$CC" # Let the user override the test.
3574
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3578
test -z "$as_dir" && as_dir=.
3579
for ac_exec_ext in '' $ac_executable_extensions; do
3580
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3582
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3592
if test -n "$CC"; then
3593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594
$as_echo "$CC" >&6; }
3596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597
$as_echo "no" >&6; }
3601
test -n "$CC" && break
3604
if test -z "$CC"; then
3606
for ac_prog in cl.exe
3608
# Extract the first word of "$ac_prog", so it can be a program name with args.
3609
set dummy $ac_prog; ac_word=$2
3610
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611
$as_echo_n "checking for $ac_word... " >&6; }
3612
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3613
$as_echo_n "(cached) " >&6
3615
if test -n "$ac_ct_CC"; then
3616
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622
test -z "$as_dir" && as_dir=.
3623
for ac_exec_ext in '' $ac_executable_extensions; do
3624
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3625
ac_cv_prog_ac_ct_CC="$ac_prog"
3626
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3635
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3636
if test -n "$ac_ct_CC"; then
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3638
$as_echo "$ac_ct_CC" >&6; }
3640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641
$as_echo "no" >&6; }
3645
test -n "$ac_ct_CC" && break
3648
if test "x$ac_ct_CC" = x; then
3651
case $cross_compiling:$ac_tool_warned in
3653
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3654
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3655
ac_tool_warned=yes ;;
3664
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3665
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3666
as_fn_error $? "no acceptable C compiler found in \$PATH
3667
See \`config.log' for more details" "$LINENO" 5; }
3669
# Provide some information about the compiler.
3670
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3673
for ac_option in --version -v -V -qversion; do
3674
{ { ac_try="$ac_compiler $ac_option >&5"
3676
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3677
*) ac_try_echo=$ac_try;;
3679
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3680
$as_echo "$ac_try_echo"; } >&5
3681
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3683
if test -s conftest.err; then
3685
... rest of stderr output deleted ...
3686
10q' conftest.err >conftest.er1
3687
cat conftest.er1 >&5
3689
rm -f conftest.er1 conftest.err
3690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691
test $ac_status = 0; }
3694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3695
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3696
if ${ac_cv_c_compiler_gnu+:} false; then :
3697
$as_echo_n "(cached) " >&6
3699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700
/* end confdefs.h. */
3713
if ac_fn_c_try_compile "$LINENO"; then :
3718
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3723
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3724
if test $ac_compiler_gnu = yes; then
3729
ac_test_CFLAGS=${CFLAGS+set}
3730
ac_save_CFLAGS=$CFLAGS
3731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3732
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3733
if ${ac_cv_prog_cc_g+:} false; then :
3734
$as_echo_n "(cached) " >&6
3736
ac_save_c_werror_flag=$ac_c_werror_flag
3737
ac_c_werror_flag=yes
3740
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3741
/* end confdefs.h. */
3751
if ac_fn_c_try_compile "$LINENO"; then :
3755
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3756
/* end confdefs.h. */
3766
if ac_fn_c_try_compile "$LINENO"; then :
3769
ac_c_werror_flag=$ac_save_c_werror_flag
3771
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772
/* end confdefs.h. */
3782
if ac_fn_c_try_compile "$LINENO"; then :
3785
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3787
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3789
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3790
ac_c_werror_flag=$ac_save_c_werror_flag
3792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3793
$as_echo "$ac_cv_prog_cc_g" >&6; }
3794
if test "$ac_test_CFLAGS" = set; then
3795
CFLAGS=$ac_save_CFLAGS
3796
elif test $ac_cv_prog_cc_g = yes; then
3797
if test "$GCC" = yes; then
3803
if test "$GCC" = yes; then
3809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3810
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3811
if ${ac_cv_prog_cc_c89+:} false; then :
3812
$as_echo_n "(cached) " >&6
3814
ac_cv_prog_cc_c89=no
3816
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817
/* end confdefs.h. */
3820
#include <sys/types.h>
3821
#include <sys/stat.h>
3822
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3823
struct buf { int x; };
3824
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3825
static char *e (p, i)
3831
static char *f (char * (*g) (char **, int), char **p, ...)
3836
s = g (p, va_arg (v,int));
3841
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3842
function prototypes and stuff, but not '\xHH' hex character constants.
3843
These don't provoke an error unfortunately, instead are silently treated
3844
as 'x'. The following induces an error, until -std is added to get
3845
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3846
array size at least. It's necessary to write '\x00'==0 to get something
3847
that's true only with -std. */
3848
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3850
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3851
inside strings and character constants. */
3853
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3855
int test (int i, double x);
3856
struct s1 {int (*f) (int a);};
3857
struct s2 {int (*f) (double a);};
3858
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3864
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3869
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3870
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3872
CC="$ac_save_CC $ac_arg"
3873
if ac_fn_c_try_compile "$LINENO"; then :
3874
ac_cv_prog_cc_c89=$ac_arg
3876
rm -f core conftest.err conftest.$ac_objext
3877
test "x$ac_cv_prog_cc_c89" != "xno" && break
3879
rm -f conftest.$ac_ext
3884
case "x$ac_cv_prog_cc_c89" in
3886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3887
$as_echo "none needed" >&6; } ;;
3889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3890
$as_echo "unsupported" >&6; } ;;
3892
CC="$CC $ac_cv_prog_cc_c89"
3893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3894
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3896
if test "x$ac_cv_prog_cc_c89" != xno; then :
3901
ac_cpp='$CPP $CPPFLAGS'
3902
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3903
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3904
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3907
ac_cpp='$CPP $CPPFLAGS'
3908
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3909
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3910
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3911
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3912
$as_echo_n "checking how to run the C preprocessor... " >&6; }
3913
# On Suns, sometimes $CPP names a directory.
3914
if test -n "$CPP" && test -d "$CPP"; then
3917
if test -z "$CPP"; then
3918
if ${ac_cv_prog_CPP+:} false; then :
3919
$as_echo_n "(cached) " >&6
3921
# Double quotes because CPP needs to be expanded
3922
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3925
for ac_c_preproc_warn_flag in '' yes
3927
# Use a header file that comes with gcc, so configuring glibc
3928
# with a fresh cross-compiler works.
3929
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3930
# <limits.h> exists even on freestanding compilers.
3931
# On the NeXT, cc -E runs the code through the compiler's parser,
3932
# not just through cpp. "Syntax error" is here to catch this case.
3933
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934
/* end confdefs.h. */
3936
# include <limits.h>
3938
# include <assert.h>
3942
if ac_fn_c_try_cpp "$LINENO"; then :
3945
# Broken: fails on valid input.
3948
rm -f conftest.err conftest.i conftest.$ac_ext
3950
# OK, works on sane cases. Now check whether nonexistent headers
3951
# can be detected and how.
3952
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953
/* end confdefs.h. */
3954
#include <ac_nonexistent.h>
3956
if ac_fn_c_try_cpp "$LINENO"; then :
3957
# Broken: success on invalid input.
3960
# Passes both tests.
3964
rm -f conftest.err conftest.i conftest.$ac_ext
3967
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3968
rm -f conftest.i conftest.err conftest.$ac_ext
3969
if $ac_preproc_ok; then :
3981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3982
$as_echo "$CPP" >&6; }
3984
for ac_c_preproc_warn_flag in '' yes
3986
# Use a header file that comes with gcc, so configuring glibc
3987
# with a fresh cross-compiler works.
3988
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3989
# <limits.h> exists even on freestanding compilers.
3990
# On the NeXT, cc -E runs the code through the compiler's parser,
3991
# not just through cpp. "Syntax error" is here to catch this case.
3992
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3993
/* end confdefs.h. */
3995
# include <limits.h>
3997
# include <assert.h>
4001
if ac_fn_c_try_cpp "$LINENO"; then :
4004
# Broken: fails on valid input.
4007
rm -f conftest.err conftest.i conftest.$ac_ext
4009
# OK, works on sane cases. Now check whether nonexistent headers
4010
# can be detected and how.
4011
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4012
/* end confdefs.h. */
4013
#include <ac_nonexistent.h>
4015
if ac_fn_c_try_cpp "$LINENO"; then :
4016
# Broken: success on invalid input.
4019
# Passes both tests.
4023
rm -f conftest.err conftest.i conftest.$ac_ext
4026
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4027
rm -f conftest.i conftest.err conftest.$ac_ext
4028
if $ac_preproc_ok; then :
4031
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4032
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4033
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4034
See \`config.log' for more details" "$LINENO" 5; }
4038
ac_cpp='$CPP $CPPFLAGS'
4039
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4040
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4041
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4045
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4046
if ${ac_cv_path_GREP+:} false; then :
4047
$as_echo_n "(cached) " >&6
4049
if test -z "$GREP"; then
4050
ac_path_GREP_found=false
4051
# Loop through the user's path and test for each of PROGNAME-LIST
4052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4053
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4056
test -z "$as_dir" && as_dir=.
4057
for ac_prog in grep ggrep; do
4058
for ac_exec_ext in '' $ac_executable_extensions; do
4059
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4060
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4061
# Check for GNU ac_path_GREP and select it if it is found.
4062
# Check for GNU $ac_path_GREP
4063
case `"$ac_path_GREP" --version 2>&1` in
4065
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4068
$as_echo_n 0123456789 >"conftest.in"
4071
cat "conftest.in" "conftest.in" >"conftest.tmp"
4072
mv "conftest.tmp" "conftest.in"
4073
cp "conftest.in" "conftest.nl"
4074
$as_echo 'GREP' >> "conftest.nl"
4075
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4076
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4077
as_fn_arith $ac_count + 1 && ac_count=$as_val
4078
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4079
# Best one so far, save it but keep looking for a better one
4080
ac_cv_path_GREP="$ac_path_GREP"
4081
ac_path_GREP_max=$ac_count
4083
# 10*(2^10) chars as input seems more than enough
4084
test $ac_count -gt 10 && break
4086
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4089
$ac_path_GREP_found && break 3
4094
if test -z "$ac_cv_path_GREP"; then
4095
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4098
ac_cv_path_GREP=$GREP
4102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4103
$as_echo "$ac_cv_path_GREP" >&6; }
4104
GREP="$ac_cv_path_GREP"
4107
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4108
$as_echo_n "checking for egrep... " >&6; }
4109
if ${ac_cv_path_EGREP+:} false; then :
4110
$as_echo_n "(cached) " >&6
4112
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4113
then ac_cv_path_EGREP="$GREP -E"
4115
if test -z "$EGREP"; then
4116
ac_path_EGREP_found=false
4117
# Loop through the user's path and test for each of PROGNAME-LIST
4118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4119
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4122
test -z "$as_dir" && as_dir=.
4123
for ac_prog in egrep; do
4124
for ac_exec_ext in '' $ac_executable_extensions; do
4125
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4126
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4127
# Check for GNU ac_path_EGREP and select it if it is found.
4128
# Check for GNU $ac_path_EGREP
4129
case `"$ac_path_EGREP" --version 2>&1` in
4131
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4134
$as_echo_n 0123456789 >"conftest.in"
4137
cat "conftest.in" "conftest.in" >"conftest.tmp"
4138
mv "conftest.tmp" "conftest.in"
4139
cp "conftest.in" "conftest.nl"
4140
$as_echo 'EGREP' >> "conftest.nl"
4141
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4142
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4143
as_fn_arith $ac_count + 1 && ac_count=$as_val
4144
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4145
# Best one so far, save it but keep looking for a better one
4146
ac_cv_path_EGREP="$ac_path_EGREP"
4147
ac_path_EGREP_max=$ac_count
4149
# 10*(2^10) chars as input seems more than enough
4150
test $ac_count -gt 10 && break
4152
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4155
$ac_path_EGREP_found && break 3
4160
if test -z "$ac_cv_path_EGREP"; then
4161
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4164
ac_cv_path_EGREP=$EGREP
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4170
$as_echo "$ac_cv_path_EGREP" >&6; }
4171
EGREP="$ac_cv_path_EGREP"
4174
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4175
$as_echo_n "checking for ANSI C header files... " >&6; }
4176
if ${ac_cv_header_stdc+:} false; then :
4177
$as_echo_n "(cached) " >&6
4179
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180
/* end confdefs.h. */
4194
if ac_fn_c_try_compile "$LINENO"; then :
4195
ac_cv_header_stdc=yes
4197
ac_cv_header_stdc=no
4199
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4201
if test $ac_cv_header_stdc = yes; then
4202
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4203
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204
/* end confdefs.h. */
4208
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4209
$EGREP "memchr" >/dev/null 2>&1; then :
4212
ac_cv_header_stdc=no
4218
if test $ac_cv_header_stdc = yes; then
4219
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221
/* end confdefs.h. */
4225
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4226
$EGREP "free" >/dev/null 2>&1; then :
4229
ac_cv_header_stdc=no
4235
if test $ac_cv_header_stdc = yes; then
4236
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4237
if test "$cross_compiling" = yes; then :
4240
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241
/* end confdefs.h. */
4244
#if ((' ' & 0x0FF) == 0x020)
4245
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4246
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4248
# define ISLOWER(c) \
4249
(('a' <= (c) && (c) <= 'i') \
4250
|| ('j' <= (c) && (c) <= 'r') \
4251
|| ('s' <= (c) && (c) <= 'z'))
4252
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4255
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4260
for (i = 0; i < 256; i++)
4261
if (XOR (islower (i), ISLOWER (i))
4262
|| toupper (i) != TOUPPER (i))
4267
if ac_fn_c_try_run "$LINENO"; then :
4270
ac_cv_header_stdc=no
4272
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4273
conftest.$ac_objext conftest.beam conftest.$ac_ext
4278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4279
$as_echo "$ac_cv_header_stdc" >&6; }
4280
if test $ac_cv_header_stdc = yes; then
4282
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4286
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4287
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4288
inttypes.h stdint.h unistd.h
4290
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4291
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4293
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4294
cat >>confdefs.h <<_ACEOF
4295
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4306
for ac_header in $ac_header_list
4308
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4309
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4311
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4312
cat >>confdefs.h <<_ACEOF
4313
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4327
for ac_func in getpagesize
4329
ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
4330
if test "x$ac_cv_func_getpagesize" = xyes; then :
4331
cat >>confdefs.h <<_ACEOF
4332
#define HAVE_GETPAGESIZE 1
4338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
4339
$as_echo_n "checking for working mmap... " >&6; }
4340
if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
4341
$as_echo_n "(cached) " >&6
4343
if test "$cross_compiling" = yes; then :
4344
ac_cv_func_mmap_fixed_mapped=no
4346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347
/* end confdefs.h. */
4348
$ac_includes_default
4349
/* malloc might have been renamed as rpl_malloc. */
4352
/* Thanks to Mike Haertel and Jim Avera for this test.
4353
Here is a matrix of mmap possibilities:
4354
mmap private not fixed
4355
mmap private fixed at somewhere currently unmapped
4356
mmap private fixed at somewhere already mapped
4357
mmap shared not fixed
4358
mmap shared fixed at somewhere currently unmapped
4359
mmap shared fixed at somewhere already mapped
4360
For private mappings, we should verify that changes cannot be read()
4361
back from the file, nor mmap's back from the file at a different
4362
address. (There have been systems where private was not correctly
4363
implemented like the infamous i386 svr4.0, and systems where the
4364
VM page cache was not coherent with the file system buffer cache
4365
like early versions of FreeBSD and possibly contemporary NetBSD.)
4366
For shared mappings, we should conversely verify that changes get
4367
propagated back to all the places they're supposed to be.
4369
Grep wants private fixed already mapped.
4370
The main things grep needs to know about mmap are:
4371
* does it exist and is it safe to write into the mmap'd area
4372
* how to use it (BSD variants) */
4375
#include <sys/mman.h>
4377
#if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
4381
/* This mess was copied from the GNU getpagesize.h. */
4382
#ifndef HAVE_GETPAGESIZE
4383
# ifdef _SC_PAGESIZE
4384
# define getpagesize() sysconf(_SC_PAGESIZE)
4385
# else /* no _SC_PAGESIZE */
4386
# ifdef HAVE_SYS_PARAM_H
4387
# include <sys/param.h>
4388
# ifdef EXEC_PAGESIZE
4389
# define getpagesize() EXEC_PAGESIZE
4390
# else /* no EXEC_PAGESIZE */
4392
# define getpagesize() NBPG * CLSIZE
4395
# endif /* no CLSIZE */
4396
# else /* no NBPG */
4398
# define getpagesize() NBPC
4399
# else /* no NBPC */
4401
# define getpagesize() PAGESIZE
4402
# endif /* PAGESIZE */
4403
# endif /* no NBPC */
4404
# endif /* no NBPG */
4405
# endif /* no EXEC_PAGESIZE */
4406
# else /* no HAVE_SYS_PARAM_H */
4407
# define getpagesize() 8192 /* punt totally */
4408
# endif /* no HAVE_SYS_PARAM_H */
4409
# endif /* no _SC_PAGESIZE */
4411
#endif /* no HAVE_GETPAGESIZE */
4416
char *data, *data2, *data3;
4421
pagesize = getpagesize ();
4423
/* First, make a file with some known garbage in it. */
4424
data = (char *) malloc (pagesize);
4427
for (i = 0; i < pagesize; ++i)
4428
*(data + i) = rand ();
4430
fd = creat ("conftest.mmap", 0600);
4433
if (write (fd, data, pagesize) != pagesize)
4437
/* Next, check that the tail of a page is zero-filled. File must have
4438
non-zero length, otherwise we risk SIGBUS for entire page. */
4439
fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
4443
if (write (fd2, cdata2, 1) != 1)
4445
data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
4446
if (data2 == MAP_FAILED)
4448
for (i = 0; i < pagesize; ++i)
4452
if (munmap (data2, pagesize))
4455
/* Next, try to mmap the file at a fixed address which already has
4456
something else allocated at it. If we can, also make sure that
4457
we see the same garbage. */
4458
fd = open ("conftest.mmap", O_RDWR);
4461
if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
4462
MAP_PRIVATE | MAP_FIXED, fd, 0L))
4464
for (i = 0; i < pagesize; ++i)
4465
if (*(data + i) != *(data2 + i))
4468
/* Finally, make sure that changes to the mapped area do not
4469
percolate back to the file as seen by read(). (This is a bug on
4470
some variants of i386 svr4.0.) */
4471
for (i = 0; i < pagesize; ++i)
4472
*(data2 + i) = *(data2 + i) + 1;
4473
data3 = (char *) malloc (pagesize);
4476
if (read (fd, data3, pagesize) != pagesize)
4478
for (i = 0; i < pagesize; ++i)
4479
if (*(data + i) != *(data3 + i))
4485
if ac_fn_c_try_run "$LINENO"; then :
4486
ac_cv_func_mmap_fixed_mapped=yes
4488
ac_cv_func_mmap_fixed_mapped=no
4490
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4491
conftest.$ac_objext conftest.beam conftest.$ac_ext
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
4496
$as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
4497
if test $ac_cv_func_mmap_fixed_mapped = yes; then
4499
$as_echo "#define HAVE_MMAP 1" >>confdefs.h
4502
rm -f conftest.mmap conftest.txt
4508
am__api_version='1.11'
4510
# Find a good install program. We prefer a C program (faster),
4511
# so one script is as good as another. But avoid the broken or
4512
# incompatible versions:
4513
# SysV /etc/install, /usr/sbin/install
4514
# SunOS /usr/etc/install
4515
# IRIX /sbin/install
4517
# AmigaOS /C/install, which installs bootblocks on floppy discs
4518
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4519
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4520
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4521
# OS/2's system install, which has a completely different semantic
4522
# ./install, which can be erroneously created by make from ./install.sh.
4523
# Reject install programs that cannot install multiple files.
4524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4525
$as_echo_n "checking for a BSD-compatible install... " >&6; }
4526
if test -z "$INSTALL"; then
4527
if ${ac_cv_path_install+:} false; then :
4528
$as_echo_n "(cached) " >&6
4530
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4534
test -z "$as_dir" && as_dir=.
4535
# Account for people who put trailing slashes in PATH elements.
4536
case $as_dir/ in #((
4537
./ | .// | /[cC]/* | \
4538
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4539
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4542
# OSF1 and SCO ODT 3.0 have their own names for install.
4543
# Don't use installbsd from OSF since it installs stuff as root
4545
for ac_prog in ginstall scoinst install; do
4546
for ac_exec_ext in '' $ac_executable_extensions; do
4547
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4548
if test $ac_prog = install &&
4549
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4550
# AIX install. It has an incompatible calling convention.
4552
elif test $ac_prog = install &&
4553
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4554
# program-specific install script used by HP pwplus--don't use.
4557
rm -rf conftest.one conftest.two conftest.dir
4558
echo one > conftest.one
4559
echo two > conftest.two
4561
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4562
test -s conftest.one && test -s conftest.two &&
4563
test -s conftest.dir/conftest.one &&
4564
test -s conftest.dir/conftest.two
4566
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4579
rm -rf conftest.one conftest.two conftest.dir
4582
if test "${ac_cv_path_install+set}" = set; then
4583
INSTALL=$ac_cv_path_install
4585
# As a last resort, use the slow shell script. Don't cache a
4586
# value for INSTALL within a source directory, because that will
4587
# break other packages using the cache if that directory is
4588
# removed, or if the value is a relative name.
4589
INSTALL=$ac_install_sh
4592
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4593
$as_echo "$INSTALL" >&6; }
4595
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4596
# It thinks the first close brace ends the variable substitution.
4597
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4599
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4601
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
4604
$as_echo_n "checking whether build environment is sane... " >&6; }
4607
echo timestamp > conftest.file
4608
# Reject unsafe characters in $srcdir or the absolute working directory
4609
# name. Accept space and tab only in the latter.
4613
*[\\\"\#\$\&\'\`$am_lf]*)
4614
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
4617
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
4618
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
4621
# Do `set' in a subshell so we don't clobber the current shell's
4622
# arguments. Must try -L first in case configure is actually a
4623
# symlink; some systems play weird games with the mod time of symlinks
4624
# (eg FreeBSD returns the mod time of the symlink's containing
4627
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
4628
if test "$*" = "X"; then
4630
set X `ls -t "$srcdir/configure" conftest.file`
4633
if test "$*" != "X $srcdir/configure conftest.file" \
4634
&& test "$*" != "X conftest.file $srcdir/configure"; then
4636
# If neither matched, then we have a broken ls. This can happen
4637
# if, for instance, CONFIG_SHELL is bash and it inherits a
4638
# broken ls alias from the environment. This has actually
4639
# happened. Such a system could not be considered "sane".
4640
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
4641
alias in your environment" "$LINENO" 5
4644
test "$2" = conftest.file
4650
as_fn_error $? "newly created file is older than distributed files!
4651
Check your system clock" "$LINENO" 5
4653
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4654
$as_echo "yes" >&6; }
4655
test "$program_prefix" != NONE &&
4656
program_transform_name="s&^&$program_prefix&;$program_transform_name"
4657
# Use a double $ so make ignores it.
4658
test "$program_suffix" != NONE &&
4659
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
4660
# Double any \ or $.
4661
# By default was `s,x,x', remove it if useless.
4662
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
4663
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
4665
# expand $ac_aux_dir to an absolute path
4666
am_aux_dir=`cd $ac_aux_dir && pwd`
4668
if test x"${MISSING+set}" != xset; then
4671
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
4673
MISSING="\${SHELL} $am_aux_dir/missing" ;;
4676
# Use eval to expand $SHELL
4677
if eval "$MISSING --run true"; then
4678
am_missing_run="$MISSING --run "
4681
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
4682
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
4685
if test x"${install_sh}" != xset; then
4688
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
4690
install_sh="\${SHELL} $am_aux_dir/install-sh"
4694
# Installed binaries are usually stripped using `strip' when the user
4695
# run `make install-strip'. However `strip' might not be the right
4696
# tool to use in cross-compilation environments, therefore Automake
4697
# will honor the `STRIP' environment variable to overrule this program.
4698
if test "$cross_compiling" != no; then
4699
if test -n "$ac_tool_prefix"; then
4700
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4701
set dummy ${ac_tool_prefix}strip; ac_word=$2
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4703
$as_echo_n "checking for $ac_word... " >&6; }
4704
if ${ac_cv_prog_STRIP+:} false; then :
4705
$as_echo_n "(cached) " >&6
4707
if test -n "$STRIP"; then
4708
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714
test -z "$as_dir" && as_dir=.
4715
for ac_exec_ext in '' $ac_executable_extensions; do
4716
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4718
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4727
STRIP=$ac_cv_prog_STRIP
4728
if test -n "$STRIP"; then
4729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4730
$as_echo "$STRIP" >&6; }
4732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733
$as_echo "no" >&6; }
4738
if test -z "$ac_cv_prog_STRIP"; then
4740
# Extract the first word of "strip", so it can be a program name with args.
4741
set dummy strip; ac_word=$2
4742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4743
$as_echo_n "checking for $ac_word... " >&6; }
4744
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
4745
$as_echo_n "(cached) " >&6
4747
if test -n "$ac_ct_STRIP"; then
4748
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754
test -z "$as_dir" && as_dir=.
4755
for ac_exec_ext in '' $ac_executable_extensions; do
4756
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4757
ac_cv_prog_ac_ct_STRIP="strip"
4758
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4767
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4768
if test -n "$ac_ct_STRIP"; then
4769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4770
$as_echo "$ac_ct_STRIP" >&6; }
4772
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4773
$as_echo "no" >&6; }
4776
if test "x$ac_ct_STRIP" = x; then
4779
case $cross_compiling:$ac_tool_warned in
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4782
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4783
ac_tool_warned=yes ;;
4788
STRIP="$ac_cv_prog_STRIP"
4792
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
4794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
4795
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
4796
if test -z "$MKDIR_P"; then
4797
if ${ac_cv_path_mkdir+:} false; then :
4798
$as_echo_n "(cached) " >&6
4800
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4801
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
4804
test -z "$as_dir" && as_dir=.
4805
for ac_prog in mkdir gmkdir; do
4806
for ac_exec_ext in '' $ac_executable_extensions; do
4807
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
4808
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
4809
'mkdir (GNU coreutils) '* | \
4810
'mkdir (coreutils) '* | \
4811
'mkdir (fileutils) '4.1*)
4812
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
4822
test -d ./--version && rmdir ./--version
4823
if test "${ac_cv_path_mkdir+set}" = set; then
4824
MKDIR_P="$ac_cv_path_mkdir -p"
4826
# As a last resort, use the slow shell script. Don't cache a
4827
# value for MKDIR_P within a source directory, because that will
4828
# break other packages using the cache if that directory is
4829
# removed, or if the value is a relative name.
4830
MKDIR_P="$ac_install_sh -d"
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
4834
$as_echo "$MKDIR_P" >&6; }
4838
[\\/$]* | ?:[\\/]*) ;;
4839
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
4842
for ac_prog in gawk mawk nawk awk
4844
# Extract the first word of "$ac_prog", so it can be a program name with args.
4845
set dummy $ac_prog; ac_word=$2
4846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4847
$as_echo_n "checking for $ac_word... " >&6; }
4848
if ${ac_cv_prog_AWK+:} false; then :
4849
$as_echo_n "(cached) " >&6
4851
if test -n "$AWK"; then
4852
ac_cv_prog_AWK="$AWK" # Let the user override the test.
4854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4858
test -z "$as_dir" && as_dir=.
4859
for ac_exec_ext in '' $ac_executable_extensions; do
4860
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4861
ac_cv_prog_AWK="$ac_prog"
4862
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872
if test -n "$AWK"; then
4873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4874
$as_echo "$AWK" >&6; }
4876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4877
$as_echo "no" >&6; }
4881
test -n "$AWK" && break
4884
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4885
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4887
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4888
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4889
$as_echo_n "(cached) " >&6
4891
cat >conftest.make <<\_ACEOF
4894
@echo '@@@%%%=$(MAKE)=@@@%%%'
4896
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4897
case `${MAKE-make} -f conftest.make 2>/dev/null` in
4899
eval ac_cv_prog_make_${ac_make}_set=yes;;
4901
eval ac_cv_prog_make_${ac_make}_set=no;;
4905
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4907
$as_echo "yes" >&6; }
4910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911
$as_echo "no" >&6; }
4912
SET_MAKE="MAKE=${MAKE-make}"
4915
rm -rf .tst 2>/dev/null
4916
mkdir .tst 2>/dev/null
4917
if test -d .tst; then
4922
rmdir .tst 2>/dev/null
4924
DEPDIR="${am__leading_dot}deps"
4926
ac_config_commands="$ac_config_commands depfiles"
4929
am_make=${MAKE-make}
4930
cat > confinc << 'END'
4932
@echo this is the am__doit target
4935
# If we don't find an include directive, just comment out the code.
4936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4937
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4941
# First try GNU make style include.
4942
echo "include confinc" > confmf
4943
# Ignore all kinds of additional output from `make'.
4944
case `$am_make -s -f confmf 2> /dev/null` in #(
4945
*the\ am__doit\ target*)
4951
# Now try BSD make style include.
4952
if test "$am__include" = "#"; then
4953
echo '.include "confinc"' > confmf
4954
case `$am_make -s -f confmf 2> /dev/null` in #(
4955
*the\ am__doit\ target*)
4956
am__include=.include
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4965
$as_echo "$_am_result" >&6; }
4966
rm -f confinc confmf
4968
# Check whether --enable-dependency-tracking was given.
4969
if test "${enable_dependency_tracking+set}" = set; then :
4970
enableval=$enable_dependency_tracking;
4973
if test "x$enable_dependency_tracking" != xno; then
4974
am_depcomp="$ac_aux_dir/depcomp"
4977
if test "x$enable_dependency_tracking" != xno; then
4986
if test "`cd $srcdir && pwd`" != "`pwd`"; then
4987
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
4988
# is not polluted with repeated "-I."
4989
am__isrc=' -I$(srcdir)'
4990
# test to see if srcdir already configured
4991
if test -f $srcdir/config.status; then
4992
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
4996
# test whether we have cygpath
4997
if test -z "$CYGPATH_W"; then
4998
if (cygpath --version) >/dev/null 2>/dev/null; then
4999
CYGPATH_W='cygpath -w'
5006
# Define the identity of the package.
5011
cat >>confdefs.h <<_ACEOF
5012
#define PACKAGE "$PACKAGE"
5016
cat >>confdefs.h <<_ACEOF
5017
#define VERSION "$VERSION"
5020
# Some tools Automake needs.
5022
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
5025
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
5028
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
5031
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
5034
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
5036
# We need awk for the "check" target. The system "awk" is bad on
5038
# Always define AMTAR for backward compatibility.
5040
AMTAR=${AMTAR-"${am_missing_run}tar"}
5042
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
5047
depcc="$CC" am_compiler_list=
5049
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5050
$as_echo_n "checking dependency style of $depcc... " >&6; }
5051
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5052
$as_echo_n "(cached) " >&6
5054
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5055
# We make a subdir and do the tests there. Otherwise we can end up
5056
# making bogus files that we don't know about and never remove. For
5057
# instance it was reported that on HP-UX the gcc test will end up
5058
# making a dummy file named `D' -- because `-MD' means `put the output
5061
# Copy depcomp to subdir because otherwise we won't find it if we're
5062
# using a relative directory.
5063
cp "$am_depcomp" conftest.dir
5065
# We will build objects and dependencies in a subdirectory because
5066
# it helps to detect inapplicable dependency modes. For instance
5067
# both Tru64's cc and ICC support -MD to output dependencies as a
5068
# side effect of compilation, but ICC will put the dependencies in
5069
# the current directory while Tru64 will put them in the object
5073
am_cv_CC_dependencies_compiler_type=none
5074
if test "$am_compiler_list" = ""; then
5075
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5078
case " $depcc " in #(
5079
*\ -arch\ *\ -arch\ *) am__universal=true ;;
5082
for depmode in $am_compiler_list; do
5083
# Setup a source with many dependencies, because some compilers
5084
# like to wrap large dependency lists on column 80 (with \), and
5085
# we should not choose a depcomp mode which is confused by this.
5087
# We need to recreate these files for each test, as the compiler may
5088
# overwrite some of them when testing with obscure command lines.
5089
# This happens at least with the AIX C compiler.
5091
for i in 1 2 3 4 5 6; do
5092
echo '#include "conftst'$i'.h"' >> sub/conftest.c
5093
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
5094
# Solaris 8's {/usr,}/bin/sh.
5095
touch sub/conftst$i.h
5097
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5099
# We check with `-c' and `-o' for the sake of the "dashmstdout"
5100
# mode. It turns out that the SunPro C++ compiler does not properly
5101
# handle `-M -o', and we need to detect this. Also, some Intel
5102
# versions had trouble with output in subdirs
5103
am__obj=sub/conftest.${OBJEXT-o}
5104
am__minus_obj="-o $am__obj"
5107
# This depmode causes a compiler race in universal mode.
5108
test "$am__universal" = false || continue
5111
# after this tag, mechanisms are not by side-effect, so they'll
5112
# only be used when explicitly requested
5113
if test "x$enable_dependency_tracking" = xyes; then
5119
msvisualcpp | msvcmsys)
5120
# This compiler won't grok `-c -o', but also, the minuso test has
5121
# not run yet. These depmodes are late enough in the game, and
5122
# so weak that their functioning should not be impacted.
5123
am__obj=conftest.${OBJEXT-o}
5128
if depmode=$depmode \
5129
source=sub/conftest.c object=$am__obj \
5130
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5131
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5132
>/dev/null 2>conftest.err &&
5133
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5134
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5135
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5136
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5137
# icc doesn't choke on unknown options, it will just issue warnings
5138
# or remarks (even with -Werror). So we grep stderr for any message
5139
# that says an option was ignored or not supported.
5140
# When given -MP, icc 7.0 and 7.1 complain thusly:
5141
# icc: Command line warning: ignoring option '-M'; no argument required
5142
# The diagnosis changed in icc 8.0:
5143
# icc: Command line remark: option '-MP' not supported
5144
if (grep 'ignoring option' conftest.err ||
5145
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5146
am_cv_CC_dependencies_compiler_type=$depmode
5155
am_cv_CC_dependencies_compiler_type=none
5159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5160
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5161
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5164
test "x$enable_dependency_tracking" != xno \
5165
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5167
am__fastdepCC_FALSE='#'
5169
am__fastdepCC_TRUE='#'
5170
am__fastdepCC_FALSE=
5176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
5177
$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
5178
# Check whether --enable-maintainer-mode was given.
5179
if test "${enable_maintainer_mode+set}" = set; then :
5180
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5182
USE_MAINTAINER_MODE=yes
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5186
$as_echo "$USE_MAINTAINER_MODE" >&6; }
5187
if test $USE_MAINTAINER_MODE = yes; then
5188
MAINTAINER_MODE_TRUE=
5189
MAINTAINER_MODE_FALSE='#'
5191
MAINTAINER_MODE_TRUE='#'
5192
MAINTAINER_MODE_FALSE=
5195
MAINT=$MAINTAINER_MODE_TRUE
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5203
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5209
macro_revision='1.3293'
5223
ltmain="$ac_aux_dir/ltmain.sh"
5225
# Make sure we can run config.sub.
5226
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5227
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5230
$as_echo_n "checking build system type... " >&6; }
5231
if ${ac_cv_build+:} false; then :
5232
$as_echo_n "(cached) " >&6
5234
ac_build_alias=$build_alias
5235
test "x$ac_build_alias" = x &&
5236
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5237
test "x$ac_build_alias" = x &&
5238
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5239
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5240
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5244
$as_echo "$ac_cv_build" >&6; }
5245
case $ac_cv_build in
5247
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5250
ac_save_IFS=$IFS; IFS='-'
5256
# Remember, the first character of IFS is used to create $*,
5257
# except with old shells:
5260
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5263
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5264
$as_echo_n "checking host system type... " >&6; }
5265
if ${ac_cv_host+:} false; then :
5266
$as_echo_n "(cached) " >&6
5268
if test "x$host_alias" = x; then
5269
ac_cv_host=$ac_cv_build
5271
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5272
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5277
$as_echo "$ac_cv_host" >&6; }
5280
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5283
ac_save_IFS=$IFS; IFS='-'
5289
# Remember, the first character of IFS is used to create $*,
5290
# except with old shells:
5293
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5296
# Backslashify metacharacters that are still active within
5297
# double-quoted strings.
5298
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5300
# Same as above, but do not quote variable references.
5301
double_quote_subst='s/\(["`\\]\)/\\\1/g'
5303
# Sed substitution to delay expansion of an escaped shell variable in a
5304
# double_quote_subst'ed string.
5305
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5307
# Sed substitution to delay expansion of an escaped single quote.
5308
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5310
# Sed substitution to avoid accidental globbing in evaled expressions
5311
no_glob_subst='s/\*/\\\*/g'
5313
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5314
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5315
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5318
$as_echo_n "checking how to print strings... " >&6; }
5319
# Test print first, because it will be a builtin if present.
5320
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5321
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5323
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5326
# Use this function as a fallback that always works.
5327
func_fallback_echo ()
5329
eval 'cat <<_LTECHO_EOF
5333
ECHO='func_fallback_echo'
5336
# func_echo_all arg...
5337
# Invoke $ECHO with all args, space-separated.
5344
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5345
$as_echo "printf" >&6; } ;;
5346
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5347
$as_echo "print -r" >&6; } ;;
5348
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5349
$as_echo "cat" >&6; } ;;
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5366
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5367
if ${ac_cv_path_SED+:} false; then :
5368
$as_echo_n "(cached) " >&6
5370
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5371
for ac_i in 1 2 3 4 5 6 7; do
5372
ac_script="$ac_script$as_nl$ac_script"
5374
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5375
{ ac_script=; unset ac_script;}
5376
if test -z "$SED"; then
5377
ac_path_SED_found=false
5378
# Loop through the user's path and test for each of PROGNAME-LIST
5379
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383
test -z "$as_dir" && as_dir=.
5384
for ac_prog in sed gsed; do
5385
for ac_exec_ext in '' $ac_executable_extensions; do
5386
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5387
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5388
# Check for GNU ac_path_SED and select it if it is found.
5389
# Check for GNU $ac_path_SED
5390
case `"$ac_path_SED" --version 2>&1` in
5392
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5395
$as_echo_n 0123456789 >"conftest.in"
5398
cat "conftest.in" "conftest.in" >"conftest.tmp"
5399
mv "conftest.tmp" "conftest.in"
5400
cp "conftest.in" "conftest.nl"
5401
$as_echo '' >> "conftest.nl"
5402
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5403
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5404
as_fn_arith $ac_count + 1 && ac_count=$as_val
5405
if test $ac_count -gt ${ac_path_SED_max-0}; then
5406
# Best one so far, save it but keep looking for a better one
5407
ac_cv_path_SED="$ac_path_SED"
5408
ac_path_SED_max=$ac_count
5410
# 10*(2^10) chars as input seems more than enough
5411
test $ac_count -gt 10 && break
5413
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5416
$ac_path_SED_found && break 3
5421
if test -z "$ac_cv_path_SED"; then
5422
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5430
$as_echo "$ac_cv_path_SED" >&6; }
5431
SED="$ac_cv_path_SED"
5434
test -z "$SED" && SED=sed
5435
Xsed="$SED -e 1s/^X//"
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5448
$as_echo_n "checking for fgrep... " >&6; }
5449
if ${ac_cv_path_FGREP+:} false; then :
5450
$as_echo_n "(cached) " >&6
5452
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5453
then ac_cv_path_FGREP="$GREP -F"
5455
if test -z "$FGREP"; then
5456
ac_path_FGREP_found=false
5457
# Loop through the user's path and test for each of PROGNAME-LIST
5458
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5459
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5462
test -z "$as_dir" && as_dir=.
5463
for ac_prog in fgrep; do
5464
for ac_exec_ext in '' $ac_executable_extensions; do
5465
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5466
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5467
# Check for GNU ac_path_FGREP and select it if it is found.
5468
# Check for GNU $ac_path_FGREP
5469
case `"$ac_path_FGREP" --version 2>&1` in
5471
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5474
$as_echo_n 0123456789 >"conftest.in"
5477
cat "conftest.in" "conftest.in" >"conftest.tmp"
5478
mv "conftest.tmp" "conftest.in"
5479
cp "conftest.in" "conftest.nl"
5480
$as_echo 'FGREP' >> "conftest.nl"
5481
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5482
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5483
as_fn_arith $ac_count + 1 && ac_count=$as_val
5484
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5485
# Best one so far, save it but keep looking for a better one
5486
ac_cv_path_FGREP="$ac_path_FGREP"
5487
ac_path_FGREP_max=$ac_count
5489
# 10*(2^10) chars as input seems more than enough
5490
test $ac_count -gt 10 && break
5492
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5495
$ac_path_FGREP_found && break 3
5500
if test -z "$ac_cv_path_FGREP"; then
5501
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5504
ac_cv_path_FGREP=$FGREP
5509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5510
$as_echo "$ac_cv_path_FGREP" >&6; }
5511
FGREP="$ac_cv_path_FGREP"
5514
test -z "$GREP" && GREP=grep
5534
# Check whether --with-gnu-ld was given.
5535
if test "${with_gnu_ld+set}" = set; then :
5536
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5542
if test "$GCC" = yes; then
5543
# Check if gcc -print-prog-name=ld gives a path.
5544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5545
$as_echo_n "checking for ld used by $CC... " >&6; }
5548
# gcc leaves a trailing carriage return which upsets mingw
5549
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5551
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5554
# Accept absolute paths.
5556
re_direlt='/[^/][^/]*/\.\./'
5557
# Canonicalize the pathname of ld
5558
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5559
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5560
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5562
test -z "$LD" && LD="$ac_prog"
5565
# If it fails, then pretend we aren't using GCC.
5569
# If it is relative, then search for the first ld in PATH.
5573
elif test "$with_gnu_ld" = yes; then
5574
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5575
$as_echo_n "checking for GNU ld... " >&6; }
5577
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5578
$as_echo_n "checking for non-GNU ld... " >&6; }
5580
if ${lt_cv_path_LD+:} false; then :
5581
$as_echo_n "(cached) " >&6
5583
if test -z "$LD"; then
5584
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5585
for ac_dir in $PATH; do
5587
test -z "$ac_dir" && ac_dir=.
5588
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5589
lt_cv_path_LD="$ac_dir/$ac_prog"
5590
# Check to see if the program is GNU ld. I'd rather use --version,
5591
# but apparently some variants of GNU ld only accept -v.
5592
# Break only if it was the GNU/non-GNU ld that we prefer.
5593
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5594
*GNU* | *'with BFD'*)
5595
test "$with_gnu_ld" != no && break
5598
test "$with_gnu_ld" != yes && break
5605
lt_cv_path_LD="$LD" # Let the user override the test with a path.
5610
if test -n "$LD"; then
5611
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5612
$as_echo "$LD" >&6; }
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615
$as_echo "no" >&6; }
5617
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5619
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5620
if ${lt_cv_prog_gnu_ld+:} false; then :
5621
$as_echo_n "(cached) " >&6
5623
# I'd rather use --version here, but apparently some GNU lds only accept -v.
5624
case `$LD -v 2>&1 </dev/null` in
5625
*GNU* | *'with BFD'*)
5626
lt_cv_prog_gnu_ld=yes
5629
lt_cv_prog_gnu_ld=no
5633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5634
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5635
with_gnu_ld=$lt_cv_prog_gnu_ld
5645
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5646
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5647
if ${lt_cv_path_NM+:} false; then :
5648
$as_echo_n "(cached) " >&6
5650
if test -n "$NM"; then
5651
# Let the user override the test.
5654
lt_nm_to_check="${ac_tool_prefix}nm"
5655
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5656
lt_nm_to_check="$lt_nm_to_check nm"
5658
for lt_tmp_nm in $lt_nm_to_check; do
5659
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5660
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5662
test -z "$ac_dir" && ac_dir=.
5663
tmp_nm="$ac_dir/$lt_tmp_nm"
5664
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5665
# Check to see if the nm accepts a BSD-compat flag.
5666
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5667
# nm: unknown option "B" ignored
5668
# Tru64's nm complains that /dev/null is an invalid object file
5669
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5670
*/dev/null* | *'Invalid file or object type'*)
5671
lt_cv_path_NM="$tmp_nm -B"
5675
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5677
lt_cv_path_NM="$tmp_nm -p"
5681
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5682
continue # so that we can try to find one that supports BSD flags
5691
: ${lt_cv_path_NM=no}
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5695
$as_echo "$lt_cv_path_NM" >&6; }
5696
if test "$lt_cv_path_NM" != "no"; then
5699
# Didn't find any BSD compatible name lister, look for dumpbin.
5700
if test -n "$DUMPBIN"; then :
5701
# Let the user override the test.
5703
if test -n "$ac_tool_prefix"; then
5704
for ac_prog in dumpbin "link -dump"
5706
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5707
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5708
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5709
$as_echo_n "checking for $ac_word... " >&6; }
5710
if ${ac_cv_prog_DUMPBIN+:} false; then :
5711
$as_echo_n "(cached) " >&6
5713
if test -n "$DUMPBIN"; then
5714
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5716
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720
test -z "$as_dir" && as_dir=.
5721
for ac_exec_ext in '' $ac_executable_extensions; do
5722
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5723
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5724
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733
DUMPBIN=$ac_cv_prog_DUMPBIN
5734
if test -n "$DUMPBIN"; then
5735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5736
$as_echo "$DUMPBIN" >&6; }
5738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5739
$as_echo "no" >&6; }
5743
test -n "$DUMPBIN" && break
5746
if test -z "$DUMPBIN"; then
5747
ac_ct_DUMPBIN=$DUMPBIN
5748
for ac_prog in dumpbin "link -dump"
5750
# Extract the first word of "$ac_prog", so it can be a program name with args.
5751
set dummy $ac_prog; ac_word=$2
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753
$as_echo_n "checking for $ac_word... " >&6; }
5754
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5755
$as_echo_n "(cached) " >&6
5757
if test -n "$ac_ct_DUMPBIN"; then
5758
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764
test -z "$as_dir" && as_dir=.
5765
for ac_exec_ext in '' $ac_executable_extensions; do
5766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5768
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5778
if test -n "$ac_ct_DUMPBIN"; then
5779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5780
$as_echo "$ac_ct_DUMPBIN" >&6; }
5782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783
$as_echo "no" >&6; }
5787
test -n "$ac_ct_DUMPBIN" && break
5790
if test "x$ac_ct_DUMPBIN" = x; then
5793
case $cross_compiling:$ac_tool_warned in
5795
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5796
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5797
ac_tool_warned=yes ;;
5799
DUMPBIN=$ac_ct_DUMPBIN
5803
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5805
DUMPBIN="$DUMPBIN -symbols"
5813
if test "$DUMPBIN" != ":"; then
5817
test -z "$NM" && NM=nm
5824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5825
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5826
if ${lt_cv_nm_interface+:} false; then :
5827
$as_echo_n "(cached) " >&6
5829
lt_cv_nm_interface="BSD nm"
5830
echo "int some_variable = 0;" > conftest.$ac_ext
5831
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5832
(eval "$ac_compile" 2>conftest.err)
5833
cat conftest.err >&5
5834
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5835
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5836
cat conftest.err >&5
5837
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5838
cat conftest.out >&5
5839
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5840
lt_cv_nm_interface="MS dumpbin"
5844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5845
$as_echo "$lt_cv_nm_interface" >&6; }
5847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5848
$as_echo_n "checking whether ln -s works... " >&6; }
5850
if test "$LN_S" = "ln -s"; then
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5852
$as_echo "yes" >&6; }
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5855
$as_echo "no, using $LN_S" >&6; }
5858
# find the maximum length of command line arguments
5859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5860
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5861
if ${lt_cv_sys_max_cmd_len+:} false; then :
5862
$as_echo_n "(cached) " >&6
5869
# On DJGPP, this test can blow up pretty badly due to problems in libc
5870
# (any single argument exceeding 2000 bytes causes a buffer overrun
5871
# during glob expansion). Even if it were fixed, the result of this
5872
# check would be larger than it should be.
5873
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5877
# Under GNU Hurd, this test is not required because there is
5878
# no limit to the length of command line arguments.
5879
# Libtool will interpret -1 as no limit whatsoever
5880
lt_cv_sys_max_cmd_len=-1;
5883
cygwin* | mingw* | cegcc*)
5884
# On Win9x/ME, this test blows up -- it succeeds, but takes
5885
# about 5 minutes as the teststring grows exponentially.
5886
# Worse, since 9x/ME are not pre-emptively multitasking,
5887
# you end up with a "frozen" computer, even though with patience
5888
# the test eventually succeeds (with a max line length of 256k).
5889
# Instead, let's just punt: use the minimum linelength reported by
5890
# all of the supported platforms: 8192 (on NT/2K/XP).
5891
lt_cv_sys_max_cmd_len=8192;
5895
# On MiNT this can take a long time and run out of memory.
5896
lt_cv_sys_max_cmd_len=8192;
5900
# On AmigaOS with pdksh, this test takes hours, literally.
5901
# So we just punt and use a minimum line length of 8192.
5902
lt_cv_sys_max_cmd_len=8192;
5905
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5906
# This has been around since 386BSD, at least. Likely further.
5907
if test -x /sbin/sysctl; then
5908
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5909
elif test -x /usr/sbin/sysctl; then
5910
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5912
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5914
# And add a safety zone
5915
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5916
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5920
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5921
lt_cv_sys_max_cmd_len=196608
5925
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5926
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5927
# nice to cause kernel panics so lets avoid the loop below.
5928
# First set a reasonable default.
5929
lt_cv_sys_max_cmd_len=16384
5931
if test -x /sbin/sysconfig; then
5932
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5933
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5938
lt_cv_sys_max_cmd_len=102400
5940
sysv5* | sco5v6* | sysv4.2uw2*)
5941
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5942
if test -n "$kargmax"; then
5943
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5945
lt_cv_sys_max_cmd_len=32768
5949
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5950
if test -n "$lt_cv_sys_max_cmd_len"; then
5951
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5952
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5954
# Make teststring a little bigger before we do anything with it.
5955
# a 1K string should be a reasonable start.
5956
for i in 1 2 3 4 5 6 7 8 ; do
5957
teststring=$teststring$teststring
5959
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5960
# If test is not a shell built-in, we'll probably end up computing a
5961
# maximum length that is only half of the actual maximum length, but
5963
while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5964
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5965
test $i != 17 # 1/2 MB should be enough
5968
teststring=$teststring$teststring
5970
# Only check the string length outside the loop.
5971
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5973
# Add a significant safety factor because C++ compilers can tack on
5974
# massive amounts of additional arguments before passing them to the
5975
# linker. It appears as though 1/2 is a usable value.
5976
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5983
if test -n $lt_cv_sys_max_cmd_len ; then
5984
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5985
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5988
$as_echo "none" >&6; }
5990
max_cmd_len=$lt_cv_sys_max_cmd_len
6001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6002
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6003
# Try some XSI features
6006
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6008
&& eval 'test $(( 1 + 1 )) -eq 2 \
6009
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6012
$as_echo "$xsi_shell" >&6; }
6015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6016
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6018
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6020
&& lt_shell_append=yes
6021
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6022
$as_echo "$lt_shell_append" >&6; }
6025
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6035
# test EBCDIC or ASCII
6036
case `echo X|tr X '\101'` in
6037
A) # ASCII based system
6038
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6039
lt_SP2NL='tr \040 \012'
6040
lt_NL2SP='tr \015\012 \040\040'
6042
*) # EBCDIC based system
6043
lt_SP2NL='tr \100 \n'
6044
lt_NL2SP='tr \r\n \100\100'
6056
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6057
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6058
if ${lt_cv_to_host_file_cmd+:} false; then :
6059
$as_echo_n "(cached) " >&6
6064
*-*-mingw* ) # actually msys
6065
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6068
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6070
* ) # otherwise, assume *nix
6071
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6077
*-*-mingw* ) # actually msys
6078
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6081
lt_cv_to_host_file_cmd=func_convert_file_noop
6083
* ) # otherwise, assume *nix
6084
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6088
* ) # unhandled hosts (and "normal" native builds)
6089
lt_cv_to_host_file_cmd=func_convert_file_noop
6095
to_host_file_cmd=$lt_cv_to_host_file_cmd
6096
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6097
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6104
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6105
if ${lt_cv_to_tool_file_cmd+:} false; then :
6106
$as_echo_n "(cached) " >&6
6108
#assume ordinary cross tools, or native build.
6109
lt_cv_to_tool_file_cmd=func_convert_file_noop
6113
*-*-mingw* ) # actually msys
6114
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6122
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6124
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6131
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6132
if ${lt_cv_ld_reload_flag+:} false; then :
6133
$as_echo_n "(cached) " >&6
6135
lt_cv_ld_reload_flag='-r'
6137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6138
$as_echo "$lt_cv_ld_reload_flag" >&6; }
6139
reload_flag=$lt_cv_ld_reload_flag
6140
case $reload_flag in
6142
*) reload_flag=" $reload_flag" ;;
6144
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6146
cygwin* | mingw* | pw32* | cegcc*)
6147
if test "$GCC" != yes; then
6152
if test "$GCC" = yes; then
6153
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6155
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6168
if test -n "$ac_tool_prefix"; then
6169
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6170
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6171
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172
$as_echo_n "checking for $ac_word... " >&6; }
6173
if ${ac_cv_prog_OBJDUMP+:} false; then :
6174
$as_echo_n "(cached) " >&6
6176
if test -n "$OBJDUMP"; then
6177
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183
test -z "$as_dir" && as_dir=.
6184
for ac_exec_ext in '' $ac_executable_extensions; do
6185
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6187
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6196
OBJDUMP=$ac_cv_prog_OBJDUMP
6197
if test -n "$OBJDUMP"; then
6198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6199
$as_echo "$OBJDUMP" >&6; }
6201
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202
$as_echo "no" >&6; }
6207
if test -z "$ac_cv_prog_OBJDUMP"; then
6208
ac_ct_OBJDUMP=$OBJDUMP
6209
# Extract the first word of "objdump", so it can be a program name with args.
6210
set dummy objdump; ac_word=$2
6211
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6212
$as_echo_n "checking for $ac_word... " >&6; }
6213
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6214
$as_echo_n "(cached) " >&6
6216
if test -n "$ac_ct_OBJDUMP"; then
6217
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6219
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223
test -z "$as_dir" && as_dir=.
6224
for ac_exec_ext in '' $ac_executable_extensions; do
6225
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6226
ac_cv_prog_ac_ct_OBJDUMP="objdump"
6227
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6236
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6237
if test -n "$ac_ct_OBJDUMP"; then
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6239
$as_echo "$ac_ct_OBJDUMP" >&6; }
6241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6242
$as_echo "no" >&6; }
6245
if test "x$ac_ct_OBJDUMP" = x; then
6248
case $cross_compiling:$ac_tool_warned in
6250
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6251
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6252
ac_tool_warned=yes ;;
6254
OBJDUMP=$ac_ct_OBJDUMP
6257
OBJDUMP="$ac_cv_prog_OBJDUMP"
6260
test -z "$OBJDUMP" && OBJDUMP=objdump
6270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6271
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6272
if ${lt_cv_deplibs_check_method+:} false; then :
6273
$as_echo_n "(cached) " >&6
6275
lt_cv_file_magic_cmd='$MAGIC_CMD'
6276
lt_cv_file_magic_test_file=
6277
lt_cv_deplibs_check_method='unknown'
6278
# Need to set the preceding variable on all platforms that support
6279
# interlibrary dependencies.
6280
# 'none' -- dependencies not supported.
6281
# `unknown' -- same as none, but documents that we really don't know.
6282
# 'pass_all' -- all dependencies passed with no checks.
6283
# 'test_compile' -- check by making test program.
6284
# 'file_magic [[regex]]' -- check by looking for files in library path
6285
# which responds to the $file_magic_cmd with a given extended regex.
6286
# If you have `file' or equivalent on your system and you're not sure
6287
# whether `pass_all' will *always* work, you probably want this one.
6291
lt_cv_deplibs_check_method=pass_all
6295
lt_cv_deplibs_check_method=pass_all
6299
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6300
lt_cv_file_magic_cmd='/usr/bin/file -L'
6301
lt_cv_file_magic_test_file=/shlib/libc.so
6305
# func_win32_libid is a shell function defined in ltmain.sh
6306
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6307
lt_cv_file_magic_cmd='func_win32_libid'
6311
# Base MSYS/MinGW do not provide the 'file' command needed by
6312
# func_win32_libid shell function, so use a weaker test based on 'objdump',
6313
# unless we find 'file', for example because we are cross-compiling.
6314
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6315
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6316
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6317
lt_cv_file_magic_cmd='func_win32_libid'
6319
# Keep this pattern in sync with the one in func_win32_libid.
6320
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6321
lt_cv_file_magic_cmd='$OBJDUMP -f'
6326
# use the weaker test based on 'objdump'. See mingw*.
6327
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6328
lt_cv_file_magic_cmd='$OBJDUMP -f'
6331
darwin* | rhapsody*)
6332
lt_cv_deplibs_check_method=pass_all
6335
freebsd* | dragonfly*)
6336
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6339
# Not sure whether the presence of OpenBSD here was a mistake.
6340
# Let's accept both of them until this is cleared up.
6341
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6342
lt_cv_file_magic_cmd=/usr/bin/file
6343
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6347
lt_cv_deplibs_check_method=pass_all
6352
lt_cv_deplibs_check_method=pass_all
6356
lt_cv_deplibs_check_method=pass_all
6359
hpux10.20* | hpux11*)
6360
lt_cv_file_magic_cmd=/usr/bin/file
6363
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6364
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6367
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]'
6368
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6371
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6372
lt_cv_file_magic_test_file=/usr/lib/libc.sl
6378
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6379
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6382
irix5* | irix6* | nonstopux*)
6384
*-32|*"-32 ") libmagic=32-bit;;
6385
*-n32|*"-n32 ") libmagic=N32;;
6386
*-64|*"-64 ") libmagic=64-bit;;
6387
*) libmagic=never-match;;
6389
lt_cv_deplibs_check_method=pass_all
6392
# This must be Linux ELF.
6393
linux* | k*bsd*-gnu | kopensolaris*-gnu)
6394
lt_cv_deplibs_check_method=pass_all
6397
netbsd* | netbsdelf*-gnu)
6398
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6399
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6401
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6406
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6407
lt_cv_file_magic_cmd=/usr/bin/file
6408
lt_cv_file_magic_test_file=/usr/lib/libnls.so
6412
lt_cv_deplibs_check_method=pass_all
6416
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6417
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6419
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6423
osf3* | osf4* | osf5*)
6424
lt_cv_deplibs_check_method=pass_all
6428
lt_cv_deplibs_check_method=pass_all
6432
lt_cv_deplibs_check_method=pass_all
6435
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6436
lt_cv_deplibs_check_method=pass_all
6440
case $host_vendor in
6442
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]'
6443
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6446
lt_cv_deplibs_check_method=pass_all
6449
lt_cv_file_magic_cmd='/bin/file'
6450
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6453
lt_cv_file_magic_cmd='/bin/file'
6454
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6455
lt_cv_file_magic_test_file=/lib/libc.so
6458
lt_cv_deplibs_check_method=pass_all
6461
lt_cv_deplibs_check_method=pass_all
6467
lt_cv_deplibs_check_method=pass_all
6472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6473
$as_echo "$lt_cv_deplibs_check_method" >&6; }
6477
if test "$build" = "$host"; then
6480
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6483
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6489
file_magic_cmd=$lt_cv_file_magic_cmd
6490
deplibs_check_method=$lt_cv_deplibs_check_method
6491
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6514
if test -n "$ac_tool_prefix"; then
6515
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6516
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6518
$as_echo_n "checking for $ac_word... " >&6; }
6519
if ${ac_cv_prog_DLLTOOL+:} false; then :
6520
$as_echo_n "(cached) " >&6
6522
if test -n "$DLLTOOL"; then
6523
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6529
test -z "$as_dir" && as_dir=.
6530
for ac_exec_ext in '' $ac_executable_extensions; do
6531
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6532
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6533
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6542
DLLTOOL=$ac_cv_prog_DLLTOOL
6543
if test -n "$DLLTOOL"; then
6544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6545
$as_echo "$DLLTOOL" >&6; }
6547
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548
$as_echo "no" >&6; }
6553
if test -z "$ac_cv_prog_DLLTOOL"; then
6554
ac_ct_DLLTOOL=$DLLTOOL
6555
# Extract the first word of "dlltool", so it can be a program name with args.
6556
set dummy dlltool; ac_word=$2
6557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6558
$as_echo_n "checking for $ac_word... " >&6; }
6559
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6560
$as_echo_n "(cached) " >&6
6562
if test -n "$ac_ct_DLLTOOL"; then
6563
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569
test -z "$as_dir" && as_dir=.
6570
for ac_exec_ext in '' $ac_executable_extensions; do
6571
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6572
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6573
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6582
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6583
if test -n "$ac_ct_DLLTOOL"; then
6584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6585
$as_echo "$ac_ct_DLLTOOL" >&6; }
6587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6588
$as_echo "no" >&6; }
6591
if test "x$ac_ct_DLLTOOL" = x; then
6594
case $cross_compiling:$ac_tool_warned in
6596
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6597
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6598
ac_tool_warned=yes ;;
6600
DLLTOOL=$ac_ct_DLLTOOL
6603
DLLTOOL="$ac_cv_prog_DLLTOOL"
6606
test -z "$DLLTOOL" && DLLTOOL=dlltool
6617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6618
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6619
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6620
$as_echo_n "(cached) " >&6
6622
lt_cv_sharedlib_from_linklib_cmd='unknown'
6625
cygwin* | mingw* | pw32* | cegcc*)
6626
# two different shell functions defined in ltmain.sh
6627
# decide which to use based on capabilities of $DLLTOOL
6628
case `$DLLTOOL --help 2>&1` in
6629
*--identify-strict*)
6630
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6633
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6638
# fallback: assume linklib IS sharedlib
6639
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6645
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6646
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6647
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6655
if test -n "$ac_tool_prefix"; then
6658
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6659
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661
$as_echo_n "checking for $ac_word... " >&6; }
6662
if ${ac_cv_prog_AR+:} false; then :
6663
$as_echo_n "(cached) " >&6
6665
if test -n "$AR"; then
6666
ac_cv_prog_AR="$AR" # Let the user override the test.
6668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672
test -z "$as_dir" && as_dir=.
6673
for ac_exec_ext in '' $ac_executable_extensions; do
6674
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686
if test -n "$AR"; then
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6688
$as_echo "$AR" >&6; }
6690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691
$as_echo "no" >&6; }
6695
test -n "$AR" && break
6698
if test -z "$AR"; then
6702
# Extract the first word of "$ac_prog", so it can be a program name with args.
6703
set dummy $ac_prog; ac_word=$2
6704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6705
$as_echo_n "checking for $ac_word... " >&6; }
6706
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6707
$as_echo_n "(cached) " >&6
6709
if test -n "$ac_ct_AR"; then
6710
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6712
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6716
test -z "$as_dir" && as_dir=.
6717
for ac_exec_ext in '' $ac_executable_extensions; do
6718
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6719
ac_cv_prog_ac_ct_AR="$ac_prog"
6720
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6729
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6730
if test -n "$ac_ct_AR"; then
6731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6732
$as_echo "$ac_ct_AR" >&6; }
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6735
$as_echo "no" >&6; }
6739
test -n "$ac_ct_AR" && break
6742
if test "x$ac_ct_AR" = x; then
6745
case $cross_compiling:$ac_tool_warned in
6747
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749
ac_tool_warned=yes ;;
6768
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6769
$as_echo_n "checking for archiver @FILE support... " >&6; }
6770
if ${lt_cv_ar_at_file+:} false; then :
6771
$as_echo_n "(cached) " >&6
6774
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6775
/* end confdefs.h. */
6785
if ac_fn_c_try_compile "$LINENO"; then :
6786
echo conftest.$ac_objext > conftest.lst
6787
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6788
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6789
(eval $lt_ar_try) 2>&5
6791
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792
test $ac_status = 0; }
6793
if test "$ac_status" -eq 0; then
6794
# Ensure the archiver fails upon bogus file names.
6795
rm -f conftest.$ac_objext libconftest.a
6796
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6797
(eval $lt_ar_try) 2>&5
6799
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6800
test $ac_status = 0; }
6801
if test "$ac_status" -ne 0; then
6805
rm -f conftest.* libconftest.a
6808
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6812
$as_echo "$lt_cv_ar_at_file" >&6; }
6814
if test "x$lt_cv_ar_at_file" = xno; then
6817
archiver_list_spec=$lt_cv_ar_at_file
6826
if test -n "$ac_tool_prefix"; then
6827
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6828
set dummy ${ac_tool_prefix}strip; ac_word=$2
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6830
$as_echo_n "checking for $ac_word... " >&6; }
6831
if ${ac_cv_prog_STRIP+:} false; then :
6832
$as_echo_n "(cached) " >&6
6834
if test -n "$STRIP"; then
6835
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6837
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6841
test -z "$as_dir" && as_dir=.
6842
for ac_exec_ext in '' $ac_executable_extensions; do
6843
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6844
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6845
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6854
STRIP=$ac_cv_prog_STRIP
6855
if test -n "$STRIP"; then
6856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6857
$as_echo "$STRIP" >&6; }
6859
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6860
$as_echo "no" >&6; }
6865
if test -z "$ac_cv_prog_STRIP"; then
6867
# Extract the first word of "strip", so it can be a program name with args.
6868
set dummy strip; ac_word=$2
6869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6870
$as_echo_n "checking for $ac_word... " >&6; }
6871
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6872
$as_echo_n "(cached) " >&6
6874
if test -n "$ac_ct_STRIP"; then
6875
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6877
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881
test -z "$as_dir" && as_dir=.
6882
for ac_exec_ext in '' $ac_executable_extensions; do
6883
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6884
ac_cv_prog_ac_ct_STRIP="strip"
6885
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6895
if test -n "$ac_ct_STRIP"; then
6896
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6897
$as_echo "$ac_ct_STRIP" >&6; }
6899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6900
$as_echo "no" >&6; }
6903
if test "x$ac_ct_STRIP" = x; then
6906
case $cross_compiling:$ac_tool_warned in
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6909
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6910
ac_tool_warned=yes ;;
6915
STRIP="$ac_cv_prog_STRIP"
6918
test -z "$STRIP" && STRIP=:
6925
if test -n "$ac_tool_prefix"; then
6926
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6927
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6929
$as_echo_n "checking for $ac_word... " >&6; }
6930
if ${ac_cv_prog_RANLIB+:} false; then :
6931
$as_echo_n "(cached) " >&6
6933
if test -n "$RANLIB"; then
6934
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6936
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6940
test -z "$as_dir" && as_dir=.
6941
for ac_exec_ext in '' $ac_executable_extensions; do
6942
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6943
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6944
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6953
RANLIB=$ac_cv_prog_RANLIB
6954
if test -n "$RANLIB"; then
6955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6956
$as_echo "$RANLIB" >&6; }
6958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6959
$as_echo "no" >&6; }
6964
if test -z "$ac_cv_prog_RANLIB"; then
6965
ac_ct_RANLIB=$RANLIB
6966
# Extract the first word of "ranlib", so it can be a program name with args.
6967
set dummy ranlib; ac_word=$2
6968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6969
$as_echo_n "checking for $ac_word... " >&6; }
6970
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6971
$as_echo_n "(cached) " >&6
6973
if test -n "$ac_ct_RANLIB"; then
6974
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6976
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6980
test -z "$as_dir" && as_dir=.
6981
for ac_exec_ext in '' $ac_executable_extensions; do
6982
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6983
ac_cv_prog_ac_ct_RANLIB="ranlib"
6984
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6993
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6994
if test -n "$ac_ct_RANLIB"; then
6995
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6996
$as_echo "$ac_ct_RANLIB" >&6; }
6998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6999
$as_echo "no" >&6; }
7002
if test "x$ac_ct_RANLIB" = x; then
7005
case $cross_compiling:$ac_tool_warned in
7007
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7008
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7009
ac_tool_warned=yes ;;
7011
RANLIB=$ac_ct_RANLIB
7014
RANLIB="$ac_cv_prog_RANLIB"
7017
test -z "$RANLIB" && RANLIB=:
7024
# Determine commands to create old-style static archives.
7025
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7026
old_postinstall_cmds='chmod 644 $oldlib'
7027
old_postuninstall_cmds=
7029
if test -n "$RANLIB"; then
7032
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7035
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7038
old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7043
lock_old_archive_extraction=yes ;;
7045
lock_old_archive_extraction=no ;;
7086
# If no C compiler was specified, use CC.
7089
# If no C compiler flags were specified, use CFLAGS.
7090
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7092
# Allow CC to be a program name with arguments.
7096
# Check for command to grab the raw symbol name followed by C symbol from nm.
7097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7098
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7099
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7100
$as_echo_n "(cached) " >&6
7103
# These are sane defaults that work on at least a few old systems.
7104
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
7106
# Character class describing NM global symbol codes.
7107
symcode='[BCDEGRST]'
7109
# Regexp to match symbols that can be accessed directly from C.
7110
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7112
# Define system-specific variables.
7117
cygwin* | mingw* | pw32* | cegcc*)
7118
symcode='[ABCDGISTW]'
7121
if test "$host_cpu" = ia64; then
7122
symcode='[ABCDEGRST]'
7126
symcode='[BCDEGRST]'
7129
symcode='[BCDEGQRST]'
7140
sysv5* | sco5v6* | unixware* | OpenUNIX*)
7148
# If we're using GNU nm, then use its standard symbol codes.
7149
case `$NM -V 2>&1` in
7150
*GNU* | *'with BFD'*)
7151
symcode='[ABCDGIRSTW]' ;;
7154
# Transform an extracted symbol line into a proper C declaration.
7155
# Some systems (esp. on ia64) link data and code symbols differently,
7156
# so use this general approach.
7157
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7159
# Transform an extracted symbol line into symbol name and symbol address
7160
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7161
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'"
7163
# Handle CRLF in mingw tool chain
7167
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7171
# Try without a prefix underscore, then with it.
7172
for ac_symprfx in "" "_"; do
7174
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7175
symxfrm="\\1 $ac_symprfx\\2 \\2"
7177
# Write the raw and C identifiers.
7178
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7179
# Fake it for dumpbin and say T for any non-static function
7180
# and D for any global variable.
7181
# Also find C++ and __fastcall symbols from MSVC++,
7182
# which start with @ or ?.
7183
lt_cv_sys_global_symbol_pipe="$AWK '"\
7184
" {last_section=section; section=\$ 3};"\
7185
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7186
" \$ 0!~/External *\|/{next};"\
7187
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7188
" {if(hide[section]) next};"\
7189
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7190
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7191
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
7192
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7193
" ' prfx=^$ac_symprfx"
7195
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7197
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7199
# Check to see that the pipe works correctly.
7203
cat > conftest.$ac_ext <<_LT_EOF
7208
void nm_test_func(void);
7209
void nm_test_func(void){}
7213
int main(){nm_test_var='a';nm_test_func();return(0);}
7216
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7217
(eval $ac_compile) 2>&5
7219
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220
test $ac_status = 0; }; then
7221
# Now try to grab the symbols.
7223
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7224
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7226
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7227
test $ac_status = 0; } && test -s "$nlist"; then
7228
# Try sorting and uniquifying the output.
7229
if sort "$nlist" | uniq > "$nlist"T; then
7230
mv -f "$nlist"T "$nlist"
7235
# Make sure that we snagged all the symbols we need.
7236
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7237
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7238
cat <<_LT_EOF > conftest.$ac_ext
7239
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7240
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7241
/* DATA imports from DLLs on WIN32 con't be const, because runtime
7242
relocations are performed -- see ld's documentation on pseudo-relocs. */
7243
# define LT_DLSYM_CONST
7244
#elif defined(__osf__)
7245
/* This system does not cope well with relocations in const data. */
7246
# define LT_DLSYM_CONST
7248
# define LT_DLSYM_CONST const
7256
# Now generate the symbol file.
7257
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7259
cat <<_LT_EOF >> conftest.$ac_ext
7261
/* The mapping between symbol names and symbols. */
7262
LT_DLSYM_CONST struct {
7266
lt__PROGRAM__LTX_preloaded_symbols[] =
7268
{ "@PROGRAM@", (void *) 0 },
7270
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7271
cat <<\_LT_EOF >> conftest.$ac_ext
7275
/* This works around a problem in FreeBSD linker */
7276
#ifdef FREEBSD_WORKAROUND
7277
static const void *lt_preloaded_setup() {
7278
return lt__PROGRAM__LTX_preloaded_symbols;
7286
# Now try linking the two files.
7287
mv conftest.$ac_objext conftstm.$ac_objext
7288
lt_globsym_save_LIBS=$LIBS
7289
lt_globsym_save_CFLAGS=$CFLAGS
7290
LIBS="conftstm.$ac_objext"
7291
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7292
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7293
(eval $ac_link) 2>&5
7295
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7296
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7299
LIBS=$lt_globsym_save_LIBS
7300
CFLAGS=$lt_globsym_save_CFLAGS
7302
echo "cannot find nm_test_func in $nlist" >&5
7305
echo "cannot find nm_test_var in $nlist" >&5
7308
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7311
echo "$progname: failed program was:" >&5
7312
cat conftest.$ac_ext >&5
7314
rm -rf conftest* conftst*
7316
# Do not use the global_symbol_pipe unless it works.
7317
if test "$pipe_works" = yes; then
7320
lt_cv_sys_global_symbol_pipe=
7326
if test -z "$lt_cv_sys_global_symbol_pipe"; then
7327
lt_cv_sys_global_symbol_to_cdecl=
7329
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7331
$as_echo "failed" >&6; }
7333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7334
$as_echo "ok" >&6; }
7337
# Response file support.
7338
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7339
nm_file_list_spec='@'
7340
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7341
nm_file_list_spec='@'
7370
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7371
$as_echo_n "checking for sysroot... " >&6; }
7373
# Check whether --with-sysroot was given.
7374
if test "${with_sysroot+set}" = set; then :
7375
withval=$with_sysroot;
7382
case ${with_sysroot} in #(
7384
if test "$GCC" = yes; then
7385
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7389
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7395
$as_echo "${with_sysroot}" >&6; }
7396
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7400
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7401
$as_echo "${lt_sysroot:-no}" >&6; }
7407
# Check whether --enable-libtool-lock was given.
7408
if test "${enable_libtool_lock+set}" = set; then :
7409
enableval=$enable_libtool_lock;
7412
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7414
# Some flags need to be propagated to the compiler or linker for good
7418
# Find out which ABI we are using.
7419
echo 'int i;' > conftest.$ac_ext
7420
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7421
(eval $ac_compile) 2>&5
7423
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7424
test $ac_status = 0; }; then
7425
case `/usr/bin/file conftest.$ac_objext` in
7437
# Find out which ABI we are using.
7438
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7439
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7440
(eval $ac_compile) 2>&5
7442
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7443
test $ac_status = 0; }; then
7444
if test "$lt_cv_prog_gnu_ld" = yes; then
7445
case `/usr/bin/file conftest.$ac_objext` in
7447
LD="${LD-ld} -melf32bsmip"
7450
LD="${LD-ld} -melf32bmipn32"
7453
LD="${LD-ld} -melf64bmip"
7457
case `/usr/bin/file conftest.$ac_objext` in
7473
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7474
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7475
# Find out which ABI we are using.
7476
echo 'int i;' > conftest.$ac_ext
7477
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7478
(eval $ac_compile) 2>&5
7480
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7481
test $ac_status = 0; }; then
7482
case `/usr/bin/file conftest.o` in
7485
x86_64-*kfreebsd*-gnu)
7486
LD="${LD-ld} -m elf_i386_fbsd"
7489
LD="${LD-ld} -m elf_i386"
7491
ppc64-*linux*|powerpc64-*linux*)
7492
LD="${LD-ld} -m elf32ppclinux"
7495
LD="${LD-ld} -m elf_s390"
7498
LD="${LD-ld} -m elf32_sparc"
7504
x86_64-*kfreebsd*-gnu)
7505
LD="${LD-ld} -m elf_x86_64_fbsd"
7508
LD="${LD-ld} -m elf_x86_64"
7510
ppc*-*linux*|powerpc*-*linux*)
7511
LD="${LD-ld} -m elf64ppc"
7513
s390*-*linux*|s390*-*tpf*)
7514
LD="${LD-ld} -m elf64_s390"
7517
LD="${LD-ld} -m elf64_sparc"
7527
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
7528
SAVE_CFLAGS="$CFLAGS"
7529
CFLAGS="$CFLAGS -belf"
7530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7531
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7532
if ${lt_cv_cc_needs_belf+:} false; then :
7533
$as_echo_n "(cached) " >&6
7536
ac_cpp='$CPP $CPPFLAGS'
7537
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7538
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7539
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7541
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542
/* end confdefs.h. */
7552
if ac_fn_c_try_link "$LINENO"; then :
7553
lt_cv_cc_needs_belf=yes
7555
lt_cv_cc_needs_belf=no
7557
rm -f core conftest.err conftest.$ac_objext \
7558
conftest$ac_exeext conftest.$ac_ext
7560
ac_cpp='$CPP $CPPFLAGS'
7561
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7562
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7563
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7566
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7567
$as_echo "$lt_cv_cc_needs_belf" >&6; }
7568
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7569
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7570
CFLAGS="$SAVE_CFLAGS"
7574
# Find out which ABI we are using.
7575
echo 'int i;' > conftest.$ac_ext
7576
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7577
(eval $ac_compile) 2>&5
7579
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7580
test $ac_status = 0; }; then
7581
case `/usr/bin/file conftest.o` in
7583
case $lt_cv_prog_gnu_ld in
7584
yes*) LD="${LD-ld} -m elf64_sparc" ;;
7586
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7598
need_locks="$enable_libtool_lock"
7600
if test -n "$ac_tool_prefix"; then
7601
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7602
set dummy ${ac_tool_prefix}mt; ac_word=$2
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7604
$as_echo_n "checking for $ac_word... " >&6; }
7605
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7606
$as_echo_n "(cached) " >&6
7608
if test -n "$MANIFEST_TOOL"; then
7609
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7611
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7615
test -z "$as_dir" && as_dir=.
7616
for ac_exec_ext in '' $ac_executable_extensions; do
7617
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7618
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7619
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7628
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7629
if test -n "$MANIFEST_TOOL"; then
7630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7631
$as_echo "$MANIFEST_TOOL" >&6; }
7633
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7634
$as_echo "no" >&6; }
7639
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7640
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7641
# Extract the first word of "mt", so it can be a program name with args.
7642
set dummy mt; ac_word=$2
7643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644
$as_echo_n "checking for $ac_word... " >&6; }
7645
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7646
$as_echo_n "(cached) " >&6
7648
if test -n "$ac_ct_MANIFEST_TOOL"; then
7649
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7655
test -z "$as_dir" && as_dir=.
7656
for ac_exec_ext in '' $ac_executable_extensions; do
7657
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7659
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7668
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7669
if test -n "$ac_ct_MANIFEST_TOOL"; then
7670
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7671
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674
$as_echo "no" >&6; }
7677
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7680
case $cross_compiling:$ac_tool_warned in
7682
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7683
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7684
ac_tool_warned=yes ;;
7686
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7689
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7692
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7694
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7695
if ${lt_cv_path_mainfest_tool+:} false; then :
7696
$as_echo_n "(cached) " >&6
7698
lt_cv_path_mainfest_tool=no
7699
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7700
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7701
cat conftest.err >&5
7702
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7703
lt_cv_path_mainfest_tool=yes
7707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7708
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7709
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7719
rhapsody* | darwin*)
7720
if test -n "$ac_tool_prefix"; then
7721
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7722
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7724
$as_echo_n "checking for $ac_word... " >&6; }
7725
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7726
$as_echo_n "(cached) " >&6
7728
if test -n "$DSYMUTIL"; then
7729
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7731
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7735
test -z "$as_dir" && as_dir=.
7736
for ac_exec_ext in '' $ac_executable_extensions; do
7737
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7739
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7748
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7749
if test -n "$DSYMUTIL"; then
7750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7751
$as_echo "$DSYMUTIL" >&6; }
7753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754
$as_echo "no" >&6; }
7759
if test -z "$ac_cv_prog_DSYMUTIL"; then
7760
ac_ct_DSYMUTIL=$DSYMUTIL
7761
# Extract the first word of "dsymutil", so it can be a program name with args.
7762
set dummy dsymutil; ac_word=$2
7763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7764
$as_echo_n "checking for $ac_word... " >&6; }
7765
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7766
$as_echo_n "(cached) " >&6
7768
if test -n "$ac_ct_DSYMUTIL"; then
7769
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7771
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7775
test -z "$as_dir" && as_dir=.
7776
for ac_exec_ext in '' $ac_executable_extensions; do
7777
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7779
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7789
if test -n "$ac_ct_DSYMUTIL"; then
7790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7791
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7794
$as_echo "no" >&6; }
7797
if test "x$ac_ct_DSYMUTIL" = x; then
7800
case $cross_compiling:$ac_tool_warned in
7802
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7803
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7804
ac_tool_warned=yes ;;
7806
DSYMUTIL=$ac_ct_DSYMUTIL
7809
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7812
if test -n "$ac_tool_prefix"; then
7813
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7814
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7815
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7816
$as_echo_n "checking for $ac_word... " >&6; }
7817
if ${ac_cv_prog_NMEDIT+:} false; then :
7818
$as_echo_n "(cached) " >&6
7820
if test -n "$NMEDIT"; then
7821
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7823
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827
test -z "$as_dir" && as_dir=.
7828
for ac_exec_ext in '' $ac_executable_extensions; do
7829
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7830
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7831
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7840
NMEDIT=$ac_cv_prog_NMEDIT
7841
if test -n "$NMEDIT"; then
7842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7843
$as_echo "$NMEDIT" >&6; }
7845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7846
$as_echo "no" >&6; }
7851
if test -z "$ac_cv_prog_NMEDIT"; then
7852
ac_ct_NMEDIT=$NMEDIT
7853
# Extract the first word of "nmedit", so it can be a program name with args.
7854
set dummy nmedit; ac_word=$2
7855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7856
$as_echo_n "checking for $ac_word... " >&6; }
7857
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7858
$as_echo_n "(cached) " >&6
7860
if test -n "$ac_ct_NMEDIT"; then
7861
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7863
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867
test -z "$as_dir" && as_dir=.
7868
for ac_exec_ext in '' $ac_executable_extensions; do
7869
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7870
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7871
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7881
if test -n "$ac_ct_NMEDIT"; then
7882
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7883
$as_echo "$ac_ct_NMEDIT" >&6; }
7885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7886
$as_echo "no" >&6; }
7889
if test "x$ac_ct_NMEDIT" = x; then
7892
case $cross_compiling:$ac_tool_warned in
7894
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7895
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7896
ac_tool_warned=yes ;;
7898
NMEDIT=$ac_ct_NMEDIT
7901
NMEDIT="$ac_cv_prog_NMEDIT"
7904
if test -n "$ac_tool_prefix"; then
7905
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7906
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7908
$as_echo_n "checking for $ac_word... " >&6; }
7909
if ${ac_cv_prog_LIPO+:} false; then :
7910
$as_echo_n "(cached) " >&6
7912
if test -n "$LIPO"; then
7913
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7915
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7919
test -z "$as_dir" && as_dir=.
7920
for ac_exec_ext in '' $ac_executable_extensions; do
7921
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7922
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7923
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7932
LIPO=$ac_cv_prog_LIPO
7933
if test -n "$LIPO"; then
7934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7935
$as_echo "$LIPO" >&6; }
7937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7938
$as_echo "no" >&6; }
7943
if test -z "$ac_cv_prog_LIPO"; then
7945
# Extract the first word of "lipo", so it can be a program name with args.
7946
set dummy lipo; ac_word=$2
7947
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7948
$as_echo_n "checking for $ac_word... " >&6; }
7949
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7950
$as_echo_n "(cached) " >&6
7952
if test -n "$ac_ct_LIPO"; then
7953
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7959
test -z "$as_dir" && as_dir=.
7960
for ac_exec_ext in '' $ac_executable_extensions; do
7961
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7962
ac_cv_prog_ac_ct_LIPO="lipo"
7963
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7973
if test -n "$ac_ct_LIPO"; then
7974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7975
$as_echo "$ac_ct_LIPO" >&6; }
7977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7978
$as_echo "no" >&6; }
7981
if test "x$ac_ct_LIPO" = x; then
7984
case $cross_compiling:$ac_tool_warned in
7986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7987
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7988
ac_tool_warned=yes ;;
7993
LIPO="$ac_cv_prog_LIPO"
7996
if test -n "$ac_tool_prefix"; then
7997
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7998
set dummy ${ac_tool_prefix}otool; ac_word=$2
7999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8000
$as_echo_n "checking for $ac_word... " >&6; }
8001
if ${ac_cv_prog_OTOOL+:} false; then :
8002
$as_echo_n "(cached) " >&6
8004
if test -n "$OTOOL"; then
8005
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8007
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8011
test -z "$as_dir" && as_dir=.
8012
for ac_exec_ext in '' $ac_executable_extensions; do
8013
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8014
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8015
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8024
OTOOL=$ac_cv_prog_OTOOL
8025
if test -n "$OTOOL"; then
8026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8027
$as_echo "$OTOOL" >&6; }
8029
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8030
$as_echo "no" >&6; }
8035
if test -z "$ac_cv_prog_OTOOL"; then
8037
# Extract the first word of "otool", so it can be a program name with args.
8038
set dummy otool; ac_word=$2
8039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8040
$as_echo_n "checking for $ac_word... " >&6; }
8041
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8042
$as_echo_n "(cached) " >&6
8044
if test -n "$ac_ct_OTOOL"; then
8045
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8047
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8051
test -z "$as_dir" && as_dir=.
8052
for ac_exec_ext in '' $ac_executable_extensions; do
8053
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8054
ac_cv_prog_ac_ct_OTOOL="otool"
8055
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8065
if test -n "$ac_ct_OTOOL"; then
8066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8067
$as_echo "$ac_ct_OTOOL" >&6; }
8069
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8070
$as_echo "no" >&6; }
8073
if test "x$ac_ct_OTOOL" = x; then
8076
case $cross_compiling:$ac_tool_warned in
8078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8079
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8080
ac_tool_warned=yes ;;
8085
OTOOL="$ac_cv_prog_OTOOL"
8088
if test -n "$ac_tool_prefix"; then
8089
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8090
set dummy ${ac_tool_prefix}otool64; ac_word=$2
8091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8092
$as_echo_n "checking for $ac_word... " >&6; }
8093
if ${ac_cv_prog_OTOOL64+:} false; then :
8094
$as_echo_n "(cached) " >&6
8096
if test -n "$OTOOL64"; then
8097
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8103
test -z "$as_dir" && as_dir=.
8104
for ac_exec_ext in '' $ac_executable_extensions; do
8105
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8106
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8107
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8116
OTOOL64=$ac_cv_prog_OTOOL64
8117
if test -n "$OTOOL64"; then
8118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8119
$as_echo "$OTOOL64" >&6; }
8121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8122
$as_echo "no" >&6; }
8127
if test -z "$ac_cv_prog_OTOOL64"; then
8128
ac_ct_OTOOL64=$OTOOL64
8129
# Extract the first word of "otool64", so it can be a program name with args.
8130
set dummy otool64; ac_word=$2
8131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132
$as_echo_n "checking for $ac_word... " >&6; }
8133
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8134
$as_echo_n "(cached) " >&6
8136
if test -n "$ac_ct_OTOOL64"; then
8137
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8139
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8143
test -z "$as_dir" && as_dir=.
8144
for ac_exec_ext in '' $ac_executable_extensions; do
8145
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8146
ac_cv_prog_ac_ct_OTOOL64="otool64"
8147
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8156
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8157
if test -n "$ac_ct_OTOOL64"; then
8158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8159
$as_echo "$ac_ct_OTOOL64" >&6; }
8161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162
$as_echo "no" >&6; }
8165
if test "x$ac_ct_OTOOL64" = x; then
8168
case $cross_compiling:$ac_tool_warned in
8170
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8171
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8172
ac_tool_warned=yes ;;
8174
OTOOL64=$ac_ct_OTOOL64
8177
OTOOL64="$ac_cv_prog_OTOOL64"
8206
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8207
$as_echo_n "checking for -single_module linker flag... " >&6; }
8208
if ${lt_cv_apple_cc_single_mod+:} false; then :
8209
$as_echo_n "(cached) " >&6
8211
lt_cv_apple_cc_single_mod=no
8212
if test -z "${LT_MULTI_MODULE}"; then
8213
# By default we will add the -single_module flag. You can override
8214
# by either setting the environment variable LT_MULTI_MODULE
8215
# non-empty at configure time, or by adding -multi_module to the
8217
rm -rf libconftest.dylib*
8218
echo "int foo(void){return 1;}" > conftest.c
8219
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8220
-dynamiclib -Wl,-single_module conftest.c" >&5
8221
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8222
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8224
if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8225
lt_cv_apple_cc_single_mod=yes
8227
cat conftest.err >&5
8229
rm -rf libconftest.dylib*
8233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8234
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8236
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8237
if ${lt_cv_ld_exported_symbols_list+:} false; then :
8238
$as_echo_n "(cached) " >&6
8240
lt_cv_ld_exported_symbols_list=no
8241
save_LDFLAGS=$LDFLAGS
8242
echo "_main" > conftest.sym
8243
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8244
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245
/* end confdefs.h. */
8255
if ac_fn_c_try_link "$LINENO"; then :
8256
lt_cv_ld_exported_symbols_list=yes
8258
lt_cv_ld_exported_symbols_list=no
8260
rm -f core conftest.err conftest.$ac_objext \
8261
conftest$ac_exeext conftest.$ac_ext
8262
LDFLAGS="$save_LDFLAGS"
8265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8266
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8267
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8268
$as_echo_n "checking for -force_load linker flag... " >&6; }
8269
if ${lt_cv_ld_force_load+:} false; then :
8270
$as_echo_n "(cached) " >&6
8272
lt_cv_ld_force_load=no
8273
cat > conftest.c << _LT_EOF
8274
int forced_loaded() { return 2;}
8276
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8277
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8278
echo "$AR cru libconftest.a conftest.o" >&5
8279
$AR cru libconftest.a conftest.o 2>&5
8280
echo "$RANLIB libconftest.a" >&5
8281
$RANLIB libconftest.a 2>&5
8282
cat > conftest.c << _LT_EOF
8283
int main() { return 0;}
8285
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8286
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8288
if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8289
lt_cv_ld_force_load=yes
8291
cat conftest.err >&5
8293
rm -f conftest.err libconftest.a conftest conftest.c
8294
rm -rf conftest.dSYM
8297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8298
$as_echo "$lt_cv_ld_force_load" >&6; }
8300
rhapsody* | darwin1.[012])
8301
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8303
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8304
darwin*) # darwin 5.x on
8305
# if running on 10.5 or later, the deployment target defaults
8306
# to the OS version, if on x86, and 10.4, the deployment
8307
# target defaults to 10.4. Don't you love it?
8308
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8309
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8310
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8312
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8314
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8318
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8319
_lt_dar_single_mod='$single_module'
8321
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8322
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8324
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8326
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8327
_lt_dsymutil='~$DSYMUTIL $lib || :'
8334
for ac_header in dlfcn.h
8336
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8338
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8339
cat >>confdefs.h <<_ACEOF
8340
#define HAVE_DLFCN_H 1
8353
# Check whether --enable-static was given.
8354
if test "${enable_static+set}" = set; then :
8355
enableval=$enable_static; p=${PACKAGE-default}
8357
yes) enable_static=yes ;;
8358
no) enable_static=no ;;
8361
# Look at the argument we got. We use all the common list separators.
8362
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8363
for pkg in $enableval; do
8365
if test "X$pkg" = "X$p"; then
8389
# Check whether --enable-shared was given.
8390
if test "${enable_shared+set}" = set; then :
8391
enableval=$enable_shared; p=${PACKAGE-default}
8393
yes) enable_shared=yes ;;
8394
no) enable_shared=no ;;
8397
# Look at the argument we got. We use all the common list separators.
8398
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8399
for pkg in $enableval; do
8401
if test "X$pkg" = "X$p"; then
8422
# Check whether --with-pic was given.
8423
if test "${with_pic+set}" = set; then :
8424
withval=$with_pic; pic_mode="$withval"
8430
test -z "$pic_mode" && pic_mode=default
8438
# Check whether --enable-fast-install was given.
8439
if test "${enable_fast_install+set}" = set; then :
8440
enableval=$enable_fast_install; p=${PACKAGE-default}
8442
yes) enable_fast_install=yes ;;
8443
no) enable_fast_install=no ;;
8445
enable_fast_install=no
8446
# Look at the argument we got. We use all the common list separators.
8447
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8448
for pkg in $enableval; do
8450
if test "X$pkg" = "X$p"; then
8451
enable_fast_install=yes
8458
enable_fast_install=yes
8471
# This can be used to rebuild libtool when needed
8472
LIBTOOL_DEPS="$ltmain"
8474
# Always use our own libtool.
8475
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8502
test -z "$LN_S" && LN_S="ln -s"
8517
if test -n "${ZSH_VERSION+set}" ; then
8518
setopt NO_GLOB_SUBST
8521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8522
$as_echo_n "checking for objdir... " >&6; }
8523
if ${lt_cv_objdir+:} false; then :
8524
$as_echo_n "(cached) " >&6
8526
rm -f .libs 2>/dev/null
8527
mkdir .libs 2>/dev/null
8528
if test -d .libs; then
8531
# MS-DOS does not allow filenames that begin with a dot.
8534
rmdir .libs 2>/dev/null
8536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8537
$as_echo "$lt_cv_objdir" >&6; }
8538
objdir=$lt_cv_objdir
8544
cat >>confdefs.h <<_ACEOF
8545
#define LT_OBJDIR "$lt_cv_objdir/"
8553
# AIX sometimes has problems with the GCC collect2 program. For some
8554
# reason, if we set the COLLECT_NAMES environment variable, the problems
8555
# vanish in a puff of smoke.
8556
if test "X${COLLECT_NAMES+set}" != Xset; then
8558
export COLLECT_NAMES
8565
can_build_shared=yes
8567
# All known linkers require a `.a' archive for static linking (except MSVC,
8568
# which needs '.lib').
8571
with_gnu_ld="$lt_cv_prog_gnu_ld"
8574
old_CFLAGS="$CFLAGS"
8576
# Set sane defaults for various variables
8577
test -z "$CC" && CC=cc
8578
test -z "$LTCC" && LTCC=$CC
8579
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8580
test -z "$LD" && LD=ld
8581
test -z "$ac_objext" && ac_objext=o
8583
for cc_temp in $compiler""; do
8585
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8586
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8591
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8594
# Only perform the check for file, if the check method requires it
8595
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8596
case $deplibs_check_method in
8598
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8600
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8601
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8602
$as_echo_n "(cached) " >&6
8606
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8609
lt_save_MAGIC_CMD="$MAGIC_CMD"
8610
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8611
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8612
for ac_dir in $ac_dummy; do
8614
test -z "$ac_dir" && ac_dir=.
8615
if test -f $ac_dir/${ac_tool_prefix}file; then
8616
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8617
if test -n "$file_magic_test_file"; then
8618
case $deplibs_check_method in
8620
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8621
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8622
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8623
$EGREP "$file_magic_regex" > /dev/null; then
8628
*** Warning: the command libtool uses to detect shared libraries,
8629
*** $file_magic_cmd, produces output that libtool cannot recognize.
8630
*** The result is that libtool may fail to recognize shared libraries
8631
*** as such. This will affect the creation of libtool libraries that
8632
*** depend on shared libraries, but programs linked with such libtool
8633
*** libraries will work regardless of this problem. Nevertheless, you
8634
*** may want to report the problem to your system manager and/or to
8635
*** bug-libtool@gnu.org
8645
MAGIC_CMD="$lt_save_MAGIC_CMD"
8650
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8651
if test -n "$MAGIC_CMD"; then
8652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8653
$as_echo "$MAGIC_CMD" >&6; }
8655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8656
$as_echo "no" >&6; }
8663
if test -z "$lt_cv_path_MAGIC_CMD"; then
8664
if test -n "$ac_tool_prefix"; then
8665
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8666
$as_echo_n "checking for file... " >&6; }
8667
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8668
$as_echo_n "(cached) " >&6
8672
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8675
lt_save_MAGIC_CMD="$MAGIC_CMD"
8676
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8677
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8678
for ac_dir in $ac_dummy; do
8680
test -z "$ac_dir" && ac_dir=.
8681
if test -f $ac_dir/file; then
8682
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8683
if test -n "$file_magic_test_file"; then
8684
case $deplibs_check_method in
8686
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8687
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8688
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8689
$EGREP "$file_magic_regex" > /dev/null; then
8694
*** Warning: the command libtool uses to detect shared libraries,
8695
*** $file_magic_cmd, produces output that libtool cannot recognize.
8696
*** The result is that libtool may fail to recognize shared libraries
8697
*** as such. This will affect the creation of libtool libraries that
8698
*** depend on shared libraries, but programs linked with such libtool
8699
*** libraries will work regardless of this problem. Nevertheless, you
8700
*** may want to report the problem to your system manager and/or to
8701
*** bug-libtool@gnu.org
8711
MAGIC_CMD="$lt_save_MAGIC_CMD"
8716
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8717
if test -n "$MAGIC_CMD"; then
8718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8719
$as_echo "$MAGIC_CMD" >&6; }
8721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8722
$as_echo "no" >&6; }
8735
# Use C for the default configuration in the libtool script
8739
ac_cpp='$CPP $CPPFLAGS'
8740
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8741
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8742
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8745
# Source file extension for C test sources.
8748
# Object file extension for compiled C test sources.
8752
# Code to be used in simple compile tests
8753
lt_simple_compile_test_code="int some_variable = 0;"
8755
# Code to be used in simple link tests
8756
lt_simple_link_test_code='int main(){return(0);}'
8764
# If no C compiler was specified, use CC.
8767
# If no C compiler flags were specified, use CFLAGS.
8768
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8770
# Allow CC to be a program name with arguments.
8773
# Save the default compiler, since it gets overwritten when the other
8774
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8775
compiler_DEFAULT=$CC
8777
# save warnings/boilerplate of simple test code
8778
ac_outfile=conftest.$ac_objext
8779
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8780
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8781
_lt_compiler_boilerplate=`cat conftest.err`
8784
ac_outfile=conftest.$ac_objext
8785
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8786
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8787
_lt_linker_boilerplate=`cat conftest.err`
8792
## There is no encapsulation within the following macros, do not change
8793
## the running order or otherwise move them around unless you know exactly
8794
## what you are doing...
8795
if test -n "$compiler"; then
8797
lt_prog_compiler_no_builtin_flag=
8799
if test "$GCC" = yes; then
8800
case $cc_basename in
8802
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8804
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8808
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8809
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8810
$as_echo_n "(cached) " >&6
8812
lt_cv_prog_compiler_rtti_exceptions=no
8813
ac_outfile=conftest.$ac_objext
8814
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8815
lt_compiler_flag="-fno-rtti -fno-exceptions"
8816
# Insert the option either (1) after the last *FLAGS variable, or
8817
# (2) before a word containing "conftest.", or (3) at the end.
8818
# Note that $ac_compile itself does not contain backslashes and begins
8819
# with a dollar sign (not a hyphen), so the echo should work correctly.
8820
# The option is referenced via a variable to avoid confusing sed.
8821
lt_compile=`echo "$ac_compile" | $SED \
8822
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8823
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8824
-e 's:$: $lt_compiler_flag:'`
8825
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8826
(eval "$lt_compile" 2>conftest.err)
8828
cat conftest.err >&5
8829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830
if (exit $ac_status) && test -s "$ac_outfile"; then
8831
# The compiler can only warn and ignore the option if not recognized
8832
# So say no if there are warnings other than the usual output.
8833
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8834
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8835
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8836
lt_cv_prog_compiler_rtti_exceptions=yes
8842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8843
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8845
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8846
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8858
lt_prog_compiler_wl=
8859
lt_prog_compiler_pic=
8860
lt_prog_compiler_static=
8863
if test "$GCC" = yes; then
8864
lt_prog_compiler_wl='-Wl,'
8865
lt_prog_compiler_static='-static'
8869
# All AIX code is PIC.
8870
if test "$host_cpu" = ia64; then
8871
# AIX 5 now supports IA64 processor
8872
lt_prog_compiler_static='-Bstatic'
8879
# see comment about AmigaOS4 .so support
8880
lt_prog_compiler_pic='-fPIC'
8883
# FIXME: we need at least 68020 code to build shared libraries, but
8884
# adding the `-m68020' flag to GCC prevents building anything better,
8886
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8891
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8892
# PIC is the default for these OSes.
8895
mingw* | cygwin* | pw32* | os2* | cegcc*)
8896
# This hack is so that the source file can tell whether it is being
8897
# built for inclusion in a dll (and should export symbols for example).
8898
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8899
# (--disable-auto-import) libraries
8900
lt_prog_compiler_pic='-DDLL_EXPORT'
8903
darwin* | rhapsody*)
8904
# PIC is the default on this platform
8905
# Common symbols not allowed in MH_DYLIB files
8906
lt_prog_compiler_pic='-fno-common'
8910
# PIC is the default for Haiku.
8911
# The "-static" flag exists, but is broken.
8912
lt_prog_compiler_static=
8916
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8917
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8918
# sets the default TLS model and affects inlining.
8924
lt_prog_compiler_pic='-fPIC'
8930
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8931
# Instead, we relocate shared libraries at runtime.
8935
# Just because we use GCC doesn't mean we suddenly get shared libraries
8936
# on systems that don't support them.
8937
lt_prog_compiler_can_build_shared=no
8942
# QNX uses GNU C++, but need to define -shared option too, otherwise
8944
lt_prog_compiler_pic='-fPIC -shared'
8948
if test -d /usr/nec; then
8949
lt_prog_compiler_pic=-Kconform_pic
8954
lt_prog_compiler_pic='-fPIC'
8958
case $cc_basename in
8959
nvcc*) # Cuda Compiler Driver 2.2
8960
lt_prog_compiler_wl='-Xlinker '
8961
lt_prog_compiler_pic='-Xcompiler -fPIC'
8965
# PORTME Check for flag to pass linker flags through the system compiler.
8968
lt_prog_compiler_wl='-Wl,'
8969
if test "$host_cpu" = ia64; then
8970
# AIX 5 now supports IA64 processor
8971
lt_prog_compiler_static='-Bstatic'
8973
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8977
mingw* | cygwin* | pw32* | os2* | cegcc*)
8978
# This hack is so that the source file can tell whether it is being
8979
# built for inclusion in a dll (and should export symbols for example).
8980
lt_prog_compiler_pic='-DDLL_EXPORT'
8983
hpux9* | hpux10* | hpux11*)
8984
lt_prog_compiler_wl='-Wl,'
8985
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8992
lt_prog_compiler_pic='+Z'
8995
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8996
lt_prog_compiler_static='${wl}-a ${wl}archive'
8999
irix5* | irix6* | nonstopux*)
9000
lt_prog_compiler_wl='-Wl,'
9001
# PIC (with -KPIC) is the default.
9002
lt_prog_compiler_static='-non_shared'
9005
linux* | k*bsd*-gnu | kopensolaris*-gnu)
9006
case $cc_basename in
9007
# old Intel for x86_64 which still supported -KPIC.
9009
lt_prog_compiler_wl='-Wl,'
9010
lt_prog_compiler_pic='-KPIC'
9011
lt_prog_compiler_static='-static'
9013
# icc used to be incompatible with GCC.
9014
# ICC 10 doesn't accept -KPIC any more.
9016
lt_prog_compiler_wl='-Wl,'
9017
lt_prog_compiler_pic='-fPIC'
9018
lt_prog_compiler_static='-static'
9020
# Lahey Fortran 8.1.
9022
lt_prog_compiler_wl='-Wl,'
9023
lt_prog_compiler_pic='--shared'
9024
lt_prog_compiler_static='--static'
9027
# NAG Fortran compiler
9028
lt_prog_compiler_wl='-Wl,-Wl,,'
9029
lt_prog_compiler_pic='-PIC'
9030
lt_prog_compiler_static='-Bstatic'
9032
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9033
# Portland Group compilers (*not* the Pentium gcc compiler,
9034
# which looks to be a dead project)
9035
lt_prog_compiler_wl='-Wl,'
9036
lt_prog_compiler_pic='-fpic'
9037
lt_prog_compiler_static='-Bstatic'
9040
lt_prog_compiler_wl='-Wl,'
9041
# All Alpha code is PIC.
9042
lt_prog_compiler_static='-non_shared'
9044
xl* | bgxl* | bgf* | mpixl*)
9045
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9046
lt_prog_compiler_wl='-Wl,'
9047
lt_prog_compiler_pic='-qpic'
9048
lt_prog_compiler_static='-qstaticlink'
9051
case `$CC -V 2>&1 | sed 5q` in
9052
*Sun\ F* | *Sun*Fortran*)
9053
# Sun Fortran 8.3 passes all unrecognized flags to the linker
9054
lt_prog_compiler_pic='-KPIC'
9055
lt_prog_compiler_static='-Bstatic'
9056
lt_prog_compiler_wl=''
9060
lt_prog_compiler_pic='-KPIC'
9061
lt_prog_compiler_static='-Bstatic'
9062
lt_prog_compiler_wl='-Wl,'
9070
lt_prog_compiler_pic='-KPIC'
9071
lt_prog_compiler_static='-Bstatic'
9075
# QNX uses GNU C++, but need to define -shared option too, otherwise
9077
lt_prog_compiler_pic='-fPIC -shared'
9080
osf3* | osf4* | osf5*)
9081
lt_prog_compiler_wl='-Wl,'
9082
# All OSF/1 code is PIC.
9083
lt_prog_compiler_static='-non_shared'
9087
lt_prog_compiler_static='-non_shared'
9091
lt_prog_compiler_pic='-KPIC'
9092
lt_prog_compiler_static='-Bstatic'
9093
case $cc_basename in
9094
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9095
lt_prog_compiler_wl='-Qoption ld ';;
9097
lt_prog_compiler_wl='-Wl,';;
9102
lt_prog_compiler_wl='-Qoption ld '
9103
lt_prog_compiler_pic='-PIC'
9104
lt_prog_compiler_static='-Bstatic'
9107
sysv4 | sysv4.2uw2* | sysv4.3*)
9108
lt_prog_compiler_wl='-Wl,'
9109
lt_prog_compiler_pic='-KPIC'
9110
lt_prog_compiler_static='-Bstatic'
9114
if test -d /usr/nec ;then
9115
lt_prog_compiler_pic='-Kconform_pic'
9116
lt_prog_compiler_static='-Bstatic'
9120
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9121
lt_prog_compiler_wl='-Wl,'
9122
lt_prog_compiler_pic='-KPIC'
9123
lt_prog_compiler_static='-Bstatic'
9127
lt_prog_compiler_wl='-Wl,'
9128
lt_prog_compiler_can_build_shared=no
9132
lt_prog_compiler_pic='-pic'
9133
lt_prog_compiler_static='-Bstatic'
9137
lt_prog_compiler_can_build_shared=no
9143
# For platforms which do not support PIC, -DPIC is meaningless:
9145
lt_prog_compiler_pic=
9148
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9153
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9154
if ${lt_cv_prog_compiler_pic+:} false; then :
9155
$as_echo_n "(cached) " >&6
9157
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9160
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9161
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9164
# Check to make sure the PIC flag actually works.
9166
if test -n "$lt_prog_compiler_pic"; then
9167
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9168
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9169
if ${lt_cv_prog_compiler_pic_works+:} false; then :
9170
$as_echo_n "(cached) " >&6
9172
lt_cv_prog_compiler_pic_works=no
9173
ac_outfile=conftest.$ac_objext
9174
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9175
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9176
# Insert the option either (1) after the last *FLAGS variable, or
9177
# (2) before a word containing "conftest.", or (3) at the end.
9178
# Note that $ac_compile itself does not contain backslashes and begins
9179
# with a dollar sign (not a hyphen), so the echo should work correctly.
9180
# The option is referenced via a variable to avoid confusing sed.
9181
lt_compile=`echo "$ac_compile" | $SED \
9182
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9183
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9184
-e 's:$: $lt_compiler_flag:'`
9185
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9186
(eval "$lt_compile" 2>conftest.err)
9188
cat conftest.err >&5
9189
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190
if (exit $ac_status) && test -s "$ac_outfile"; then
9191
# The compiler can only warn and ignore the option if not recognized
9192
# So say no if there are warnings other than the usual output.
9193
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9194
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9195
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9196
lt_cv_prog_compiler_pic_works=yes
9202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9203
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9205
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9206
case $lt_prog_compiler_pic in
9208
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9211
lt_prog_compiler_pic=
9212
lt_prog_compiler_can_build_shared=no
9228
# Check to make sure the static flag actually works.
9230
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9232
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9233
if ${lt_cv_prog_compiler_static_works+:} false; then :
9234
$as_echo_n "(cached) " >&6
9236
lt_cv_prog_compiler_static_works=no
9237
save_LDFLAGS="$LDFLAGS"
9238
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9239
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9240
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9241
# The linker can only warn and ignore the option if not recognized
9242
# So say no if there are warnings
9243
if test -s conftest.err; then
9244
# Append any errors to the config.log.
9245
cat conftest.err 1>&5
9246
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9247
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9248
if diff conftest.exp conftest.er2 >/dev/null; then
9249
lt_cv_prog_compiler_static_works=yes
9252
lt_cv_prog_compiler_static_works=yes
9256
LDFLAGS="$save_LDFLAGS"
9259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9260
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9262
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9265
lt_prog_compiler_static=
9274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9275
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9276
if ${lt_cv_prog_compiler_c_o+:} false; then :
9277
$as_echo_n "(cached) " >&6
9279
lt_cv_prog_compiler_c_o=no
9280
$RM -r conftest 2>/dev/null
9284
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9286
lt_compiler_flag="-o out/conftest2.$ac_objext"
9287
# Insert the option either (1) after the last *FLAGS variable, or
9288
# (2) before a word containing "conftest.", or (3) at the end.
9289
# Note that $ac_compile itself does not contain backslashes and begins
9290
# with a dollar sign (not a hyphen), so the echo should work correctly.
9291
lt_compile=`echo "$ac_compile" | $SED \
9292
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9293
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9294
-e 's:$: $lt_compiler_flag:'`
9295
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9296
(eval "$lt_compile" 2>out/conftest.err)
9298
cat out/conftest.err >&5
9299
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9302
# The compiler can only warn and ignore the option if not recognized
9303
# So say no if there are warnings
9304
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9305
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9306
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9307
lt_cv_prog_compiler_c_o=yes
9312
# SGI C++ compiler will create directory out/ii_files/ for
9313
# template instantiation
9314
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9315
$RM out/* && rmdir out
9321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9322
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9330
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9331
if ${lt_cv_prog_compiler_c_o+:} false; then :
9332
$as_echo_n "(cached) " >&6
9334
lt_cv_prog_compiler_c_o=no
9335
$RM -r conftest 2>/dev/null
9339
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9341
lt_compiler_flag="-o out/conftest2.$ac_objext"
9342
# Insert the option either (1) after the last *FLAGS variable, or
9343
# (2) before a word containing "conftest.", or (3) at the end.
9344
# Note that $ac_compile itself does not contain backslashes and begins
9345
# with a dollar sign (not a hyphen), so the echo should work correctly.
9346
lt_compile=`echo "$ac_compile" | $SED \
9347
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9348
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9349
-e 's:$: $lt_compiler_flag:'`
9350
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9351
(eval "$lt_compile" 2>out/conftest.err)
9353
cat out/conftest.err >&5
9354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355
if (exit $ac_status) && test -s out/conftest2.$ac_objext
9357
# The compiler can only warn and ignore the option if not recognized
9358
# So say no if there are warnings
9359
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9360
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9361
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9362
lt_cv_prog_compiler_c_o=yes
9367
# SGI C++ compiler will create directory out/ii_files/ for
9368
# template instantiation
9369
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9370
$RM out/* && rmdir out
9376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9377
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9382
hard_links="nottested"
9383
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9384
# do not overwrite the value of need_locks provided by the user
9385
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9386
$as_echo_n "checking if we can lock with hard links... " >&6; }
9389
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9391
ln conftest.a conftest.b 2>&5 || hard_links=no
9392
ln conftest.a conftest.b 2>/dev/null && hard_links=no
9393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9394
$as_echo "$hard_links" >&6; }
9395
if test "$hard_links" = no; then
9396
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9397
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9410
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9413
allow_undefined_flag=
9414
always_export_symbols=no
9416
archive_expsym_cmds=
9417
compiler_needs_object=no
9418
enable_shared_with_static_runtimes=no
9419
export_dynamic_flag_spec=
9420
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9421
hardcode_automatic=no
9423
hardcode_direct_absolute=no
9424
hardcode_libdir_flag_spec=
9425
hardcode_libdir_flag_spec_ld=
9426
hardcode_libdir_separator=
9428
hardcode_shlibpath_var=unsupported
9430
link_all_deplibs=unknown
9433
old_archive_from_new_cmds=
9434
old_archive_from_expsyms_cmds=
9435
thread_safe_flag_spec=
9436
whole_archive_flag_spec=
9437
# include_expsyms should be a list of space-separated symbols to be *always*
9438
# included in the symbol list
9440
# exclude_expsyms can be an extended regexp of symbols to exclude
9441
# it will be wrapped by ` (' and `)$', so one must not match beginning or
9442
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9443
# as well as any symbol that contains `d'.
9444
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9445
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9446
# platforms (ab)use it in PIC code, but their linkers get confused if
9447
# the symbol is explicitly referenced. Since portable code cannot
9448
# rely on this symbol name, it's probably fine to never include it in
9449
# preloaded symbol tables.
9450
# Exclude shared library initialization/finalization symbols.
9451
extract_expsyms_cmds=
9454
cygwin* | mingw* | pw32* | cegcc*)
9455
# FIXME: the MSVC++ port hasn't been tested in a loooong time
9456
# When not using gcc, we currently assume that we are using
9457
# Microsoft Visual C++.
9458
if test "$GCC" != yes; then
9463
# we just hope/assume this is gcc and not c89 (= MSVC++)
9469
linux* | k*bsd*-gnu | gnu*)
9476
# On some targets, GNU ld is compatible enough with the native linker
9477
# that we're better off using the native interface for both.
9478
lt_use_gnu_ld_interface=no
9479
if test "$with_gnu_ld" = yes; then
9482
# The AIX port of GNU ld has always aspired to compatibility
9483
# with the native linker. However, as the warning in the GNU ld
9484
# block says, versions before 2.19.5* couldn't really create working
9485
# shared libraries, regardless of the interface used.
9486
case `$LD -v 2>&1` in
9487
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9488
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9489
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9491
lt_use_gnu_ld_interface=yes
9496
lt_use_gnu_ld_interface=yes
9501
if test "$lt_use_gnu_ld_interface" = yes; then
9502
# If archive_cmds runs LD, not CC, wlarc should be empty
9505
# Set some defaults for GNU ld with shared library support. These
9506
# are reset later if shared libraries are not supported. Putting them
9507
# here allows them to be overridden if necessary.
9508
runpath_var=LD_RUN_PATH
9509
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9510
export_dynamic_flag_spec='${wl}--export-dynamic'
9511
# ancient GNU ld didn't support --whole-archive et. al.
9512
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9513
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9515
whole_archive_flag_spec=
9517
supports_anon_versioning=no
9518
case `$LD -v 2>&1` in
9519
*GNU\ gold*) supports_anon_versioning=yes ;;
9520
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9521
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9522
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9523
*\ 2.11.*) ;; # other 2.11 versions
9524
*) supports_anon_versioning=yes ;;
9527
# See if GNU ld supports shared libraries.
9530
# On AIX/PPC, the GNU linker is very broken
9531
if test "$host_cpu" != ia64; then
9535
*** Warning: the GNU linker, at least up to release 2.19, is reported
9536
*** to be unable to reliably create shared libraries on AIX.
9537
*** Therefore, libtool is disabling shared libraries support. If you
9538
*** really care for shared libraries, you may want to install binutils
9539
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9540
*** You will then need to restart the configuration process.
9549
# see comment about AmigaOS4 .so support
9550
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9551
archive_expsym_cmds=''
9554
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)'
9555
hardcode_libdir_flag_spec='-L$libdir'
9556
hardcode_minus_L=yes
9562
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9563
allow_undefined_flag=unsupported
9564
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9565
# support --undefined. This deserves some investigation. FIXME
9566
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9572
cygwin* | mingw* | pw32* | cegcc*)
9573
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9574
# as there is no search path for DLLs.
9575
hardcode_libdir_flag_spec='-L$libdir'
9576
export_dynamic_flag_spec='${wl}--export-all-symbols'
9577
allow_undefined_flag=unsupported
9578
always_export_symbols=no
9579
enable_shared_with_static_runtimes=yes
9580
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'
9581
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9583
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9584
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9585
# If the export-symbols file already is a .def file (1st line
9586
# is EXPORTS), use it as is; otherwise, prepend...
9587
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9588
cp $export_symbols $output_objdir/$soname.def;
9590
echo EXPORTS > $output_objdir/$soname.def;
9591
cat $export_symbols >> $output_objdir/$soname.def;
9593
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9600
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9601
link_all_deplibs=yes
9606
hardcode_shlibpath_var=no
9607
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9608
export_dynamic_flag_spec='${wl}-E'
9609
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9610
# Instead, shared libraries are loaded at an image base (0x10000000 by
9611
# default) and relocated if they conflict, which is a slow very memory
9612
# consuming and fragmenting process. To avoid this, we pick a random,
9613
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9614
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9615
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9616
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'
9619
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9621
if test "$host_os" = linux-dietlibc; then
9622
case $cc_basename in
9623
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9626
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9627
&& test "$tmp_diet" = no
9629
tmp_addflag=' $pic_flag'
9630
tmp_sharedflag='-shared'
9631
case $cc_basename,$host_cpu in
9632
pgcc*) # Portland Group C compiler
9633
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'
9634
tmp_addflag=' $pic_flag'
9636
pgf77* | pgf90* | pgf95* | pgfortran*)
9637
# Portland Group f77 and f90 compilers
9638
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'
9639
tmp_addflag=' $pic_flag -Mnomain' ;;
9640
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9641
tmp_addflag=' -i_dynamic' ;;
9642
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9643
tmp_addflag=' -i_dynamic -nofor_main' ;;
9644
ifc* | ifort*) # Intel Fortran compiler
9645
tmp_addflag=' -nofor_main' ;;
9646
lf95*) # Lahey Fortran 8.1
9647
whole_archive_flag_spec=
9648
tmp_sharedflag='--shared' ;;
9649
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9650
tmp_sharedflag='-qmkshrobj'
9652
nvcc*) # Cuda Compiler Driver 2.2
9653
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'
9654
compiler_needs_object=yes
9657
case `$CC -V 2>&1 | sed 5q` in
9658
*Sun\ C*) # Sun C 5.9
9659
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'
9660
compiler_needs_object=yes
9661
tmp_sharedflag='-G' ;;
9662
*Sun\ F*) # Sun Fortran 8.3
9663
tmp_sharedflag='-G' ;;
9665
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9667
if test "x$supports_anon_versioning" = xyes; then
9668
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9669
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9670
echo "local: *; };" >> $output_objdir/$libname.ver~
9671
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9674
case $cc_basename in
9675
xlf* | bgf* | bgxlf* | mpixlf*)
9676
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9677
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9678
hardcode_libdir_flag_spec=
9679
hardcode_libdir_flag_spec_ld='-rpath $libdir'
9680
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9681
if test "x$supports_anon_versioning" = xyes; then
9682
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9683
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9684
echo "local: *; };" >> $output_objdir/$libname.ver~
9685
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9694
netbsd* | netbsdelf*-gnu)
9695
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9696
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9699
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9700
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9705
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9709
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9710
*** create shared libraries on Solaris systems. Therefore, libtool
9711
*** is disabling shared libraries support. We urge you to upgrade GNU
9712
*** binutils to release 2.9.1 or newer. Another option is to modify
9713
*** your PATH or compiler configuration so that the native linker is
9714
*** used, and then restart.
9717
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9718
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9719
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9725
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9726
case `$LD -v 2>&1` in
9727
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9731
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9732
*** reliably create shared libraries on SCO systems. Therefore, libtool
9733
*** is disabling shared libraries support. We urge you to upgrade GNU
9734
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9735
*** your PATH or compiler configuration so that the native linker is
9736
*** used, and then restart.
9741
# For security reasons, it is highly recommended that you always
9742
# use absolute paths for naming shared libraries, and exclude the
9743
# DT_RUNPATH tag from executables and libraries. But doing so
9744
# requires that you compile everything twice, which is a pain.
9745
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9746
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9747
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9757
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9760
hardcode_shlibpath_var=no
9764
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9765
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9766
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9773
if test "$ld_shlibs" = no; then
9775
hardcode_libdir_flag_spec=
9776
export_dynamic_flag_spec=
9777
whole_archive_flag_spec=
9780
# PORTME fill in a description of your system's linker (not GNU ld)
9783
allow_undefined_flag=unsupported
9784
always_export_symbols=yes
9785
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'
9786
# Note: this linker hardcodes the directories in LIBPATH if there
9787
# are no directories specified by -L.
9788
hardcode_minus_L=yes
9789
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9790
# Neither direct hardcoding nor static linking is supported with a
9792
hardcode_direct=unsupported
9797
if test "$host_cpu" = ia64; then
9798
# On IA64, the linker does run time linking by default, so we don't
9799
# have to do anything special.
9800
aix_use_runtimelinking=no
9801
exp_sym_flag='-Bexport'
9804
# If we're using GNU nm, then we don't want the "-C" option.
9805
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9806
# Also, AIX nm treats weak defined symbols like other global
9807
# defined symbols, whereas GNU nm marks them as "W".
9808
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9809
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'
9811
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'
9813
aix_use_runtimelinking=no
9815
# Test if we are trying to use run time linking or normal
9816
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9817
# need to do runtime linking.
9818
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9819
for ld_flag in $LDFLAGS; do
9820
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9821
aix_use_runtimelinking=yes
9828
exp_sym_flag='-bexport'
9829
no_entry_flag='-bnoentry'
9832
# When large executables or shared objects are built, AIX ld can
9833
# have problems creating the table of contents. If linking a library
9834
# or program results in "error TOC overflow" add -mminimal-toc to
9835
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9836
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9840
hardcode_direct_absolute=yes
9841
hardcode_libdir_separator=':'
9842
link_all_deplibs=yes
9843
file_list_spec='${wl}-f,'
9845
if test "$GCC" = yes; then
9846
case $host_os in aix4.[012]|aix4.[012].*)
9847
# We only want to do this on AIX 4.2 and lower, the check
9848
# below for broken collect2 doesn't work under 4.3+
9849
collect2name=`${CC} -print-prog-name=collect2`
9850
if test -f "$collect2name" &&
9851
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9853
# We have reworked collect2
9856
# We have old collect2
9857
hardcode_direct=unsupported
9858
# It fails to find uninstalled libraries when the uninstalled
9859
# path is not listed in the libpath. Setting hardcode_minus_L
9860
# to unsupported forces relinking
9861
hardcode_minus_L=yes
9862
hardcode_libdir_flag_spec='-L$libdir'
9863
hardcode_libdir_separator=
9867
shared_flag='-shared'
9868
if test "$aix_use_runtimelinking" = yes; then
9869
shared_flag="$shared_flag "'${wl}-G'
9874
if test "$host_cpu" = ia64; then
9875
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9876
# chokes on -Wl,-G. The following line is correct:
9879
if test "$aix_use_runtimelinking" = yes; then
9880
shared_flag='${wl}-G'
9882
shared_flag='${wl}-bM:SRE'
9887
export_dynamic_flag_spec='${wl}-bexpall'
9888
# It seems that -bexpall does not export symbols beginning with
9889
# underscore (_), so it is better to generate a list of symbols to export.
9890
always_export_symbols=yes
9891
if test "$aix_use_runtimelinking" = yes; then
9892
# Warning - without using the other runtime loading flags (-brtl),
9893
# -berok will link without error, but may produce a broken library.
9894
allow_undefined_flag='-berok'
9895
# Determine the default libpath from the value encoded in an
9897
if test "${lt_cv_aix_libpath+set}" = set; then
9898
aix_libpath=$lt_cv_aix_libpath
9900
if ${lt_cv_aix_libpath_+:} false; then :
9901
$as_echo_n "(cached) " >&6
9903
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904
/* end confdefs.h. */
9914
if ac_fn_c_try_link "$LINENO"; then :
9916
lt_aix_libpath_sed='
9917
/Import File Strings/,/^$/ {
9919
s/^0 *\([^ ]*\) *$/\1/
9923
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9924
# Check for a 64-bit object if we didn't find anything.
9925
if test -z "$lt_cv_aix_libpath_"; then
9926
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9929
rm -f core conftest.err conftest.$ac_objext \
9930
conftest$ac_exeext conftest.$ac_ext
9931
if test -z "$lt_cv_aix_libpath_"; then
9932
lt_cv_aix_libpath_="/usr/lib:/lib"
9937
aix_libpath=$lt_cv_aix_libpath_
9940
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9941
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"
9943
if test "$host_cpu" = ia64; then
9944
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9945
allow_undefined_flag="-z nodefs"
9946
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"
9948
# Determine the default libpath from the value encoded in an
9950
if test "${lt_cv_aix_libpath+set}" = set; then
9951
aix_libpath=$lt_cv_aix_libpath
9953
if ${lt_cv_aix_libpath_+:} false; then :
9954
$as_echo_n "(cached) " >&6
9956
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957
/* end confdefs.h. */
9967
if ac_fn_c_try_link "$LINENO"; then :
9969
lt_aix_libpath_sed='
9970
/Import File Strings/,/^$/ {
9972
s/^0 *\([^ ]*\) *$/\1/
9976
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9977
# Check for a 64-bit object if we didn't find anything.
9978
if test -z "$lt_cv_aix_libpath_"; then
9979
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9982
rm -f core conftest.err conftest.$ac_objext \
9983
conftest$ac_exeext conftest.$ac_ext
9984
if test -z "$lt_cv_aix_libpath_"; then
9985
lt_cv_aix_libpath_="/usr/lib:/lib"
9990
aix_libpath=$lt_cv_aix_libpath_
9993
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9994
# Warning - without using the other run time loading flags,
9995
# -berok will link without error, but may produce a broken library.
9996
no_undefined_flag=' ${wl}-bernotok'
9997
allow_undefined_flag=' ${wl}-berok'
9998
if test "$with_gnu_ld" = yes; then
9999
# We only use this code for GNU lds that support --whole-archive.
10000
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10002
# Exported symbols can be pulled into shared objects from archives
10003
whole_archive_flag_spec='$convenience'
10005
archive_cmds_need_lc=yes
10006
# This is similar to how AIX traditionally builds its shared libraries.
10007
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'
10015
# see comment about AmigaOS4 .so support
10016
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10017
archive_expsym_cmds=''
10020
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)'
10021
hardcode_libdir_flag_spec='-L$libdir'
10022
hardcode_minus_L=yes
10028
export_dynamic_flag_spec=-rdynamic
10031
cygwin* | mingw* | pw32* | cegcc*)
10032
# When not using gcc, we currently assume that we are using
10033
# Microsoft Visual C++.
10034
# hardcode_libdir_flag_spec is actually meaningless, as there is
10035
# no search path for DLLs.
10036
case $cc_basename in
10039
hardcode_libdir_flag_spec=' '
10040
allow_undefined_flag=unsupported
10041
always_export_symbols=yes
10043
# Tell ltmain to make .lib files, not .a files.
10045
# Tell ltmain to make .dll files, not .so files.
10047
# FIXME: Setting linknames here is a bad hack.
10048
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10049
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10050
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10052
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10054
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10056
# The linker will not automatically build a static lib if we build a DLL.
10057
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10058
enable_shared_with_static_runtimes=yes
10059
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10061
old_postinstall_cmds='chmod 644 $oldlib'
10062
postlink_cmds='lt_outputfile="@OUTPUT@"~
10063
lt_tool_outputfile="@TOOL_OUTPUT@"~
10064
case $lt_outputfile in
10067
lt_outputfile="$lt_outputfile.exe"
10068
lt_tool_outputfile="$lt_tool_outputfile.exe"
10071
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10072
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10073
$RM "$lt_outputfile.manifest";
10077
# Assume MSVC wrapper
10078
hardcode_libdir_flag_spec=' '
10079
allow_undefined_flag=unsupported
10080
# Tell ltmain to make .lib files, not .a files.
10082
# Tell ltmain to make .dll files, not .so files.
10084
# FIXME: Setting linknames here is a bad hack.
10085
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10086
# The linker will automatically build a .lib file if we build a DLL.
10087
old_archive_from_new_cmds='true'
10088
# FIXME: Should let the user specify the lib program.
10089
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10090
enable_shared_with_static_runtimes=yes
10095
darwin* | rhapsody*)
10098
archive_cmds_need_lc=no
10100
hardcode_automatic=yes
10101
hardcode_shlibpath_var=unsupported
10102
if test "$lt_cv_ld_force_load" = "yes"; then
10103
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\"`'
10105
whole_archive_flag_spec=''
10107
link_all_deplibs=yes
10108
allow_undefined_flag="$_lt_dar_allow_undefined"
10109
case $cc_basename in
10110
ifort*) _lt_dar_can_shared=yes ;;
10111
*) _lt_dar_can_shared=$GCC ;;
10113
if test "$_lt_dar_can_shared" = "yes"; then
10114
output_verbose_link_cmd=func_echo_all
10115
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10116
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10117
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}"
10118
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}"
10127
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10128
hardcode_libdir_flag_spec='-L$libdir'
10129
hardcode_shlibpath_var=no
10136
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10137
# support. Future versions do this automatically, but an explicit c++rt0.o
10138
# does not break anything, and helps significantly (at the cost of a little
10141
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10142
hardcode_libdir_flag_spec='-R$libdir'
10143
hardcode_direct=yes
10144
hardcode_shlibpath_var=no
10147
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
10149
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10150
hardcode_direct=yes
10151
hardcode_minus_L=yes
10152
hardcode_shlibpath_var=no
10155
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10156
freebsd* | dragonfly*)
10157
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10158
hardcode_libdir_flag_spec='-R$libdir'
10159
hardcode_direct=yes
10160
hardcode_shlibpath_var=no
10164
if test "$GCC" = yes; then
10165
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'
10167
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'
10169
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10170
hardcode_libdir_separator=:
10171
hardcode_direct=yes
10173
# hardcode_minus_L: Not really in the search PATH,
10174
# but as the default location of the library.
10175
hardcode_minus_L=yes
10176
export_dynamic_flag_spec='${wl}-E'
10180
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10181
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10183
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10185
if test "$with_gnu_ld" = no; then
10186
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10187
hardcode_libdir_flag_spec_ld='+b $libdir'
10188
hardcode_libdir_separator=:
10189
hardcode_direct=yes
10190
hardcode_direct_absolute=yes
10191
export_dynamic_flag_spec='${wl}-E'
10192
# hardcode_minus_L: Not really in the search PATH,
10193
# but as the default location of the library.
10194
hardcode_minus_L=yes
10199
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10202
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10205
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10208
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10214
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10217
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10221
# Older versions of the 11.00 compiler do not understand -b yet
10222
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10223
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10224
$as_echo_n "checking if $CC understands -b... " >&6; }
10225
if ${lt_cv_prog_compiler__b+:} false; then :
10226
$as_echo_n "(cached) " >&6
10228
lt_cv_prog_compiler__b=no
10229
save_LDFLAGS="$LDFLAGS"
10230
LDFLAGS="$LDFLAGS -b"
10231
echo "$lt_simple_link_test_code" > conftest.$ac_ext
10232
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10233
# The linker can only warn and ignore the option if not recognized
10234
# So say no if there are warnings
10235
if test -s conftest.err; then
10236
# Append any errors to the config.log.
10237
cat conftest.err 1>&5
10238
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10239
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10240
if diff conftest.exp conftest.er2 >/dev/null; then
10241
lt_cv_prog_compiler__b=yes
10244
lt_cv_prog_compiler__b=yes
10248
LDFLAGS="$save_LDFLAGS"
10251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10252
$as_echo "$lt_cv_prog_compiler__b" >&6; }
10254
if test x"$lt_cv_prog_compiler__b" = xyes; then
10255
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10257
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10263
if test "$with_gnu_ld" = no; then
10264
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10265
hardcode_libdir_separator=:
10270
hardcode_shlibpath_var=no
10273
hardcode_direct=yes
10274
hardcode_direct_absolute=yes
10275
export_dynamic_flag_spec='${wl}-E'
10277
# hardcode_minus_L: Not really in the search PATH,
10278
# but as the default location of the library.
10279
hardcode_minus_L=yes
10285
irix5* | irix6* | nonstopux*)
10286
if test "$GCC" = yes; then
10287
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'
10288
# Try to use the -exported_symbol ld option, if it does not
10289
# work, assume that -exports_file does not work either and
10290
# implicitly export all symbols.
10291
# This should be the same for all languages, so no per-tag cache variable.
10292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10293
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10294
if ${lt_cv_irix_exported_symbol+:} false; then :
10295
$as_echo_n "(cached) " >&6
10297
save_LDFLAGS="$LDFLAGS"
10298
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10299
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10300
/* end confdefs.h. */
10301
int foo (void) { return 0; }
10303
if ac_fn_c_try_link "$LINENO"; then :
10304
lt_cv_irix_exported_symbol=yes
10306
lt_cv_irix_exported_symbol=no
10308
rm -f core conftest.err conftest.$ac_objext \
10309
conftest$ac_exeext conftest.$ac_ext
10310
LDFLAGS="$save_LDFLAGS"
10312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10313
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10314
if test "$lt_cv_irix_exported_symbol" = yes; then
10315
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'
10318
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'
10319
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'
10321
archive_cmds_need_lc='no'
10322
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10323
hardcode_libdir_separator=:
10325
link_all_deplibs=yes
10328
netbsd* | netbsdelf*-gnu)
10329
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10330
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10332
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10334
hardcode_libdir_flag_spec='-R$libdir'
10335
hardcode_direct=yes
10336
hardcode_shlibpath_var=no
10340
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10341
hardcode_direct=yes
10342
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10343
hardcode_libdir_separator=:
10344
hardcode_shlibpath_var=no
10351
if test -f /usr/libexec/ld.so; then
10352
hardcode_direct=yes
10353
hardcode_shlibpath_var=no
10354
hardcode_direct_absolute=yes
10355
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10356
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10357
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10358
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10359
export_dynamic_flag_spec='${wl}-E'
10362
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10363
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10364
hardcode_libdir_flag_spec='-R$libdir'
10367
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10368
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10378
hardcode_libdir_flag_spec='-L$libdir'
10379
hardcode_minus_L=yes
10380
allow_undefined_flag=unsupported
10381
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'
10382
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10386
if test "$GCC" = yes; then
10387
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10388
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'
10390
allow_undefined_flag=' -expect_unresolved \*'
10391
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'
10393
archive_cmds_need_lc='no'
10394
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10395
hardcode_libdir_separator=:
10398
osf4* | osf5*) # as osf3* with the addition of -msym flag
10399
if test "$GCC" = yes; then
10400
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10401
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'
10402
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10404
allow_undefined_flag=' -expect_unresolved \*'
10405
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'
10406
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~
10407
$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'
10409
# Both c and cxx compiler support -rpath directly
10410
hardcode_libdir_flag_spec='-rpath $libdir'
10412
archive_cmds_need_lc='no'
10413
hardcode_libdir_separator=:
10417
no_undefined_flag=' -z defs'
10418
if test "$GCC" = yes; then
10420
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10421
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10422
$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'
10424
case `$CC -V 2>&1` in
10427
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10428
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10429
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10433
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10434
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10435
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10439
hardcode_libdir_flag_spec='-R$libdir'
10440
hardcode_shlibpath_var=no
10442
solaris2.[0-5] | solaris2.[0-5].*) ;;
10444
# The compiler driver will combine and reorder linker options,
10445
# but understands `-z linker_flag'. GCC discards it without `$wl',
10446
# but is careful enough not to reorder.
10447
# Supported since Solaris 2.6 (maybe 2.5.1?)
10448
if test "$GCC" = yes; then
10449
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10451
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10455
link_all_deplibs=yes
10459
if test "x$host_vendor" = xsequent; then
10460
# Use $CC to link under sequent, because it throws in some extra .o
10461
# files that make .init and .fini sections work.
10462
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10464
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10466
hardcode_libdir_flag_spec='-L$libdir'
10467
hardcode_direct=yes
10468
hardcode_minus_L=yes
10469
hardcode_shlibpath_var=no
10473
case $host_vendor in
10475
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10476
hardcode_direct=yes # is this really true???
10479
## LD is ld it makes a PLAMLIB
10480
## CC just makes a GrossModule.
10481
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10482
reload_cmds='$CC -r -o $output$reload_objs'
10486
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10487
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10490
runpath_var='LD_RUN_PATH'
10491
hardcode_shlibpath_var=no
10495
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10496
hardcode_shlibpath_var=no
10497
export_dynamic_flag_spec='-Bexport'
10501
if test -d /usr/nec; then
10502
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10503
hardcode_shlibpath_var=no
10504
runpath_var=LD_RUN_PATH
10505
hardcode_runpath_var=yes
10510
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10511
no_undefined_flag='${wl}-z,text'
10512
archive_cmds_need_lc=no
10513
hardcode_shlibpath_var=no
10514
runpath_var='LD_RUN_PATH'
10516
if test "$GCC" = yes; then
10517
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10518
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10520
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10521
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10525
sysv5* | sco3.2v5* | sco5v6*)
10526
# Note: We can NOT use -z defs as we might desire, because we do not
10527
# link with -lc, and that would cause any symbols used from libc to
10528
# always be unresolved, which means just about no library would
10529
# ever link correctly. If we're not using GNU ld we use -z text
10530
# though, which does catch some bad symbols but isn't as heavy-handed
10532
no_undefined_flag='${wl}-z,text'
10533
allow_undefined_flag='${wl}-z,nodefs'
10534
archive_cmds_need_lc=no
10535
hardcode_shlibpath_var=no
10536
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10537
hardcode_libdir_separator=':'
10538
link_all_deplibs=yes
10539
export_dynamic_flag_spec='${wl}-Bexport'
10540
runpath_var='LD_RUN_PATH'
10542
if test "$GCC" = yes; then
10543
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10544
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10546
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10547
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10552
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10553
hardcode_libdir_flag_spec='-L$libdir'
10554
hardcode_shlibpath_var=no
10562
if test x$host_vendor = xsni; then
10564
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10565
export_dynamic_flag_spec='${wl}-Blargedynsym'
10571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10572
$as_echo "$ld_shlibs" >&6; }
10573
test "$ld_shlibs" = no && can_build_shared=no
10575
with_gnu_ld=$with_gnu_ld
10592
# Do we need to explicitly link libc?
10594
case "x$archive_cmds_need_lc" in
10596
# Assume -lc should be added
10597
archive_cmds_need_lc=yes
10599
if test "$enable_shared" = yes && test "$GCC" = yes; then
10600
case $archive_cmds in
10602
# FIXME: we may have to deal with multi-command sequences.
10605
# Test whether the compiler implicitly links with -lc since on some
10606
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10607
# to ld, don't add -lc before -lgcc.
10608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10609
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10610
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10611
$as_echo_n "(cached) " >&6
10614
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10616
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10617
(eval $ac_compile) 2>&5
10619
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10620
test $ac_status = 0; } 2>conftest.err; then
10623
libobjs=conftest.$ac_objext
10625
wl=$lt_prog_compiler_wl
10626
pic_flag=$lt_prog_compiler_pic
10632
lt_save_allow_undefined_flag=$allow_undefined_flag
10633
allow_undefined_flag=
10634
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10635
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10638
test $ac_status = 0; }
10640
lt_cv_archive_cmds_need_lc=no
10642
lt_cv_archive_cmds_need_lc=yes
10644
allow_undefined_flag=$lt_save_allow_undefined_flag
10646
cat conftest.err 1>&5
10651
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10652
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10653
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10816
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10817
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10819
if test "$GCC" = yes; then
10821
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10822
*) lt_awk_arg="/^libraries:/" ;;
10825
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10826
*) lt_sed_strip_eq="s,=/,/,g" ;;
10828
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10829
case $lt_search_path_spec in
10831
# if the path contains ";" then we assume it to be the separator
10832
# otherwise default to the standard path separator (i.e. ":") - it is
10833
# assumed that no part of a normal pathname contains ";" but that should
10834
# okay in the real world where ";" in dirpaths is itself problematic.
10835
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10838
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10841
# Ok, now we have the path, separated by spaces, we can step through it
10842
# and add multilib dir if necessary.
10843
lt_tmp_lt_search_path_spec=
10844
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10845
for lt_sys_path in $lt_search_path_spec; do
10846
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10847
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10849
test -d "$lt_sys_path" && \
10850
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10853
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10854
BEGIN {RS=" "; FS="/|\n";} {
10857
for (lt_i = NF; lt_i > 0; lt_i--) {
10858
if ($lt_i != "" && $lt_i != ".") {
10859
if ($lt_i == "..") {
10862
if (lt_count == 0) {
10863
lt_foo="/" $lt_i lt_foo;
10870
if (lt_foo != "") { lt_freq[lt_foo]++; }
10871
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10873
# AWK program above erroneously prepends '/' to C:/dos/paths
10876
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10877
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10879
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10881
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10883
library_names_spec=
10884
libname_spec='lib$name'
10888
postuninstall_cmds=
10892
shlibpath_overrides_runpath=unknown
10894
dynamic_linker="$host_os ld.so"
10895
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10896
need_lib_prefix=unknown
10897
hardcode_into_libs=no
10899
# when you set need_version to no, make sure it does not cause -set_version
10900
# flags to be left without arguments
10901
need_version=unknown
10906
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10907
shlibpath_var=LIBPATH
10909
# AIX 3 has no versioning support, so we append a major version to the name.
10910
soname_spec='${libname}${release}${shared_ext}$major'
10917
hardcode_into_libs=yes
10918
if test "$host_cpu" = ia64; then
10919
# AIX 5 supports IA64
10920
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10921
shlibpath_var=LD_LIBRARY_PATH
10923
# With GCC up to 2.95.x, collect2 would create an import file
10924
# for dependence libraries. The import file would start with
10925
# the line `#! .'. This would cause the generated library to
10926
# depend on `.', always an invalid library. This was fixed in
10927
# development snapshots of GCC prior to 3.0.
10929
aix4 | aix4.[01] | aix4.[01].*)
10930
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10932
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10935
can_build_shared=no
10939
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10940
# soname into executable. Probably we can add versioning support to
10941
# collect2, so additional links can be useful in future.
10942
if test "$aix_use_runtimelinking" = yes; then
10943
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10944
# instead of lib<name>.a to let people know that these are not
10945
# typical AIX shared libraries.
10946
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10948
# We preserve .a as extension for shared libraries through AIX4.2
10949
# and later when we are not doing run time linking.
10950
library_names_spec='${libname}${release}.a $libname.a'
10951
soname_spec='${libname}${release}${shared_ext}$major'
10953
shlibpath_var=LIBPATH
10960
# Since July 2007 AmigaOS4 officially supports .so libraries.
10961
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10962
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10965
library_names_spec='$libname.ixlibrary $libname.a'
10966
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10967
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'
10973
library_names_spec='${libname}${shared_ext}'
10974
dynamic_linker="$host_os ld.so"
10975
shlibpath_var=LIBRARY_PATH
10981
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982
soname_spec='${libname}${release}${shared_ext}$major'
10983
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10984
shlibpath_var=LD_LIBRARY_PATH
10985
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10986
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10987
# the default ld.so.conf also contains /usr/contrib/lib and
10988
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10989
# libtool to hard-code these into programs
10992
cygwin* | mingw* | pw32* | cegcc*)
10993
version_type=windows
10998
case $GCC,$cc_basename in
11001
library_names_spec='$libname.dll.a'
11002
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11003
postinstall_cmds='base_file=`basename \${file}`~
11004
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11005
dldir=$destdir/`dirname \$dlpath`~
11006
test -d \$dldir || mkdir -p \$dldir~
11007
$install_prog $dir/$dlname \$dldir/$dlname~
11008
chmod a+x \$dldir/$dlname~
11009
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11010
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11012
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11013
dlpath=$dir/\$dldll~
11015
shlibpath_overrides_runpath=yes
11019
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
11020
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11022
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11025
# MinGW DLLs use traditional 'lib' prefix
11026
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11029
# pw32 DLLs use 'pw' prefix rather than 'lib'
11030
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11033
dynamic_linker='Win32 ld.exe'
11038
libname_spec='$name'
11039
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11040
library_names_spec='${libname}.dll.lib'
11044
sys_lib_search_path_spec=
11047
for lt_path in $LIB
11050
# Let DOS variable expansion print the short 8.3 style file name.
11051
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11052
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11055
# Convert to MSYS style.
11056
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11059
# Convert to unix form, then to dos form, then back to unix form
11060
# but this time dos style (no spaces!) so that the unix form looks
11061
# like /cygdrive/c/PROGRA~1:/cygdr...
11062
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11063
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11064
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11067
sys_lib_search_path_spec="$LIB"
11068
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11069
# It is most probably a Windows format PATH.
11070
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11072
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11074
# FIXME: find the short name or the path components, as spaces are
11075
# common. (e.g. "Program Files" -> "PROGRA~1")
11079
# DLL is installed to $(libdir)/../bin by postinstall_cmds
11080
postinstall_cmds='base_file=`basename \${file}`~
11081
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11082
dldir=$destdir/`dirname \$dlpath`~
11083
test -d \$dldir || mkdir -p \$dldir~
11084
$install_prog $dir/$dlname \$dldir/$dlname'
11085
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11086
dlpath=$dir/\$dldll~
11088
shlibpath_overrides_runpath=yes
11089
dynamic_linker='Win32 link.exe'
11093
# Assume MSVC wrapper
11094
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11095
dynamic_linker='Win32 ld.exe'
11098
# FIXME: first we should search . and the directory the executable is in
11102
darwin* | rhapsody*)
11103
dynamic_linker="$host_os dyld"
11104
version_type=darwin
11107
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11108
soname_spec='${libname}${release}${major}$shared_ext'
11109
shlibpath_overrides_runpath=yes
11110
shlibpath_var=DYLD_LIBRARY_PATH
11111
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11113
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11114
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11121
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11122
soname_spec='${libname}${release}${shared_ext}$major'
11123
shlibpath_var=LD_LIBRARY_PATH
11130
freebsd* | dragonfly*)
11131
# DragonFly does not have aout. When/if they implement a new
11132
# versioning mechanism, adjust this.
11133
if test -x /usr/bin/objformat; then
11134
objformat=`/usr/bin/objformat`
11137
freebsd[123]*) objformat=aout ;;
11138
*) objformat=elf ;;
11141
version_type=freebsd-$objformat
11142
case $version_type in
11144
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11149
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11153
shlibpath_var=LD_LIBRARY_PATH
11156
shlibpath_overrides_runpath=yes
11158
freebsd3.[01]* | freebsdelf3.[01]*)
11159
shlibpath_overrides_runpath=yes
11160
hardcode_into_libs=yes
11162
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11163
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11164
shlibpath_overrides_runpath=no
11165
hardcode_into_libs=yes
11167
*) # from 4.6 on, and DragonFly
11168
shlibpath_overrides_runpath=yes
11169
hardcode_into_libs=yes
11178
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11179
soname_spec='${libname}${release}${shared_ext}$major'
11180
shlibpath_var=LD_LIBRARY_PATH
11181
shlibpath_overrides_runpath=no
11182
hardcode_into_libs=yes
11189
dynamic_linker="$host_os runtime_loader"
11190
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11191
soname_spec='${libname}${release}${shared_ext}$major'
11192
shlibpath_var=LIBRARY_PATH
11193
shlibpath_overrides_runpath=yes
11194
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11195
hardcode_into_libs=yes
11198
hpux9* | hpux10* | hpux11*)
11199
# Give a soname corresponding to the major version so that dld.sl refuses to
11200
# link against other versions.
11207
hardcode_into_libs=yes
11208
dynamic_linker="$host_os dld.so"
11209
shlibpath_var=LD_LIBRARY_PATH
11210
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11211
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11212
soname_spec='${libname}${release}${shared_ext}$major'
11213
if test "X$HPUX_IA64_MODE" = X32; then
11214
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11216
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11218
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11222
hardcode_into_libs=yes
11223
dynamic_linker="$host_os dld.sl"
11224
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11225
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11226
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11227
soname_spec='${libname}${release}${shared_ext}$major'
11228
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11229
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11233
dynamic_linker="$host_os dld.sl"
11234
shlibpath_var=SHLIB_PATH
11235
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11236
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11237
soname_spec='${libname}${release}${shared_ext}$major'
11240
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11241
postinstall_cmds='chmod 555 $lib'
11242
# or fails outright, so override atomically:
11243
install_override_mode=555
11250
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11251
soname_spec='${libname}${release}${shared_ext}$major'
11252
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11253
shlibpath_var=LD_LIBRARY_PATH
11254
shlibpath_overrides_runpath=no
11255
hardcode_into_libs=yes
11258
irix5* | irix6* | nonstopux*)
11260
nonstopux*) version_type=nonstopux ;;
11262
if test "$lt_cv_prog_gnu_ld" = yes; then
11270
soname_spec='${libname}${release}${shared_ext}$major'
11271
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11273
irix5* | nonstopux*)
11274
libsuff= shlibsuff=
11277
case $LD in # libtool.m4 will add one of these switches to LD
11278
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11279
libsuff= shlibsuff= libmagic=32-bit;;
11280
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11281
libsuff=32 shlibsuff=N32 libmagic=N32;;
11282
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11283
libsuff=64 shlibsuff=64 libmagic=64-bit;;
11284
*) libsuff= shlibsuff= libmagic=never-match;;
11288
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11289
shlibpath_overrides_runpath=no
11290
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11291
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11292
hardcode_into_libs=yes
11295
# No shared lib support for Linux oldld, aout, or coff.
11296
linux*oldld* | linux*aout* | linux*coff*)
11300
# This must be Linux ELF.
11301
linux* | k*bsd*-gnu | kopensolaris*-gnu)
11305
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11306
soname_spec='${libname}${release}${shared_ext}$major'
11307
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11308
shlibpath_var=LD_LIBRARY_PATH
11309
shlibpath_overrides_runpath=no
11311
# Some binutils ld are patched to set DT_RUNPATH
11312
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11313
$as_echo_n "(cached) " >&6
11315
lt_cv_shlibpath_overrides_runpath=no
11316
save_LDFLAGS=$LDFLAGS
11317
save_libdir=$libdir
11318
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11319
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11320
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321
/* end confdefs.h. */
11331
if ac_fn_c_try_link "$LINENO"; then :
11332
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11333
lt_cv_shlibpath_overrides_runpath=yes
11336
rm -f core conftest.err conftest.$ac_objext \
11337
conftest$ac_exeext conftest.$ac_ext
11338
LDFLAGS=$save_LDFLAGS
11339
libdir=$save_libdir
11343
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11345
# This implies no fast_install, which is unacceptable.
11346
# Some rework will be needed to allow for fast_install
11347
# before this can be enabled.
11348
hardcode_into_libs=yes
11350
# Append ld.so.conf contents to the search path
11351
if test -f /etc/ld.so.conf; then
11352
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' ' '`
11353
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11356
# We used to test for /lib/ld.so.1 and disable shared libraries on
11357
# powerpc, because MkLinux only supported shared libraries with the
11358
# GNU dynamic linker. Since this was broken with cross compilers,
11359
# most powerpc-linux boxes support dynamic linking these days and
11360
# people can always --disable-shared, the test was removed, and we
11361
# assume the GNU/Linux dynamic linker is in use.
11362
dynamic_linker='GNU/Linux ld.so'
11369
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11370
soname_spec='${libname}${release}${shared_ext}$major'
11371
shlibpath_var=LD_LIBRARY_PATH
11372
shlibpath_overrides_runpath=no
11373
hardcode_into_libs=yes
11374
dynamic_linker='NetBSD ld.elf_so'
11381
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11382
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11383
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11384
dynamic_linker='NetBSD (a.out) ld.so'
11386
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11387
soname_spec='${libname}${release}${shared_ext}$major'
11388
dynamic_linker='NetBSD ld.elf_so'
11390
shlibpath_var=LD_LIBRARY_PATH
11391
shlibpath_overrides_runpath=yes
11392
hardcode_into_libs=yes
11397
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398
shlibpath_var=LD_LIBRARY_PATH
11399
shlibpath_overrides_runpath=yes
11406
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11407
soname_spec='${libname}${release}${shared_ext}$major'
11408
shlibpath_var=LD_LIBRARY_PATH
11409
shlibpath_overrides_runpath=no
11410
hardcode_into_libs=yes
11411
dynamic_linker='ldqnx.so'
11416
sys_lib_dlsearch_path_spec="/usr/lib"
11418
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11420
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11421
*) need_version=no ;;
11423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11424
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11425
shlibpath_var=LD_LIBRARY_PATH
11426
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11428
openbsd2.[89] | openbsd2.[89].*)
11429
shlibpath_overrides_runpath=no
11432
shlibpath_overrides_runpath=yes
11436
shlibpath_overrides_runpath=yes
11441
libname_spec='$name'
11444
library_names_spec='$libname${shared_ext} $libname.a'
11445
dynamic_linker='OS/2 ld.exe'
11446
shlibpath_var=LIBPATH
11449
osf3* | osf4* | osf5*)
11453
soname_spec='${libname}${release}${shared_ext}$major'
11454
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455
shlibpath_var=LD_LIBRARY_PATH
11456
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11457
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11468
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469
soname_spec='${libname}${release}${shared_ext}$major'
11470
shlibpath_var=LD_LIBRARY_PATH
11471
shlibpath_overrides_runpath=yes
11472
hardcode_into_libs=yes
11473
# ldd complains unless libraries are executable
11474
postinstall_cmds='chmod +x $lib'
11479
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11480
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11481
shlibpath_var=LD_LIBRARY_PATH
11482
shlibpath_overrides_runpath=yes
11483
if test "$with_gnu_ld" = yes; then
11491
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492
soname_spec='${libname}${release}${shared_ext}$major'
11493
shlibpath_var=LD_LIBRARY_PATH
11494
case $host_vendor in
11496
shlibpath_overrides_runpath=no
11498
runpath_var=LD_RUN_PATH
11506
shlibpath_overrides_runpath=no
11507
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11513
if test -d /usr/nec ;then
11515
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11516
soname_spec='$libname${shared_ext}.$major'
11517
shlibpath_var=LD_LIBRARY_PATH
11521
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11522
version_type=freebsd-elf
11525
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11526
soname_spec='${libname}${release}${shared_ext}$major'
11527
shlibpath_var=LD_LIBRARY_PATH
11528
shlibpath_overrides_runpath=yes
11529
hardcode_into_libs=yes
11530
if test "$with_gnu_ld" = yes; then
11531
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11533
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11536
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11540
sys_lib_dlsearch_path_spec='/usr/lib'
11544
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11548
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549
shlibpath_var=LD_LIBRARY_PATH
11550
shlibpath_overrides_runpath=no
11551
hardcode_into_libs=yes
11556
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11557
soname_spec='${libname}${release}${shared_ext}$major'
11558
shlibpath_var=LD_LIBRARY_PATH
11565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11566
$as_echo "$dynamic_linker" >&6; }
11567
test "$dynamic_linker" = no && can_build_shared=no
11569
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11570
if test "$GCC" = yes; then
11571
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11574
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11575
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11577
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11578
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11673
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11675
if test -n "$hardcode_libdir_flag_spec" ||
11676
test -n "$runpath_var" ||
11677
test "X$hardcode_automatic" = "Xyes" ; then
11679
# We can hardcode non-existent directories.
11680
if test "$hardcode_direct" != no &&
11681
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11682
# have to relink, otherwise we might link with an installed library
11683
# when we should be linking with a yet-to-be-installed one
11684
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11685
test "$hardcode_minus_L" != no; then
11686
# Linking always hardcodes the temporary library directory.
11687
hardcode_action=relink
11689
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11690
hardcode_action=immediate
11693
# We cannot hardcode anything, or else we can only hardcode existing
11695
hardcode_action=unsupported
11697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11698
$as_echo "$hardcode_action" >&6; }
11700
if test "$hardcode_action" = relink ||
11701
test "$inherit_rpath" = yes; then
11702
# Fast installation is not supported
11703
enable_fast_install=no
11704
elif test "$shlibpath_overrides_runpath" = yes ||
11705
test "$enable_shared" = no; then
11706
# Fast installation is not necessary
11707
enable_fast_install=needless
11715
if test "x$enable_dlopen" != xyes; then
11716
enable_dlopen=unknown
11717
enable_dlopen_self=unknown
11718
enable_dlopen_self_static=unknown
11725
lt_cv_dlopen="load_add_on"
11727
lt_cv_dlopen_self=yes
11730
mingw* | pw32* | cegcc*)
11731
lt_cv_dlopen="LoadLibrary"
11736
lt_cv_dlopen="dlopen"
11741
# if libdl is installed we need to link against it
11742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11743
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11744
if ${ac_cv_lib_dl_dlopen+:} false; then :
11745
$as_echo_n "(cached) " >&6
11747
ac_check_lib_save_LIBS=$LIBS
11749
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750
/* end confdefs.h. */
11752
/* Override any GCC internal prototype to avoid an error.
11753
Use char because int might match the return type of a GCC
11754
builtin and then its argument prototype would still apply. */
11767
if ac_fn_c_try_link "$LINENO"; then :
11768
ac_cv_lib_dl_dlopen=yes
11770
ac_cv_lib_dl_dlopen=no
11772
rm -f core conftest.err conftest.$ac_objext \
11773
conftest$ac_exeext conftest.$ac_ext
11774
LIBS=$ac_check_lib_save_LIBS
11776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11777
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11778
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11779
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11782
lt_cv_dlopen="dyld"
11784
lt_cv_dlopen_self=yes
11791
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11792
if test "x$ac_cv_func_shl_load" = xyes; then :
11793
lt_cv_dlopen="shl_load"
11795
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11796
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11797
if ${ac_cv_lib_dld_shl_load+:} false; then :
11798
$as_echo_n "(cached) " >&6
11800
ac_check_lib_save_LIBS=$LIBS
11802
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11803
/* end confdefs.h. */
11805
/* Override any GCC internal prototype to avoid an error.
11806
Use char because int might match the return type of a GCC
11807
builtin and then its argument prototype would still apply. */
11815
return shl_load ();
11820
if ac_fn_c_try_link "$LINENO"; then :
11821
ac_cv_lib_dld_shl_load=yes
11823
ac_cv_lib_dld_shl_load=no
11825
rm -f core conftest.err conftest.$ac_objext \
11826
conftest$ac_exeext conftest.$ac_ext
11827
LIBS=$ac_check_lib_save_LIBS
11829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11830
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11831
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11832
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11834
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11835
if test "x$ac_cv_func_dlopen" = xyes; then :
11836
lt_cv_dlopen="dlopen"
11838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11839
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11840
if ${ac_cv_lib_dl_dlopen+:} false; then :
11841
$as_echo_n "(cached) " >&6
11843
ac_check_lib_save_LIBS=$LIBS
11845
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11846
/* end confdefs.h. */
11848
/* Override any GCC internal prototype to avoid an error.
11849
Use char because int might match the return type of a GCC
11850
builtin and then its argument prototype would still apply. */
11863
if ac_fn_c_try_link "$LINENO"; then :
11864
ac_cv_lib_dl_dlopen=yes
11866
ac_cv_lib_dl_dlopen=no
11868
rm -f core conftest.err conftest.$ac_objext \
11869
conftest$ac_exeext conftest.$ac_ext
11870
LIBS=$ac_check_lib_save_LIBS
11872
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11873
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11874
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11875
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11878
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11879
if ${ac_cv_lib_svld_dlopen+:} false; then :
11880
$as_echo_n "(cached) " >&6
11882
ac_check_lib_save_LIBS=$LIBS
11883
LIBS="-lsvld $LIBS"
11884
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885
/* end confdefs.h. */
11887
/* Override any GCC internal prototype to avoid an error.
11888
Use char because int might match the return type of a GCC
11889
builtin and then its argument prototype would still apply. */
11902
if ac_fn_c_try_link "$LINENO"; then :
11903
ac_cv_lib_svld_dlopen=yes
11905
ac_cv_lib_svld_dlopen=no
11907
rm -f core conftest.err conftest.$ac_objext \
11908
conftest$ac_exeext conftest.$ac_ext
11909
LIBS=$ac_check_lib_save_LIBS
11911
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11912
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11913
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11914
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11917
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11918
if ${ac_cv_lib_dld_dld_link+:} false; then :
11919
$as_echo_n "(cached) " >&6
11921
ac_check_lib_save_LIBS=$LIBS
11923
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11924
/* end confdefs.h. */
11926
/* Override any GCC internal prototype to avoid an error.
11927
Use char because int might match the return type of a GCC
11928
builtin and then its argument prototype would still apply. */
11936
return dld_link ();
11941
if ac_fn_c_try_link "$LINENO"; then :
11942
ac_cv_lib_dld_dld_link=yes
11944
ac_cv_lib_dld_dld_link=no
11946
rm -f core conftest.err conftest.$ac_objext \
11947
conftest$ac_exeext conftest.$ac_ext
11948
LIBS=$ac_check_lib_save_LIBS
11950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11951
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11952
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11953
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11974
if test "x$lt_cv_dlopen" != xno; then
11980
case $lt_cv_dlopen in
11982
save_CPPFLAGS="$CPPFLAGS"
11983
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11985
save_LDFLAGS="$LDFLAGS"
11986
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11989
LIBS="$lt_cv_dlopen_libs $LIBS"
11991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11992
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11993
if ${lt_cv_dlopen_self+:} false; then :
11994
$as_echo_n "(cached) " >&6
11996
if test "$cross_compiling" = yes; then :
11997
lt_cv_dlopen_self=cross
11999
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12000
lt_status=$lt_dlunknown
12001
cat > conftest.$ac_ext <<_LT_EOF
12002
#line $LINENO "configure"
12003
#include "confdefs.h"
12012
# define LT_DLGLOBAL RTLD_GLOBAL
12015
# define LT_DLGLOBAL DL_GLOBAL
12017
# define LT_DLGLOBAL 0
12021
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12022
find out it does not work in some platform. */
12023
#ifndef LT_DLLAZY_OR_NOW
12025
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12028
# define LT_DLLAZY_OR_NOW DL_LAZY
12031
# define LT_DLLAZY_OR_NOW RTLD_NOW
12034
# define LT_DLLAZY_OR_NOW DL_NOW
12036
# define LT_DLLAZY_OR_NOW 0
12043
/* When -fvisbility=hidden is used, assume the code has been annotated
12044
correspondingly for the symbols needed. */
12045
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12046
int fnord () __attribute__((visibility("default")));
12049
int fnord () { return 42; }
12052
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12053
int status = $lt_dlunknown;
12057
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12060
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12061
else puts (dlerror ());
12063
/* dlclose (self); */
12071
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12072
(eval $ac_link) 2>&5
12074
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12075
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12076
(./conftest; exit; ) >&5 2>/dev/null
12078
case x$lt_status in
12079
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12080
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12081
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12084
# compilation failed
12085
lt_cv_dlopen_self=no
12092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12093
$as_echo "$lt_cv_dlopen_self" >&6; }
12095
if test "x$lt_cv_dlopen_self" = xyes; then
12096
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12098
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12099
if ${lt_cv_dlopen_self_static+:} false; then :
12100
$as_echo_n "(cached) " >&6
12102
if test "$cross_compiling" = yes; then :
12103
lt_cv_dlopen_self_static=cross
12105
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12106
lt_status=$lt_dlunknown
12107
cat > conftest.$ac_ext <<_LT_EOF
12108
#line $LINENO "configure"
12109
#include "confdefs.h"
12118
# define LT_DLGLOBAL RTLD_GLOBAL
12121
# define LT_DLGLOBAL DL_GLOBAL
12123
# define LT_DLGLOBAL 0
12127
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12128
find out it does not work in some platform. */
12129
#ifndef LT_DLLAZY_OR_NOW
12131
# define LT_DLLAZY_OR_NOW RTLD_LAZY
12134
# define LT_DLLAZY_OR_NOW DL_LAZY
12137
# define LT_DLLAZY_OR_NOW RTLD_NOW
12140
# define LT_DLLAZY_OR_NOW DL_NOW
12142
# define LT_DLLAZY_OR_NOW 0
12149
/* When -fvisbility=hidden is used, assume the code has been annotated
12150
correspondingly for the symbols needed. */
12151
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12152
int fnord () __attribute__((visibility("default")));
12155
int fnord () { return 42; }
12158
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12159
int status = $lt_dlunknown;
12163
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12166
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12167
else puts (dlerror ());
12169
/* dlclose (self); */
12177
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12178
(eval $ac_link) 2>&5
12180
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12181
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12182
(./conftest; exit; ) >&5 2>/dev/null
12184
case x$lt_status in
12185
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12186
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12187
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12190
# compilation failed
12191
lt_cv_dlopen_self_static=no
12198
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12199
$as_echo "$lt_cv_dlopen_self_static" >&6; }
12202
CPPFLAGS="$save_CPPFLAGS"
12203
LDFLAGS="$save_LDFLAGS"
12208
case $lt_cv_dlopen_self in
12209
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12210
*) enable_dlopen_self=unknown ;;
12213
case $lt_cv_dlopen_self_static in
12214
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12215
*) enable_dlopen_self_static=unknown ;;
12237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12238
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12239
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12240
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12241
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12243
$as_echo "yes" >&6; }
12245
# FIXME - insert some real tests, host_os isn't really good enough
12248
if test -n "$STRIP" ; then
12249
striplib="$STRIP -x"
12250
old_striplib="$STRIP -S"
12251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12252
$as_echo "yes" >&6; }
12254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255
$as_echo "no" >&6; }
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12260
$as_echo "no" >&6; }
12276
# Report which library types will actually be built
12277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12278
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12280
$as_echo "$can_build_shared" >&6; }
12282
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12283
$as_echo_n "checking whether to build shared libraries... " >&6; }
12284
test "$can_build_shared" = "no" && enable_shared=no
12286
# On AIX, shared libraries and static libraries use the same namespace, and
12287
# are all built from PIC.
12290
test "$enable_shared" = yes && enable_static=no
12291
if test -n "$RANLIB"; then
12292
archive_cmds="$archive_cmds~\$RANLIB \$lib"
12293
postinstall_cmds='$RANLIB $lib'
12298
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12299
test "$enable_shared" = yes && enable_static=no
12303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12304
$as_echo "$enable_shared" >&6; }
12306
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12307
$as_echo_n "checking whether to build static libraries... " >&6; }
12308
# Make sure either enable_shared or enable_static is yes.
12309
test "$enable_shared" = yes || enable_static=yes
12310
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12311
$as_echo "$enable_static" >&6; }
12318
ac_cpp='$CPP $CPPFLAGS'
12319
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12320
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12321
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12337
ac_config_commands="$ac_config_commands libtool"
12342
# Only expand once:
12346
VALA_REQUIRED=0.11.6
12347
GSSDP_MAX_VERSION=0.12.9999
12348
GSSDP_REQUIRED=0.11.0
12349
GUPNP_MAX_VERSION=0.18.9999
12350
GUPNP_REQUIRED=0.17.1
12351
GUPNP_AV_MAX_VERSION=0.10.9999
12352
GUPNP_AV_REQUIRED=0.9.0
12353
GUPNP_DLNA_MAX_VERSION=0.6.9999
12354
GUPNP_DLNA_REQUIRED=0.5.0
12355
GUPNP_VALA_REQUIRED=0.9.0
12356
GSTREAMER_REQUIRED=0.10.23
12358
GEE_MAX_VERSION=0.6.9999
12360
UUID_REQUIRED=1.41.3
12361
LIBSOUP_MAX_VERSION=2.36.9999
12362
LIBSOUP_REQUIRED=2.34.0
12363
GTK_REQUIRED=2.90.3
12365
GSTREAMER_TAG_REQUIRED=0.10.28
12366
GSTREAMER_APP_REQUIRED=0.10.28
12367
LIBSQLITE3_REQUIRED=3.5
12376
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12377
if test -n "$ac_tool_prefix"; then
12378
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12379
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12381
$as_echo_n "checking for $ac_word... " >&6; }
12382
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12383
$as_echo_n "(cached) " >&6
12385
case $PKG_CONFIG in
12387
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12391
for as_dir in $PATH
12394
test -z "$as_dir" && as_dir=.
12395
for ac_exec_ext in '' $ac_executable_extensions; do
12396
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12397
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12398
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12408
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12409
if test -n "$PKG_CONFIG"; then
12410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12411
$as_echo "$PKG_CONFIG" >&6; }
12413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12414
$as_echo "no" >&6; }
12419
if test -z "$ac_cv_path_PKG_CONFIG"; then
12420
ac_pt_PKG_CONFIG=$PKG_CONFIG
12421
# Extract the first word of "pkg-config", so it can be a program name with args.
12422
set dummy pkg-config; ac_word=$2
12423
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12424
$as_echo_n "checking for $ac_word... " >&6; }
12425
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12426
$as_echo_n "(cached) " >&6
12428
case $ac_pt_PKG_CONFIG in
12430
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12433
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12434
for as_dir in $PATH
12437
test -z "$as_dir" && as_dir=.
12438
for ac_exec_ext in '' $ac_executable_extensions; do
12439
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12440
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12441
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12451
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12452
if test -n "$ac_pt_PKG_CONFIG"; then
12453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12454
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12457
$as_echo "no" >&6; }
12460
if test "x$ac_pt_PKG_CONFIG" = x; then
12463
case $cross_compiling:$ac_tool_warned in
12465
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12466
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12467
ac_tool_warned=yes ;;
12469
PKG_CONFIG=$ac_pt_PKG_CONFIG
12472
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12476
if test -n "$PKG_CONFIG"; then
12477
_pkg_min_version=0.9.0
12478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12479
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12480
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12482
$as_echo "yes" >&6; }
12484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485
$as_echo "no" >&6; }
12491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSSDP" >&5
12492
$as_echo_n "checking for LIBGSSDP... " >&6; }
12494
if test -n "$LIBGSSDP_CFLAGS"; then
12495
pkg_cv_LIBGSSDP_CFLAGS="$LIBGSSDP_CFLAGS"
12496
elif test -n "$PKG_CONFIG"; then
12497
if test -n "$PKG_CONFIG" && \
12498
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= \$GSSDP_REQUIRED
12499
gssdp-1.0 <= \$GSSDP_MAX_VERSION\""; } >&5
12500
($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= $GSSDP_REQUIRED
12501
gssdp-1.0 <= $GSSDP_MAX_VERSION") 2>&5
12503
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12504
test $ac_status = 0; }; then
12505
pkg_cv_LIBGSSDP_CFLAGS=`$PKG_CONFIG --cflags "gssdp-1.0 >= $GSSDP_REQUIRED
12506
gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>/dev/null`
12507
test "x$?" != "x0" && pkg_failed=yes
12514
if test -n "$LIBGSSDP_LIBS"; then
12515
pkg_cv_LIBGSSDP_LIBS="$LIBGSSDP_LIBS"
12516
elif test -n "$PKG_CONFIG"; then
12517
if test -n "$PKG_CONFIG" && \
12518
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gssdp-1.0 >= \$GSSDP_REQUIRED
12519
gssdp-1.0 <= \$GSSDP_MAX_VERSION\""; } >&5
12520
($PKG_CONFIG --exists --print-errors "gssdp-1.0 >= $GSSDP_REQUIRED
12521
gssdp-1.0 <= $GSSDP_MAX_VERSION") 2>&5
12523
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12524
test $ac_status = 0; }; then
12525
pkg_cv_LIBGSSDP_LIBS=`$PKG_CONFIG --libs "gssdp-1.0 >= $GSSDP_REQUIRED
12526
gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>/dev/null`
12527
test "x$?" != "x0" && pkg_failed=yes
12537
if test $pkg_failed = yes; then
12538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12539
$as_echo "no" >&6; }
12541
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12542
_pkg_short_errors_supported=yes
12544
_pkg_short_errors_supported=no
12546
if test $_pkg_short_errors_supported = yes; then
12547
LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gssdp-1.0 >= $GSSDP_REQUIRED
12548
gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>&1`
12550
LIBGSSDP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gssdp-1.0 >= $GSSDP_REQUIRED
12551
gssdp-1.0 <= $GSSDP_MAX_VERSION" 2>&1`
12553
# Put the nasty error message in config.log where it belongs
12554
echo "$LIBGSSDP_PKG_ERRORS" >&5
12556
as_fn_error $? "Package requirements (gssdp-1.0 >= $GSSDP_REQUIRED
12557
gssdp-1.0 <= $GSSDP_MAX_VERSION) were not met:
12559
$LIBGSSDP_PKG_ERRORS
12561
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12562
installed software in a non-standard prefix.
12564
Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12565
and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12566
See the pkg-config man page for more details." "$LINENO" 5
12567
elif test $pkg_failed = untried; then
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12569
$as_echo "no" >&6; }
12570
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12571
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12572
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12573
is in your PATH or set the PKG_CONFIG environment variable to the full
12574
path to pkg-config.
12576
Alternatively, you may set the environment variables LIBGSSDP_CFLAGS
12577
and LIBGSSDP_LIBS to avoid the need to call pkg-config.
12578
See the pkg-config man page for more details.
12580
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12581
See \`config.log' for more details" "$LINENO" 5; }
12583
LIBGSSDP_CFLAGS=$pkg_cv_LIBGSSDP_CFLAGS
12584
LIBGSSDP_LIBS=$pkg_cv_LIBGSSDP_LIBS
12585
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12586
$as_echo "yes" >&6; }
12591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP" >&5
12592
$as_echo_n "checking for LIBGUPNP... " >&6; }
12594
if test -n "$LIBGUPNP_CFLAGS"; then
12595
pkg_cv_LIBGUPNP_CFLAGS="$LIBGUPNP_CFLAGS"
12596
elif test -n "$PKG_CONFIG"; then
12597
if test -n "$PKG_CONFIG" && \
12598
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= \$GUPNP_REQUIRED
12599
gupnp-1.0 <= \$GUPNP_MAX_VERSION\""; } >&5
12600
($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= $GUPNP_REQUIRED
12601
gupnp-1.0 <= $GUPNP_MAX_VERSION") 2>&5
12603
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12604
test $ac_status = 0; }; then
12605
pkg_cv_LIBGUPNP_CFLAGS=`$PKG_CONFIG --cflags "gupnp-1.0 >= $GUPNP_REQUIRED
12606
gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>/dev/null`
12607
test "x$?" != "x0" && pkg_failed=yes
12614
if test -n "$LIBGUPNP_LIBS"; then
12615
pkg_cv_LIBGUPNP_LIBS="$LIBGUPNP_LIBS"
12616
elif test -n "$PKG_CONFIG"; then
12617
if test -n "$PKG_CONFIG" && \
12618
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-1.0 >= \$GUPNP_REQUIRED
12619
gupnp-1.0 <= \$GUPNP_MAX_VERSION\""; } >&5
12620
($PKG_CONFIG --exists --print-errors "gupnp-1.0 >= $GUPNP_REQUIRED
12621
gupnp-1.0 <= $GUPNP_MAX_VERSION") 2>&5
12623
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12624
test $ac_status = 0; }; then
12625
pkg_cv_LIBGUPNP_LIBS=`$PKG_CONFIG --libs "gupnp-1.0 >= $GUPNP_REQUIRED
12626
gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>/dev/null`
12627
test "x$?" != "x0" && pkg_failed=yes
12637
if test $pkg_failed = yes; then
12638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12639
$as_echo "no" >&6; }
12641
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12642
_pkg_short_errors_supported=yes
12644
_pkg_short_errors_supported=no
12646
if test $_pkg_short_errors_supported = yes; then
12647
LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-1.0 >= $GUPNP_REQUIRED
12648
gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>&1`
12650
LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-1.0 >= $GUPNP_REQUIRED
12651
gupnp-1.0 <= $GUPNP_MAX_VERSION" 2>&1`
12653
# Put the nasty error message in config.log where it belongs
12654
echo "$LIBGUPNP_PKG_ERRORS" >&5
12656
as_fn_error $? "Package requirements (gupnp-1.0 >= $GUPNP_REQUIRED
12657
gupnp-1.0 <= $GUPNP_MAX_VERSION) were not met:
12659
$LIBGUPNP_PKG_ERRORS
12661
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12662
installed software in a non-standard prefix.
12664
Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12665
and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12666
See the pkg-config man page for more details." "$LINENO" 5
12667
elif test $pkg_failed = untried; then
12668
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12669
$as_echo "no" >&6; }
12670
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12671
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12672
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12673
is in your PATH or set the PKG_CONFIG environment variable to the full
12674
path to pkg-config.
12676
Alternatively, you may set the environment variables LIBGUPNP_CFLAGS
12677
and LIBGUPNP_LIBS to avoid the need to call pkg-config.
12678
See the pkg-config man page for more details.
12680
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12681
See \`config.log' for more details" "$LINENO" 5; }
12683
LIBGUPNP_CFLAGS=$pkg_cv_LIBGUPNP_CFLAGS
12684
LIBGUPNP_LIBS=$pkg_cv_LIBGUPNP_LIBS
12685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12686
$as_echo "yes" >&6; }
12691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP_AV" >&5
12692
$as_echo_n "checking for LIBGUPNP_AV... " >&6; }
12694
if test -n "$LIBGUPNP_AV_CFLAGS"; then
12695
pkg_cv_LIBGUPNP_AV_CFLAGS="$LIBGUPNP_AV_CFLAGS"
12696
elif test -n "$PKG_CONFIG"; then
12697
if test -n "$PKG_CONFIG" && \
12698
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= \$GUPNP_AV_REQUIRED
12699
gupnp-av-1.0 <= \$GUPNP_AV_MAX_VERSION\""; } >&5
12700
($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12701
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION") 2>&5
12703
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12704
test $ac_status = 0; }; then
12705
pkg_cv_LIBGUPNP_AV_CFLAGS=`$PKG_CONFIG --cflags "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12706
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>/dev/null`
12707
test "x$?" != "x0" && pkg_failed=yes
12714
if test -n "$LIBGUPNP_AV_LIBS"; then
12715
pkg_cv_LIBGUPNP_AV_LIBS="$LIBGUPNP_AV_LIBS"
12716
elif test -n "$PKG_CONFIG"; then
12717
if test -n "$PKG_CONFIG" && \
12718
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-av-1.0 >= \$GUPNP_AV_REQUIRED
12719
gupnp-av-1.0 <= \$GUPNP_AV_MAX_VERSION\""; } >&5
12720
($PKG_CONFIG --exists --print-errors "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12721
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION") 2>&5
12723
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12724
test $ac_status = 0; }; then
12725
pkg_cv_LIBGUPNP_AV_LIBS=`$PKG_CONFIG --libs "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12726
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>/dev/null`
12727
test "x$?" != "x0" && pkg_failed=yes
12737
if test $pkg_failed = yes; then
12738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12739
$as_echo "no" >&6; }
12741
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12742
_pkg_short_errors_supported=yes
12744
_pkg_short_errors_supported=no
12746
if test $_pkg_short_errors_supported = yes; then
12747
LIBGUPNP_AV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12748
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>&1`
12750
LIBGUPNP_AV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12751
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION" 2>&1`
12753
# Put the nasty error message in config.log where it belongs
12754
echo "$LIBGUPNP_AV_PKG_ERRORS" >&5
12756
as_fn_error $? "Package requirements (gupnp-av-1.0 >= $GUPNP_AV_REQUIRED
12757
gupnp-av-1.0 <= $GUPNP_AV_MAX_VERSION) were not met:
12759
$LIBGUPNP_AV_PKG_ERRORS
12761
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12762
installed software in a non-standard prefix.
12764
Alternatively, you may set the environment variables LIBGUPNP_AV_CFLAGS
12765
and LIBGUPNP_AV_LIBS to avoid the need to call pkg-config.
12766
See the pkg-config man page for more details." "$LINENO" 5
12767
elif test $pkg_failed = untried; then
12768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12769
$as_echo "no" >&6; }
12770
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12771
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12772
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12773
is in your PATH or set the PKG_CONFIG environment variable to the full
12774
path to pkg-config.
12776
Alternatively, you may set the environment variables LIBGUPNP_AV_CFLAGS
12777
and LIBGUPNP_AV_LIBS to avoid the need to call pkg-config.
12778
See the pkg-config man page for more details.
12780
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12781
See \`config.log' for more details" "$LINENO" 5; }
12783
LIBGUPNP_AV_CFLAGS=$pkg_cv_LIBGUPNP_AV_CFLAGS
12784
LIBGUPNP_AV_LIBS=$pkg_cv_LIBGUPNP_AV_LIBS
12785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12786
$as_echo "yes" >&6; }
12791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGUPNP_DLNA" >&5
12792
$as_echo_n "checking for LIBGUPNP_DLNA... " >&6; }
12794
if test -n "$LIBGUPNP_DLNA_CFLAGS"; then
12795
pkg_cv_LIBGUPNP_DLNA_CFLAGS="$LIBGUPNP_DLNA_CFLAGS"
12796
elif test -n "$PKG_CONFIG"; then
12797
if test -n "$PKG_CONFIG" && \
12798
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-1.0 >= \$GUPNP_DLNA_REQUIRED
12799
gupnp-dlna-1.0 <= \$GUPNP_DLNA_MAX_VERSION\""; } >&5
12800
($PKG_CONFIG --exists --print-errors "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12801
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION") 2>&5
12803
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12804
test $ac_status = 0; }; then
12805
pkg_cv_LIBGUPNP_DLNA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12806
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>/dev/null`
12807
test "x$?" != "x0" && pkg_failed=yes
12814
if test -n "$LIBGUPNP_DLNA_LIBS"; then
12815
pkg_cv_LIBGUPNP_DLNA_LIBS="$LIBGUPNP_DLNA_LIBS"
12816
elif test -n "$PKG_CONFIG"; then
12817
if test -n "$PKG_CONFIG" && \
12818
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-dlna-1.0 >= \$GUPNP_DLNA_REQUIRED
12819
gupnp-dlna-1.0 <= \$GUPNP_DLNA_MAX_VERSION\""; } >&5
12820
($PKG_CONFIG --exists --print-errors "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12821
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION") 2>&5
12823
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12824
test $ac_status = 0; }; then
12825
pkg_cv_LIBGUPNP_DLNA_LIBS=`$PKG_CONFIG --libs "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12826
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>/dev/null`
12827
test "x$?" != "x0" && pkg_failed=yes
12837
if test $pkg_failed = yes; then
12838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12839
$as_echo "no" >&6; }
12841
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12842
_pkg_short_errors_supported=yes
12844
_pkg_short_errors_supported=no
12846
if test $_pkg_short_errors_supported = yes; then
12847
LIBGUPNP_DLNA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12848
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>&1`
12850
LIBGUPNP_DLNA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12851
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION" 2>&1`
12853
# Put the nasty error message in config.log where it belongs
12854
echo "$LIBGUPNP_DLNA_PKG_ERRORS" >&5
12856
as_fn_error $? "Package requirements (gupnp-dlna-1.0 >= $GUPNP_DLNA_REQUIRED
12857
gupnp-dlna-1.0 <= $GUPNP_DLNA_MAX_VERSION) were not met:
12859
$LIBGUPNP_DLNA_PKG_ERRORS
12861
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12862
installed software in a non-standard prefix.
12864
Alternatively, you may set the environment variables LIBGUPNP_DLNA_CFLAGS
12865
and LIBGUPNP_DLNA_LIBS to avoid the need to call pkg-config.
12866
See the pkg-config man page for more details." "$LINENO" 5
12867
elif test $pkg_failed = untried; then
12868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12869
$as_echo "no" >&6; }
12870
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12871
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12872
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12873
is in your PATH or set the PKG_CONFIG environment variable to the full
12874
path to pkg-config.
12876
Alternatively, you may set the environment variables LIBGUPNP_DLNA_CFLAGS
12877
and LIBGUPNP_DLNA_LIBS to avoid the need to call pkg-config.
12878
See the pkg-config man page for more details.
12880
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12881
See \`config.log' for more details" "$LINENO" 5; }
12883
LIBGUPNP_DLNA_CFLAGS=$pkg_cv_LIBGUPNP_DLNA_CFLAGS
12884
LIBGUPNP_DLNA_LIBS=$pkg_cv_LIBGUPNP_DLNA_LIBS
12885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12886
$as_echo "yes" >&6; }
12891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGSTREAMER" >&5
12892
$as_echo_n "checking for LIBGSTREAMER... " >&6; }
12894
if test -n "$LIBGSTREAMER_CFLAGS"; then
12895
pkg_cv_LIBGSTREAMER_CFLAGS="$LIBGSTREAMER_CFLAGS"
12896
elif test -n "$PKG_CONFIG"; then
12897
if test -n "$PKG_CONFIG" && \
12898
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
12899
($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= $GSTREAMER_REQUIRED") 2>&5
12901
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12902
test $ac_status = 0; }; then
12903
pkg_cv_LIBGSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
12904
test "x$?" != "x0" && pkg_failed=yes
12911
if test -n "$LIBGSTREAMER_LIBS"; then
12912
pkg_cv_LIBGSTREAMER_LIBS="$LIBGSTREAMER_LIBS"
12913
elif test -n "$PKG_CONFIG"; then
12914
if test -n "$PKG_CONFIG" && \
12915
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
12916
($PKG_CONFIG --exists --print-errors "gstreamer-0.10 >= $GSTREAMER_REQUIRED") 2>&5
12918
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12919
test $ac_status = 0; }; then
12920
pkg_cv_LIBGSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
12921
test "x$?" != "x0" && pkg_failed=yes
12931
if test $pkg_failed = yes; then
12932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12933
$as_echo "no" >&6; }
12935
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12936
_pkg_short_errors_supported=yes
12938
_pkg_short_errors_supported=no
12940
if test $_pkg_short_errors_supported = yes; then
12941
LIBGSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
12943
LIBGSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
12945
# Put the nasty error message in config.log where it belongs
12946
echo "$LIBGSTREAMER_PKG_ERRORS" >&5
12948
as_fn_error $? "Package requirements (gstreamer-0.10 >= $GSTREAMER_REQUIRED) were not met:
12950
$LIBGSTREAMER_PKG_ERRORS
12952
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12953
installed software in a non-standard prefix.
12955
Alternatively, you may set the environment variables LIBGSTREAMER_CFLAGS
12956
and LIBGSTREAMER_LIBS to avoid the need to call pkg-config.
12957
See the pkg-config man page for more details." "$LINENO" 5
12958
elif test $pkg_failed = untried; then
12959
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12960
$as_echo "no" >&6; }
12961
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12962
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12963
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12964
is in your PATH or set the PKG_CONFIG environment variable to the full
12965
path to pkg-config.
12967
Alternatively, you may set the environment variables LIBGSTREAMER_CFLAGS
12968
and LIBGSTREAMER_LIBS to avoid the need to call pkg-config.
12969
See the pkg-config man page for more details.
12971
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12972
See \`config.log' for more details" "$LINENO" 5; }
12974
LIBGSTREAMER_CFLAGS=$pkg_cv_LIBGSTREAMER_CFLAGS
12975
LIBGSTREAMER_LIBS=$pkg_cv_LIBGSTREAMER_LIBS
12976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12977
$as_echo "yes" >&6; }
12982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_BASE" >&5
12983
$as_echo_n "checking for GSTREAMER_BASE... " >&6; }
12985
if test -n "$GSTREAMER_BASE_CFLAGS"; then
12986
pkg_cv_GSTREAMER_BASE_CFLAGS="$GSTREAMER_BASE_CFLAGS"
12987
elif test -n "$PKG_CONFIG"; then
12988
if test -n "$PKG_CONFIG" && \
12989
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
12990
($PKG_CONFIG --exists --print-errors "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED") 2>&5
12992
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12993
test $ac_status = 0; }; then
12994
pkg_cv_GSTREAMER_BASE_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
12995
test "x$?" != "x0" && pkg_failed=yes
13002
if test -n "$GSTREAMER_BASE_LIBS"; then
13003
pkg_cv_GSTREAMER_BASE_LIBS="$GSTREAMER_BASE_LIBS"
13004
elif test -n "$PKG_CONFIG"; then
13005
if test -n "$PKG_CONFIG" && \
13006
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-base-0.10 >= \$GSTREAMER_REQUIRED\""; } >&5
13007
($PKG_CONFIG --exists --print-errors "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED") 2>&5
13009
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13010
test $ac_status = 0; }; then
13011
pkg_cv_GSTREAMER_BASE_LIBS=`$PKG_CONFIG --libs "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>/dev/null`
13012
test "x$?" != "x0" && pkg_failed=yes
13022
if test $pkg_failed = yes; then
13023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13024
$as_echo "no" >&6; }
13026
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13027
_pkg_short_errors_supported=yes
13029
_pkg_short_errors_supported=no
13031
if test $_pkg_short_errors_supported = yes; then
13032
GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
13034
GSTREAMER_BASE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-base-0.10 >= $GSTREAMER_REQUIRED" 2>&1`
13036
# Put the nasty error message in config.log where it belongs
13037
echo "$GSTREAMER_BASE_PKG_ERRORS" >&5
13039
as_fn_error $? "Package requirements (gstreamer-base-0.10 >= $GSTREAMER_REQUIRED) were not met:
13041
$GSTREAMER_BASE_PKG_ERRORS
13043
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13044
installed software in a non-standard prefix.
13046
Alternatively, you may set the environment variables GSTREAMER_BASE_CFLAGS
13047
and GSTREAMER_BASE_LIBS to avoid the need to call pkg-config.
13048
See the pkg-config man page for more details." "$LINENO" 5
13049
elif test $pkg_failed = untried; then
13050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13051
$as_echo "no" >&6; }
13052
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13053
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13054
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13055
is in your PATH or set the PKG_CONFIG environment variable to the full
13056
path to pkg-config.
13058
Alternatively, you may set the environment variables GSTREAMER_BASE_CFLAGS
13059
and GSTREAMER_BASE_LIBS to avoid the need to call pkg-config.
13060
See the pkg-config man page for more details.
13062
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13063
See \`config.log' for more details" "$LINENO" 5; }
13065
GSTREAMER_BASE_CFLAGS=$pkg_cv_GSTREAMER_BASE_CFLAGS
13066
GSTREAMER_BASE_LIBS=$pkg_cv_GSTREAMER_BASE_LIBS
13067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13068
$as_echo "yes" >&6; }
13073
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBGIO" >&5
13074
$as_echo_n "checking for LIBGIO... " >&6; }
13076
if test -n "$LIBGIO_CFLAGS"; then
13077
pkg_cv_LIBGIO_CFLAGS="$LIBGIO_CFLAGS"
13078
elif test -n "$PKG_CONFIG"; then
13079
if test -n "$PKG_CONFIG" && \
13080
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_REQUIRED\""; } >&5
13081
($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_REQUIRED") 2>&5
13083
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13084
test $ac_status = 0; }; then
13085
pkg_cv_LIBGIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= $GIO_REQUIRED" 2>/dev/null`
13086
test "x$?" != "x0" && pkg_failed=yes
13093
if test -n "$LIBGIO_LIBS"; then
13094
pkg_cv_LIBGIO_LIBS="$LIBGIO_LIBS"
13095
elif test -n "$PKG_CONFIG"; then
13096
if test -n "$PKG_CONFIG" && \
13097
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= \$GIO_REQUIRED\""; } >&5
13098
($PKG_CONFIG --exists --print-errors "gio-2.0 >= $GIO_REQUIRED") 2>&5
13100
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13101
test $ac_status = 0; }; then
13102
pkg_cv_LIBGIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= $GIO_REQUIRED" 2>/dev/null`
13103
test "x$?" != "x0" && pkg_failed=yes
13113
if test $pkg_failed = yes; then
13114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13115
$as_echo "no" >&6; }
13117
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13118
_pkg_short_errors_supported=yes
13120
_pkg_short_errors_supported=no
13122
if test $_pkg_short_errors_supported = yes; then
13123
LIBGIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= $GIO_REQUIRED" 2>&1`
13125
LIBGIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= $GIO_REQUIRED" 2>&1`
13127
# Put the nasty error message in config.log where it belongs
13128
echo "$LIBGIO_PKG_ERRORS" >&5
13130
as_fn_error $? "Package requirements (gio-2.0 >= $GIO_REQUIRED) were not met:
13134
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13135
installed software in a non-standard prefix.
13137
Alternatively, you may set the environment variables LIBGIO_CFLAGS
13138
and LIBGIO_LIBS to avoid the need to call pkg-config.
13139
See the pkg-config man page for more details." "$LINENO" 5
13140
elif test $pkg_failed = untried; then
13141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13142
$as_echo "no" >&6; }
13143
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13144
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13145
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13146
is in your PATH or set the PKG_CONFIG environment variable to the full
13147
path to pkg-config.
13149
Alternatively, you may set the environment variables LIBGIO_CFLAGS
13150
and LIBGIO_LIBS to avoid the need to call pkg-config.
13151
See the pkg-config man page for more details.
13153
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13154
See \`config.log' for more details" "$LINENO" 5; }
13156
LIBGIO_CFLAGS=$pkg_cv_LIBGIO_CFLAGS
13157
LIBGIO_LIBS=$pkg_cv_LIBGIO_LIBS
13158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13159
$as_echo "yes" >&6; }
13164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GEE" >&5
13165
$as_echo_n "checking for GEE... " >&6; }
13167
if test -n "$GEE_CFLAGS"; then
13168
pkg_cv_GEE_CFLAGS="$GEE_CFLAGS"
13169
elif test -n "$PKG_CONFIG"; then
13170
if test -n "$PKG_CONFIG" && \
13171
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= \$GEE_REQUIRED\""; } >&5
13172
($PKG_CONFIG --exists --print-errors "gee-1.0 >= $GEE_REQUIRED") 2>&5
13174
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13175
test $ac_status = 0; }; then
13176
pkg_cv_GEE_CFLAGS=`$PKG_CONFIG --cflags "gee-1.0 >= $GEE_REQUIRED" 2>/dev/null`
13177
test "x$?" != "x0" && pkg_failed=yes
13184
if test -n "$GEE_LIBS"; then
13185
pkg_cv_GEE_LIBS="$GEE_LIBS"
13186
elif test -n "$PKG_CONFIG"; then
13187
if test -n "$PKG_CONFIG" && \
13188
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gee-1.0 >= \$GEE_REQUIRED\""; } >&5
13189
($PKG_CONFIG --exists --print-errors "gee-1.0 >= $GEE_REQUIRED") 2>&5
13191
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13192
test $ac_status = 0; }; then
13193
pkg_cv_GEE_LIBS=`$PKG_CONFIG --libs "gee-1.0 >= $GEE_REQUIRED" 2>/dev/null`
13194
test "x$?" != "x0" && pkg_failed=yes
13204
if test $pkg_failed = yes; then
13205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13206
$as_echo "no" >&6; }
13208
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13209
_pkg_short_errors_supported=yes
13211
_pkg_short_errors_supported=no
13213
if test $_pkg_short_errors_supported = yes; then
13214
GEE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gee-1.0 >= $GEE_REQUIRED" 2>&1`
13216
GEE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gee-1.0 >= $GEE_REQUIRED" 2>&1`
13218
# Put the nasty error message in config.log where it belongs
13219
echo "$GEE_PKG_ERRORS" >&5
13221
as_fn_error $? "Package requirements (gee-1.0 >= $GEE_REQUIRED) were not met:
13225
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13226
installed software in a non-standard prefix.
13228
Alternatively, you may set the environment variables GEE_CFLAGS
13229
and GEE_LIBS to avoid the need to call pkg-config.
13230
See the pkg-config man page for more details." "$LINENO" 5
13231
elif test $pkg_failed = untried; then
13232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13233
$as_echo "no" >&6; }
13234
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13235
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13236
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13237
is in your PATH or set the PKG_CONFIG environment variable to the full
13238
path to pkg-config.
13240
Alternatively, you may set the environment variables GEE_CFLAGS
13241
and GEE_LIBS to avoid the need to call pkg-config.
13242
See the pkg-config man page for more details.
13244
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13245
See \`config.log' for more details" "$LINENO" 5; }
13247
GEE_CFLAGS=$pkg_cv_GEE_CFLAGS
13248
GEE_LIBS=$pkg_cv_GEE_LIBS
13249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13250
$as_echo "yes" >&6; }
13255
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UUID" >&5
13256
$as_echo_n "checking for UUID... " >&6; }
13258
if test -n "$UUID_CFLAGS"; then
13259
pkg_cv_UUID_CFLAGS="$UUID_CFLAGS"
13260
elif test -n "$PKG_CONFIG"; then
13261
if test -n "$PKG_CONFIG" && \
13262
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \$UUID_REQUIRED\""; } >&5
13263
($PKG_CONFIG --exists --print-errors "uuid >= $UUID_REQUIRED") 2>&5
13265
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13266
test $ac_status = 0; }; then
13267
pkg_cv_UUID_CFLAGS=`$PKG_CONFIG --cflags "uuid >= $UUID_REQUIRED" 2>/dev/null`
13268
test "x$?" != "x0" && pkg_failed=yes
13275
if test -n "$UUID_LIBS"; then
13276
pkg_cv_UUID_LIBS="$UUID_LIBS"
13277
elif test -n "$PKG_CONFIG"; then
13278
if test -n "$PKG_CONFIG" && \
13279
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"uuid >= \$UUID_REQUIRED\""; } >&5
13280
($PKG_CONFIG --exists --print-errors "uuid >= $UUID_REQUIRED") 2>&5
13282
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13283
test $ac_status = 0; }; then
13284
pkg_cv_UUID_LIBS=`$PKG_CONFIG --libs "uuid >= $UUID_REQUIRED" 2>/dev/null`
13285
test "x$?" != "x0" && pkg_failed=yes
13295
if test $pkg_failed = yes; then
13296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13297
$as_echo "no" >&6; }
13299
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13300
_pkg_short_errors_supported=yes
13302
_pkg_short_errors_supported=no
13304
if test $_pkg_short_errors_supported = yes; then
13305
UUID_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "uuid >= $UUID_REQUIRED" 2>&1`
13307
UUID_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "uuid >= $UUID_REQUIRED" 2>&1`
13309
# Put the nasty error message in config.log where it belongs
13310
echo "$UUID_PKG_ERRORS" >&5
13312
as_fn_error $? "Package requirements (uuid >= $UUID_REQUIRED) were not met:
13316
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13317
installed software in a non-standard prefix.
13319
Alternatively, you may set the environment variables UUID_CFLAGS
13320
and UUID_LIBS to avoid the need to call pkg-config.
13321
See the pkg-config man page for more details." "$LINENO" 5
13322
elif test $pkg_failed = untried; then
13323
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13324
$as_echo "no" >&6; }
13325
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13326
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13327
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13328
is in your PATH or set the PKG_CONFIG environment variable to the full
13329
path to pkg-config.
13331
Alternatively, you may set the environment variables UUID_CFLAGS
13332
and UUID_LIBS to avoid the need to call pkg-config.
13333
See the pkg-config man page for more details.
13335
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13336
See \`config.log' for more details" "$LINENO" 5; }
13338
UUID_CFLAGS=$pkg_cv_UUID_CFLAGS
13339
UUID_LIBS=$pkg_cv_UUID_LIBS
13340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13341
$as_echo "yes" >&6; }
13346
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSOUP" >&5
13347
$as_echo_n "checking for LIBSOUP... " >&6; }
13349
if test -n "$LIBSOUP_CFLAGS"; then
13350
pkg_cv_LIBSOUP_CFLAGS="$LIBSOUP_CFLAGS"
13351
elif test -n "$PKG_CONFIG"; then
13352
if test -n "$PKG_CONFIG" && \
13353
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED
13354
libsoup-2.4 <= \$LIBSOUP_MAX_VERSION\""; } >&5
13355
($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED
13356
libsoup-2.4 <= $LIBSOUP_MAX_VERSION") 2>&5
13358
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13359
test $ac_status = 0; }; then
13360
pkg_cv_LIBSOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= $LIBSOUP_REQUIRED
13361
libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>/dev/null`
13362
test "x$?" != "x0" && pkg_failed=yes
13369
if test -n "$LIBSOUP_LIBS"; then
13370
pkg_cv_LIBSOUP_LIBS="$LIBSOUP_LIBS"
13371
elif test -n "$PKG_CONFIG"; then
13372
if test -n "$PKG_CONFIG" && \
13373
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= \$LIBSOUP_REQUIRED
13374
libsoup-2.4 <= \$LIBSOUP_MAX_VERSION\""; } >&5
13375
($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= $LIBSOUP_REQUIRED
13376
libsoup-2.4 <= $LIBSOUP_MAX_VERSION") 2>&5
13378
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13379
test $ac_status = 0; }; then
13380
pkg_cv_LIBSOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED
13381
libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>/dev/null`
13382
test "x$?" != "x0" && pkg_failed=yes
13392
if test $pkg_failed = yes; then
13393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13394
$as_echo "no" >&6; }
13396
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13397
_pkg_short_errors_supported=yes
13399
_pkg_short_errors_supported=no
13401
if test $_pkg_short_errors_supported = yes; then
13402
LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED
13403
libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>&1`
13405
LIBSOUP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsoup-2.4 >= $LIBSOUP_REQUIRED
13406
libsoup-2.4 <= $LIBSOUP_MAX_VERSION" 2>&1`
13408
# Put the nasty error message in config.log where it belongs
13409
echo "$LIBSOUP_PKG_ERRORS" >&5
13411
as_fn_error $? "Package requirements (libsoup-2.4 >= $LIBSOUP_REQUIRED
13412
libsoup-2.4 <= $LIBSOUP_MAX_VERSION) were not met:
13414
$LIBSOUP_PKG_ERRORS
13416
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13417
installed software in a non-standard prefix.
13419
Alternatively, you may set the environment variables LIBSOUP_CFLAGS
13420
and LIBSOUP_LIBS to avoid the need to call pkg-config.
13421
See the pkg-config man page for more details." "$LINENO" 5
13422
elif test $pkg_failed = untried; then
13423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13424
$as_echo "no" >&6; }
13425
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13426
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13427
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13428
is in your PATH or set the PKG_CONFIG environment variable to the full
13429
path to pkg-config.
13431
Alternatively, you may set the environment variables LIBSOUP_CFLAGS
13432
and LIBSOUP_LIBS to avoid the need to call pkg-config.
13433
See the pkg-config man page for more details.
13435
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13436
See \`config.log' for more details" "$LINENO" 5; }
13438
LIBSOUP_CFLAGS=$pkg_cv_LIBSOUP_CFLAGS
13439
LIBSOUP_LIBS=$pkg_cv_LIBSOUP_LIBS
13440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13441
$as_echo "yes" >&6; }
13445
GLIB_GENMARSHAL=`pkg-config --variable=glib_genmarshal glib-2.0`
13450
# Check whether --enable-test-plugin was given.
13451
if test "${enable_test_plugin+set}" = set; then :
13452
enableval=$enable_test_plugin;
13454
enable_test_plugin=no
13457
ac_config_files="$ac_config_files src/plugins/test/Makefile"
13459
if test "x$enable_test_plugin" = "xyes"; then
13460
BUILD_TEST_PLUGIN_TRUE=
13461
BUILD_TEST_PLUGIN_FALSE='#'
13463
BUILD_TEST_PLUGIN_TRUE='#'
13464
BUILD_TEST_PLUGIN_FALSE=
13468
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/test/librygel_test_la_vala.stamp"
13474
# Check whether --enable-tracker-plugin was given.
13475
if test "${enable_tracker_plugin+set}" = set; then :
13476
enableval=$enable_tracker_plugin;
13478
enable_tracker_plugin=yes
13481
ac_config_files="$ac_config_files src/plugins/tracker/Makefile"
13483
if test "x$enable_tracker_plugin" = "xyes"; then
13484
BUILD_TRACKER_PLUGIN_TRUE=
13485
BUILD_TRACKER_PLUGIN_FALSE='#'
13487
BUILD_TRACKER_PLUGIN_TRUE='#'
13488
BUILD_TRACKER_PLUGIN_FALSE=
13492
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/tracker/librygel_tracker_la_vala.stamp"
13498
# Check whether --enable-external-plugin was given.
13499
if test "${enable_external_plugin+set}" = set; then :
13500
enableval=$enable_external_plugin;
13502
enable_external_plugin=yes
13505
ac_config_files="$ac_config_files src/plugins/external/Makefile"
13507
if test "x$enable_external_plugin" = "xyes"; then
13508
BUILD_EXTERNAL_PLUGIN_TRUE=
13509
BUILD_EXTERNAL_PLUGIN_FALSE='#'
13511
BUILD_EXTERNAL_PLUGIN_TRUE='#'
13512
BUILD_EXTERNAL_PLUGIN_FALSE=
13516
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/external/librygel_external_la_vala.stamp"
13522
# Check whether --enable-mpris-plugin was given.
13523
if test "${enable_mpris_plugin+set}" = set; then :
13524
enableval=$enable_mpris_plugin;
13526
enable_mpris_plugin=yes
13529
ac_config_files="$ac_config_files src/plugins/mpris/Makefile"
13531
if test "x$enable_mpris_plugin" = "xyes"; then
13532
BUILD_MPRIS_PLUGIN_TRUE=
13533
BUILD_MPRIS_PLUGIN_FALSE='#'
13535
BUILD_MPRIS_PLUGIN_TRUE='#'
13536
BUILD_MPRIS_PLUGIN_FALSE=
13540
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/mpris/librygel_mpris_la_vala.stamp"
13546
# Check whether --enable-playbin-plugin was given.
13547
if test "${enable_playbin_plugin+set}" = set; then :
13548
enableval=$enable_playbin_plugin;
13550
enable_playbin_plugin=yes
13553
ac_config_files="$ac_config_files src/plugins/playbin/Makefile"
13555
if test "x$enable_playbin_plugin" = "xyes"; then
13556
BUILD_PLAYBIN_PLUGIN_TRUE=
13557
BUILD_PLAYBIN_PLUGIN_FALSE='#'
13559
BUILD_PLAYBIN_PLUGIN_TRUE='#'
13560
BUILD_PLAYBIN_PLUGIN_FALSE=
13564
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/playbin/librygel_playbin_la_vala.stamp"
13570
# Check whether --enable-mediathek-plugin was given.
13571
if test "${enable_mediathek_plugin+set}" = set; then :
13572
enableval=$enable_mediathek_plugin;
13574
enable_mediathek_plugin=no
13577
ac_config_files="$ac_config_files src/plugins/mediathek/Makefile"
13579
if test "x$enable_mediathek_plugin" = "xyes"; then
13580
BUILD_MEDIATHEK_PLUGIN_TRUE=
13581
BUILD_MEDIATHEK_PLUGIN_FALSE='#'
13583
BUILD_MEDIATHEK_PLUGIN_TRUE='#'
13584
BUILD_MEDIATHEK_PLUGIN_FALSE=
13588
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/mediathek/librygel_mediathek_la_vala.stamp"
13594
# Check whether --enable-media-export-plugin was given.
13595
if test "${enable_media_export_plugin+set}" = set; then :
13596
enableval=$enable_media_export_plugin;
13598
enable_media_export_plugin=yes
13601
ac_config_files="$ac_config_files src/plugins/media-export/Makefile"
13603
if test "x$enable_media_export_plugin" = "xyes"; then
13604
BUILD_MEDIA_EXPORT_PLUGIN_TRUE=
13605
BUILD_MEDIA_EXPORT_PLUGIN_FALSE='#'
13607
BUILD_MEDIA_EXPORT_PLUGIN_TRUE='#'
13608
BUILD_MEDIA_EXPORT_PLUGIN_FALSE=
13612
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/media-export/librygel_media_export_la_vala.stamp"
13618
# Check whether --enable-gst-launch-plugin was given.
13619
if test "${enable_gst_launch_plugin+set}" = set; then :
13620
enableval=$enable_gst_launch_plugin;
13622
enable_gst_launch_plugin=no
13625
ac_config_files="$ac_config_files src/plugins/gst-launch/Makefile"
13627
if test "x$enable_gst_launch_plugin" = "xyes"; then
13628
BUILD_GST_LAUNCH_PLUGIN_TRUE=
13629
BUILD_GST_LAUNCH_PLUGIN_FALSE='#'
13631
BUILD_GST_LAUNCH_PLUGIN_TRUE='#'
13632
BUILD_GST_LAUNCH_PLUGIN_FALSE=
13636
rygel_stamp_files="$rygel_stamp_files $srcdir/src/plugins/gst-launch/librygel_gst_launch_la_vala.stamp"
13642
rygel_stamp_files="$rygel_stamp_files $srcdir/src/rygel/rygel_vala.stamp"
13645
rygel_stamp_files="$rygel_stamp_files $srcdir/src/ui/rygel_preferences_vala.stamp"
13649
# Check whether --enable-vala was given.
13650
if test "${enable_vala+set}" = set; then :
13651
enableval=$enable_vala;
13656
# Check whether --enable-strict-valac was given.
13657
if test "${enable_strict_valac+set}" = set; then :
13658
enableval=$enable_strict_valac;
13660
enable_strict_valac=no
13663
if test "x$enable_strict_valac" = "xyes"; then :
13665
VALAFLAGS="${VALAFLAGS:+$VALAFLAGS }--fatal-warnings"
13670
for stamp in $rygel_stamp_files
13672
if test ! -e "$stamp"; then :
13673
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing stamp file $stamp. Forcing vala mode" >&5
13674
$as_echo "$as_me: WARNING: Missing stamp file $stamp. Forcing vala mode" >&2;}
13680
if test x$enable_vala = xyes; then :
13681
# Extract the first word of "valac", so it can be a program name with args.
13682
set dummy valac; ac_word=$2
13683
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13684
$as_echo_n "checking for $ac_word... " >&6; }
13685
if ${ac_cv_path_VALAC+:} false; then :
13686
$as_echo_n "(cached) " >&6
13690
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
13693
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13694
for as_dir in $PATH
13697
test -z "$as_dir" && as_dir=.
13698
for ac_exec_ext in '' $ac_executable_extensions; do
13699
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13700
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
13701
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13711
VALAC=$ac_cv_path_VALAC
13712
if test -n "$VALAC"; then
13713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
13714
$as_echo "$VALAC" >&6; }
13716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13717
$as_echo "no" >&6; }
13721
if test -z "$VALAC"; then :
13722
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
13723
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
13725
if test -n "$VALA_REQUIRED"; then :
13726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version $VALA_REQUIRED" >&5
13727
$as_echo_n "checking $VALAC is at least version $VALA_REQUIRED... " >&6; }
13728
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
13729
as_arg_v1=$VALA_REQUIRED
13730
as_arg_v2="$am__vala_version"
13731
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
13734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13735
$as_echo "yes" >&6; } ;; #(
13737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13738
$as_echo "yes" >&6; } ;; #(
13740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13741
$as_echo "no" >&6; }
13742
as_fn_error $? "Vala $VALA_REQUIRED not found." "$LINENO" 5 ;; #(
13750
if test x$VALAC = "x"; then :
13751
as_fn_error $? "Cannot find the \"valac\" compiler in your PATH" "$LINENO" 5
13756
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GUPNP_VALA" >&5
13757
$as_echo_n "checking for GUPNP_VALA... " >&6; }
13759
if test -n "$GUPNP_VALA_CFLAGS"; then
13760
pkg_cv_GUPNP_VALA_CFLAGS="$GUPNP_VALA_CFLAGS"
13761
elif test -n "$PKG_CONFIG"; then
13762
if test -n "$PKG_CONFIG" && \
13763
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-vala-1.0 >= \$GUPNP_VALA_REQUIRED\""; } >&5
13764
($PKG_CONFIG --exists --print-errors "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED") 2>&5
13766
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13767
test $ac_status = 0; }; then
13768
pkg_cv_GUPNP_VALA_CFLAGS=`$PKG_CONFIG --cflags "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>/dev/null`
13769
test "x$?" != "x0" && pkg_failed=yes
13776
if test -n "$GUPNP_VALA_LIBS"; then
13777
pkg_cv_GUPNP_VALA_LIBS="$GUPNP_VALA_LIBS"
13778
elif test -n "$PKG_CONFIG"; then
13779
if test -n "$PKG_CONFIG" && \
13780
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gupnp-vala-1.0 >= \$GUPNP_VALA_REQUIRED\""; } >&5
13781
($PKG_CONFIG --exists --print-errors "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED") 2>&5
13783
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13784
test $ac_status = 0; }; then
13785
pkg_cv_GUPNP_VALA_LIBS=`$PKG_CONFIG --libs "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>/dev/null`
13786
test "x$?" != "x0" && pkg_failed=yes
13796
if test $pkg_failed = yes; then
13797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13798
$as_echo "no" >&6; }
13800
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13801
_pkg_short_errors_supported=yes
13803
_pkg_short_errors_supported=no
13805
if test $_pkg_short_errors_supported = yes; then
13806
GUPNP_VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>&1`
13808
GUPNP_VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED" 2>&1`
13810
# Put the nasty error message in config.log where it belongs
13811
echo "$GUPNP_VALA_PKG_ERRORS" >&5
13813
as_fn_error $? "Package requirements (gupnp-vala-1.0 >= $GUPNP_VALA_REQUIRED) were not met:
13815
$GUPNP_VALA_PKG_ERRORS
13817
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13818
installed software in a non-standard prefix.
13820
Alternatively, you may set the environment variables GUPNP_VALA_CFLAGS
13821
and GUPNP_VALA_LIBS to avoid the need to call pkg-config.
13822
See the pkg-config man page for more details." "$LINENO" 5
13823
elif test $pkg_failed = untried; then
13824
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13825
$as_echo "no" >&6; }
13826
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13827
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13828
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13829
is in your PATH or set the PKG_CONFIG environment variable to the full
13830
path to pkg-config.
13832
Alternatively, you may set the environment variables GUPNP_VALA_CFLAGS
13833
and GUPNP_VALA_LIBS to avoid the need to call pkg-config.
13834
See the pkg-config man page for more details.
13836
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13837
See \`config.log' for more details" "$LINENO" 5; }
13839
GUPNP_VALA_CFLAGS=$pkg_cv_GUPNP_VALA_CFLAGS
13840
GUPNP_VALA_LIBS=$pkg_cv_GUPNP_VALA_LIBS
13841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13842
$as_echo "yes" >&6; }
13848
unset vala_bindings
13849
ac_save_ifs="$IFS"; unset IFS
13850
for vala_pkg in $(echo "gupnp-1.0
13854
gstreamer-pbutils-0.10
13858
vala_pkgs="${vala_pkgs:+$vala_pkgs }--pkg $vala_pkg"
13859
vala_bindings="${vala_bindings:+$vala_bindings }$vala_pkg"
13862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_bindings vala bindings" >&5
13863
$as_echo_n "checking for $vala_bindings vala bindings... " >&6; }
13865
cat <<_ACEOF >conftest.vala
13869
if vala_error=`$VALAC $vala_pkgs -q -o conftest$ac_exeext conftest.vala 2>&1`; then :
13870
vala_pkg_exists=yes
13876
if test x${vala_pkg_exists} = xno; then :
13878
as_fn_error $? "Package requirements were not met: gupnp-1.0
13882
gstreamer-pbutils-0.10
13889
Consider adjusting the XDG_DATA_DIRS environment variable if you
13890
installed bindings in a non-standard prefix.
13894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13895
$as_echo "yes" >&6; }
13905
VAPIDIR="${datadir}/vala/vapi"
13909
# Check whether --enable-debug was given.
13910
if test "${enable_debug+set}" = set; then :
13911
enableval=$enable_debug;
13916
if test "x$enable_debug" = "xyes"; then
13917
CFLAGS="$CFLAGS -O0 -g"
13918
RYGEL_DEBUG_VALAFLAGS="-g"
13923
# Check whether --enable-strict-cc was given.
13924
if test "${enable_strict_cc+set}" = set; then :
13925
enableval=$enable_strict_cc;
13927
enable_strict_cc=no
13930
if test "x$enable_strict_cc" = "xyes"; then
13931
CFLAGS="$CFLAGS -Wall -Werror"
13933
CFLAGS="$CFLAGS -w"
13936
# Check whether --enable-uninstalled was given.
13937
if test "${enable_uninstalled+set}" = set; then :
13938
enableval=$enable_uninstalled;
13940
enable_uninstalled=no
13943
if test "x$enable_uninstalled" = "xyes"; then
13944
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"You want to run the tools uninstalled only? Fine!\"" >&5
13945
$as_echo "$as_me: WARNING: \"You want to run the tools uninstalled only? Fine!\"" >&2;}
13947
if test "x$enable_uninstalled" = "xyes"; then
13949
UNINSTALLED_FALSE='#'
13951
UNINSTALLED_TRUE='#'
13957
# Check whether --with-ui was given.
13958
if test "${with_ui+set}" = set; then :
13959
withval=$with_ui; try_ui=$withval
13966
if test x$try_ui = xyes ; then
13969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13970
$as_echo_n "checking for GTK... " >&6; }
13972
if test -n "$GTK_CFLAGS"; then
13973
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13974
elif test -n "$PKG_CONFIG"; then
13975
if test -n "$PKG_CONFIG" && \
13976
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
13977
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
13979
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13980
test $ac_status = 0; }; then
13981
pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
13982
test "x$?" != "x0" && pkg_failed=yes
13989
if test -n "$GTK_LIBS"; then
13990
pkg_cv_GTK_LIBS="$GTK_LIBS"
13991
elif test -n "$PKG_CONFIG"; then
13992
if test -n "$PKG_CONFIG" && \
13993
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
13994
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
13996
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13997
test $ac_status = 0; }; then
13998
pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
13999
test "x$?" != "x0" && pkg_failed=yes
14009
if test $pkg_failed = yes; then
14010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14011
$as_echo "no" >&6; }
14013
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14014
_pkg_short_errors_supported=yes
14016
_pkg_short_errors_supported=no
14018
if test $_pkg_short_errors_supported = yes; then
14019
GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
14021
GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
14023
# Put the nasty error message in config.log where it belongs
14024
echo "$GTK_PKG_ERRORS" >&5
14028
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk $GTK_REQUIRED or greater not found." >&5
14029
$as_echo "$as_me: WARNING: gtk $GTK_REQUIRED or greater not found." >&2;}
14030
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UI applications will not be built." >&5
14031
$as_echo "$as_me: WARNING: UI applications will not be built." >&2;}
14033
elif test $pkg_failed = untried; then
14034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14035
$as_echo "no" >&6; }
14038
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gtk $GTK_REQUIRED or greater not found." >&5
14039
$as_echo "$as_me: WARNING: gtk $GTK_REQUIRED or greater not found." >&2;}
14040
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: UI applications will not be built." >&5
14041
$as_echo "$as_me: WARNING: UI applications will not be built." >&2;}
14044
GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
14045
GTK_LIBS=$pkg_cv_GTK_LIBS
14046
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14047
$as_echo "yes" >&6; }
14049
if test x$enable_vala = xyes ; then
14052
unset vala_bindings
14053
ac_save_ifs="$IFS"; unset IFS
14054
for vala_pkg in $(echo "gtk+-3.0"); do
14055
vala_pkgs="${vala_pkgs:+$vala_pkgs }--pkg $vala_pkg"
14056
vala_bindings="${vala_bindings:+$vala_bindings }$vala_pkg"
14059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_bindings vala bindings" >&5
14060
$as_echo_n "checking for $vala_bindings vala bindings... " >&6; }
14062
cat <<_ACEOF >conftest.vala
14066
if vala_error=`$VALAC $vala_pkgs -q -o conftest$ac_exeext conftest.vala 2>&1`; then :
14067
vala_pkg_exists=yes
14073
if test x${vala_pkg_exists} = xno; then :
14075
as_fn_error $? "Package requirements were not met: gtk+-3.0
14079
Consider adjusting the XDG_DATA_DIRS environment variable if you
14080
installed bindings in a non-standard prefix.
14084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14085
$as_echo "yes" >&6; }
14096
{ $as_echo "$as_me:${as_lineno-$LINENO}: UI applications disabled." >&5
14097
$as_echo "$as_me: UI applications disabled." >&6;}
14100
if test x$HAVE_GTK = xno; then
14105
$as_echo "#define HAVE_GTK /**/" >>confdefs.h
14110
if test x$BUILD_UI = xyes; then
14119
if test "x$enable_media_export_plugin" = "xyes";
14123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBSQLITE3" >&5
14124
$as_echo_n "checking for LIBSQLITE3... " >&6; }
14126
if test -n "$LIBSQLITE3_CFLAGS"; then
14127
pkg_cv_LIBSQLITE3_CFLAGS="$LIBSQLITE3_CFLAGS"
14128
elif test -n "$PKG_CONFIG"; then
14129
if test -n "$PKG_CONFIG" && \
14130
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$LIBSQLITE3_REQUIRED\""; } >&5
14131
($PKG_CONFIG --exists --print-errors "sqlite3 >= $LIBSQLITE3_REQUIRED") 2>&5
14133
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134
test $ac_status = 0; }; then
14135
pkg_cv_LIBSQLITE3_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>/dev/null`
14136
test "x$?" != "x0" && pkg_failed=yes
14143
if test -n "$LIBSQLITE3_LIBS"; then
14144
pkg_cv_LIBSQLITE3_LIBS="$LIBSQLITE3_LIBS"
14145
elif test -n "$PKG_CONFIG"; then
14146
if test -n "$PKG_CONFIG" && \
14147
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= \$LIBSQLITE3_REQUIRED\""; } >&5
14148
($PKG_CONFIG --exists --print-errors "sqlite3 >= $LIBSQLITE3_REQUIRED") 2>&5
14150
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14151
test $ac_status = 0; }; then
14152
pkg_cv_LIBSQLITE3_LIBS=`$PKG_CONFIG --libs "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>/dev/null`
14153
test "x$?" != "x0" && pkg_failed=yes
14163
if test $pkg_failed = yes; then
14164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165
$as_echo "no" >&6; }
14167
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14168
_pkg_short_errors_supported=yes
14170
_pkg_short_errors_supported=no
14172
if test $_pkg_short_errors_supported = yes; then
14173
LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>&1`
14175
LIBSQLITE3_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= $LIBSQLITE3_REQUIRED" 2>&1`
14177
# Put the nasty error message in config.log where it belongs
14178
echo "$LIBSQLITE3_PKG_ERRORS" >&5
14180
as_fn_error $? "Package requirements (sqlite3 >= $LIBSQLITE3_REQUIRED) were not met:
14182
$LIBSQLITE3_PKG_ERRORS
14184
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14185
installed software in a non-standard prefix.
14187
Alternatively, you may set the environment variables LIBSQLITE3_CFLAGS
14188
and LIBSQLITE3_LIBS to avoid the need to call pkg-config.
14189
See the pkg-config man page for more details." "$LINENO" 5
14190
elif test $pkg_failed = untried; then
14191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14192
$as_echo "no" >&6; }
14193
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14194
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14195
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14196
is in your PATH or set the PKG_CONFIG environment variable to the full
14197
path to pkg-config.
14199
Alternatively, you may set the environment variables LIBSQLITE3_CFLAGS
14200
and LIBSQLITE3_LIBS to avoid the need to call pkg-config.
14201
See the pkg-config man page for more details.
14203
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14204
See \`config.log' for more details" "$LINENO" 5; }
14206
LIBSQLITE3_CFLAGS=$pkg_cv_LIBSQLITE3_CFLAGS
14207
LIBSQLITE3_LIBS=$pkg_cv_LIBSQLITE3_LIBS
14208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14209
$as_echo "yes" >&6; }
14214
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_TAG" >&5
14215
$as_echo_n "checking for GSTREAMER_TAG... " >&6; }
14217
if test -n "$GSTREAMER_TAG_CFLAGS"; then
14218
pkg_cv_GSTREAMER_TAG_CFLAGS="$GSTREAMER_TAG_CFLAGS"
14219
elif test -n "$PKG_CONFIG"; then
14220
if test -n "$PKG_CONFIG" && \
14221
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-tag-0.10 >= \$GSTREAMER_TAG_REQUIRED\""; } >&5
14222
($PKG_CONFIG --exists --print-errors "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED") 2>&5
14224
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14225
test $ac_status = 0; }; then
14226
pkg_cv_GSTREAMER_TAG_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>/dev/null`
14227
test "x$?" != "x0" && pkg_failed=yes
14234
if test -n "$GSTREAMER_TAG_LIBS"; then
14235
pkg_cv_GSTREAMER_TAG_LIBS="$GSTREAMER_TAG_LIBS"
14236
elif test -n "$PKG_CONFIG"; then
14237
if test -n "$PKG_CONFIG" && \
14238
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-tag-0.10 >= \$GSTREAMER_TAG_REQUIRED\""; } >&5
14239
($PKG_CONFIG --exists --print-errors "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED") 2>&5
14241
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14242
test $ac_status = 0; }; then
14243
pkg_cv_GSTREAMER_TAG_LIBS=`$PKG_CONFIG --libs "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>/dev/null`
14244
test "x$?" != "x0" && pkg_failed=yes
14254
if test $pkg_failed = yes; then
14255
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14256
$as_echo "no" >&6; }
14258
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14259
_pkg_short_errors_supported=yes
14261
_pkg_short_errors_supported=no
14263
if test $_pkg_short_errors_supported = yes; then
14264
GSTREAMER_TAG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>&1`
14266
GSTREAMER_TAG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED" 2>&1`
14268
# Put the nasty error message in config.log where it belongs
14269
echo "$GSTREAMER_TAG_PKG_ERRORS" >&5
14271
as_fn_error $? "Package requirements (gstreamer-tag-0.10 >= $GSTREAMER_TAG_REQUIRED) were not met:
14273
$GSTREAMER_TAG_PKG_ERRORS
14275
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14276
installed software in a non-standard prefix.
14278
Alternatively, you may set the environment variables GSTREAMER_TAG_CFLAGS
14279
and GSTREAMER_TAG_LIBS to avoid the need to call pkg-config.
14280
See the pkg-config man page for more details." "$LINENO" 5
14281
elif test $pkg_failed = untried; then
14282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14283
$as_echo "no" >&6; }
14284
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14285
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14286
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14287
is in your PATH or set the PKG_CONFIG environment variable to the full
14288
path to pkg-config.
14290
Alternatively, you may set the environment variables GSTREAMER_TAG_CFLAGS
14291
and GSTREAMER_TAG_LIBS to avoid the need to call pkg-config.
14292
See the pkg-config man page for more details.
14294
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14295
See \`config.log' for more details" "$LINENO" 5; }
14297
GSTREAMER_TAG_CFLAGS=$pkg_cv_GSTREAMER_TAG_CFLAGS
14298
GSTREAMER_TAG_LIBS=$pkg_cv_GSTREAMER_TAG_LIBS
14299
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14300
$as_echo "yes" >&6; }
14305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER_APP" >&5
14306
$as_echo_n "checking for GSTREAMER_APP... " >&6; }
14308
if test -n "$GSTREAMER_APP_CFLAGS"; then
14309
pkg_cv_GSTREAMER_APP_CFLAGS="$GSTREAMER_APP_CFLAGS"
14310
elif test -n "$PKG_CONFIG"; then
14311
if test -n "$PKG_CONFIG" && \
14312
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-0.10 >= \$GSTREAMER_APP_REQUIRED\""; } >&5
14313
($PKG_CONFIG --exists --print-errors "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED") 2>&5
14315
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14316
test $ac_status = 0; }; then
14317
pkg_cv_GSTREAMER_APP_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>/dev/null`
14318
test "x$?" != "x0" && pkg_failed=yes
14325
if test -n "$GSTREAMER_APP_LIBS"; then
14326
pkg_cv_GSTREAMER_APP_LIBS="$GSTREAMER_APP_LIBS"
14327
elif test -n "$PKG_CONFIG"; then
14328
if test -n "$PKG_CONFIG" && \
14329
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-app-0.10 >= \$GSTREAMER_APP_REQUIRED\""; } >&5
14330
($PKG_CONFIG --exists --print-errors "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED") 2>&5
14332
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14333
test $ac_status = 0; }; then
14334
pkg_cv_GSTREAMER_APP_LIBS=`$PKG_CONFIG --libs "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>/dev/null`
14335
test "x$?" != "x0" && pkg_failed=yes
14345
if test $pkg_failed = yes; then
14346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14347
$as_echo "no" >&6; }
14349
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14350
_pkg_short_errors_supported=yes
14352
_pkg_short_errors_supported=no
14354
if test $_pkg_short_errors_supported = yes; then
14355
GSTREAMER_APP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>&1`
14357
GSTREAMER_APP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED" 2>&1`
14359
# Put the nasty error message in config.log where it belongs
14360
echo "$GSTREAMER_APP_PKG_ERRORS" >&5
14362
as_fn_error $? "Package requirements (gstreamer-app-0.10 >= $GSTREAMER_APP_REQUIRED) were not met:
14364
$GSTREAMER_APP_PKG_ERRORS
14366
Consider adjusting the PKG_CONFIG_PATH environment variable if you
14367
installed software in a non-standard prefix.
14369
Alternatively, you may set the environment variables GSTREAMER_APP_CFLAGS
14370
and GSTREAMER_APP_LIBS to avoid the need to call pkg-config.
14371
See the pkg-config man page for more details." "$LINENO" 5
14372
elif test $pkg_failed = untried; then
14373
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14374
$as_echo "no" >&6; }
14375
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14376
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14377
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
14378
is in your PATH or set the PKG_CONFIG environment variable to the full
14379
path to pkg-config.
14381
Alternatively, you may set the environment variables GSTREAMER_APP_CFLAGS
14382
and GSTREAMER_APP_LIBS to avoid the need to call pkg-config.
14383
See the pkg-config man page for more details.
14385
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14386
See \`config.log' for more details" "$LINENO" 5; }
14388
GSTREAMER_APP_CFLAGS=$pkg_cv_GSTREAMER_APP_CFLAGS
14389
GSTREAMER_APP_LIBS=$pkg_cv_GSTREAMER_APP_LIBS
14390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14391
$as_echo "yes" >&6; }
14394
if test x$enable_vala = xyes ; then
14397
unset vala_bindings
14398
ac_save_ifs="$IFS"; unset IFS
14399
for vala_pkg in $(echo "sqlite3
14401
gstreamer-app-0.10"); do
14402
vala_pkgs="${vala_pkgs:+$vala_pkgs }--pkg $vala_pkg"
14403
vala_bindings="${vala_bindings:+$vala_bindings }$vala_pkg"
14406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $vala_bindings vala bindings" >&5
14407
$as_echo_n "checking for $vala_bindings vala bindings... " >&6; }
14409
cat <<_ACEOF >conftest.vala
14413
if vala_error=`$VALAC $vala_pkgs -q -o conftest$ac_exeext conftest.vala 2>&1`; then :
14414
vala_pkg_exists=yes
14420
if test x${vala_pkg_exists} = xno; then :
14422
as_fn_error $? "Package requirements were not met: sqlite3
14428
Consider adjusting the XDG_DATA_DIRS environment variable if you
14429
installed bindings in a non-standard prefix.
14433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14434
$as_echo "yes" >&6; }
14442
GETTEXT_PACKAGE=rygel
14445
cat >>confdefs.h <<_ACEOF
14446
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
14451
for ac_header in locale.h
14453
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
14454
if test "x$ac_cv_header_locale_h" = xyes; then :
14455
cat >>confdefs.h <<_ACEOF
14456
#define HAVE_LOCALE_H 1
14463
if test $ac_cv_header_locale_h = yes; then
14464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
14465
$as_echo_n "checking for LC_MESSAGES... " >&6; }
14466
if ${am_cv_val_LC_MESSAGES+:} false; then :
14467
$as_echo_n "(cached) " >&6
14469
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14470
/* end confdefs.h. */
14471
#include <locale.h>
14480
if ac_fn_c_try_link "$LINENO"; then :
14481
am_cv_val_LC_MESSAGES=yes
14483
am_cv_val_LC_MESSAGES=no
14485
rm -f core conftest.err conftest.$ac_objext \
14486
conftest$ac_exeext conftest.$ac_ext
14488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
14489
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
14490
if test $am_cv_val_LC_MESSAGES = yes; then
14492
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
14499
gt_cv_have_gettext=no
14505
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
14506
if test "x$ac_cv_header_libintl_h" = xyes; then :
14507
gt_cv_func_dgettext_libintl="no"
14508
libintl_extra_libs=""
14511
# First check in libc
14513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
14514
$as_echo_n "checking for ngettext in libc... " >&6; }
14515
if ${gt_cv_func_ngettext_libc+:} false; then :
14516
$as_echo_n "(cached) " >&6
14518
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14519
/* end confdefs.h. */
14521
#include <libintl.h>
14526
return !ngettext ("","", 1)
14531
if ac_fn_c_try_link "$LINENO"; then :
14532
gt_cv_func_ngettext_libc=yes
14534
gt_cv_func_ngettext_libc=no
14536
rm -f core conftest.err conftest.$ac_objext \
14537
conftest$ac_exeext conftest.$ac_ext
14540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
14541
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
14543
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
14545
$as_echo_n "checking for dgettext in libc... " >&6; }
14546
if ${gt_cv_func_dgettext_libc+:} false; then :
14547
$as_echo_n "(cached) " >&6
14549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14550
/* end confdefs.h. */
14552
#include <libintl.h>
14557
return !dgettext ("","")
14562
if ac_fn_c_try_link "$LINENO"; then :
14563
gt_cv_func_dgettext_libc=yes
14565
gt_cv_func_dgettext_libc=no
14567
rm -f core conftest.err conftest.$ac_objext \
14568
conftest$ac_exeext conftest.$ac_ext
14571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
14572
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
14575
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
14576
for ac_func in bind_textdomain_codeset
14578
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14579
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14580
cat >>confdefs.h <<_ACEOF
14581
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14590
# If we don't have everything we want, check in libintl
14592
if test "$gt_cv_func_dgettext_libc" != "yes" \
14593
|| test "$gt_cv_func_ngettext_libc" != "yes" \
14594
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
14596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
14597
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
14598
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
14599
$as_echo_n "(cached) " >&6
14601
ac_check_lib_save_LIBS=$LIBS
14602
LIBS="-lintl $LIBS"
14603
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604
/* end confdefs.h. */
14606
/* Override any GCC internal prototype to avoid an error.
14607
Use char because int might match the return type of a GCC
14608
builtin and then its argument prototype would still apply. */
14612
char bindtextdomain ();
14616
return bindtextdomain ();
14621
if ac_fn_c_try_link "$LINENO"; then :
14622
ac_cv_lib_intl_bindtextdomain=yes
14624
ac_cv_lib_intl_bindtextdomain=no
14626
rm -f core conftest.err conftest.$ac_objext \
14627
conftest$ac_exeext conftest.$ac_ext
14628
LIBS=$ac_check_lib_save_LIBS
14630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
14631
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
14632
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
14633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14634
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14635
if ${ac_cv_lib_intl_ngettext+:} false; then :
14636
$as_echo_n "(cached) " >&6
14638
ac_check_lib_save_LIBS=$LIBS
14639
LIBS="-lintl $LIBS"
14640
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14641
/* end confdefs.h. */
14643
/* Override any GCC internal prototype to avoid an error.
14644
Use char because int might match the return type of a GCC
14645
builtin and then its argument prototype would still apply. */
14653
return ngettext ();
14658
if ac_fn_c_try_link "$LINENO"; then :
14659
ac_cv_lib_intl_ngettext=yes
14661
ac_cv_lib_intl_ngettext=no
14663
rm -f core conftest.err conftest.$ac_objext \
14664
conftest$ac_exeext conftest.$ac_ext
14665
LIBS=$ac_check_lib_save_LIBS
14667
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14668
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14669
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
14671
$as_echo_n "checking for dgettext in -lintl... " >&6; }
14672
if ${ac_cv_lib_intl_dgettext+:} false; then :
14673
$as_echo_n "(cached) " >&6
14675
ac_check_lib_save_LIBS=$LIBS
14676
LIBS="-lintl $LIBS"
14677
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14678
/* end confdefs.h. */
14680
/* Override any GCC internal prototype to avoid an error.
14681
Use char because int might match the return type of a GCC
14682
builtin and then its argument prototype would still apply. */
14690
return dgettext ();
14695
if ac_fn_c_try_link "$LINENO"; then :
14696
ac_cv_lib_intl_dgettext=yes
14698
ac_cv_lib_intl_dgettext=no
14700
rm -f core conftest.err conftest.$ac_objext \
14701
conftest$ac_exeext conftest.$ac_ext
14702
LIBS=$ac_check_lib_save_LIBS
14704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
14705
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
14706
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
14707
gt_cv_func_dgettext_libintl=yes
14715
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
14716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
14717
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
14718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
14720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
14721
$as_echo_n "checking for ngettext in -lintl... " >&6; }
14722
if ${ac_cv_lib_intl_ngettext+:} false; then :
14723
$as_echo_n "(cached) " >&6
14725
ac_check_lib_save_LIBS=$LIBS
14726
LIBS="-lintl -liconv $LIBS"
14727
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728
/* end confdefs.h. */
14730
/* Override any GCC internal prototype to avoid an error.
14731
Use char because int might match the return type of a GCC
14732
builtin and then its argument prototype would still apply. */
14740
return ngettext ();
14745
if ac_fn_c_try_link "$LINENO"; then :
14746
ac_cv_lib_intl_ngettext=yes
14748
ac_cv_lib_intl_ngettext=no
14750
rm -f core conftest.err conftest.$ac_objext \
14751
conftest$ac_exeext conftest.$ac_ext
14752
LIBS=$ac_check_lib_save_LIBS
14754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
14755
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
14756
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
14757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
14758
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
14759
if ${ac_cv_lib_intl_dcgettext+:} false; then :
14760
$as_echo_n "(cached) " >&6
14762
ac_check_lib_save_LIBS=$LIBS
14763
LIBS="-lintl -liconv $LIBS"
14764
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14765
/* end confdefs.h. */
14767
/* Override any GCC internal prototype to avoid an error.
14768
Use char because int might match the return type of a GCC
14769
builtin and then its argument prototype would still apply. */
14777
return dcgettext ();
14782
if ac_fn_c_try_link "$LINENO"; then :
14783
ac_cv_lib_intl_dcgettext=yes
14785
ac_cv_lib_intl_dcgettext=no
14787
rm -f core conftest.err conftest.$ac_objext \
14788
conftest$ac_exeext conftest.$ac_ext
14789
LIBS=$ac_check_lib_save_LIBS
14791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
14792
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
14793
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
14794
gt_cv_func_dgettext_libintl=yes
14795
libintl_extra_libs=-liconv
14807
# If we found libintl, then check in it for bind_textdomain_codeset();
14808
# we'll prefer libc if neither have bind_textdomain_codeset(),
14809
# and both have dgettext and ngettext
14811
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
14812
glib_save_LIBS="$LIBS"
14813
LIBS="$LIBS -lintl $libintl_extra_libs"
14814
unset ac_cv_func_bind_textdomain_codeset
14815
for ac_func in bind_textdomain_codeset
14817
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14818
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14819
cat >>confdefs.h <<_ACEOF
14820
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
14826
LIBS="$glib_save_LIBS"
14828
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
14829
gt_cv_func_dgettext_libc=no
14831
if test "$gt_cv_func_dgettext_libc" = "yes" \
14832
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
14833
gt_cv_func_dgettext_libintl=no
14839
if test "$gt_cv_func_dgettext_libc" = "yes" \
14840
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
14841
gt_cv_have_gettext=yes
14844
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
14845
INTLLIBS="-lintl $libintl_extra_libs"
14848
if test "$gt_cv_have_gettext" = "yes"; then
14850
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
14852
# Extract the first word of "msgfmt", so it can be a program name with args.
14853
set dummy msgfmt; ac_word=$2
14854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14855
$as_echo_n "checking for $ac_word... " >&6; }
14856
if ${ac_cv_path_MSGFMT+:} false; then :
14857
$as_echo_n "(cached) " >&6
14861
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14864
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14865
for ac_dir in $PATH; do
14866
test -z "$ac_dir" && ac_dir=.
14867
if test -f $ac_dir/$ac_word; then
14868
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
14869
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
14875
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
14879
MSGFMT="$ac_cv_path_MSGFMT"
14880
if test "$MSGFMT" != "no"; then
14881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14882
$as_echo "$MSGFMT" >&6; }
14884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14885
$as_echo "no" >&6; }
14887
if test "$MSGFMT" != "no"; then
14888
glib_save_LIBS="$LIBS"
14889
LIBS="$LIBS $INTLLIBS"
14890
for ac_func in dcgettext
14892
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
14893
if test "x$ac_cv_func_dcgettext" = xyes; then :
14894
cat >>confdefs.h <<_ACEOF
14895
#define HAVE_DCGETTEXT 1
14902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
14903
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
14904
cat >conftest.foo <<_ACEOF
14908
"Content-Type: text/plain; charset=UTF-8\n"
14909
"Project-Id-Version: test 1.0\n"
14910
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
14911
"Last-Translator: test <foo@bar.xx>\n"
14912
"Language-Team: C <LL@li.org>\n"
14913
"MIME-Version: 1.0\n"
14914
"Content-Transfer-Encoding: 8bit\n"
14917
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
14918
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
14920
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14921
test $ac_status = 0; }; then
14922
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14923
$as_echo "yes" >&6; }
14924
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14925
$as_echo "no" >&6; }
14926
echo "$as_me: failed input was:" >&5
14927
sed 's/^/| /' conftest.foo >&5
14930
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14931
set dummy gmsgfmt; ac_word=$2
14932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14933
$as_echo_n "checking for $ac_word... " >&6; }
14934
if ${ac_cv_path_GMSGFMT+:} false; then :
14935
$as_echo_n "(cached) " >&6
14939
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14942
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14943
for as_dir in $PATH
14946
test -z "$as_dir" && as_dir=.
14947
for ac_exec_ext in '' $ac_executable_extensions; do
14948
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14949
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14950
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14957
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14961
GMSGFMT=$ac_cv_path_GMSGFMT
14962
if test -n "$GMSGFMT"; then
14963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14964
$as_echo "$GMSGFMT" >&6; }
14966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14967
$as_echo "no" >&6; }
14971
# Extract the first word of "xgettext", so it can be a program name with args.
14972
set dummy xgettext; ac_word=$2
14973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14974
$as_echo_n "checking for $ac_word... " >&6; }
14975
if ${ac_cv_path_XGETTEXT+:} false; then :
14976
$as_echo_n "(cached) " >&6
14978
case "$XGETTEXT" in
14980
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14983
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
14984
for ac_dir in $PATH; do
14985
test -z "$ac_dir" && ac_dir=.
14986
if test -f $ac_dir/$ac_word; then
14987
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
14988
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
14994
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14998
XGETTEXT="$ac_cv_path_XGETTEXT"
14999
if test "$XGETTEXT" != ":"; then
15000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15001
$as_echo "$XGETTEXT" >&6; }
15003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15004
$as_echo "no" >&6; }
15007
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15008
/* end confdefs.h. */
15013
extern int _nl_msg_cat_cntr;
15014
return _nl_msg_cat_cntr
15019
if ac_fn_c_try_link "$LINENO"; then :
15025
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15026
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15041
rm -f core conftest.err conftest.$ac_objext \
15042
conftest$ac_exeext conftest.$ac_ext
15043
LIBS="$glib_save_LIBS"
15046
gt_cv_have_gettext=no
15054
if test "$gt_cv_have_gettext" = "yes" ; then
15056
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15060
if test "$XGETTEXT" != ":"; then
15061
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
15064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
15065
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
15070
# We need to process the po/ directory.
15073
ac_config_commands="$ac_config_commands default-1"
15076
for lang in $ALL_LINGUAS; do
15077
GMOFILES="$GMOFILES $lang.gmo"
15078
POFILES="$POFILES $lang.po"
15093
if test "$gt_cv_have_gettext" = "yes"; then
15094
if test "x$ALL_LINGUAS" = "x"; then
15097
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
15098
$as_echo_n "checking for catalogs to be installed... " >&6; }
15100
for presentlang in $ALL_LINGUAS; do
15102
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
15103
desiredlanguages="$LINGUAS"
15105
desiredlanguages="$ALL_LINGUAS"
15107
for desiredlang in $desiredlanguages; do
15108
# Use the presentlang catalog if desiredlang is
15109
# a. equal to presentlang, or
15110
# b. a variant of presentlang (because in this case,
15111
# presentlang can be used as a fallback for messages
15112
# which are not translated in the desiredlang catalog).
15113
case "$desiredlang" in
15114
"$presentlang"*) useit=yes;;
15117
if test $useit = yes; then
15118
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
15121
LINGUAS=$NEW_LINGUAS
15122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
15123
$as_echo "$LINGUAS" >&6; }
15126
if test -n "$LINGUAS"; then
15127
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
15132
if test -n "$ac_aux_dir"; then
15133
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
15135
if test -z "$MKINSTALLDIRS"; then
15136
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
15140
test -d po || mkdir po
15141
if test "x$srcdir" != "x."; then
15142
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
15143
posrcprefix="$srcdir/"
15145
posrcprefix="../$srcdir/"
15151
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
15152
< $srcdir/po/POTFILES.in > po/POTFILES
15155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
15156
$as_echo_n "checking whether NLS is requested... " >&6; }
15157
# Check whether --enable-nls was given.
15158
if test "${enable_nls+set}" = set; then :
15159
enableval=$enable_nls; USE_NLS=$enableval
15164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15165
$as_echo "$USE_NLS" >&6; }
15170
case "$am__api_version" in
15172
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
15178
if test -n "0.40.0"; then
15179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
15180
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
15182
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
15183
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
15184
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
15186
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
15187
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
15188
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
15189
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
15192
# Extract the first word of "intltool-update", so it can be a program name with args.
15193
set dummy intltool-update; ac_word=$2
15194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15195
$as_echo_n "checking for $ac_word... " >&6; }
15196
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
15197
$as_echo_n "(cached) " >&6
15199
case $INTLTOOL_UPDATE in
15201
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
15204
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15205
for as_dir in $PATH
15208
test -z "$as_dir" && as_dir=.
15209
for ac_exec_ext in '' $ac_executable_extensions; do
15210
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15211
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
15212
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15222
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
15223
if test -n "$INTLTOOL_UPDATE"; then
15224
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
15225
$as_echo "$INTLTOOL_UPDATE" >&6; }
15227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15228
$as_echo "no" >&6; }
15232
# Extract the first word of "intltool-merge", so it can be a program name with args.
15233
set dummy intltool-merge; ac_word=$2
15234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15235
$as_echo_n "checking for $ac_word... " >&6; }
15236
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
15237
$as_echo_n "(cached) " >&6
15239
case $INTLTOOL_MERGE in
15241
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
15244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15245
for as_dir in $PATH
15248
test -z "$as_dir" && as_dir=.
15249
for ac_exec_ext in '' $ac_executable_extensions; do
15250
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15251
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
15252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15262
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
15263
if test -n "$INTLTOOL_MERGE"; then
15264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
15265
$as_echo "$INTLTOOL_MERGE" >&6; }
15267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15268
$as_echo "no" >&6; }
15272
# Extract the first word of "intltool-extract", so it can be a program name with args.
15273
set dummy intltool-extract; ac_word=$2
15274
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15275
$as_echo_n "checking for $ac_word... " >&6; }
15276
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
15277
$as_echo_n "(cached) " >&6
15279
case $INTLTOOL_EXTRACT in
15281
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
15284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15285
for as_dir in $PATH
15288
test -z "$as_dir" && as_dir=.
15289
for ac_exec_ext in '' $ac_executable_extensions; do
15290
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15291
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
15292
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15302
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
15303
if test -n "$INTLTOOL_EXTRACT"; then
15304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
15305
$as_echo "$INTLTOOL_EXTRACT" >&6; }
15307
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15308
$as_echo "no" >&6; }
15312
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
15313
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
15316
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15317
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15318
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15319
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15320
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
15321
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15322
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15323
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15324
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15325
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15326
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15327
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
15328
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15329
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15330
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15331
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15332
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15333
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15334
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
15432
# Check the gettext tools to make sure they are GNU
15433
# Extract the first word of "xgettext", so it can be a program name with args.
15434
set dummy xgettext; ac_word=$2
15435
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15436
$as_echo_n "checking for $ac_word... " >&6; }
15437
if ${ac_cv_path_XGETTEXT+:} false; then :
15438
$as_echo_n "(cached) " >&6
15442
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
15445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15446
for as_dir in $PATH
15449
test -z "$as_dir" && as_dir=.
15450
for ac_exec_ext in '' $ac_executable_extensions; do
15451
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15452
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
15453
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15463
XGETTEXT=$ac_cv_path_XGETTEXT
15464
if test -n "$XGETTEXT"; then
15465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
15466
$as_echo "$XGETTEXT" >&6; }
15468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15469
$as_echo "no" >&6; }
15473
# Extract the first word of "msgmerge", so it can be a program name with args.
15474
set dummy msgmerge; ac_word=$2
15475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15476
$as_echo_n "checking for $ac_word... " >&6; }
15477
if ${ac_cv_path_MSGMERGE+:} false; then :
15478
$as_echo_n "(cached) " >&6
15482
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
15485
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15486
for as_dir in $PATH
15489
test -z "$as_dir" && as_dir=.
15490
for ac_exec_ext in '' $ac_executable_extensions; do
15491
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15492
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
15493
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15503
MSGMERGE=$ac_cv_path_MSGMERGE
15504
if test -n "$MSGMERGE"; then
15505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
15506
$as_echo "$MSGMERGE" >&6; }
15508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15509
$as_echo "no" >&6; }
15513
# Extract the first word of "msgfmt", so it can be a program name with args.
15514
set dummy msgfmt; ac_word=$2
15515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15516
$as_echo_n "checking for $ac_word... " >&6; }
15517
if ${ac_cv_path_MSGFMT+:} false; then :
15518
$as_echo_n "(cached) " >&6
15522
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
15525
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15526
for as_dir in $PATH
15529
test -z "$as_dir" && as_dir=.
15530
for ac_exec_ext in '' $ac_executable_extensions; do
15531
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15532
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
15533
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15543
MSGFMT=$ac_cv_path_MSGFMT
15544
if test -n "$MSGFMT"; then
15545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
15546
$as_echo "$MSGFMT" >&6; }
15548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15549
$as_echo "no" >&6; }
15553
# Extract the first word of "gmsgfmt", so it can be a program name with args.
15554
set dummy gmsgfmt; ac_word=$2
15555
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15556
$as_echo_n "checking for $ac_word... " >&6; }
15557
if ${ac_cv_path_GMSGFMT+:} false; then :
15558
$as_echo_n "(cached) " >&6
15562
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
15565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15566
for as_dir in $PATH
15569
test -z "$as_dir" && as_dir=.
15570
for ac_exec_ext in '' $ac_executable_extensions; do
15571
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15572
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
15573
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15580
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
15584
GMSGFMT=$ac_cv_path_GMSGFMT
15585
if test -n "$GMSGFMT"; then
15586
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
15587
$as_echo "$GMSGFMT" >&6; }
15589
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15590
$as_echo "no" >&6; }
15594
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
15595
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15597
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
15598
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
15599
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
15600
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
15601
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
15604
# Extract the first word of "perl", so it can be a program name with args.
15605
set dummy perl; ac_word=$2
15606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15607
$as_echo_n "checking for $ac_word... " >&6; }
15608
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
15609
$as_echo_n "(cached) " >&6
15611
case $INTLTOOL_PERL in
15613
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
15616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15617
for as_dir in $PATH
15620
test -z "$as_dir" && as_dir=.
15621
for ac_exec_ext in '' $ac_executable_extensions; do
15622
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15623
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
15624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15634
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
15635
if test -n "$INTLTOOL_PERL"; then
15636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
15637
$as_echo "$INTLTOOL_PERL" >&6; }
15639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15640
$as_echo "no" >&6; }
15644
if test -z "$INTLTOOL_PERL"; then
15645
as_fn_error $? "perl not found" "$LINENO" 5
15647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
15648
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
15649
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
15650
if test $? -ne 0; then
15651
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
15653
IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
15654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
15655
$as_echo "$IT_PERL_VERSION" >&6; }
15657
if test "x" != "xno-xml"; then
15658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
15659
$as_echo_n "checking for XML::Parser... " >&6; }
15660
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
15661
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
15662
$as_echo "ok" >&6; }
15664
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
15668
# Substitute ALL_LINGUAS so we can use it in po/Makefile
15671
# Set DATADIRNAME correctly if it is not set yet
15672
# (copied from glib-gettext.m4)
15673
if test -z "$DATADIRNAME"; then
15674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675
/* end confdefs.h. */
15680
extern int _nl_msg_cat_cntr;
15681
return _nl_msg_cat_cntr
15686
if ac_fn_c_try_link "$LINENO"; then :
15691
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15692
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15704
rm -f core conftest.err conftest.$ac_objext \
15705
conftest$ac_exeext conftest.$ac_ext
15713
# Check whether --enable-silent-rules was given.
15714
if test "${enable_silent_rules+set}" = set; then :
15715
enableval=$enable_silent_rules;
15718
case $enable_silent_rules in
15719
yes) AM_DEFAULT_VERBOSITY=0;;
15720
no) AM_DEFAULT_VERBOSITY=1;;
15721
*) AM_DEFAULT_VERBOSITY=0;;
15726
# Extract the first word of "xsltproc", so it can be a program name with args.
15727
set dummy xsltproc; ac_word=$2
15728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15729
$as_echo_n "checking for $ac_word... " >&6; }
15730
if ${ac_cv_path_XSLTPROC+:} false; then :
15731
$as_echo_n "(cached) " >&6
15735
ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15738
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15739
for as_dir in $PATH
15742
test -z "$as_dir" && as_dir=.
15743
for ac_exec_ext in '' $ac_executable_extensions; do
15744
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15745
ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15746
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15756
XSLTPROC=$ac_cv_path_XSLTPROC
15757
if test -n "$XSLTPROC"; then
15758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15759
$as_echo "$XSLTPROC" >&6; }
15761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15762
$as_echo "no" >&6; }
15766
if test x"$XSLTPROC" != x; then
15767
HAVE_XSLTPROC_TRUE=
15768
HAVE_XSLTPROC_FALSE='#'
15770
HAVE_XSLTPROC_TRUE='#'
15771
HAVE_XSLTPROC_FALSE=
15776
ac_config_files="$ac_config_files Makefile src/Makefile src/rygel/Makefile src/ui/Makefile src/plugins/Makefile data/Makefile data/xml/Makefile data/icons/Makefile data/icons/32x32/Makefile data/icons/48x48/Makefile data/icons/120x120/Makefile data/icons/scalable/Makefile data/rygel.desktop.in data/rygel-preferences.desktop.in doc/Makefile po/Makefile.in rygel-1.0.pc tests/Makefile"
15778
cat >confcache <<\_ACEOF
15779
# This file is a shell script that caches the results of configure
15780
# tests run on this system so they can be shared between configure
15781
# scripts and configure runs, see configure's option --config-cache.
15782
# It is not useful on other systems. If it contains results you don't
15783
# want to keep, you may remove or edit it.
15785
# config.status only pays attention to the cache file if you give it
15786
# the --recheck option to rerun configure.
15788
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15789
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15790
# following values.
15794
# The following way of writing the cache mishandles newlines in values,
15795
# but we know of no workaround that is simple, portable, and efficient.
15796
# So, we kill variables containing newlines.
15797
# Ultrix sh set writes to stderr and can't be redirected directly,
15798
# and sets the high bit in the cache file unless we assign to the vars.
15800
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15801
eval ac_val=\$$ac_var
15805
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15806
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15809
_ | IFS | as_nl) ;; #(
15810
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15811
*) { eval $ac_var=; unset $ac_var;} ;;
15817
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15818
*${as_nl}ac_space=\ *)
15819
# `set' does not quote correctly, so add quotes: double-quote
15820
# substitution turns \\\\ into \\, and sed turns \\ into \.
15823
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15826
# `set' quotes correctly as required by POSIX, so do not add quotes.
15827
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15836
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15838
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15840
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15841
if test -w "$cache_file"; then
15842
if test "x$cache_file" != "x/dev/null"; then
15843
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15844
$as_echo "$as_me: updating cache $cache_file" >&6;}
15845
if test ! -f "$cache_file" || test -h "$cache_file"; then
15846
cat confcache >"$cache_file"
15848
case $cache_file in #(
15850
mv -f confcache "$cache_file"$$ &&
15851
mv -f "$cache_file"$$ "$cache_file" ;; #(
15853
mv -f confcache "$cache_file" ;;
15858
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15859
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15864
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15865
# Let make expand exec_prefix.
15866
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15868
DEFS=-DHAVE_CONFIG_H
15873
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15874
# 1. Remove the extension, and $U if already installed.
15875
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15876
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15877
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15878
# will be set to the directory where LIBOBJS objects are built.
15879
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15880
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15882
LIBOBJS=$ac_libobjs
15884
LTLIBOBJS=$ac_ltlibobjs
15887
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15888
as_fn_error $? "conditional \"AMDEP\" was never defined.
15889
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15891
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15892
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15893
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15895
if test -n "$EXEEXT"; then
15897
am__EXEEXT_FALSE='#'
15899
am__EXEEXT_TRUE='#'
15903
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
15904
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
15905
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15907
if test -z "${BUILD_TEST_PLUGIN_TRUE}" && test -z "${BUILD_TEST_PLUGIN_FALSE}"; then
15908
as_fn_error $? "conditional \"BUILD_TEST_PLUGIN\" was never defined.
15909
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15911
if test -z "${BUILD_TRACKER_PLUGIN_TRUE}" && test -z "${BUILD_TRACKER_PLUGIN_FALSE}"; then
15912
as_fn_error $? "conditional \"BUILD_TRACKER_PLUGIN\" was never defined.
15913
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15915
if test -z "${BUILD_EXTERNAL_PLUGIN_TRUE}" && test -z "${BUILD_EXTERNAL_PLUGIN_FALSE}"; then
15916
as_fn_error $? "conditional \"BUILD_EXTERNAL_PLUGIN\" was never defined.
15917
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15919
if test -z "${BUILD_MPRIS_PLUGIN_TRUE}" && test -z "${BUILD_MPRIS_PLUGIN_FALSE}"; then
15920
as_fn_error $? "conditional \"BUILD_MPRIS_PLUGIN\" was never defined.
15921
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15923
if test -z "${BUILD_PLAYBIN_PLUGIN_TRUE}" && test -z "${BUILD_PLAYBIN_PLUGIN_FALSE}"; then
15924
as_fn_error $? "conditional \"BUILD_PLAYBIN_PLUGIN\" was never defined.
15925
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15927
if test -z "${BUILD_MEDIATHEK_PLUGIN_TRUE}" && test -z "${BUILD_MEDIATHEK_PLUGIN_FALSE}"; then
15928
as_fn_error $? "conditional \"BUILD_MEDIATHEK_PLUGIN\" was never defined.
15929
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15931
if test -z "${BUILD_MEDIA_EXPORT_PLUGIN_TRUE}" && test -z "${BUILD_MEDIA_EXPORT_PLUGIN_FALSE}"; then
15932
as_fn_error $? "conditional \"BUILD_MEDIA_EXPORT_PLUGIN\" was never defined.
15933
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15935
if test -z "${BUILD_GST_LAUNCH_PLUGIN_TRUE}" && test -z "${BUILD_GST_LAUNCH_PLUGIN_FALSE}"; then
15936
as_fn_error $? "conditional \"BUILD_GST_LAUNCH_PLUGIN\" was never defined.
15937
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15939
if test -z "${UNINSTALLED_TRUE}" && test -z "${UNINSTALLED_FALSE}"; then
15940
as_fn_error $? "conditional \"UNINSTALLED\" was never defined.
15941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15943
if test -z "${BUILD_UI_TRUE}" && test -z "${BUILD_UI_FALSE}"; then
15944
as_fn_error $? "conditional \"BUILD_UI\" was never defined.
15945
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15948
ac_config_commands="$ac_config_commands po/stamp-it"
15951
if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
15952
as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
15953
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15956
: "${CONFIG_STATUS=./config.status}"
15958
ac_clean_files_save=$ac_clean_files
15959
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15960
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15961
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15963
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15965
# Generated by $as_me.
15966
# Run this file to recreate the current configuration.
15967
# Compiler output produced by configure, useful for debugging
15968
# configure, is in config.log if it exists.
15971
ac_cs_recheck=false
15974
SHELL=\${CONFIG_SHELL-$SHELL}
15977
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15978
## -------------------- ##
15979
## M4sh Initialization. ##
15980
## -------------------- ##
15982
# Be more Bourne compatible
15983
DUALCASE=1; export DUALCASE # for MKS sh
15984
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15987
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15988
# is contrary to our usage. Disable this feature.
15989
alias -g '${1+"$@"}'='"$@"'
15990
setopt NO_GLOB_SUBST
15992
case `(set -o) 2>/dev/null` in #(
16004
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16005
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16006
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16007
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16008
# Prefer a ksh shell builtin over an external printf program on Solaris,
16009
# but without wasting forks for bash or zsh.
16010
if test -z "$BASH_VERSION$ZSH_VERSION" \
16011
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16012
as_echo='print -r --'
16013
as_echo_n='print -rn --'
16014
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16015
as_echo='printf %s\n'
16016
as_echo_n='printf %s'
16018
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16019
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16020
as_echo_n='/usr/ucb/echo -n'
16022
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16023
as_echo_n_body='eval
16027
expr "X$arg" : "X\\(.*\\)$as_nl";
16028
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16030
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16032
export as_echo_n_body
16033
as_echo_n='sh -c $as_echo_n_body as_echo'
16035
export as_echo_body
16036
as_echo='sh -c $as_echo_body as_echo'
16039
# The user is always right.
16040
if test "${PATH_SEPARATOR+set}" != set; then
16042
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16043
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16050
# We need space, tab and new line, in precisely that order. Quoting is
16051
# there to prevent editors from complaining about space-tab.
16052
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16053
# splitting by setting IFS to empty value.)
16056
# Find who we are. Look in the path if we contain no directory separator.
16059
*[\\/]* ) as_myself=$0 ;;
16060
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16061
for as_dir in $PATH
16064
test -z "$as_dir" && as_dir=.
16065
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16071
# We did not find ourselves, most probably we were run as `sh COMMAND'
16072
# in which case we are not to be found in the path.
16073
if test "x$as_myself" = x; then
16076
if test ! -f "$as_myself"; then
16077
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16081
# Unset variables that we do not need and which cause bugs (e.g. in
16082
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16083
# suppresses any "Segmentation fault" message there. '((' could
16084
# trigger a bug in pdksh 5.2.14.
16085
for as_var in BASH_ENV ENV MAIL MAILPATH
16086
do eval test x\${$as_var+set} = xset \
16087
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16100
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16103
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16104
# ----------------------------------------
16105
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16106
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16107
# script with STATUS, using 1 if that was 0.
16110
as_status=$1; test $as_status -eq 0 && as_status=1
16112
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16113
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16115
$as_echo "$as_me: error: $2" >&2
16116
as_fn_exit $as_status
16120
# as_fn_set_status STATUS
16121
# -----------------------
16122
# Set $? to STATUS, without forking.
16123
as_fn_set_status ()
16126
} # as_fn_set_status
16128
# as_fn_exit STATUS
16129
# -----------------
16130
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16134
as_fn_set_status $1
16140
# Portably unset VAR.
16143
{ eval $1=; unset $1;}
16145
as_unset=as_fn_unset
16146
# as_fn_append VAR VALUE
16147
# ----------------------
16148
# Append the text in VALUE to the end of the definition contained in VAR. Take
16149
# advantage of any shell optimizations that allow amortized linear growth over
16150
# repeated appends, instead of the typical quadratic growth present in naive
16152
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16153
eval 'as_fn_append ()
16164
# as_fn_arith ARG...
16165
# ------------------
16166
# Perform arithmetic evaluation on the ARGs, and store the result in the
16167
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16168
# must be portable across $(()) and expr.
16169
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16170
eval 'as_fn_arith ()
16177
as_val=`expr "$@" || test $? -eq 1`
16182
if expr a : '\(a\)' >/dev/null 2>&1 &&
16183
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16189
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16190
as_basename=basename
16195
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16201
as_me=`$as_basename -- "$0" ||
16202
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16203
X"$0" : 'X\(//\)$' \| \
16204
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16206
sed '/^.*\/\([^/][^/]*\)\/*$/{
16220
# Avoid depending upon Character Ranges.
16221
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16222
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16223
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16224
as_cr_digits='0123456789'
16225
as_cr_alnum=$as_cr_Letters$as_cr_digits
16227
ECHO_C= ECHO_N= ECHO_T=
16228
case `echo -n x` in #(((((
16230
case `echo 'xy\c'` in
16231
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16233
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16240
rm -f conf$$ conf$$.exe conf$$.file
16241
if test -d conf$$.dir; then
16242
rm -f conf$$.dir/conf$$.file
16245
mkdir conf$$.dir 2>/dev/null
16247
if (echo >conf$$.file) 2>/dev/null; then
16248
if ln -s conf$$.file conf$$ 2>/dev/null; then
16250
# ... but there are two gotchas:
16251
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16252
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16253
# In both cases, we have to default to `cp -p'.
16254
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16256
elif ln conf$$.file conf$$ 2>/dev/null; then
16264
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16265
rmdir conf$$.dir 2>/dev/null
16270
# Create "$as_dir" as a directory, including parents if necessary.
16275
-*) as_dir=./$as_dir;;
16277
test -d "$as_dir" || eval $as_mkdir_p || {
16281
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16282
*) as_qdir=$as_dir;;
16284
as_dirs="'$as_qdir' $as_dirs"
16285
as_dir=`$as_dirname -- "$as_dir" ||
16286
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16287
X"$as_dir" : 'X\(//\)[^/]' \| \
16288
X"$as_dir" : 'X\(//\)$' \| \
16289
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16290
$as_echo X"$as_dir" |
16291
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16295
/^X\(\/\/\)[^/].*/{
16308
test -d "$as_dir" && break
16310
test -z "$as_dirs" || eval "mkdir $as_dirs"
16311
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16315
if mkdir -p . 2>/dev/null; then
16316
as_mkdir_p='mkdir -p "$as_dir"'
16318
test -d ./-p && rmdir ./-p
16322
if test -x / >/dev/null 2>&1; then
16323
as_test_x='test -x'
16325
if ls -dL / >/dev/null 2>&1; then
16332
if test -d "$1"; then
16338
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16339
???[sx]*):;;*)false;;esac;fi
16343
as_executable_p=$as_test_x
16345
# Sed expression to map a string onto a valid CPP name.
16346
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16348
# Sed expression to map a string onto a valid variable name.
16349
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16353
## ----------------------------------- ##
16354
## Main body of $CONFIG_STATUS script. ##
16355
## ----------------------------------- ##
16357
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16359
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16360
# Save the log message, to keep $0 and so on meaningful, and to
16361
# report actual input values of CONFIG_FILES etc. instead of their
16362
# values after options handling.
16364
This file was extended by Rygel $as_me 0.12.6, which was
16365
generated by GNU Autoconf 2.68. Invocation command line was
16367
CONFIG_FILES = $CONFIG_FILES
16368
CONFIG_HEADERS = $CONFIG_HEADERS
16369
CONFIG_LINKS = $CONFIG_LINKS
16370
CONFIG_COMMANDS = $CONFIG_COMMANDS
16373
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16378
case $ac_config_files in *"
16379
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16382
case $ac_config_headers in *"
16383
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16387
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16388
# Files that config.status was made for.
16389
config_files="$ac_config_files"
16390
config_headers="$ac_config_headers"
16391
config_commands="$ac_config_commands"
16395
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16397
\`$as_me' instantiates files and other configuration actions
16398
from templates according to the current configuration. Unless the files
16399
and actions are specified as TAGs, all are instantiated by default.
16401
Usage: $0 [OPTION]... [TAG]...
16403
-h, --help print this help, then exit
16404
-V, --version print version number and configuration settings, then exit
16405
--config print configuration, then exit
16406
-q, --quiet, --silent
16407
do not print progress messages
16408
-d, --debug don't remove temporary files
16409
--recheck update $as_me by reconfiguring in the same conditions
16410
--file=FILE[:TEMPLATE]
16411
instantiate the configuration file FILE
16412
--header=FILE[:TEMPLATE]
16413
instantiate the configuration header FILE
16415
Configuration files:
16418
Configuration headers:
16421
Configuration commands:
16424
Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=Rygel>.
16425
Rygel home page: <http://live.gnome.org/Rygel>."
16428
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16429
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16431
Rygel config.status 0.12.6
16432
configured by $0, generated by GNU Autoconf 2.68,
16433
with options \\"\$ac_cs_config\\"
16435
Copyright (C) 2010 Free Software Foundation, Inc.
16436
This config.status script is free software; the Free Software Foundation
16437
gives unlimited permission to copy, distribute and modify it."
16444
test -n "\$AWK" || AWK=awk
16447
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16448
# The default lists apply if the user does not specify any file.
16454
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16455
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16459
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16471
# Handling of the options.
16472
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16474
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16475
$as_echo "$ac_cs_version"; exit ;;
16476
--config | --confi | --conf | --con | --co | --c )
16477
$as_echo "$ac_cs_config"; exit ;;
16478
--debug | --debu | --deb | --de | --d | -d )
16480
--file | --fil | --fi | --f )
16483
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16484
'') as_fn_error $? "missing file argument" ;;
16486
as_fn_append CONFIG_FILES " '$ac_optarg'"
16487
ac_need_defaults=false;;
16488
--header | --heade | --head | --hea )
16491
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16493
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16494
ac_need_defaults=false;;
16496
# Conflict between --help and --header
16497
as_fn_error $? "ambiguous option: \`$1'
16498
Try \`$0 --help' for more information.";;
16499
--help | --hel | -h )
16500
$as_echo "$ac_cs_usage"; exit ;;
16501
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16502
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16505
# This is an error.
16506
-*) as_fn_error $? "unrecognized option: \`$1'
16507
Try \`$0 --help' for more information." ;;
16509
*) as_fn_append ac_config_targets " $1"
16510
ac_need_defaults=false ;;
16516
ac_configure_extra_args=
16518
if $ac_cs_silent; then
16520
ac_configure_extra_args="$ac_configure_extra_args --silent"
16524
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16525
if \$ac_cs_recheck; then
16526
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16528
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16529
CONFIG_SHELL='$SHELL'
16530
export CONFIG_SHELL
16535
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16539
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16540
## Running $as_me. ##
16546
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16550
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16553
# The HP-UX ksh and POSIX shell print the target directory to stdout
16554
# if CDPATH is set.
16555
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16557
sed_quote_subst='$sed_quote_subst'
16558
double_quote_subst='$double_quote_subst'
16559
delay_variable_subst='$delay_variable_subst'
16560
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16561
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16562
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16563
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16564
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16565
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16566
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16567
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16568
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16569
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16570
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16571
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16572
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16573
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16574
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16575
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16576
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16577
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16578
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16579
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16580
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16581
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16582
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16583
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16584
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16585
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16586
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16587
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16588
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16589
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16590
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16591
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16592
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16593
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16594
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16595
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16596
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16597
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16598
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16599
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16600
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16601
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16602
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16603
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16604
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16605
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16606
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16607
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16608
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16609
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16610
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16611
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16612
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16613
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16614
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16615
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"`'
16616
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16617
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16618
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16619
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16620
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16621
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16622
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16623
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16624
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16625
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16626
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16627
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16628
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16629
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16630
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16631
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16632
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16633
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16634
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16635
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16636
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16637
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16638
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16639
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16640
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16641
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16642
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16643
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16644
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16645
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16646
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16647
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16648
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16649
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16650
hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
16651
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16652
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16653
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16654
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16655
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16656
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16657
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16658
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16659
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16660
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16661
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16662
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16663
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16664
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16665
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16666
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16667
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16668
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16669
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16670
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16671
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16672
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16673
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16674
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16675
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16676
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16677
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16678
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16679
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16680
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16681
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16682
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16683
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16684
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16685
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16686
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16687
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16688
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16689
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16692
LTCFLAGS='$LTCFLAGS'
16693
compiler='$compiler_DEFAULT'
16695
# A function that is used when there is no print builtin or printf.
16696
func_fallback_echo ()
16698
eval 'cat <<_LTECHO_EOF
16703
# Quote evaled strings.
16717
deplibs_check_method \
16722
sharedlib_from_linklib_cmd \
16725
archiver_list_spec \
16731
lt_cv_sys_global_symbol_pipe \
16732
lt_cv_sys_global_symbol_to_cdecl \
16733
lt_cv_sys_global_symbol_to_c_name_address \
16734
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16735
nm_file_list_spec \
16736
lt_prog_compiler_no_builtin_flag \
16737
lt_prog_compiler_pic \
16738
lt_prog_compiler_wl \
16739
lt_prog_compiler_static \
16740
lt_cv_prog_compiler_c_o \
16749
export_dynamic_flag_spec \
16750
whole_archive_flag_spec \
16751
compiler_needs_object \
16753
allow_undefined_flag \
16754
no_undefined_flag \
16755
hardcode_libdir_flag_spec \
16756
hardcode_libdir_flag_spec_ld \
16757
hardcode_libdir_separator \
16761
variables_saved_for_relink \
16763
library_names_spec \
16765
install_override_mode \
16769
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16770
*[\\\\\\\`\\"\\\$]*)
16771
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16774
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16779
# Double-quote double-evaled strings.
16780
for var in reload_cmds \
16781
old_postinstall_cmds \
16782
old_postuninstall_cmds \
16784
extract_expsyms_cmds \
16785
old_archive_from_new_cmds \
16786
old_archive_from_expsyms_cmds \
16788
archive_expsym_cmds \
16790
module_expsym_cmds \
16791
export_symbols_cmds \
16795
postuninstall_cmds \
16797
sys_lib_search_path_spec \
16798
sys_lib_dlsearch_path_spec; do
16799
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16800
*[\\\\\\\`\\"\\\$]*)
16801
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16804
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16809
ac_aux_dir='$ac_aux_dir'
16810
xsi_shell='$xsi_shell'
16811
lt_shell_append='$lt_shell_append'
16813
# See if we are running on zsh, and set the options which allow our
16814
# commands through without removal of \ escapes INIT.
16815
if test -n "\${ZSH_VERSION+set}" ; then
16816
setopt NO_GLOB_SUBST
16822
TIMESTAMP='$TIMESTAMP'
16832
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16834
# Handling of arguments.
16835
for ac_config_target in $ac_config_targets
16837
case $ac_config_target in
16838
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16839
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16840
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16841
"src/plugins/test/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/test/Makefile" ;;
16842
"src/plugins/tracker/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/tracker/Makefile" ;;
16843
"src/plugins/external/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/external/Makefile" ;;
16844
"src/plugins/mpris/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mpris/Makefile" ;;
16845
"src/plugins/playbin/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/playbin/Makefile" ;;
16846
"src/plugins/mediathek/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/mediathek/Makefile" ;;
16847
"src/plugins/media-export/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/media-export/Makefile" ;;
16848
"src/plugins/gst-launch/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/gst-launch/Makefile" ;;
16849
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
16850
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16851
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16852
"src/rygel/Makefile") CONFIG_FILES="$CONFIG_FILES src/rygel/Makefile" ;;
16853
"src/ui/Makefile") CONFIG_FILES="$CONFIG_FILES src/ui/Makefile" ;;
16854
"src/plugins/Makefile") CONFIG_FILES="$CONFIG_FILES src/plugins/Makefile" ;;
16855
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
16856
"data/xml/Makefile") CONFIG_FILES="$CONFIG_FILES data/xml/Makefile" ;;
16857
"data/icons/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/Makefile" ;;
16858
"data/icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/32x32/Makefile" ;;
16859
"data/icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/48x48/Makefile" ;;
16860
"data/icons/120x120/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/120x120/Makefile" ;;
16861
"data/icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES data/icons/scalable/Makefile" ;;
16862
"data/rygel.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rygel.desktop.in" ;;
16863
"data/rygel-preferences.desktop.in") CONFIG_FILES="$CONFIG_FILES data/rygel-preferences.desktop.in" ;;
16864
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16865
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16866
"rygel-1.0.pc") CONFIG_FILES="$CONFIG_FILES rygel-1.0.pc" ;;
16867
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
16868
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16870
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16875
# If the user did not use the arguments to specify the items to instantiate,
16876
# then the envvar interface is used. Set only those that are not.
16877
# We use the long form for the default assignment because of an extremely
16878
# bizarre bug on SunOS 4.1.3.
16879
if $ac_need_defaults; then
16880
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16881
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16882
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16885
# Have a temporary directory for convenience. Make it in the build tree
16886
# simply because there is no reason against having it here, and in addition,
16887
# creating and moving files from /tmp can sometimes cause problems.
16888
# Hook for its removal unless debugging.
16889
# Note that there is a small window in which the directory will not be cleaned:
16890
# after its creation but before its name has been assigned to `$tmp'.
16894
trap 'exit_status=$?
16895
: "${ac_tmp:=$tmp}"
16896
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16898
trap 'as_fn_exit 1' 1 2 13 15
16900
# Create a (secure) tmp directory for tmp files.
16903
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16907
tmp=./conf$$-$RANDOM
16908
(umask 077 && mkdir "$tmp")
16909
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16912
# Set up the scripts for CONFIG_FILES section.
16913
# No need to generate them if there are no CONFIG_FILES.
16914
# This happens for instance with `./config.status config.h'.
16915
if test -n "$CONFIG_FILES"; then
16918
ac_cr=`echo X | tr X '\015'`
16919
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16920
# But we know of no other shell where ac_cr would be empty at this
16921
# point, so we can use a bashism as a fallback.
16922
if test "x$ac_cr" = x; then
16923
eval ac_cr=\$\'\\r\'
16925
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16926
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16929
ac_cs_awk_cr=$ac_cr
16932
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16937
echo "cat >conf$$subs.awk <<_ACEOF" &&
16938
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16940
} >conf$$subs.sh ||
16941
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16942
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16944
for ac_last_try in false false false false false :; do
16945
. ./conf$$subs.sh ||
16946
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16948
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16949
if test $ac_delim_n = $ac_delim_num; then
16951
elif $ac_last_try; then
16952
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16954
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16957
rm -f conf$$subs.sh
16959
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16960
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16964
s/^/S["/; s/!.*/"]=/
16974
s/\(.\{148\}\)..*/\1/
16976
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16981
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16988
s/\(.\{148\}\)..*/\1/
16990
s/["\\]/\\&/g; s/^/"/; s/$/"/
16994
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16999
' <conf$$subs.awk | sed '
17004
' >>$CONFIG_STATUS || ac_write_fail=1
17005
rm -f conf$$subs.awk
17006
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17008
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17009
for (key in S) S_is_set[key] = 1
17015
nfields = split(line, field, "@")
17017
len = length(field[1])
17018
for (i = 2; i < nfields; i++) {
17020
keylen = length(key)
17021
if (S_is_set[key]) {
17023
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17024
len += length(value) + length(field[++i])
17035
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17036
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17037
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17040
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17041
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17044
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17045
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17046
# trailing colons and then remove the whole line if VPATH becomes empty
17047
# (actually we leave an empty line to preserve line numbers).
17048
if test "x$srcdir" = x.; then
17049
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17067
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17068
fi # test -n "$CONFIG_FILES"
17070
# Set up the scripts for CONFIG_HEADERS section.
17071
# No need to generate them if there are no CONFIG_HEADERS.
17072
# This happens for instance with `./config.status Makefile'.
17073
if test -n "$CONFIG_HEADERS"; then
17074
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17078
# Transform confdefs.h into an awk script `defines.awk', embedded as
17079
# here-document in config.status, that substitutes the proper values into
17080
# config.h.in to produce config.h.
17082
# Create a delimiter string that does not exist in confdefs.h, to ease
17083
# handling of long lines.
17085
for ac_last_try in false false :; do
17086
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17087
if test -z "$ac_tt"; then
17089
elif $ac_last_try; then
17090
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17092
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17096
# For the awk script, D is an array of macro values keyed by name,
17097
# likewise P contains macro parameters if any. Preserve backslash
17098
# newline sequences.
17100
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17102
s/.\{148\}/&'"$ac_delim"'/g
17105
s/^[ ]*#[ ]*define[ ][ ]*/ /
17112
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17114
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17118
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17119
D["\1"]=" \3\\\\\\n"\\/p
17121
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17126
s/.\{148\}/&'"$ac_delim"'/g
17131
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17134
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17136
' <confdefs.h | sed '
17137
s/'"$ac_delim"'/"\\\
17138
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17140
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17141
for (key in D) D_is_set[key] = 1
17144
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17146
split(line, arg, " ")
17147
if (arg[1] == "#") {
17151
defundef = substr(arg[1], 2)
17154
split(mac1, mac2, "(") #)
17156
prefix = substr(line, 1, index(line, defundef) - 1)
17157
if (D_is_set[macro]) {
17158
# Preserve the white space surrounding the "#".
17159
print prefix "define", macro P[macro] D[macro]
17162
# Replace #undef with comments. This is necessary, for example,
17163
# in the case of _POSIX_SOURCE, which is predefined and required
17164
# on some systems where configure will not decide to define it.
17165
if (defundef == "undef") {
17166
print "/*", prefix defundef, macro, "*/"
17174
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17175
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17176
fi # test -n "$CONFIG_HEADERS"
17179
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17184
:[FHLC]) ac_mode=$ac_tag; continue;;
17186
case $ac_mode$ac_tag in
17188
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17189
:[FH]-) ac_tag=-:-;;
17190
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17207
-) ac_f="$ac_tmp/stdin";;
17208
*) # Look for the file first in the build tree, then in the source tree
17209
# (if the path is not absolute). The absolute path cannot be DOS-style,
17210
# because $ac_f cannot contain `:'.
17214
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17216
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17218
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17219
as_fn_append ac_file_inputs " '$ac_f'"
17222
# Let's still pretend it is `configure' which instantiates (i.e., don't
17223
# use $as_me), people would be surprised to read:
17224
# /* config.h. Generated by config.status. */
17225
configure_input='Generated from '`
17226
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17228
if test x"$ac_file" != x-; then
17229
configure_input="$ac_file. $configure_input"
17230
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17231
$as_echo "$as_me: creating $ac_file" >&6;}
17233
# Neutralize special characters interpreted by sed in replacement strings.
17234
case $configure_input in #(
17235
*\&* | *\|* | *\\* )
17236
ac_sed_conf_input=`$as_echo "$configure_input" |
17237
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17238
*) ac_sed_conf_input=$configure_input;;
17242
*:-:* | *:-) cat >"$ac_tmp/stdin" \
17243
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17248
ac_dir=`$as_dirname -- "$ac_file" ||
17249
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17250
X"$ac_file" : 'X\(//\)[^/]' \| \
17251
X"$ac_file" : 'X\(//\)$' \| \
17252
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17253
$as_echo X"$ac_file" |
17254
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17258
/^X\(\/\/\)[^/].*/{
17271
as_dir="$ac_dir"; as_fn_mkdir_p
17275
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17277
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17278
# A ".." for each directory in $ac_dir_suffix.
17279
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17280
case $ac_top_builddir_sub in
17281
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17282
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17285
ac_abs_top_builddir=$ac_pwd
17286
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17287
# for backward compatibility:
17288
ac_top_builddir=$ac_top_build_prefix
17291
.) # We are building in place.
17293
ac_top_srcdir=$ac_top_builddir_sub
17294
ac_abs_top_srcdir=$ac_pwd ;;
17295
[\\/]* | ?:[\\/]* ) # Absolute name.
17296
ac_srcdir=$srcdir$ac_dir_suffix;
17297
ac_top_srcdir=$srcdir
17298
ac_abs_top_srcdir=$srcdir ;;
17299
*) # Relative name.
17300
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17301
ac_top_srcdir=$ac_top_build_prefix$srcdir
17302
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17304
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17314
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17315
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17317
ac_MKDIR_P=$MKDIR_P
17319
[\\/$]* | ?:[\\/]* ) ;;
17320
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17324
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17325
# If the template does not know about datarootdir, expand it.
17326
# FIXME: This hack should be removed a few years after 2.60.
17327
ac_datarootdir_hack=; ac_datarootdir_seen=
17338
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17339
*datarootdir*) ac_datarootdir_seen=yes;;
17340
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17341
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17342
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17344
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17345
ac_datarootdir_hack='
17346
s&@datadir@&$datadir&g
17347
s&@docdir@&$docdir&g
17348
s&@infodir@&$infodir&g
17349
s&@localedir@&$localedir&g
17350
s&@mandir@&$mandir&g
17351
s&\\\${datarootdir}&$datarootdir&g' ;;
17355
# Neutralize VPATH when `$srcdir' = `.'.
17356
# Shell code in configure.ac might set extrasub.
17357
# FIXME: do we really want to maintain this feature?
17358
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17359
ac_sed_extra="$ac_vpsub
17362
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17364
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17365
s|@configure_input@|$ac_sed_conf_input|;t t
17366
s&@top_builddir@&$ac_top_builddir_sub&;t t
17367
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17368
s&@srcdir@&$ac_srcdir&;t t
17369
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17370
s&@top_srcdir@&$ac_top_srcdir&;t t
17371
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17372
s&@builddir@&$ac_builddir&;t t
17373
s&@abs_builddir@&$ac_abs_builddir&;t t
17374
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17375
s&@INSTALL@&$ac_INSTALL&;t t
17376
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17377
$ac_datarootdir_hack
17379
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17380
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17382
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17383
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17384
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17385
"$ac_tmp/out"`; test -z "$ac_out"; } &&
17386
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17387
which seems to be undefined. Please make sure it is defined" >&5
17388
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17389
which seems to be undefined. Please make sure it is defined" >&2;}
17391
rm -f "$ac_tmp/stdin"
17393
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17394
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17396
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17402
if test x"$ac_file" != x-; then
17404
$as_echo "/* $configure_input */" \
17405
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17406
} >"$ac_tmp/config.h" \
17407
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17408
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17409
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17410
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17413
mv "$ac_tmp/config.h" "$ac_file" \
17414
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17417
$as_echo "/* $configure_input */" \
17418
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17419
|| as_fn_error $? "could not create -" "$LINENO" 5
17421
# Compute "$ac_file"'s index in $config_headers.
17424
for _am_header in $config_headers :; do
17425
case $_am_header in
17426
$_am_arg | $_am_arg:* )
17429
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17432
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17433
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17434
X"$_am_arg" : 'X\(//\)[^/]' \| \
17435
X"$_am_arg" : 'X\(//\)$' \| \
17436
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17437
$as_echo X"$_am_arg" |
17438
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17442
/^X\(\/\/\)[^/].*/{
17454
s/.*/./; q'`/stamp-h$_am_stamp_count
17457
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17458
$as_echo "$as_me: executing $ac_file commands" >&6;}
17463
case $ac_file$ac_mode in
17464
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17465
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17466
# are listed without --file. Let's play safe and only enable the eval
17467
# if we detect the quoting.
17468
case $CONFIG_FILES in
17469
*\'*) eval set x "$CONFIG_FILES" ;;
17470
*) set x $CONFIG_FILES ;;
17475
# Strip MF so we end up with the name of the file.
17476
mf=`echo "$mf" | sed -e 's/:.*$//'`
17477
# Check whether this is an Automake generated Makefile or not.
17478
# We used to match only the files named `Makefile.in', but
17479
# some people rename them; so instead we look at the file content.
17480
# Grep'ing the first line is not enough: some people post-process
17481
# each Makefile.in and add a new line on top of each file to say so.
17482
# Grep'ing the whole file is not good either: AIX grep has a line
17483
# limit of 2048, but all sed's we know have understand at least 4000.
17484
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17485
dirpart=`$as_dirname -- "$mf" ||
17486
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17487
X"$mf" : 'X\(//\)[^/]' \| \
17488
X"$mf" : 'X\(//\)$' \| \
17489
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17491
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17495
/^X\(\/\/\)[^/].*/{
17511
# Extract the definition of DEPDIR, am__include, and am__quote
17512
# from the Makefile without running `make'.
17513
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17514
test -z "$DEPDIR" && continue
17515
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17516
test -z "am__include" && continue
17517
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17518
# When using ansi2knr, U may be empty or an underscore; expand it
17519
U=`sed -n 's/^U = //p' < "$mf"`
17520
# Find all dependency output files, they are included files with
17521
# $(DEPDIR) in their names. We invoke sed twice because it is the
17522
# simplest approach to changing $(DEPDIR) to its actual value in the
17524
for file in `sed -n "
17525
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17526
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17527
# Make sure the directory exists.
17528
test -f "$dirpart/$file" && continue
17529
fdir=`$as_dirname -- "$file" ||
17530
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17531
X"$file" : 'X\(//\)[^/]' \| \
17532
X"$file" : 'X\(//\)$' \| \
17533
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17534
$as_echo X"$file" |
17535
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17539
/^X\(\/\/\)[^/].*/{
17552
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17553
# echo "creating $dirpart/$file"
17554
echo '# dummy' > "$dirpart/$file"
17561
# See if we are running on zsh, and set the options which allow our
17562
# commands through without removal of \ escapes.
17563
if test -n "${ZSH_VERSION+set}" ; then
17564
setopt NO_GLOB_SUBST
17567
cfgfile="${ofile}T"
17568
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17571
cat <<_LT_EOF >> "$cfgfile"
17574
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17575
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17576
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17577
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17579
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17580
# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17582
# Written by Gordon Matzigkeit, 1996
17584
# This file is part of GNU Libtool.
17586
# GNU Libtool is free software; you can redistribute it and/or
17587
# modify it under the terms of the GNU General Public License as
17588
# published by the Free Software Foundation; either version 2 of
17589
# the License, or (at your option) any later version.
17591
# As a special exception to the GNU General Public License,
17592
# if you distribute this file as part of a program or library that
17593
# is built using GNU Libtool, you may include this file under the
17594
# same distribution terms that you use for the rest of that program.
17596
# GNU Libtool is distributed in the hope that it will be useful,
17597
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17598
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17599
# GNU General Public License for more details.
17601
# You should have received a copy of the GNU General Public License
17602
# along with GNU Libtool; see the file COPYING. If not, a copy
17603
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17604
# obtained by writing to the Free Software Foundation, Inc.,
17605
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17608
# The names of the tagged configurations supported by this script.
17611
# ### BEGIN LIBTOOL CONFIG
17613
# Which release of libtool.m4 was used?
17614
macro_version=$macro_version
17615
macro_revision=$macro_revision
17617
# Whether or not to build static libraries.
17618
build_old_libs=$enable_static
17620
# Whether or not to build shared libraries.
17621
build_libtool_libs=$enable_shared
17623
# What type of objects to build.
17626
# Whether or not to optimize for fast installation.
17627
fast_install=$enable_fast_install
17629
# Shell to use when invoking shell scripts.
17632
# An echo program that protects backslashes.
17636
host_alias=$host_alias
17640
# The build system.
17641
build_alias=$build_alias
17645
# A sed program that does not truncate output.
17648
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17649
Xsed="\$SED -e 1s/^X//"
17651
# A grep program that handles long lines.
17657
# A literal string matcher.
17660
# A BSD- or MS-compatible name lister.
17663
# Whether we need soft or hard links.
17666
# What is the maximum length of a command?
17667
max_cmd_len=$max_cmd_len
17669
# Object file suffix (normally "o").
17672
# Executable file suffix (normally "").
17675
# whether the shell understands "unset".
17678
# turn spaces into newlines.
17681
# turn newlines into spaces.
17684
# convert \$build file names to \$host format.
17685
to_host_file_cmd=$lt_cv_to_host_file_cmd
17687
# convert \$build files to toolchain format.
17688
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17690
# An object symbol dumper.
17691
OBJDUMP=$lt_OBJDUMP
17693
# Method to check whether dependent libraries are shared objects.
17694
deplibs_check_method=$lt_deplibs_check_method
17696
# Command to use when deplibs_check_method = "file_magic".
17697
file_magic_cmd=$lt_file_magic_cmd
17699
# How to find potential files when deplibs_check_method = "file_magic".
17700
file_magic_glob=$lt_file_magic_glob
17702
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17703
want_nocaseglob=$lt_want_nocaseglob
17705
# DLL creation program.
17706
DLLTOOL=$lt_DLLTOOL
17708
# Command to associate shared and link libraries.
17709
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17714
# Flags to create an archive.
17715
AR_FLAGS=$lt_AR_FLAGS
17717
# How to feed a file listing to the archiver.
17718
archiver_list_spec=$lt_archiver_list_spec
17720
# A symbol stripping program.
17723
# Commands used to install an old-style archive.
17725
old_postinstall_cmds=$lt_old_postinstall_cmds
17726
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17728
# Whether to use a lock for old archive extraction.
17729
lock_old_archive_extraction=$lock_old_archive_extraction
17734
# LTCC compiler flags.
17735
LTCFLAGS=$lt_CFLAGS
17737
# Take the output of nm and produce a listing of raw symbols and C names.
17738
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17740
# Transform the output of nm in a proper C declaration.
17741
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17743
# Transform the output of nm in a C name address pair.
17744
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17746
# Transform the output of nm in a C name address pair when lib prefix is needed.
17747
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17749
# Specify filename containing input files for \$NM.
17750
nm_file_list_spec=$lt_nm_file_list_spec
17752
# The root where to search for dependent libraries,and in which our libraries should be installed.
17753
lt_sysroot=$lt_sysroot
17755
# The name of the directory that contains temporary libtool files.
17758
# Used to examine libraries when file_magic_cmd begins with "file".
17759
MAGIC_CMD=$MAGIC_CMD
17761
# Must we lock files when doing compilation?
17762
need_locks=$lt_need_locks
17765
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17767
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17768
DSYMUTIL=$lt_DSYMUTIL
17770
# Tool to change global to local symbols on Mac OS X.
17773
# Tool to manipulate fat objects and archives on Mac OS X.
17776
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17779
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17780
OTOOL64=$lt_OTOOL64
17782
# Old archive suffix (normally "a").
17785
# Shared library suffix (normally ".so").
17786
shrext_cmds=$lt_shrext_cmds
17788
# The commands to extract the exported symbol list from a shared archive.
17789
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17791
# Variables whose values should be saved in libtool wrapper scripts and
17792
# restored at link time.
17793
variables_saved_for_relink=$lt_variables_saved_for_relink
17795
# Do we need the "lib" prefix for modules?
17796
need_lib_prefix=$need_lib_prefix
17798
# Do we need a version for libraries?
17799
need_version=$need_version
17801
# Library versioning type.
17802
version_type=$version_type
17804
# Shared library runtime path variable.
17805
runpath_var=$runpath_var
17807
# Shared library path variable.
17808
shlibpath_var=$shlibpath_var
17810
# Is shlibpath searched before the hard-coded library search path?
17811
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17813
# Format of library name prefix.
17814
libname_spec=$lt_libname_spec
17816
# List of archive names. First name is the real one, the rest are links.
17817
# The last name is the one that the linker finds with -lNAME
17818
library_names_spec=$lt_library_names_spec
17820
# The coded name of the library, if different from the real name.
17821
soname_spec=$lt_soname_spec
17823
# Permission mode override for installation of shared libraries.
17824
install_override_mode=$lt_install_override_mode
17826
# Command to use after installation of a shared archive.
17827
postinstall_cmds=$lt_postinstall_cmds
17829
# Command to use after uninstallation of a shared archive.
17830
postuninstall_cmds=$lt_postuninstall_cmds
17832
# Commands used to finish a libtool library installation in a directory.
17833
finish_cmds=$lt_finish_cmds
17835
# As "finish_cmds", except a single script fragment to be evaled but
17837
finish_eval=$lt_finish_eval
17839
# Whether we should hardcode library paths into libraries.
17840
hardcode_into_libs=$hardcode_into_libs
17842
# Compile-time system search path for libraries.
17843
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17845
# Run-time system search path for libraries.
17846
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17848
# Whether dlopen is supported.
17849
dlopen_support=$enable_dlopen
17851
# Whether dlopen of programs is supported.
17852
dlopen_self=$enable_dlopen_self
17854
# Whether dlopen of statically linked programs is supported.
17855
dlopen_self_static=$enable_dlopen_self_static
17857
# Commands to strip libraries.
17858
old_striplib=$lt_old_striplib
17859
striplib=$lt_striplib
17862
# The linker used to build libraries.
17865
# How to create reloadable object files.
17866
reload_flag=$lt_reload_flag
17867
reload_cmds=$lt_reload_cmds
17869
# Commands used to build an old-style archive.
17870
old_archive_cmds=$lt_old_archive_cmds
17872
# A language specific compiler.
17875
# Is the compiler the GNU compiler?
17878
# Compiler flag to turn off builtin functions.
17879
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17881
# Additional compiler flags for building library objects.
17882
pic_flag=$lt_lt_prog_compiler_pic
17884
# How to pass a linker flag through the compiler.
17885
wl=$lt_lt_prog_compiler_wl
17887
# Compiler flag to prevent dynamic linking.
17888
link_static_flag=$lt_lt_prog_compiler_static
17890
# Does compiler simultaneously support -c and -o options?
17891
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17893
# Whether or not to add -lc for building shared libraries.
17894
build_libtool_need_lc=$archive_cmds_need_lc
17896
# Whether or not to disallow shared libs when runtime libs are static.
17897
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17899
# Compiler flag to allow reflexive dlopens.
17900
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17902
# Compiler flag to generate shared objects directly from archives.
17903
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17905
# Whether the compiler copes with passing no objects directly.
17906
compiler_needs_object=$lt_compiler_needs_object
17908
# Create an old-style archive from a shared archive.
17909
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17911
# Create a temporary old-style archive to link instead of a shared archive.
17912
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17914
# Commands used to build a shared archive.
17915
archive_cmds=$lt_archive_cmds
17916
archive_expsym_cmds=$lt_archive_expsym_cmds
17918
# Commands used to build a loadable module if different from building
17919
# a shared archive.
17920
module_cmds=$lt_module_cmds
17921
module_expsym_cmds=$lt_module_expsym_cmds
17923
# Whether we are building with GNU ld or not.
17924
with_gnu_ld=$lt_with_gnu_ld
17926
# Flag that allows shared libraries with undefined symbols to be built.
17927
allow_undefined_flag=$lt_allow_undefined_flag
17929
# Flag that enforces no undefined symbols.
17930
no_undefined_flag=$lt_no_undefined_flag
17932
# Flag to hardcode \$libdir into a binary during linking.
17933
# This must work even if \$libdir does not exist
17934
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17936
# If ld is used when linking, flag to hardcode \$libdir into a binary
17937
# during linking. This must work even if \$libdir does not exist.
17938
hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
17940
# Whether we need a single "-rpath" flag with a separated argument.
17941
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17943
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17944
# DIR into the resulting binary.
17945
hardcode_direct=$hardcode_direct
17947
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17948
# DIR into the resulting binary and the resulting library dependency is
17949
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17950
# library is relocated.
17951
hardcode_direct_absolute=$hardcode_direct_absolute
17953
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17954
# into the resulting binary.
17955
hardcode_minus_L=$hardcode_minus_L
17957
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17958
# into the resulting binary.
17959
hardcode_shlibpath_var=$hardcode_shlibpath_var
17961
# Set to "yes" if building a shared library automatically hardcodes DIR
17962
# into the library and all subsequent libraries and executables linked
17964
hardcode_automatic=$hardcode_automatic
17966
# Set to yes if linker adds runtime paths of dependent libraries
17967
# to runtime path list.
17968
inherit_rpath=$inherit_rpath
17970
# Whether libtool must link a program against all its dependency libraries.
17971
link_all_deplibs=$link_all_deplibs
17973
# Set to "yes" if exported symbols are required.
17974
always_export_symbols=$always_export_symbols
17976
# The commands to list exported symbols.
17977
export_symbols_cmds=$lt_export_symbols_cmds
17979
# Symbols that should not be listed in the preloaded symbols.
17980
exclude_expsyms=$lt_exclude_expsyms
17982
# Symbols that must always be exported.
17983
include_expsyms=$lt_include_expsyms
17985
# Commands necessary for linking programs (against libraries) with templates.
17986
prelink_cmds=$lt_prelink_cmds
17988
# Commands necessary for finishing linking programs.
17989
postlink_cmds=$lt_postlink_cmds
17991
# Specify filename containing input files.
17992
file_list_spec=$lt_file_list_spec
17994
# How to hardcode a shared library path into an executable.
17995
hardcode_action=$hardcode_action
17997
# ### END LIBTOOL CONFIG
18003
cat <<\_LT_EOF >> "$cfgfile"
18004
# AIX sometimes has problems with the GCC collect2 program. For some
18005
# reason, if we set the COLLECT_NAMES environment variable, the problems
18006
# vanish in a puff of smoke.
18007
if test "X${COLLECT_NAMES+set}" != Xset; then
18009
export COLLECT_NAMES
18016
ltmain="$ac_aux_dir/ltmain.sh"
18019
# We use sed instead of cat because bash on DJGPP gets confused if
18020
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18021
# text mode, it properly converts lines to CR/LF. This bash problem
18022
# is reportedly fixed, but why not run on old versions too?
18023
sed '$q' "$ltmain" >> "$cfgfile" \
18024
|| (rm -f "$cfgfile"; exit 1)
18026
if test x"$xsi_shell" = xyes; then
18027
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18031
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18032
\ * ) func_dirname_result="${3}" ;;\
18034
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18035
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18036
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18037
test 0 -eq $? || _lt_function_replace_fail=:
18040
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18043
\ func_basename_result="${1##*/}"\
18044
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18045
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18046
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18047
test 0 -eq $? || _lt_function_replace_fail=:
18050
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18051
func_dirname_and_basename ()\
18054
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18055
\ * ) func_dirname_result="${3}" ;;\
18057
\ func_basename_result="${1##*/}"\
18058
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18059
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18060
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18061
test 0 -eq $? || _lt_function_replace_fail=:
18064
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18067
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18068
\ # positional parameters, so assign one to ordinary parameter first.\
18069
\ func_stripname_result=${3}\
18070
\ func_stripname_result=${func_stripname_result#"${1}"}\
18071
\ func_stripname_result=${func_stripname_result%"${2}"}\
18072
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18073
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18074
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18075
test 0 -eq $? || _lt_function_replace_fail=:
18078
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18079
func_split_long_opt ()\
18081
\ func_split_long_opt_name=${1%%=*}\
18082
\ func_split_long_opt_arg=${1#*=}\
18083
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18084
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18085
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18086
test 0 -eq $? || _lt_function_replace_fail=:
18089
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18090
func_split_short_opt ()\
18092
\ func_split_short_opt_arg=${1#??}\
18093
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18094
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18095
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18096
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18097
test 0 -eq $? || _lt_function_replace_fail=:
18100
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18104
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18105
\ *) func_lo2o_result=${1} ;;\
18107
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18108
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18109
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18110
test 0 -eq $? || _lt_function_replace_fail=:
18113
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18116
func_xform_result=${1%.*}.lo\
18117
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18118
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18119
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18120
test 0 -eq $? || _lt_function_replace_fail=:
18123
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18126
func_arith_result=$(( $* ))\
18127
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18128
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18129
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18130
test 0 -eq $? || _lt_function_replace_fail=:
18133
sed -e '/^func_len ()$/,/^} # func_len /c\
18136
func_len_result=${#1}\
18137
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18138
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18139
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18140
test 0 -eq $? || _lt_function_replace_fail=:
18144
if test x"$lt_shell_append" = xyes; then
18145
sed -e '/^func_append ()$/,/^} # func_append /c\
18148
eval "${1}+=\\${2}"\
18149
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18150
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18151
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18152
test 0 -eq $? || _lt_function_replace_fail=:
18155
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18156
func_append_quoted ()\
18158
\ func_quote_for_eval "${2}"\
18159
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18160
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18161
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18162
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18163
test 0 -eq $? || _lt_function_replace_fail=:
18166
# Save a `func_append' function call where possible by direct use of '+='
18167
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18168
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18169
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18170
test 0 -eq $? || _lt_function_replace_fail=:
18172
# Save a `func_append' function call even when '+=' is not available
18173
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18174
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18175
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18176
test 0 -eq $? || _lt_function_replace_fail=:
18179
if test x"$_lt_function_replace_fail" = x":"; then
18180
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18181
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18185
mv -f "$cfgfile" "$ofile" ||
18186
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18190
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
18191
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
18194
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18195
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18197
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18202
'"s|^| $ac_top_srcdir/|" \
18203
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18205
sed '/^POTFILES =/,/[^\\]$/ {
18209
' "po/Makefile.in" >"po/Makefile"
18210
rm -f "po/Makefile.tmp"
18211
mv "po/stamp-it.tmp" "po/stamp-it"
18220
ac_clean_files=$ac_clean_files_save
18222
test $ac_write_fail = 0 ||
18223
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18226
# configure is writing to config.log, and then calls config.status.
18227
# config.status does its own redirection, appending to config.log.
18228
# Unfortunately, on DOS this fails, as config.log is still kept open
18229
# by configure, so config.status won't be able to write to it; its
18230
# output is simply discarded. So we exec the FD to /dev/null,
18231
# effectively closing config.log, so it can be properly (re)opened and
18232
# appended to by config.status. When coming back to configure, we
18233
# need to make the FD available again.
18234
if test "$no_create" != yes; then
18236
ac_config_status_args=
18237
test "$silent" = yes &&
18238
ac_config_status_args="$ac_config_status_args --quiet"
18240
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18242
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18243
# would make configure fail if this is the last instruction.
18244
$ac_cs_success || as_fn_exit 1
18246
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18247
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18248
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18254
${PACKAGE} ${VERSION}
18259
Source code location: ${srcdir}
18262
VALAFLAGS: ${VALAFLAGS}
18263
uninstalled: ${enable_uninstalled}
18264
preferences ui: ${BUILD_UI}
18266
test: ${enable_test_plugin}
18267
tracker: ${enable_tracker_plugin}
18268
mediathek: ${enable_mediathek_plugin}
18269
media-export ${enable_media_export_plugin}
18270
external: ${enable_external_plugin}
18271
MPRIS2: ${enable_mpris_plugin}
18272
gst-launch: ${enable_gst_launch_plugin}
18273
playbin: ${enable_playbin_plugin}