2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for unity-lens-music 6.6.0.
5
# Report bugs to <https://launchpad.net/unity-lens-music>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
14
# Copyright 2011-2012 Canonical
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
# Use a proper internal environment variable to ensure we don't fall
140
# into an infinite loop, continuously re-executing ourselves.
141
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142
_as_can_reexec=no; export _as_can_reexec;
143
# We cannot yet assume a decent shell, so we have to provide a
144
# neutralization value for shells without unset; and this also
145
# works around shells that cannot unset nonexistent variables.
146
# Preserve -v and -x to the replacement shell.
149
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
151
*v*x* | *x*v* ) as_opts=-vx ;;
156
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157
# Admittedly, this is quite paranoid, since all the known shells bail
158
# out after a failed `exec'.
159
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162
# We don't want this to propagate to other subprocesses.
163
{ _as_can_reexec=; unset _as_can_reexec;}
164
if test "x$CONFIG_SHELL" = x; then
165
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169
# is contrary to our usage. Disable this feature.
170
alias -g '\${1+\"\$@\"}'='\"\$@\"'
173
case \`(set -o) 2>/dev/null\` in #(
181
as_required="as_fn_return () { (exit \$1); }
182
as_fn_success () { as_fn_return 0; }
183
as_fn_failure () { as_fn_return 1; }
184
as_fn_ret_success () { return 0; }
185
as_fn_ret_failure () { return 1; }
188
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195
exitcode=1; echo positional parameters were not saved.
197
test x\$exitcode = x0 || exit 1
199
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
203
test \$(( 1 + 1 )) = 2 || exit 1
205
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
206
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
207
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
209
PATH=/empty FPATH=/empty; export PATH FPATH
210
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
211
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
212
if (eval "$as_required") 2>/dev/null; then :
217
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
229
for as_base in sh bash ksh sh5; do
230
# Try only shells that exist, to save several forks.
231
as_shell=$as_dir/$as_base
232
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234
CONFIG_SHELL=$as_shell as_have_required=yes
235
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
243
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245
CONFIG_SHELL=$SHELL as_have_required=yes
250
if test "x$CONFIG_SHELL" != x; then :
252
# We cannot yet assume a decent shell, so we have to provide a
253
# neutralization value for shells without unset; and this also
254
# works around shells that cannot unset nonexistent variables.
255
# Preserve -v and -x to the replacement shell.
258
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
260
*v*x* | *x*v* ) as_opts=-vx ;;
265
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266
# Admittedly, this is quite paranoid, since all the known shells bail
267
# out after a failed `exec'.
268
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272
if test x$as_have_required = xno; then :
273
$as_echo "$0: This script requires a shell more modern than all"
274
$as_echo "$0: the shells that I found on your system."
275
if test x${ZSH_VERSION+set} = xset ; then
276
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
279
$as_echo "$0: Please tell bug-autoconf@gnu.org and
280
$0: https://launchpad.net/unity-lens-music about your
281
$0: system, including any error possibly output before this
282
$0: message. Then install a modern shell, or manually run
283
$0: the script under such a shell if you do have one."
289
SHELL=${CONFIG_SHELL-/bin/sh}
291
# Unset more variables known to interfere with behavior of common tools.
292
CLICOLOR_FORCE= GREP_OPTIONS=
293
unset CLICOLOR_FORCE GREP_OPTIONS
295
## --------------------- ##
296
## M4sh Shell Functions. ##
297
## --------------------- ##
300
# Portably unset VAR.
303
{ eval $1=; unset $1;}
307
# as_fn_set_status STATUS
308
# -----------------------
309
# Set $? to STATUS, without forking.
317
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327
# Create "$as_dir" as a directory, including parents if necessary.
332
-*) as_dir=./$as_dir;;
334
test -d "$as_dir" || eval $as_mkdir_p || {
338
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341
as_dirs="'$as_qdir' $as_dirs"
342
as_dir=`$as_dirname -- "$as_dir" ||
343
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344
X"$as_dir" : 'X\(//\)[^/]' \| \
345
X"$as_dir" : 'X\(//\)$' \| \
346
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347
$as_echo X"$as_dir" |
348
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365
test -d "$as_dir" && break
367
test -z "$as_dirs" || eval "mkdir $as_dirs"
368
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
373
# as_fn_executable_p FILE
374
# -----------------------
375
# Test if FILE is an executable regular file.
376
as_fn_executable_p ()
378
test -f "$1" && test -x "$1"
379
} # as_fn_executable_p
380
# as_fn_append VAR VALUE
381
# ----------------------
382
# Append the text in VALUE to the end of the definition contained in VAR. Take
383
# advantage of any shell optimizations that allow amortized linear growth over
384
# repeated appends, instead of the typical quadratic growth present in naive
386
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387
eval 'as_fn_append ()
400
# Perform arithmetic evaluation on the ARGs, and store the result in the
401
# global $as_val. Take advantage of shells that can avoid forks. The arguments
402
# must be portable across $(()) and expr.
403
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
411
as_val=`expr "$@" || test $? -eq 1`
416
# as_fn_error STATUS ERROR [LINENO LOG_FD]
417
# ----------------------------------------
418
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420
# script with STATUS, using 1 if that was 0.
423
as_status=$1; test $as_status -eq 0 && as_status=1
425
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428
$as_echo "$as_me: error: $2" >&2
429
as_fn_exit $as_status
432
if expr a : '\(a\)' >/dev/null 2>&1 &&
433
test "X`expr 00001 : '.*\(...\)'`" = X001; then
439
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
451
as_me=`$as_basename -- "$0" ||
452
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453
X"$0" : 'X\(//\)$' \| \
454
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456
sed '/^.*\/\([^/][^/]*\)\/*$/{
470
# Avoid depending upon Character Ranges.
471
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474
as_cr_digits='0123456789'
475
as_cr_alnum=$as_cr_Letters$as_cr_digits
478
as_lineno_1=$LINENO as_lineno_1a=$LINENO
479
as_lineno_2=$LINENO as_lineno_2a=$LINENO
480
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498
chmod +x "$as_me.lineno" ||
499
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
501
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502
# already done that, so ensure we don't try to do so again and fall
503
# in an infinite loop. This has already happened in practice.
504
_as_can_reexec=no; export _as_can_reexec
505
# Don't try to exec as it changes $[0], causing all sort of problems
506
# (the dirname of $[0] is not the place where we might find the
507
# original and so on. Autoconf is especially sensitive to this).
509
# Exit status is that of the last command.
513
ECHO_C= ECHO_N= ECHO_T=
514
case `echo -n x` in #(((((
516
case `echo 'xy\c'` in
517
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
519
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
526
rm -f conf$$ conf$$.exe conf$$.file
527
if test -d conf$$.dir; then
528
rm -f conf$$.dir/conf$$.file
531
mkdir conf$$.dir 2>/dev/null
533
if (echo >conf$$.file) 2>/dev/null; then
534
if ln -s conf$$.file conf$$ 2>/dev/null; then
536
# ... but there are two gotchas:
537
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539
# In both cases, we have to default to `cp -pR'.
540
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
542
elif ln conf$$.file conf$$ 2>/dev/null; then
550
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551
rmdir conf$$.dir 2>/dev/null
553
if mkdir -p . 2>/dev/null; then
554
as_mkdir_p='mkdir -p "$as_dir"'
556
test -d ./-p && rmdir ./-p
561
as_executable_p=as_fn_executable_p
563
# Sed expression to map a string onto a valid CPP name.
564
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566
# Sed expression to map a string onto a valid variable name.
567
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570
# Use only awk features that work with 7th edition Unix awk (1978).
571
# My, what an old awk you have, Mr. Solaris!
573
while (length(v1) && length(v2)) {
574
# Set d1 to be the next thing to compare from v1, and likewise for d2.
575
# Normally this is a single character, but if v1 and v2 contain digits,
576
# compare them as integers and fractions as strverscmp does.
577
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578
# Split v1 and v2 into their leading digit string components d1 and d2,
579
# and advance v1 and v2 past the leading digit strings.
580
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
586
# Compare two fractions.
587
while (d1 ~ /^0/ && d2 ~ /^0/) {
588
d1 = substr(d1, 2); len1--
589
d2 = substr(d2, 2); len2--
591
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592
# The two components differ in length, and the common prefix
593
# contains only leading zeros. Consider the longer to be less.
597
# Otherwise, compare as strings.
602
# A fraction is less than an integer.
607
# An integer is greater than a fraction.
610
# Compare two integers.
616
# The normal case, without worrying about digits.
617
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
623
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624
# which mishandles some comparisons of empty strings to integers.
625
if (length(v2)) exit 1
626
if (length(v1)) exit 2
629
SHELL=${CONFIG_SHELL-/bin/sh}
632
test -n "$DJDIR" || exec 7<&0 </dev/null
636
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
637
# so uname gets run too.
638
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
643
ac_default_prefix=/usr/local
645
ac_config_libobj_dir=.
652
# Identity of this package.
653
PACKAGE_NAME='unity-lens-music'
654
PACKAGE_TARNAME='unity-lens-music'
655
PACKAGE_VERSION='6.6.0'
656
PACKAGE_STRING='unity-lens-music 6.6.0'
657
PACKAGE_BUGREPORT='https://launchpad.net/unity-lens-music'
660
# Factoring default headers for most tests.
661
ac_includes_default="\
663
#ifdef HAVE_SYS_TYPES_H
664
# include <sys/types.h>
666
#ifdef HAVE_SYS_STAT_H
667
# include <sys/stat.h>
673
# ifdef HAVE_STDLIB_H
678
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
683
#ifdef HAVE_STRINGS_H
684
# include <strings.h>
686
#ifdef HAVE_INTTYPES_H
687
# include <inttypes.h>
696
ac_subst_vars='am__EXEEXT_FALSE
704
HAVE_LOCALINSTALL_FALSE
705
HAVE_LOCALINSTALL_TRUE
707
PREVIEW_PLAYER_CFLAGS
718
INTLTOOL_SERVICE_RULE
720
INTLTOOL_SCHEMAS_RULE
722
INTLTOOL_XML_NOMERGE_RULE
727
INTLTOOL_SOUNDLIST_RULE
734
INTLTOOL_DIRECTORY_RULE
735
INTLTOOL_DESKTOP_RULE
736
intltool__v_merge_options_0
737
intltool__v_merge_options_
738
INTLTOOL_V_MERGE_OPTIONS
761
CONFIG_STATUS_DEPENDENCIES
812
MAINTAINER_MODE_FALSE
826
INSTALL_STRIP_PROGRAM
868
program_transform_name
881
enable_option_checking
883
enable_maintainer_mode
884
enable_dependency_tracking
895
ac_precious_vars='build_alias
909
PREVIEW_PLAYER_CFLAGS
913
# Initialize some variables set by options.
915
ac_init_version=false
916
ac_unrecognized_opts=
918
# The variables have the same names as the options, with
919
# dashes changed to underlines.
927
program_transform_name=s,x,x,
935
# Installation directory options.
936
# These are left unexpanded so users can "make install exec_prefix=/foo"
937
# and all the variables that are supposed to be based on exec_prefix
938
# by default will actually change.
939
# Use braces instead of parens because sh, perl, etc. also accept them.
940
# (The list follows the same order as the GNU Coding Standards.)
941
bindir='${exec_prefix}/bin'
942
sbindir='${exec_prefix}/sbin'
943
libexecdir='${exec_prefix}/libexec'
944
datarootdir='${prefix}/share'
945
datadir='${datarootdir}'
946
sysconfdir='${prefix}/etc'
947
sharedstatedir='${prefix}/com'
948
localstatedir='${prefix}/var'
949
includedir='${prefix}/include'
950
oldincludedir='/usr/include'
951
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
952
infodir='${datarootdir}/info'
957
libdir='${exec_prefix}/lib'
958
localedir='${datarootdir}/locale'
959
mandir='${datarootdir}/man'
965
# If the previous option needs an argument, assign it.
966
if test -n "$ac_prev"; then
967
eval $ac_prev=\$ac_option
973
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978
# Accept the important Cygnus configure options, so we can diagnose typos.
980
case $ac_dashdash$ac_option in
984
-bindir | --bindir | --bindi | --bind | --bin | --bi)
986
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989
-build | --build | --buil | --bui | --bu)
990
ac_prev=build_alias ;;
991
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
992
build_alias=$ac_optarg ;;
994
-cache-file | --cache-file | --cache-fil | --cache-fi \
995
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996
ac_prev=cache_file ;;
997
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999
cache_file=$ac_optarg ;;
1001
--config-cache | -C)
1002
cache_file=config.cache ;;
1004
-datadir | --datadir | --datadi | --datad)
1006
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1007
datadir=$ac_optarg ;;
1009
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010
| --dataroo | --dataro | --datar)
1011
ac_prev=datarootdir ;;
1012
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014
datarootdir=$ac_optarg ;;
1016
-disable-* | --disable-*)
1017
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018
# Reject names that are not valid shell variable names.
1019
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020
as_fn_error $? "invalid feature name: $ac_useropt"
1021
ac_useropt_orig=$ac_useropt
1022
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023
case $ac_user_opts in
1025
"enable_$ac_useropt"
1027
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028
ac_unrecognized_sep=', ';;
1030
eval enable_$ac_useropt=no ;;
1032
-docdir | --docdir | --docdi | --doc | --do)
1034
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035
docdir=$ac_optarg ;;
1037
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1039
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040
dvidir=$ac_optarg ;;
1042
-enable-* | --enable-*)
1043
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044
# Reject names that are not valid shell variable names.
1045
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046
as_fn_error $? "invalid feature name: $ac_useropt"
1047
ac_useropt_orig=$ac_useropt
1048
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049
case $ac_user_opts in
1051
"enable_$ac_useropt"
1053
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054
ac_unrecognized_sep=', ';;
1056
eval enable_$ac_useropt=\$ac_optarg ;;
1058
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060
| --exec | --exe | --ex)
1061
ac_prev=exec_prefix ;;
1062
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064
| --exec=* | --exe=* | --ex=*)
1065
exec_prefix=$ac_optarg ;;
1067
-gas | --gas | --ga | --g)
1068
# Obsolete; use --with-gas.
1071
-help | --help | --hel | --he | -h)
1072
ac_init_help=long ;;
1073
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074
ac_init_help=recursive ;;
1075
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076
ac_init_help=short ;;
1078
-host | --host | --hos | --ho)
1079
ac_prev=host_alias ;;
1080
-host=* | --host=* | --hos=* | --ho=*)
1081
host_alias=$ac_optarg ;;
1083
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1085
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1087
htmldir=$ac_optarg ;;
1089
-includedir | --includedir | --includedi | --included | --include \
1090
| --includ | --inclu | --incl | --inc)
1091
ac_prev=includedir ;;
1092
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093
| --includ=* | --inclu=* | --incl=* | --inc=*)
1094
includedir=$ac_optarg ;;
1096
-infodir | --infodir | --infodi | --infod | --info | --inf)
1098
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099
infodir=$ac_optarg ;;
1101
-libdir | --libdir | --libdi | --libd)
1103
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1104
libdir=$ac_optarg ;;
1106
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107
| --libexe | --libex | --libe)
1108
ac_prev=libexecdir ;;
1109
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110
| --libexe=* | --libex=* | --libe=*)
1111
libexecdir=$ac_optarg ;;
1113
-localedir | --localedir | --localedi | --localed | --locale)
1114
ac_prev=localedir ;;
1115
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116
localedir=$ac_optarg ;;
1118
-localstatedir | --localstatedir | --localstatedi | --localstated \
1119
| --localstate | --localstat | --localsta | --localst | --locals)
1120
ac_prev=localstatedir ;;
1121
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123
localstatedir=$ac_optarg ;;
1125
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1127
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128
mandir=$ac_optarg ;;
1130
-nfp | --nfp | --nf)
1131
# Obsolete; use --without-fp.
1134
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135
| --no-cr | --no-c | -n)
1138
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144
| --oldin | --oldi | --old | --ol | --o)
1145
ac_prev=oldincludedir ;;
1146
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149
oldincludedir=$ac_optarg ;;
1151
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1153
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154
prefix=$ac_optarg ;;
1156
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1157
| --program-pre | --program-pr | --program-p)
1158
ac_prev=program_prefix ;;
1159
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1160
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161
program_prefix=$ac_optarg ;;
1163
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1164
| --program-suf | --program-su | --program-s)
1165
ac_prev=program_suffix ;;
1166
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1167
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168
program_suffix=$ac_optarg ;;
1170
-program-transform-name | --program-transform-name \
1171
| --program-transform-nam | --program-transform-na \
1172
| --program-transform-n | --program-transform- \
1173
| --program-transform | --program-transfor \
1174
| --program-transfo | --program-transf \
1175
| --program-trans | --program-tran \
1176
| --progr-tra | --program-tr | --program-t)
1177
ac_prev=program_transform_name ;;
1178
-program-transform-name=* | --program-transform-name=* \
1179
| --program-transform-nam=* | --program-transform-na=* \
1180
| --program-transform-n=* | --program-transform-=* \
1181
| --program-transform=* | --program-transfor=* \
1182
| --program-transfo=* | --program-transf=* \
1183
| --program-trans=* | --program-tran=* \
1184
| --progr-tra=* | --program-tr=* | --program-t=*)
1185
program_transform_name=$ac_optarg ;;
1187
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1189
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190
pdfdir=$ac_optarg ;;
1192
-psdir | --psdir | --psdi | --psd | --ps)
1194
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198
| -silent | --silent | --silen | --sile | --sil)
1201
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1203
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1205
sbindir=$ac_optarg ;;
1207
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1208
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209
| --sharedst | --shareds | --shared | --share | --shar \
1211
ac_prev=sharedstatedir ;;
1212
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1216
sharedstatedir=$ac_optarg ;;
1218
-site | --site | --sit)
1220
-site=* | --site=* | --sit=*)
1223
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1225
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226
srcdir=$ac_optarg ;;
1228
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229
| --syscon | --sysco | --sysc | --sys | --sy)
1230
ac_prev=sysconfdir ;;
1231
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233
sysconfdir=$ac_optarg ;;
1235
-target | --target | --targe | --targ | --tar | --ta | --t)
1236
ac_prev=target_alias ;;
1237
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238
target_alias=$ac_optarg ;;
1240
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1243
-version | --version | --versio | --versi | --vers | -V)
1244
ac_init_version=: ;;
1247
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248
# Reject names that are not valid shell variable names.
1249
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250
as_fn_error $? "invalid package name: $ac_useropt"
1251
ac_useropt_orig=$ac_useropt
1252
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253
case $ac_user_opts in
1257
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258
ac_unrecognized_sep=', ';;
1260
eval with_$ac_useropt=\$ac_optarg ;;
1262
-without-* | --without-*)
1263
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264
# Reject names that are not valid shell variable names.
1265
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266
as_fn_error $? "invalid package name: $ac_useropt"
1267
ac_useropt_orig=$ac_useropt
1268
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269
case $ac_user_opts in
1273
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274
ac_unrecognized_sep=', ';;
1276
eval with_$ac_useropt=no ;;
1279
# Obsolete; use --with-x.
1282
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283
| --x-incl | --x-inc | --x-in | --x-i)
1284
ac_prev=x_includes ;;
1285
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287
x_includes=$ac_optarg ;;
1289
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1290
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291
ac_prev=x_libraries ;;
1292
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294
x_libraries=$ac_optarg ;;
1296
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1297
Try \`$0 --help' for more information"
1301
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302
# Reject names that are not valid shell variable names.
1303
case $ac_envvar in #(
1304
'' | [0-9]* | *[!_$as_cr_alnum]* )
1305
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1307
eval $ac_envvar=\$ac_optarg
1308
export $ac_envvar ;;
1311
# FIXME: should be removed in autoconf 3.0.
1312
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1321
if test -n "$ac_prev"; then
1322
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323
as_fn_error $? "missing argument to $ac_option"
1326
if test -n "$ac_unrecognized_opts"; then
1327
case $enable_option_checking in
1329
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1330
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334
# Check all directory arguments for consistency.
1335
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336
datadir sysconfdir sharedstatedir localstatedir includedir \
1337
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338
libdir localedir mandir
1340
eval ac_val=\$$ac_var
1341
# Remove trailing slashes.
1344
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345
eval $ac_var=\$ac_val;;
1347
# Be sure to have absolute directory names.
1349
[\\/$]* | ?:[\\/]* ) continue;;
1350
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1352
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1355
# There might be people who depend on the old broken behavior: `$host'
1356
# used to hold the argument of --host etc.
1357
# FIXME: To remove some day.
1360
target=$target_alias
1362
# FIXME: To remove some day.
1363
if test "x$host_alias" != x; then
1364
if test "x$build_alias" = x; then
1365
cross_compiling=maybe
1366
elif test "x$build_alias" != "x$host_alias"; then
1372
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1374
test "$silent" = yes && exec 6>/dev/null
1377
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1378
ac_ls_di=`ls -di .` &&
1379
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1380
as_fn_error $? "working directory cannot be determined"
1381
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1382
as_fn_error $? "pwd does not report name of working directory"
1385
# Find the source files, if location was not specified.
1386
if test -z "$srcdir"; then
1387
ac_srcdir_defaulted=yes
1388
# Try the directory containing this script, then the parent directory.
1389
ac_confdir=`$as_dirname -- "$as_myself" ||
1390
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1391
X"$as_myself" : 'X\(//\)[^/]' \| \
1392
X"$as_myself" : 'X\(//\)$' \| \
1393
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1394
$as_echo X"$as_myself" |
1395
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1413
if test ! -r "$srcdir/$ac_unique_file"; then
1417
ac_srcdir_defaulted=no
1419
if test ! -r "$srcdir/$ac_unique_file"; then
1420
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1421
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1423
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1425
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1427
# When building in place, set srcdir=.
1428
if test "$ac_abs_confdir" = "$ac_pwd"; then
1431
# Remove unnecessary trailing slashes from srcdir.
1432
# Double slashes in file names in object file debugging info
1433
# mess up M-x gdb in Emacs.
1435
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1437
for ac_var in $ac_precious_vars; do
1438
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1439
eval ac_env_${ac_var}_value=\$${ac_var}
1440
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1441
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1445
# Report the --help message.
1447
if test "$ac_init_help" = "long"; then
1448
# Omit some internal or obsolete options to make the list less imposing.
1449
# This message is too long to be a string in the A/UX 3.1 sh.
1451
\`configure' configures unity-lens-music 6.6.0 to adapt to many kinds of systems.
1453
Usage: $0 [OPTION]... [VAR=VALUE]...
1455
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1456
VAR=VALUE. See below for descriptions of some of the useful variables.
1458
Defaults for the options are specified in brackets.
1461
-h, --help display this help and exit
1462
--help=short display options specific to this package
1463
--help=recursive display the short help of all the included packages
1464
-V, --version display version information and exit
1465
-q, --quiet, --silent do not print \`checking ...' messages
1466
--cache-file=FILE cache test results in FILE [disabled]
1467
-C, --config-cache alias for \`--cache-file=config.cache'
1468
-n, --no-create do not create output files
1469
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1471
Installation directories:
1472
--prefix=PREFIX install architecture-independent files in PREFIX
1473
[$ac_default_prefix]
1474
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477
By default, \`make install' will install all the files in
1478
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1479
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1480
for instance \`--prefix=\$HOME'.
1482
For better control, use the options below.
1484
Fine tuning of the installation directories:
1485
--bindir=DIR user executables [EPREFIX/bin]
1486
--sbindir=DIR system admin executables [EPREFIX/sbin]
1487
--libexecdir=DIR program executables [EPREFIX/libexec]
1488
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1489
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1490
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1491
--libdir=DIR object code libraries [EPREFIX/lib]
1492
--includedir=DIR C header files [PREFIX/include]
1493
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1494
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1495
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1496
--infodir=DIR info documentation [DATAROOTDIR/info]
1497
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1498
--mandir=DIR man documentation [DATAROOTDIR/man]
1499
--docdir=DIR documentation root
1500
[DATAROOTDIR/doc/unity-lens-music]
1501
--htmldir=DIR html documentation [DOCDIR]
1502
--dvidir=DIR dvi documentation [DOCDIR]
1503
--pdfdir=DIR pdf documentation [DOCDIR]
1504
--psdir=DIR ps documentation [DOCDIR]
1510
--program-prefix=PREFIX prepend PREFIX to installed program names
1511
--program-suffix=SUFFIX append SUFFIX to installed program names
1512
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515
--build=BUILD configure for building on BUILD [guessed]
1516
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1520
if test -n "$ac_init_help"; then
1521
case $ac_init_help in
1522
short | recursive ) echo "Configuration of unity-lens-music 6.6.0:";;
1527
--disable-option-checking ignore unrecognized --enable/--with options
1528
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1529
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1530
--enable-silent-rules less verbose build output (undo: `make V=1')
1531
--disable-silent-rules verbose build output (undo: `make V=0')
1532
--enable-maintainer-mode enable make rules and dependencies not useful
1533
(and sometimes confusing) to the casual installer
1534
--disable-dependency-tracking speeds up one-time build
1535
--enable-dependency-tracking do not reject slow dependency extractors
1536
--enable-shared[=PKGS] build shared libraries [default=yes]
1537
--enable-static[=PKGS] build static libraries [default=yes]
1538
--enable-fast-install[=PKGS]
1539
optimize for fast installation [default=yes]
1540
--disable-libtool-lock avoid locking (might break parallel builds)
1541
--disable-nls do not use Native Language Support
1542
--enable-localinstall Install all of the files locally instead of in
1543
system directories (for distcheck)
1546
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1547
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1548
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1550
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1551
--with-sysroot=DIR Search for dependent libraries within DIR
1552
(or the compiler's sysroot if not specified).
1554
Some influential environment variables:
1555
CC C compiler command
1556
CFLAGS C compiler flags
1557
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1558
nonstandard directory <lib dir>
1559
LIBS libraries to pass to the linker, e.g. -l<library>
1560
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1561
you have headers in a nonstandard directory <include dir>
1563
PKG_CONFIG path to pkg-config utility
1565
directories to add to pkg-config's search path
1567
path overriding pkg-config's built-in search path
1569
C compiler flags for LENS_DAEMON, overriding pkg-config
1571
linker flags for LENS_DAEMON, overriding pkg-config
1572
PREVIEW_PLAYER_CFLAGS
1573
C compiler flags for PREVIEW_PLAYER, overriding pkg-config
1575
linker flags for PREVIEW_PLAYER, overriding pkg-config
1577
Use these variables to override the choices made by `configure' or to help
1578
it to find libraries and programs with nonstandard names/locations.
1580
Report bugs to <https://launchpad.net/unity-lens-music>.
1585
if test "$ac_init_help" = "recursive"; then
1586
# If there are subdirs, report their specific --help.
1587
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588
test -d "$ac_dir" ||
1589
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1597
# A ".." for each directory in $ac_dir_suffix.
1598
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1599
case $ac_top_builddir_sub in
1600
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604
ac_abs_top_builddir=$ac_pwd
1605
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606
# for backward compatibility:
1607
ac_top_builddir=$ac_top_build_prefix
1610
.) # We are building in place.
1612
ac_top_srcdir=$ac_top_builddir_sub
1613
ac_abs_top_srcdir=$ac_pwd ;;
1614
[\\/]* | ?:[\\/]* ) # Absolute name.
1615
ac_srcdir=$srcdir$ac_dir_suffix;
1616
ac_top_srcdir=$srcdir
1617
ac_abs_top_srcdir=$srcdir ;;
1619
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620
ac_top_srcdir=$ac_top_build_prefix$srcdir
1621
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625
cd "$ac_dir" || { ac_status=$?; continue; }
1626
# Check for guested configure.
1627
if test -f "$ac_srcdir/configure.gnu"; then
1629
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630
elif test -f "$ac_srcdir/configure"; then
1632
$SHELL "$ac_srcdir/configure" --help=recursive
1634
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636
cd "$ac_pwd" || { ac_status=$?; break; }
1640
test -n "$ac_init_help" && exit $ac_status
1641
if $ac_init_version; then
1643
unity-lens-music configure 6.6.0
1644
generated by GNU Autoconf 2.69
1646
Copyright (C) 2012 Free Software Foundation, Inc.
1647
This configure script is free software; the Free Software Foundation
1648
gives unlimited permission to copy, distribute and modify it.
1650
Copyright 2011-2012 Canonical
1655
## ------------------------ ##
1656
## Autoconf initialization. ##
1657
## ------------------------ ##
1659
# ac_fn_c_try_compile LINENO
1660
# --------------------------
1661
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1662
ac_fn_c_try_compile ()
1664
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1665
rm -f conftest.$ac_objext
1666
if { { ac_try="$ac_compile"
1668
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669
*) ac_try_echo=$ac_try;;
1671
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672
$as_echo "$ac_try_echo"; } >&5
1673
(eval "$ac_compile") 2>conftest.err
1675
if test -s conftest.err; then
1676
grep -v '^ *+' conftest.err >conftest.er1
1677
cat conftest.er1 >&5
1678
mv -f conftest.er1 conftest.err
1680
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1681
test $ac_status = 0; } && {
1682
test -z "$ac_c_werror_flag" ||
1683
test ! -s conftest.err
1684
} && test -s conftest.$ac_objext; then :
1687
$as_echo "$as_me: failed program was:" >&5
1688
sed 's/^/| /' conftest.$ac_ext >&5
1692
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1693
as_fn_set_status $ac_retval
1695
} # ac_fn_c_try_compile
1697
# ac_fn_c_try_cpp LINENO
1698
# ----------------------
1699
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1702
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1703
if { { ac_try="$ac_cpp conftest.$ac_ext"
1705
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706
*) ac_try_echo=$ac_try;;
1708
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709
$as_echo "$ac_try_echo"; } >&5
1710
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1712
if test -s conftest.err; then
1713
grep -v '^ *+' conftest.err >conftest.er1
1714
cat conftest.er1 >&5
1715
mv -f conftest.er1 conftest.err
1717
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718
test $ac_status = 0; } > conftest.i && {
1719
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1720
test ! -s conftest.err
1724
$as_echo "$as_me: failed program was:" >&5
1725
sed 's/^/| /' conftest.$ac_ext >&5
1729
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730
as_fn_set_status $ac_retval
1734
# ac_fn_c_try_run LINENO
1735
# ----------------------
1736
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1737
# that executables *can* be run.
1740
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741
if { { ac_try="$ac_link"
1743
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1744
*) ac_try_echo=$ac_try;;
1746
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1747
$as_echo "$ac_try_echo"; } >&5
1748
(eval "$ac_link") 2>&5
1750
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1752
{ { case "(($ac_try" in
1753
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754
*) ac_try_echo=$ac_try;;
1756
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757
$as_echo "$ac_try_echo"; } >&5
1758
(eval "$ac_try") 2>&5
1760
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1761
test $ac_status = 0; }; }; then :
1764
$as_echo "$as_me: program exited with status $ac_status" >&5
1765
$as_echo "$as_me: failed program was:" >&5
1766
sed 's/^/| /' conftest.$ac_ext >&5
1768
ac_retval=$ac_status
1770
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772
as_fn_set_status $ac_retval
1776
# ac_fn_c_try_link LINENO
1777
# -----------------------
1778
# Try to link conftest.$ac_ext, and return whether this succeeded.
1781
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782
rm -f conftest.$ac_objext conftest$ac_exeext
1783
if { { ac_try="$ac_link"
1785
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786
*) ac_try_echo=$ac_try;;
1788
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789
$as_echo "$ac_try_echo"; } >&5
1790
(eval "$ac_link") 2>conftest.err
1792
if test -s conftest.err; then
1793
grep -v '^ *+' conftest.err >conftest.er1
1794
cat conftest.er1 >&5
1795
mv -f conftest.er1 conftest.err
1797
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1798
test $ac_status = 0; } && {
1799
test -z "$ac_c_werror_flag" ||
1800
test ! -s conftest.err
1801
} && test -s conftest$ac_exeext && {
1802
test "$cross_compiling" = yes ||
1803
test -x conftest$ac_exeext
1807
$as_echo "$as_me: failed program was:" >&5
1808
sed 's/^/| /' conftest.$ac_ext >&5
1812
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1813
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1814
# interfere with the next link command; also delete a directory that is
1815
# left behind by Apple's compiler. We do this before executing the actions.
1816
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1817
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818
as_fn_set_status $ac_retval
1820
} # ac_fn_c_try_link
1822
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1823
# -------------------------------------------------------
1824
# Tests whether HEADER exists and can be compiled using the include files in
1825
# INCLUDES, setting the cache variable VAR accordingly.
1826
ac_fn_c_check_header_compile ()
1828
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1830
$as_echo_n "checking for $2... " >&6; }
1831
if eval \${$3+:} false; then :
1832
$as_echo_n "(cached) " >&6
1834
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1835
/* end confdefs.h. */
1839
if ac_fn_c_try_compile "$LINENO"; then :
1844
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848
$as_echo "$ac_res" >&6; }
1849
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1851
} # ac_fn_c_check_header_compile
1853
# ac_fn_c_check_func LINENO FUNC VAR
1854
# ----------------------------------
1855
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1856
ac_fn_c_check_func ()
1858
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1860
$as_echo_n "checking for $2... " >&6; }
1861
if eval \${$3+:} false; then :
1862
$as_echo_n "(cached) " >&6
1864
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1865
/* end confdefs.h. */
1866
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1867
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1868
#define $2 innocuous_$2
1870
/* System header to define __stub macros and hopefully few prototypes,
1871
which can conflict with char $2 (); below.
1872
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1873
<limits.h> exists even on freestanding compilers. */
1876
# include <limits.h>
1878
# include <assert.h>
1883
/* Override any GCC internal prototype to avoid an error.
1884
Use char because int might match the return type of a GCC
1885
builtin and then its argument prototype would still apply. */
1890
/* The GNU C library defines this for functions which it implements
1891
to always fail with ENOSYS. Some functions are actually named
1892
something starting with __ and the normal name is an alias. */
1893
#if defined __stub_$2 || defined __stub___$2
1905
if ac_fn_c_try_link "$LINENO"; then :
1910
rm -f core conftest.err conftest.$ac_objext \
1911
conftest$ac_exeext conftest.$ac_ext
1914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1915
$as_echo "$ac_res" >&6; }
1916
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918
} # ac_fn_c_check_func
1920
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1921
# -------------------------------------------------------
1922
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1923
# the include files in INCLUDES and setting the cache variable VAR
1925
ac_fn_c_check_header_mongrel ()
1927
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928
if eval \${$3+:} false; then :
1929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930
$as_echo_n "checking for $2... " >&6; }
1931
if eval \${$3+:} false; then :
1932
$as_echo_n "(cached) " >&6
1935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1936
$as_echo "$ac_res" >&6; }
1938
# Is the header compilable?
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1940
$as_echo_n "checking $2 usability... " >&6; }
1941
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942
/* end confdefs.h. */
1946
if ac_fn_c_try_compile "$LINENO"; then :
1947
ac_header_compiler=yes
1949
ac_header_compiler=no
1951
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1952
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1953
$as_echo "$ac_header_compiler" >&6; }
1955
# Is the header present?
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1957
$as_echo_n "checking $2 presence... " >&6; }
1958
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959
/* end confdefs.h. */
1962
if ac_fn_c_try_cpp "$LINENO"; then :
1963
ac_header_preproc=yes
1965
ac_header_preproc=no
1967
rm -f conftest.err conftest.i conftest.$ac_ext
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1969
$as_echo "$ac_header_preproc" >&6; }
1971
# So? What about this header?
1972
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1974
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1975
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1976
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1977
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1981
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1983
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1984
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1985
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1987
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1989
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1990
( $as_echo "## ----------------------------------------------------- ##
1991
## Report this to https://launchpad.net/unity-lens-music ##
1992
## ----------------------------------------------------- ##"
1993
) | sed "s/^/$as_me: WARNING: /" >&2
1996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1997
$as_echo_n "checking for $2... " >&6; }
1998
if eval \${$3+:} false; then :
1999
$as_echo_n "(cached) " >&6
2001
eval "$3=\$ac_header_compiler"
2004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005
$as_echo "$ac_res" >&6; }
2007
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009
} # ac_fn_c_check_header_mongrel
2010
cat >config.log <<_ACEOF
2011
This file contains any messages produced by compilers while
2012
running configure, to aid debugging if configure makes a mistake.
2014
It was created by unity-lens-music $as_me 6.6.0, which was
2015
generated by GNU Autoconf 2.69. Invocation command line was
2027
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2028
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2029
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2030
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2031
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2033
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2034
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2036
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2037
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2038
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2039
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2040
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2041
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2042
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2046
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2050
test -z "$as_dir" && as_dir=.
2051
$as_echo "PATH: $as_dir"
2067
# Keep a trace of the command line.
2068
# Strip out --no-create and --no-recursion so they do not pile up.
2069
# Strip out --silent because we don't want to record it for future runs.
2070
# Also quote any args containing shell meta-characters.
2071
# Make two passes to allow for proper duplicate-argument suppression.
2075
ac_must_keep_next=false
2081
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2082
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2083
| -silent | --silent | --silen | --sile | --sil)
2086
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2089
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2091
as_fn_append ac_configure_args1 " '$ac_arg'"
2092
if test $ac_must_keep_next = true; then
2093
ac_must_keep_next=false # Got value, back to normal.
2096
*=* | --config-cache | -C | -disable-* | --disable-* \
2097
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2098
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2099
| -with-* | --with-* | -without-* | --without-* | --x)
2100
case "$ac_configure_args0 " in
2101
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2104
-* ) ac_must_keep_next=true ;;
2107
as_fn_append ac_configure_args " '$ac_arg'"
2112
{ ac_configure_args0=; unset ac_configure_args0;}
2113
{ ac_configure_args1=; unset ac_configure_args1;}
2115
# When interrupted or exit'd, cleanup temporary files, and complete
2116
# config.log. We remove comments because anyway the quotes in there
2117
# would cause problems or look ugly.
2118
# WARNING: Use '\'' to represent an apostrophe within the trap.
2119
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2120
trap 'exit_status=$?
2121
# Save into config.log some information that might help in debugging.
2125
$as_echo "## ---------------- ##
2126
## Cache variables. ##
2127
## ---------------- ##"
2129
# The following way of writing the cache mishandles newlines in values,
2131
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2132
eval ac_val=\$$ac_var
2136
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2137
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2140
_ | IFS | as_nl) ;; #(
2141
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2142
*) { eval $ac_var=; unset $ac_var;} ;;
2147
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2148
*${as_nl}ac_space=\ *)
2150
"s/'\''/'\''\\\\'\'''\''/g;
2151
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2154
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2161
$as_echo "## ----------------- ##
2162
## Output variables. ##
2163
## ----------------- ##"
2165
for ac_var in $ac_subst_vars
2167
eval ac_val=\$$ac_var
2169
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2171
$as_echo "$ac_var='\''$ac_val'\''"
2175
if test -n "$ac_subst_files"; then
2176
$as_echo "## ------------------- ##
2177
## File substitutions. ##
2178
## ------------------- ##"
2180
for ac_var in $ac_subst_files
2182
eval ac_val=\$$ac_var
2184
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2186
$as_echo "$ac_var='\''$ac_val'\''"
2191
if test -s confdefs.h; then
2192
$as_echo "## ----------- ##
2199
test "$ac_signal" != 0 &&
2200
$as_echo "$as_me: caught signal $ac_signal"
2201
$as_echo "$as_me: exit $exit_status"
2203
rm -f core *.core core.conftest.* &&
2204
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2207
for ac_signal in 1 2 13 15; do
2208
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2212
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2213
rm -f -r conftest* confdefs.h
2215
$as_echo "/* confdefs.h */" > confdefs.h
2217
# Predefined preprocessor variables.
2219
cat >>confdefs.h <<_ACEOF
2220
#define PACKAGE_NAME "$PACKAGE_NAME"
2223
cat >>confdefs.h <<_ACEOF
2224
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2227
cat >>confdefs.h <<_ACEOF
2228
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2231
cat >>confdefs.h <<_ACEOF
2232
#define PACKAGE_STRING "$PACKAGE_STRING"
2235
cat >>confdefs.h <<_ACEOF
2236
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2239
cat >>confdefs.h <<_ACEOF
2240
#define PACKAGE_URL "$PACKAGE_URL"
2244
# Let the site file select an alternate cache file if it wants to.
2245
# Prefer an explicitly selected file to automatically selected ones.
2248
if test -n "$CONFIG_SITE"; then
2249
# We do not want a PATH search for config.site.
2250
case $CONFIG_SITE in #((
2251
-*) ac_site_file1=./$CONFIG_SITE;;
2252
*/*) ac_site_file1=$CONFIG_SITE;;
2253
*) ac_site_file1=./$CONFIG_SITE;;
2255
elif test "x$prefix" != xNONE; then
2256
ac_site_file1=$prefix/share/config.site
2257
ac_site_file2=$prefix/etc/config.site
2259
ac_site_file1=$ac_default_prefix/share/config.site
2260
ac_site_file2=$ac_default_prefix/etc/config.site
2262
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2264
test "x$ac_site_file" = xNONE && continue
2265
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2266
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2267
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2268
sed 's/^/| /' "$ac_site_file" >&5
2270
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2272
as_fn_error $? "failed to load site script $ac_site_file
2273
See \`config.log' for more details" "$LINENO" 5; }
2277
if test -r "$cache_file"; then
2278
# Some versions of bash will fail to source /dev/null (special files
2279
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2280
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2281
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2282
$as_echo "$as_me: loading cache $cache_file" >&6;}
2284
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2285
*) . "./$cache_file";;
2289
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2290
$as_echo "$as_me: creating cache $cache_file" >&6;}
2294
# Check that the precious variables saved in the cache have kept the same
2296
ac_cache_corrupted=false
2297
for ac_var in $ac_precious_vars; do
2298
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2299
eval ac_new_set=\$ac_env_${ac_var}_set
2300
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2301
eval ac_new_val=\$ac_env_${ac_var}_value
2302
case $ac_old_set,$ac_new_set in
2304
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2305
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2306
ac_cache_corrupted=: ;;
2308
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2309
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2310
ac_cache_corrupted=: ;;
2313
if test "x$ac_old_val" != "x$ac_new_val"; then
2314
# differences in whitespace do not lead to failure.
2315
ac_old_val_w=`echo x $ac_old_val`
2316
ac_new_val_w=`echo x $ac_new_val`
2317
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2318
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2319
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2320
ac_cache_corrupted=:
2322
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2323
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2324
eval $ac_var=\$ac_old_val
2326
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2327
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2328
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2329
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2332
# Pass precious variables to config.status.
2333
if test "$ac_new_set" = set; then
2335
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2336
*) ac_arg=$ac_var=$ac_new_val ;;
2338
case " $ac_configure_args " in
2339
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2340
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2344
if $ac_cache_corrupted; then
2345
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2346
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2347
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2348
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2349
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2351
## -------------------- ##
2352
## Main body of script. ##
2353
## -------------------- ##
2356
ac_cpp='$CPP $CPPFLAGS'
2357
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2358
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2359
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2364
am__api_version='1.11'
2367
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2368
if test -f "$ac_dir/install-sh"; then
2370
ac_install_sh="$ac_aux_dir/install-sh -c"
2372
elif test -f "$ac_dir/install.sh"; then
2374
ac_install_sh="$ac_aux_dir/install.sh -c"
2376
elif test -f "$ac_dir/shtool"; then
2378
ac_install_sh="$ac_aux_dir/shtool install -c"
2382
if test -z "$ac_aux_dir"; then
2383
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2386
# These three variables are undocumented and unsupported,
2387
# and are intended to be withdrawn in a future Autoconf release.
2388
# They can cause serious problems if a builder's source tree is in a directory
2389
# whose full name contains unusual characters.
2390
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2391
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2392
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2395
# Find a good install program. We prefer a C program (faster),
2396
# so one script is as good as another. But avoid the broken or
2397
# incompatible versions:
2398
# SysV /etc/install, /usr/sbin/install
2399
# SunOS /usr/etc/install
2400
# IRIX /sbin/install
2402
# AmigaOS /C/install, which installs bootblocks on floppy discs
2403
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2404
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2405
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2406
# OS/2's system install, which has a completely different semantic
2407
# ./install, which can be erroneously created by make from ./install.sh.
2408
# Reject install programs that cannot install multiple files.
2409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2410
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2411
if test -z "$INSTALL"; then
2412
if ${ac_cv_path_install+:} false; then :
2413
$as_echo_n "(cached) " >&6
2415
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2419
test -z "$as_dir" && as_dir=.
2420
# Account for people who put trailing slashes in PATH elements.
2421
case $as_dir/ in #((
2422
./ | .// | /[cC]/* | \
2423
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2424
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2427
# OSF1 and SCO ODT 3.0 have their own names for install.
2428
# Don't use installbsd from OSF since it installs stuff as root
2430
for ac_prog in ginstall scoinst install; do
2431
for ac_exec_ext in '' $ac_executable_extensions; do
2432
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2433
if test $ac_prog = install &&
2434
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2435
# AIX install. It has an incompatible calling convention.
2437
elif test $ac_prog = install &&
2438
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2439
# program-specific install script used by HP pwplus--don't use.
2442
rm -rf conftest.one conftest.two conftest.dir
2443
echo one > conftest.one
2444
echo two > conftest.two
2446
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2447
test -s conftest.one && test -s conftest.two &&
2448
test -s conftest.dir/conftest.one &&
2449
test -s conftest.dir/conftest.two
2451
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2464
rm -rf conftest.one conftest.two conftest.dir
2467
if test "${ac_cv_path_install+set}" = set; then
2468
INSTALL=$ac_cv_path_install
2470
# As a last resort, use the slow shell script. Don't cache a
2471
# value for INSTALL within a source directory, because that will
2472
# break other packages using the cache if that directory is
2473
# removed, or if the value is a relative name.
2474
INSTALL=$ac_install_sh
2477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2478
$as_echo "$INSTALL" >&6; }
2480
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2481
# It thinks the first close brace ends the variable substitution.
2482
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2484
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2486
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2489
$as_echo_n "checking whether build environment is sane... " >&6; }
2492
echo timestamp > conftest.file
2493
# Reject unsafe characters in $srcdir or the absolute working directory
2494
# name. Accept space and tab only in the latter.
2498
*[\\\"\#\$\&\'\`$am_lf]*)
2499
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2502
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2503
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2506
# Do `set' in a subshell so we don't clobber the current shell's
2507
# arguments. Must try -L first in case configure is actually a
2508
# symlink; some systems play weird games with the mod time of symlinks
2509
# (eg FreeBSD returns the mod time of the symlink's containing
2512
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2513
if test "$*" = "X"; then
2515
set X `ls -t "$srcdir/configure" conftest.file`
2518
if test "$*" != "X $srcdir/configure conftest.file" \
2519
&& test "$*" != "X conftest.file $srcdir/configure"; then
2521
# If neither matched, then we have a broken ls. This can happen
2522
# if, for instance, CONFIG_SHELL is bash and it inherits a
2523
# broken ls alias from the environment. This has actually
2524
# happened. Such a system could not be considered "sane".
2525
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2526
alias in your environment" "$LINENO" 5
2529
test "$2" = conftest.file
2535
as_fn_error $? "newly created file is older than distributed files!
2536
Check your system clock" "$LINENO" 5
2538
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2539
$as_echo "yes" >&6; }
2540
test "$program_prefix" != NONE &&
2541
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2542
# Use a double $ so make ignores it.
2543
test "$program_suffix" != NONE &&
2544
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2545
# Double any \ or $.
2546
# By default was `s,x,x', remove it if useless.
2547
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2548
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2550
# expand $ac_aux_dir to an absolute path
2551
am_aux_dir=`cd $ac_aux_dir && pwd`
2553
if test x"${MISSING+set}" != xset; then
2556
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2558
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2561
# Use eval to expand $SHELL
2562
if eval "$MISSING --run true"; then
2563
am_missing_run="$MISSING --run "
2566
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2567
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2570
if test x"${install_sh}" != xset; then
2573
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2575
install_sh="\${SHELL} $am_aux_dir/install-sh"
2579
# Installed binaries are usually stripped using `strip' when the user
2580
# run `make install-strip'. However `strip' might not be the right
2581
# tool to use in cross-compilation environments, therefore Automake
2582
# will honor the `STRIP' environment variable to overrule this program.
2583
if test "$cross_compiling" != no; then
2584
if test -n "$ac_tool_prefix"; then
2585
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2586
set dummy ${ac_tool_prefix}strip; ac_word=$2
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2588
$as_echo_n "checking for $ac_word... " >&6; }
2589
if ${ac_cv_prog_STRIP+:} false; then :
2590
$as_echo_n "(cached) " >&6
2592
if test -n "$STRIP"; then
2593
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599
test -z "$as_dir" && as_dir=.
2600
for ac_exec_ext in '' $ac_executable_extensions; do
2601
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2603
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612
STRIP=$ac_cv_prog_STRIP
2613
if test -n "$STRIP"; then
2614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2615
$as_echo "$STRIP" >&6; }
2617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2618
$as_echo "no" >&6; }
2623
if test -z "$ac_cv_prog_STRIP"; then
2625
# Extract the first word of "strip", so it can be a program name with args.
2626
set dummy strip; ac_word=$2
2627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2628
$as_echo_n "checking for $ac_word... " >&6; }
2629
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2630
$as_echo_n "(cached) " >&6
2632
if test -n "$ac_ct_STRIP"; then
2633
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2635
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639
test -z "$as_dir" && as_dir=.
2640
for ac_exec_ext in '' $ac_executable_extensions; do
2641
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2642
ac_cv_prog_ac_ct_STRIP="strip"
2643
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2652
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2653
if test -n "$ac_ct_STRIP"; then
2654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2655
$as_echo "$ac_ct_STRIP" >&6; }
2657
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2658
$as_echo "no" >&6; }
2661
if test "x$ac_ct_STRIP" = x; then
2664
case $cross_compiling:$ac_tool_warned in
2666
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2667
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2668
ac_tool_warned=yes ;;
2673
STRIP="$ac_cv_prog_STRIP"
2677
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2680
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2681
if test -z "$MKDIR_P"; then
2682
if ${ac_cv_path_mkdir+:} false; then :
2683
$as_echo_n "(cached) " >&6
2685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2686
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2689
test -z "$as_dir" && as_dir=.
2690
for ac_prog in mkdir gmkdir; do
2691
for ac_exec_ext in '' $ac_executable_extensions; do
2692
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2693
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2694
'mkdir (GNU coreutils) '* | \
2695
'mkdir (coreutils) '* | \
2696
'mkdir (fileutils) '4.1*)
2697
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2707
test -d ./--version && rmdir ./--version
2708
if test "${ac_cv_path_mkdir+set}" = set; then
2709
MKDIR_P="$ac_cv_path_mkdir -p"
2711
# As a last resort, use the slow shell script. Don't cache a
2712
# value for MKDIR_P within a source directory, because that will
2713
# break other packages using the cache if that directory is
2714
# removed, or if the value is a relative name.
2715
MKDIR_P="$ac_install_sh -d"
2718
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2719
$as_echo "$MKDIR_P" >&6; }
2723
[\\/$]* | ?:[\\/]*) ;;
2724
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2727
for ac_prog in gawk mawk nawk awk
2729
# Extract the first word of "$ac_prog", so it can be a program name with args.
2730
set dummy $ac_prog; ac_word=$2
2731
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2732
$as_echo_n "checking for $ac_word... " >&6; }
2733
if ${ac_cv_prog_AWK+:} false; then :
2734
$as_echo_n "(cached) " >&6
2736
if test -n "$AWK"; then
2737
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2739
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743
test -z "$as_dir" && as_dir=.
2744
for ac_exec_ext in '' $ac_executable_extensions; do
2745
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2746
ac_cv_prog_AWK="$ac_prog"
2747
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757
if test -n "$AWK"; then
2758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2759
$as_echo "$AWK" >&6; }
2761
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2762
$as_echo "no" >&6; }
2766
test -n "$AWK" && break
2769
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2770
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2772
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2773
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2774
$as_echo_n "(cached) " >&6
2776
cat >conftest.make <<\_ACEOF
2779
@echo '@@@%%%=$(MAKE)=@@@%%%'
2781
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2782
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2784
eval ac_cv_prog_make_${ac_make}_set=yes;;
2786
eval ac_cv_prog_make_${ac_make}_set=no;;
2790
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2791
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2792
$as_echo "yes" >&6; }
2795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796
$as_echo "no" >&6; }
2797
SET_MAKE="MAKE=${MAKE-make}"
2800
rm -rf .tst 2>/dev/null
2801
mkdir .tst 2>/dev/null
2802
if test -d .tst; then
2807
rmdir .tst 2>/dev/null
2809
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2810
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2811
# is not polluted with repeated "-I."
2812
am__isrc=' -I$(srcdir)'
2813
# test to see if srcdir already configured
2814
if test -f $srcdir/config.status; then
2815
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2819
# test whether we have cygpath
2820
if test -z "$CYGPATH_W"; then
2821
if (cygpath --version) >/dev/null 2>/dev/null; then
2822
CYGPATH_W='cygpath -w'
2829
# Define the identity of the package.
2830
PACKAGE=unity-lens-music
2834
cat >>confdefs.h <<_ACEOF
2835
#define PACKAGE "$PACKAGE"
2839
cat >>confdefs.h <<_ACEOF
2840
#define VERSION "$VERSION"
2843
# Some tools Automake needs.
2845
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2848
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2851
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2854
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2857
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2859
# We need awk for the "check" target. The system "awk" is bad on
2861
# Always define AMTAR for backward compatibility. Yes, it's still used
2862
# in the wild :-( We should find a proper way to deprecate it ...
2865
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2872
#####################################################
2873
# Silent build rules
2874
#####################################################
2875
# Check whether --enable-silent-rules was given.
2876
if test "${enable_silent_rules+set}" = set; then :
2877
enableval=$enable_silent_rules;
2880
case $enable_silent_rules in
2881
yes) AM_DEFAULT_VERBOSITY=0;;
2882
no) AM_DEFAULT_VERBOSITY=1;;
2883
*) AM_DEFAULT_VERBOSITY=0;;
2885
am_make=${MAKE-make}
2886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2887
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2888
if ${am_cv_make_support_nested_variables+:} false; then :
2889
$as_echo_n "(cached) " >&6
2891
if $as_echo 'TRUE=$(BAR$(V))
2897
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2898
am_cv_make_support_nested_variables=yes
2900
am_cv_make_support_nested_variables=no
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2904
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2905
if test $am_cv_make_support_nested_variables = yes; then
2907
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2909
AM_V=$AM_DEFAULT_VERBOSITY
2910
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2917
ac_config_headers="$ac_config_headers config.h"
2920
#####################################################
2921
# Init the other things we depend on
2922
#####################################################
2924
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2925
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2926
# Check whether --enable-maintainer-mode was given.
2927
if test "${enable_maintainer_mode+set}" = set; then :
2928
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2930
USE_MAINTAINER_MODE=no
2933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2934
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2935
if test $USE_MAINTAINER_MODE = yes; then
2936
MAINTAINER_MODE_TRUE=
2937
MAINTAINER_MODE_FALSE='#'
2939
MAINTAINER_MODE_TRUE='#'
2940
MAINTAINER_MODE_FALSE=
2943
MAINT=$MAINTAINER_MODE_TRUE
2946
# Extract the first word of "valac", so it can be a program name with args.
2947
set dummy valac; ac_word=$2
2948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2949
$as_echo_n "checking for $ac_word... " >&6; }
2950
if ${ac_cv_path_VALAC+:} false; then :
2951
$as_echo_n "(cached) " >&6
2955
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
2958
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2962
test -z "$as_dir" && as_dir=.
2963
for ac_exec_ext in '' $ac_executable_extensions; do
2964
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2965
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
2966
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976
VALAC=$ac_cv_path_VALAC
2977
if test -n "$VALAC"; then
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
2979
$as_echo "$VALAC" >&6; }
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982
$as_echo "no" >&6; }
2986
if test -z "$VALAC"; then :
2987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
2988
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
2990
if test -n "0.16.0"; then :
2991
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version 0.16.0" >&5
2992
$as_echo_n "checking $VALAC is at least version 0.16.0... " >&6; }
2993
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
2995
as_arg_v2="$am__vala_version"
2996
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3000
$as_echo "yes" >&6; } ;; #(
3002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3003
$as_echo "yes" >&6; } ;; #(
3005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3006
$as_echo "no" >&6; }
3007
as_fn_error $? "Vala 0.16.0 not found." "$LINENO" 5 ;; #(
3014
if test -z "$VALAC"; then :
3015
as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
3018
ac_cpp='$CPP $CPPFLAGS'
3019
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3020
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3021
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3022
if test -n "$ac_tool_prefix"; then
3023
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3024
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3025
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026
$as_echo_n "checking for $ac_word... " >&6; }
3027
if ${ac_cv_prog_CC+:} false; then :
3028
$as_echo_n "(cached) " >&6
3030
if test -n "$CC"; then
3031
ac_cv_prog_CC="$CC" # Let the user override the test.
3033
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037
test -z "$as_dir" && as_dir=.
3038
for ac_exec_ext in '' $ac_executable_extensions; do
3039
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3040
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3041
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051
if test -n "$CC"; then
3052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053
$as_echo "$CC" >&6; }
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056
$as_echo "no" >&6; }
3061
if test -z "$ac_cv_prog_CC"; then
3063
# Extract the first word of "gcc", so it can be a program name with args.
3064
set dummy gcc; ac_word=$2
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066
$as_echo_n "checking for $ac_word... " >&6; }
3067
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3068
$as_echo_n "(cached) " >&6
3070
if test -n "$ac_ct_CC"; then
3071
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3073
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3077
test -z "$as_dir" && as_dir=.
3078
for ac_exec_ext in '' $ac_executable_extensions; do
3079
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3080
ac_cv_prog_ac_ct_CC="gcc"
3081
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3090
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3091
if test -n "$ac_ct_CC"; then
3092
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3093
$as_echo "$ac_ct_CC" >&6; }
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3096
$as_echo "no" >&6; }
3099
if test "x$ac_ct_CC" = x; then
3102
case $cross_compiling:$ac_tool_warned in
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3105
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3106
ac_tool_warned=yes ;;
3114
if test -z "$CC"; then
3115
if test -n "$ac_tool_prefix"; then
3116
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3117
set dummy ${ac_tool_prefix}cc; ac_word=$2
3118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3119
$as_echo_n "checking for $ac_word... " >&6; }
3120
if ${ac_cv_prog_CC+:} false; then :
3121
$as_echo_n "(cached) " >&6
3123
if test -n "$CC"; then
3124
ac_cv_prog_CC="$CC" # Let the user override the test.
3126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3130
test -z "$as_dir" && as_dir=.
3131
for ac_exec_ext in '' $ac_executable_extensions; do
3132
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3133
ac_cv_prog_CC="${ac_tool_prefix}cc"
3134
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144
if test -n "$CC"; then
3145
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3146
$as_echo "$CC" >&6; }
3148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3149
$as_echo "no" >&6; }
3155
if test -z "$CC"; then
3156
# Extract the first word of "cc", so it can be a program name with args.
3157
set dummy cc; ac_word=$2
3158
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3159
$as_echo_n "checking for $ac_word... " >&6; }
3160
if ${ac_cv_prog_CC+:} false; then :
3161
$as_echo_n "(cached) " >&6
3163
if test -n "$CC"; then
3164
ac_cv_prog_CC="$CC" # Let the user override the test.
3167
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171
test -z "$as_dir" && as_dir=.
3172
for ac_exec_ext in '' $ac_executable_extensions; do
3173
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3174
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3175
ac_prog_rejected=yes
3179
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3186
if test $ac_prog_rejected = yes; then
3187
# We found a bogon in the path, so make sure we never use it.
3188
set dummy $ac_cv_prog_CC
3190
if test $# != 0; then
3191
# We chose a different compiler from the bogus one.
3192
# However, it has the same basename, so the bogon will be chosen
3193
# first if we set CC to just the basename; use the full file name.
3195
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3201
if test -n "$CC"; then
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3203
$as_echo "$CC" >&6; }
3205
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206
$as_echo "no" >&6; }
3211
if test -z "$CC"; then
3212
if test -n "$ac_tool_prefix"; then
3213
for ac_prog in cl.exe
3215
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3216
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3218
$as_echo_n "checking for $ac_word... " >&6; }
3219
if ${ac_cv_prog_CC+:} false; then :
3220
$as_echo_n "(cached) " >&6
3222
if test -n "$CC"; then
3223
ac_cv_prog_CC="$CC" # Let the user override the test.
3225
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3229
test -z "$as_dir" && as_dir=.
3230
for ac_exec_ext in '' $ac_executable_extensions; do
3231
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3232
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3233
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3243
if test -n "$CC"; then
3244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3245
$as_echo "$CC" >&6; }
3247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3248
$as_echo "no" >&6; }
3252
test -n "$CC" && break
3255
if test -z "$CC"; then
3257
for ac_prog in cl.exe
3259
# Extract the first word of "$ac_prog", so it can be a program name with args.
3260
set dummy $ac_prog; ac_word=$2
3261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262
$as_echo_n "checking for $ac_word... " >&6; }
3263
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3264
$as_echo_n "(cached) " >&6
3266
if test -n "$ac_ct_CC"; then
3267
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273
test -z "$as_dir" && as_dir=.
3274
for ac_exec_ext in '' $ac_executable_extensions; do
3275
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3276
ac_cv_prog_ac_ct_CC="$ac_prog"
3277
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3287
if test -n "$ac_ct_CC"; then
3288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3289
$as_echo "$ac_ct_CC" >&6; }
3291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292
$as_echo "no" >&6; }
3296
test -n "$ac_ct_CC" && break
3299
if test "x$ac_ct_CC" = x; then
3302
case $cross_compiling:$ac_tool_warned in
3304
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3305
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3306
ac_tool_warned=yes ;;
3315
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3316
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3317
as_fn_error $? "no acceptable C compiler found in \$PATH
3318
See \`config.log' for more details" "$LINENO" 5; }
3320
# Provide some information about the compiler.
3321
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3324
for ac_option in --version -v -V -qversion; do
3325
{ { ac_try="$ac_compiler $ac_option >&5"
3327
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3328
*) ac_try_echo=$ac_try;;
3330
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3331
$as_echo "$ac_try_echo"; } >&5
3332
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3334
if test -s conftest.err; then
3336
... rest of stderr output deleted ...
3337
10q' conftest.err >conftest.er1
3338
cat conftest.er1 >&5
3340
rm -f conftest.er1 conftest.err
3341
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3342
test $ac_status = 0; }
3345
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346
/* end confdefs.h. */
3356
ac_clean_files_save=$ac_clean_files
3357
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3358
# Try to create an executable without -o first, disregard a.out.
3359
# It will help us diagnose broken compilers, and finding out an intuition
3361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3362
$as_echo_n "checking whether the C compiler works... " >&6; }
3363
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3365
# The possible output files:
3366
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3369
for ac_file in $ac_files
3372
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3373
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3378
if { { ac_try="$ac_link_default"
3380
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381
*) ac_try_echo=$ac_try;;
3383
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3384
$as_echo "$ac_try_echo"; } >&5
3385
(eval "$ac_link_default") 2>&5
3387
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3388
test $ac_status = 0; }; then :
3389
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3390
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3391
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3392
# so that the user can short-circuit this test for compilers unknown to
3394
for ac_file in $ac_files ''
3396
test -f "$ac_file" || continue
3398
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3401
# We found the default executable, but exeext='' is most
3405
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3407
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3409
# We set ac_cv_exeext here because the later test for it is not
3410
# safe: cross compilers may not add the suffix if given an `-o'
3411
# argument, so we may need to know it at that point already.
3412
# Even if this section looks crufty: it has the advantage of
3419
test "$ac_cv_exeext" = no && ac_cv_exeext=
3424
if test -z "$ac_file"; then :
3425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3426
$as_echo "no" >&6; }
3427
$as_echo "$as_me: failed program was:" >&5
3428
sed 's/^/| /' conftest.$ac_ext >&5
3430
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432
as_fn_error 77 "C compiler cannot create executables
3433
See \`config.log' for more details" "$LINENO" 5; }
3435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3436
$as_echo "yes" >&6; }
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3439
$as_echo_n "checking for C compiler default output file name... " >&6; }
3440
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3441
$as_echo "$ac_file" >&6; }
3442
ac_exeext=$ac_cv_exeext
3444
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3445
ac_clean_files=$ac_clean_files_save
3446
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3447
$as_echo_n "checking for suffix of executables... " >&6; }
3448
if { { ac_try="$ac_link"
3450
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3451
*) ac_try_echo=$ac_try;;
3453
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3454
$as_echo "$ac_try_echo"; } >&5
3455
(eval "$ac_link") 2>&5
3457
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3458
test $ac_status = 0; }; then :
3459
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3460
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3461
# work properly (i.e., refer to `conftest.exe'), while it won't with
3463
for ac_file in conftest.exe conftest conftest.*; do
3464
test -f "$ac_file" || continue
3466
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3467
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3473
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3476
See \`config.log' for more details" "$LINENO" 5; }
3478
rm -f conftest conftest$ac_cv_exeext
3479
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3480
$as_echo "$ac_cv_exeext" >&6; }
3482
rm -f conftest.$ac_ext
3483
EXEEXT=$ac_cv_exeext
3485
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486
/* end confdefs.h. */
3491
FILE *f = fopen ("conftest.out", "w");
3492
return ferror (f) || fclose (f) != 0;
3498
ac_clean_files="$ac_clean_files conftest.out"
3499
# Check that the compiler produces executables we can run. If not, either
3500
# the compiler is broken, or we cross compile.
3501
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3502
$as_echo_n "checking whether we are cross compiling... " >&6; }
3503
if test "$cross_compiling" != yes; then
3504
{ { ac_try="$ac_link"
3506
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507
*) ac_try_echo=$ac_try;;
3509
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3510
$as_echo "$ac_try_echo"; } >&5
3511
(eval "$ac_link") 2>&5
3513
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3514
test $ac_status = 0; }
3515
if { ac_try='./conftest$ac_cv_exeext'
3516
{ { case "(($ac_try" in
3517
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3518
*) ac_try_echo=$ac_try;;
3520
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3521
$as_echo "$ac_try_echo"; } >&5
3522
(eval "$ac_try") 2>&5
3524
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3525
test $ac_status = 0; }; }; then
3528
if test "$cross_compiling" = maybe; then
3531
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533
as_fn_error $? "cannot run C compiled programs.
3534
If you meant to cross compile, use \`--host'.
3535
See \`config.log' for more details" "$LINENO" 5; }
3539
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3540
$as_echo "$cross_compiling" >&6; }
3542
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3543
ac_clean_files=$ac_clean_files_save
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3545
$as_echo_n "checking for suffix of object files... " >&6; }
3546
if ${ac_cv_objext+:} false; then :
3547
$as_echo_n "(cached) " >&6
3549
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550
/* end confdefs.h. */
3560
rm -f conftest.o conftest.obj
3561
if { { ac_try="$ac_compile"
3563
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564
*) ac_try_echo=$ac_try;;
3566
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567
$as_echo "$ac_try_echo"; } >&5
3568
(eval "$ac_compile") 2>&5
3570
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3571
test $ac_status = 0; }; then :
3572
for ac_file in conftest.o conftest.obj conftest.*; do
3573
test -f "$ac_file" || continue;
3575
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3576
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3581
$as_echo "$as_me: failed program was:" >&5
3582
sed 's/^/| /' conftest.$ac_ext >&5
3584
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3585
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3586
as_fn_error $? "cannot compute suffix of object files: cannot compile
3587
See \`config.log' for more details" "$LINENO" 5; }
3589
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3592
$as_echo "$ac_cv_objext" >&6; }
3593
OBJEXT=$ac_cv_objext
3595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3596
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3597
if ${ac_cv_c_compiler_gnu+:} false; then :
3598
$as_echo_n "(cached) " >&6
3600
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3601
/* end confdefs.h. */
3614
if ac_fn_c_try_compile "$LINENO"; then :
3619
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3620
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3624
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3625
if test $ac_compiler_gnu = yes; then
3630
ac_test_CFLAGS=${CFLAGS+set}
3631
ac_save_CFLAGS=$CFLAGS
3632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3633
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3634
if ${ac_cv_prog_cc_g+:} false; then :
3635
$as_echo_n "(cached) " >&6
3637
ac_save_c_werror_flag=$ac_c_werror_flag
3638
ac_c_werror_flag=yes
3641
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642
/* end confdefs.h. */
3652
if ac_fn_c_try_compile "$LINENO"; then :
3656
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657
/* end confdefs.h. */
3667
if ac_fn_c_try_compile "$LINENO"; then :
3670
ac_c_werror_flag=$ac_save_c_werror_flag
3672
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673
/* end confdefs.h. */
3683
if ac_fn_c_try_compile "$LINENO"; then :
3686
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3690
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3691
ac_c_werror_flag=$ac_save_c_werror_flag
3693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3694
$as_echo "$ac_cv_prog_cc_g" >&6; }
3695
if test "$ac_test_CFLAGS" = set; then
3696
CFLAGS=$ac_save_CFLAGS
3697
elif test $ac_cv_prog_cc_g = yes; then
3698
if test "$GCC" = yes; then
3704
if test "$GCC" = yes; then
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3711
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3712
if ${ac_cv_prog_cc_c89+:} false; then :
3713
$as_echo_n "(cached) " >&6
3715
ac_cv_prog_cc_c89=no
3717
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3718
/* end confdefs.h. */
3722
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3723
struct buf { int x; };
3724
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3725
static char *e (p, i)
3731
static char *f (char * (*g) (char **, int), char **p, ...)
3736
s = g (p, va_arg (v,int));
3741
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3742
function prototypes and stuff, but not '\xHH' hex character constants.
3743
These don't provoke an error unfortunately, instead are silently treated
3744
as 'x'. The following induces an error, until -std is added to get
3745
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3746
array size at least. It's necessary to write '\x00'==0 to get something
3747
that's true only with -std. */
3748
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3750
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3751
inside strings and character constants. */
3753
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3755
int test (int i, double x);
3756
struct s1 {int (*f) (int a);};
3757
struct s2 {int (*f) (double a);};
3758
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3764
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3769
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3770
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3772
CC="$ac_save_CC $ac_arg"
3773
if ac_fn_c_try_compile "$LINENO"; then :
3774
ac_cv_prog_cc_c89=$ac_arg
3776
rm -f core conftest.err conftest.$ac_objext
3777
test "x$ac_cv_prog_cc_c89" != "xno" && break
3779
rm -f conftest.$ac_ext
3784
case "x$ac_cv_prog_cc_c89" in
3786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3787
$as_echo "none needed" >&6; } ;;
3789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3790
$as_echo "unsupported" >&6; } ;;
3792
CC="$CC $ac_cv_prog_cc_c89"
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3794
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3796
if test "x$ac_cv_prog_cc_c89" != xno; then :
3801
ac_cpp='$CPP $CPPFLAGS'
3802
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3803
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3804
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3805
DEPDIR="${am__leading_dot}deps"
3807
ac_config_commands="$ac_config_commands depfiles"
3810
am_make=${MAKE-make}
3811
cat > confinc << 'END'
3813
@echo this is the am__doit target
3816
# If we don't find an include directive, just comment out the code.
3817
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3818
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3822
# First try GNU make style include.
3823
echo "include confinc" > confmf
3824
# Ignore all kinds of additional output from `make'.
3825
case `$am_make -s -f confmf 2> /dev/null` in #(
3826
*the\ am__doit\ target*)
3832
# Now try BSD make style include.
3833
if test "$am__include" = "#"; then
3834
echo '.include "confinc"' > confmf
3835
case `$am_make -s -f confmf 2> /dev/null` in #(
3836
*the\ am__doit\ target*)
3837
am__include=.include
3845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3846
$as_echo "$_am_result" >&6; }
3847
rm -f confinc confmf
3849
# Check whether --enable-dependency-tracking was given.
3850
if test "${enable_dependency_tracking+set}" = set; then :
3851
enableval=$enable_dependency_tracking;
3854
if test "x$enable_dependency_tracking" != xno; then
3855
am_depcomp="$ac_aux_dir/depcomp"
3859
if test "x$enable_dependency_tracking" != xno; then
3869
depcc="$CC" am_compiler_list=
3871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3872
$as_echo_n "checking dependency style of $depcc... " >&6; }
3873
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3874
$as_echo_n "(cached) " >&6
3876
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3877
# We make a subdir and do the tests there. Otherwise we can end up
3878
# making bogus files that we don't know about and never remove. For
3879
# instance it was reported that on HP-UX the gcc test will end up
3880
# making a dummy file named `D' -- because `-MD' means `put the output
3884
# Copy depcomp to subdir because otherwise we won't find it if we're
3885
# using a relative directory.
3886
cp "$am_depcomp" conftest.dir
3888
# We will build objects and dependencies in a subdirectory because
3889
# it helps to detect inapplicable dependency modes. For instance
3890
# both Tru64's cc and ICC support -MD to output dependencies as a
3891
# side effect of compilation, but ICC will put the dependencies in
3892
# the current directory while Tru64 will put them in the object
3896
am_cv_CC_dependencies_compiler_type=none
3897
if test "$am_compiler_list" = ""; then
3898
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3901
case " $depcc " in #(
3902
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3905
for depmode in $am_compiler_list; do
3906
# Setup a source with many dependencies, because some compilers
3907
# like to wrap large dependency lists on column 80 (with \), and
3908
# we should not choose a depcomp mode which is confused by this.
3910
# We need to recreate these files for each test, as the compiler may
3911
# overwrite some of them when testing with obscure command lines.
3912
# This happens at least with the AIX C compiler.
3914
for i in 1 2 3 4 5 6; do
3915
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3916
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3917
# Solaris 8's {/usr,}/bin/sh.
3918
touch sub/conftst$i.h
3920
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3922
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3923
# mode. It turns out that the SunPro C++ compiler does not properly
3924
# handle `-M -o', and we need to detect this. Also, some Intel
3925
# versions had trouble with output in subdirs
3926
am__obj=sub/conftest.${OBJEXT-o}
3927
am__minus_obj="-o $am__obj"
3930
# This depmode causes a compiler race in universal mode.
3931
test "$am__universal" = false || continue
3934
# after this tag, mechanisms are not by side-effect, so they'll
3935
# only be used when explicitly requested
3936
if test "x$enable_dependency_tracking" = xyes; then
3942
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3943
# This compiler won't grok `-c -o', but also, the minuso test has
3944
# not run yet. These depmodes are late enough in the game, and
3945
# so weak that their functioning should not be impacted.
3946
am__obj=conftest.${OBJEXT-o}
3951
if depmode=$depmode \
3952
source=sub/conftest.c object=$am__obj \
3953
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3954
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3955
>/dev/null 2>conftest.err &&
3956
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3957
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3958
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3959
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3960
# icc doesn't choke on unknown options, it will just issue warnings
3961
# or remarks (even with -Werror). So we grep stderr for any message
3962
# that says an option was ignored or not supported.
3963
# When given -MP, icc 7.0 and 7.1 complain thusly:
3964
# icc: Command line warning: ignoring option '-M'; no argument required
3965
# The diagnosis changed in icc 8.0:
3966
# icc: Command line remark: option '-MP' not supported
3967
if (grep 'ignoring option' conftest.err ||
3968
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3969
am_cv_CC_dependencies_compiler_type=$depmode
3978
am_cv_CC_dependencies_compiler_type=none
3982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3983
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3984
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3987
test "x$enable_dependency_tracking" != xno \
3988
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3990
am__fastdepCC_FALSE='#'
3992
am__fastdepCC_TRUE='#'
3993
am__fastdepCC_FALSE=
3997
if test "x$CC" != xcc; then
3998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3999
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4001
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4002
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4004
set dummy $CC; ac_cc=`$as_echo "$2" |
4005
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4006
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4007
$as_echo_n "(cached) " >&6
4009
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010
/* end confdefs.h. */
4020
# Make sure it works both with $CC and with simple cc.
4021
# We do the test twice because some compilers refuse to overwrite an
4022
# existing .o file with -o, though they will create one.
4023
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4025
if { { case "(($ac_try" in
4026
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027
*) ac_try_echo=$ac_try;;
4029
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030
$as_echo "$ac_try_echo"; } >&5
4031
(eval "$ac_try") 2>&5
4033
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034
test $ac_status = 0; } &&
4035
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4036
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4037
*) ac_try_echo=$ac_try;;
4039
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4040
$as_echo "$ac_try_echo"; } >&5
4041
(eval "$ac_try") 2>&5
4043
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4044
test $ac_status = 0; };
4046
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4047
if test "x$CC" != xcc; then
4048
# Test first that cc exists at all.
4049
if { ac_try='cc -c conftest.$ac_ext >&5'
4050
{ { case "(($ac_try" in
4051
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4052
*) ac_try_echo=$ac_try;;
4054
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4055
$as_echo "$ac_try_echo"; } >&5
4056
(eval "$ac_try") 2>&5
4058
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4059
test $ac_status = 0; }; }; then
4060
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4062
if { { case "(($ac_try" in
4063
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064
*) ac_try_echo=$ac_try;;
4066
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067
$as_echo "$ac_try_echo"; } >&5
4068
(eval "$ac_try") 2>&5
4070
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071
test $ac_status = 0; } &&
4072
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4073
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074
*) ac_try_echo=$ac_try;;
4076
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4077
$as_echo "$ac_try_echo"; } >&5
4078
(eval "$ac_try") 2>&5
4080
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4081
test $ac_status = 0; };
4086
# cc exists but doesn't like -o.
4087
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4092
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4094
rm -f core conftest*
4097
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4099
$as_echo "yes" >&6; }
4101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102
$as_echo "no" >&6; }
4104
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4108
# FIXME: we rely on the cache variable name because
4109
# there is no other way.
4111
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4112
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4113
if test "$am_t" != yes; then
4114
# Losing compiler, so override with the script.
4115
# FIXME: It is wrong to rewrite CC.
4116
# But if we don't then we get into trouble of one sort or another.
4117
# A longer-term fix would be to have automake use am__CC in this case,
4118
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4119
CC="$am_aux_dir/compile $CC"
4125
ac_cpp='$CPP $CPPFLAGS'
4126
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4127
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4128
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4130
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4131
# On Suns, sometimes $CPP names a directory.
4132
if test -n "$CPP" && test -d "$CPP"; then
4135
if test -z "$CPP"; then
4136
if ${ac_cv_prog_CPP+:} false; then :
4137
$as_echo_n "(cached) " >&6
4139
# Double quotes because CPP needs to be expanded
4140
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4143
for ac_c_preproc_warn_flag in '' yes
4145
# Use a header file that comes with gcc, so configuring glibc
4146
# with a fresh cross-compiler works.
4147
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4148
# <limits.h> exists even on freestanding compilers.
4149
# On the NeXT, cc -E runs the code through the compiler's parser,
4150
# not just through cpp. "Syntax error" is here to catch this case.
4151
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152
/* end confdefs.h. */
4154
# include <limits.h>
4156
# include <assert.h>
4160
if ac_fn_c_try_cpp "$LINENO"; then :
4163
# Broken: fails on valid input.
4166
rm -f conftest.err conftest.i conftest.$ac_ext
4168
# OK, works on sane cases. Now check whether nonexistent headers
4169
# can be detected and how.
4170
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4171
/* end confdefs.h. */
4172
#include <ac_nonexistent.h>
4174
if ac_fn_c_try_cpp "$LINENO"; then :
4175
# Broken: success on invalid input.
4178
# Passes both tests.
4182
rm -f conftest.err conftest.i conftest.$ac_ext
4185
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4186
rm -f conftest.i conftest.err conftest.$ac_ext
4187
if $ac_preproc_ok; then :
4199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4200
$as_echo "$CPP" >&6; }
4202
for ac_c_preproc_warn_flag in '' yes
4204
# Use a header file that comes with gcc, so configuring glibc
4205
# with a fresh cross-compiler works.
4206
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4207
# <limits.h> exists even on freestanding compilers.
4208
# On the NeXT, cc -E runs the code through the compiler's parser,
4209
# not just through cpp. "Syntax error" is here to catch this case.
4210
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211
/* end confdefs.h. */
4213
# include <limits.h>
4215
# include <assert.h>
4219
if ac_fn_c_try_cpp "$LINENO"; then :
4222
# Broken: fails on valid input.
4225
rm -f conftest.err conftest.i conftest.$ac_ext
4227
# OK, works on sane cases. Now check whether nonexistent headers
4228
# can be detected and how.
4229
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4230
/* end confdefs.h. */
4231
#include <ac_nonexistent.h>
4233
if ac_fn_c_try_cpp "$LINENO"; then :
4234
# Broken: success on invalid input.
4237
# Passes both tests.
4241
rm -f conftest.err conftest.i conftest.$ac_ext
4244
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4245
rm -f conftest.i conftest.err conftest.$ac_ext
4246
if $ac_preproc_ok; then :
4249
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4250
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4251
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4252
See \`config.log' for more details" "$LINENO" 5; }
4256
ac_cpp='$CPP $CPPFLAGS'
4257
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4258
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4259
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4262
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4263
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4264
if ${ac_cv_path_GREP+:} false; then :
4265
$as_echo_n "(cached) " >&6
4267
if test -z "$GREP"; then
4268
ac_path_GREP_found=false
4269
# Loop through the user's path and test for each of PROGNAME-LIST
4270
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4271
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4274
test -z "$as_dir" && as_dir=.
4275
for ac_prog in grep ggrep; do
4276
for ac_exec_ext in '' $ac_executable_extensions; do
4277
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4278
as_fn_executable_p "$ac_path_GREP" || continue
4279
# Check for GNU ac_path_GREP and select it if it is found.
4280
# Check for GNU $ac_path_GREP
4281
case `"$ac_path_GREP" --version 2>&1` in
4283
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4286
$as_echo_n 0123456789 >"conftest.in"
4289
cat "conftest.in" "conftest.in" >"conftest.tmp"
4290
mv "conftest.tmp" "conftest.in"
4291
cp "conftest.in" "conftest.nl"
4292
$as_echo 'GREP' >> "conftest.nl"
4293
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4294
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4295
as_fn_arith $ac_count + 1 && ac_count=$as_val
4296
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4297
# Best one so far, save it but keep looking for a better one
4298
ac_cv_path_GREP="$ac_path_GREP"
4299
ac_path_GREP_max=$ac_count
4301
# 10*(2^10) chars as input seems more than enough
4302
test $ac_count -gt 10 && break
4304
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4307
$ac_path_GREP_found && break 3
4312
if test -z "$ac_cv_path_GREP"; then
4313
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4316
ac_cv_path_GREP=$GREP
4320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4321
$as_echo "$ac_cv_path_GREP" >&6; }
4322
GREP="$ac_cv_path_GREP"
4325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4326
$as_echo_n "checking for egrep... " >&6; }
4327
if ${ac_cv_path_EGREP+:} false; then :
4328
$as_echo_n "(cached) " >&6
4330
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4331
then ac_cv_path_EGREP="$GREP -E"
4333
if test -z "$EGREP"; then
4334
ac_path_EGREP_found=false
4335
# Loop through the user's path and test for each of PROGNAME-LIST
4336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4337
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4340
test -z "$as_dir" && as_dir=.
4341
for ac_prog in egrep; do
4342
for ac_exec_ext in '' $ac_executable_extensions; do
4343
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4344
as_fn_executable_p "$ac_path_EGREP" || continue
4345
# Check for GNU ac_path_EGREP and select it if it is found.
4346
# Check for GNU $ac_path_EGREP
4347
case `"$ac_path_EGREP" --version 2>&1` in
4349
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4352
$as_echo_n 0123456789 >"conftest.in"
4355
cat "conftest.in" "conftest.in" >"conftest.tmp"
4356
mv "conftest.tmp" "conftest.in"
4357
cp "conftest.in" "conftest.nl"
4358
$as_echo 'EGREP' >> "conftest.nl"
4359
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4360
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4361
as_fn_arith $ac_count + 1 && ac_count=$as_val
4362
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4363
# Best one so far, save it but keep looking for a better one
4364
ac_cv_path_EGREP="$ac_path_EGREP"
4365
ac_path_EGREP_max=$ac_count
4367
# 10*(2^10) chars as input seems more than enough
4368
test $ac_count -gt 10 && break
4370
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4373
$ac_path_EGREP_found && break 3
4378
if test -z "$ac_cv_path_EGREP"; then
4379
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4382
ac_cv_path_EGREP=$EGREP
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4388
$as_echo "$ac_cv_path_EGREP" >&6; }
4389
EGREP="$ac_cv_path_EGREP"
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4393
$as_echo_n "checking for ANSI C header files... " >&6; }
4394
if ${ac_cv_header_stdc+:} false; then :
4395
$as_echo_n "(cached) " >&6
4397
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4398
/* end confdefs.h. */
4412
if ac_fn_c_try_compile "$LINENO"; then :
4413
ac_cv_header_stdc=yes
4415
ac_cv_header_stdc=no
4417
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4419
if test $ac_cv_header_stdc = yes; then
4420
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4421
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422
/* end confdefs.h. */
4426
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4427
$EGREP "memchr" >/dev/null 2>&1; then :
4430
ac_cv_header_stdc=no
4436
if test $ac_cv_header_stdc = yes; then
4437
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4438
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4439
/* end confdefs.h. */
4443
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4444
$EGREP "free" >/dev/null 2>&1; then :
4447
ac_cv_header_stdc=no
4453
if test $ac_cv_header_stdc = yes; then
4454
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4455
if test "$cross_compiling" = yes; then :
4458
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4459
/* end confdefs.h. */
4462
#if ((' ' & 0x0FF) == 0x020)
4463
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4464
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4466
# define ISLOWER(c) \
4467
(('a' <= (c) && (c) <= 'i') \
4468
|| ('j' <= (c) && (c) <= 'r') \
4469
|| ('s' <= (c) && (c) <= 'z'))
4470
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4473
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4478
for (i = 0; i < 256; i++)
4479
if (XOR (islower (i), ISLOWER (i))
4480
|| toupper (i) != TOUPPER (i))
4485
if ac_fn_c_try_run "$LINENO"; then :
4488
ac_cv_header_stdc=no
4490
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4491
conftest.$ac_objext conftest.beam conftest.$ac_ext
4496
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4497
$as_echo "$ac_cv_header_stdc" >&6; }
4498
if test $ac_cv_header_stdc = yes; then
4500
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4507
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4508
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4513
macro_version='2.4.2'
4514
macro_revision='1.3337'
4528
ltmain="$ac_aux_dir/ltmain.sh"
4530
# Make sure we can run config.sub.
4531
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4532
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4535
$as_echo_n "checking build system type... " >&6; }
4536
if ${ac_cv_build+:} false; then :
4537
$as_echo_n "(cached) " >&6
4539
ac_build_alias=$build_alias
4540
test "x$ac_build_alias" = x &&
4541
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4542
test "x$ac_build_alias" = x &&
4543
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4544
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4545
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4549
$as_echo "$ac_cv_build" >&6; }
4550
case $ac_cv_build in
4552
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4555
ac_save_IFS=$IFS; IFS='-'
4561
# Remember, the first character of IFS is used to create $*,
4562
# except with old shells:
4565
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4569
$as_echo_n "checking host system type... " >&6; }
4570
if ${ac_cv_host+:} false; then :
4571
$as_echo_n "(cached) " >&6
4573
if test "x$host_alias" = x; then
4574
ac_cv_host=$ac_cv_build
4576
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4577
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4582
$as_echo "$ac_cv_host" >&6; }
4585
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4588
ac_save_IFS=$IFS; IFS='-'
4594
# Remember, the first character of IFS is used to create $*,
4595
# except with old shells:
4598
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4601
# Backslashify metacharacters that are still active within
4602
# double-quoted strings.
4603
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4605
# Same as above, but do not quote variable references.
4606
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4608
# Sed substitution to delay expansion of an escaped shell variable in a
4609
# double_quote_subst'ed string.
4610
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4612
# Sed substitution to delay expansion of an escaped single quote.
4613
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4615
# Sed substitution to avoid accidental globbing in evaled expressions
4616
no_glob_subst='s/\*/\\\*/g'
4618
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4619
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4620
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4623
$as_echo_n "checking how to print strings... " >&6; }
4624
# Test print first, because it will be a builtin if present.
4625
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4626
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4628
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4631
# Use this function as a fallback that always works.
4632
func_fallback_echo ()
4634
eval 'cat <<_LTECHO_EOF
4638
ECHO='func_fallback_echo'
4641
# func_echo_all arg...
4642
# Invoke $ECHO with all args, space-separated.
4649
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4650
$as_echo "printf" >&6; } ;;
4651
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4652
$as_echo "print -r" >&6; } ;;
4653
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4654
$as_echo "cat" >&6; } ;;
4670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4671
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4672
if ${ac_cv_path_SED+:} false; then :
4673
$as_echo_n "(cached) " >&6
4675
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4676
for ac_i in 1 2 3 4 5 6 7; do
4677
ac_script="$ac_script$as_nl$ac_script"
4679
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4680
{ ac_script=; unset ac_script;}
4681
if test -z "$SED"; then
4682
ac_path_SED_found=false
4683
# Loop through the user's path and test for each of PROGNAME-LIST
4684
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4688
test -z "$as_dir" && as_dir=.
4689
for ac_prog in sed gsed; do
4690
for ac_exec_ext in '' $ac_executable_extensions; do
4691
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4692
as_fn_executable_p "$ac_path_SED" || continue
4693
# Check for GNU ac_path_SED and select it if it is found.
4694
# Check for GNU $ac_path_SED
4695
case `"$ac_path_SED" --version 2>&1` in
4697
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4700
$as_echo_n 0123456789 >"conftest.in"
4703
cat "conftest.in" "conftest.in" >"conftest.tmp"
4704
mv "conftest.tmp" "conftest.in"
4705
cp "conftest.in" "conftest.nl"
4706
$as_echo '' >> "conftest.nl"
4707
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4708
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4709
as_fn_arith $ac_count + 1 && ac_count=$as_val
4710
if test $ac_count -gt ${ac_path_SED_max-0}; then
4711
# Best one so far, save it but keep looking for a better one
4712
ac_cv_path_SED="$ac_path_SED"
4713
ac_path_SED_max=$ac_count
4715
# 10*(2^10) chars as input seems more than enough
4716
test $ac_count -gt 10 && break
4718
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4721
$ac_path_SED_found && break 3
4726
if test -z "$ac_cv_path_SED"; then
4727
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4734
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4735
$as_echo "$ac_cv_path_SED" >&6; }
4736
SED="$ac_cv_path_SED"
4739
test -z "$SED" && SED=sed
4740
Xsed="$SED -e 1s/^X//"
4752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4753
$as_echo_n "checking for fgrep... " >&6; }
4754
if ${ac_cv_path_FGREP+:} false; then :
4755
$as_echo_n "(cached) " >&6
4757
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4758
then ac_cv_path_FGREP="$GREP -F"
4760
if test -z "$FGREP"; then
4761
ac_path_FGREP_found=false
4762
# Loop through the user's path and test for each of PROGNAME-LIST
4763
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4764
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4767
test -z "$as_dir" && as_dir=.
4768
for ac_prog in fgrep; do
4769
for ac_exec_ext in '' $ac_executable_extensions; do
4770
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4771
as_fn_executable_p "$ac_path_FGREP" || continue
4772
# Check for GNU ac_path_FGREP and select it if it is found.
4773
# Check for GNU $ac_path_FGREP
4774
case `"$ac_path_FGREP" --version 2>&1` in
4776
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4779
$as_echo_n 0123456789 >"conftest.in"
4782
cat "conftest.in" "conftest.in" >"conftest.tmp"
4783
mv "conftest.tmp" "conftest.in"
4784
cp "conftest.in" "conftest.nl"
4785
$as_echo 'FGREP' >> "conftest.nl"
4786
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4787
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4788
as_fn_arith $ac_count + 1 && ac_count=$as_val
4789
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4790
# Best one so far, save it but keep looking for a better one
4791
ac_cv_path_FGREP="$ac_path_FGREP"
4792
ac_path_FGREP_max=$ac_count
4794
# 10*(2^10) chars as input seems more than enough
4795
test $ac_count -gt 10 && break
4797
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800
$ac_path_FGREP_found && break 3
4805
if test -z "$ac_cv_path_FGREP"; then
4806
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809
ac_cv_path_FGREP=$FGREP
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4815
$as_echo "$ac_cv_path_FGREP" >&6; }
4816
FGREP="$ac_cv_path_FGREP"
4819
test -z "$GREP" && GREP=grep
4839
# Check whether --with-gnu-ld was given.
4840
if test "${with_gnu_ld+set}" = set; then :
4841
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4847
if test "$GCC" = yes; then
4848
# Check if gcc -print-prog-name=ld gives a path.
4849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4850
$as_echo_n "checking for ld used by $CC... " >&6; }
4853
# gcc leaves a trailing carriage return which upsets mingw
4854
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4856
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4859
# Accept absolute paths.
4861
re_direlt='/[^/][^/]*/\.\./'
4862
# Canonicalize the pathname of ld
4863
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4864
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4865
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4867
test -z "$LD" && LD="$ac_prog"
4870
# If it fails, then pretend we aren't using GCC.
4874
# If it is relative, then search for the first ld in PATH.
4878
elif test "$with_gnu_ld" = yes; then
4879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4880
$as_echo_n "checking for GNU ld... " >&6; }
4882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4883
$as_echo_n "checking for non-GNU ld... " >&6; }
4885
if ${lt_cv_path_LD+:} false; then :
4886
$as_echo_n "(cached) " >&6
4888
if test -z "$LD"; then
4889
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4890
for ac_dir in $PATH; do
4892
test -z "$ac_dir" && ac_dir=.
4893
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4894
lt_cv_path_LD="$ac_dir/$ac_prog"
4895
# Check to see if the program is GNU ld. I'd rather use --version,
4896
# but apparently some variants of GNU ld only accept -v.
4897
# Break only if it was the GNU/non-GNU ld that we prefer.
4898
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4899
*GNU* | *'with BFD'*)
4900
test "$with_gnu_ld" != no && break
4903
test "$with_gnu_ld" != yes && break
4910
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4915
if test -n "$LD"; then
4916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4917
$as_echo "$LD" >&6; }
4919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920
$as_echo "no" >&6; }
4922
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4924
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4925
if ${lt_cv_prog_gnu_ld+:} false; then :
4926
$as_echo_n "(cached) " >&6
4928
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4929
case `$LD -v 2>&1 </dev/null` in
4930
*GNU* | *'with BFD'*)
4931
lt_cv_prog_gnu_ld=yes
4934
lt_cv_prog_gnu_ld=no
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4939
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4940
with_gnu_ld=$lt_cv_prog_gnu_ld
4950
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4951
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4952
if ${lt_cv_path_NM+:} false; then :
4953
$as_echo_n "(cached) " >&6
4955
if test -n "$NM"; then
4956
# Let the user override the test.
4959
lt_nm_to_check="${ac_tool_prefix}nm"
4960
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4961
lt_nm_to_check="$lt_nm_to_check nm"
4963
for lt_tmp_nm in $lt_nm_to_check; do
4964
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4965
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4967
test -z "$ac_dir" && ac_dir=.
4968
tmp_nm="$ac_dir/$lt_tmp_nm"
4969
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4970
# Check to see if the nm accepts a BSD-compat flag.
4971
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4972
# nm: unknown option "B" ignored
4973
# Tru64's nm complains that /dev/null is an invalid object file
4974
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4975
*/dev/null* | *'Invalid file or object type'*)
4976
lt_cv_path_NM="$tmp_nm -B"
4980
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4982
lt_cv_path_NM="$tmp_nm -p"
4986
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4987
continue # so that we can try to find one that supports BSD flags
4996
: ${lt_cv_path_NM=no}
4999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5000
$as_echo "$lt_cv_path_NM" >&6; }
5001
if test "$lt_cv_path_NM" != "no"; then
5004
# Didn't find any BSD compatible name lister, look for dumpbin.
5005
if test -n "$DUMPBIN"; then :
5006
# Let the user override the test.
5008
if test -n "$ac_tool_prefix"; then
5009
for ac_prog in dumpbin "link -dump"
5011
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5012
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014
$as_echo_n "checking for $ac_word... " >&6; }
5015
if ${ac_cv_prog_DUMPBIN+:} false; then :
5016
$as_echo_n "(cached) " >&6
5018
if test -n "$DUMPBIN"; then
5019
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5021
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025
test -z "$as_dir" && as_dir=.
5026
for ac_exec_ext in '' $ac_executable_extensions; do
5027
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5028
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5029
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5038
DUMPBIN=$ac_cv_prog_DUMPBIN
5039
if test -n "$DUMPBIN"; then
5040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5041
$as_echo "$DUMPBIN" >&6; }
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044
$as_echo "no" >&6; }
5048
test -n "$DUMPBIN" && break
5051
if test -z "$DUMPBIN"; then
5052
ac_ct_DUMPBIN=$DUMPBIN
5053
for ac_prog in dumpbin "link -dump"
5055
# Extract the first word of "$ac_prog", so it can be a program name with args.
5056
set dummy $ac_prog; ac_word=$2
5057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5058
$as_echo_n "checking for $ac_word... " >&6; }
5059
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5060
$as_echo_n "(cached) " >&6
5062
if test -n "$ac_ct_DUMPBIN"; then
5063
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5069
test -z "$as_dir" && as_dir=.
5070
for ac_exec_ext in '' $ac_executable_extensions; do
5071
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5072
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5082
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5083
if test -n "$ac_ct_DUMPBIN"; then
5084
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5085
$as_echo "$ac_ct_DUMPBIN" >&6; }
5087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5088
$as_echo "no" >&6; }
5092
test -n "$ac_ct_DUMPBIN" && break
5095
if test "x$ac_ct_DUMPBIN" = x; then
5098
case $cross_compiling:$ac_tool_warned in
5100
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5101
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5102
ac_tool_warned=yes ;;
5104
DUMPBIN=$ac_ct_DUMPBIN
5108
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5110
DUMPBIN="$DUMPBIN -symbols"
5118
if test "$DUMPBIN" != ":"; then
5122
test -z "$NM" && NM=nm
5129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5130
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5131
if ${lt_cv_nm_interface+:} false; then :
5132
$as_echo_n "(cached) " >&6
5134
lt_cv_nm_interface="BSD nm"
5135
echo "int some_variable = 0;" > conftest.$ac_ext
5136
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5137
(eval "$ac_compile" 2>conftest.err)
5138
cat conftest.err >&5
5139
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5140
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5141
cat conftest.err >&5
5142
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5143
cat conftest.out >&5
5144
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5145
lt_cv_nm_interface="MS dumpbin"
5149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5150
$as_echo "$lt_cv_nm_interface" >&6; }
5152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5153
$as_echo_n "checking whether ln -s works... " >&6; }
5155
if test "$LN_S" = "ln -s"; then
5156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5157
$as_echo "yes" >&6; }
5159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5160
$as_echo "no, using $LN_S" >&6; }
5163
# find the maximum length of command line arguments
5164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5165
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5166
if ${lt_cv_sys_max_cmd_len+:} false; then :
5167
$as_echo_n "(cached) " >&6
5174
# On DJGPP, this test can blow up pretty badly due to problems in libc
5175
# (any single argument exceeding 2000 bytes causes a buffer overrun
5176
# during glob expansion). Even if it were fixed, the result of this
5177
# check would be larger than it should be.
5178
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5182
# Under GNU Hurd, this test is not required because there is
5183
# no limit to the length of command line arguments.
5184
# Libtool will interpret -1 as no limit whatsoever
5185
lt_cv_sys_max_cmd_len=-1;
5188
cygwin* | mingw* | cegcc*)
5189
# On Win9x/ME, this test blows up -- it succeeds, but takes
5190
# about 5 minutes as the teststring grows exponentially.
5191
# Worse, since 9x/ME are not pre-emptively multitasking,
5192
# you end up with a "frozen" computer, even though with patience
5193
# the test eventually succeeds (with a max line length of 256k).
5194
# Instead, let's just punt: use the minimum linelength reported by
5195
# all of the supported platforms: 8192 (on NT/2K/XP).
5196
lt_cv_sys_max_cmd_len=8192;
5200
# On MiNT this can take a long time and run out of memory.
5201
lt_cv_sys_max_cmd_len=8192;
5205
# On AmigaOS with pdksh, this test takes hours, literally.
5206
# So we just punt and use a minimum line length of 8192.
5207
lt_cv_sys_max_cmd_len=8192;
5210
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5211
# This has been around since 386BSD, at least. Likely further.
5212
if test -x /sbin/sysctl; then
5213
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5214
elif test -x /usr/sbin/sysctl; then
5215
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5217
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5219
# And add a safety zone
5220
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5221
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5225
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5226
lt_cv_sys_max_cmd_len=196608
5230
# The test takes a long time on OS/2.
5231
lt_cv_sys_max_cmd_len=8192
5235
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5236
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5237
# nice to cause kernel panics so lets avoid the loop below.
5238
# First set a reasonable default.
5239
lt_cv_sys_max_cmd_len=16384
5241
if test -x /sbin/sysconfig; then
5242
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5243
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5248
lt_cv_sys_max_cmd_len=102400
5250
sysv5* | sco5v6* | sysv4.2uw2*)
5251
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5252
if test -n "$kargmax"; then
5253
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5255
lt_cv_sys_max_cmd_len=32768
5259
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5260
if test -n "$lt_cv_sys_max_cmd_len"; then
5261
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5262
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5264
# Make teststring a little bigger before we do anything with it.
5265
# a 1K string should be a reasonable start.
5266
for i in 1 2 3 4 5 6 7 8 ; do
5267
teststring=$teststring$teststring
5269
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5270
# If test is not a shell built-in, we'll probably end up computing a
5271
# maximum length that is only half of the actual maximum length, but
5273
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5274
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5275
test $i != 17 # 1/2 MB should be enough
5278
teststring=$teststring$teststring
5280
# Only check the string length outside the loop.
5281
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5283
# Add a significant safety factor because C++ compilers can tack on
5284
# massive amounts of additional arguments before passing them to the
5285
# linker. It appears as though 1/2 is a usable value.
5286
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5293
if test -n $lt_cv_sys_max_cmd_len ; then
5294
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5295
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5298
$as_echo "none" >&6; }
5300
max_cmd_len=$lt_cv_sys_max_cmd_len
5311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5312
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5313
# Try some XSI features
5316
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5318
&& eval 'test $(( 1 + 1 )) -eq 2 \
5319
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5322
$as_echo "$xsi_shell" >&6; }
5325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5326
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5328
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5330
&& lt_shell_append=yes
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5332
$as_echo "$lt_shell_append" >&6; }
5335
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5345
# test EBCDIC or ASCII
5346
case `echo X|tr X '\101'` in
5347
A) # ASCII based system
5348
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5349
lt_SP2NL='tr \040 \012'
5350
lt_NL2SP='tr \015\012 \040\040'
5352
*) # EBCDIC based system
5353
lt_SP2NL='tr \100 \n'
5354
lt_NL2SP='tr \r\n \100\100'
5366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5367
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5368
if ${lt_cv_to_host_file_cmd+:} false; then :
5369
$as_echo_n "(cached) " >&6
5374
*-*-mingw* ) # actually msys
5375
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5378
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5380
* ) # otherwise, assume *nix
5381
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5387
*-*-mingw* ) # actually msys
5388
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5391
lt_cv_to_host_file_cmd=func_convert_file_noop
5393
* ) # otherwise, assume *nix
5394
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5398
* ) # unhandled hosts (and "normal" native builds)
5399
lt_cv_to_host_file_cmd=func_convert_file_noop
5405
to_host_file_cmd=$lt_cv_to_host_file_cmd
5406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5407
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5414
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5415
if ${lt_cv_to_tool_file_cmd+:} false; then :
5416
$as_echo_n "(cached) " >&6
5418
#assume ordinary cross tools, or native build.
5419
lt_cv_to_tool_file_cmd=func_convert_file_noop
5423
*-*-mingw* ) # actually msys
5424
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5432
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5434
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5441
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5442
if ${lt_cv_ld_reload_flag+:} false; then :
5443
$as_echo_n "(cached) " >&6
5445
lt_cv_ld_reload_flag='-r'
5447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5448
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5449
reload_flag=$lt_cv_ld_reload_flag
5450
case $reload_flag in
5452
*) reload_flag=" $reload_flag" ;;
5454
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5456
cygwin* | mingw* | pw32* | cegcc*)
5457
if test "$GCC" != yes; then
5462
if test "$GCC" = yes; then
5463
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5465
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5478
if test -n "$ac_tool_prefix"; then
5479
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5480
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5482
$as_echo_n "checking for $ac_word... " >&6; }
5483
if ${ac_cv_prog_OBJDUMP+:} false; then :
5484
$as_echo_n "(cached) " >&6
5486
if test -n "$OBJDUMP"; then
5487
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5493
test -z "$as_dir" && as_dir=.
5494
for ac_exec_ext in '' $ac_executable_extensions; do
5495
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5496
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5497
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506
OBJDUMP=$ac_cv_prog_OBJDUMP
5507
if test -n "$OBJDUMP"; then
5508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5509
$as_echo "$OBJDUMP" >&6; }
5511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5512
$as_echo "no" >&6; }
5517
if test -z "$ac_cv_prog_OBJDUMP"; then
5518
ac_ct_OBJDUMP=$OBJDUMP
5519
# Extract the first word of "objdump", so it can be a program name with args.
5520
set dummy objdump; ac_word=$2
5521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5522
$as_echo_n "checking for $ac_word... " >&6; }
5523
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5524
$as_echo_n "(cached) " >&6
5526
if test -n "$ac_ct_OBJDUMP"; then
5527
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533
test -z "$as_dir" && as_dir=.
5534
for ac_exec_ext in '' $ac_executable_extensions; do
5535
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5537
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5546
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5547
if test -n "$ac_ct_OBJDUMP"; then
5548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5549
$as_echo "$ac_ct_OBJDUMP" >&6; }
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5552
$as_echo "no" >&6; }
5555
if test "x$ac_ct_OBJDUMP" = x; then
5558
case $cross_compiling:$ac_tool_warned in
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5561
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5562
ac_tool_warned=yes ;;
5564
OBJDUMP=$ac_ct_OBJDUMP
5567
OBJDUMP="$ac_cv_prog_OBJDUMP"
5570
test -z "$OBJDUMP" && OBJDUMP=objdump
5580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5581
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5582
if ${lt_cv_deplibs_check_method+:} false; then :
5583
$as_echo_n "(cached) " >&6
5585
lt_cv_file_magic_cmd='$MAGIC_CMD'
5586
lt_cv_file_magic_test_file=
5587
lt_cv_deplibs_check_method='unknown'
5588
# Need to set the preceding variable on all platforms that support
5589
# interlibrary dependencies.
5590
# 'none' -- dependencies not supported.
5591
# `unknown' -- same as none, but documents that we really don't know.
5592
# 'pass_all' -- all dependencies passed with no checks.
5593
# 'test_compile' -- check by making test program.
5594
# 'file_magic [[regex]]' -- check by looking for files in library path
5595
# which responds to the $file_magic_cmd with a given extended regex.
5596
# If you have `file' or equivalent on your system and you're not sure
5597
# whether `pass_all' will *always* work, you probably want this one.
5601
lt_cv_deplibs_check_method=pass_all
5605
lt_cv_deplibs_check_method=pass_all
5609
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5610
lt_cv_file_magic_cmd='/usr/bin/file -L'
5611
lt_cv_file_magic_test_file=/shlib/libc.so
5615
# func_win32_libid is a shell function defined in ltmain.sh
5616
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5617
lt_cv_file_magic_cmd='func_win32_libid'
5621
# Base MSYS/MinGW do not provide the 'file' command needed by
5622
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5623
# unless we find 'file', for example because we are cross-compiling.
5624
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5625
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5626
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5627
lt_cv_file_magic_cmd='func_win32_libid'
5629
# Keep this pattern in sync with the one in func_win32_libid.
5630
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5631
lt_cv_file_magic_cmd='$OBJDUMP -f'
5636
# use the weaker test based on 'objdump'. See mingw*.
5637
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5638
lt_cv_file_magic_cmd='$OBJDUMP -f'
5641
darwin* | rhapsody*)
5642
lt_cv_deplibs_check_method=pass_all
5645
freebsd* | dragonfly*)
5646
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5649
# Not sure whether the presence of OpenBSD here was a mistake.
5650
# Let's accept both of them until this is cleared up.
5651
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5652
lt_cv_file_magic_cmd=/usr/bin/file
5653
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5657
lt_cv_deplibs_check_method=pass_all
5662
lt_cv_deplibs_check_method=pass_all
5666
lt_cv_deplibs_check_method=pass_all
5669
hpux10.20* | hpux11*)
5670
lt_cv_file_magic_cmd=/usr/bin/file
5673
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5674
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5677
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]'
5678
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5681
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5682
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5688
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5689
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5692
irix5* | irix6* | nonstopux*)
5694
*-32|*"-32 ") libmagic=32-bit;;
5695
*-n32|*"-n32 ") libmagic=N32;;
5696
*-64|*"-64 ") libmagic=64-bit;;
5697
*) libmagic=never-match;;
5699
lt_cv_deplibs_check_method=pass_all
5702
# This must be glibc/ELF.
5703
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5704
lt_cv_deplibs_check_method=pass_all
5707
netbsd* | netbsdelf*-gnu)
5708
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5709
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5711
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5716
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5717
lt_cv_file_magic_cmd=/usr/bin/file
5718
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5722
lt_cv_deplibs_check_method=pass_all
5726
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5727
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5729
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5733
osf3* | osf4* | osf5*)
5734
lt_cv_deplibs_check_method=pass_all
5738
lt_cv_deplibs_check_method=pass_all
5742
lt_cv_deplibs_check_method=pass_all
5745
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5746
lt_cv_deplibs_check_method=pass_all
5750
case $host_vendor in
5752
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]'
5753
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5756
lt_cv_deplibs_check_method=pass_all
5759
lt_cv_file_magic_cmd='/bin/file'
5760
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5763
lt_cv_file_magic_cmd='/bin/file'
5764
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5765
lt_cv_file_magic_test_file=/lib/libc.so
5768
lt_cv_deplibs_check_method=pass_all
5771
lt_cv_deplibs_check_method=pass_all
5777
lt_cv_deplibs_check_method=pass_all
5782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5783
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5787
if test "$build" = "$host"; then
5790
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5793
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5799
file_magic_cmd=$lt_cv_file_magic_cmd
5800
deplibs_check_method=$lt_cv_deplibs_check_method
5801
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5824
if test -n "$ac_tool_prefix"; then
5825
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5826
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5828
$as_echo_n "checking for $ac_word... " >&6; }
5829
if ${ac_cv_prog_DLLTOOL+:} false; then :
5830
$as_echo_n "(cached) " >&6
5832
if test -n "$DLLTOOL"; then
5833
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5835
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5839
test -z "$as_dir" && as_dir=.
5840
for ac_exec_ext in '' $ac_executable_extensions; do
5841
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5843
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5852
DLLTOOL=$ac_cv_prog_DLLTOOL
5853
if test -n "$DLLTOOL"; then
5854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5855
$as_echo "$DLLTOOL" >&6; }
5857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5858
$as_echo "no" >&6; }
5863
if test -z "$ac_cv_prog_DLLTOOL"; then
5864
ac_ct_DLLTOOL=$DLLTOOL
5865
# Extract the first word of "dlltool", so it can be a program name with args.
5866
set dummy dlltool; ac_word=$2
5867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5868
$as_echo_n "checking for $ac_word... " >&6; }
5869
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5870
$as_echo_n "(cached) " >&6
5872
if test -n "$ac_ct_DLLTOOL"; then
5873
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5875
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879
test -z "$as_dir" && as_dir=.
5880
for ac_exec_ext in '' $ac_executable_extensions; do
5881
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5882
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5883
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5892
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5893
if test -n "$ac_ct_DLLTOOL"; then
5894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5895
$as_echo "$ac_ct_DLLTOOL" >&6; }
5897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5898
$as_echo "no" >&6; }
5901
if test "x$ac_ct_DLLTOOL" = x; then
5904
case $cross_compiling:$ac_tool_warned in
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5907
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5908
ac_tool_warned=yes ;;
5910
DLLTOOL=$ac_ct_DLLTOOL
5913
DLLTOOL="$ac_cv_prog_DLLTOOL"
5916
test -z "$DLLTOOL" && DLLTOOL=dlltool
5927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5928
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5929
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5930
$as_echo_n "(cached) " >&6
5932
lt_cv_sharedlib_from_linklib_cmd='unknown'
5935
cygwin* | mingw* | pw32* | cegcc*)
5936
# two different shell functions defined in ltmain.sh
5937
# decide which to use based on capabilities of $DLLTOOL
5938
case `$DLLTOOL --help 2>&1` in
5939
*--identify-strict*)
5940
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5943
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5948
# fallback: assume linklib IS sharedlib
5949
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5955
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5956
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5957
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5965
if test -n "$ac_tool_prefix"; then
5968
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5969
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5971
$as_echo_n "checking for $ac_word... " >&6; }
5972
if ${ac_cv_prog_AR+:} false; then :
5973
$as_echo_n "(cached) " >&6
5975
if test -n "$AR"; then
5976
ac_cv_prog_AR="$AR" # Let the user override the test.
5978
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5982
test -z "$as_dir" && as_dir=.
5983
for ac_exec_ext in '' $ac_executable_extensions; do
5984
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5985
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5986
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996
if test -n "$AR"; then
5997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5998
$as_echo "$AR" >&6; }
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6001
$as_echo "no" >&6; }
6005
test -n "$AR" && break
6008
if test -z "$AR"; then
6012
# Extract the first word of "$ac_prog", so it can be a program name with args.
6013
set dummy $ac_prog; ac_word=$2
6014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6015
$as_echo_n "checking for $ac_word... " >&6; }
6016
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6017
$as_echo_n "(cached) " >&6
6019
if test -n "$ac_ct_AR"; then
6020
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6022
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026
test -z "$as_dir" && as_dir=.
6027
for ac_exec_ext in '' $ac_executable_extensions; do
6028
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029
ac_cv_prog_ac_ct_AR="$ac_prog"
6030
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6039
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6040
if test -n "$ac_ct_AR"; then
6041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6042
$as_echo "$ac_ct_AR" >&6; }
6044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6045
$as_echo "no" >&6; }
6049
test -n "$ac_ct_AR" && break
6052
if test "x$ac_ct_AR" = x; then
6055
case $cross_compiling:$ac_tool_warned in
6057
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6058
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6059
ac_tool_warned=yes ;;
6078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6079
$as_echo_n "checking for archiver @FILE support... " >&6; }
6080
if ${lt_cv_ar_at_file+:} false; then :
6081
$as_echo_n "(cached) " >&6
6084
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6085
/* end confdefs.h. */
6095
if ac_fn_c_try_compile "$LINENO"; then :
6096
echo conftest.$ac_objext > conftest.lst
6097
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6098
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6099
(eval $lt_ar_try) 2>&5
6101
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6102
test $ac_status = 0; }
6103
if test "$ac_status" -eq 0; then
6104
# Ensure the archiver fails upon bogus file names.
6105
rm -f conftest.$ac_objext libconftest.a
6106
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6107
(eval $lt_ar_try) 2>&5
6109
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6110
test $ac_status = 0; }
6111
if test "$ac_status" -ne 0; then
6115
rm -f conftest.* libconftest.a
6118
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6122
$as_echo "$lt_cv_ar_at_file" >&6; }
6124
if test "x$lt_cv_ar_at_file" = xno; then
6127
archiver_list_spec=$lt_cv_ar_at_file
6136
if test -n "$ac_tool_prefix"; then
6137
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6138
set dummy ${ac_tool_prefix}strip; ac_word=$2
6139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140
$as_echo_n "checking for $ac_word... " >&6; }
6141
if ${ac_cv_prog_STRIP+:} false; then :
6142
$as_echo_n "(cached) " >&6
6144
if test -n "$STRIP"; then
6145
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6151
test -z "$as_dir" && as_dir=.
6152
for ac_exec_ext in '' $ac_executable_extensions; do
6153
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6154
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164
STRIP=$ac_cv_prog_STRIP
6165
if test -n "$STRIP"; then
6166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6167
$as_echo "$STRIP" >&6; }
6169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170
$as_echo "no" >&6; }
6175
if test -z "$ac_cv_prog_STRIP"; then
6177
# Extract the first word of "strip", so it can be a program name with args.
6178
set dummy strip; ac_word=$2
6179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6180
$as_echo_n "checking for $ac_word... " >&6; }
6181
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6182
$as_echo_n "(cached) " >&6
6184
if test -n "$ac_ct_STRIP"; then
6185
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191
test -z "$as_dir" && as_dir=.
6192
for ac_exec_ext in '' $ac_executable_extensions; do
6193
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6194
ac_cv_prog_ac_ct_STRIP="strip"
6195
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6204
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6205
if test -n "$ac_ct_STRIP"; then
6206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6207
$as_echo "$ac_ct_STRIP" >&6; }
6209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6210
$as_echo "no" >&6; }
6213
if test "x$ac_ct_STRIP" = x; then
6216
case $cross_compiling:$ac_tool_warned in
6218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6220
ac_tool_warned=yes ;;
6225
STRIP="$ac_cv_prog_STRIP"
6228
test -z "$STRIP" && STRIP=:
6235
if test -n "$ac_tool_prefix"; then
6236
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6237
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239
$as_echo_n "checking for $ac_word... " >&6; }
6240
if ${ac_cv_prog_RANLIB+:} false; then :
6241
$as_echo_n "(cached) " >&6
6243
if test -n "$RANLIB"; then
6244
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6246
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250
test -z "$as_dir" && as_dir=.
6251
for ac_exec_ext in '' $ac_executable_extensions; do
6252
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6254
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6263
RANLIB=$ac_cv_prog_RANLIB
6264
if test -n "$RANLIB"; then
6265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6266
$as_echo "$RANLIB" >&6; }
6268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269
$as_echo "no" >&6; }
6274
if test -z "$ac_cv_prog_RANLIB"; then
6275
ac_ct_RANLIB=$RANLIB
6276
# Extract the first word of "ranlib", so it can be a program name with args.
6277
set dummy ranlib; ac_word=$2
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6279
$as_echo_n "checking for $ac_word... " >&6; }
6280
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6281
$as_echo_n "(cached) " >&6
6283
if test -n "$ac_ct_RANLIB"; then
6284
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6286
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290
test -z "$as_dir" && as_dir=.
6291
for ac_exec_ext in '' $ac_executable_extensions; do
6292
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6293
ac_cv_prog_ac_ct_RANLIB="ranlib"
6294
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6303
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6304
if test -n "$ac_ct_RANLIB"; then
6305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6306
$as_echo "$ac_ct_RANLIB" >&6; }
6308
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6309
$as_echo "no" >&6; }
6312
if test "x$ac_ct_RANLIB" = x; then
6315
case $cross_compiling:$ac_tool_warned in
6317
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6318
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6319
ac_tool_warned=yes ;;
6321
RANLIB=$ac_ct_RANLIB
6324
RANLIB="$ac_cv_prog_RANLIB"
6327
test -z "$RANLIB" && RANLIB=:
6334
# Determine commands to create old-style static archives.
6335
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6336
old_postinstall_cmds='chmod 644 $oldlib'
6337
old_postuninstall_cmds=
6339
if test -n "$RANLIB"; then
6342
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6345
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6348
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6353
lock_old_archive_extraction=yes ;;
6355
lock_old_archive_extraction=no ;;
6396
# If no C compiler was specified, use CC.
6399
# If no C compiler flags were specified, use CFLAGS.
6400
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6402
# Allow CC to be a program name with arguments.
6406
# Check for command to grab the raw symbol name followed by C symbol from nm.
6407
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6408
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6409
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6410
$as_echo_n "(cached) " >&6
6413
# These are sane defaults that work on at least a few old systems.
6414
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6416
# Character class describing NM global symbol codes.
6417
symcode='[BCDEGRST]'
6419
# Regexp to match symbols that can be accessed directly from C.
6420
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6422
# Define system-specific variables.
6427
cygwin* | mingw* | pw32* | cegcc*)
6428
symcode='[ABCDGISTW]'
6431
if test "$host_cpu" = ia64; then
6432
symcode='[ABCDEGRST]'
6436
symcode='[BCDEGRST]'
6439
symcode='[BCDEGQRST]'
6450
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6458
# If we're using GNU nm, then use its standard symbol codes.
6459
case `$NM -V 2>&1` in
6460
*GNU* | *'with BFD'*)
6461
symcode='[ABCDGIRSTW]' ;;
6464
# Transform an extracted symbol line into a proper C declaration.
6465
# Some systems (esp. on ia64) link data and code symbols differently,
6466
# so use this general approach.
6467
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6469
# Transform an extracted symbol line into symbol name and symbol address
6470
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6471
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'"
6473
# Handle CRLF in mingw tool chain
6477
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6481
# Try without a prefix underscore, then with it.
6482
for ac_symprfx in "" "_"; do
6484
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6485
symxfrm="\\1 $ac_symprfx\\2 \\2"
6487
# Write the raw and C identifiers.
6488
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6489
# Fake it for dumpbin and say T for any non-static function
6490
# and D for any global variable.
6491
# Also find C++ and __fastcall symbols from MSVC++,
6492
# which start with @ or ?.
6493
lt_cv_sys_global_symbol_pipe="$AWK '"\
6494
" {last_section=section; section=\$ 3};"\
6495
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6496
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6497
" \$ 0!~/External *\|/{next};"\
6498
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6499
" {if(hide[section]) next};"\
6500
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6501
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6502
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6503
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6504
" ' prfx=^$ac_symprfx"
6506
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6508
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6510
# Check to see that the pipe works correctly.
6514
cat > conftest.$ac_ext <<_LT_EOF
6519
void nm_test_func(void);
6520
void nm_test_func(void){}
6524
int main(){nm_test_var='a';nm_test_func();return(0);}
6527
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6528
(eval $ac_compile) 2>&5
6530
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6531
test $ac_status = 0; }; then
6532
# Now try to grab the symbols.
6534
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6535
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6537
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6538
test $ac_status = 0; } && test -s "$nlist"; then
6539
# Try sorting and uniquifying the output.
6540
if sort "$nlist" | uniq > "$nlist"T; then
6541
mv -f "$nlist"T "$nlist"
6546
# Make sure that we snagged all the symbols we need.
6547
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6548
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6549
cat <<_LT_EOF > conftest.$ac_ext
6550
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6551
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6552
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6553
relocations are performed -- see ld's documentation on pseudo-relocs. */
6554
# define LT_DLSYM_CONST
6555
#elif defined(__osf__)
6556
/* This system does not cope well with relocations in const data. */
6557
# define LT_DLSYM_CONST
6559
# define LT_DLSYM_CONST const
6567
# Now generate the symbol file.
6568
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6570
cat <<_LT_EOF >> conftest.$ac_ext
6572
/* The mapping between symbol names and symbols. */
6573
LT_DLSYM_CONST struct {
6577
lt__PROGRAM__LTX_preloaded_symbols[] =
6579
{ "@PROGRAM@", (void *) 0 },
6581
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6582
cat <<\_LT_EOF >> conftest.$ac_ext
6586
/* This works around a problem in FreeBSD linker */
6587
#ifdef FREEBSD_WORKAROUND
6588
static const void *lt_preloaded_setup() {
6589
return lt__PROGRAM__LTX_preloaded_symbols;
6597
# Now try linking the two files.
6598
mv conftest.$ac_objext conftstm.$ac_objext
6599
lt_globsym_save_LIBS=$LIBS
6600
lt_globsym_save_CFLAGS=$CFLAGS
6601
LIBS="conftstm.$ac_objext"
6602
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6603
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6604
(eval $ac_link) 2>&5
6606
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6607
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6610
LIBS=$lt_globsym_save_LIBS
6611
CFLAGS=$lt_globsym_save_CFLAGS
6613
echo "cannot find nm_test_func in $nlist" >&5
6616
echo "cannot find nm_test_var in $nlist" >&5
6619
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6622
echo "$progname: failed program was:" >&5
6623
cat conftest.$ac_ext >&5
6625
rm -rf conftest* conftst*
6627
# Do not use the global_symbol_pipe unless it works.
6628
if test "$pipe_works" = yes; then
6631
lt_cv_sys_global_symbol_pipe=
6637
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6638
lt_cv_sys_global_symbol_to_cdecl=
6640
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6642
$as_echo "failed" >&6; }
6644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6645
$as_echo "ok" >&6; }
6648
# Response file support.
6649
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6650
nm_file_list_spec='@'
6651
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6652
nm_file_list_spec='@'
6681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6682
$as_echo_n "checking for sysroot... " >&6; }
6684
# Check whether --with-sysroot was given.
6685
if test "${with_sysroot+set}" = set; then :
6686
withval=$with_sysroot;
6693
case ${with_sysroot} in #(
6695
if test "$GCC" = yes; then
6696
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6700
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6706
$as_echo "${with_sysroot}" >&6; }
6707
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6712
$as_echo "${lt_sysroot:-no}" >&6; }
6718
# Check whether --enable-libtool-lock was given.
6719
if test "${enable_libtool_lock+set}" = set; then :
6720
enableval=$enable_libtool_lock;
6723
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6725
# Some flags need to be propagated to the compiler or linker for good
6729
# Find out which ABI we are using.
6730
echo 'int i;' > conftest.$ac_ext
6731
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6732
(eval $ac_compile) 2>&5
6734
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6735
test $ac_status = 0; }; then
6736
case `/usr/bin/file conftest.$ac_objext` in
6748
# Find out which ABI we are using.
6749
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6750
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6751
(eval $ac_compile) 2>&5
6753
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6754
test $ac_status = 0; }; then
6755
if test "$lt_cv_prog_gnu_ld" = yes; then
6756
case `/usr/bin/file conftest.$ac_objext` in
6758
LD="${LD-ld} -melf32bsmip"
6761
LD="${LD-ld} -melf32bmipn32"
6764
LD="${LD-ld} -melf64bmip"
6768
case `/usr/bin/file conftest.$ac_objext` in
6784
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6785
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6786
# Find out which ABI we are using.
6787
echo 'int i;' > conftest.$ac_ext
6788
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6789
(eval $ac_compile) 2>&5
6791
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6792
test $ac_status = 0; }; then
6793
case `/usr/bin/file conftest.o` in
6796
x86_64-*kfreebsd*-gnu)
6797
LD="${LD-ld} -m elf_i386_fbsd"
6800
LD="${LD-ld} -m elf_i386"
6802
ppc64-*linux*|powerpc64-*linux*)
6803
LD="${LD-ld} -m elf32ppclinux"
6806
LD="${LD-ld} -m elf_s390"
6809
LD="${LD-ld} -m elf32_sparc"
6815
x86_64-*kfreebsd*-gnu)
6816
LD="${LD-ld} -m elf_x86_64_fbsd"
6819
LD="${LD-ld} -m elf_x86_64"
6821
ppc*-*linux*|powerpc*-*linux*)
6822
LD="${LD-ld} -m elf64ppc"
6824
s390*-*linux*|s390*-*tpf*)
6825
LD="${LD-ld} -m elf64_s390"
6828
LD="${LD-ld} -m elf64_sparc"
6838
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6839
SAVE_CFLAGS="$CFLAGS"
6840
CFLAGS="$CFLAGS -belf"
6841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6842
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6843
if ${lt_cv_cc_needs_belf+:} false; then :
6844
$as_echo_n "(cached) " >&6
6847
ac_cpp='$CPP $CPPFLAGS'
6848
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6849
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6850
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6852
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6853
/* end confdefs.h. */
6863
if ac_fn_c_try_link "$LINENO"; then :
6864
lt_cv_cc_needs_belf=yes
6866
lt_cv_cc_needs_belf=no
6868
rm -f core conftest.err conftest.$ac_objext \
6869
conftest$ac_exeext conftest.$ac_ext
6871
ac_cpp='$CPP $CPPFLAGS'
6872
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6873
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6874
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6878
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6879
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6880
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6881
CFLAGS="$SAVE_CFLAGS"
6885
# Find out which ABI we are using.
6886
echo 'int i;' > conftest.$ac_ext
6887
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6888
(eval $ac_compile) 2>&5
6890
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6891
test $ac_status = 0; }; then
6892
case `/usr/bin/file conftest.o` in
6894
case $lt_cv_prog_gnu_ld in
6898
LD="${LD-ld} -m elf_x86_64"
6901
LD="${LD-ld} -m elf64_sparc"
6904
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6905
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6910
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6922
need_locks="$enable_libtool_lock"
6924
if test -n "$ac_tool_prefix"; then
6925
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6926
set dummy ${ac_tool_prefix}mt; ac_word=$2
6927
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6928
$as_echo_n "checking for $ac_word... " >&6; }
6929
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6930
$as_echo_n "(cached) " >&6
6932
if test -n "$MANIFEST_TOOL"; then
6933
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6935
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6939
test -z "$as_dir" && as_dir=.
6940
for ac_exec_ext in '' $ac_executable_extensions; do
6941
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6942
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6943
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6952
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6953
if test -n "$MANIFEST_TOOL"; then
6954
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6955
$as_echo "$MANIFEST_TOOL" >&6; }
6957
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958
$as_echo "no" >&6; }
6963
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6964
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6965
# Extract the first word of "mt", so it can be a program name with args.
6966
set dummy mt; ac_word=$2
6967
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6968
$as_echo_n "checking for $ac_word... " >&6; }
6969
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6970
$as_echo_n "(cached) " >&6
6972
if test -n "$ac_ct_MANIFEST_TOOL"; then
6973
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6975
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6979
test -z "$as_dir" && as_dir=.
6980
for ac_exec_ext in '' $ac_executable_extensions; do
6981
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6982
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6983
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6992
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6993
if test -n "$ac_ct_MANIFEST_TOOL"; then
6994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6995
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6997
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998
$as_echo "no" >&6; }
7001
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7004
case $cross_compiling:$ac_tool_warned in
7006
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7007
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7008
ac_tool_warned=yes ;;
7010
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7013
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7016
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7018
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7019
if ${lt_cv_path_mainfest_tool+:} false; then :
7020
$as_echo_n "(cached) " >&6
7022
lt_cv_path_mainfest_tool=no
7023
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7024
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7025
cat conftest.err >&5
7026
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7027
lt_cv_path_mainfest_tool=yes
7031
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7032
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7033
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7043
rhapsody* | darwin*)
7044
if test -n "$ac_tool_prefix"; then
7045
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7046
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7048
$as_echo_n "checking for $ac_word... " >&6; }
7049
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7050
$as_echo_n "(cached) " >&6
7052
if test -n "$DSYMUTIL"; then
7053
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7059
test -z "$as_dir" && as_dir=.
7060
for ac_exec_ext in '' $ac_executable_extensions; do
7061
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7062
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7063
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7072
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7073
if test -n "$DSYMUTIL"; then
7074
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7075
$as_echo "$DSYMUTIL" >&6; }
7077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7078
$as_echo "no" >&6; }
7083
if test -z "$ac_cv_prog_DSYMUTIL"; then
7084
ac_ct_DSYMUTIL=$DSYMUTIL
7085
# Extract the first word of "dsymutil", so it can be a program name with args.
7086
set dummy dsymutil; ac_word=$2
7087
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7088
$as_echo_n "checking for $ac_word... " >&6; }
7089
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7090
$as_echo_n "(cached) " >&6
7092
if test -n "$ac_ct_DSYMUTIL"; then
7093
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7095
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7099
test -z "$as_dir" && as_dir=.
7100
for ac_exec_ext in '' $ac_executable_extensions; do
7101
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7102
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7103
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7112
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7113
if test -n "$ac_ct_DSYMUTIL"; then
7114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7115
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7118
$as_echo "no" >&6; }
7121
if test "x$ac_ct_DSYMUTIL" = x; then
7124
case $cross_compiling:$ac_tool_warned in
7126
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7127
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7128
ac_tool_warned=yes ;;
7130
DSYMUTIL=$ac_ct_DSYMUTIL
7133
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7136
if test -n "$ac_tool_prefix"; then
7137
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7138
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7140
$as_echo_n "checking for $ac_word... " >&6; }
7141
if ${ac_cv_prog_NMEDIT+:} false; then :
7142
$as_echo_n "(cached) " >&6
7144
if test -n "$NMEDIT"; then
7145
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7151
test -z "$as_dir" && as_dir=.
7152
for ac_exec_ext in '' $ac_executable_extensions; do
7153
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7154
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164
NMEDIT=$ac_cv_prog_NMEDIT
7165
if test -n "$NMEDIT"; then
7166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7167
$as_echo "$NMEDIT" >&6; }
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7170
$as_echo "no" >&6; }
7175
if test -z "$ac_cv_prog_NMEDIT"; then
7176
ac_ct_NMEDIT=$NMEDIT
7177
# Extract the first word of "nmedit", so it can be a program name with args.
7178
set dummy nmedit; ac_word=$2
7179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7180
$as_echo_n "checking for $ac_word... " >&6; }
7181
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7182
$as_echo_n "(cached) " >&6
7184
if test -n "$ac_ct_NMEDIT"; then
7185
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191
test -z "$as_dir" && as_dir=.
7192
for ac_exec_ext in '' $ac_executable_extensions; do
7193
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7194
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7195
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7205
if test -n "$ac_ct_NMEDIT"; then
7206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7207
$as_echo "$ac_ct_NMEDIT" >&6; }
7209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7210
$as_echo "no" >&6; }
7213
if test "x$ac_ct_NMEDIT" = x; then
7216
case $cross_compiling:$ac_tool_warned in
7218
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7219
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7220
ac_tool_warned=yes ;;
7222
NMEDIT=$ac_ct_NMEDIT
7225
NMEDIT="$ac_cv_prog_NMEDIT"
7228
if test -n "$ac_tool_prefix"; then
7229
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7230
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7231
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232
$as_echo_n "checking for $ac_word... " >&6; }
7233
if ${ac_cv_prog_LIPO+:} false; then :
7234
$as_echo_n "(cached) " >&6
7236
if test -n "$LIPO"; then
7237
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7243
test -z "$as_dir" && as_dir=.
7244
for ac_exec_ext in '' $ac_executable_extensions; do
7245
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7246
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7247
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7256
LIPO=$ac_cv_prog_LIPO
7257
if test -n "$LIPO"; then
7258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7259
$as_echo "$LIPO" >&6; }
7261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262
$as_echo "no" >&6; }
7267
if test -z "$ac_cv_prog_LIPO"; then
7269
# Extract the first word of "lipo", so it can be a program name with args.
7270
set dummy lipo; ac_word=$2
7271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7272
$as_echo_n "checking for $ac_word... " >&6; }
7273
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7274
$as_echo_n "(cached) " >&6
7276
if test -n "$ac_ct_LIPO"; then
7277
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7279
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7283
test -z "$as_dir" && as_dir=.
7284
for ac_exec_ext in '' $ac_executable_extensions; do
7285
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7286
ac_cv_prog_ac_ct_LIPO="lipo"
7287
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7296
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7297
if test -n "$ac_ct_LIPO"; then
7298
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7299
$as_echo "$ac_ct_LIPO" >&6; }
7301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7302
$as_echo "no" >&6; }
7305
if test "x$ac_ct_LIPO" = x; then
7308
case $cross_compiling:$ac_tool_warned in
7310
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7311
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7312
ac_tool_warned=yes ;;
7317
LIPO="$ac_cv_prog_LIPO"
7320
if test -n "$ac_tool_prefix"; then
7321
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7322
set dummy ${ac_tool_prefix}otool; ac_word=$2
7323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324
$as_echo_n "checking for $ac_word... " >&6; }
7325
if ${ac_cv_prog_OTOOL+:} false; then :
7326
$as_echo_n "(cached) " >&6
7328
if test -n "$OTOOL"; then
7329
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7331
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335
test -z "$as_dir" && as_dir=.
7336
for ac_exec_ext in '' $ac_executable_extensions; do
7337
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7339
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7348
OTOOL=$ac_cv_prog_OTOOL
7349
if test -n "$OTOOL"; then
7350
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7351
$as_echo "$OTOOL" >&6; }
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354
$as_echo "no" >&6; }
7359
if test -z "$ac_cv_prog_OTOOL"; then
7361
# Extract the first word of "otool", so it can be a program name with args.
7362
set dummy otool; ac_word=$2
7363
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7364
$as_echo_n "checking for $ac_word... " >&6; }
7365
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7366
$as_echo_n "(cached) " >&6
7368
if test -n "$ac_ct_OTOOL"; then
7369
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7371
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375
test -z "$as_dir" && as_dir=.
7376
for ac_exec_ext in '' $ac_executable_extensions; do
7377
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378
ac_cv_prog_ac_ct_OTOOL="otool"
7379
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7389
if test -n "$ac_ct_OTOOL"; then
7390
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7391
$as_echo "$ac_ct_OTOOL" >&6; }
7393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7394
$as_echo "no" >&6; }
7397
if test "x$ac_ct_OTOOL" = x; then
7400
case $cross_compiling:$ac_tool_warned in
7402
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7403
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7404
ac_tool_warned=yes ;;
7409
OTOOL="$ac_cv_prog_OTOOL"
7412
if test -n "$ac_tool_prefix"; then
7413
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7414
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416
$as_echo_n "checking for $ac_word... " >&6; }
7417
if ${ac_cv_prog_OTOOL64+:} false; then :
7418
$as_echo_n "(cached) " >&6
7420
if test -n "$OTOOL64"; then
7421
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7423
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7427
test -z "$as_dir" && as_dir=.
7428
for ac_exec_ext in '' $ac_executable_extensions; do
7429
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7430
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7431
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7440
OTOOL64=$ac_cv_prog_OTOOL64
7441
if test -n "$OTOOL64"; then
7442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7443
$as_echo "$OTOOL64" >&6; }
7445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446
$as_echo "no" >&6; }
7451
if test -z "$ac_cv_prog_OTOOL64"; then
7452
ac_ct_OTOOL64=$OTOOL64
7453
# Extract the first word of "otool64", so it can be a program name with args.
7454
set dummy otool64; ac_word=$2
7455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7456
$as_echo_n "checking for $ac_word... " >&6; }
7457
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7458
$as_echo_n "(cached) " >&6
7460
if test -n "$ac_ct_OTOOL64"; then
7461
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7463
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7467
test -z "$as_dir" && as_dir=.
7468
for ac_exec_ext in '' $ac_executable_extensions; do
7469
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7470
ac_cv_prog_ac_ct_OTOOL64="otool64"
7471
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7481
if test -n "$ac_ct_OTOOL64"; then
7482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7483
$as_echo "$ac_ct_OTOOL64" >&6; }
7485
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7486
$as_echo "no" >&6; }
7489
if test "x$ac_ct_OTOOL64" = x; then
7492
case $cross_compiling:$ac_tool_warned in
7494
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7495
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7496
ac_tool_warned=yes ;;
7498
OTOOL64=$ac_ct_OTOOL64
7501
OTOOL64="$ac_cv_prog_OTOOL64"
7530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7531
$as_echo_n "checking for -single_module linker flag... " >&6; }
7532
if ${lt_cv_apple_cc_single_mod+:} false; then :
7533
$as_echo_n "(cached) " >&6
7535
lt_cv_apple_cc_single_mod=no
7536
if test -z "${LT_MULTI_MODULE}"; then
7537
# By default we will add the -single_module flag. You can override
7538
# by either setting the environment variable LT_MULTI_MODULE
7539
# non-empty at configure time, or by adding -multi_module to the
7541
rm -rf libconftest.dylib*
7542
echo "int foo(void){return 1;}" > conftest.c
7543
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7544
-dynamiclib -Wl,-single_module conftest.c" >&5
7545
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7546
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7548
# If there is a non-empty error log, and "single_module"
7549
# appears in it, assume the flag caused a linker warning
7550
if test -s conftest.err && $GREP single_module conftest.err; then
7551
cat conftest.err >&5
7552
# Otherwise, if the output was created with a 0 exit code from
7553
# the compiler, it worked.
7554
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7555
lt_cv_apple_cc_single_mod=yes
7557
cat conftest.err >&5
7559
rm -rf libconftest.dylib*
7563
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7564
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7567
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7568
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7569
$as_echo_n "(cached) " >&6
7571
lt_cv_ld_exported_symbols_list=no
7572
save_LDFLAGS=$LDFLAGS
7573
echo "_main" > conftest.sym
7574
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7575
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576
/* end confdefs.h. */
7586
if ac_fn_c_try_link "$LINENO"; then :
7587
lt_cv_ld_exported_symbols_list=yes
7589
lt_cv_ld_exported_symbols_list=no
7591
rm -f core conftest.err conftest.$ac_objext \
7592
conftest$ac_exeext conftest.$ac_ext
7593
LDFLAGS="$save_LDFLAGS"
7596
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7597
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7600
$as_echo_n "checking for -force_load linker flag... " >&6; }
7601
if ${lt_cv_ld_force_load+:} false; then :
7602
$as_echo_n "(cached) " >&6
7604
lt_cv_ld_force_load=no
7605
cat > conftest.c << _LT_EOF
7606
int forced_loaded() { return 2;}
7608
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7609
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7610
echo "$AR cru libconftest.a conftest.o" >&5
7611
$AR cru libconftest.a conftest.o 2>&5
7612
echo "$RANLIB libconftest.a" >&5
7613
$RANLIB libconftest.a 2>&5
7614
cat > conftest.c << _LT_EOF
7615
int main() { return 0;}
7617
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7618
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7620
if test -s conftest.err && $GREP force_load conftest.err; then
7621
cat conftest.err >&5
7622
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7623
lt_cv_ld_force_load=yes
7625
cat conftest.err >&5
7627
rm -f conftest.err libconftest.a conftest conftest.c
7628
rm -rf conftest.dSYM
7631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7632
$as_echo "$lt_cv_ld_force_load" >&6; }
7634
rhapsody* | darwin1.[012])
7635
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7637
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7638
darwin*) # darwin 5.x on
7639
# if running on 10.5 or later, the deployment target defaults
7640
# to the OS version, if on x86, and 10.4, the deployment
7641
# target defaults to 10.4. Don't you love it?
7642
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7643
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7644
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7646
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7648
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7652
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7653
_lt_dar_single_mod='$single_module'
7655
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7656
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7658
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7660
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7661
_lt_dsymutil='~$DSYMUTIL $lib || :'
7668
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7669
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7670
inttypes.h stdint.h unistd.h
7672
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7673
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7675
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7676
cat >>confdefs.h <<_ACEOF
7677
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7685
for ac_header in dlfcn.h
7687
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7689
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7690
cat >>confdefs.h <<_ACEOF
7691
#define HAVE_DLFCN_H 1
7712
# Check whether --enable-shared was given.
7713
if test "${enable_shared+set}" = set; then :
7714
enableval=$enable_shared; p=${PACKAGE-default}
7716
yes) enable_shared=yes ;;
7717
no) enable_shared=no ;;
7720
# Look at the argument we got. We use all the common list separators.
7721
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7722
for pkg in $enableval; do
7724
if test "X$pkg" = "X$p"; then
7743
# Check whether --enable-static was given.
7744
if test "${enable_static+set}" = set; then :
7745
enableval=$enable_static; p=${PACKAGE-default}
7747
yes) enable_static=yes ;;
7748
no) enable_static=no ;;
7751
# Look at the argument we got. We use all the common list separators.
7752
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7753
for pkg in $enableval; do
7755
if test "X$pkg" = "X$p"; then
7775
# Check whether --with-pic was given.
7776
if test "${with_pic+set}" = set; then :
7777
withval=$with_pic; lt_p=${PACKAGE-default}
7779
yes|no) pic_mode=$withval ;;
7782
# Look at the argument we got. We use all the common list separators.
7783
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7784
for lt_pkg in $withval; do
7786
if test "X$lt_pkg" = "X$lt_p"; then
7798
test -z "$pic_mode" && pic_mode=default
7806
# Check whether --enable-fast-install was given.
7807
if test "${enable_fast_install+set}" = set; then :
7808
enableval=$enable_fast_install; p=${PACKAGE-default}
7810
yes) enable_fast_install=yes ;;
7811
no) enable_fast_install=no ;;
7813
enable_fast_install=no
7814
# Look at the argument we got. We use all the common list separators.
7815
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7816
for pkg in $enableval; do
7818
if test "X$pkg" = "X$p"; then
7819
enable_fast_install=yes
7826
enable_fast_install=yes
7839
# This can be used to rebuild libtool when needed
7840
LIBTOOL_DEPS="$ltmain"
7842
# Always use our own libtool.
7843
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7874
test -z "$LN_S" && LN_S="ln -s"
7889
if test -n "${ZSH_VERSION+set}" ; then
7890
setopt NO_GLOB_SUBST
7893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7894
$as_echo_n "checking for objdir... " >&6; }
7895
if ${lt_cv_objdir+:} false; then :
7896
$as_echo_n "(cached) " >&6
7898
rm -f .libs 2>/dev/null
7899
mkdir .libs 2>/dev/null
7900
if test -d .libs; then
7903
# MS-DOS does not allow filenames that begin with a dot.
7906
rmdir .libs 2>/dev/null
7908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7909
$as_echo "$lt_cv_objdir" >&6; }
7910
objdir=$lt_cv_objdir
7916
cat >>confdefs.h <<_ACEOF
7917
#define LT_OBJDIR "$lt_cv_objdir/"
7925
# AIX sometimes has problems with the GCC collect2 program. For some
7926
# reason, if we set the COLLECT_NAMES environment variable, the problems
7927
# vanish in a puff of smoke.
7928
if test "X${COLLECT_NAMES+set}" != Xset; then
7930
export COLLECT_NAMES
7937
can_build_shared=yes
7939
# All known linkers require a `.a' archive for static linking (except MSVC,
7940
# which needs '.lib').
7943
with_gnu_ld="$lt_cv_prog_gnu_ld"
7946
old_CFLAGS="$CFLAGS"
7948
# Set sane defaults for various variables
7949
test -z "$CC" && CC=cc
7950
test -z "$LTCC" && LTCC=$CC
7951
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7952
test -z "$LD" && LD=ld
7953
test -z "$ac_objext" && ac_objext=o
7955
for cc_temp in $compiler""; do
7957
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7958
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7963
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7966
# Only perform the check for file, if the check method requires it
7967
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7968
case $deplibs_check_method in
7970
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7972
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7973
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7974
$as_echo_n "(cached) " >&6
7978
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7981
lt_save_MAGIC_CMD="$MAGIC_CMD"
7982
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7983
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7984
for ac_dir in $ac_dummy; do
7986
test -z "$ac_dir" && ac_dir=.
7987
if test -f $ac_dir/${ac_tool_prefix}file; then
7988
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7989
if test -n "$file_magic_test_file"; then
7990
case $deplibs_check_method in
7992
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7993
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7994
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7995
$EGREP "$file_magic_regex" > /dev/null; then
8000
*** Warning: the command libtool uses to detect shared libraries,
8001
*** $file_magic_cmd, produces output that libtool cannot recognize.
8002
*** The result is that libtool may fail to recognize shared libraries
8003
*** as such. This will affect the creation of libtool libraries that
8004
*** depend on shared libraries, but programs linked with such libtool
8005
*** libraries will work regardless of this problem. Nevertheless, you
8006
*** may want to report the problem to your system manager and/or to
8007
*** bug-libtool@gnu.org
8017
MAGIC_CMD="$lt_save_MAGIC_CMD"
8022
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8023
if test -n "$MAGIC_CMD"; then
8024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8025
$as_echo "$MAGIC_CMD" >&6; }
8027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028
$as_echo "no" >&6; }
8035
if test -z "$lt_cv_path_MAGIC_CMD"; then
8036
if test -n "$ac_tool_prefix"; then
8037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8038
$as_echo_n "checking for file... " >&6; }
8039
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8040
$as_echo_n "(cached) " >&6
8044
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8047
lt_save_MAGIC_CMD="$MAGIC_CMD"
8048
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8049
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8050
for ac_dir in $ac_dummy; do
8052
test -z "$ac_dir" && ac_dir=.
8053
if test -f $ac_dir/file; then
8054
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8055
if test -n "$file_magic_test_file"; then
8056
case $deplibs_check_method in
8058
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8059
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8060
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8061
$EGREP "$file_magic_regex" > /dev/null; then
8066
*** Warning: the command libtool uses to detect shared libraries,
8067
*** $file_magic_cmd, produces output that libtool cannot recognize.
8068
*** The result is that libtool may fail to recognize shared libraries
8069
*** as such. This will affect the creation of libtool libraries that
8070
*** depend on shared libraries, but programs linked with such libtool
8071
*** libraries will work regardless of this problem. Nevertheless, you
8072
*** may want to report the problem to your system manager and/or to
8073
*** bug-libtool@gnu.org
8083
MAGIC_CMD="$lt_save_MAGIC_CMD"
8088
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8089
if test -n "$MAGIC_CMD"; then
8090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8091
$as_echo "$MAGIC_CMD" >&6; }
8093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8094
$as_echo "no" >&6; }
8107
# Use C for the default configuration in the libtool script
8111
ac_cpp='$CPP $CPPFLAGS'
8112
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8113
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8114
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8117
# Source file extension for C test sources.
8120
# Object file extension for compiled C test sources.
8124
# Code to be used in simple compile tests
8125
lt_simple_compile_test_code="int some_variable = 0;"
8127
# Code to be used in simple link tests
8128
lt_simple_link_test_code='int main(){return(0);}'
8136
# If no C compiler was specified, use CC.
8139
# If no C compiler flags were specified, use CFLAGS.
8140
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8142
# Allow CC to be a program name with arguments.
8145
# Save the default compiler, since it gets overwritten when the other
8146
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8147
compiler_DEFAULT=$CC
8149
# save warnings/boilerplate of simple test code
8150
ac_outfile=conftest.$ac_objext
8151
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8152
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8153
_lt_compiler_boilerplate=`cat conftest.err`
8156
ac_outfile=conftest.$ac_objext
8157
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8158
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8159
_lt_linker_boilerplate=`cat conftest.err`
8164
## There is no encapsulation within the following macros, do not change
8165
## the running order or otherwise move them around unless you know exactly
8166
## what you are doing...
8167
if test -n "$compiler"; then
8169
lt_prog_compiler_no_builtin_flag=
8171
if test "$GCC" = yes; then
8172
case $cc_basename in
8174
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8176
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8180
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8181
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8182
$as_echo_n "(cached) " >&6
8184
lt_cv_prog_compiler_rtti_exceptions=no
8185
ac_outfile=conftest.$ac_objext
8186
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8187
lt_compiler_flag="-fno-rtti -fno-exceptions"
8188
# Insert the option either (1) after the last *FLAGS variable, or
8189
# (2) before a word containing "conftest.", or (3) at the end.
8190
# Note that $ac_compile itself does not contain backslashes and begins
8191
# with a dollar sign (not a hyphen), so the echo should work correctly.
8192
# The option is referenced via a variable to avoid confusing sed.
8193
lt_compile=`echo "$ac_compile" | $SED \
8194
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8195
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8196
-e 's:$: $lt_compiler_flag:'`
8197
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8198
(eval "$lt_compile" 2>conftest.err)
8200
cat conftest.err >&5
8201
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202
if (exit $ac_status) && test -s "$ac_outfile"; then
8203
# The compiler can only warn and ignore the option if not recognized
8204
# So say no if there are warnings other than the usual output.
8205
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8206
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8207
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8208
lt_cv_prog_compiler_rtti_exceptions=yes
8214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8215
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8217
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8218
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8230
lt_prog_compiler_wl=
8231
lt_prog_compiler_pic=
8232
lt_prog_compiler_static=
8235
if test "$GCC" = yes; then
8236
lt_prog_compiler_wl='-Wl,'
8237
lt_prog_compiler_static='-static'
8241
# All AIX code is PIC.
8242
if test "$host_cpu" = ia64; then
8243
# AIX 5 now supports IA64 processor
8244
lt_prog_compiler_static='-Bstatic'
8251
# see comment about AmigaOS4 .so support
8252
lt_prog_compiler_pic='-fPIC'
8255
# FIXME: we need at least 68020 code to build shared libraries, but
8256
# adding the `-m68020' flag to GCC prevents building anything better,
8258
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8263
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8264
# PIC is the default for these OSes.
8267
mingw* | cygwin* | pw32* | os2* | cegcc*)
8268
# This hack is so that the source file can tell whether it is being
8269
# built for inclusion in a dll (and should export symbols for example).
8270
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8271
# (--disable-auto-import) libraries
8272
lt_prog_compiler_pic='-DDLL_EXPORT'
8275
darwin* | rhapsody*)
8276
# PIC is the default on this platform
8277
# Common symbols not allowed in MH_DYLIB files
8278
lt_prog_compiler_pic='-fno-common'
8282
# PIC is the default for Haiku.
8283
# The "-static" flag exists, but is broken.
8284
lt_prog_compiler_static=
8288
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8289
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8290
# sets the default TLS model and affects inlining.
8296
lt_prog_compiler_pic='-fPIC'
8302
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8303
# Instead, we relocate shared libraries at runtime.
8307
# Just because we use GCC doesn't mean we suddenly get shared libraries
8308
# on systems that don't support them.
8309
lt_prog_compiler_can_build_shared=no
8314
# QNX uses GNU C++, but need to define -shared option too, otherwise
8316
lt_prog_compiler_pic='-fPIC -shared'
8320
if test -d /usr/nec; then
8321
lt_prog_compiler_pic=-Kconform_pic
8326
lt_prog_compiler_pic='-fPIC'
8330
case $cc_basename in
8331
nvcc*) # Cuda Compiler Driver 2.2
8332
lt_prog_compiler_wl='-Xlinker '
8333
if test -n "$lt_prog_compiler_pic"; then
8334
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8339
# PORTME Check for flag to pass linker flags through the system compiler.
8342
lt_prog_compiler_wl='-Wl,'
8343
if test "$host_cpu" = ia64; then
8344
# AIX 5 now supports IA64 processor
8345
lt_prog_compiler_static='-Bstatic'
8347
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8351
mingw* | cygwin* | pw32* | os2* | cegcc*)
8352
# This hack is so that the source file can tell whether it is being
8353
# built for inclusion in a dll (and should export symbols for example).
8354
lt_prog_compiler_pic='-DDLL_EXPORT'
8357
hpux9* | hpux10* | hpux11*)
8358
lt_prog_compiler_wl='-Wl,'
8359
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8366
lt_prog_compiler_pic='+Z'
8369
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8370
lt_prog_compiler_static='${wl}-a ${wl}archive'
8373
irix5* | irix6* | nonstopux*)
8374
lt_prog_compiler_wl='-Wl,'
8375
# PIC (with -KPIC) is the default.
8376
lt_prog_compiler_static='-non_shared'
8379
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8380
case $cc_basename in
8381
# old Intel for x86_64 which still supported -KPIC.
8383
lt_prog_compiler_wl='-Wl,'
8384
lt_prog_compiler_pic='-KPIC'
8385
lt_prog_compiler_static='-static'
8387
# icc used to be incompatible with GCC.
8388
# ICC 10 doesn't accept -KPIC any more.
8390
lt_prog_compiler_wl='-Wl,'
8391
lt_prog_compiler_pic='-fPIC'
8392
lt_prog_compiler_static='-static'
8394
# Lahey Fortran 8.1.
8396
lt_prog_compiler_wl='-Wl,'
8397
lt_prog_compiler_pic='--shared'
8398
lt_prog_compiler_static='--static'
8401
# NAG Fortran compiler
8402
lt_prog_compiler_wl='-Wl,-Wl,,'
8403
lt_prog_compiler_pic='-PIC'
8404
lt_prog_compiler_static='-Bstatic'
8406
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8407
# Portland Group compilers (*not* the Pentium gcc compiler,
8408
# which looks to be a dead project)
8409
lt_prog_compiler_wl='-Wl,'
8410
lt_prog_compiler_pic='-fpic'
8411
lt_prog_compiler_static='-Bstatic'
8414
lt_prog_compiler_wl='-Wl,'
8415
# All Alpha code is PIC.
8416
lt_prog_compiler_static='-non_shared'
8418
xl* | bgxl* | bgf* | mpixl*)
8419
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8420
lt_prog_compiler_wl='-Wl,'
8421
lt_prog_compiler_pic='-qpic'
8422
lt_prog_compiler_static='-qstaticlink'
8425
case `$CC -V 2>&1 | sed 5q` in
8426
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8427
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8428
lt_prog_compiler_pic='-KPIC'
8429
lt_prog_compiler_static='-Bstatic'
8430
lt_prog_compiler_wl=''
8432
*Sun\ F* | *Sun*Fortran*)
8433
lt_prog_compiler_pic='-KPIC'
8434
lt_prog_compiler_static='-Bstatic'
8435
lt_prog_compiler_wl='-Qoption ld '
8439
lt_prog_compiler_pic='-KPIC'
8440
lt_prog_compiler_static='-Bstatic'
8441
lt_prog_compiler_wl='-Wl,'
8443
*Intel*\ [CF]*Compiler*)
8444
lt_prog_compiler_wl='-Wl,'
8445
lt_prog_compiler_pic='-fPIC'
8446
lt_prog_compiler_static='-static'
8449
lt_prog_compiler_wl='-Wl,'
8450
lt_prog_compiler_pic='-fpic'
8451
lt_prog_compiler_static='-Bstatic'
8459
lt_prog_compiler_pic='-KPIC'
8460
lt_prog_compiler_static='-Bstatic'
8464
# QNX uses GNU C++, but need to define -shared option too, otherwise
8466
lt_prog_compiler_pic='-fPIC -shared'
8469
osf3* | osf4* | osf5*)
8470
lt_prog_compiler_wl='-Wl,'
8471
# All OSF/1 code is PIC.
8472
lt_prog_compiler_static='-non_shared'
8476
lt_prog_compiler_static='-non_shared'
8480
lt_prog_compiler_pic='-KPIC'
8481
lt_prog_compiler_static='-Bstatic'
8482
case $cc_basename in
8483
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8484
lt_prog_compiler_wl='-Qoption ld ';;
8486
lt_prog_compiler_wl='-Wl,';;
8491
lt_prog_compiler_wl='-Qoption ld '
8492
lt_prog_compiler_pic='-PIC'
8493
lt_prog_compiler_static='-Bstatic'
8496
sysv4 | sysv4.2uw2* | sysv4.3*)
8497
lt_prog_compiler_wl='-Wl,'
8498
lt_prog_compiler_pic='-KPIC'
8499
lt_prog_compiler_static='-Bstatic'
8503
if test -d /usr/nec ;then
8504
lt_prog_compiler_pic='-Kconform_pic'
8505
lt_prog_compiler_static='-Bstatic'
8509
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8510
lt_prog_compiler_wl='-Wl,'
8511
lt_prog_compiler_pic='-KPIC'
8512
lt_prog_compiler_static='-Bstatic'
8516
lt_prog_compiler_wl='-Wl,'
8517
lt_prog_compiler_can_build_shared=no
8521
lt_prog_compiler_pic='-pic'
8522
lt_prog_compiler_static='-Bstatic'
8526
lt_prog_compiler_can_build_shared=no
8532
# For platforms which do not support PIC, -DPIC is meaningless:
8534
lt_prog_compiler_pic=
8537
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8541
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8543
if ${lt_cv_prog_compiler_pic+:} false; then :
8544
$as_echo_n "(cached) " >&6
8546
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8549
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8550
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8553
# Check to make sure the PIC flag actually works.
8555
if test -n "$lt_prog_compiler_pic"; then
8556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8557
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8558
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8559
$as_echo_n "(cached) " >&6
8561
lt_cv_prog_compiler_pic_works=no
8562
ac_outfile=conftest.$ac_objext
8563
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8565
# Insert the option either (1) after the last *FLAGS variable, or
8566
# (2) before a word containing "conftest.", or (3) at the end.
8567
# Note that $ac_compile itself does not contain backslashes and begins
8568
# with a dollar sign (not a hyphen), so the echo should work correctly.
8569
# The option is referenced via a variable to avoid confusing sed.
8570
lt_compile=`echo "$ac_compile" | $SED \
8571
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573
-e 's:$: $lt_compiler_flag:'`
8574
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575
(eval "$lt_compile" 2>conftest.err)
8577
cat conftest.err >&5
8578
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579
if (exit $ac_status) && test -s "$ac_outfile"; then
8580
# The compiler can only warn and ignore the option if not recognized
8581
# So say no if there are warnings other than the usual output.
8582
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585
lt_cv_prog_compiler_pic_works=yes
8591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8592
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8594
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8595
case $lt_prog_compiler_pic in
8597
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8600
lt_prog_compiler_pic=
8601
lt_prog_compiler_can_build_shared=no
8617
# Check to make sure the static flag actually works.
8619
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8621
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8622
if ${lt_cv_prog_compiler_static_works+:} false; then :
8623
$as_echo_n "(cached) " >&6
8625
lt_cv_prog_compiler_static_works=no
8626
save_LDFLAGS="$LDFLAGS"
8627
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8628
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8629
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8630
# The linker can only warn and ignore the option if not recognized
8631
# So say no if there are warnings
8632
if test -s conftest.err; then
8633
# Append any errors to the config.log.
8634
cat conftest.err 1>&5
8635
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8636
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8637
if diff conftest.exp conftest.er2 >/dev/null; then
8638
lt_cv_prog_compiler_static_works=yes
8641
lt_cv_prog_compiler_static_works=yes
8645
LDFLAGS="$save_LDFLAGS"
8648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8649
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8651
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8654
lt_prog_compiler_static=
8663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8664
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8665
if ${lt_cv_prog_compiler_c_o+:} false; then :
8666
$as_echo_n "(cached) " >&6
8668
lt_cv_prog_compiler_c_o=no
8669
$RM -r conftest 2>/dev/null
8673
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8675
lt_compiler_flag="-o out/conftest2.$ac_objext"
8676
# Insert the option either (1) after the last *FLAGS variable, or
8677
# (2) before a word containing "conftest.", or (3) at the end.
8678
# Note that $ac_compile itself does not contain backslashes and begins
8679
# with a dollar sign (not a hyphen), so the echo should work correctly.
8680
lt_compile=`echo "$ac_compile" | $SED \
8681
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8682
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8683
-e 's:$: $lt_compiler_flag:'`
8684
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8685
(eval "$lt_compile" 2>out/conftest.err)
8687
cat out/conftest.err >&5
8688
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8689
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8691
# The compiler can only warn and ignore the option if not recognized
8692
# So say no if there are warnings
8693
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8694
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8695
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8696
lt_cv_prog_compiler_c_o=yes
8701
# SGI C++ compiler will create directory out/ii_files/ for
8702
# template instantiation
8703
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8704
$RM out/* && rmdir out
8710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8711
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8719
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8720
if ${lt_cv_prog_compiler_c_o+:} false; then :
8721
$as_echo_n "(cached) " >&6
8723
lt_cv_prog_compiler_c_o=no
8724
$RM -r conftest 2>/dev/null
8728
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8730
lt_compiler_flag="-o out/conftest2.$ac_objext"
8731
# Insert the option either (1) after the last *FLAGS variable, or
8732
# (2) before a word containing "conftest.", or (3) at the end.
8733
# Note that $ac_compile itself does not contain backslashes and begins
8734
# with a dollar sign (not a hyphen), so the echo should work correctly.
8735
lt_compile=`echo "$ac_compile" | $SED \
8736
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8737
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8738
-e 's:$: $lt_compiler_flag:'`
8739
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8740
(eval "$lt_compile" 2>out/conftest.err)
8742
cat out/conftest.err >&5
8743
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8744
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8746
# The compiler can only warn and ignore the option if not recognized
8747
# So say no if there are warnings
8748
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8749
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8750
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8751
lt_cv_prog_compiler_c_o=yes
8756
# SGI C++ compiler will create directory out/ii_files/ for
8757
# template instantiation
8758
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8759
$RM out/* && rmdir out
8765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8766
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8771
hard_links="nottested"
8772
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8773
# do not overwrite the value of need_locks provided by the user
8774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8775
$as_echo_n "checking if we can lock with hard links... " >&6; }
8778
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8780
ln conftest.a conftest.b 2>&5 || hard_links=no
8781
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8783
$as_echo "$hard_links" >&6; }
8784
if test "$hard_links" = no; then
8785
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8786
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8798
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8799
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8802
allow_undefined_flag=
8803
always_export_symbols=no
8805
archive_expsym_cmds=
8806
compiler_needs_object=no
8807
enable_shared_with_static_runtimes=no
8808
export_dynamic_flag_spec=
8809
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8810
hardcode_automatic=no
8812
hardcode_direct_absolute=no
8813
hardcode_libdir_flag_spec=
8814
hardcode_libdir_separator=
8816
hardcode_shlibpath_var=unsupported
8818
link_all_deplibs=unknown
8821
old_archive_from_new_cmds=
8822
old_archive_from_expsyms_cmds=
8823
thread_safe_flag_spec=
8824
whole_archive_flag_spec=
8825
# include_expsyms should be a list of space-separated symbols to be *always*
8826
# included in the symbol list
8828
# exclude_expsyms can be an extended regexp of symbols to exclude
8829
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8830
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8831
# as well as any symbol that contains `d'.
8832
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8833
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8834
# platforms (ab)use it in PIC code, but their linkers get confused if
8835
# the symbol is explicitly referenced. Since portable code cannot
8836
# rely on this symbol name, it's probably fine to never include it in
8837
# preloaded symbol tables.
8838
# Exclude shared library initialization/finalization symbols.
8839
extract_expsyms_cmds=
8842
cygwin* | mingw* | pw32* | cegcc*)
8843
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8844
# When not using gcc, we currently assume that we are using
8845
# Microsoft Visual C++.
8846
if test "$GCC" != yes; then
8851
# we just hope/assume this is gcc and not c89 (= MSVC++)
8857
linux* | k*bsd*-gnu | gnu*)
8864
# On some targets, GNU ld is compatible enough with the native linker
8865
# that we're better off using the native interface for both.
8866
lt_use_gnu_ld_interface=no
8867
if test "$with_gnu_ld" = yes; then
8870
# The AIX port of GNU ld has always aspired to compatibility
8871
# with the native linker. However, as the warning in the GNU ld
8872
# block says, versions before 2.19.5* couldn't really create working
8873
# shared libraries, regardless of the interface used.
8874
case `$LD -v 2>&1` in
8875
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8876
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8877
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8879
lt_use_gnu_ld_interface=yes
8884
lt_use_gnu_ld_interface=yes
8889
if test "$lt_use_gnu_ld_interface" = yes; then
8890
# If archive_cmds runs LD, not CC, wlarc should be empty
8893
# Set some defaults for GNU ld with shared library support. These
8894
# are reset later if shared libraries are not supported. Putting them
8895
# here allows them to be overridden if necessary.
8896
runpath_var=LD_RUN_PATH
8897
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8898
export_dynamic_flag_spec='${wl}--export-dynamic'
8899
# ancient GNU ld didn't support --whole-archive et. al.
8900
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8901
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8903
whole_archive_flag_spec=
8905
supports_anon_versioning=no
8906
case `$LD -v 2>&1` in
8907
*GNU\ gold*) supports_anon_versioning=yes ;;
8908
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8909
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8910
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8911
*\ 2.11.*) ;; # other 2.11 versions
8912
*) supports_anon_versioning=yes ;;
8915
# See if GNU ld supports shared libraries.
8918
# On AIX/PPC, the GNU linker is very broken
8919
if test "$host_cpu" != ia64; then
8923
*** Warning: the GNU linker, at least up to release 2.19, is reported
8924
*** to be unable to reliably create shared libraries on AIX.
8925
*** Therefore, libtool is disabling shared libraries support. If you
8926
*** really care for shared libraries, you may want to install binutils
8927
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8928
*** You will then need to restart the configuration process.
8937
# see comment about AmigaOS4 .so support
8938
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8939
archive_expsym_cmds=''
8942
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)'
8943
hardcode_libdir_flag_spec='-L$libdir'
8944
hardcode_minus_L=yes
8950
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8951
allow_undefined_flag=unsupported
8952
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8953
# support --undefined. This deserves some investigation. FIXME
8954
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8960
cygwin* | mingw* | pw32* | cegcc*)
8961
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8962
# as there is no search path for DLLs.
8963
hardcode_libdir_flag_spec='-L$libdir'
8964
export_dynamic_flag_spec='${wl}--export-all-symbols'
8965
allow_undefined_flag=unsupported
8966
always_export_symbols=no
8967
enable_shared_with_static_runtimes=yes
8968
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'
8969
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8971
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8972
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8973
# If the export-symbols file already is a .def file (1st line
8974
# is EXPORTS), use it as is; otherwise, prepend...
8975
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8976
cp $export_symbols $output_objdir/$soname.def;
8978
echo EXPORTS > $output_objdir/$soname.def;
8979
cat $export_symbols >> $output_objdir/$soname.def;
8981
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8988
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8989
link_all_deplibs=yes
8994
hardcode_shlibpath_var=no
8995
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8996
export_dynamic_flag_spec='${wl}-E'
8997
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8998
# Instead, shared libraries are loaded at an image base (0x10000000 by
8999
# default) and relocated if they conflict, which is a slow very memory
9000
# consuming and fragmenting process. To avoid this, we pick a random,
9001
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9002
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9003
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9004
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'
9007
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9009
if test "$host_os" = linux-dietlibc; then
9010
case $cc_basename in
9011
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9014
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9015
&& test "$tmp_diet" = no
9017
tmp_addflag=' $pic_flag'
9018
tmp_sharedflag='-shared'
9019
case $cc_basename,$host_cpu in
9020
pgcc*) # Portland Group C compiler
9021
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'
9022
tmp_addflag=' $pic_flag'
9024
pgf77* | pgf90* | pgf95* | pgfortran*)
9025
# Portland Group f77 and f90 compilers
9026
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'
9027
tmp_addflag=' $pic_flag -Mnomain' ;;
9028
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9029
tmp_addflag=' -i_dynamic' ;;
9030
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9031
tmp_addflag=' -i_dynamic -nofor_main' ;;
9032
ifc* | ifort*) # Intel Fortran compiler
9033
tmp_addflag=' -nofor_main' ;;
9034
lf95*) # Lahey Fortran 8.1
9035
whole_archive_flag_spec=
9036
tmp_sharedflag='--shared' ;;
9037
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9038
tmp_sharedflag='-qmkshrobj'
9040
nvcc*) # Cuda Compiler Driver 2.2
9041
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'
9042
compiler_needs_object=yes
9045
case `$CC -V 2>&1 | sed 5q` in
9046
*Sun\ C*) # Sun C 5.9
9047
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'
9048
compiler_needs_object=yes
9049
tmp_sharedflag='-G' ;;
9050
*Sun\ F*) # Sun Fortran 8.3
9051
tmp_sharedflag='-G' ;;
9053
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9055
if test "x$supports_anon_versioning" = xyes; then
9056
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9057
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9058
echo "local: *; };" >> $output_objdir/$libname.ver~
9059
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9062
case $cc_basename in
9063
xlf* | bgf* | bgxlf* | mpixlf*)
9064
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9065
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9066
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9067
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9068
if test "x$supports_anon_versioning" = xyes; then
9069
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9070
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9071
echo "local: *; };" >> $output_objdir/$libname.ver~
9072
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9081
netbsd* | netbsdelf*-gnu)
9082
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9083
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9086
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9087
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9092
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9096
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9097
*** create shared libraries on Solaris systems. Therefore, libtool
9098
*** is disabling shared libraries support. We urge you to upgrade GNU
9099
*** binutils to release 2.9.1 or newer. Another option is to modify
9100
*** your PATH or compiler configuration so that the native linker is
9101
*** used, and then restart.
9104
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9105
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9106
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9112
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9113
case `$LD -v 2>&1` in
9114
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9118
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9119
*** reliably create shared libraries on SCO systems. Therefore, libtool
9120
*** is disabling shared libraries support. We urge you to upgrade GNU
9121
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9122
*** your PATH or compiler configuration so that the native linker is
9123
*** used, and then restart.
9128
# For security reasons, it is highly recommended that you always
9129
# use absolute paths for naming shared libraries, and exclude the
9130
# DT_RUNPATH tag from executables and libraries. But doing so
9131
# requires that you compile everything twice, which is a pain.
9132
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9133
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9134
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9144
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9147
hardcode_shlibpath_var=no
9151
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9152
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9153
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9160
if test "$ld_shlibs" = no; then
9162
hardcode_libdir_flag_spec=
9163
export_dynamic_flag_spec=
9164
whole_archive_flag_spec=
9167
# PORTME fill in a description of your system's linker (not GNU ld)
9170
allow_undefined_flag=unsupported
9171
always_export_symbols=yes
9172
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'
9173
# Note: this linker hardcodes the directories in LIBPATH if there
9174
# are no directories specified by -L.
9175
hardcode_minus_L=yes
9176
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9177
# Neither direct hardcoding nor static linking is supported with a
9179
hardcode_direct=unsupported
9184
if test "$host_cpu" = ia64; then
9185
# On IA64, the linker does run time linking by default, so we don't
9186
# have to do anything special.
9187
aix_use_runtimelinking=no
9188
exp_sym_flag='-Bexport'
9191
# If we're using GNU nm, then we don't want the "-C" option.
9192
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9193
# Also, AIX nm treats weak defined symbols like other global
9194
# defined symbols, whereas GNU nm marks them as "W".
9195
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9196
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'
9198
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'
9200
aix_use_runtimelinking=no
9202
# Test if we are trying to use run time linking or normal
9203
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9204
# need to do runtime linking.
9205
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9206
for ld_flag in $LDFLAGS; do
9207
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9208
aix_use_runtimelinking=yes
9215
exp_sym_flag='-bexport'
9216
no_entry_flag='-bnoentry'
9219
# When large executables or shared objects are built, AIX ld can
9220
# have problems creating the table of contents. If linking a library
9221
# or program results in "error TOC overflow" add -mminimal-toc to
9222
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9223
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9227
hardcode_direct_absolute=yes
9228
hardcode_libdir_separator=':'
9229
link_all_deplibs=yes
9230
file_list_spec='${wl}-f,'
9232
if test "$GCC" = yes; then
9233
case $host_os in aix4.[012]|aix4.[012].*)
9234
# We only want to do this on AIX 4.2 and lower, the check
9235
# below for broken collect2 doesn't work under 4.3+
9236
collect2name=`${CC} -print-prog-name=collect2`
9237
if test -f "$collect2name" &&
9238
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9240
# We have reworked collect2
9243
# We have old collect2
9244
hardcode_direct=unsupported
9245
# It fails to find uninstalled libraries when the uninstalled
9246
# path is not listed in the libpath. Setting hardcode_minus_L
9247
# to unsupported forces relinking
9248
hardcode_minus_L=yes
9249
hardcode_libdir_flag_spec='-L$libdir'
9250
hardcode_libdir_separator=
9254
shared_flag='-shared'
9255
if test "$aix_use_runtimelinking" = yes; then
9256
shared_flag="$shared_flag "'${wl}-G'
9261
if test "$host_cpu" = ia64; then
9262
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9263
# chokes on -Wl,-G. The following line is correct:
9266
if test "$aix_use_runtimelinking" = yes; then
9267
shared_flag='${wl}-G'
9269
shared_flag='${wl}-bM:SRE'
9274
export_dynamic_flag_spec='${wl}-bexpall'
9275
# It seems that -bexpall does not export symbols beginning with
9276
# underscore (_), so it is better to generate a list of symbols to export.
9277
always_export_symbols=yes
9278
if test "$aix_use_runtimelinking" = yes; then
9279
# Warning - without using the other runtime loading flags (-brtl),
9280
# -berok will link without error, but may produce a broken library.
9281
allow_undefined_flag='-berok'
9282
# Determine the default libpath from the value encoded in an
9284
if test "${lt_cv_aix_libpath+set}" = set; then
9285
aix_libpath=$lt_cv_aix_libpath
9287
if ${lt_cv_aix_libpath_+:} false; then :
9288
$as_echo_n "(cached) " >&6
9290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9291
/* end confdefs.h. */
9301
if ac_fn_c_try_link "$LINENO"; then :
9303
lt_aix_libpath_sed='
9304
/Import File Strings/,/^$/ {
9306
s/^0 *\([^ ]*\) *$/\1/
9310
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9311
# Check for a 64-bit object if we didn't find anything.
9312
if test -z "$lt_cv_aix_libpath_"; then
9313
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9316
rm -f core conftest.err conftest.$ac_objext \
9317
conftest$ac_exeext conftest.$ac_ext
9318
if test -z "$lt_cv_aix_libpath_"; then
9319
lt_cv_aix_libpath_="/usr/lib:/lib"
9324
aix_libpath=$lt_cv_aix_libpath_
9327
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9328
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"
9330
if test "$host_cpu" = ia64; then
9331
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9332
allow_undefined_flag="-z nodefs"
9333
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"
9335
# Determine the default libpath from the value encoded in an
9337
if test "${lt_cv_aix_libpath+set}" = set; then
9338
aix_libpath=$lt_cv_aix_libpath
9340
if ${lt_cv_aix_libpath_+:} false; then :
9341
$as_echo_n "(cached) " >&6
9343
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9344
/* end confdefs.h. */
9354
if ac_fn_c_try_link "$LINENO"; then :
9356
lt_aix_libpath_sed='
9357
/Import File Strings/,/^$/ {
9359
s/^0 *\([^ ]*\) *$/\1/
9363
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9364
# Check for a 64-bit object if we didn't find anything.
9365
if test -z "$lt_cv_aix_libpath_"; then
9366
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9369
rm -f core conftest.err conftest.$ac_objext \
9370
conftest$ac_exeext conftest.$ac_ext
9371
if test -z "$lt_cv_aix_libpath_"; then
9372
lt_cv_aix_libpath_="/usr/lib:/lib"
9377
aix_libpath=$lt_cv_aix_libpath_
9380
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9381
# Warning - without using the other run time loading flags,
9382
# -berok will link without error, but may produce a broken library.
9383
no_undefined_flag=' ${wl}-bernotok'
9384
allow_undefined_flag=' ${wl}-berok'
9385
if test "$with_gnu_ld" = yes; then
9386
# We only use this code for GNU lds that support --whole-archive.
9387
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9389
# Exported symbols can be pulled into shared objects from archives
9390
whole_archive_flag_spec='$convenience'
9392
archive_cmds_need_lc=yes
9393
# This is similar to how AIX traditionally builds its shared libraries.
9394
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'
9402
# see comment about AmigaOS4 .so support
9403
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9404
archive_expsym_cmds=''
9407
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)'
9408
hardcode_libdir_flag_spec='-L$libdir'
9409
hardcode_minus_L=yes
9415
export_dynamic_flag_spec=-rdynamic
9418
cygwin* | mingw* | pw32* | cegcc*)
9419
# When not using gcc, we currently assume that we are using
9420
# Microsoft Visual C++.
9421
# hardcode_libdir_flag_spec is actually meaningless, as there is
9422
# no search path for DLLs.
9423
case $cc_basename in
9426
hardcode_libdir_flag_spec=' '
9427
allow_undefined_flag=unsupported
9428
always_export_symbols=yes
9430
# Tell ltmain to make .lib files, not .a files.
9432
# Tell ltmain to make .dll files, not .so files.
9434
# FIXME: Setting linknames here is a bad hack.
9435
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9436
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9437
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9439
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9441
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9443
# The linker will not automatically build a static lib if we build a DLL.
9444
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9445
enable_shared_with_static_runtimes=yes
9446
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9447
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9449
old_postinstall_cmds='chmod 644 $oldlib'
9450
postlink_cmds='lt_outputfile="@OUTPUT@"~
9451
lt_tool_outputfile="@TOOL_OUTPUT@"~
9452
case $lt_outputfile in
9455
lt_outputfile="$lt_outputfile.exe"
9456
lt_tool_outputfile="$lt_tool_outputfile.exe"
9459
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9460
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9461
$RM "$lt_outputfile.manifest";
9465
# Assume MSVC wrapper
9466
hardcode_libdir_flag_spec=' '
9467
allow_undefined_flag=unsupported
9468
# Tell ltmain to make .lib files, not .a files.
9470
# Tell ltmain to make .dll files, not .so files.
9472
# FIXME: Setting linknames here is a bad hack.
9473
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9474
# The linker will automatically build a .lib file if we build a DLL.
9475
old_archive_from_new_cmds='true'
9476
# FIXME: Should let the user specify the lib program.
9477
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9478
enable_shared_with_static_runtimes=yes
9483
darwin* | rhapsody*)
9486
archive_cmds_need_lc=no
9488
hardcode_automatic=yes
9489
hardcode_shlibpath_var=unsupported
9490
if test "$lt_cv_ld_force_load" = "yes"; then
9491
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\"`'
9494
whole_archive_flag_spec=''
9496
link_all_deplibs=yes
9497
allow_undefined_flag="$_lt_dar_allow_undefined"
9498
case $cc_basename in
9499
ifort*) _lt_dar_can_shared=yes ;;
9500
*) _lt_dar_can_shared=$GCC ;;
9502
if test "$_lt_dar_can_shared" = "yes"; then
9503
output_verbose_link_cmd=func_echo_all
9504
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9505
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9506
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}"
9507
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}"
9516
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9517
hardcode_libdir_flag_spec='-L$libdir'
9518
hardcode_shlibpath_var=no
9521
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9522
# support. Future versions do this automatically, but an explicit c++rt0.o
9523
# does not break anything, and helps significantly (at the cost of a little
9526
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9527
hardcode_libdir_flag_spec='-R$libdir'
9529
hardcode_shlibpath_var=no
9532
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9534
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9536
hardcode_minus_L=yes
9537
hardcode_shlibpath_var=no
9540
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9541
freebsd* | dragonfly*)
9542
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9543
hardcode_libdir_flag_spec='-R$libdir'
9545
hardcode_shlibpath_var=no
9549
if test "$GCC" = yes; then
9550
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'
9552
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'
9554
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9555
hardcode_libdir_separator=:
9558
# hardcode_minus_L: Not really in the search PATH,
9559
# but as the default location of the library.
9560
hardcode_minus_L=yes
9561
export_dynamic_flag_spec='${wl}-E'
9565
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9566
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9568
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9570
if test "$with_gnu_ld" = no; then
9571
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9572
hardcode_libdir_separator=:
9574
hardcode_direct_absolute=yes
9575
export_dynamic_flag_spec='${wl}-E'
9576
# hardcode_minus_L: Not really in the search PATH,
9577
# but as the default location of the library.
9578
hardcode_minus_L=yes
9583
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9586
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9589
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9592
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9598
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9601
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9605
# Older versions of the 11.00 compiler do not understand -b yet
9606
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9608
$as_echo_n "checking if $CC understands -b... " >&6; }
9609
if ${lt_cv_prog_compiler__b+:} false; then :
9610
$as_echo_n "(cached) " >&6
9612
lt_cv_prog_compiler__b=no
9613
save_LDFLAGS="$LDFLAGS"
9614
LDFLAGS="$LDFLAGS -b"
9615
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9616
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9617
# The linker can only warn and ignore the option if not recognized
9618
# So say no if there are warnings
9619
if test -s conftest.err; then
9620
# Append any errors to the config.log.
9621
cat conftest.err 1>&5
9622
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9623
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9624
if diff conftest.exp conftest.er2 >/dev/null; then
9625
lt_cv_prog_compiler__b=yes
9628
lt_cv_prog_compiler__b=yes
9632
LDFLAGS="$save_LDFLAGS"
9635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9636
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9638
if test x"$lt_cv_prog_compiler__b" = xyes; then
9639
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9641
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9647
if test "$with_gnu_ld" = no; then
9648
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9649
hardcode_libdir_separator=:
9654
hardcode_shlibpath_var=no
9658
hardcode_direct_absolute=yes
9659
export_dynamic_flag_spec='${wl}-E'
9661
# hardcode_minus_L: Not really in the search PATH,
9662
# but as the default location of the library.
9663
hardcode_minus_L=yes
9669
irix5* | irix6* | nonstopux*)
9670
if test "$GCC" = yes; then
9671
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'
9672
# Try to use the -exported_symbol ld option, if it does not
9673
# work, assume that -exports_file does not work either and
9674
# implicitly export all symbols.
9675
# This should be the same for all languages, so no per-tag cache variable.
9676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9677
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9678
if ${lt_cv_irix_exported_symbol+:} false; then :
9679
$as_echo_n "(cached) " >&6
9681
save_LDFLAGS="$LDFLAGS"
9682
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9683
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9684
/* end confdefs.h. */
9685
int foo (void) { return 0; }
9687
if ac_fn_c_try_link "$LINENO"; then :
9688
lt_cv_irix_exported_symbol=yes
9690
lt_cv_irix_exported_symbol=no
9692
rm -f core conftest.err conftest.$ac_objext \
9693
conftest$ac_exeext conftest.$ac_ext
9694
LDFLAGS="$save_LDFLAGS"
9696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9697
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9698
if test "$lt_cv_irix_exported_symbol" = yes; then
9699
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'
9702
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'
9703
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'
9705
archive_cmds_need_lc='no'
9706
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9707
hardcode_libdir_separator=:
9709
link_all_deplibs=yes
9712
netbsd* | netbsdelf*-gnu)
9713
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9714
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9716
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9718
hardcode_libdir_flag_spec='-R$libdir'
9720
hardcode_shlibpath_var=no
9724
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9726
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9727
hardcode_libdir_separator=:
9728
hardcode_shlibpath_var=no
9735
if test -f /usr/libexec/ld.so; then
9737
hardcode_shlibpath_var=no
9738
hardcode_direct_absolute=yes
9739
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9740
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9741
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9742
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9743
export_dynamic_flag_spec='${wl}-E'
9746
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9747
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9748
hardcode_libdir_flag_spec='-R$libdir'
9751
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9752
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9762
hardcode_libdir_flag_spec='-L$libdir'
9763
hardcode_minus_L=yes
9764
allow_undefined_flag=unsupported
9765
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'
9766
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9770
if test "$GCC" = yes; then
9771
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9772
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'
9774
allow_undefined_flag=' -expect_unresolved \*'
9775
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'
9777
archive_cmds_need_lc='no'
9778
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9779
hardcode_libdir_separator=:
9782
osf4* | osf5*) # as osf3* with the addition of -msym flag
9783
if test "$GCC" = yes; then
9784
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9785
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'
9786
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9788
allow_undefined_flag=' -expect_unresolved \*'
9789
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'
9790
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~
9791
$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'
9793
# Both c and cxx compiler support -rpath directly
9794
hardcode_libdir_flag_spec='-rpath $libdir'
9796
archive_cmds_need_lc='no'
9797
hardcode_libdir_separator=:
9801
no_undefined_flag=' -z defs'
9802
if test "$GCC" = yes; then
9804
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9805
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9806
$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'
9808
case `$CC -V 2>&1` in
9811
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9812
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9813
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9817
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9818
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9819
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9823
hardcode_libdir_flag_spec='-R$libdir'
9824
hardcode_shlibpath_var=no
9826
solaris2.[0-5] | solaris2.[0-5].*) ;;
9828
# The compiler driver will combine and reorder linker options,
9829
# but understands `-z linker_flag'. GCC discards it without `$wl',
9830
# but is careful enough not to reorder.
9831
# Supported since Solaris 2.6 (maybe 2.5.1?)
9832
if test "$GCC" = yes; then
9833
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9835
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9839
link_all_deplibs=yes
9843
if test "x$host_vendor" = xsequent; then
9844
# Use $CC to link under sequent, because it throws in some extra .o
9845
# files that make .init and .fini sections work.
9846
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9848
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9850
hardcode_libdir_flag_spec='-L$libdir'
9852
hardcode_minus_L=yes
9853
hardcode_shlibpath_var=no
9857
case $host_vendor in
9859
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9860
hardcode_direct=yes # is this really true???
9863
## LD is ld it makes a PLAMLIB
9864
## CC just makes a GrossModule.
9865
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9866
reload_cmds='$CC -r -o $output$reload_objs'
9870
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9871
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9874
runpath_var='LD_RUN_PATH'
9875
hardcode_shlibpath_var=no
9879
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9880
hardcode_shlibpath_var=no
9881
export_dynamic_flag_spec='-Bexport'
9885
if test -d /usr/nec; then
9886
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9887
hardcode_shlibpath_var=no
9888
runpath_var=LD_RUN_PATH
9889
hardcode_runpath_var=yes
9894
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9895
no_undefined_flag='${wl}-z,text'
9896
archive_cmds_need_lc=no
9897
hardcode_shlibpath_var=no
9898
runpath_var='LD_RUN_PATH'
9900
if test "$GCC" = yes; then
9901
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9902
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9904
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9905
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9909
sysv5* | sco3.2v5* | sco5v6*)
9910
# Note: We can NOT use -z defs as we might desire, because we do not
9911
# link with -lc, and that would cause any symbols used from libc to
9912
# always be unresolved, which means just about no library would
9913
# ever link correctly. If we're not using GNU ld we use -z text
9914
# though, which does catch some bad symbols but isn't as heavy-handed
9916
no_undefined_flag='${wl}-z,text'
9917
allow_undefined_flag='${wl}-z,nodefs'
9918
archive_cmds_need_lc=no
9919
hardcode_shlibpath_var=no
9920
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9921
hardcode_libdir_separator=':'
9922
link_all_deplibs=yes
9923
export_dynamic_flag_spec='${wl}-Bexport'
9924
runpath_var='LD_RUN_PATH'
9926
if test "$GCC" = yes; then
9927
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9928
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9930
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9931
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9936
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937
hardcode_libdir_flag_spec='-L$libdir'
9938
hardcode_shlibpath_var=no
9946
if test x$host_vendor = xsni; then
9948
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9949
export_dynamic_flag_spec='${wl}-Blargedynsym'
9955
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9956
$as_echo "$ld_shlibs" >&6; }
9957
test "$ld_shlibs" = no && can_build_shared=no
9959
with_gnu_ld=$with_gnu_ld
9976
# Do we need to explicitly link libc?
9978
case "x$archive_cmds_need_lc" in
9980
# Assume -lc should be added
9981
archive_cmds_need_lc=yes
9983
if test "$enable_shared" = yes && test "$GCC" = yes; then
9984
case $archive_cmds in
9986
# FIXME: we may have to deal with multi-command sequences.
9989
# Test whether the compiler implicitly links with -lc since on some
9990
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9991
# to ld, don't add -lc before -lgcc.
9992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9993
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9994
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9995
$as_echo_n "(cached) " >&6
9998
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10000
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10001
(eval $ac_compile) 2>&5
10003
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10004
test $ac_status = 0; } 2>conftest.err; then
10007
libobjs=conftest.$ac_objext
10009
wl=$lt_prog_compiler_wl
10010
pic_flag=$lt_prog_compiler_pic
10016
lt_save_allow_undefined_flag=$allow_undefined_flag
10017
allow_undefined_flag=
10018
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10019
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10021
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10022
test $ac_status = 0; }
10024
lt_cv_archive_cmds_need_lc=no
10026
lt_cv_archive_cmds_need_lc=yes
10028
allow_undefined_flag=$lt_save_allow_undefined_flag
10030
cat conftest.err 1>&5
10035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10036
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10037
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10196
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10198
if test "$GCC" = yes; then
10200
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10201
*) lt_awk_arg="/^libraries:/" ;;
10204
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10205
*) lt_sed_strip_eq="s,=/,/,g" ;;
10207
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10208
case $lt_search_path_spec in
10210
# if the path contains ";" then we assume it to be the separator
10211
# otherwise default to the standard path separator (i.e. ":") - it is
10212
# assumed that no part of a normal pathname contains ";" but that should
10213
# okay in the real world where ";" in dirpaths is itself problematic.
10214
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10217
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10220
# Ok, now we have the path, separated by spaces, we can step through it
10221
# and add multilib dir if necessary.
10222
lt_tmp_lt_search_path_spec=
10223
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10224
for lt_sys_path in $lt_search_path_spec; do
10225
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10226
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10228
test -d "$lt_sys_path" && \
10229
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10232
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10233
BEGIN {RS=" "; FS="/|\n";} {
10236
for (lt_i = NF; lt_i > 0; lt_i--) {
10237
if ($lt_i != "" && $lt_i != ".") {
10238
if ($lt_i == "..") {
10241
if (lt_count == 0) {
10242
lt_foo="/" $lt_i lt_foo;
10249
if (lt_foo != "") { lt_freq[lt_foo]++; }
10250
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10252
# AWK program above erroneously prepends '/' to C:/dos/paths
10255
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10256
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10258
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10260
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10262
library_names_spec=
10263
libname_spec='lib$name'
10267
postuninstall_cmds=
10271
shlibpath_overrides_runpath=unknown
10273
dynamic_linker="$host_os ld.so"
10274
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10275
need_lib_prefix=unknown
10276
hardcode_into_libs=no
10278
# when you set need_version to no, make sure it does not cause -set_version
10279
# flags to be left without arguments
10280
need_version=unknown
10284
version_type=linux # correct to gnu/linux during the next big refactor
10285
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10286
shlibpath_var=LIBPATH
10288
# AIX 3 has no versioning support, so we append a major version to the name.
10289
soname_spec='${libname}${release}${shared_ext}$major'
10293
version_type=linux # correct to gnu/linux during the next big refactor
10296
hardcode_into_libs=yes
10297
if test "$host_cpu" = ia64; then
10298
# AIX 5 supports IA64
10299
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10300
shlibpath_var=LD_LIBRARY_PATH
10302
# With GCC up to 2.95.x, collect2 would create an import file
10303
# for dependence libraries. The import file would start with
10304
# the line `#! .'. This would cause the generated library to
10305
# depend on `.', always an invalid library. This was fixed in
10306
# development snapshots of GCC prior to 3.0.
10308
aix4 | aix4.[01] | aix4.[01].*)
10309
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10311
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10314
can_build_shared=no
10318
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10319
# soname into executable. Probably we can add versioning support to
10320
# collect2, so additional links can be useful in future.
10321
if test "$aix_use_runtimelinking" = yes; then
10322
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10323
# instead of lib<name>.a to let people know that these are not
10324
# typical AIX shared libraries.
10325
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10327
# We preserve .a as extension for shared libraries through AIX4.2
10328
# and later when we are not doing run time linking.
10329
library_names_spec='${libname}${release}.a $libname.a'
10330
soname_spec='${libname}${release}${shared_ext}$major'
10332
shlibpath_var=LIBPATH
10339
# Since July 2007 AmigaOS4 officially supports .so libraries.
10340
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10341
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10344
library_names_spec='$libname.ixlibrary $libname.a'
10345
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10346
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'
10352
library_names_spec='${libname}${shared_ext}'
10353
dynamic_linker="$host_os ld.so"
10354
shlibpath_var=LIBRARY_PATH
10358
version_type=linux # correct to gnu/linux during the next big refactor
10360
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10361
soname_spec='${libname}${release}${shared_ext}$major'
10362
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10363
shlibpath_var=LD_LIBRARY_PATH
10364
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10365
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10366
# the default ld.so.conf also contains /usr/contrib/lib and
10367
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10368
# libtool to hard-code these into programs
10371
cygwin* | mingw* | pw32* | cegcc*)
10372
version_type=windows
10377
case $GCC,$cc_basename in
10380
library_names_spec='$libname.dll.a'
10381
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10382
postinstall_cmds='base_file=`basename \${file}`~
10383
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10384
dldir=$destdir/`dirname \$dlpath`~
10385
test -d \$dldir || mkdir -p \$dldir~
10386
$install_prog $dir/$dlname \$dldir/$dlname~
10387
chmod a+x \$dldir/$dlname~
10388
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10389
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10391
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10392
dlpath=$dir/\$dldll~
10394
shlibpath_overrides_runpath=yes
10398
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10399
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10401
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10404
# MinGW DLLs use traditional 'lib' prefix
10405
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10408
# pw32 DLLs use 'pw' prefix rather than 'lib'
10409
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10412
dynamic_linker='Win32 ld.exe'
10417
libname_spec='$name'
10418
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10419
library_names_spec='${libname}.dll.lib'
10423
sys_lib_search_path_spec=
10426
for lt_path in $LIB
10429
# Let DOS variable expansion print the short 8.3 style file name.
10430
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10431
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10434
# Convert to MSYS style.
10435
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10438
# Convert to unix form, then to dos form, then back to unix form
10439
# but this time dos style (no spaces!) so that the unix form looks
10440
# like /cygdrive/c/PROGRA~1:/cygdr...
10441
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10442
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10443
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10446
sys_lib_search_path_spec="$LIB"
10447
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10448
# It is most probably a Windows format PATH.
10449
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10451
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10453
# FIXME: find the short name or the path components, as spaces are
10454
# common. (e.g. "Program Files" -> "PROGRA~1")
10458
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10459
postinstall_cmds='base_file=`basename \${file}`~
10460
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10461
dldir=$destdir/`dirname \$dlpath`~
10462
test -d \$dldir || mkdir -p \$dldir~
10463
$install_prog $dir/$dlname \$dldir/$dlname'
10464
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10465
dlpath=$dir/\$dldll~
10467
shlibpath_overrides_runpath=yes
10468
dynamic_linker='Win32 link.exe'
10472
# Assume MSVC wrapper
10473
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10474
dynamic_linker='Win32 ld.exe'
10477
# FIXME: first we should search . and the directory the executable is in
10481
darwin* | rhapsody*)
10482
dynamic_linker="$host_os dyld"
10483
version_type=darwin
10486
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10487
soname_spec='${libname}${release}${major}$shared_ext'
10488
shlibpath_overrides_runpath=yes
10489
shlibpath_var=DYLD_LIBRARY_PATH
10490
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10492
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10493
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10497
version_type=linux # correct to gnu/linux during the next big refactor
10500
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10501
soname_spec='${libname}${release}${shared_ext}$major'
10502
shlibpath_var=LD_LIBRARY_PATH
10505
freebsd* | dragonfly*)
10506
# DragonFly does not have aout. When/if they implement a new
10507
# versioning mechanism, adjust this.
10508
if test -x /usr/bin/objformat; then
10509
objformat=`/usr/bin/objformat`
10512
freebsd[23].*) objformat=aout ;;
10513
*) objformat=elf ;;
10516
version_type=freebsd-$objformat
10517
case $version_type in
10519
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10524
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10528
shlibpath_var=LD_LIBRARY_PATH
10531
shlibpath_overrides_runpath=yes
10533
freebsd3.[01]* | freebsdelf3.[01]*)
10534
shlibpath_overrides_runpath=yes
10535
hardcode_into_libs=yes
10537
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10538
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10539
shlibpath_overrides_runpath=no
10540
hardcode_into_libs=yes
10542
*) # from 4.6 on, and DragonFly
10543
shlibpath_overrides_runpath=yes
10544
hardcode_into_libs=yes
10550
version_type=linux # correct to gnu/linux during the next big refactor
10553
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10554
soname_spec='${libname}${release}${shared_ext}$major'
10555
shlibpath_var=LD_LIBRARY_PATH
10556
shlibpath_overrides_runpath=no
10557
hardcode_into_libs=yes
10561
version_type=linux # correct to gnu/linux during the next big refactor
10564
dynamic_linker="$host_os runtime_loader"
10565
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10566
soname_spec='${libname}${release}${shared_ext}$major'
10567
shlibpath_var=LIBRARY_PATH
10568
shlibpath_overrides_runpath=yes
10569
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10570
hardcode_into_libs=yes
10573
hpux9* | hpux10* | hpux11*)
10574
# Give a soname corresponding to the major version so that dld.sl refuses to
10575
# link against other versions.
10582
hardcode_into_libs=yes
10583
dynamic_linker="$host_os dld.so"
10584
shlibpath_var=LD_LIBRARY_PATH
10585
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10586
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10587
soname_spec='${libname}${release}${shared_ext}$major'
10588
if test "X$HPUX_IA64_MODE" = X32; then
10589
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10591
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10593
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10597
hardcode_into_libs=yes
10598
dynamic_linker="$host_os dld.sl"
10599
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10600
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10601
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602
soname_spec='${libname}${release}${shared_ext}$major'
10603
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10604
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10608
dynamic_linker="$host_os dld.sl"
10609
shlibpath_var=SHLIB_PATH
10610
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10611
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10612
soname_spec='${libname}${release}${shared_ext}$major'
10615
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10616
postinstall_cmds='chmod 555 $lib'
10617
# or fails outright, so override atomically:
10618
install_override_mode=555
10622
version_type=linux # correct to gnu/linux during the next big refactor
10625
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10626
soname_spec='${libname}${release}${shared_ext}$major'
10627
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10628
shlibpath_var=LD_LIBRARY_PATH
10629
shlibpath_overrides_runpath=no
10630
hardcode_into_libs=yes
10633
irix5* | irix6* | nonstopux*)
10635
nonstopux*) version_type=nonstopux ;;
10637
if test "$lt_cv_prog_gnu_ld" = yes; then
10638
version_type=linux # correct to gnu/linux during the next big refactor
10645
soname_spec='${libname}${release}${shared_ext}$major'
10646
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10648
irix5* | nonstopux*)
10649
libsuff= shlibsuff=
10652
case $LD in # libtool.m4 will add one of these switches to LD
10653
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10654
libsuff= shlibsuff= libmagic=32-bit;;
10655
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10656
libsuff=32 shlibsuff=N32 libmagic=N32;;
10657
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10658
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10659
*) libsuff= shlibsuff= libmagic=never-match;;
10663
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10664
shlibpath_overrides_runpath=no
10665
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10666
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10667
hardcode_into_libs=yes
10670
# No shared lib support for Linux oldld, aout, or coff.
10671
linux*oldld* | linux*aout* | linux*coff*)
10675
# This must be glibc/ELF.
10676
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10677
version_type=linux # correct to gnu/linux during the next big refactor
10680
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10681
soname_spec='${libname}${release}${shared_ext}$major'
10682
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10683
shlibpath_var=LD_LIBRARY_PATH
10684
shlibpath_overrides_runpath=no
10686
# Some binutils ld are patched to set DT_RUNPATH
10687
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10688
$as_echo_n "(cached) " >&6
10690
lt_cv_shlibpath_overrides_runpath=no
10691
save_LDFLAGS=$LDFLAGS
10692
save_libdir=$libdir
10693
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10694
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696
/* end confdefs.h. */
10706
if ac_fn_c_try_link "$LINENO"; then :
10707
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10708
lt_cv_shlibpath_overrides_runpath=yes
10711
rm -f core conftest.err conftest.$ac_objext \
10712
conftest$ac_exeext conftest.$ac_ext
10713
LDFLAGS=$save_LDFLAGS
10714
libdir=$save_libdir
10718
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10720
# This implies no fast_install, which is unacceptable.
10721
# Some rework will be needed to allow for fast_install
10722
# before this can be enabled.
10723
hardcode_into_libs=yes
10725
# Append ld.so.conf contents to the search path
10726
if test -f /etc/ld.so.conf; then
10727
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' ' '`
10728
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10731
# We used to test for /lib/ld.so.1 and disable shared libraries on
10732
# powerpc, because MkLinux only supported shared libraries with the
10733
# GNU dynamic linker. Since this was broken with cross compilers,
10734
# most powerpc-linux boxes support dynamic linking these days and
10735
# people can always --disable-shared, the test was removed, and we
10736
# assume the GNU/Linux dynamic linker is in use.
10737
dynamic_linker='GNU/Linux ld.so'
10744
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10745
soname_spec='${libname}${release}${shared_ext}$major'
10746
shlibpath_var=LD_LIBRARY_PATH
10747
shlibpath_overrides_runpath=no
10748
hardcode_into_libs=yes
10749
dynamic_linker='NetBSD ld.elf_so'
10756
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10757
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10758
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10759
dynamic_linker='NetBSD (a.out) ld.so'
10761
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10762
soname_spec='${libname}${release}${shared_ext}$major'
10763
dynamic_linker='NetBSD ld.elf_so'
10765
shlibpath_var=LD_LIBRARY_PATH
10766
shlibpath_overrides_runpath=yes
10767
hardcode_into_libs=yes
10771
version_type=linux # correct to gnu/linux during the next big refactor
10772
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10773
shlibpath_var=LD_LIBRARY_PATH
10774
shlibpath_overrides_runpath=yes
10781
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10782
soname_spec='${libname}${release}${shared_ext}$major'
10783
shlibpath_var=LD_LIBRARY_PATH
10784
shlibpath_overrides_runpath=no
10785
hardcode_into_libs=yes
10786
dynamic_linker='ldqnx.so'
10791
sys_lib_dlsearch_path_spec="/usr/lib"
10793
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10795
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10796
*) need_version=no ;;
10798
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10799
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10800
shlibpath_var=LD_LIBRARY_PATH
10801
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10803
openbsd2.[89] | openbsd2.[89].*)
10804
shlibpath_overrides_runpath=no
10807
shlibpath_overrides_runpath=yes
10811
shlibpath_overrides_runpath=yes
10816
libname_spec='$name'
10819
library_names_spec='$libname${shared_ext} $libname.a'
10820
dynamic_linker='OS/2 ld.exe'
10821
shlibpath_var=LIBPATH
10824
osf3* | osf4* | osf5*)
10828
soname_spec='${libname}${release}${shared_ext}$major'
10829
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10830
shlibpath_var=LD_LIBRARY_PATH
10831
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10832
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10840
version_type=linux # correct to gnu/linux during the next big refactor
10843
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10844
soname_spec='${libname}${release}${shared_ext}$major'
10845
shlibpath_var=LD_LIBRARY_PATH
10846
shlibpath_overrides_runpath=yes
10847
hardcode_into_libs=yes
10848
# ldd complains unless libraries are executable
10849
postinstall_cmds='chmod +x $lib'
10854
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10855
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10856
shlibpath_var=LD_LIBRARY_PATH
10857
shlibpath_overrides_runpath=yes
10858
if test "$with_gnu_ld" = yes; then
10865
version_type=linux # correct to gnu/linux during the next big refactor
10866
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867
soname_spec='${libname}${release}${shared_ext}$major'
10868
shlibpath_var=LD_LIBRARY_PATH
10869
case $host_vendor in
10871
shlibpath_overrides_runpath=no
10873
runpath_var=LD_RUN_PATH
10881
shlibpath_overrides_runpath=no
10882
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10888
if test -d /usr/nec ;then
10889
version_type=linux # correct to gnu/linux during the next big refactor
10890
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10891
soname_spec='$libname${shared_ext}.$major'
10892
shlibpath_var=LD_LIBRARY_PATH
10896
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10897
version_type=freebsd-elf
10900
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10901
soname_spec='${libname}${release}${shared_ext}$major'
10902
shlibpath_var=LD_LIBRARY_PATH
10903
shlibpath_overrides_runpath=yes
10904
hardcode_into_libs=yes
10905
if test "$with_gnu_ld" = yes; then
10906
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10908
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10911
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10915
sys_lib_dlsearch_path_spec='/usr/lib'
10919
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10920
version_type=linux # correct to gnu/linux during the next big refactor
10923
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924
shlibpath_var=LD_LIBRARY_PATH
10925
shlibpath_overrides_runpath=no
10926
hardcode_into_libs=yes
10930
version_type=linux # correct to gnu/linux during the next big refactor
10931
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932
soname_spec='${libname}${release}${shared_ext}$major'
10933
shlibpath_var=LD_LIBRARY_PATH
10940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10941
$as_echo "$dynamic_linker" >&6; }
10942
test "$dynamic_linker" = no && can_build_shared=no
10944
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10945
if test "$GCC" = yes; then
10946
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10949
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10950
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10952
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10953
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11048
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11050
if test -n "$hardcode_libdir_flag_spec" ||
11051
test -n "$runpath_var" ||
11052
test "X$hardcode_automatic" = "Xyes" ; then
11054
# We can hardcode non-existent directories.
11055
if test "$hardcode_direct" != no &&
11056
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11057
# have to relink, otherwise we might link with an installed library
11058
# when we should be linking with a yet-to-be-installed one
11059
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11060
test "$hardcode_minus_L" != no; then
11061
# Linking always hardcodes the temporary library directory.
11062
hardcode_action=relink
11064
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11065
hardcode_action=immediate
11068
# We cannot hardcode anything, or else we can only hardcode existing
11070
hardcode_action=unsupported
11072
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11073
$as_echo "$hardcode_action" >&6; }
11075
if test "$hardcode_action" = relink ||
11076
test "$inherit_rpath" = yes; then
11077
# Fast installation is not supported
11078
enable_fast_install=no
11079
elif test "$shlibpath_overrides_runpath" = yes ||
11080
test "$enable_shared" = no; then
11081
# Fast installation is not necessary
11082
enable_fast_install=needless
11090
if test "x$enable_dlopen" != xyes; then
11091
enable_dlopen=unknown
11092
enable_dlopen_self=unknown
11093
enable_dlopen_self_static=unknown
11100
lt_cv_dlopen="load_add_on"
11102
lt_cv_dlopen_self=yes
11105
mingw* | pw32* | cegcc*)
11106
lt_cv_dlopen="LoadLibrary"
11111
lt_cv_dlopen="dlopen"
11116
# if libdl is installed we need to link against it
11117
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11118
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11119
if ${ac_cv_lib_dl_dlopen+:} false; then :
11120
$as_echo_n "(cached) " >&6
11122
ac_check_lib_save_LIBS=$LIBS
11124
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125
/* end confdefs.h. */
11127
/* Override any GCC internal prototype to avoid an error.
11128
Use char because int might match the return type of a GCC
11129
builtin and then its argument prototype would still apply. */
11142
if ac_fn_c_try_link "$LINENO"; then :
11143
ac_cv_lib_dl_dlopen=yes
11145
ac_cv_lib_dl_dlopen=no
11147
rm -f core conftest.err conftest.$ac_objext \
11148
conftest$ac_exeext conftest.$ac_ext
11149
LIBS=$ac_check_lib_save_LIBS
11151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11152
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11153
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11154
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11157
lt_cv_dlopen="dyld"
11159
lt_cv_dlopen_self=yes
11166
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11167
if test "x$ac_cv_func_shl_load" = xyes; then :
11168
lt_cv_dlopen="shl_load"
11170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11171
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11172
if ${ac_cv_lib_dld_shl_load+:} false; then :
11173
$as_echo_n "(cached) " >&6
11175
ac_check_lib_save_LIBS=$LIBS
11177
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11178
/* end confdefs.h. */
11180
/* Override any GCC internal prototype to avoid an error.
11181
Use char because int might match the return type of a GCC
11182
builtin and then its argument prototype would still apply. */
11190
return shl_load ();
11195
if ac_fn_c_try_link "$LINENO"; then :
11196
ac_cv_lib_dld_shl_load=yes
11198
ac_cv_lib_dld_shl_load=no
11200
rm -f core conftest.err conftest.$ac_objext \
11201
conftest$ac_exeext conftest.$ac_ext
11202
LIBS=$ac_check_lib_save_LIBS
11204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11205
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11206
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11207
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11209
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11210
if test "x$ac_cv_func_dlopen" = xyes; then :
11211
lt_cv_dlopen="dlopen"
11213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11214
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11215
if ${ac_cv_lib_dl_dlopen+:} false; then :
11216
$as_echo_n "(cached) " >&6
11218
ac_check_lib_save_LIBS=$LIBS
11220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11221
/* end confdefs.h. */
11223
/* Override any GCC internal prototype to avoid an error.
11224
Use char because int might match the return type of a GCC
11225
builtin and then its argument prototype would still apply. */
11238
if ac_fn_c_try_link "$LINENO"; then :
11239
ac_cv_lib_dl_dlopen=yes
11241
ac_cv_lib_dl_dlopen=no
11243
rm -f core conftest.err conftest.$ac_objext \
11244
conftest$ac_exeext conftest.$ac_ext
11245
LIBS=$ac_check_lib_save_LIBS
11247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11248
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11249
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11250
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11253
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11254
if ${ac_cv_lib_svld_dlopen+:} false; then :
11255
$as_echo_n "(cached) " >&6
11257
ac_check_lib_save_LIBS=$LIBS
11258
LIBS="-lsvld $LIBS"
11259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260
/* end confdefs.h. */
11262
/* Override any GCC internal prototype to avoid an error.
11263
Use char because int might match the return type of a GCC
11264
builtin and then its argument prototype would still apply. */
11277
if ac_fn_c_try_link "$LINENO"; then :
11278
ac_cv_lib_svld_dlopen=yes
11280
ac_cv_lib_svld_dlopen=no
11282
rm -f core conftest.err conftest.$ac_objext \
11283
conftest$ac_exeext conftest.$ac_ext
11284
LIBS=$ac_check_lib_save_LIBS
11286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11287
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11288
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11289
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11292
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11293
if ${ac_cv_lib_dld_dld_link+:} false; then :
11294
$as_echo_n "(cached) " >&6
11296
ac_check_lib_save_LIBS=$LIBS
11298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299
/* end confdefs.h. */
11301
/* Override any GCC internal prototype to avoid an error.
11302
Use char because int might match the return type of a GCC
11303
builtin and then its argument prototype would still apply. */
11311
return dld_link ();
11316
if ac_fn_c_try_link "$LINENO"; then :
11317
ac_cv_lib_dld_dld_link=yes
11319
ac_cv_lib_dld_dld_link=no
11321
rm -f core conftest.err conftest.$ac_objext \
11322
conftest$ac_exeext conftest.$ac_ext
11323
LIBS=$ac_check_lib_save_LIBS
11325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11326
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11327
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11328
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11349
if test "x$lt_cv_dlopen" != xno; then
11355
case $lt_cv_dlopen in
11357
save_CPPFLAGS="$CPPFLAGS"
11358
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11360
save_LDFLAGS="$LDFLAGS"
11361
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11364
LIBS="$lt_cv_dlopen_libs $LIBS"
11366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11367
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11368
if ${lt_cv_dlopen_self+:} false; then :
11369
$as_echo_n "(cached) " >&6
11371
if test "$cross_compiling" = yes; then :
11372
lt_cv_dlopen_self=cross
11374
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11375
lt_status=$lt_dlunknown
11376
cat > conftest.$ac_ext <<_LT_EOF
11377
#line $LINENO "configure"
11378
#include "confdefs.h"
11387
# define LT_DLGLOBAL RTLD_GLOBAL
11390
# define LT_DLGLOBAL DL_GLOBAL
11392
# define LT_DLGLOBAL 0
11396
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11397
find out it does not work in some platform. */
11398
#ifndef LT_DLLAZY_OR_NOW
11400
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11403
# define LT_DLLAZY_OR_NOW DL_LAZY
11406
# define LT_DLLAZY_OR_NOW RTLD_NOW
11409
# define LT_DLLAZY_OR_NOW DL_NOW
11411
# define LT_DLLAZY_OR_NOW 0
11418
/* When -fvisbility=hidden is used, assume the code has been annotated
11419
correspondingly for the symbols needed. */
11420
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11421
int fnord () __attribute__((visibility("default")));
11424
int fnord () { return 42; }
11427
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11428
int status = $lt_dlunknown;
11432
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11435
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11436
else puts (dlerror ());
11438
/* dlclose (self); */
11446
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11447
(eval $ac_link) 2>&5
11449
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11450
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11451
(./conftest; exit; ) >&5 2>/dev/null
11453
case x$lt_status in
11454
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11455
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11456
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11459
# compilation failed
11460
lt_cv_dlopen_self=no
11467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11468
$as_echo "$lt_cv_dlopen_self" >&6; }
11470
if test "x$lt_cv_dlopen_self" = xyes; then
11471
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11473
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11474
if ${lt_cv_dlopen_self_static+:} false; then :
11475
$as_echo_n "(cached) " >&6
11477
if test "$cross_compiling" = yes; then :
11478
lt_cv_dlopen_self_static=cross
11480
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11481
lt_status=$lt_dlunknown
11482
cat > conftest.$ac_ext <<_LT_EOF
11483
#line $LINENO "configure"
11484
#include "confdefs.h"
11493
# define LT_DLGLOBAL RTLD_GLOBAL
11496
# define LT_DLGLOBAL DL_GLOBAL
11498
# define LT_DLGLOBAL 0
11502
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11503
find out it does not work in some platform. */
11504
#ifndef LT_DLLAZY_OR_NOW
11506
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11509
# define LT_DLLAZY_OR_NOW DL_LAZY
11512
# define LT_DLLAZY_OR_NOW RTLD_NOW
11515
# define LT_DLLAZY_OR_NOW DL_NOW
11517
# define LT_DLLAZY_OR_NOW 0
11524
/* When -fvisbility=hidden is used, assume the code has been annotated
11525
correspondingly for the symbols needed. */
11526
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11527
int fnord () __attribute__((visibility("default")));
11530
int fnord () { return 42; }
11533
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11534
int status = $lt_dlunknown;
11538
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11541
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11542
else puts (dlerror ());
11544
/* dlclose (self); */
11552
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11553
(eval $ac_link) 2>&5
11555
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11556
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11557
(./conftest; exit; ) >&5 2>/dev/null
11559
case x$lt_status in
11560
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11561
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11562
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11565
# compilation failed
11566
lt_cv_dlopen_self_static=no
11573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11574
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11577
CPPFLAGS="$save_CPPFLAGS"
11578
LDFLAGS="$save_LDFLAGS"
11583
case $lt_cv_dlopen_self in
11584
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11585
*) enable_dlopen_self=unknown ;;
11588
case $lt_cv_dlopen_self_static in
11589
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11590
*) enable_dlopen_self_static=unknown ;;
11612
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11613
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11614
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11615
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11616
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11618
$as_echo "yes" >&6; }
11620
# FIXME - insert some real tests, host_os isn't really good enough
11623
if test -n "$STRIP" ; then
11624
striplib="$STRIP -x"
11625
old_striplib="$STRIP -S"
11626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11627
$as_echo "yes" >&6; }
11629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11630
$as_echo "no" >&6; }
11634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11635
$as_echo "no" >&6; }
11651
# Report which library types will actually be built
11652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11653
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11654
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11655
$as_echo "$can_build_shared" >&6; }
11657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11658
$as_echo_n "checking whether to build shared libraries... " >&6; }
11659
test "$can_build_shared" = "no" && enable_shared=no
11661
# On AIX, shared libraries and static libraries use the same namespace, and
11662
# are all built from PIC.
11665
test "$enable_shared" = yes && enable_static=no
11666
if test -n "$RANLIB"; then
11667
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11668
postinstall_cmds='$RANLIB $lib'
11673
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11674
test "$enable_shared" = yes && enable_static=no
11678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11679
$as_echo "$enable_shared" >&6; }
11681
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11682
$as_echo_n "checking whether to build static libraries... " >&6; }
11683
# Make sure either enable_shared or enable_static is yes.
11684
test "$enable_shared" = yes || enable_static=yes
11685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11686
$as_echo "$enable_static" >&6; }
11693
ac_cpp='$CPP $CPPFLAGS'
11694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11695
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11696
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11714
ac_config_commands="$ac_config_commands libtool"
11719
# Only expand once:
11724
#############################################
11726
#############################################
11727
GETTEXT_PACKAGE="$PACKAGE"
11729
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11732
cat >>confdefs.h <<_ACEOF
11733
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
11737
for ac_header in locale.h
11739
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11740
if test "x$ac_cv_header_locale_h" = xyes; then :
11741
cat >>confdefs.h <<_ACEOF
11742
#define HAVE_LOCALE_H 1
11749
if test $ac_cv_header_locale_h = yes; then
11750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11751
$as_echo_n "checking for LC_MESSAGES... " >&6; }
11752
if ${am_cv_val_LC_MESSAGES+:} false; then :
11753
$as_echo_n "(cached) " >&6
11755
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11756
/* end confdefs.h. */
11757
#include <locale.h>
11766
if ac_fn_c_try_link "$LINENO"; then :
11767
am_cv_val_LC_MESSAGES=yes
11769
am_cv_val_LC_MESSAGES=no
11771
rm -f core conftest.err conftest.$ac_objext \
11772
conftest$ac_exeext conftest.$ac_ext
11774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11775
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11776
if test $am_cv_val_LC_MESSAGES = yes; then
11778
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11785
gt_cv_have_gettext=no
11791
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11792
if test "x$ac_cv_header_libintl_h" = xyes; then :
11793
gt_cv_func_dgettext_libintl="no"
11794
libintl_extra_libs=""
11797
# First check in libc
11799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11800
$as_echo_n "checking for ngettext in libc... " >&6; }
11801
if ${gt_cv_func_ngettext_libc+:} false; then :
11802
$as_echo_n "(cached) " >&6
11804
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11805
/* end confdefs.h. */
11807
#include <libintl.h>
11812
return !ngettext ("","", 1)
11817
if ac_fn_c_try_link "$LINENO"; then :
11818
gt_cv_func_ngettext_libc=yes
11820
gt_cv_func_ngettext_libc=no
11822
rm -f core conftest.err conftest.$ac_objext \
11823
conftest$ac_exeext conftest.$ac_ext
11826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11827
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
11829
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11830
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11831
$as_echo_n "checking for dgettext in libc... " >&6; }
11832
if ${gt_cv_func_dgettext_libc+:} false; then :
11833
$as_echo_n "(cached) " >&6
11835
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11836
/* end confdefs.h. */
11838
#include <libintl.h>
11843
return !dgettext ("","")
11848
if ac_fn_c_try_link "$LINENO"; then :
11849
gt_cv_func_dgettext_libc=yes
11851
gt_cv_func_dgettext_libc=no
11853
rm -f core conftest.err conftest.$ac_objext \
11854
conftest$ac_exeext conftest.$ac_ext
11857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11858
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
11861
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11862
for ac_func in bind_textdomain_codeset
11864
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11865
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11866
cat >>confdefs.h <<_ACEOF
11867
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11876
# If we don't have everything we want, check in libintl
11878
if test "$gt_cv_func_dgettext_libc" != "yes" \
11879
|| test "$gt_cv_func_ngettext_libc" != "yes" \
11880
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11883
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11884
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
11885
$as_echo_n "(cached) " >&6
11887
ac_check_lib_save_LIBS=$LIBS
11888
LIBS="-lintl $LIBS"
11889
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890
/* end confdefs.h. */
11892
/* Override any GCC internal prototype to avoid an error.
11893
Use char because int might match the return type of a GCC
11894
builtin and then its argument prototype would still apply. */
11898
char bindtextdomain ();
11902
return bindtextdomain ();
11907
if ac_fn_c_try_link "$LINENO"; then :
11908
ac_cv_lib_intl_bindtextdomain=yes
11910
ac_cv_lib_intl_bindtextdomain=no
11912
rm -f core conftest.err conftest.$ac_objext \
11913
conftest$ac_exeext conftest.$ac_ext
11914
LIBS=$ac_check_lib_save_LIBS
11916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11917
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11918
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
11919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11920
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11921
if ${ac_cv_lib_intl_ngettext+:} false; then :
11922
$as_echo_n "(cached) " >&6
11924
ac_check_lib_save_LIBS=$LIBS
11925
LIBS="-lintl $LIBS"
11926
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11927
/* end confdefs.h. */
11929
/* Override any GCC internal prototype to avoid an error.
11930
Use char because int might match the return type of a GCC
11931
builtin and then its argument prototype would still apply. */
11939
return ngettext ();
11944
if ac_fn_c_try_link "$LINENO"; then :
11945
ac_cv_lib_intl_ngettext=yes
11947
ac_cv_lib_intl_ngettext=no
11949
rm -f core conftest.err conftest.$ac_objext \
11950
conftest$ac_exeext conftest.$ac_ext
11951
LIBS=$ac_check_lib_save_LIBS
11953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
11954
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
11955
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
11956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
11957
$as_echo_n "checking for dgettext in -lintl... " >&6; }
11958
if ${ac_cv_lib_intl_dgettext+:} false; then :
11959
$as_echo_n "(cached) " >&6
11961
ac_check_lib_save_LIBS=$LIBS
11962
LIBS="-lintl $LIBS"
11963
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11964
/* end confdefs.h. */
11966
/* Override any GCC internal prototype to avoid an error.
11967
Use char because int might match the return type of a GCC
11968
builtin and then its argument prototype would still apply. */
11976
return dgettext ();
11981
if ac_fn_c_try_link "$LINENO"; then :
11982
ac_cv_lib_intl_dgettext=yes
11984
ac_cv_lib_intl_dgettext=no
11986
rm -f core conftest.err conftest.$ac_objext \
11987
conftest$ac_exeext conftest.$ac_ext
11988
LIBS=$ac_check_lib_save_LIBS
11990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
11991
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
11992
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
11993
gt_cv_func_dgettext_libintl=yes
12001
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12003
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12004
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12007
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12008
if ${ac_cv_lib_intl_ngettext+:} false; then :
12009
$as_echo_n "(cached) " >&6
12011
ac_check_lib_save_LIBS=$LIBS
12012
LIBS="-lintl -liconv $LIBS"
12013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014
/* end confdefs.h. */
12016
/* Override any GCC internal prototype to avoid an error.
12017
Use char because int might match the return type of a GCC
12018
builtin and then its argument prototype would still apply. */
12026
return ngettext ();
12031
if ac_fn_c_try_link "$LINENO"; then :
12032
ac_cv_lib_intl_ngettext=yes
12034
ac_cv_lib_intl_ngettext=no
12036
rm -f core conftest.err conftest.$ac_objext \
12037
conftest$ac_exeext conftest.$ac_ext
12038
LIBS=$ac_check_lib_save_LIBS
12040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12041
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12042
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12044
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12045
if ${ac_cv_lib_intl_dcgettext+:} false; then :
12046
$as_echo_n "(cached) " >&6
12048
ac_check_lib_save_LIBS=$LIBS
12049
LIBS="-lintl -liconv $LIBS"
12050
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12051
/* end confdefs.h. */
12053
/* Override any GCC internal prototype to avoid an error.
12054
Use char because int might match the return type of a GCC
12055
builtin and then its argument prototype would still apply. */
12063
return dcgettext ();
12068
if ac_fn_c_try_link "$LINENO"; then :
12069
ac_cv_lib_intl_dcgettext=yes
12071
ac_cv_lib_intl_dcgettext=no
12073
rm -f core conftest.err conftest.$ac_objext \
12074
conftest$ac_exeext conftest.$ac_ext
12075
LIBS=$ac_check_lib_save_LIBS
12077
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12078
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12079
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12080
gt_cv_func_dgettext_libintl=yes
12081
libintl_extra_libs=-liconv
12093
# If we found libintl, then check in it for bind_textdomain_codeset();
12094
# we'll prefer libc if neither have bind_textdomain_codeset(),
12095
# and both have dgettext and ngettext
12097
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12098
glib_save_LIBS="$LIBS"
12099
LIBS="$LIBS -lintl $libintl_extra_libs"
12100
unset ac_cv_func_bind_textdomain_codeset
12101
for ac_func in bind_textdomain_codeset
12103
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12104
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12105
cat >>confdefs.h <<_ACEOF
12106
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12112
LIBS="$glib_save_LIBS"
12114
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12115
gt_cv_func_dgettext_libc=no
12117
if test "$gt_cv_func_dgettext_libc" = "yes" \
12118
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
12119
gt_cv_func_dgettext_libintl=no
12125
if test "$gt_cv_func_dgettext_libc" = "yes" \
12126
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
12127
gt_cv_have_gettext=yes
12130
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12131
INTLLIBS="-lintl $libintl_extra_libs"
12134
if test "$gt_cv_have_gettext" = "yes"; then
12136
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12138
# Extract the first word of "msgfmt", so it can be a program name with args.
12139
set dummy msgfmt; ac_word=$2
12140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12141
$as_echo_n "checking for $ac_word... " >&6; }
12142
if ${ac_cv_path_MSGFMT+:} false; then :
12143
$as_echo_n "(cached) " >&6
12147
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12150
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12151
for ac_dir in $PATH; do
12152
test -z "$ac_dir" && ac_dir=.
12153
if test -f $ac_dir/$ac_word; then
12154
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12155
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12161
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12165
MSGFMT="$ac_cv_path_MSGFMT"
12166
if test "$MSGFMT" != "no"; then
12167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12168
$as_echo "$MSGFMT" >&6; }
12170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12171
$as_echo "no" >&6; }
12173
if test "$MSGFMT" != "no"; then
12174
glib_save_LIBS="$LIBS"
12175
LIBS="$LIBS $INTLLIBS"
12176
for ac_func in dcgettext
12178
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12179
if test "x$ac_cv_func_dcgettext" = xyes; then :
12180
cat >>confdefs.h <<_ACEOF
12181
#define HAVE_DCGETTEXT 1
12188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12189
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
12190
cat >conftest.foo <<_ACEOF
12194
"Content-Type: text/plain; charset=UTF-8\n"
12195
"Project-Id-Version: test 1.0\n"
12196
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
12197
"Last-Translator: test <foo@bar.xx>\n"
12198
"Language-Team: C <LL@li.org>\n"
12199
"MIME-Version: 1.0\n"
12200
"Content-Transfer-Encoding: 8bit\n"
12203
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12204
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12206
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12207
test $ac_status = 0; }; then
12208
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12209
$as_echo "yes" >&6; }
12210
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12211
$as_echo "no" >&6; }
12212
echo "$as_me: failed input was:" >&5
12213
sed 's/^/| /' conftest.foo >&5
12216
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12217
set dummy gmsgfmt; ac_word=$2
12218
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12219
$as_echo_n "checking for $ac_word... " >&6; }
12220
if ${ac_cv_path_GMSGFMT+:} false; then :
12221
$as_echo_n "(cached) " >&6
12225
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12228
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12229
for as_dir in $PATH
12232
test -z "$as_dir" && as_dir=.
12233
for ac_exec_ext in '' $ac_executable_extensions; do
12234
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12235
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12236
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12243
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12247
GMSGFMT=$ac_cv_path_GMSGFMT
12248
if test -n "$GMSGFMT"; then
12249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12250
$as_echo "$GMSGFMT" >&6; }
12252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12253
$as_echo "no" >&6; }
12257
# Extract the first word of "xgettext", so it can be a program name with args.
12258
set dummy xgettext; ac_word=$2
12259
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12260
$as_echo_n "checking for $ac_word... " >&6; }
12261
if ${ac_cv_path_XGETTEXT+:} false; then :
12262
$as_echo_n "(cached) " >&6
12264
case "$XGETTEXT" in
12266
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12269
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12270
for ac_dir in $PATH; do
12271
test -z "$ac_dir" && ac_dir=.
12272
if test -f $ac_dir/$ac_word; then
12273
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12274
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12280
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12284
XGETTEXT="$ac_cv_path_XGETTEXT"
12285
if test "$XGETTEXT" != ":"; then
12286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12287
$as_echo "$XGETTEXT" >&6; }
12289
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12290
$as_echo "no" >&6; }
12293
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294
/* end confdefs.h. */
12299
extern int _nl_msg_cat_cntr;
12300
return _nl_msg_cat_cntr
12305
if ac_fn_c_try_link "$LINENO"; then :
12311
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12312
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12331
rm -f core conftest.err conftest.$ac_objext \
12332
conftest$ac_exeext conftest.$ac_ext
12333
LIBS="$glib_save_LIBS"
12336
gt_cv_have_gettext=no
12344
if test "$gt_cv_have_gettext" = "yes" ; then
12346
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
12350
if test "$XGETTEXT" != ":"; then
12351
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12355
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12360
# We need to process the po/ directory.
12363
ac_config_commands="$ac_config_commands default-1"
12366
for lang in $ALL_LINGUAS; do
12367
GMOFILES="$GMOFILES $lang.gmo"
12368
POFILES="$POFILES $lang.po"
12383
if test "$gt_cv_have_gettext" = "yes"; then
12384
if test "x$ALL_LINGUAS" = "x"; then
12387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12388
$as_echo_n "checking for catalogs to be installed... " >&6; }
12390
for presentlang in $ALL_LINGUAS; do
12392
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12393
desiredlanguages="$LINGUAS"
12395
desiredlanguages="$ALL_LINGUAS"
12397
for desiredlang in $desiredlanguages; do
12398
# Use the presentlang catalog if desiredlang is
12399
# a. equal to presentlang, or
12400
# b. a variant of presentlang (because in this case,
12401
# presentlang can be used as a fallback for messages
12402
# which are not translated in the desiredlang catalog).
12403
case "$desiredlang" in
12404
"$presentlang"*) useit=yes;;
12407
if test $useit = yes; then
12408
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12411
LINGUAS=$NEW_LINGUAS
12412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12413
$as_echo "$LINGUAS" >&6; }
12416
if test -n "$LINGUAS"; then
12417
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12422
if test -n "$ac_aux_dir"; then
12423
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12425
if test -z "$MKINSTALLDIRS"; then
12426
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12430
test -d po || mkdir po
12431
if test "x$srcdir" != "x."; then
12432
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12433
posrcprefix="$srcdir/"
12435
posrcprefix="../$srcdir/"
12441
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12442
< $srcdir/po/POTFILES.in > po/POTFILES
12445
# AM_GNOME_GETTEXT above substs $DATADIRNAME
12446
# this is the directory where the *.{mo,gmo} files are installed
12447
localedir='${prefix}/${DATADIRNAME}/locale'
12451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12452
$as_echo_n "checking whether NLS is requested... " >&6; }
12453
# Check whether --enable-nls was given.
12454
if test "${enable_nls+set}" = set; then :
12455
enableval=$enable_nls; USE_NLS=$enableval
12460
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12461
$as_echo "$USE_NLS" >&6; }
12466
case "$am__api_version" in
12468
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12474
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12475
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12476
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12477
if test -n "0.40.0"; then
12478
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12479
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12481
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12482
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12483
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12486
# Extract the first word of "intltool-update", so it can be a program name with args.
12487
set dummy intltool-update; ac_word=$2
12488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12489
$as_echo_n "checking for $ac_word... " >&6; }
12490
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12491
$as_echo_n "(cached) " >&6
12493
case $INTLTOOL_UPDATE in
12495
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12498
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12499
for as_dir in $PATH
12502
test -z "$as_dir" && as_dir=.
12503
for ac_exec_ext in '' $ac_executable_extensions; do
12504
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12505
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12506
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12516
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12517
if test -n "$INTLTOOL_UPDATE"; then
12518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12519
$as_echo "$INTLTOOL_UPDATE" >&6; }
12521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12522
$as_echo "no" >&6; }
12526
# Extract the first word of "intltool-merge", so it can be a program name with args.
12527
set dummy intltool-merge; ac_word=$2
12528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12529
$as_echo_n "checking for $ac_word... " >&6; }
12530
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12531
$as_echo_n "(cached) " >&6
12533
case $INTLTOOL_MERGE in
12535
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12538
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12539
for as_dir in $PATH
12542
test -z "$as_dir" && as_dir=.
12543
for ac_exec_ext in '' $ac_executable_extensions; do
12544
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12545
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12546
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12556
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12557
if test -n "$INTLTOOL_MERGE"; then
12558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12559
$as_echo "$INTLTOOL_MERGE" >&6; }
12561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12562
$as_echo "no" >&6; }
12566
# Extract the first word of "intltool-extract", so it can be a program name with args.
12567
set dummy intltool-extract; ac_word=$2
12568
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12569
$as_echo_n "checking for $ac_word... " >&6; }
12570
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12571
$as_echo_n "(cached) " >&6
12573
case $INTLTOOL_EXTRACT in
12575
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12578
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12579
for as_dir in $PATH
12582
test -z "$as_dir" && as_dir=.
12583
for ac_exec_ext in '' $ac_executable_extensions; do
12584
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12585
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12586
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12596
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12597
if test -n "$INTLTOOL_EXTRACT"; then
12598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12599
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12602
$as_echo "no" >&6; }
12606
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12607
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12610
if test -z "$AM_DEFAULT_VERBOSITY"; then
12611
AM_DEFAULT_VERBOSITY=1
12615
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12616
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12617
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12622
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12623
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12624
intltool__v_merge_options_0='-q'
12629
INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12630
INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12631
INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12632
INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12633
INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
12634
INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12635
INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12636
INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12637
INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12638
INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12639
INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12640
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12641
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
12643
INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
12645
INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12646
INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12647
INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12648
INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12649
INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12650
INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12651
INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
12749
# Check the gettext tools to make sure they are GNU
12750
# Extract the first word of "xgettext", so it can be a program name with args.
12751
set dummy xgettext; ac_word=$2
12752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12753
$as_echo_n "checking for $ac_word... " >&6; }
12754
if ${ac_cv_path_XGETTEXT+:} false; then :
12755
$as_echo_n "(cached) " >&6
12759
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12763
for as_dir in $PATH
12766
test -z "$as_dir" && as_dir=.
12767
for ac_exec_ext in '' $ac_executable_extensions; do
12768
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12769
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12770
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12780
XGETTEXT=$ac_cv_path_XGETTEXT
12781
if test -n "$XGETTEXT"; then
12782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12783
$as_echo "$XGETTEXT" >&6; }
12785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12786
$as_echo "no" >&6; }
12790
# Extract the first word of "msgmerge", so it can be a program name with args.
12791
set dummy msgmerge; ac_word=$2
12792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12793
$as_echo_n "checking for $ac_word... " >&6; }
12794
if ${ac_cv_path_MSGMERGE+:} false; then :
12795
$as_echo_n "(cached) " >&6
12799
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12802
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12803
for as_dir in $PATH
12806
test -z "$as_dir" && as_dir=.
12807
for ac_exec_ext in '' $ac_executable_extensions; do
12808
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12809
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12810
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12820
MSGMERGE=$ac_cv_path_MSGMERGE
12821
if test -n "$MSGMERGE"; then
12822
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12823
$as_echo "$MSGMERGE" >&6; }
12825
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12826
$as_echo "no" >&6; }
12830
# Extract the first word of "msgfmt", so it can be a program name with args.
12831
set dummy msgfmt; ac_word=$2
12832
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12833
$as_echo_n "checking for $ac_word... " >&6; }
12834
if ${ac_cv_path_MSGFMT+:} false; then :
12835
$as_echo_n "(cached) " >&6
12839
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12842
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12843
for as_dir in $PATH
12846
test -z "$as_dir" && as_dir=.
12847
for ac_exec_ext in '' $ac_executable_extensions; do
12848
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12849
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12850
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12860
MSGFMT=$ac_cv_path_MSGFMT
12861
if test -n "$MSGFMT"; then
12862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12863
$as_echo "$MSGFMT" >&6; }
12865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12866
$as_echo "no" >&6; }
12870
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12871
set dummy gmsgfmt; ac_word=$2
12872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12873
$as_echo_n "checking for $ac_word... " >&6; }
12874
if ${ac_cv_path_GMSGFMT+:} false; then :
12875
$as_echo_n "(cached) " >&6
12879
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12882
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12883
for as_dir in $PATH
12886
test -z "$as_dir" && as_dir=.
12887
for ac_exec_ext in '' $ac_executable_extensions; do
12888
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12889
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12890
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12897
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12901
GMSGFMT=$ac_cv_path_GMSGFMT
12902
if test -n "$GMSGFMT"; then
12903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12904
$as_echo "$GMSGFMT" >&6; }
12906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12907
$as_echo "no" >&6; }
12911
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12912
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12914
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12915
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12916
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12917
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12918
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12921
# Extract the first word of "perl", so it can be a program name with args.
12922
set dummy perl; ac_word=$2
12923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12924
$as_echo_n "checking for $ac_word... " >&6; }
12925
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12926
$as_echo_n "(cached) " >&6
12928
case $INTLTOOL_PERL in
12930
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12933
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12934
for as_dir in $PATH
12937
test -z "$as_dir" && as_dir=.
12938
for ac_exec_ext in '' $ac_executable_extensions; do
12939
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12940
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12941
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12951
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12952
if test -n "$INTLTOOL_PERL"; then
12953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12954
$as_echo "$INTLTOOL_PERL" >&6; }
12956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12957
$as_echo "no" >&6; }
12961
if test -z "$INTLTOOL_PERL"; then
12962
as_fn_error $? "perl not found" "$LINENO" 5
12964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12965
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12966
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12967
if test $? -ne 0; then
12968
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12970
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12972
$as_echo "$IT_PERL_VERSION" >&6; }
12974
if test "x" != "xno-xml"; then
12975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12976
$as_echo_n "checking for XML::Parser... " >&6; }
12977
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12979
$as_echo "ok" >&6; }
12981
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12985
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12988
# Set DATADIRNAME correctly if it is not set yet
12989
# (copied from glib-gettext.m4)
12990
if test -z "$DATADIRNAME"; then
12991
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992
/* end confdefs.h. */
12997
extern int _nl_msg_cat_cntr;
12998
return _nl_msg_cat_cntr
13003
if ac_fn_c_try_link "$LINENO"; then :
13008
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13009
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13021
rm -f core conftest.err conftest.$ac_objext \
13022
conftest$ac_exeext conftest.$ac_ext
13031
cat >>confdefs.h <<_ACEOF
13032
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale"
13036
cat >>confdefs.h <<_ACEOF
13037
#define DATADIR "${PREFIX}/${DATADIRNAME}"
13041
cat >>confdefs.h <<_ACEOF
13042
#define PREFIXDIR "${PREFIX}"
13046
######################################################
13047
# intltool rule for generating translated .lens file
13048
######################################################
13049
INTLTOOL_LENS_RULE='%.lens: %.lens.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 $< $@'
13052
#####################################################
13053
# Check for module and library dependancies
13054
#####################################################
13063
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13064
if test -n "$ac_tool_prefix"; then
13065
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13066
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13068
$as_echo_n "checking for $ac_word... " >&6; }
13069
if ${ac_cv_path_PKG_CONFIG+:} false; then :
13070
$as_echo_n "(cached) " >&6
13072
case $PKG_CONFIG in
13074
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13077
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078
for as_dir in $PATH
13081
test -z "$as_dir" && as_dir=.
13082
for ac_exec_ext in '' $ac_executable_extensions; do
13083
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13084
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13085
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13095
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13096
if test -n "$PKG_CONFIG"; then
13097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13098
$as_echo "$PKG_CONFIG" >&6; }
13100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13101
$as_echo "no" >&6; }
13106
if test -z "$ac_cv_path_PKG_CONFIG"; then
13107
ac_pt_PKG_CONFIG=$PKG_CONFIG
13108
# Extract the first word of "pkg-config", so it can be a program name with args.
13109
set dummy pkg-config; ac_word=$2
13110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13111
$as_echo_n "checking for $ac_word... " >&6; }
13112
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13113
$as_echo_n "(cached) " >&6
13115
case $ac_pt_PKG_CONFIG in
13117
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13120
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121
for as_dir in $PATH
13124
test -z "$as_dir" && as_dir=.
13125
for ac_exec_ext in '' $ac_executable_extensions; do
13126
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13127
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13128
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13138
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13139
if test -n "$ac_pt_PKG_CONFIG"; then
13140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13141
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13143
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13144
$as_echo "no" >&6; }
13147
if test "x$ac_pt_PKG_CONFIG" = x; then
13150
case $cross_compiling:$ac_tool_warned in
13152
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13153
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13154
ac_tool_warned=yes ;;
13156
PKG_CONFIG=$ac_pt_PKG_CONFIG
13159
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13163
if test -n "$PKG_CONFIG"; then
13164
_pkg_min_version=0.9.0
13165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13166
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13167
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13169
$as_echo "yes" >&6; }
13171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13172
$as_echo "no" >&6; }
13178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LENS_DAEMON" >&5
13179
$as_echo_n "checking for LENS_DAEMON... " >&6; }
13181
if test -n "$LENS_DAEMON_CFLAGS"; then
13182
pkg_cv_LENS_DAEMON_CFLAGS="$LENS_DAEMON_CFLAGS"
13183
elif test -n "$PKG_CONFIG"; then
13184
if test -n "$PKG_CONFIG" && \
13185
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13186
gobject-2.0 >= \$GLIB_REQUIRED
13187
gio-2.0 >= \$GLIB_REQUIRED
13188
gio-unix-2.0 >= \$GLIB_REQUIRED
13194
tdb >= 1.2.6\""; } >&5
13195
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13196
gobject-2.0 >= $GLIB_REQUIRED
13197
gio-2.0 >= $GLIB_REQUIRED
13198
gio-unix-2.0 >= $GLIB_REQUIRED
13204
tdb >= 1.2.6") 2>&5
13206
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13207
test $ac_status = 0; }; then
13208
pkg_cv_LENS_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
13209
gobject-2.0 >= $GLIB_REQUIRED
13210
gio-2.0 >= $GLIB_REQUIRED
13211
gio-unix-2.0 >= $GLIB_REQUIRED
13217
tdb >= 1.2.6" 2>/dev/null`
13218
test "x$?" != "x0" && pkg_failed=yes
13225
if test -n "$LENS_DAEMON_LIBS"; then
13226
pkg_cv_LENS_DAEMON_LIBS="$LENS_DAEMON_LIBS"
13227
elif test -n "$PKG_CONFIG"; then
13228
if test -n "$PKG_CONFIG" && \
13229
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13230
gobject-2.0 >= \$GLIB_REQUIRED
13231
gio-2.0 >= \$GLIB_REQUIRED
13232
gio-unix-2.0 >= \$GLIB_REQUIRED
13238
tdb >= 1.2.6\""; } >&5
13239
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13240
gobject-2.0 >= $GLIB_REQUIRED
13241
gio-2.0 >= $GLIB_REQUIRED
13242
gio-unix-2.0 >= $GLIB_REQUIRED
13248
tdb >= 1.2.6") 2>&5
13250
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13251
test $ac_status = 0; }; then
13252
pkg_cv_LENS_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
13253
gobject-2.0 >= $GLIB_REQUIRED
13254
gio-2.0 >= $GLIB_REQUIRED
13255
gio-unix-2.0 >= $GLIB_REQUIRED
13261
tdb >= 1.2.6" 2>/dev/null`
13262
test "x$?" != "x0" && pkg_failed=yes
13272
if test $pkg_failed = yes; then
13273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13274
$as_echo "no" >&6; }
13276
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13277
_pkg_short_errors_supported=yes
13279
_pkg_short_errors_supported=no
13281
if test $_pkg_short_errors_supported = yes; then
13282
LENS_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13283
gobject-2.0 >= $GLIB_REQUIRED
13284
gio-2.0 >= $GLIB_REQUIRED
13285
gio-unix-2.0 >= $GLIB_REQUIRED
13291
tdb >= 1.2.6" 2>&1`
13293
LENS_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13294
gobject-2.0 >= $GLIB_REQUIRED
13295
gio-2.0 >= $GLIB_REQUIRED
13296
gio-unix-2.0 >= $GLIB_REQUIRED
13302
tdb >= 1.2.6" 2>&1`
13304
# Put the nasty error message in config.log where it belongs
13305
echo "$LENS_DAEMON_PKG_ERRORS" >&5
13307
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
13308
gobject-2.0 >= $GLIB_REQUIRED
13309
gio-2.0 >= $GLIB_REQUIRED
13310
gio-unix-2.0 >= $GLIB_REQUIRED
13316
tdb >= 1.2.6) were not met:
13318
$LENS_DAEMON_PKG_ERRORS
13320
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13321
installed software in a non-standard prefix.
13323
Alternatively, you may set the environment variables LENS_DAEMON_CFLAGS
13324
and LENS_DAEMON_LIBS to avoid the need to call pkg-config.
13325
See the pkg-config man page for more details." "$LINENO" 5
13326
elif test $pkg_failed = untried; then
13327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13328
$as_echo "no" >&6; }
13329
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13330
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13331
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13332
is in your PATH or set the PKG_CONFIG environment variable to the full
13333
path to pkg-config.
13335
Alternatively, you may set the environment variables LENS_DAEMON_CFLAGS
13336
and LENS_DAEMON_LIBS to avoid the need to call pkg-config.
13337
See the pkg-config man page for more details.
13339
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13340
See \`config.log' for more details" "$LINENO" 5; }
13342
LENS_DAEMON_CFLAGS=$pkg_cv_LENS_DAEMON_CFLAGS
13343
LENS_DAEMON_LIBS=$pkg_cv_LENS_DAEMON_LIBS
13344
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13345
$as_echo "yes" >&6; }
13351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PREVIEW_PLAYER" >&5
13352
$as_echo_n "checking for PREVIEW_PLAYER... " >&6; }
13354
if test -n "$PREVIEW_PLAYER_CFLAGS"; then
13355
pkg_cv_PREVIEW_PLAYER_CFLAGS="$PREVIEW_PLAYER_CFLAGS"
13356
elif test -n "$PKG_CONFIG"; then
13357
if test -n "$PKG_CONFIG" && \
13358
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13359
gobject-2.0 >= \$GLIB_REQUIRED
13360
gio-2.0 >= \$GLIB_REQUIRED
13361
gstreamer-0.10 >= 0.10.36
13362
gstreamer-pbutils-0.10 >= 0.10.36
13364
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13365
gobject-2.0 >= $GLIB_REQUIRED
13366
gio-2.0 >= $GLIB_REQUIRED
13367
gstreamer-0.10 >= 0.10.36
13368
gstreamer-pbutils-0.10 >= 0.10.36
13371
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13372
test $ac_status = 0; }; then
13373
pkg_cv_PREVIEW_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
13374
gobject-2.0 >= $GLIB_REQUIRED
13375
gio-2.0 >= $GLIB_REQUIRED
13376
gstreamer-0.10 >= 0.10.36
13377
gstreamer-pbutils-0.10 >= 0.10.36
13379
test "x$?" != "x0" && pkg_failed=yes
13386
if test -n "$PREVIEW_PLAYER_LIBS"; then
13387
pkg_cv_PREVIEW_PLAYER_LIBS="$PREVIEW_PLAYER_LIBS"
13388
elif test -n "$PKG_CONFIG"; then
13389
if test -n "$PKG_CONFIG" && \
13390
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13391
gobject-2.0 >= \$GLIB_REQUIRED
13392
gio-2.0 >= \$GLIB_REQUIRED
13393
gstreamer-0.10 >= 0.10.36
13394
gstreamer-pbutils-0.10 >= 0.10.36
13396
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13397
gobject-2.0 >= $GLIB_REQUIRED
13398
gio-2.0 >= $GLIB_REQUIRED
13399
gstreamer-0.10 >= 0.10.36
13400
gstreamer-pbutils-0.10 >= 0.10.36
13403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13404
test $ac_status = 0; }; then
13405
pkg_cv_PREVIEW_PLAYER_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
13406
gobject-2.0 >= $GLIB_REQUIRED
13407
gio-2.0 >= $GLIB_REQUIRED
13408
gstreamer-0.10 >= 0.10.36
13409
gstreamer-pbutils-0.10 >= 0.10.36
13411
test "x$?" != "x0" && pkg_failed=yes
13421
if test $pkg_failed = yes; then
13422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13423
$as_echo "no" >&6; }
13425
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13426
_pkg_short_errors_supported=yes
13428
_pkg_short_errors_supported=no
13430
if test $_pkg_short_errors_supported = yes; then
13431
PREVIEW_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13432
gobject-2.0 >= $GLIB_REQUIRED
13433
gio-2.0 >= $GLIB_REQUIRED
13434
gstreamer-0.10 >= 0.10.36
13435
gstreamer-pbutils-0.10 >= 0.10.36
13438
PREVIEW_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13439
gobject-2.0 >= $GLIB_REQUIRED
13440
gio-2.0 >= $GLIB_REQUIRED
13441
gstreamer-0.10 >= 0.10.36
13442
gstreamer-pbutils-0.10 >= 0.10.36
13445
# Put the nasty error message in config.log where it belongs
13446
echo "$PREVIEW_PLAYER_PKG_ERRORS" >&5
13448
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
13449
gobject-2.0 >= $GLIB_REQUIRED
13450
gio-2.0 >= $GLIB_REQUIRED
13451
gstreamer-0.10 >= 0.10.36
13452
gstreamer-pbutils-0.10 >= 0.10.36
13455
$PREVIEW_PLAYER_PKG_ERRORS
13457
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13458
installed software in a non-standard prefix.
13460
Alternatively, you may set the environment variables PREVIEW_PLAYER_CFLAGS
13461
and PREVIEW_PLAYER_LIBS to avoid the need to call pkg-config.
13462
See the pkg-config man page for more details." "$LINENO" 5
13463
elif test $pkg_failed = untried; then
13464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13465
$as_echo "no" >&6; }
13466
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13467
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13468
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13469
is in your PATH or set the PKG_CONFIG environment variable to the full
13470
path to pkg-config.
13472
Alternatively, you may set the environment variables PREVIEW_PLAYER_CFLAGS
13473
and PREVIEW_PLAYER_LIBS to avoid the need to call pkg-config.
13474
See the pkg-config man page for more details.
13476
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13477
See \`config.log' for more details" "$LINENO" 5; }
13479
PREVIEW_PLAYER_CFLAGS=$pkg_cv_PREVIEW_PLAYER_CFLAGS
13480
PREVIEW_PLAYER_LIBS=$pkg_cv_PREVIEW_PLAYER_LIBS
13481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13482
$as_echo "yes" >&6; }
13491
#####################################################
13492
# local install for distcheck and stand-alone running
13493
#####################################################
13494
with_localinstall="no"
13495
# Check whether --enable-localinstall was given.
13496
if test "${enable_localinstall+set}" = set; then :
13497
enableval=$enable_localinstall; with_localinstall=$enableval
13499
with_localinstall=no
13503
if test "x$with_localinstall" = "xyes"; then
13504
HAVE_LOCALINSTALL_TRUE=
13505
HAVE_LOCALINSTALL_FALSE='#'
13507
HAVE_LOCALINSTALL_TRUE='#'
13508
HAVE_LOCALINSTALL_FALSE=
13512
#####################################################
13513
# Expand variables needed for config.vala
13514
#####################################################
13519
prefix_save=$prefix
13520
exec_prefix_save=$exec_prefix
13522
if test "x$prefix" = "xNONE"; then
13523
prefix=$ac_default_prefix
13525
if test "x$exec_prefix" = "xNONE"; then
13526
exec_prefix=$prefix
13529
full_var="$FROM_VAR"
13531
new_full_var="`eval echo $full_var`"
13532
if test "x$new_full_var"="x$full_var"; then break; fi
13533
full_var=$new_full_var
13536
full_var=$new_full_var
13540
prefix=$prefix_save
13541
exec_prefix=$exec_prefix_save
13547
FROM_VAR=$datarootdir
13549
prefix_save=$prefix
13550
exec_prefix_save=$exec_prefix
13552
if test "x$prefix" = "xNONE"; then
13553
prefix=$ac_default_prefix
13555
if test "x$exec_prefix" = "xNONE"; then
13556
exec_prefix=$prefix
13559
full_var="$FROM_VAR"
13561
new_full_var="`eval echo $full_var`"
13562
if test "x$new_full_var"="x$full_var"; then break; fi
13563
full_var=$new_full_var
13566
full_var=$new_full_var
13567
DATADIR="$full_var"
13570
prefix=$prefix_save
13571
exec_prefix=$exec_prefix_save
13575
#####################################################
13576
# Look for dbus service dir
13577
#####################################################
13578
if test "x$with_localinstall" = "xyes"; then
13579
DBUSSERVICEDIR="${datadir}/dbus-1/services/"
13581
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
13585
#####################################################
13586
# Look for correct Lenses dir
13587
#####################################################
13588
if test "x$with_localinstall" = "xyes"; then
13589
LENSESDIR="${datadir}/unity/lenses"
13591
LENSESDIR=`$PKG_CONFIG --variable=lensesdir unity`
13595
#####################################################
13596
# Create the Makefiles
13597
#####################################################
13598
ac_config_files="$ac_config_files Makefile music.lens.in data/Makefile src/Makefile src/config.vala po/Makefile.in tests/Makefile tests/unit/Makefile"
13600
cat >confcache <<\_ACEOF
13601
# This file is a shell script that caches the results of configure
13602
# tests run on this system so they can be shared between configure
13603
# scripts and configure runs, see configure's option --config-cache.
13604
# It is not useful on other systems. If it contains results you don't
13605
# want to keep, you may remove or edit it.
13607
# config.status only pays attention to the cache file if you give it
13608
# the --recheck option to rerun configure.
13610
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13611
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13612
# following values.
13616
# The following way of writing the cache mishandles newlines in values,
13617
# but we know of no workaround that is simple, portable, and efficient.
13618
# So, we kill variables containing newlines.
13619
# Ultrix sh set writes to stderr and can't be redirected directly,
13620
# and sets the high bit in the cache file unless we assign to the vars.
13622
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13623
eval ac_val=\$$ac_var
13627
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13628
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13631
_ | IFS | as_nl) ;; #(
13632
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13633
*) { eval $ac_var=; unset $ac_var;} ;;
13639
case $as_nl`(ac_space=' '; set) 2>&1` in #(
13640
*${as_nl}ac_space=\ *)
13641
# `set' does not quote correctly, so add quotes: double-quote
13642
# substitution turns \\\\ into \\, and sed turns \\ into \.
13645
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13648
# `set' quotes correctly as required by POSIX, so do not add quotes.
13649
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13658
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13660
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13662
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13663
if test -w "$cache_file"; then
13664
if test "x$cache_file" != "x/dev/null"; then
13665
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13666
$as_echo "$as_me: updating cache $cache_file" >&6;}
13667
if test ! -f "$cache_file" || test -h "$cache_file"; then
13668
cat confcache >"$cache_file"
13670
case $cache_file in #(
13672
mv -f confcache "$cache_file"$$ &&
13673
mv -f "$cache_file"$$ "$cache_file" ;; #(
13675
mv -f confcache "$cache_file" ;;
13680
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13681
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13686
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13687
# Let make expand exec_prefix.
13688
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13690
DEFS=-DHAVE_CONFIG_H
13695
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13696
# 1. Remove the extension, and $U if already installed.
13697
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13698
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13699
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13700
# will be set to the directory where LIBOBJS objects are built.
13701
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13702
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13704
LIBOBJS=$ac_libobjs
13706
LTLIBOBJS=$ac_ltlibobjs
13709
if test -n "$EXEEXT"; then
13711
am__EXEEXT_FALSE='#'
13713
am__EXEEXT_TRUE='#'
13717
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13718
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13719
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13721
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13722
as_fn_error $? "conditional \"AMDEP\" was never defined.
13723
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13725
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13726
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13727
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13730
ac_config_commands="$ac_config_commands po/stamp-it"
13733
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
13734
as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
13735
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13738
: "${CONFIG_STATUS=./config.status}"
13740
ac_clean_files_save=$ac_clean_files
13741
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13742
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13743
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13745
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13747
# Generated by $as_me.
13748
# Run this file to recreate the current configuration.
13749
# Compiler output produced by configure, useful for debugging
13750
# configure, is in config.log if it exists.
13753
ac_cs_recheck=false
13756
SHELL=\${CONFIG_SHELL-$SHELL}
13759
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13760
## -------------------- ##
13761
## M4sh Initialization. ##
13762
## -------------------- ##
13764
# Be more Bourne compatible
13765
DUALCASE=1; export DUALCASE # for MKS sh
13766
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13769
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13770
# is contrary to our usage. Disable this feature.
13771
alias -g '${1+"$@"}'='"$@"'
13772
setopt NO_GLOB_SUBST
13774
case `(set -o) 2>/dev/null` in #(
13786
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13787
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13788
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13789
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13790
# Prefer a ksh shell builtin over an external printf program on Solaris,
13791
# but without wasting forks for bash or zsh.
13792
if test -z "$BASH_VERSION$ZSH_VERSION" \
13793
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13794
as_echo='print -r --'
13795
as_echo_n='print -rn --'
13796
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13797
as_echo='printf %s\n'
13798
as_echo_n='printf %s'
13800
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13801
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13802
as_echo_n='/usr/ucb/echo -n'
13804
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13805
as_echo_n_body='eval
13809
expr "X$arg" : "X\\(.*\\)$as_nl";
13810
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13812
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13814
export as_echo_n_body
13815
as_echo_n='sh -c $as_echo_n_body as_echo'
13817
export as_echo_body
13818
as_echo='sh -c $as_echo_body as_echo'
13821
# The user is always right.
13822
if test "${PATH_SEPARATOR+set}" != set; then
13824
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13825
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13832
# We need space, tab and new line, in precisely that order. Quoting is
13833
# there to prevent editors from complaining about space-tab.
13834
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13835
# splitting by setting IFS to empty value.)
13838
# Find who we are. Look in the path if we contain no directory separator.
13841
*[\\/]* ) as_myself=$0 ;;
13842
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13843
for as_dir in $PATH
13846
test -z "$as_dir" && as_dir=.
13847
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13853
# We did not find ourselves, most probably we were run as `sh COMMAND'
13854
# in which case we are not to be found in the path.
13855
if test "x$as_myself" = x; then
13858
if test ! -f "$as_myself"; then
13859
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13863
# Unset variables that we do not need and which cause bugs (e.g. in
13864
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13865
# suppresses any "Segmentation fault" message there. '((' could
13866
# trigger a bug in pdksh 5.2.14.
13867
for as_var in BASH_ENV ENV MAIL MAILPATH
13868
do eval test x\${$as_var+set} = xset \
13869
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13882
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13885
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13886
# ----------------------------------------
13887
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13888
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13889
# script with STATUS, using 1 if that was 0.
13892
as_status=$1; test $as_status -eq 0 && as_status=1
13894
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13895
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13897
$as_echo "$as_me: error: $2" >&2
13898
as_fn_exit $as_status
13902
# as_fn_set_status STATUS
13903
# -----------------------
13904
# Set $? to STATUS, without forking.
13905
as_fn_set_status ()
13908
} # as_fn_set_status
13910
# as_fn_exit STATUS
13911
# -----------------
13912
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13916
as_fn_set_status $1
13922
# Portably unset VAR.
13925
{ eval $1=; unset $1;}
13927
as_unset=as_fn_unset
13928
# as_fn_append VAR VALUE
13929
# ----------------------
13930
# Append the text in VALUE to the end of the definition contained in VAR. Take
13931
# advantage of any shell optimizations that allow amortized linear growth over
13932
# repeated appends, instead of the typical quadratic growth present in naive
13934
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13935
eval 'as_fn_append ()
13946
# as_fn_arith ARG...
13947
# ------------------
13948
# Perform arithmetic evaluation on the ARGs, and store the result in the
13949
# global $as_val. Take advantage of shells that can avoid forks. The arguments
13950
# must be portable across $(()) and expr.
13951
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13952
eval 'as_fn_arith ()
13959
as_val=`expr "$@" || test $? -eq 1`
13964
if expr a : '\(a\)' >/dev/null 2>&1 &&
13965
test "X`expr 00001 : '.*\(...\)'`" = X001; then
13971
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13972
as_basename=basename
13977
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13983
as_me=`$as_basename -- "$0" ||
13984
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13985
X"$0" : 'X\(//\)$' \| \
13986
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13988
sed '/^.*\/\([^/][^/]*\)\/*$/{
14002
# Avoid depending upon Character Ranges.
14003
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14004
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14005
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14006
as_cr_digits='0123456789'
14007
as_cr_alnum=$as_cr_Letters$as_cr_digits
14009
ECHO_C= ECHO_N= ECHO_T=
14010
case `echo -n x` in #(((((
14012
case `echo 'xy\c'` in
14013
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
14015
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14022
rm -f conf$$ conf$$.exe conf$$.file
14023
if test -d conf$$.dir; then
14024
rm -f conf$$.dir/conf$$.file
14027
mkdir conf$$.dir 2>/dev/null
14029
if (echo >conf$$.file) 2>/dev/null; then
14030
if ln -s conf$$.file conf$$ 2>/dev/null; then
14032
# ... but there are two gotchas:
14033
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14034
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14035
# In both cases, we have to default to `cp -pR'.
14036
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14038
elif ln conf$$.file conf$$ 2>/dev/null; then
14046
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14047
rmdir conf$$.dir 2>/dev/null
14052
# Create "$as_dir" as a directory, including parents if necessary.
14057
-*) as_dir=./$as_dir;;
14059
test -d "$as_dir" || eval $as_mkdir_p || {
14063
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14064
*) as_qdir=$as_dir;;
14066
as_dirs="'$as_qdir' $as_dirs"
14067
as_dir=`$as_dirname -- "$as_dir" ||
14068
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14069
X"$as_dir" : 'X\(//\)[^/]' \| \
14070
X"$as_dir" : 'X\(//\)$' \| \
14071
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14072
$as_echo X"$as_dir" |
14073
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14077
/^X\(\/\/\)[^/].*/{
14090
test -d "$as_dir" && break
14092
test -z "$as_dirs" || eval "mkdir $as_dirs"
14093
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14097
if mkdir -p . 2>/dev/null; then
14098
as_mkdir_p='mkdir -p "$as_dir"'
14100
test -d ./-p && rmdir ./-p
14105
# as_fn_executable_p FILE
14106
# -----------------------
14107
# Test if FILE is an executable regular file.
14108
as_fn_executable_p ()
14110
test -f "$1" && test -x "$1"
14111
} # as_fn_executable_p
14112
as_test_x='test -x'
14113
as_executable_p=as_fn_executable_p
14115
# Sed expression to map a string onto a valid CPP name.
14116
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14118
# Sed expression to map a string onto a valid variable name.
14119
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14123
## ----------------------------------- ##
14124
## Main body of $CONFIG_STATUS script. ##
14125
## ----------------------------------- ##
14127
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14129
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14130
# Save the log message, to keep $0 and so on meaningful, and to
14131
# report actual input values of CONFIG_FILES etc. instead of their
14132
# values after options handling.
14134
This file was extended by unity-lens-music $as_me 6.6.0, which was
14135
generated by GNU Autoconf 2.69. Invocation command line was
14137
CONFIG_FILES = $CONFIG_FILES
14138
CONFIG_HEADERS = $CONFIG_HEADERS
14139
CONFIG_LINKS = $CONFIG_LINKS
14140
CONFIG_COMMANDS = $CONFIG_COMMANDS
14143
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14148
case $ac_config_files in *"
14149
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14152
case $ac_config_headers in *"
14153
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14157
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14158
# Files that config.status was made for.
14159
config_files="$ac_config_files"
14160
config_headers="$ac_config_headers"
14161
config_commands="$ac_config_commands"
14165
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14167
\`$as_me' instantiates files and other configuration actions
14168
from templates according to the current configuration. Unless the files
14169
and actions are specified as TAGs, all are instantiated by default.
14171
Usage: $0 [OPTION]... [TAG]...
14173
-h, --help print this help, then exit
14174
-V, --version print version number and configuration settings, then exit
14175
--config print configuration, then exit
14176
-q, --quiet, --silent
14177
do not print progress messages
14178
-d, --debug don't remove temporary files
14179
--recheck update $as_me by reconfiguring in the same conditions
14180
--file=FILE[:TEMPLATE]
14181
instantiate the configuration file FILE
14182
--header=FILE[:TEMPLATE]
14183
instantiate the configuration header FILE
14185
Configuration files:
14188
Configuration headers:
14191
Configuration commands:
14194
Report bugs to <https://launchpad.net/unity-lens-music>."
14197
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14198
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14200
unity-lens-music config.status 6.6.0
14201
configured by $0, generated by GNU Autoconf 2.69,
14202
with options \\"\$ac_cs_config\\"
14204
Copyright (C) 2012 Free Software Foundation, Inc.
14205
This config.status script is free software; the Free Software Foundation
14206
gives unlimited permission to copy, distribute and modify it."
14213
test -n "\$AWK" || AWK=awk
14216
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14217
# The default lists apply if the user does not specify any file.
14223
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14224
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14228
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14240
# Handling of the options.
14241
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14243
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14244
$as_echo "$ac_cs_version"; exit ;;
14245
--config | --confi | --conf | --con | --co | --c )
14246
$as_echo "$ac_cs_config"; exit ;;
14247
--debug | --debu | --deb | --de | --d | -d )
14249
--file | --fil | --fi | --f )
14252
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14253
'') as_fn_error $? "missing file argument" ;;
14255
as_fn_append CONFIG_FILES " '$ac_optarg'"
14256
ac_need_defaults=false;;
14257
--header | --heade | --head | --hea )
14260
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14262
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14263
ac_need_defaults=false;;
14265
# Conflict between --help and --header
14266
as_fn_error $? "ambiguous option: \`$1'
14267
Try \`$0 --help' for more information.";;
14268
--help | --hel | -h )
14269
$as_echo "$ac_cs_usage"; exit ;;
14270
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
14271
| -silent | --silent | --silen | --sile | --sil | --si | --s)
14274
# This is an error.
14275
-*) as_fn_error $? "unrecognized option: \`$1'
14276
Try \`$0 --help' for more information." ;;
14278
*) as_fn_append ac_config_targets " $1"
14279
ac_need_defaults=false ;;
14285
ac_configure_extra_args=
14287
if $ac_cs_silent; then
14289
ac_configure_extra_args="$ac_configure_extra_args --silent"
14293
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14294
if \$ac_cs_recheck; then
14295
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14297
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14298
CONFIG_SHELL='$SHELL'
14299
export CONFIG_SHELL
14304
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14308
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14309
## Running $as_me. ##
14315
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14319
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14322
# The HP-UX ksh and POSIX shell print the target directory to stdout
14323
# if CDPATH is set.
14324
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14326
sed_quote_subst='$sed_quote_subst'
14327
double_quote_subst='$double_quote_subst'
14328
delay_variable_subst='$delay_variable_subst'
14329
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14330
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14331
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14332
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14333
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14334
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14335
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14336
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14337
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14338
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14339
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14340
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14341
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14342
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14343
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14344
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14345
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14346
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14347
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14348
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14349
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14350
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14351
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14352
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14353
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14354
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14355
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14356
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14357
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14358
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14359
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14360
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14361
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14362
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14363
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14364
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14365
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14366
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14367
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14368
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14369
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14370
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14371
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14372
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14373
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14374
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14375
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14376
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14377
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14378
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14379
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14380
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14381
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14382
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14383
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14384
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14385
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"`'
14386
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14387
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14388
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14389
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14390
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14391
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14392
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14393
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14394
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14395
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14396
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14397
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14398
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14399
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14400
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14401
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14402
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14403
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14404
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14405
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14406
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14407
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14408
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14409
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14410
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14411
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14412
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14413
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14414
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14415
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14416
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14417
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14418
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14419
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14420
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14421
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14422
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14423
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14424
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14425
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14426
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14427
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14428
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14429
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14430
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14431
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14432
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14433
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14434
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14435
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14436
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14437
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14438
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14439
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14440
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14441
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14442
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14443
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14444
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14445
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14446
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14447
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14448
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14449
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14450
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14451
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14452
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14453
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14454
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14455
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14456
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14457
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14458
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14461
LTCFLAGS='$LTCFLAGS'
14462
compiler='$compiler_DEFAULT'
14464
# A function that is used when there is no print builtin or printf.
14465
func_fallback_echo ()
14467
eval 'cat <<_LTECHO_EOF
14472
# Quote evaled strings.
14487
deplibs_check_method \
14492
sharedlib_from_linklib_cmd \
14495
archiver_list_spec \
14501
lt_cv_sys_global_symbol_pipe \
14502
lt_cv_sys_global_symbol_to_cdecl \
14503
lt_cv_sys_global_symbol_to_c_name_address \
14504
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14505
nm_file_list_spec \
14506
lt_prog_compiler_no_builtin_flag \
14507
lt_prog_compiler_pic \
14508
lt_prog_compiler_wl \
14509
lt_prog_compiler_static \
14510
lt_cv_prog_compiler_c_o \
14519
export_dynamic_flag_spec \
14520
whole_archive_flag_spec \
14521
compiler_needs_object \
14523
allow_undefined_flag \
14524
no_undefined_flag \
14525
hardcode_libdir_flag_spec \
14526
hardcode_libdir_separator \
14530
variables_saved_for_relink \
14532
library_names_spec \
14534
install_override_mode \
14538
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14539
*[\\\\\\\`\\"\\\$]*)
14540
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14543
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14548
# Double-quote double-evaled strings.
14549
for var in reload_cmds \
14550
old_postinstall_cmds \
14551
old_postuninstall_cmds \
14553
extract_expsyms_cmds \
14554
old_archive_from_new_cmds \
14555
old_archive_from_expsyms_cmds \
14557
archive_expsym_cmds \
14559
module_expsym_cmds \
14560
export_symbols_cmds \
14564
postuninstall_cmds \
14566
sys_lib_search_path_spec \
14567
sys_lib_dlsearch_path_spec; do
14568
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14569
*[\\\\\\\`\\"\\\$]*)
14570
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14573
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14578
ac_aux_dir='$ac_aux_dir'
14579
xsi_shell='$xsi_shell'
14580
lt_shell_append='$lt_shell_append'
14582
# See if we are running on zsh, and set the options which allow our
14583
# commands through without removal of \ escapes INIT.
14584
if test -n "\${ZSH_VERSION+set}" ; then
14585
setopt NO_GLOB_SUBST
14591
TIMESTAMP='$TIMESTAMP'
14601
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14603
# Handling of arguments.
14604
for ac_config_target in $ac_config_targets
14606
case $ac_config_target in
14607
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14608
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14609
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14610
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14611
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14612
"music.lens.in") CONFIG_FILES="$CONFIG_FILES music.lens.in" ;;
14613
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14614
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14615
"src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
14616
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14617
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14618
"tests/unit/Makefile") CONFIG_FILES="$CONFIG_FILES tests/unit/Makefile" ;;
14619
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14621
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14626
# If the user did not use the arguments to specify the items to instantiate,
14627
# then the envvar interface is used. Set only those that are not.
14628
# We use the long form for the default assignment because of an extremely
14629
# bizarre bug on SunOS 4.1.3.
14630
if $ac_need_defaults; then
14631
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14632
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14633
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14636
# Have a temporary directory for convenience. Make it in the build tree
14637
# simply because there is no reason against having it here, and in addition,
14638
# creating and moving files from /tmp can sometimes cause problems.
14639
# Hook for its removal unless debugging.
14640
# Note that there is a small window in which the directory will not be cleaned:
14641
# after its creation but before its name has been assigned to `$tmp'.
14645
trap 'exit_status=$?
14646
: "${ac_tmp:=$tmp}"
14647
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14649
trap 'as_fn_exit 1' 1 2 13 15
14651
# Create a (secure) tmp directory for tmp files.
14654
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14658
tmp=./conf$$-$RANDOM
14659
(umask 077 && mkdir "$tmp")
14660
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14663
# Set up the scripts for CONFIG_FILES section.
14664
# No need to generate them if there are no CONFIG_FILES.
14665
# This happens for instance with `./config.status config.h'.
14666
if test -n "$CONFIG_FILES"; then
14669
ac_cr=`echo X | tr X '\015'`
14670
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14671
# But we know of no other shell where ac_cr would be empty at this
14672
# point, so we can use a bashism as a fallback.
14673
if test "x$ac_cr" = x; then
14674
eval ac_cr=\$\'\\r\'
14676
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14677
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14680
ac_cs_awk_cr=$ac_cr
14683
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14688
echo "cat >conf$$subs.awk <<_ACEOF" &&
14689
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14691
} >conf$$subs.sh ||
14692
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14693
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14695
for ac_last_try in false false false false false :; do
14696
. ./conf$$subs.sh ||
14697
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14699
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14700
if test $ac_delim_n = $ac_delim_num; then
14702
elif $ac_last_try; then
14703
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14705
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14708
rm -f conf$$subs.sh
14710
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14711
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14715
s/^/S["/; s/!.*/"]=/
14725
s/\(.\{148\}\)..*/\1/
14727
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14732
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14739
s/\(.\{148\}\)..*/\1/
14741
s/["\\]/\\&/g; s/^/"/; s/$/"/
14745
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14750
' <conf$$subs.awk | sed '
14755
' >>$CONFIG_STATUS || ac_write_fail=1
14756
rm -f conf$$subs.awk
14757
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14759
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14760
for (key in S) S_is_set[key] = 1
14766
nfields = split(line, field, "@")
14768
len = length(field[1])
14769
for (i = 2; i < nfields; i++) {
14771
keylen = length(key)
14772
if (S_is_set[key]) {
14774
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14775
len += length(value) + length(field[++i])
14786
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14787
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14788
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14791
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14792
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14795
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14796
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14797
# trailing colons and then remove the whole line if VPATH becomes empty
14798
# (actually we leave an empty line to preserve line numbers).
14799
if test "x$srcdir" = x.; then
14800
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14818
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14819
fi # test -n "$CONFIG_FILES"
14821
# Set up the scripts for CONFIG_HEADERS section.
14822
# No need to generate them if there are no CONFIG_HEADERS.
14823
# This happens for instance with `./config.status Makefile'.
14824
if test -n "$CONFIG_HEADERS"; then
14825
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14829
# Transform confdefs.h into an awk script `defines.awk', embedded as
14830
# here-document in config.status, that substitutes the proper values into
14831
# config.h.in to produce config.h.
14833
# Create a delimiter string that does not exist in confdefs.h, to ease
14834
# handling of long lines.
14836
for ac_last_try in false false :; do
14837
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14838
if test -z "$ac_tt"; then
14840
elif $ac_last_try; then
14841
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14843
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14847
# For the awk script, D is an array of macro values keyed by name,
14848
# likewise P contains macro parameters if any. Preserve backslash
14849
# newline sequences.
14851
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14853
s/.\{148\}/&'"$ac_delim"'/g
14856
s/^[ ]*#[ ]*define[ ][ ]*/ /
14863
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14865
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14869
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14870
D["\1"]=" \3\\\\\\n"\\/p
14872
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14877
s/.\{148\}/&'"$ac_delim"'/g
14882
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14885
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14887
' <confdefs.h | sed '
14888
s/'"$ac_delim"'/"\\\
14889
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14891
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14892
for (key in D) D_is_set[key] = 1
14895
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14897
split(line, arg, " ")
14898
if (arg[1] == "#") {
14902
defundef = substr(arg[1], 2)
14905
split(mac1, mac2, "(") #)
14907
prefix = substr(line, 1, index(line, defundef) - 1)
14908
if (D_is_set[macro]) {
14909
# Preserve the white space surrounding the "#".
14910
print prefix "define", macro P[macro] D[macro]
14913
# Replace #undef with comments. This is necessary, for example,
14914
# in the case of _POSIX_SOURCE, which is predefined and required
14915
# on some systems where configure will not decide to define it.
14916
if (defundef == "undef") {
14917
print "/*", prefix defundef, macro, "*/"
14925
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14926
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14927
fi # test -n "$CONFIG_HEADERS"
14930
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14935
:[FHLC]) ac_mode=$ac_tag; continue;;
14937
case $ac_mode$ac_tag in
14939
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14940
:[FH]-) ac_tag=-:-;;
14941
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14958
-) ac_f="$ac_tmp/stdin";;
14959
*) # Look for the file first in the build tree, then in the source tree
14960
# (if the path is not absolute). The absolute path cannot be DOS-style,
14961
# because $ac_f cannot contain `:'.
14965
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14967
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14969
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14970
as_fn_append ac_file_inputs " '$ac_f'"
14973
# Let's still pretend it is `configure' which instantiates (i.e., don't
14974
# use $as_me), people would be surprised to read:
14975
# /* config.h. Generated by config.status. */
14976
configure_input='Generated from '`
14977
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14979
if test x"$ac_file" != x-; then
14980
configure_input="$ac_file. $configure_input"
14981
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14982
$as_echo "$as_me: creating $ac_file" >&6;}
14984
# Neutralize special characters interpreted by sed in replacement strings.
14985
case $configure_input in #(
14986
*\&* | *\|* | *\\* )
14987
ac_sed_conf_input=`$as_echo "$configure_input" |
14988
sed 's/[\\\\&|]/\\\\&/g'`;; #(
14989
*) ac_sed_conf_input=$configure_input;;
14993
*:-:* | *:-) cat >"$ac_tmp/stdin" \
14994
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14999
ac_dir=`$as_dirname -- "$ac_file" ||
15000
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15001
X"$ac_file" : 'X\(//\)[^/]' \| \
15002
X"$ac_file" : 'X\(//\)$' \| \
15003
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15004
$as_echo X"$ac_file" |
15005
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15009
/^X\(\/\/\)[^/].*/{
15022
as_dir="$ac_dir"; as_fn_mkdir_p
15026
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15028
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15029
# A ".." for each directory in $ac_dir_suffix.
15030
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15031
case $ac_top_builddir_sub in
15032
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15033
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15036
ac_abs_top_builddir=$ac_pwd
15037
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15038
# for backward compatibility:
15039
ac_top_builddir=$ac_top_build_prefix
15042
.) # We are building in place.
15044
ac_top_srcdir=$ac_top_builddir_sub
15045
ac_abs_top_srcdir=$ac_pwd ;;
15046
[\\/]* | ?:[\\/]* ) # Absolute name.
15047
ac_srcdir=$srcdir$ac_dir_suffix;
15048
ac_top_srcdir=$srcdir
15049
ac_abs_top_srcdir=$srcdir ;;
15050
*) # Relative name.
15051
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15052
ac_top_srcdir=$ac_top_build_prefix$srcdir
15053
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15055
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15065
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15066
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15068
ac_MKDIR_P=$MKDIR_P
15070
[\\/$]* | ?:[\\/]* ) ;;
15071
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15075
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15076
# If the template does not know about datarootdir, expand it.
15077
# FIXME: This hack should be removed a few years after 2.60.
15078
ac_datarootdir_hack=; ac_datarootdir_seen=
15089
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15090
*datarootdir*) ac_datarootdir_seen=yes;;
15091
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15092
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15093
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15095
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15096
ac_datarootdir_hack='
15097
s&@datadir@&$datadir&g
15098
s&@docdir@&$docdir&g
15099
s&@infodir@&$infodir&g
15100
s&@localedir@&$localedir&g
15101
s&@mandir@&$mandir&g
15102
s&\\\${datarootdir}&$datarootdir&g' ;;
15106
# Neutralize VPATH when `$srcdir' = `.'.
15107
# Shell code in configure.ac might set extrasub.
15108
# FIXME: do we really want to maintain this feature?
15109
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15110
ac_sed_extra="$ac_vpsub
15113
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15115
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15116
s|@configure_input@|$ac_sed_conf_input|;t t
15117
s&@top_builddir@&$ac_top_builddir_sub&;t t
15118
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15119
s&@srcdir@&$ac_srcdir&;t t
15120
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15121
s&@top_srcdir@&$ac_top_srcdir&;t t
15122
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15123
s&@builddir@&$ac_builddir&;t t
15124
s&@abs_builddir@&$ac_abs_builddir&;t t
15125
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15126
s&@INSTALL@&$ac_INSTALL&;t t
15127
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15128
$ac_datarootdir_hack
15130
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15131
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15133
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15134
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15135
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15136
"$ac_tmp/out"`; test -z "$ac_out"; } &&
15137
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15138
which seems to be undefined. Please make sure it is defined" >&5
15139
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15140
which seems to be undefined. Please make sure it is defined" >&2;}
15142
rm -f "$ac_tmp/stdin"
15144
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15145
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15147
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15153
if test x"$ac_file" != x-; then
15155
$as_echo "/* $configure_input */" \
15156
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15157
} >"$ac_tmp/config.h" \
15158
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15159
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15160
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15161
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15164
mv "$ac_tmp/config.h" "$ac_file" \
15165
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15168
$as_echo "/* $configure_input */" \
15169
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15170
|| as_fn_error $? "could not create -" "$LINENO" 5
15172
# Compute "$ac_file"'s index in $config_headers.
15175
for _am_header in $config_headers :; do
15176
case $_am_header in
15177
$_am_arg | $_am_arg:* )
15180
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
15183
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15184
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15185
X"$_am_arg" : 'X\(//\)[^/]' \| \
15186
X"$_am_arg" : 'X\(//\)$' \| \
15187
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15188
$as_echo X"$_am_arg" |
15189
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15193
/^X\(\/\/\)[^/].*/{
15205
s/.*/./; q'`/stamp-h$_am_stamp_count
15208
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15209
$as_echo "$as_me: executing $ac_file commands" >&6;}
15214
case $ac_file$ac_mode in
15215
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15216
# Autoconf 2.62 quotes --file arguments for eval, but not when files
15217
# are listed without --file. Let's play safe and only enable the eval
15218
# if we detect the quoting.
15219
case $CONFIG_FILES in
15220
*\'*) eval set x "$CONFIG_FILES" ;;
15221
*) set x $CONFIG_FILES ;;
15226
# Strip MF so we end up with the name of the file.
15227
mf=`echo "$mf" | sed -e 's/:.*$//'`
15228
# Check whether this is an Automake generated Makefile or not.
15229
# We used to match only the files named `Makefile.in', but
15230
# some people rename them; so instead we look at the file content.
15231
# Grep'ing the first line is not enough: some people post-process
15232
# each Makefile.in and add a new line on top of each file to say so.
15233
# Grep'ing the whole file is not good either: AIX grep has a line
15234
# limit of 2048, but all sed's we know have understand at least 4000.
15235
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15236
dirpart=`$as_dirname -- "$mf" ||
15237
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15238
X"$mf" : 'X\(//\)[^/]' \| \
15239
X"$mf" : 'X\(//\)$' \| \
15240
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15242
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15246
/^X\(\/\/\)[^/].*/{
15262
# Extract the definition of DEPDIR, am__include, and am__quote
15263
# from the Makefile without running `make'.
15264
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15265
test -z "$DEPDIR" && continue
15266
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15267
test -z "am__include" && continue
15268
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15269
# When using ansi2knr, U may be empty or an underscore; expand it
15270
U=`sed -n 's/^U = //p' < "$mf"`
15271
# Find all dependency output files, they are included files with
15272
# $(DEPDIR) in their names. We invoke sed twice because it is the
15273
# simplest approach to changing $(DEPDIR) to its actual value in the
15275
for file in `sed -n "
15276
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15277
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15278
# Make sure the directory exists.
15279
test -f "$dirpart/$file" && continue
15280
fdir=`$as_dirname -- "$file" ||
15281
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15282
X"$file" : 'X\(//\)[^/]' \| \
15283
X"$file" : 'X\(//\)$' \| \
15284
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15285
$as_echo X"$file" |
15286
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15290
/^X\(\/\/\)[^/].*/{
15303
as_dir=$dirpart/$fdir; as_fn_mkdir_p
15304
# echo "creating $dirpart/$file"
15305
echo '# dummy' > "$dirpart/$file"
15312
# See if we are running on zsh, and set the options which allow our
15313
# commands through without removal of \ escapes.
15314
if test -n "${ZSH_VERSION+set}" ; then
15315
setopt NO_GLOB_SUBST
15318
cfgfile="${ofile}T"
15319
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15322
cat <<_LT_EOF >> "$cfgfile"
15325
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15326
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15327
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15328
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15330
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15331
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15333
# Written by Gordon Matzigkeit, 1996
15335
# This file is part of GNU Libtool.
15337
# GNU Libtool is free software; you can redistribute it and/or
15338
# modify it under the terms of the GNU General Public License as
15339
# published by the Free Software Foundation; either version 2 of
15340
# the License, or (at your option) any later version.
15342
# As a special exception to the GNU General Public License,
15343
# if you distribute this file as part of a program or library that
15344
# is built using GNU Libtool, you may include this file under the
15345
# same distribution terms that you use for the rest of that program.
15347
# GNU Libtool is distributed in the hope that it will be useful,
15348
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15349
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15350
# GNU General Public License for more details.
15352
# You should have received a copy of the GNU General Public License
15353
# along with GNU Libtool; see the file COPYING. If not, a copy
15354
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15355
# obtained by writing to the Free Software Foundation, Inc.,
15356
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15359
# The names of the tagged configurations supported by this script.
15362
# ### BEGIN LIBTOOL CONFIG
15364
# Which release of libtool.m4 was used?
15365
macro_version=$macro_version
15366
macro_revision=$macro_revision
15368
# Whether or not to build shared libraries.
15369
build_libtool_libs=$enable_shared
15371
# Whether or not to build static libraries.
15372
build_old_libs=$enable_static
15374
# What type of objects to build.
15377
# Whether or not to optimize for fast installation.
15378
fast_install=$enable_fast_install
15380
# Shell to use when invoking shell scripts.
15383
# An echo program that protects backslashes.
15386
# The PATH separator for the build system.
15387
PATH_SEPARATOR=$lt_PATH_SEPARATOR
15390
host_alias=$host_alias
15394
# The build system.
15395
build_alias=$build_alias
15399
# A sed program that does not truncate output.
15402
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15403
Xsed="\$SED -e 1s/^X//"
15405
# A grep program that handles long lines.
15411
# A literal string matcher.
15414
# A BSD- or MS-compatible name lister.
15417
# Whether we need soft or hard links.
15420
# What is the maximum length of a command?
15421
max_cmd_len=$max_cmd_len
15423
# Object file suffix (normally "o").
15426
# Executable file suffix (normally "").
15429
# whether the shell understands "unset".
15432
# turn spaces into newlines.
15435
# turn newlines into spaces.
15438
# convert \$build file names to \$host format.
15439
to_host_file_cmd=$lt_cv_to_host_file_cmd
15441
# convert \$build files to toolchain format.
15442
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15444
# An object symbol dumper.
15445
OBJDUMP=$lt_OBJDUMP
15447
# Method to check whether dependent libraries are shared objects.
15448
deplibs_check_method=$lt_deplibs_check_method
15450
# Command to use when deplibs_check_method = "file_magic".
15451
file_magic_cmd=$lt_file_magic_cmd
15453
# How to find potential files when deplibs_check_method = "file_magic".
15454
file_magic_glob=$lt_file_magic_glob
15456
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15457
want_nocaseglob=$lt_want_nocaseglob
15459
# DLL creation program.
15460
DLLTOOL=$lt_DLLTOOL
15462
# Command to associate shared and link libraries.
15463
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15468
# Flags to create an archive.
15469
AR_FLAGS=$lt_AR_FLAGS
15471
# How to feed a file listing to the archiver.
15472
archiver_list_spec=$lt_archiver_list_spec
15474
# A symbol stripping program.
15477
# Commands used to install an old-style archive.
15479
old_postinstall_cmds=$lt_old_postinstall_cmds
15480
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15482
# Whether to use a lock for old archive extraction.
15483
lock_old_archive_extraction=$lock_old_archive_extraction
15488
# LTCC compiler flags.
15489
LTCFLAGS=$lt_CFLAGS
15491
# Take the output of nm and produce a listing of raw symbols and C names.
15492
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15494
# Transform the output of nm in a proper C declaration.
15495
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15497
# Transform the output of nm in a C name address pair.
15498
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15500
# Transform the output of nm in a C name address pair when lib prefix is needed.
15501
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15503
# Specify filename containing input files for \$NM.
15504
nm_file_list_spec=$lt_nm_file_list_spec
15506
# The root where to search for dependent libraries,and in which our libraries should be installed.
15507
lt_sysroot=$lt_sysroot
15509
# The name of the directory that contains temporary libtool files.
15512
# Used to examine libraries when file_magic_cmd begins with "file".
15513
MAGIC_CMD=$MAGIC_CMD
15515
# Must we lock files when doing compilation?
15516
need_locks=$lt_need_locks
15519
MANIFEST_TOOL=$lt_MANIFEST_TOOL
15521
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15522
DSYMUTIL=$lt_DSYMUTIL
15524
# Tool to change global to local symbols on Mac OS X.
15527
# Tool to manipulate fat objects and archives on Mac OS X.
15530
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15533
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15534
OTOOL64=$lt_OTOOL64
15536
# Old archive suffix (normally "a").
15539
# Shared library suffix (normally ".so").
15540
shrext_cmds=$lt_shrext_cmds
15542
# The commands to extract the exported symbol list from a shared archive.
15543
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15545
# Variables whose values should be saved in libtool wrapper scripts and
15546
# restored at link time.
15547
variables_saved_for_relink=$lt_variables_saved_for_relink
15549
# Do we need the "lib" prefix for modules?
15550
need_lib_prefix=$need_lib_prefix
15552
# Do we need a version for libraries?
15553
need_version=$need_version
15555
# Library versioning type.
15556
version_type=$version_type
15558
# Shared library runtime path variable.
15559
runpath_var=$runpath_var
15561
# Shared library path variable.
15562
shlibpath_var=$shlibpath_var
15564
# Is shlibpath searched before the hard-coded library search path?
15565
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15567
# Format of library name prefix.
15568
libname_spec=$lt_libname_spec
15570
# List of archive names. First name is the real one, the rest are links.
15571
# The last name is the one that the linker finds with -lNAME
15572
library_names_spec=$lt_library_names_spec
15574
# The coded name of the library, if different from the real name.
15575
soname_spec=$lt_soname_spec
15577
# Permission mode override for installation of shared libraries.
15578
install_override_mode=$lt_install_override_mode
15580
# Command to use after installation of a shared archive.
15581
postinstall_cmds=$lt_postinstall_cmds
15583
# Command to use after uninstallation of a shared archive.
15584
postuninstall_cmds=$lt_postuninstall_cmds
15586
# Commands used to finish a libtool library installation in a directory.
15587
finish_cmds=$lt_finish_cmds
15589
# As "finish_cmds", except a single script fragment to be evaled but
15591
finish_eval=$lt_finish_eval
15593
# Whether we should hardcode library paths into libraries.
15594
hardcode_into_libs=$hardcode_into_libs
15596
# Compile-time system search path for libraries.
15597
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15599
# Run-time system search path for libraries.
15600
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15602
# Whether dlopen is supported.
15603
dlopen_support=$enable_dlopen
15605
# Whether dlopen of programs is supported.
15606
dlopen_self=$enable_dlopen_self
15608
# Whether dlopen of statically linked programs is supported.
15609
dlopen_self_static=$enable_dlopen_self_static
15611
# Commands to strip libraries.
15612
old_striplib=$lt_old_striplib
15613
striplib=$lt_striplib
15616
# The linker used to build libraries.
15619
# How to create reloadable object files.
15620
reload_flag=$lt_reload_flag
15621
reload_cmds=$lt_reload_cmds
15623
# Commands used to build an old-style archive.
15624
old_archive_cmds=$lt_old_archive_cmds
15626
# A language specific compiler.
15629
# Is the compiler the GNU compiler?
15632
# Compiler flag to turn off builtin functions.
15633
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15635
# Additional compiler flags for building library objects.
15636
pic_flag=$lt_lt_prog_compiler_pic
15638
# How to pass a linker flag through the compiler.
15639
wl=$lt_lt_prog_compiler_wl
15641
# Compiler flag to prevent dynamic linking.
15642
link_static_flag=$lt_lt_prog_compiler_static
15644
# Does compiler simultaneously support -c and -o options?
15645
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15647
# Whether or not to add -lc for building shared libraries.
15648
build_libtool_need_lc=$archive_cmds_need_lc
15650
# Whether or not to disallow shared libs when runtime libs are static.
15651
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15653
# Compiler flag to allow reflexive dlopens.
15654
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15656
# Compiler flag to generate shared objects directly from archives.
15657
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15659
# Whether the compiler copes with passing no objects directly.
15660
compiler_needs_object=$lt_compiler_needs_object
15662
# Create an old-style archive from a shared archive.
15663
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15665
# Create a temporary old-style archive to link instead of a shared archive.
15666
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15668
# Commands used to build a shared archive.
15669
archive_cmds=$lt_archive_cmds
15670
archive_expsym_cmds=$lt_archive_expsym_cmds
15672
# Commands used to build a loadable module if different from building
15673
# a shared archive.
15674
module_cmds=$lt_module_cmds
15675
module_expsym_cmds=$lt_module_expsym_cmds
15677
# Whether we are building with GNU ld or not.
15678
with_gnu_ld=$lt_with_gnu_ld
15680
# Flag that allows shared libraries with undefined symbols to be built.
15681
allow_undefined_flag=$lt_allow_undefined_flag
15683
# Flag that enforces no undefined symbols.
15684
no_undefined_flag=$lt_no_undefined_flag
15686
# Flag to hardcode \$libdir into a binary during linking.
15687
# This must work even if \$libdir does not exist
15688
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15690
# Whether we need a single "-rpath" flag with a separated argument.
15691
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15693
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15694
# DIR into the resulting binary.
15695
hardcode_direct=$hardcode_direct
15697
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15698
# DIR into the resulting binary and the resulting library dependency is
15699
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15700
# library is relocated.
15701
hardcode_direct_absolute=$hardcode_direct_absolute
15703
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15704
# into the resulting binary.
15705
hardcode_minus_L=$hardcode_minus_L
15707
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15708
# into the resulting binary.
15709
hardcode_shlibpath_var=$hardcode_shlibpath_var
15711
# Set to "yes" if building a shared library automatically hardcodes DIR
15712
# into the library and all subsequent libraries and executables linked
15714
hardcode_automatic=$hardcode_automatic
15716
# Set to yes if linker adds runtime paths of dependent libraries
15717
# to runtime path list.
15718
inherit_rpath=$inherit_rpath
15720
# Whether libtool must link a program against all its dependency libraries.
15721
link_all_deplibs=$link_all_deplibs
15723
# Set to "yes" if exported symbols are required.
15724
always_export_symbols=$always_export_symbols
15726
# The commands to list exported symbols.
15727
export_symbols_cmds=$lt_export_symbols_cmds
15729
# Symbols that should not be listed in the preloaded symbols.
15730
exclude_expsyms=$lt_exclude_expsyms
15732
# Symbols that must always be exported.
15733
include_expsyms=$lt_include_expsyms
15735
# Commands necessary for linking programs (against libraries) with templates.
15736
prelink_cmds=$lt_prelink_cmds
15738
# Commands necessary for finishing linking programs.
15739
postlink_cmds=$lt_postlink_cmds
15741
# Specify filename containing input files.
15742
file_list_spec=$lt_file_list_spec
15744
# How to hardcode a shared library path into an executable.
15745
hardcode_action=$hardcode_action
15747
# ### END LIBTOOL CONFIG
15753
cat <<\_LT_EOF >> "$cfgfile"
15754
# AIX sometimes has problems with the GCC collect2 program. For some
15755
# reason, if we set the COLLECT_NAMES environment variable, the problems
15756
# vanish in a puff of smoke.
15757
if test "X${COLLECT_NAMES+set}" != Xset; then
15759
export COLLECT_NAMES
15766
ltmain="$ac_aux_dir/ltmain.sh"
15769
# We use sed instead of cat because bash on DJGPP gets confused if
15770
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15771
# text mode, it properly converts lines to CR/LF. This bash problem
15772
# is reportedly fixed, but why not run on old versions too?
15773
sed '$q' "$ltmain" >> "$cfgfile" \
15774
|| (rm -f "$cfgfile"; exit 1)
15776
if test x"$xsi_shell" = xyes; then
15777
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15781
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15782
\ * ) func_dirname_result="${3}" ;;\
15784
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15785
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15786
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15787
test 0 -eq $? || _lt_function_replace_fail=:
15790
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15793
\ func_basename_result="${1##*/}"\
15794
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15795
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15796
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15797
test 0 -eq $? || _lt_function_replace_fail=:
15800
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15801
func_dirname_and_basename ()\
15804
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15805
\ * ) func_dirname_result="${3}" ;;\
15807
\ func_basename_result="${1##*/}"\
15808
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15809
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15810
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15811
test 0 -eq $? || _lt_function_replace_fail=:
15814
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15817
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15818
\ # positional parameters, so assign one to ordinary parameter first.\
15819
\ func_stripname_result=${3}\
15820
\ func_stripname_result=${func_stripname_result#"${1}"}\
15821
\ func_stripname_result=${func_stripname_result%"${2}"}\
15822
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15823
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15824
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15825
test 0 -eq $? || _lt_function_replace_fail=:
15828
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15829
func_split_long_opt ()\
15831
\ func_split_long_opt_name=${1%%=*}\
15832
\ func_split_long_opt_arg=${1#*=}\
15833
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15834
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15835
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15836
test 0 -eq $? || _lt_function_replace_fail=:
15839
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15840
func_split_short_opt ()\
15842
\ func_split_short_opt_arg=${1#??}\
15843
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15844
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15845
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15846
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15847
test 0 -eq $? || _lt_function_replace_fail=:
15850
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15854
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15855
\ *) func_lo2o_result=${1} ;;\
15857
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15858
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15859
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15860
test 0 -eq $? || _lt_function_replace_fail=:
15863
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15866
func_xform_result=${1%.*}.lo\
15867
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15868
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15869
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15870
test 0 -eq $? || _lt_function_replace_fail=:
15873
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15876
func_arith_result=$(( $* ))\
15877
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15878
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15879
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15880
test 0 -eq $? || _lt_function_replace_fail=:
15883
sed -e '/^func_len ()$/,/^} # func_len /c\
15886
func_len_result=${#1}\
15887
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15888
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15889
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15890
test 0 -eq $? || _lt_function_replace_fail=:
15894
if test x"$lt_shell_append" = xyes; then
15895
sed -e '/^func_append ()$/,/^} # func_append /c\
15898
eval "${1}+=\\${2}"\
15899
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15900
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15901
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15902
test 0 -eq $? || _lt_function_replace_fail=:
15905
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15906
func_append_quoted ()\
15908
\ func_quote_for_eval "${2}"\
15909
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15910
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15911
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15912
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15913
test 0 -eq $? || _lt_function_replace_fail=:
15916
# Save a `func_append' function call where possible by direct use of '+='
15917
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15918
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15919
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15920
test 0 -eq $? || _lt_function_replace_fail=:
15922
# Save a `func_append' function call even when '+=' is not available
15923
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15924
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15925
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15926
test 0 -eq $? || _lt_function_replace_fail=:
15929
if test x"$_lt_function_replace_fail" = x":"; then
15930
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15931
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15935
mv -f "$cfgfile" "$ofile" ||
15936
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15940
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15941
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15944
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15945
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15947
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15952
'"s|^| $ac_top_srcdir/|" \
15953
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15955
sed '/^POTFILES =/,/[^\\]$/ {
15959
' "po/Makefile.in" >"po/Makefile"
15960
rm -f "po/Makefile.tmp"
15961
mv "po/stamp-it.tmp" "po/stamp-it"
15970
ac_clean_files=$ac_clean_files_save
15972
test $ac_write_fail = 0 ||
15973
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15976
# configure is writing to config.log, and then calls config.status.
15977
# config.status does its own redirection, appending to config.log.
15978
# Unfortunately, on DOS this fails, as config.log is still kept open
15979
# by configure, so config.status won't be able to write to it; its
15980
# output is simply discarded. So we exec the FD to /dev/null,
15981
# effectively closing config.log, so it can be properly (re)opened and
15982
# appended to by config.status. When coming back to configure, we
15983
# need to make the FD available again.
15984
if test "$no_create" != yes; then
15986
ac_config_status_args=
15987
test "$silent" = yes &&
15988
ac_config_status_args="$ac_config_status_args --quiet"
15990
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15992
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
15993
# would make configure fail if this is the last instruction.
15994
$ac_cs_success || as_fn_exit 1
15996
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15997
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15998
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16002
#####################################################
16003
# Output the results
16004
#####################################################
16005
{ $as_echo "$as_me:${as_lineno-$LINENO}:
16007
Unity Music Lens Daemon $VERSION
16008
-------------------------------
16012
Local install : ${with_localinstall}
16014
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
16015
Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
16017
Lenses Directory: ${LENSESDIR}
16021
Unity Music Lens Daemon $VERSION
16022
-------------------------------
16026
Local install : ${with_localinstall}
16028
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
16029
Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
16031
Lenses Directory: ${LENSESDIR}