2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for unity-china-music-scope 1.0.2.
5
# Report bugs to <https://code.launchpad.net/unity-china-music-scope>.
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 2012-2013 Kylin Ltd
16
## -------------------- ##
17
## M4sh Initialization. ##
18
## -------------------- ##
20
# Be more Bourne compatible
21
DUALCASE=1; export DUALCASE # for MKS sh
22
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26
# is contrary to our usage. Disable this feature.
27
alias -g '${1+"$@"}'='"$@"'
30
case `(set -o) 2>/dev/null` in #(
42
# Printing a long string crashes Solaris 7 /usr/bin/printf.
43
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46
# Prefer a ksh shell builtin over an external printf program on Solaris,
47
# but without wasting forks for bash or zsh.
48
if test -z "$BASH_VERSION$ZSH_VERSION" \
49
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51
as_echo_n='print -rn --'
52
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58
as_echo_n='/usr/ucb/echo -n'
60
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65
expr "X$arg" : "X\\(.*\\)$as_nl";
66
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71
as_echo_n='sh -c $as_echo_n_body as_echo'
74
as_echo='sh -c $as_echo_body as_echo'
77
# The user is always right.
78
if test "${PATH_SEPARATOR+set}" != set; then
80
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88
# We need space, tab and new line, in precisely that order. Quoting is
89
# there to prevent editors from complaining about space-tab.
90
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
91
# splitting by setting IFS to empty value.)
94
# Find who we are. Look in the path if we contain no directory separator.
97
*[\\/]* ) as_myself=$0 ;;
98
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102
test -z "$as_dir" && as_dir=.
103
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
109
# We did not find ourselves, most probably we were run as `sh COMMAND'
110
# in which case we are not to be found in the path.
111
if test "x$as_myself" = x; then
114
if test ! -f "$as_myself"; then
115
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
119
# Unset variables that we do not need and which cause bugs (e.g. in
120
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
121
# suppresses any "Segmentation fault" message there. '((' could
122
# trigger a bug in pdksh 5.2.14.
123
for as_var in BASH_ENV ENV MAIL MAILPATH
124
do eval test x\${$as_var+set} = xset \
125
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
138
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
140
# Use a proper internal environment variable to ensure we don't fall
141
# into an infinite loop, continuously re-executing ourselves.
142
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
143
_as_can_reexec=no; export _as_can_reexec;
144
# We cannot yet assume a decent shell, so we have to provide a
145
# neutralization value for shells without unset; and this also
146
# works around shells that cannot unset nonexistent variables.
147
# Preserve -v and -x to the replacement shell.
150
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
152
*v*x* | *x*v* ) as_opts=-vx ;;
157
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
158
# Admittedly, this is quite paranoid, since all the known shells bail
159
# out after a failed `exec'.
160
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
163
# We don't want this to propagate to other subprocesses.
164
{ _as_can_reexec=; unset _as_can_reexec;}
165
if test "x$CONFIG_SHELL" = x; then
166
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
169
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
170
# is contrary to our usage. Disable this feature.
171
alias -g '\${1+\"\$@\"}'='\"\$@\"'
174
case \`(set -o) 2>/dev/null\` in #(
182
as_required="as_fn_return () { (exit \$1); }
183
as_fn_success () { as_fn_return 0; }
184
as_fn_failure () { as_fn_return 1; }
185
as_fn_ret_success () { return 0; }
186
as_fn_ret_failure () { return 1; }
189
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
190
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
191
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
192
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
193
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
196
exitcode=1; echo positional parameters were not saved.
198
test x\$exitcode = x0 || exit 1
200
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
201
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
202
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
203
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204
test \$(( 1 + 1 )) = 2 || exit 1
206
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
207
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
208
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
209
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
210
PATH=/empty FPATH=/empty; export PATH FPATH
211
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
212
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
213
if (eval "$as_required") 2>/dev/null; then :
218
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226
test -z "$as_dir" && as_dir=.
230
for as_base in sh bash ksh sh5; do
231
# Try only shells that exist, to save several forks.
232
as_shell=$as_dir/$as_base
233
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
234
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
235
CONFIG_SHELL=$as_shell as_have_required=yes
236
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
244
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
245
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
246
CONFIG_SHELL=$SHELL as_have_required=yes
251
if test "x$CONFIG_SHELL" != x; then :
253
# We cannot yet assume a decent shell, so we have to provide a
254
# neutralization value for shells without unset; and this also
255
# works around shells that cannot unset nonexistent variables.
256
# Preserve -v and -x to the replacement shell.
259
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
261
*v*x* | *x*v* ) as_opts=-vx ;;
266
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
267
# Admittedly, this is quite paranoid, since all the known shells bail
268
# out after a failed `exec'.
269
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
273
if test x$as_have_required = xno; then :
274
$as_echo "$0: This script requires a shell more modern than all"
275
$as_echo "$0: the shells that I found on your system."
276
if test x${ZSH_VERSION+set} = xset ; then
277
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
278
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
280
$as_echo "$0: Please tell bug-autoconf@gnu.org and
281
$0: https://code.launchpad.net/unity-china-music-scope
282
$0: about your system, including any error possibly output
283
$0: before this message. Then install a modern shell, or
284
$0: manually run the script under such a shell if you do
291
SHELL=${CONFIG_SHELL-/bin/sh}
293
# Unset more variables known to interfere with behavior of common tools.
294
CLICOLOR_FORCE= GREP_OPTIONS=
295
unset CLICOLOR_FORCE GREP_OPTIONS
297
## --------------------- ##
298
## M4sh Shell Functions. ##
299
## --------------------- ##
302
# Portably unset VAR.
305
{ eval $1=; unset $1;}
309
# as_fn_set_status STATUS
310
# -----------------------
311
# Set $? to STATUS, without forking.
319
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
329
# Create "$as_dir" as a directory, including parents if necessary.
334
-*) as_dir=./$as_dir;;
336
test -d "$as_dir" || eval $as_mkdir_p || {
340
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
343
as_dirs="'$as_qdir' $as_dirs"
344
as_dir=`$as_dirname -- "$as_dir" ||
345
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
346
X"$as_dir" : 'X\(//\)[^/]' \| \
347
X"$as_dir" : 'X\(//\)$' \| \
348
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
349
$as_echo X"$as_dir" |
350
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
367
test -d "$as_dir" && break
369
test -z "$as_dirs" || eval "mkdir $as_dirs"
370
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
375
# as_fn_executable_p FILE
376
# -----------------------
377
# Test if FILE is an executable regular file.
378
as_fn_executable_p ()
380
test -f "$1" && test -x "$1"
381
} # as_fn_executable_p
382
# as_fn_append VAR VALUE
383
# ----------------------
384
# Append the text in VALUE to the end of the definition contained in VAR. Take
385
# advantage of any shell optimizations that allow amortized linear growth over
386
# repeated appends, instead of the typical quadratic growth present in naive
388
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
389
eval 'as_fn_append ()
402
# Perform arithmetic evaluation on the ARGs, and store the result in the
403
# global $as_val. Take advantage of shells that can avoid forks. The arguments
404
# must be portable across $(()) and expr.
405
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
413
as_val=`expr "$@" || test $? -eq 1`
418
# as_fn_error STATUS ERROR [LINENO LOG_FD]
419
# ----------------------------------------
420
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
421
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
422
# script with STATUS, using 1 if that was 0.
425
as_status=$1; test $as_status -eq 0 && as_status=1
427
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
428
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
430
$as_echo "$as_me: error: $2" >&2
431
as_fn_exit $as_status
434
if expr a : '\(a\)' >/dev/null 2>&1 &&
435
test "X`expr 00001 : '.*\(...\)'`" = X001; then
441
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
447
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
453
as_me=`$as_basename -- "$0" ||
454
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
455
X"$0" : 'X\(//\)$' \| \
456
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
458
sed '/^.*\/\([^/][^/]*\)\/*$/{
472
# Avoid depending upon Character Ranges.
473
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
474
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
475
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
476
as_cr_digits='0123456789'
477
as_cr_alnum=$as_cr_Letters$as_cr_digits
480
as_lineno_1=$LINENO as_lineno_1a=$LINENO
481
as_lineno_2=$LINENO as_lineno_2a=$LINENO
482
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
483
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
484
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
496
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
500
chmod +x "$as_me.lineno" ||
501
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
503
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504
# already done that, so ensure we don't try to do so again and fall
505
# in an infinite loop. This has already happened in practice.
506
_as_can_reexec=no; export _as_can_reexec
507
# Don't try to exec as it changes $[0], causing all sort of problems
508
# (the dirname of $[0] is not the place where we might find the
509
# original and so on. Autoconf is especially sensitive to this).
511
# Exit status is that of the last command.
515
ECHO_C= ECHO_N= ECHO_T=
516
case `echo -n x` in #(((((
518
case `echo 'xy\c'` in
519
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
521
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
528
rm -f conf$$ conf$$.exe conf$$.file
529
if test -d conf$$.dir; then
530
rm -f conf$$.dir/conf$$.file
533
mkdir conf$$.dir 2>/dev/null
535
if (echo >conf$$.file) 2>/dev/null; then
536
if ln -s conf$$.file conf$$ 2>/dev/null; then
538
# ... but there are two gotchas:
539
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
540
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
541
# In both cases, we have to default to `cp -pR'.
542
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
544
elif ln conf$$.file conf$$ 2>/dev/null; then
552
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
553
rmdir conf$$.dir 2>/dev/null
555
if mkdir -p . 2>/dev/null; then
556
as_mkdir_p='mkdir -p "$as_dir"'
558
test -d ./-p && rmdir ./-p
563
as_executable_p=as_fn_executable_p
565
# Sed expression to map a string onto a valid CPP name.
566
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
568
# Sed expression to map a string onto a valid variable name.
569
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
# Use only awk features that work with 7th edition Unix awk (1978).
573
# My, what an old awk you have, Mr. Solaris!
575
while (length(v1) && length(v2)) {
576
# Set d1 to be the next thing to compare from v1, and likewise for d2.
577
# Normally this is a single character, but if v1 and v2 contain digits,
578
# compare them as integers and fractions as strverscmp does.
579
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
580
# Split v1 and v2 into their leading digit string components d1 and d2,
581
# and advance v1 and v2 past the leading digit strings.
582
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
583
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
584
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
585
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
588
# Compare two fractions.
589
while (d1 ~ /^0/ && d2 ~ /^0/) {
590
d1 = substr(d1, 2); len1--
591
d2 = substr(d2, 2); len2--
593
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
594
# The two components differ in length, and the common prefix
595
# contains only leading zeros. Consider the longer to be less.
599
# Otherwise, compare as strings.
604
# A fraction is less than an integer.
609
# An integer is greater than a fraction.
612
# Compare two integers.
618
# The normal case, without worrying about digits.
619
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
620
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
625
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
626
# which mishandles some comparisons of empty strings to integers.
627
if (length(v2)) exit 1
628
if (length(v1)) exit 2
631
SHELL=${CONFIG_SHELL-/bin/sh}
634
test -n "$DJDIR" || exec 7<&0 </dev/null
638
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
639
# so uname gets run too.
640
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
645
ac_default_prefix=/usr/local
647
ac_config_libobj_dir=.
654
# Identity of this package.
655
PACKAGE_NAME='unity-china-music-scope'
656
PACKAGE_TARNAME='unity-china-music-scope'
657
PACKAGE_VERSION='1.0.2'
658
PACKAGE_STRING='unity-china-music-scope 1.0.2'
659
PACKAGE_BUGREPORT='https://code.launchpad.net/unity-china-music-scope'
662
# Factoring default headers for most tests.
663
ac_includes_default="\
665
#ifdef HAVE_SYS_TYPES_H
666
# include <sys/types.h>
668
#ifdef HAVE_SYS_STAT_H
669
# include <sys/stat.h>
675
# ifdef HAVE_STDLIB_H
680
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
685
#ifdef HAVE_STRINGS_H
686
# include <strings.h>
688
#ifdef HAVE_INTTYPES_H
689
# include <inttypes.h>
698
ac_subst_vars='am__EXEEXT_FALSE
706
HAVE_LOCALINSTALL_FALSE
707
HAVE_LOCALINSTALL_TRUE
709
PREVIEW_PLAYER_CFLAGS
720
INTLTOOL_SERVICE_RULE
722
INTLTOOL_SCHEMAS_RULE
724
INTLTOOL_XML_NOMERGE_RULE
729
INTLTOOL_SOUNDLIST_RULE
736
INTLTOOL_DIRECTORY_RULE
737
INTLTOOL_DESKTOP_RULE
738
intltool__v_merge_options_0
739
intltool__v_merge_options_
740
INTLTOOL_V_MERGE_OPTIONS
763
CONFIG_STATUS_DEPENDENCIES
814
MAINTAINER_MODE_FALSE
828
INSTALL_STRIP_PROGRAM
870
program_transform_name
883
enable_option_checking
885
enable_maintainer_mode
886
enable_dependency_tracking
897
ac_precious_vars='build_alias
911
PREVIEW_PLAYER_CFLAGS
915
# Initialize some variables set by options.
917
ac_init_version=false
918
ac_unrecognized_opts=
920
# The variables have the same names as the options, with
921
# dashes changed to underlines.
929
program_transform_name=s,x,x,
937
# Installation directory options.
938
# These are left unexpanded so users can "make install exec_prefix=/foo"
939
# and all the variables that are supposed to be based on exec_prefix
940
# by default will actually change.
941
# Use braces instead of parens because sh, perl, etc. also accept them.
942
# (The list follows the same order as the GNU Coding Standards.)
943
bindir='${exec_prefix}/bin'
944
sbindir='${exec_prefix}/sbin'
945
libexecdir='${exec_prefix}/libexec'
946
datarootdir='${prefix}/share'
947
datadir='${datarootdir}'
948
sysconfdir='${prefix}/etc'
949
sharedstatedir='${prefix}/com'
950
localstatedir='${prefix}/var'
951
includedir='${prefix}/include'
952
oldincludedir='/usr/include'
953
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
954
infodir='${datarootdir}/info'
959
libdir='${exec_prefix}/lib'
960
localedir='${datarootdir}/locale'
961
mandir='${datarootdir}/man'
967
# If the previous option needs an argument, assign it.
968
if test -n "$ac_prev"; then
969
eval $ac_prev=\$ac_option
975
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
980
# Accept the important Cygnus configure options, so we can diagnose typos.
982
case $ac_dashdash$ac_option in
986
-bindir | --bindir | --bindi | --bind | --bin | --bi)
988
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
991
-build | --build | --buil | --bui | --bu)
992
ac_prev=build_alias ;;
993
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
994
build_alias=$ac_optarg ;;
996
-cache-file | --cache-file | --cache-fil | --cache-fi \
997
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998
ac_prev=cache_file ;;
999
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001
cache_file=$ac_optarg ;;
1003
--config-cache | -C)
1004
cache_file=config.cache ;;
1006
-datadir | --datadir | --datadi | --datad)
1008
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1009
datadir=$ac_optarg ;;
1011
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012
| --dataroo | --dataro | --datar)
1013
ac_prev=datarootdir ;;
1014
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016
datarootdir=$ac_optarg ;;
1018
-disable-* | --disable-*)
1019
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020
# Reject names that are not valid shell variable names.
1021
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022
as_fn_error $? "invalid feature name: $ac_useropt"
1023
ac_useropt_orig=$ac_useropt
1024
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025
case $ac_user_opts in
1027
"enable_$ac_useropt"
1029
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030
ac_unrecognized_sep=', ';;
1032
eval enable_$ac_useropt=no ;;
1034
-docdir | --docdir | --docdi | --doc | --do)
1036
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037
docdir=$ac_optarg ;;
1039
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042
dvidir=$ac_optarg ;;
1044
-enable-* | --enable-*)
1045
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046
# Reject names that are not valid shell variable names.
1047
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048
as_fn_error $? "invalid feature name: $ac_useropt"
1049
ac_useropt_orig=$ac_useropt
1050
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051
case $ac_user_opts in
1053
"enable_$ac_useropt"
1055
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056
ac_unrecognized_sep=', ';;
1058
eval enable_$ac_useropt=\$ac_optarg ;;
1060
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062
| --exec | --exe | --ex)
1063
ac_prev=exec_prefix ;;
1064
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066
| --exec=* | --exe=* | --ex=*)
1067
exec_prefix=$ac_optarg ;;
1069
-gas | --gas | --ga | --g)
1070
# Obsolete; use --with-gas.
1073
-help | --help | --hel | --he | -h)
1074
ac_init_help=long ;;
1075
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076
ac_init_help=recursive ;;
1077
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078
ac_init_help=short ;;
1080
-host | --host | --hos | --ho)
1081
ac_prev=host_alias ;;
1082
-host=* | --host=* | --hos=* | --ho=*)
1083
host_alias=$ac_optarg ;;
1085
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089
htmldir=$ac_optarg ;;
1091
-includedir | --includedir | --includedi | --included | --include \
1092
| --includ | --inclu | --incl | --inc)
1093
ac_prev=includedir ;;
1094
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095
| --includ=* | --inclu=* | --incl=* | --inc=*)
1096
includedir=$ac_optarg ;;
1098
-infodir | --infodir | --infodi | --infod | --info | --inf)
1100
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101
infodir=$ac_optarg ;;
1103
-libdir | --libdir | --libdi | --libd)
1105
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1106
libdir=$ac_optarg ;;
1108
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109
| --libexe | --libex | --libe)
1110
ac_prev=libexecdir ;;
1111
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112
| --libexe=* | --libex=* | --libe=*)
1113
libexecdir=$ac_optarg ;;
1115
-localedir | --localedir | --localedi | --localed | --locale)
1116
ac_prev=localedir ;;
1117
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118
localedir=$ac_optarg ;;
1120
-localstatedir | --localstatedir | --localstatedi | --localstated \
1121
| --localstate | --localstat | --localsta | --localst | --locals)
1122
ac_prev=localstatedir ;;
1123
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125
localstatedir=$ac_optarg ;;
1127
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130
mandir=$ac_optarg ;;
1132
-nfp | --nfp | --nf)
1133
# Obsolete; use --without-fp.
1136
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137
| --no-cr | --no-c | -n)
1140
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1144
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146
| --oldin | --oldi | --old | --ol | --o)
1147
ac_prev=oldincludedir ;;
1148
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151
oldincludedir=$ac_optarg ;;
1153
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156
prefix=$ac_optarg ;;
1158
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1159
| --program-pre | --program-pr | --program-p)
1160
ac_prev=program_prefix ;;
1161
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1162
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163
program_prefix=$ac_optarg ;;
1165
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1166
| --program-suf | --program-su | --program-s)
1167
ac_prev=program_suffix ;;
1168
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1169
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170
program_suffix=$ac_optarg ;;
1172
-program-transform-name | --program-transform-name \
1173
| --program-transform-nam | --program-transform-na \
1174
| --program-transform-n | --program-transform- \
1175
| --program-transform | --program-transfor \
1176
| --program-transfo | --program-transf \
1177
| --program-trans | --program-tran \
1178
| --progr-tra | --program-tr | --program-t)
1179
ac_prev=program_transform_name ;;
1180
-program-transform-name=* | --program-transform-name=* \
1181
| --program-transform-nam=* | --program-transform-na=* \
1182
| --program-transform-n=* | --program-transform-=* \
1183
| --program-transform=* | --program-transfor=* \
1184
| --program-transfo=* | --program-transf=* \
1185
| --program-trans=* | --program-tran=* \
1186
| --progr-tra=* | --program-tr=* | --program-t=*)
1187
program_transform_name=$ac_optarg ;;
1189
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192
pdfdir=$ac_optarg ;;
1194
-psdir | --psdir | --psdi | --psd | --ps)
1196
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1199
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200
| -silent | --silent | --silen | --sile | --sil)
1203
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207
sbindir=$ac_optarg ;;
1209
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1210
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211
| --sharedst | --shareds | --shared | --share | --shar \
1213
ac_prev=sharedstatedir ;;
1214
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218
sharedstatedir=$ac_optarg ;;
1220
-site | --site | --sit)
1222
-site=* | --site=* | --sit=*)
1225
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228
srcdir=$ac_optarg ;;
1230
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231
| --syscon | --sysco | --sysc | --sys | --sy)
1232
ac_prev=sysconfdir ;;
1233
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235
sysconfdir=$ac_optarg ;;
1237
-target | --target | --targe | --targ | --tar | --ta | --t)
1238
ac_prev=target_alias ;;
1239
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240
target_alias=$ac_optarg ;;
1242
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1245
-version | --version | --versio | --versi | --vers | -V)
1246
ac_init_version=: ;;
1249
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250
# Reject names that are not valid shell variable names.
1251
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252
as_fn_error $? "invalid package name: $ac_useropt"
1253
ac_useropt_orig=$ac_useropt
1254
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255
case $ac_user_opts in
1259
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260
ac_unrecognized_sep=', ';;
1262
eval with_$ac_useropt=\$ac_optarg ;;
1264
-without-* | --without-*)
1265
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266
# Reject names that are not valid shell variable names.
1267
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268
as_fn_error $? "invalid package name: $ac_useropt"
1269
ac_useropt_orig=$ac_useropt
1270
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271
case $ac_user_opts in
1275
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276
ac_unrecognized_sep=', ';;
1278
eval with_$ac_useropt=no ;;
1281
# Obsolete; use --with-x.
1284
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285
| --x-incl | --x-inc | --x-in | --x-i)
1286
ac_prev=x_includes ;;
1287
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289
x_includes=$ac_optarg ;;
1291
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1292
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293
ac_prev=x_libraries ;;
1294
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296
x_libraries=$ac_optarg ;;
1298
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1299
Try \`$0 --help' for more information"
1303
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304
# Reject names that are not valid shell variable names.
1305
case $ac_envvar in #(
1306
'' | [0-9]* | *[!_$as_cr_alnum]* )
1307
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1309
eval $ac_envvar=\$ac_optarg
1310
export $ac_envvar ;;
1313
# FIXME: should be removed in autoconf 3.0.
1314
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1323
if test -n "$ac_prev"; then
1324
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325
as_fn_error $? "missing argument to $ac_option"
1328
if test -n "$ac_unrecognized_opts"; then
1329
case $enable_option_checking in
1331
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1332
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1336
# Check all directory arguments for consistency.
1337
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338
datadir sysconfdir sharedstatedir localstatedir includedir \
1339
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340
libdir localedir mandir
1342
eval ac_val=\$$ac_var
1343
# Remove trailing slashes.
1346
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347
eval $ac_var=\$ac_val;;
1349
# Be sure to have absolute directory names.
1351
[\\/$]* | ?:[\\/]* ) continue;;
1352
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1357
# There might be people who depend on the old broken behavior: `$host'
1358
# used to hold the argument of --host etc.
1359
# FIXME: To remove some day.
1362
target=$target_alias
1364
# FIXME: To remove some day.
1365
if test "x$host_alias" != x; then
1366
if test "x$build_alias" = x; then
1367
cross_compiling=maybe
1368
elif test "x$build_alias" != "x$host_alias"; then
1374
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1376
test "$silent" = yes && exec 6>/dev/null
1379
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380
ac_ls_di=`ls -di .` &&
1381
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382
as_fn_error $? "working directory cannot be determined"
1383
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384
as_fn_error $? "pwd does not report name of working directory"
1387
# Find the source files, if location was not specified.
1388
if test -z "$srcdir"; then
1389
ac_srcdir_defaulted=yes
1390
# Try the directory containing this script, then the parent directory.
1391
ac_confdir=`$as_dirname -- "$as_myself" ||
1392
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393
X"$as_myself" : 'X\(//\)[^/]' \| \
1394
X"$as_myself" : 'X\(//\)$' \| \
1395
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396
$as_echo X"$as_myself" |
1397
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1415
if test ! -r "$srcdir/$ac_unique_file"; then
1419
ac_srcdir_defaulted=no
1421
if test ! -r "$srcdir/$ac_unique_file"; then
1422
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1425
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1427
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1429
# When building in place, set srcdir=.
1430
if test "$ac_abs_confdir" = "$ac_pwd"; then
1433
# Remove unnecessary trailing slashes from srcdir.
1434
# Double slashes in file names in object file debugging info
1435
# mess up M-x gdb in Emacs.
1437
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1439
for ac_var in $ac_precious_vars; do
1440
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441
eval ac_env_${ac_var}_value=\$${ac_var}
1442
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447
# Report the --help message.
1449
if test "$ac_init_help" = "long"; then
1450
# Omit some internal or obsolete options to make the list less imposing.
1451
# This message is too long to be a string in the A/UX 3.1 sh.
1453
\`configure' configures unity-china-music-scope 1.0.2 to adapt to many kinds of systems.
1455
Usage: $0 [OPTION]... [VAR=VALUE]...
1457
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458
VAR=VALUE. See below for descriptions of some of the useful variables.
1460
Defaults for the options are specified in brackets.
1463
-h, --help display this help and exit
1464
--help=short display options specific to this package
1465
--help=recursive display the short help of all the included packages
1466
-V, --version display version information and exit
1467
-q, --quiet, --silent do not print \`checking ...' messages
1468
--cache-file=FILE cache test results in FILE [disabled]
1469
-C, --config-cache alias for \`--cache-file=config.cache'
1470
-n, --no-create do not create output files
1471
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1473
Installation directories:
1474
--prefix=PREFIX install architecture-independent files in PREFIX
1475
[$ac_default_prefix]
1476
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479
By default, \`make install' will install all the files in
1480
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482
for instance \`--prefix=\$HOME'.
1484
For better control, use the options below.
1486
Fine tuning of the installation directories:
1487
--bindir=DIR user executables [EPREFIX/bin]
1488
--sbindir=DIR system admin executables [EPREFIX/sbin]
1489
--libexecdir=DIR program executables [EPREFIX/libexec]
1490
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493
--libdir=DIR object code libraries [EPREFIX/lib]
1494
--includedir=DIR C header files [PREFIX/include]
1495
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1496
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498
--infodir=DIR info documentation [DATAROOTDIR/info]
1499
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500
--mandir=DIR man documentation [DATAROOTDIR/man]
1501
--docdir=DIR documentation root
1502
[DATAROOTDIR/doc/unity-china-music-scope]
1503
--htmldir=DIR html documentation [DOCDIR]
1504
--dvidir=DIR dvi documentation [DOCDIR]
1505
--pdfdir=DIR pdf documentation [DOCDIR]
1506
--psdir=DIR ps documentation [DOCDIR]
1512
--program-prefix=PREFIX prepend PREFIX to installed program names
1513
--program-suffix=SUFFIX append SUFFIX to installed program names
1514
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517
--build=BUILD configure for building on BUILD [guessed]
1518
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1522
if test -n "$ac_init_help"; then
1523
case $ac_init_help in
1524
short | recursive ) echo "Configuration of unity-china-music-scope 1.0.2:";;
1529
--disable-option-checking ignore unrecognized --enable/--with options
1530
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532
--enable-silent-rules less verbose build output (undo: "make V=1")
1533
--disable-silent-rules verbose build output (undo: "make V=0")
1534
--enable-maintainer-mode
1535
enable make rules and dependencies not useful (and
1536
sometimes confusing) to the casual installer
1537
--enable-dependency-tracking
1538
do not reject slow dependency extractors
1539
--disable-dependency-tracking
1540
speeds up one-time build
1541
--enable-shared[=PKGS] build shared libraries [default=yes]
1542
--enable-static[=PKGS] build static libraries [default=yes]
1543
--enable-fast-install[=PKGS]
1544
optimize for fast installation [default=yes]
1545
--disable-libtool-lock avoid locking (might break parallel builds)
1546
--disable-nls do not use Native Language Support
1547
--enable-localinstall Install all of the files locally instead of in
1548
system directories (for distcheck)
1551
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1552
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1553
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1555
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1556
--with-sysroot=DIR Search for dependent libraries within DIR
1557
(or the compiler's sysroot if not specified).
1559
Some influential environment variables:
1560
CC C compiler command
1561
CFLAGS C compiler flags
1562
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1563
nonstandard directory <lib dir>
1564
LIBS libraries to pass to the linker, e.g. -l<library>
1565
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1566
you have headers in a nonstandard directory <include dir>
1568
PKG_CONFIG path to pkg-config utility
1570
directories to add to pkg-config's search path
1572
path overriding pkg-config's built-in search path
1574
C compiler flags for SCOPE_DAEMON, overriding pkg-config
1576
linker flags for SCOPE_DAEMON, overriding pkg-config
1577
PREVIEW_PLAYER_CFLAGS
1578
C compiler flags for PREVIEW_PLAYER, overriding pkg-config
1580
linker flags for PREVIEW_PLAYER, overriding pkg-config
1582
Use these variables to override the choices made by `configure' or to help
1583
it to find libraries and programs with nonstandard names/locations.
1585
Report bugs to <https://code.launchpad.net/unity-china-music-scope>.
1590
if test "$ac_init_help" = "recursive"; then
1591
# If there are subdirs, report their specific --help.
1592
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1593
test -d "$ac_dir" ||
1594
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1599
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1602
# A ".." for each directory in $ac_dir_suffix.
1603
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1604
case $ac_top_builddir_sub in
1605
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609
ac_abs_top_builddir=$ac_pwd
1610
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611
# for backward compatibility:
1612
ac_top_builddir=$ac_top_build_prefix
1615
.) # We are building in place.
1617
ac_top_srcdir=$ac_top_builddir_sub
1618
ac_abs_top_srcdir=$ac_pwd ;;
1619
[\\/]* | ?:[\\/]* ) # Absolute name.
1620
ac_srcdir=$srcdir$ac_dir_suffix;
1621
ac_top_srcdir=$srcdir
1622
ac_abs_top_srcdir=$srcdir ;;
1624
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625
ac_top_srcdir=$ac_top_build_prefix$srcdir
1626
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1628
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1630
cd "$ac_dir" || { ac_status=$?; continue; }
1631
# Check for guested configure.
1632
if test -f "$ac_srcdir/configure.gnu"; then
1634
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635
elif test -f "$ac_srcdir/configure"; then
1637
$SHELL "$ac_srcdir/configure" --help=recursive
1639
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1641
cd "$ac_pwd" || { ac_status=$?; break; }
1645
test -n "$ac_init_help" && exit $ac_status
1646
if $ac_init_version; then
1648
unity-china-music-scope configure 1.0.2
1649
generated by GNU Autoconf 2.69
1651
Copyright (C) 2012 Free Software Foundation, Inc.
1652
This configure script is free software; the Free Software Foundation
1653
gives unlimited permission to copy, distribute and modify it.
1655
Copyright 2012-2013 Kylin Ltd
1661
## ------------------------ ##
1662
## Autoconf initialization. ##
1663
## ------------------------ ##
1665
# ac_fn_c_try_compile LINENO
1666
# --------------------------
1667
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1668
ac_fn_c_try_compile ()
1670
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1671
rm -f conftest.$ac_objext
1672
if { { ac_try="$ac_compile"
1674
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1675
*) ac_try_echo=$ac_try;;
1677
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1678
$as_echo "$ac_try_echo"; } >&5
1679
(eval "$ac_compile") 2>conftest.err
1681
if test -s conftest.err; then
1682
grep -v '^ *+' conftest.err >conftest.er1
1683
cat conftest.er1 >&5
1684
mv -f conftest.er1 conftest.err
1686
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1687
test $ac_status = 0; } && {
1688
test -z "$ac_c_werror_flag" ||
1689
test ! -s conftest.err
1690
} && test -s conftest.$ac_objext; then :
1693
$as_echo "$as_me: failed program was:" >&5
1694
sed 's/^/| /' conftest.$ac_ext >&5
1698
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1699
as_fn_set_status $ac_retval
1701
} # ac_fn_c_try_compile
1703
# ac_fn_c_try_cpp LINENO
1704
# ----------------------
1705
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1708
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709
if { { ac_try="$ac_cpp conftest.$ac_ext"
1711
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712
*) ac_try_echo=$ac_try;;
1714
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715
$as_echo "$ac_try_echo"; } >&5
1716
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1718
if test -s conftest.err; then
1719
grep -v '^ *+' conftest.err >conftest.er1
1720
cat conftest.er1 >&5
1721
mv -f conftest.er1 conftest.err
1723
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1724
test $ac_status = 0; } > conftest.i && {
1725
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1726
test ! -s conftest.err
1730
$as_echo "$as_me: failed program was:" >&5
1731
sed 's/^/| /' conftest.$ac_ext >&5
1735
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736
as_fn_set_status $ac_retval
1740
# ac_fn_c_try_run LINENO
1741
# ----------------------
1742
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1743
# that executables *can* be run.
1746
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747
if { { ac_try="$ac_link"
1749
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1750
*) ac_try_echo=$ac_try;;
1752
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1753
$as_echo "$ac_try_echo"; } >&5
1754
(eval "$ac_link") 2>&5
1756
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1757
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1758
{ { case "(($ac_try" in
1759
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760
*) ac_try_echo=$ac_try;;
1762
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763
$as_echo "$ac_try_echo"; } >&5
1764
(eval "$ac_try") 2>&5
1766
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1767
test $ac_status = 0; }; }; then :
1770
$as_echo "$as_me: program exited with status $ac_status" >&5
1771
$as_echo "$as_me: failed program was:" >&5
1772
sed 's/^/| /' conftest.$ac_ext >&5
1774
ac_retval=$ac_status
1776
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1777
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778
as_fn_set_status $ac_retval
1782
# ac_fn_c_try_link LINENO
1783
# -----------------------
1784
# Try to link conftest.$ac_ext, and return whether this succeeded.
1787
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1788
rm -f conftest.$ac_objext conftest$ac_exeext
1789
if { { ac_try="$ac_link"
1791
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792
*) ac_try_echo=$ac_try;;
1794
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795
$as_echo "$ac_try_echo"; } >&5
1796
(eval "$ac_link") 2>conftest.err
1798
if test -s conftest.err; then
1799
grep -v '^ *+' conftest.err >conftest.er1
1800
cat conftest.er1 >&5
1801
mv -f conftest.er1 conftest.err
1803
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1804
test $ac_status = 0; } && {
1805
test -z "$ac_c_werror_flag" ||
1806
test ! -s conftest.err
1807
} && test -s conftest$ac_exeext && {
1808
test "$cross_compiling" = yes ||
1809
test -x conftest$ac_exeext
1813
$as_echo "$as_me: failed program was:" >&5
1814
sed 's/^/| /' conftest.$ac_ext >&5
1818
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1819
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1820
# interfere with the next link command; also delete a directory that is
1821
# left behind by Apple's compiler. We do this before executing the actions.
1822
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1823
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1824
as_fn_set_status $ac_retval
1826
} # ac_fn_c_try_link
1828
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1829
# -------------------------------------------------------
1830
# Tests whether HEADER exists and can be compiled using the include files in
1831
# INCLUDES, setting the cache variable VAR accordingly.
1832
ac_fn_c_check_header_compile ()
1834
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836
$as_echo_n "checking for $2... " >&6; }
1837
if eval \${$3+:} false; then :
1838
$as_echo_n "(cached) " >&6
1840
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841
/* end confdefs.h. */
1845
if ac_fn_c_try_compile "$LINENO"; then :
1850
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854
$as_echo "$ac_res" >&6; }
1855
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857
} # ac_fn_c_check_header_compile
1859
# ac_fn_c_check_func LINENO FUNC VAR
1860
# ----------------------------------
1861
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1862
ac_fn_c_check_func ()
1864
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866
$as_echo_n "checking for $2... " >&6; }
1867
if eval \${$3+:} false; then :
1868
$as_echo_n "(cached) " >&6
1870
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871
/* end confdefs.h. */
1872
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1873
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1874
#define $2 innocuous_$2
1876
/* System header to define __stub macros and hopefully few prototypes,
1877
which can conflict with char $2 (); below.
1878
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1879
<limits.h> exists even on freestanding compilers. */
1882
# include <limits.h>
1884
# include <assert.h>
1889
/* Override any GCC internal prototype to avoid an error.
1890
Use char because int might match the return type of a GCC
1891
builtin and then its argument prototype would still apply. */
1896
/* The GNU C library defines this for functions which it implements
1897
to always fail with ENOSYS. Some functions are actually named
1898
something starting with __ and the normal name is an alias. */
1899
#if defined __stub_$2 || defined __stub___$2
1911
if ac_fn_c_try_link "$LINENO"; then :
1916
rm -f core conftest.err conftest.$ac_objext \
1917
conftest$ac_exeext conftest.$ac_ext
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1921
$as_echo "$ac_res" >&6; }
1922
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924
} # ac_fn_c_check_func
1926
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1927
# -------------------------------------------------------
1928
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1929
# the include files in INCLUDES and setting the cache variable VAR
1931
ac_fn_c_check_header_mongrel ()
1933
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934
if eval \${$3+:} false; then :
1935
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936
$as_echo_n "checking for $2... " >&6; }
1937
if eval \${$3+:} false; then :
1938
$as_echo_n "(cached) " >&6
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942
$as_echo "$ac_res" >&6; }
1944
# Is the header compilable?
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1946
$as_echo_n "checking $2 usability... " >&6; }
1947
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1948
/* end confdefs.h. */
1952
if ac_fn_c_try_compile "$LINENO"; then :
1953
ac_header_compiler=yes
1955
ac_header_compiler=no
1957
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1959
$as_echo "$ac_header_compiler" >&6; }
1961
# Is the header present?
1962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1963
$as_echo_n "checking $2 presence... " >&6; }
1964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965
/* end confdefs.h. */
1968
if ac_fn_c_try_cpp "$LINENO"; then :
1969
ac_header_preproc=yes
1971
ac_header_preproc=no
1973
rm -f conftest.err conftest.i conftest.$ac_ext
1974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1975
$as_echo "$ac_header_preproc" >&6; }
1977
# So? What about this header?
1978
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1981
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1983
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1987
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1988
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1989
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1991
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1993
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1994
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1995
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1996
( $as_echo "## ----------------------------------------------------------------- ##
1997
## Report this to https://code.launchpad.net/unity-china-music-scope ##
1998
## ----------------------------------------------------------------- ##"
1999
) | sed "s/^/$as_me: WARNING: /" >&2
2002
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2003
$as_echo_n "checking for $2... " >&6; }
2004
if eval \${$3+:} false; then :
2005
$as_echo_n "(cached) " >&6
2007
eval "$3=\$ac_header_compiler"
2010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011
$as_echo "$ac_res" >&6; }
2013
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015
} # ac_fn_c_check_header_mongrel
2016
cat >config.log <<_ACEOF
2017
This file contains any messages produced by compilers while
2018
running configure, to aid debugging if configure makes a mistake.
2020
It was created by unity-china-music-scope $as_me 1.0.2, which was
2021
generated by GNU Autoconf 2.69. Invocation command line was
2033
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2034
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2035
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2036
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2037
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2039
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2040
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2042
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2043
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2044
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2045
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2046
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2047
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2048
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2052
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056
test -z "$as_dir" && as_dir=.
2057
$as_echo "PATH: $as_dir"
2073
# Keep a trace of the command line.
2074
# Strip out --no-create and --no-recursion so they do not pile up.
2075
# Strip out --silent because we don't want to record it for future runs.
2076
# Also quote any args containing shell meta-characters.
2077
# Make two passes to allow for proper duplicate-argument suppression.
2081
ac_must_keep_next=false
2087
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2088
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2089
| -silent | --silent | --silen | --sile | --sil)
2092
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2095
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2097
as_fn_append ac_configure_args1 " '$ac_arg'"
2098
if test $ac_must_keep_next = true; then
2099
ac_must_keep_next=false # Got value, back to normal.
2102
*=* | --config-cache | -C | -disable-* | --disable-* \
2103
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2104
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2105
| -with-* | --with-* | -without-* | --without-* | --x)
2106
case "$ac_configure_args0 " in
2107
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2110
-* ) ac_must_keep_next=true ;;
2113
as_fn_append ac_configure_args " '$ac_arg'"
2118
{ ac_configure_args0=; unset ac_configure_args0;}
2119
{ ac_configure_args1=; unset ac_configure_args1;}
2121
# When interrupted or exit'd, cleanup temporary files, and complete
2122
# config.log. We remove comments because anyway the quotes in there
2123
# would cause problems or look ugly.
2124
# WARNING: Use '\'' to represent an apostrophe within the trap.
2125
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2126
trap 'exit_status=$?
2127
# Save into config.log some information that might help in debugging.
2131
$as_echo "## ---------------- ##
2132
## Cache variables. ##
2133
## ---------------- ##"
2135
# The following way of writing the cache mishandles newlines in values,
2137
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2138
eval ac_val=\$$ac_var
2142
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2143
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2146
_ | IFS | as_nl) ;; #(
2147
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2148
*) { eval $ac_var=; unset $ac_var;} ;;
2153
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2154
*${as_nl}ac_space=\ *)
2156
"s/'\''/'\''\\\\'\'''\''/g;
2157
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2160
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167
$as_echo "## ----------------- ##
2168
## Output variables. ##
2169
## ----------------- ##"
2171
for ac_var in $ac_subst_vars
2173
eval ac_val=\$$ac_var
2175
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2177
$as_echo "$ac_var='\''$ac_val'\''"
2181
if test -n "$ac_subst_files"; then
2182
$as_echo "## ------------------- ##
2183
## File substitutions. ##
2184
## ------------------- ##"
2186
for ac_var in $ac_subst_files
2188
eval ac_val=\$$ac_var
2190
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2192
$as_echo "$ac_var='\''$ac_val'\''"
2197
if test -s confdefs.h; then
2198
$as_echo "## ----------- ##
2205
test "$ac_signal" != 0 &&
2206
$as_echo "$as_me: caught signal $ac_signal"
2207
$as_echo "$as_me: exit $exit_status"
2209
rm -f core *.core core.conftest.* &&
2210
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2213
for ac_signal in 1 2 13 15; do
2214
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2218
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2219
rm -f -r conftest* confdefs.h
2221
$as_echo "/* confdefs.h */" > confdefs.h
2223
# Predefined preprocessor variables.
2225
cat >>confdefs.h <<_ACEOF
2226
#define PACKAGE_NAME "$PACKAGE_NAME"
2229
cat >>confdefs.h <<_ACEOF
2230
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2233
cat >>confdefs.h <<_ACEOF
2234
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2237
cat >>confdefs.h <<_ACEOF
2238
#define PACKAGE_STRING "$PACKAGE_STRING"
2241
cat >>confdefs.h <<_ACEOF
2242
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2245
cat >>confdefs.h <<_ACEOF
2246
#define PACKAGE_URL "$PACKAGE_URL"
2250
# Let the site file select an alternate cache file if it wants to.
2251
# Prefer an explicitly selected file to automatically selected ones.
2254
if test -n "$CONFIG_SITE"; then
2255
# We do not want a PATH search for config.site.
2256
case $CONFIG_SITE in #((
2257
-*) ac_site_file1=./$CONFIG_SITE;;
2258
*/*) ac_site_file1=$CONFIG_SITE;;
2259
*) ac_site_file1=./$CONFIG_SITE;;
2261
elif test "x$prefix" != xNONE; then
2262
ac_site_file1=$prefix/share/config.site
2263
ac_site_file2=$prefix/etc/config.site
2265
ac_site_file1=$ac_default_prefix/share/config.site
2266
ac_site_file2=$ac_default_prefix/etc/config.site
2268
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2270
test "x$ac_site_file" = xNONE && continue
2271
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2272
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2273
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2274
sed 's/^/| /' "$ac_site_file" >&5
2276
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2277
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2278
as_fn_error $? "failed to load site script $ac_site_file
2279
See \`config.log' for more details" "$LINENO" 5; }
2283
if test -r "$cache_file"; then
2284
# Some versions of bash will fail to source /dev/null (special files
2285
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2286
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2287
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2288
$as_echo "$as_me: loading cache $cache_file" >&6;}
2290
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2291
*) . "./$cache_file";;
2295
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2296
$as_echo "$as_me: creating cache $cache_file" >&6;}
2300
# Check that the precious variables saved in the cache have kept the same
2302
ac_cache_corrupted=false
2303
for ac_var in $ac_precious_vars; do
2304
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2305
eval ac_new_set=\$ac_env_${ac_var}_set
2306
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2307
eval ac_new_val=\$ac_env_${ac_var}_value
2308
case $ac_old_set,$ac_new_set in
2310
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2311
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2312
ac_cache_corrupted=: ;;
2314
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2315
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2316
ac_cache_corrupted=: ;;
2319
if test "x$ac_old_val" != "x$ac_new_val"; then
2320
# differences in whitespace do not lead to failure.
2321
ac_old_val_w=`echo x $ac_old_val`
2322
ac_new_val_w=`echo x $ac_new_val`
2323
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2324
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2325
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2326
ac_cache_corrupted=:
2328
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2329
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2330
eval $ac_var=\$ac_old_val
2332
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2333
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2334
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2335
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2338
# Pass precious variables to config.status.
2339
if test "$ac_new_set" = set; then
2341
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2342
*) ac_arg=$ac_var=$ac_new_val ;;
2344
case " $ac_configure_args " in
2345
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2346
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2350
if $ac_cache_corrupted; then
2351
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2352
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2353
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2354
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2355
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2357
## -------------------- ##
2358
## Main body of script. ##
2359
## -------------------- ##
2362
ac_cpp='$CPP $CPPFLAGS'
2363
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2364
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2365
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2370
am__api_version='1.13'
2373
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2374
if test -f "$ac_dir/install-sh"; then
2376
ac_install_sh="$ac_aux_dir/install-sh -c"
2378
elif test -f "$ac_dir/install.sh"; then
2380
ac_install_sh="$ac_aux_dir/install.sh -c"
2382
elif test -f "$ac_dir/shtool"; then
2384
ac_install_sh="$ac_aux_dir/shtool install -c"
2388
if test -z "$ac_aux_dir"; then
2389
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2392
# These three variables are undocumented and unsupported,
2393
# and are intended to be withdrawn in a future Autoconf release.
2394
# They can cause serious problems if a builder's source tree is in a directory
2395
# whose full name contains unusual characters.
2396
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2397
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2398
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2401
# Find a good install program. We prefer a C program (faster),
2402
# so one script is as good as another. But avoid the broken or
2403
# incompatible versions:
2404
# SysV /etc/install, /usr/sbin/install
2405
# SunOS /usr/etc/install
2406
# IRIX /sbin/install
2408
# AmigaOS /C/install, which installs bootblocks on floppy discs
2409
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2410
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2411
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2412
# OS/2's system install, which has a completely different semantic
2413
# ./install, which can be erroneously created by make from ./install.sh.
2414
# Reject install programs that cannot install multiple files.
2415
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2416
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2417
if test -z "$INSTALL"; then
2418
if ${ac_cv_path_install+:} false; then :
2419
$as_echo_n "(cached) " >&6
2421
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425
test -z "$as_dir" && as_dir=.
2426
# Account for people who put trailing slashes in PATH elements.
2427
case $as_dir/ in #((
2428
./ | .// | /[cC]/* | \
2429
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2430
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2433
# OSF1 and SCO ODT 3.0 have their own names for install.
2434
# Don't use installbsd from OSF since it installs stuff as root
2436
for ac_prog in ginstall scoinst install; do
2437
for ac_exec_ext in '' $ac_executable_extensions; do
2438
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2439
if test $ac_prog = install &&
2440
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2441
# AIX install. It has an incompatible calling convention.
2443
elif test $ac_prog = install &&
2444
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2445
# program-specific install script used by HP pwplus--don't use.
2448
rm -rf conftest.one conftest.two conftest.dir
2449
echo one > conftest.one
2450
echo two > conftest.two
2452
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2453
test -s conftest.one && test -s conftest.two &&
2454
test -s conftest.dir/conftest.one &&
2455
test -s conftest.dir/conftest.two
2457
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2470
rm -rf conftest.one conftest.two conftest.dir
2473
if test "${ac_cv_path_install+set}" = set; then
2474
INSTALL=$ac_cv_path_install
2476
# As a last resort, use the slow shell script. Don't cache a
2477
# value for INSTALL within a source directory, because that will
2478
# break other packages using the cache if that directory is
2479
# removed, or if the value is a relative name.
2480
INSTALL=$ac_install_sh
2483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2484
$as_echo "$INSTALL" >&6; }
2486
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2487
# It thinks the first close brace ends the variable substitution.
2488
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2490
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2492
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2495
$as_echo_n "checking whether build environment is sane... " >&6; }
2496
# Reject unsafe characters in $srcdir or the absolute working directory
2497
# name. Accept space and tab only in the latter.
2501
*[\\\"\#\$\&\'\`$am_lf]*)
2502
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2505
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2506
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2509
# Do 'set' in a subshell so we don't clobber the current shell's
2510
# arguments. Must try -L first in case configure is actually a
2511
# symlink; some systems play weird games with the mod time of symlinks
2512
# (eg FreeBSD returns the mod time of the symlink's containing
2516
for am_try in 1 2; do
2517
echo "timestamp, slept: $am_has_slept" > conftest.file
2518
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2519
if test "$*" = "X"; then
2521
set X `ls -t "$srcdir/configure" conftest.file`
2523
if test "$*" != "X $srcdir/configure conftest.file" \
2524
&& test "$*" != "X conftest.file $srcdir/configure"; then
2526
# If neither matched, then we have a broken ls. This can happen
2527
# if, for instance, CONFIG_SHELL is bash and it inherits a
2528
# broken ls alias from the environment. This has actually
2529
# happened. Such a system could not be considered "sane".
2530
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2531
alias in your environment" "$LINENO" 5
2533
if test "$2" = conftest.file || test $am_try -eq 2; then
2540
test "$2" = conftest.file
2546
as_fn_error $? "newly created file is older than distributed files!
2547
Check your system clock" "$LINENO" 5
2549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2550
$as_echo "yes" >&6; }
2551
# If we didn't sleep, we still need to ensure time stamps of config.status and
2552
# generated files are strictly newer.
2554
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2561
test "$program_prefix" != NONE &&
2562
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2563
# Use a double $ so make ignores it.
2564
test "$program_suffix" != NONE &&
2565
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2566
# Double any \ or $.
2567
# By default was `s,x,x', remove it if useless.
2568
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2569
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2571
# expand $ac_aux_dir to an absolute path
2572
am_aux_dir=`cd $ac_aux_dir && pwd`
2574
if test x"${MISSING+set}" != xset; then
2577
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2579
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2582
# Use eval to expand $SHELL
2583
if eval "$MISSING --is-lightweight"; then
2584
am_missing_run="$MISSING "
2587
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2588
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2591
if test x"${install_sh}" != xset; then
2594
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2596
install_sh="\${SHELL} $am_aux_dir/install-sh"
2600
# Installed binaries are usually stripped using 'strip' when the user
2601
# run "make install-strip". However 'strip' might not be the right
2602
# tool to use in cross-compilation environments, therefore Automake
2603
# will honor the 'STRIP' environment variable to overrule this program.
2604
if test "$cross_compiling" != no; then
2605
if test -n "$ac_tool_prefix"; then
2606
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2607
set dummy ${ac_tool_prefix}strip; ac_word=$2
2608
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2609
$as_echo_n "checking for $ac_word... " >&6; }
2610
if ${ac_cv_prog_STRIP+:} false; then :
2611
$as_echo_n "(cached) " >&6
2613
if test -n "$STRIP"; then
2614
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2616
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620
test -z "$as_dir" && as_dir=.
2621
for ac_exec_ext in '' $ac_executable_extensions; do
2622
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2623
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2624
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2633
STRIP=$ac_cv_prog_STRIP
2634
if test -n "$STRIP"; then
2635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2636
$as_echo "$STRIP" >&6; }
2638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639
$as_echo "no" >&6; }
2644
if test -z "$ac_cv_prog_STRIP"; then
2646
# Extract the first word of "strip", so it can be a program name with args.
2647
set dummy strip; ac_word=$2
2648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649
$as_echo_n "checking for $ac_word... " >&6; }
2650
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2651
$as_echo_n "(cached) " >&6
2653
if test -n "$ac_ct_STRIP"; then
2654
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2656
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660
test -z "$as_dir" && as_dir=.
2661
for ac_exec_ext in '' $ac_executable_extensions; do
2662
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663
ac_cv_prog_ac_ct_STRIP="strip"
2664
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2673
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2674
if test -n "$ac_ct_STRIP"; then
2675
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2676
$as_echo "$ac_ct_STRIP" >&6; }
2678
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679
$as_echo "no" >&6; }
2682
if test "x$ac_ct_STRIP" = x; then
2685
case $cross_compiling:$ac_tool_warned in
2687
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2688
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2689
ac_tool_warned=yes ;;
2694
STRIP="$ac_cv_prog_STRIP"
2698
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2701
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2702
if test -z "$MKDIR_P"; then
2703
if ${ac_cv_path_mkdir+:} false; then :
2704
$as_echo_n "(cached) " >&6
2706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2707
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2710
test -z "$as_dir" && as_dir=.
2711
for ac_prog in mkdir gmkdir; do
2712
for ac_exec_ext in '' $ac_executable_extensions; do
2713
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2714
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2715
'mkdir (GNU coreutils) '* | \
2716
'mkdir (coreutils) '* | \
2717
'mkdir (fileutils) '4.1*)
2718
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2728
test -d ./--version && rmdir ./--version
2729
if test "${ac_cv_path_mkdir+set}" = set; then
2730
MKDIR_P="$ac_cv_path_mkdir -p"
2732
# As a last resort, use the slow shell script. Don't cache a
2733
# value for MKDIR_P within a source directory, because that will
2734
# break other packages using the cache if that directory is
2735
# removed, or if the value is a relative name.
2736
MKDIR_P="$ac_install_sh -d"
2739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2740
$as_echo "$MKDIR_P" >&6; }
2742
for ac_prog in gawk mawk nawk awk
2744
# Extract the first word of "$ac_prog", so it can be a program name with args.
2745
set dummy $ac_prog; ac_word=$2
2746
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2747
$as_echo_n "checking for $ac_word... " >&6; }
2748
if ${ac_cv_prog_AWK+:} false; then :
2749
$as_echo_n "(cached) " >&6
2751
if test -n "$AWK"; then
2752
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2758
test -z "$as_dir" && as_dir=.
2759
for ac_exec_ext in '' $ac_executable_extensions; do
2760
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2761
ac_cv_prog_AWK="$ac_prog"
2762
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772
if test -n "$AWK"; then
2773
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2774
$as_echo "$AWK" >&6; }
2776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2777
$as_echo "no" >&6; }
2781
test -n "$AWK" && break
2784
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2785
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2787
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2788
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2789
$as_echo_n "(cached) " >&6
2791
cat >conftest.make <<\_ACEOF
2794
@echo '@@@%%%=$(MAKE)=@@@%%%'
2796
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2797
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2799
eval ac_cv_prog_make_${ac_make}_set=yes;;
2801
eval ac_cv_prog_make_${ac_make}_set=no;;
2805
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2807
$as_echo "yes" >&6; }
2810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811
$as_echo "no" >&6; }
2812
SET_MAKE="MAKE=${MAKE-make}"
2815
rm -rf .tst 2>/dev/null
2816
mkdir .tst 2>/dev/null
2817
if test -d .tst; then
2822
rmdir .tst 2>/dev/null
2824
# Check whether --enable-silent-rules was given.
2825
if test "${enable_silent_rules+set}" = set; then :
2826
enableval=$enable_silent_rules;
2829
case $enable_silent_rules in # (((
2830
yes) AM_DEFAULT_VERBOSITY=0;;
2831
no) AM_DEFAULT_VERBOSITY=1;;
2832
*) AM_DEFAULT_VERBOSITY=1;;
2834
am_make=${MAKE-make}
2835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2836
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2837
if ${am_cv_make_support_nested_variables+:} false; then :
2838
$as_echo_n "(cached) " >&6
2840
if $as_echo 'TRUE=$(BAR$(V))
2846
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2847
am_cv_make_support_nested_variables=yes
2849
am_cv_make_support_nested_variables=no
2852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2853
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2854
if test $am_cv_make_support_nested_variables = yes; then
2856
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2858
AM_V=$AM_DEFAULT_VERBOSITY
2859
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2863
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2864
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2865
# is not polluted with repeated "-I."
2866
am__isrc=' -I$(srcdir)'
2867
# test to see if srcdir already configured
2868
if test -f $srcdir/config.status; then
2869
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2873
# test whether we have cygpath
2874
if test -z "$CYGPATH_W"; then
2875
if (cygpath --version) >/dev/null 2>/dev/null; then
2876
CYGPATH_W='cygpath -w'
2883
# Define the identity of the package.
2885
PACKAGE=unity-china-music-scope
2889
cat >>confdefs.h <<_ACEOF
2890
#define PACKAGE "$PACKAGE"
2894
cat >>confdefs.h <<_ACEOF
2895
#define VERSION "$VERSION"
2898
# Some tools Automake needs.
2900
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2903
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2906
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2909
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2912
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2914
# For better backward compatibility. To be removed once Automake 1.9.x
2915
# dies out for good. For more background, see:
2916
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2917
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2918
mkdir_p='$(MKDIR_P)'
2920
# We need awk for the "check" target. The system "awk" is bad on
2922
# Always define AMTAR for backward compatibility. Yes, it's still used
2923
# in the wild :-( We should find a proper way to deprecate it ...
2927
# We'll loop over all known methods to create a tar archive until one works.
2928
_am_tools='gnutar pax cpio none'
2930
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2938
#####################################################
2939
# Silent build rules
2940
#####################################################
2941
# Check whether --enable-silent-rules was given.
2942
if test "${enable_silent_rules+set}" = set; then :
2943
enableval=$enable_silent_rules;
2946
case $enable_silent_rules in # (((
2947
yes) AM_DEFAULT_VERBOSITY=0;;
2948
no) AM_DEFAULT_VERBOSITY=1;;
2949
*) AM_DEFAULT_VERBOSITY=0;;
2951
am_make=${MAKE-make}
2952
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2953
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2954
if ${am_cv_make_support_nested_variables+:} false; then :
2955
$as_echo_n "(cached) " >&6
2957
if $as_echo 'TRUE=$(BAR$(V))
2963
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2964
am_cv_make_support_nested_variables=yes
2966
am_cv_make_support_nested_variables=no
2969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2970
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2971
if test $am_cv_make_support_nested_variables = yes; then
2973
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2975
AM_V=$AM_DEFAULT_VERBOSITY
2976
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2983
ac_config_headers="$ac_config_headers config.h"
2986
#####################################################
2987
# Init the other things we depend on
2988
#####################################################
2990
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2991
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2992
# Check whether --enable-maintainer-mode was given.
2993
if test "${enable_maintainer_mode+set}" = set; then :
2994
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2996
USE_MAINTAINER_MODE=no
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3000
$as_echo "$USE_MAINTAINER_MODE" >&6; }
3001
if test $USE_MAINTAINER_MODE = yes; then
3002
MAINTAINER_MODE_TRUE=
3003
MAINTAINER_MODE_FALSE='#'
3005
MAINTAINER_MODE_TRUE='#'
3006
MAINTAINER_MODE_FALSE=
3009
MAINT=$MAINTAINER_MODE_TRUE
3012
# Extract the first word of "valac", so it can be a program name with args.
3013
set dummy valac; ac_word=$2
3014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3015
$as_echo_n "checking for $ac_word... " >&6; }
3016
if ${ac_cv_path_VALAC+:} false; then :
3017
$as_echo_n "(cached) " >&6
3021
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
3024
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028
test -z "$as_dir" && as_dir=.
3029
for ac_exec_ext in '' $ac_executable_extensions; do
3030
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3031
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
3032
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3039
test -z "$ac_cv_path_VALAC" && ac_cv_path_VALAC="valac"
3043
VALAC=$ac_cv_path_VALAC
3044
if test -n "$VALAC"; then
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
3046
$as_echo "$VALAC" >&6; }
3048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3049
$as_echo "no" >&6; }
3053
if test "$VALAC" != valac && test -n "0.16.0"; then :
3054
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $VALAC is at least version 0.16.0" >&5
3055
$as_echo_n "checking whether $VALAC is at least version 0.16.0... " >&6; }
3056
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
3058
as_arg_v2="$am__vala_version"
3059
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
3062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3063
$as_echo "yes" >&6; } ;; #(
3065
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3066
$as_echo "yes" >&6; } ;; #(
3068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3069
$as_echo "no" >&6; }
3075
if test "$VALAC" = valac; then
3076
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no proper vala compiler found" >&5
3077
$as_echo "$as_me: WARNING: no proper vala compiler found" >&2;}
3078
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: you will not be able to compile vala source files" >&5
3079
$as_echo "$as_me: WARNING: you will not be able to compile vala source files" >&2;}
3083
if test -z "$VALAC"; then :
3084
as_fn_error $? "\"No valac compiler found.\"" "$LINENO" 5
3087
ac_cpp='$CPP $CPPFLAGS'
3088
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3091
if test -n "$ac_tool_prefix"; then
3092
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3093
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3094
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095
$as_echo_n "checking for $ac_word... " >&6; }
3096
if ${ac_cv_prog_CC+:} false; then :
3097
$as_echo_n "(cached) " >&6
3099
if test -n "$CC"; then
3100
ac_cv_prog_CC="$CC" # Let the user override the test.
3102
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3106
test -z "$as_dir" && as_dir=.
3107
for ac_exec_ext in '' $ac_executable_extensions; do
3108
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3109
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3110
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3120
if test -n "$CC"; then
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3122
$as_echo "$CC" >&6; }
3124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125
$as_echo "no" >&6; }
3130
if test -z "$ac_cv_prog_CC"; then
3132
# Extract the first word of "gcc", so it can be a program name with args.
3133
set dummy gcc; ac_word=$2
3134
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135
$as_echo_n "checking for $ac_word... " >&6; }
3136
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3137
$as_echo_n "(cached) " >&6
3139
if test -n "$ac_ct_CC"; then
3140
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3142
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146
test -z "$as_dir" && as_dir=.
3147
for ac_exec_ext in '' $ac_executable_extensions; do
3148
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149
ac_cv_prog_ac_ct_CC="gcc"
3150
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3160
if test -n "$ac_ct_CC"; then
3161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3162
$as_echo "$ac_ct_CC" >&6; }
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165
$as_echo "no" >&6; }
3168
if test "x$ac_ct_CC" = x; then
3171
case $cross_compiling:$ac_tool_warned in
3173
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3174
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3175
ac_tool_warned=yes ;;
3183
if test -z "$CC"; then
3184
if test -n "$ac_tool_prefix"; then
3185
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3186
set dummy ${ac_tool_prefix}cc; ac_word=$2
3187
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3188
$as_echo_n "checking for $ac_word... " >&6; }
3189
if ${ac_cv_prog_CC+:} false; then :
3190
$as_echo_n "(cached) " >&6
3192
if test -n "$CC"; then
3193
ac_cv_prog_CC="$CC" # Let the user override the test.
3195
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3199
test -z "$as_dir" && as_dir=.
3200
for ac_exec_ext in '' $ac_executable_extensions; do
3201
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3202
ac_cv_prog_CC="${ac_tool_prefix}cc"
3203
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3213
if test -n "$CC"; then
3214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3215
$as_echo "$CC" >&6; }
3217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218
$as_echo "no" >&6; }
3224
if test -z "$CC"; then
3225
# Extract the first word of "cc", so it can be a program name with args.
3226
set dummy cc; ac_word=$2
3227
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3228
$as_echo_n "checking for $ac_word... " >&6; }
3229
if ${ac_cv_prog_CC+:} false; then :
3230
$as_echo_n "(cached) " >&6
3232
if test -n "$CC"; then
3233
ac_cv_prog_CC="$CC" # Let the user override the test.
3236
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240
test -z "$as_dir" && as_dir=.
3241
for ac_exec_ext in '' $ac_executable_extensions; do
3242
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3243
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3244
ac_prog_rejected=yes
3248
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255
if test $ac_prog_rejected = yes; then
3256
# We found a bogon in the path, so make sure we never use it.
3257
set dummy $ac_cv_prog_CC
3259
if test $# != 0; then
3260
# We chose a different compiler from the bogus one.
3261
# However, it has the same basename, so the bogon will be chosen
3262
# first if we set CC to just the basename; use the full file name.
3264
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3270
if test -n "$CC"; then
3271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3272
$as_echo "$CC" >&6; }
3274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3275
$as_echo "no" >&6; }
3280
if test -z "$CC"; then
3281
if test -n "$ac_tool_prefix"; then
3282
for ac_prog in cl.exe
3284
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3285
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287
$as_echo_n "checking for $ac_word... " >&6; }
3288
if ${ac_cv_prog_CC+:} false; then :
3289
$as_echo_n "(cached) " >&6
3291
if test -n "$CC"; then
3292
ac_cv_prog_CC="$CC" # Let the user override the test.
3294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298
test -z "$as_dir" && as_dir=.
3299
for ac_exec_ext in '' $ac_executable_extensions; do
3300
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3301
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3302
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312
if test -n "$CC"; then
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3314
$as_echo "$CC" >&6; }
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317
$as_echo "no" >&6; }
3321
test -n "$CC" && break
3324
if test -z "$CC"; then
3326
for ac_prog in cl.exe
3328
# Extract the first word of "$ac_prog", so it can be a program name with args.
3329
set dummy $ac_prog; ac_word=$2
3330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3331
$as_echo_n "checking for $ac_word... " >&6; }
3332
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3333
$as_echo_n "(cached) " >&6
3335
if test -n "$ac_ct_CC"; then
3336
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3338
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3342
test -z "$as_dir" && as_dir=.
3343
for ac_exec_ext in '' $ac_executable_extensions; do
3344
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3345
ac_cv_prog_ac_ct_CC="$ac_prog"
3346
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3355
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3356
if test -n "$ac_ct_CC"; then
3357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3358
$as_echo "$ac_ct_CC" >&6; }
3360
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3361
$as_echo "no" >&6; }
3365
test -n "$ac_ct_CC" && break
3368
if test "x$ac_ct_CC" = x; then
3371
case $cross_compiling:$ac_tool_warned in
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3374
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3375
ac_tool_warned=yes ;;
3384
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386
as_fn_error $? "no acceptable C compiler found in \$PATH
3387
See \`config.log' for more details" "$LINENO" 5; }
3389
# Provide some information about the compiler.
3390
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3393
for ac_option in --version -v -V -qversion; do
3394
{ { ac_try="$ac_compiler $ac_option >&5"
3396
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397
*) ac_try_echo=$ac_try;;
3399
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400
$as_echo "$ac_try_echo"; } >&5
3401
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3403
if test -s conftest.err; then
3405
... rest of stderr output deleted ...
3406
10q' conftest.err >conftest.er1
3407
cat conftest.er1 >&5
3409
rm -f conftest.er1 conftest.err
3410
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3411
test $ac_status = 0; }
3414
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3415
/* end confdefs.h. */
3425
ac_clean_files_save=$ac_clean_files
3426
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3427
# Try to create an executable without -o first, disregard a.out.
3428
# It will help us diagnose broken compilers, and finding out an intuition
3430
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3431
$as_echo_n "checking whether the C compiler works... " >&6; }
3432
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3434
# The possible output files:
3435
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3438
for ac_file in $ac_files
3441
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3442
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3447
if { { ac_try="$ac_link_default"
3449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3450
*) ac_try_echo=$ac_try;;
3452
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3453
$as_echo "$ac_try_echo"; } >&5
3454
(eval "$ac_link_default") 2>&5
3456
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3457
test $ac_status = 0; }; then :
3458
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3459
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3460
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3461
# so that the user can short-circuit this test for compilers unknown to
3463
for ac_file in $ac_files ''
3465
test -f "$ac_file" || continue
3467
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3470
# We found the default executable, but exeext='' is most
3474
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3476
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3478
# We set ac_cv_exeext here because the later test for it is not
3479
# safe: cross compilers may not add the suffix if given an `-o'
3480
# argument, so we may need to know it at that point already.
3481
# Even if this section looks crufty: it has the advantage of
3488
test "$ac_cv_exeext" = no && ac_cv_exeext=
3493
if test -z "$ac_file"; then :
3494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495
$as_echo "no" >&6; }
3496
$as_echo "$as_me: failed program was:" >&5
3497
sed 's/^/| /' conftest.$ac_ext >&5
3499
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3500
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3501
as_fn_error 77 "C compiler cannot create executables
3502
See \`config.log' for more details" "$LINENO" 5; }
3504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3505
$as_echo "yes" >&6; }
3507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3508
$as_echo_n "checking for C compiler default output file name... " >&6; }
3509
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3510
$as_echo "$ac_file" >&6; }
3511
ac_exeext=$ac_cv_exeext
3513
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3514
ac_clean_files=$ac_clean_files_save
3515
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3516
$as_echo_n "checking for suffix of executables... " >&6; }
3517
if { { ac_try="$ac_link"
3519
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3520
*) ac_try_echo=$ac_try;;
3522
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3523
$as_echo "$ac_try_echo"; } >&5
3524
(eval "$ac_link") 2>&5
3526
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3527
test $ac_status = 0; }; then :
3528
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3529
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3530
# work properly (i.e., refer to `conftest.exe'), while it won't with
3532
for ac_file in conftest.exe conftest conftest.*; do
3533
test -f "$ac_file" || continue
3535
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3536
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3542
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3543
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3544
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3545
See \`config.log' for more details" "$LINENO" 5; }
3547
rm -f conftest conftest$ac_cv_exeext
3548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3549
$as_echo "$ac_cv_exeext" >&6; }
3551
rm -f conftest.$ac_ext
3552
EXEEXT=$ac_cv_exeext
3554
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555
/* end confdefs.h. */
3560
FILE *f = fopen ("conftest.out", "w");
3561
return ferror (f) || fclose (f) != 0;
3567
ac_clean_files="$ac_clean_files conftest.out"
3568
# Check that the compiler produces executables we can run. If not, either
3569
# the compiler is broken, or we cross compile.
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3571
$as_echo_n "checking whether we are cross compiling... " >&6; }
3572
if test "$cross_compiling" != yes; then
3573
{ { ac_try="$ac_link"
3575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3576
*) ac_try_echo=$ac_try;;
3578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3579
$as_echo "$ac_try_echo"; } >&5
3580
(eval "$ac_link") 2>&5
3582
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583
test $ac_status = 0; }
3584
if { ac_try='./conftest$ac_cv_exeext'
3585
{ { case "(($ac_try" in
3586
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3587
*) ac_try_echo=$ac_try;;
3589
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3590
$as_echo "$ac_try_echo"; } >&5
3591
(eval "$ac_try") 2>&5
3593
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3594
test $ac_status = 0; }; }; then
3597
if test "$cross_compiling" = maybe; then
3600
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602
as_fn_error $? "cannot run C compiled programs.
3603
If you meant to cross compile, use \`--host'.
3604
See \`config.log' for more details" "$LINENO" 5; }
3608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3609
$as_echo "$cross_compiling" >&6; }
3611
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3612
ac_clean_files=$ac_clean_files_save
3613
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3614
$as_echo_n "checking for suffix of object files... " >&6; }
3615
if ${ac_cv_objext+:} false; then :
3616
$as_echo_n "(cached) " >&6
3618
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619
/* end confdefs.h. */
3629
rm -f conftest.o conftest.obj
3630
if { { ac_try="$ac_compile"
3632
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633
*) ac_try_echo=$ac_try;;
3635
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3636
$as_echo "$ac_try_echo"; } >&5
3637
(eval "$ac_compile") 2>&5
3639
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3640
test $ac_status = 0; }; then :
3641
for ac_file in conftest.o conftest.obj conftest.*; do
3642
test -f "$ac_file" || continue;
3644
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3645
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3650
$as_echo "$as_me: failed program was:" >&5
3651
sed 's/^/| /' conftest.$ac_ext >&5
3653
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3654
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3655
as_fn_error $? "cannot compute suffix of object files: cannot compile
3656
See \`config.log' for more details" "$LINENO" 5; }
3658
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3661
$as_echo "$ac_cv_objext" >&6; }
3662
OBJEXT=$ac_cv_objext
3664
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3665
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3666
if ${ac_cv_c_compiler_gnu+:} false; then :
3667
$as_echo_n "(cached) " >&6
3669
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3670
/* end confdefs.h. */
3683
if ac_fn_c_try_compile "$LINENO"; then :
3688
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3689
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3692
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3693
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3694
if test $ac_compiler_gnu = yes; then
3699
ac_test_CFLAGS=${CFLAGS+set}
3700
ac_save_CFLAGS=$CFLAGS
3701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3702
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3703
if ${ac_cv_prog_cc_g+:} false; then :
3704
$as_echo_n "(cached) " >&6
3706
ac_save_c_werror_flag=$ac_c_werror_flag
3707
ac_c_werror_flag=yes
3710
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3711
/* end confdefs.h. */
3721
if ac_fn_c_try_compile "$LINENO"; then :
3725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3726
/* end confdefs.h. */
3736
if ac_fn_c_try_compile "$LINENO"; then :
3739
ac_c_werror_flag=$ac_save_c_werror_flag
3741
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3742
/* end confdefs.h. */
3752
if ac_fn_c_try_compile "$LINENO"; then :
3755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3759
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3760
ac_c_werror_flag=$ac_save_c_werror_flag
3762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3763
$as_echo "$ac_cv_prog_cc_g" >&6; }
3764
if test "$ac_test_CFLAGS" = set; then
3765
CFLAGS=$ac_save_CFLAGS
3766
elif test $ac_cv_prog_cc_g = yes; then
3767
if test "$GCC" = yes; then
3773
if test "$GCC" = yes; then
3779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3780
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3781
if ${ac_cv_prog_cc_c89+:} false; then :
3782
$as_echo_n "(cached) " >&6
3784
ac_cv_prog_cc_c89=no
3786
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3787
/* end confdefs.h. */
3791
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3792
struct buf { int x; };
3793
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3794
static char *e (p, i)
3800
static char *f (char * (*g) (char **, int), char **p, ...)
3805
s = g (p, va_arg (v,int));
3810
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3811
function prototypes and stuff, but not '\xHH' hex character constants.
3812
These don't provoke an error unfortunately, instead are silently treated
3813
as 'x'. The following induces an error, until -std is added to get
3814
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3815
array size at least. It's necessary to write '\x00'==0 to get something
3816
that's true only with -std. */
3817
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3819
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3820
inside strings and character constants. */
3822
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3824
int test (int i, double x);
3825
struct s1 {int (*f) (int a);};
3826
struct s2 {int (*f) (double a);};
3827
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3833
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3838
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3839
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3841
CC="$ac_save_CC $ac_arg"
3842
if ac_fn_c_try_compile "$LINENO"; then :
3843
ac_cv_prog_cc_c89=$ac_arg
3845
rm -f core conftest.err conftest.$ac_objext
3846
test "x$ac_cv_prog_cc_c89" != "xno" && break
3848
rm -f conftest.$ac_ext
3853
case "x$ac_cv_prog_cc_c89" in
3855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3856
$as_echo "none needed" >&6; } ;;
3858
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3859
$as_echo "unsupported" >&6; } ;;
3861
CC="$CC $ac_cv_prog_cc_c89"
3862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3863
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3865
if test "x$ac_cv_prog_cc_c89" != xno; then :
3870
ac_cpp='$CPP $CPPFLAGS'
3871
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3872
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3873
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3874
DEPDIR="${am__leading_dot}deps"
3876
ac_config_commands="$ac_config_commands depfiles"
3879
am_make=${MAKE-make}
3880
cat > confinc << 'END'
3882
@echo this is the am__doit target
3885
# If we don't find an include directive, just comment out the code.
3886
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3887
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3891
# First try GNU make style include.
3892
echo "include confinc" > confmf
3893
# Ignore all kinds of additional output from 'make'.
3894
case `$am_make -s -f confmf 2> /dev/null` in #(
3895
*the\ am__doit\ target*)
3901
# Now try BSD make style include.
3902
if test "$am__include" = "#"; then
3903
echo '.include "confinc"' > confmf
3904
case `$am_make -s -f confmf 2> /dev/null` in #(
3905
*the\ am__doit\ target*)
3906
am__include=.include
3914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3915
$as_echo "$_am_result" >&6; }
3916
rm -f confinc confmf
3918
# Check whether --enable-dependency-tracking was given.
3919
if test "${enable_dependency_tracking+set}" = set; then :
3920
enableval=$enable_dependency_tracking;
3923
if test "x$enable_dependency_tracking" != xno; then
3924
am_depcomp="$ac_aux_dir/depcomp"
3928
if test "x$enable_dependency_tracking" != xno; then
3938
depcc="$CC" am_compiler_list=
3940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3941
$as_echo_n "checking dependency style of $depcc... " >&6; }
3942
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3943
$as_echo_n "(cached) " >&6
3945
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3946
# We make a subdir and do the tests there. Otherwise we can end up
3947
# making bogus files that we don't know about and never remove. For
3948
# instance it was reported that on HP-UX the gcc test will end up
3949
# making a dummy file named 'D' -- because '-MD' means "put the output
3953
# Copy depcomp to subdir because otherwise we won't find it if we're
3954
# using a relative directory.
3955
cp "$am_depcomp" conftest.dir
3957
# We will build objects and dependencies in a subdirectory because
3958
# it helps to detect inapplicable dependency modes. For instance
3959
# both Tru64's cc and ICC support -MD to output dependencies as a
3960
# side effect of compilation, but ICC will put the dependencies in
3961
# the current directory while Tru64 will put them in the object
3965
am_cv_CC_dependencies_compiler_type=none
3966
if test "$am_compiler_list" = ""; then
3967
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3970
case " $depcc " in #(
3971
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3974
for depmode in $am_compiler_list; do
3975
# Setup a source with many dependencies, because some compilers
3976
# like to wrap large dependency lists on column 80 (with \), and
3977
# we should not choose a depcomp mode which is confused by this.
3979
# We need to recreate these files for each test, as the compiler may
3980
# overwrite some of them when testing with obscure command lines.
3981
# This happens at least with the AIX C compiler.
3983
for i in 1 2 3 4 5 6; do
3984
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3985
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3986
# Solaris 10 /bin/sh.
3987
echo '/* dummy */' > sub/conftst$i.h
3989
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3991
# We check with '-c' and '-o' for the sake of the "dashmstdout"
3992
# mode. It turns out that the SunPro C++ compiler does not properly
3993
# handle '-M -o', and we need to detect this. Also, some Intel
3994
# versions had trouble with output in subdirs.
3995
am__obj=sub/conftest.${OBJEXT-o}
3996
am__minus_obj="-o $am__obj"
3999
# This depmode causes a compiler race in universal mode.
4000
test "$am__universal" = false || continue
4003
# After this tag, mechanisms are not by side-effect, so they'll
4004
# only be used when explicitly requested.
4005
if test "x$enable_dependency_tracking" = xyes; then
4011
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4012
# This compiler won't grok '-c -o', but also, the minuso test has
4013
# not run yet. These depmodes are late enough in the game, and
4014
# so weak that their functioning should not be impacted.
4015
am__obj=conftest.${OBJEXT-o}
4020
if depmode=$depmode \
4021
source=sub/conftest.c object=$am__obj \
4022
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4023
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4024
>/dev/null 2>conftest.err &&
4025
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4026
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4027
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4028
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4029
# icc doesn't choke on unknown options, it will just issue warnings
4030
# or remarks (even with -Werror). So we grep stderr for any message
4031
# that says an option was ignored or not supported.
4032
# When given -MP, icc 7.0 and 7.1 complain thusly:
4033
# icc: Command line warning: ignoring option '-M'; no argument required
4034
# The diagnosis changed in icc 8.0:
4035
# icc: Command line remark: option '-MP' not supported
4036
if (grep 'ignoring option' conftest.err ||
4037
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4038
am_cv_CC_dependencies_compiler_type=$depmode
4047
am_cv_CC_dependencies_compiler_type=none
4051
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4052
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4053
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4056
test "x$enable_dependency_tracking" != xno \
4057
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4059
am__fastdepCC_FALSE='#'
4061
am__fastdepCC_TRUE='#'
4062
am__fastdepCC_FALSE=
4066
if test "x$CC" != xcc; then
4067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4068
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4071
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4073
set dummy $CC; ac_cc=`$as_echo "$2" |
4074
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4075
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4076
$as_echo_n "(cached) " >&6
4078
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079
/* end confdefs.h. */
4089
# Make sure it works both with $CC and with simple cc.
4090
# We do the test twice because some compilers refuse to overwrite an
4091
# existing .o file with -o, though they will create one.
4092
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4094
if { { case "(($ac_try" in
4095
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4096
*) ac_try_echo=$ac_try;;
4098
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4099
$as_echo "$ac_try_echo"; } >&5
4100
(eval "$ac_try") 2>&5
4102
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4103
test $ac_status = 0; } &&
4104
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4105
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106
*) ac_try_echo=$ac_try;;
4108
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109
$as_echo "$ac_try_echo"; } >&5
4110
(eval "$ac_try") 2>&5
4112
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4113
test $ac_status = 0; };
4115
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4116
if test "x$CC" != xcc; then
4117
# Test first that cc exists at all.
4118
if { ac_try='cc -c conftest.$ac_ext >&5'
4119
{ { case "(($ac_try" in
4120
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4121
*) ac_try_echo=$ac_try;;
4123
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4124
$as_echo "$ac_try_echo"; } >&5
4125
(eval "$ac_try") 2>&5
4127
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4128
test $ac_status = 0; }; }; then
4129
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4131
if { { case "(($ac_try" in
4132
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4133
*) ac_try_echo=$ac_try;;
4135
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4136
$as_echo "$ac_try_echo"; } >&5
4137
(eval "$ac_try") 2>&5
4139
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4140
test $ac_status = 0; } &&
4141
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4142
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4143
*) ac_try_echo=$ac_try;;
4145
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4146
$as_echo "$ac_try_echo"; } >&5
4147
(eval "$ac_try") 2>&5
4149
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4150
test $ac_status = 0; };
4155
# cc exists but doesn't like -o.
4156
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4161
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4163
rm -f core conftest*
4166
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4168
$as_echo "yes" >&6; }
4170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171
$as_echo "no" >&6; }
4173
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4177
# FIXME: we rely on the cache variable name because
4178
# there is no other way.
4180
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4181
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4182
if test "$am_t" != yes; then
4183
# Losing compiler, so override with the script.
4184
# FIXME: It is wrong to rewrite CC.
4185
# But if we don't then we get into trouble of one sort or another.
4186
# A longer-term fix would be to have automake use am__CC in this case,
4187
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4188
CC="$am_aux_dir/compile $CC"
4194
ac_cpp='$CPP $CPPFLAGS'
4195
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4196
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4197
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4199
$as_echo_n "checking how to run the C preprocessor... " >&6; }
4200
# On Suns, sometimes $CPP names a directory.
4201
if test -n "$CPP" && test -d "$CPP"; then
4204
if test -z "$CPP"; then
4205
if ${ac_cv_prog_CPP+:} false; then :
4206
$as_echo_n "(cached) " >&6
4208
# Double quotes because CPP needs to be expanded
4209
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4212
for ac_c_preproc_warn_flag in '' yes
4214
# Use a header file that comes with gcc, so configuring glibc
4215
# with a fresh cross-compiler works.
4216
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4217
# <limits.h> exists even on freestanding compilers.
4218
# On the NeXT, cc -E runs the code through the compiler's parser,
4219
# not just through cpp. "Syntax error" is here to catch this case.
4220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4221
/* end confdefs.h. */
4223
# include <limits.h>
4225
# include <assert.h>
4229
if ac_fn_c_try_cpp "$LINENO"; then :
4232
# Broken: fails on valid input.
4235
rm -f conftest.err conftest.i conftest.$ac_ext
4237
# OK, works on sane cases. Now check whether nonexistent headers
4238
# can be detected and how.
4239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240
/* end confdefs.h. */
4241
#include <ac_nonexistent.h>
4243
if ac_fn_c_try_cpp "$LINENO"; then :
4244
# Broken: success on invalid input.
4247
# Passes both tests.
4251
rm -f conftest.err conftest.i conftest.$ac_ext
4254
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4255
rm -f conftest.i conftest.err conftest.$ac_ext
4256
if $ac_preproc_ok; then :
4268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4269
$as_echo "$CPP" >&6; }
4271
for ac_c_preproc_warn_flag in '' yes
4273
# Use a header file that comes with gcc, so configuring glibc
4274
# with a fresh cross-compiler works.
4275
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4276
# <limits.h> exists even on freestanding compilers.
4277
# On the NeXT, cc -E runs the code through the compiler's parser,
4278
# not just through cpp. "Syntax error" is here to catch this case.
4279
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4280
/* end confdefs.h. */
4282
# include <limits.h>
4284
# include <assert.h>
4288
if ac_fn_c_try_cpp "$LINENO"; then :
4291
# Broken: fails on valid input.
4294
rm -f conftest.err conftest.i conftest.$ac_ext
4296
# OK, works on sane cases. Now check whether nonexistent headers
4297
# can be detected and how.
4298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4299
/* end confdefs.h. */
4300
#include <ac_nonexistent.h>
4302
if ac_fn_c_try_cpp "$LINENO"; then :
4303
# Broken: success on invalid input.
4306
# Passes both tests.
4310
rm -f conftest.err conftest.i conftest.$ac_ext
4313
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4314
rm -f conftest.i conftest.err conftest.$ac_ext
4315
if $ac_preproc_ok; then :
4318
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4319
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4320
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4321
See \`config.log' for more details" "$LINENO" 5; }
4325
ac_cpp='$CPP $CPPFLAGS'
4326
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4332
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4333
if ${ac_cv_path_GREP+:} false; then :
4334
$as_echo_n "(cached) " >&6
4336
if test -z "$GREP"; then
4337
ac_path_GREP_found=false
4338
# Loop through the user's path and test for each of PROGNAME-LIST
4339
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4340
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4343
test -z "$as_dir" && as_dir=.
4344
for ac_prog in grep ggrep; do
4345
for ac_exec_ext in '' $ac_executable_extensions; do
4346
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4347
as_fn_executable_p "$ac_path_GREP" || continue
4348
# Check for GNU ac_path_GREP and select it if it is found.
4349
# Check for GNU $ac_path_GREP
4350
case `"$ac_path_GREP" --version 2>&1` in
4352
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4355
$as_echo_n 0123456789 >"conftest.in"
4358
cat "conftest.in" "conftest.in" >"conftest.tmp"
4359
mv "conftest.tmp" "conftest.in"
4360
cp "conftest.in" "conftest.nl"
4361
$as_echo 'GREP' >> "conftest.nl"
4362
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4363
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4364
as_fn_arith $ac_count + 1 && ac_count=$as_val
4365
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4366
# Best one so far, save it but keep looking for a better one
4367
ac_cv_path_GREP="$ac_path_GREP"
4368
ac_path_GREP_max=$ac_count
4370
# 10*(2^10) chars as input seems more than enough
4371
test $ac_count -gt 10 && break
4373
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4376
$ac_path_GREP_found && break 3
4381
if test -z "$ac_cv_path_GREP"; then
4382
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4385
ac_cv_path_GREP=$GREP
4389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4390
$as_echo "$ac_cv_path_GREP" >&6; }
4391
GREP="$ac_cv_path_GREP"
4394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4395
$as_echo_n "checking for egrep... " >&6; }
4396
if ${ac_cv_path_EGREP+:} false; then :
4397
$as_echo_n "(cached) " >&6
4399
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4400
then ac_cv_path_EGREP="$GREP -E"
4402
if test -z "$EGREP"; then
4403
ac_path_EGREP_found=false
4404
# Loop through the user's path and test for each of PROGNAME-LIST
4405
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4409
test -z "$as_dir" && as_dir=.
4410
for ac_prog in egrep; do
4411
for ac_exec_ext in '' $ac_executable_extensions; do
4412
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4413
as_fn_executable_p "$ac_path_EGREP" || continue
4414
# Check for GNU ac_path_EGREP and select it if it is found.
4415
# Check for GNU $ac_path_EGREP
4416
case `"$ac_path_EGREP" --version 2>&1` in
4418
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4421
$as_echo_n 0123456789 >"conftest.in"
4424
cat "conftest.in" "conftest.in" >"conftest.tmp"
4425
mv "conftest.tmp" "conftest.in"
4426
cp "conftest.in" "conftest.nl"
4427
$as_echo 'EGREP' >> "conftest.nl"
4428
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4429
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4430
as_fn_arith $ac_count + 1 && ac_count=$as_val
4431
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4432
# Best one so far, save it but keep looking for a better one
4433
ac_cv_path_EGREP="$ac_path_EGREP"
4434
ac_path_EGREP_max=$ac_count
4436
# 10*(2^10) chars as input seems more than enough
4437
test $ac_count -gt 10 && break
4439
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4442
$ac_path_EGREP_found && break 3
4447
if test -z "$ac_cv_path_EGREP"; then
4448
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4451
ac_cv_path_EGREP=$EGREP
4456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4457
$as_echo "$ac_cv_path_EGREP" >&6; }
4458
EGREP="$ac_cv_path_EGREP"
4461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4462
$as_echo_n "checking for ANSI C header files... " >&6; }
4463
if ${ac_cv_header_stdc+:} false; then :
4464
$as_echo_n "(cached) " >&6
4466
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4467
/* end confdefs.h. */
4481
if ac_fn_c_try_compile "$LINENO"; then :
4482
ac_cv_header_stdc=yes
4484
ac_cv_header_stdc=no
4486
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4488
if test $ac_cv_header_stdc = yes; then
4489
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4490
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4491
/* end confdefs.h. */
4495
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4496
$EGREP "memchr" >/dev/null 2>&1; then :
4499
ac_cv_header_stdc=no
4505
if test $ac_cv_header_stdc = yes; then
4506
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4507
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4508
/* end confdefs.h. */
4512
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4513
$EGREP "free" >/dev/null 2>&1; then :
4516
ac_cv_header_stdc=no
4522
if test $ac_cv_header_stdc = yes; then
4523
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4524
if test "$cross_compiling" = yes; then :
4527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528
/* end confdefs.h. */
4531
#if ((' ' & 0x0FF) == 0x020)
4532
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4533
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4535
# define ISLOWER(c) \
4536
(('a' <= (c) && (c) <= 'i') \
4537
|| ('j' <= (c) && (c) <= 'r') \
4538
|| ('s' <= (c) && (c) <= 'z'))
4539
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4542
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4547
for (i = 0; i < 256; i++)
4548
if (XOR (islower (i), ISLOWER (i))
4549
|| toupper (i) != TOUPPER (i))
4554
if ac_fn_c_try_run "$LINENO"; then :
4557
ac_cv_header_stdc=no
4559
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4560
conftest.$ac_objext conftest.beam conftest.$ac_ext
4565
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4566
$as_echo "$ac_cv_header_stdc" >&6; }
4567
if test $ac_cv_header_stdc = yes; then
4569
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4577
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4582
macro_version='2.4.2'
4583
macro_revision='1.3337'
4597
ltmain="$ac_aux_dir/ltmain.sh"
4599
# Make sure we can run config.sub.
4600
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4601
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4604
$as_echo_n "checking build system type... " >&6; }
4605
if ${ac_cv_build+:} false; then :
4606
$as_echo_n "(cached) " >&6
4608
ac_build_alias=$build_alias
4609
test "x$ac_build_alias" = x &&
4610
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4611
test "x$ac_build_alias" = x &&
4612
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4613
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4614
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4618
$as_echo "$ac_cv_build" >&6; }
4619
case $ac_cv_build in
4621
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4624
ac_save_IFS=$IFS; IFS='-'
4630
# Remember, the first character of IFS is used to create $*,
4631
# except with old shells:
4634
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4638
$as_echo_n "checking host system type... " >&6; }
4639
if ${ac_cv_host+:} false; then :
4640
$as_echo_n "(cached) " >&6
4642
if test "x$host_alias" = x; then
4643
ac_cv_host=$ac_cv_build
4645
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4646
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4651
$as_echo "$ac_cv_host" >&6; }
4654
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4657
ac_save_IFS=$IFS; IFS='-'
4663
# Remember, the first character of IFS is used to create $*,
4664
# except with old shells:
4667
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4670
# Backslashify metacharacters that are still active within
4671
# double-quoted strings.
4672
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4674
# Same as above, but do not quote variable references.
4675
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4677
# Sed substitution to delay expansion of an escaped shell variable in a
4678
# double_quote_subst'ed string.
4679
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4681
# Sed substitution to delay expansion of an escaped single quote.
4682
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4684
# Sed substitution to avoid accidental globbing in evaled expressions
4685
no_glob_subst='s/\*/\\\*/g'
4687
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4688
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4689
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4692
$as_echo_n "checking how to print strings... " >&6; }
4693
# Test print first, because it will be a builtin if present.
4694
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4695
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4697
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4700
# Use this function as a fallback that always works.
4701
func_fallback_echo ()
4703
eval 'cat <<_LTECHO_EOF
4707
ECHO='func_fallback_echo'
4710
# func_echo_all arg...
4711
# Invoke $ECHO with all args, space-separated.
4718
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4719
$as_echo "printf" >&6; } ;;
4720
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4721
$as_echo "print -r" >&6; } ;;
4722
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4723
$as_echo "cat" >&6; } ;;
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4740
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4741
if ${ac_cv_path_SED+:} false; then :
4742
$as_echo_n "(cached) " >&6
4744
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4745
for ac_i in 1 2 3 4 5 6 7; do
4746
ac_script="$ac_script$as_nl$ac_script"
4748
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4749
{ ac_script=; unset ac_script;}
4750
if test -z "$SED"; then
4751
ac_path_SED_found=false
4752
# Loop through the user's path and test for each of PROGNAME-LIST
4753
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4757
test -z "$as_dir" && as_dir=.
4758
for ac_prog in sed gsed; do
4759
for ac_exec_ext in '' $ac_executable_extensions; do
4760
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4761
as_fn_executable_p "$ac_path_SED" || continue
4762
# Check for GNU ac_path_SED and select it if it is found.
4763
# Check for GNU $ac_path_SED
4764
case `"$ac_path_SED" --version 2>&1` in
4766
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4769
$as_echo_n 0123456789 >"conftest.in"
4772
cat "conftest.in" "conftest.in" >"conftest.tmp"
4773
mv "conftest.tmp" "conftest.in"
4774
cp "conftest.in" "conftest.nl"
4775
$as_echo '' >> "conftest.nl"
4776
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778
as_fn_arith $ac_count + 1 && ac_count=$as_val
4779
if test $ac_count -gt ${ac_path_SED_max-0}; then
4780
# Best one so far, save it but keep looking for a better one
4781
ac_cv_path_SED="$ac_path_SED"
4782
ac_path_SED_max=$ac_count
4784
# 10*(2^10) chars as input seems more than enough
4785
test $ac_count -gt 10 && break
4787
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4790
$ac_path_SED_found && break 3
4795
if test -z "$ac_cv_path_SED"; then
4796
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4803
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4804
$as_echo "$ac_cv_path_SED" >&6; }
4805
SED="$ac_cv_path_SED"
4808
test -z "$SED" && SED=sed
4809
Xsed="$SED -e 1s/^X//"
4821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4822
$as_echo_n "checking for fgrep... " >&6; }
4823
if ${ac_cv_path_FGREP+:} false; then :
4824
$as_echo_n "(cached) " >&6
4826
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4827
then ac_cv_path_FGREP="$GREP -F"
4829
if test -z "$FGREP"; then
4830
ac_path_FGREP_found=false
4831
# Loop through the user's path and test for each of PROGNAME-LIST
4832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4833
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4836
test -z "$as_dir" && as_dir=.
4837
for ac_prog in fgrep; do
4838
for ac_exec_ext in '' $ac_executable_extensions; do
4839
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4840
as_fn_executable_p "$ac_path_FGREP" || continue
4841
# Check for GNU ac_path_FGREP and select it if it is found.
4842
# Check for GNU $ac_path_FGREP
4843
case `"$ac_path_FGREP" --version 2>&1` in
4845
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4848
$as_echo_n 0123456789 >"conftest.in"
4851
cat "conftest.in" "conftest.in" >"conftest.tmp"
4852
mv "conftest.tmp" "conftest.in"
4853
cp "conftest.in" "conftest.nl"
4854
$as_echo 'FGREP' >> "conftest.nl"
4855
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4856
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4857
as_fn_arith $ac_count + 1 && ac_count=$as_val
4858
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4859
# Best one so far, save it but keep looking for a better one
4860
ac_cv_path_FGREP="$ac_path_FGREP"
4861
ac_path_FGREP_max=$ac_count
4863
# 10*(2^10) chars as input seems more than enough
4864
test $ac_count -gt 10 && break
4866
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4869
$ac_path_FGREP_found && break 3
4874
if test -z "$ac_cv_path_FGREP"; then
4875
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4878
ac_cv_path_FGREP=$FGREP
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4884
$as_echo "$ac_cv_path_FGREP" >&6; }
4885
FGREP="$ac_cv_path_FGREP"
4888
test -z "$GREP" && GREP=grep
4908
# Check whether --with-gnu-ld was given.
4909
if test "${with_gnu_ld+set}" = set; then :
4910
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4916
if test "$GCC" = yes; then
4917
# Check if gcc -print-prog-name=ld gives a path.
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4919
$as_echo_n "checking for ld used by $CC... " >&6; }
4922
# gcc leaves a trailing carriage return which upsets mingw
4923
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4925
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4928
# Accept absolute paths.
4930
re_direlt='/[^/][^/]*/\.\./'
4931
# Canonicalize the pathname of ld
4932
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4933
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4934
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4936
test -z "$LD" && LD="$ac_prog"
4939
# If it fails, then pretend we aren't using GCC.
4943
# If it is relative, then search for the first ld in PATH.
4947
elif test "$with_gnu_ld" = yes; then
4948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4949
$as_echo_n "checking for GNU ld... " >&6; }
4951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4952
$as_echo_n "checking for non-GNU ld... " >&6; }
4954
if ${lt_cv_path_LD+:} false; then :
4955
$as_echo_n "(cached) " >&6
4957
if test -z "$LD"; then
4958
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4959
for ac_dir in $PATH; do
4961
test -z "$ac_dir" && ac_dir=.
4962
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4963
lt_cv_path_LD="$ac_dir/$ac_prog"
4964
# Check to see if the program is GNU ld. I'd rather use --version,
4965
# but apparently some variants of GNU ld only accept -v.
4966
# Break only if it was the GNU/non-GNU ld that we prefer.
4967
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4968
*GNU* | *'with BFD'*)
4969
test "$with_gnu_ld" != no && break
4972
test "$with_gnu_ld" != yes && break
4979
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4984
if test -n "$LD"; then
4985
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4986
$as_echo "$LD" >&6; }
4988
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989
$as_echo "no" >&6; }
4991
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4993
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4994
if ${lt_cv_prog_gnu_ld+:} false; then :
4995
$as_echo_n "(cached) " >&6
4997
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4998
case `$LD -v 2>&1 </dev/null` in
4999
*GNU* | *'with BFD'*)
5000
lt_cv_prog_gnu_ld=yes
5003
lt_cv_prog_gnu_ld=no
5007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5008
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5009
with_gnu_ld=$lt_cv_prog_gnu_ld
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5020
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5021
if ${lt_cv_path_NM+:} false; then :
5022
$as_echo_n "(cached) " >&6
5024
if test -n "$NM"; then
5025
# Let the user override the test.
5028
lt_nm_to_check="${ac_tool_prefix}nm"
5029
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5030
lt_nm_to_check="$lt_nm_to_check nm"
5032
for lt_tmp_nm in $lt_nm_to_check; do
5033
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5034
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5036
test -z "$ac_dir" && ac_dir=.
5037
tmp_nm="$ac_dir/$lt_tmp_nm"
5038
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5039
# Check to see if the nm accepts a BSD-compat flag.
5040
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5041
# nm: unknown option "B" ignored
5042
# Tru64's nm complains that /dev/null is an invalid object file
5043
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5044
*/dev/null* | *'Invalid file or object type'*)
5045
lt_cv_path_NM="$tmp_nm -B"
5049
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5051
lt_cv_path_NM="$tmp_nm -p"
5055
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5056
continue # so that we can try to find one that supports BSD flags
5065
: ${lt_cv_path_NM=no}
5068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5069
$as_echo "$lt_cv_path_NM" >&6; }
5070
if test "$lt_cv_path_NM" != "no"; then
5073
# Didn't find any BSD compatible name lister, look for dumpbin.
5074
if test -n "$DUMPBIN"; then :
5075
# Let the user override the test.
5077
if test -n "$ac_tool_prefix"; then
5078
for ac_prog in dumpbin "link -dump"
5080
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5081
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083
$as_echo_n "checking for $ac_word... " >&6; }
5084
if ${ac_cv_prog_DUMPBIN+:} false; then :
5085
$as_echo_n "(cached) " >&6
5087
if test -n "$DUMPBIN"; then
5088
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5090
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5094
test -z "$as_dir" && as_dir=.
5095
for ac_exec_ext in '' $ac_executable_extensions; do
5096
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5097
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5098
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5107
DUMPBIN=$ac_cv_prog_DUMPBIN
5108
if test -n "$DUMPBIN"; then
5109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5110
$as_echo "$DUMPBIN" >&6; }
5112
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113
$as_echo "no" >&6; }
5117
test -n "$DUMPBIN" && break
5120
if test -z "$DUMPBIN"; then
5121
ac_ct_DUMPBIN=$DUMPBIN
5122
for ac_prog in dumpbin "link -dump"
5124
# Extract the first word of "$ac_prog", so it can be a program name with args.
5125
set dummy $ac_prog; ac_word=$2
5126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5127
$as_echo_n "checking for $ac_word... " >&6; }
5128
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5129
$as_echo_n "(cached) " >&6
5131
if test -n "$ac_ct_DUMPBIN"; then
5132
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5134
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138
test -z "$as_dir" && as_dir=.
5139
for ac_exec_ext in '' $ac_executable_extensions; do
5140
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5141
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5142
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5152
if test -n "$ac_ct_DUMPBIN"; then
5153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5154
$as_echo "$ac_ct_DUMPBIN" >&6; }
5156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5157
$as_echo "no" >&6; }
5161
test -n "$ac_ct_DUMPBIN" && break
5164
if test "x$ac_ct_DUMPBIN" = x; then
5167
case $cross_compiling:$ac_tool_warned in
5169
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5170
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5171
ac_tool_warned=yes ;;
5173
DUMPBIN=$ac_ct_DUMPBIN
5177
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5179
DUMPBIN="$DUMPBIN -symbols"
5187
if test "$DUMPBIN" != ":"; then
5191
test -z "$NM" && NM=nm
5198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5199
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5200
if ${lt_cv_nm_interface+:} false; then :
5201
$as_echo_n "(cached) " >&6
5203
lt_cv_nm_interface="BSD nm"
5204
echo "int some_variable = 0;" > conftest.$ac_ext
5205
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5206
(eval "$ac_compile" 2>conftest.err)
5207
cat conftest.err >&5
5208
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5209
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5210
cat conftest.err >&5
5211
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5212
cat conftest.out >&5
5213
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5214
lt_cv_nm_interface="MS dumpbin"
5218
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5219
$as_echo "$lt_cv_nm_interface" >&6; }
5221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5222
$as_echo_n "checking whether ln -s works... " >&6; }
5224
if test "$LN_S" = "ln -s"; then
5225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5226
$as_echo "yes" >&6; }
5228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5229
$as_echo "no, using $LN_S" >&6; }
5232
# find the maximum length of command line arguments
5233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5234
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5235
if ${lt_cv_sys_max_cmd_len+:} false; then :
5236
$as_echo_n "(cached) " >&6
5243
# On DJGPP, this test can blow up pretty badly due to problems in libc
5244
# (any single argument exceeding 2000 bytes causes a buffer overrun
5245
# during glob expansion). Even if it were fixed, the result of this
5246
# check would be larger than it should be.
5247
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5251
# Under GNU Hurd, this test is not required because there is
5252
# no limit to the length of command line arguments.
5253
# Libtool will interpret -1 as no limit whatsoever
5254
lt_cv_sys_max_cmd_len=-1;
5257
cygwin* | mingw* | cegcc*)
5258
# On Win9x/ME, this test blows up -- it succeeds, but takes
5259
# about 5 minutes as the teststring grows exponentially.
5260
# Worse, since 9x/ME are not pre-emptively multitasking,
5261
# you end up with a "frozen" computer, even though with patience
5262
# the test eventually succeeds (with a max line length of 256k).
5263
# Instead, let's just punt: use the minimum linelength reported by
5264
# all of the supported platforms: 8192 (on NT/2K/XP).
5265
lt_cv_sys_max_cmd_len=8192;
5269
# On MiNT this can take a long time and run out of memory.
5270
lt_cv_sys_max_cmd_len=8192;
5274
# On AmigaOS with pdksh, this test takes hours, literally.
5275
# So we just punt and use a minimum line length of 8192.
5276
lt_cv_sys_max_cmd_len=8192;
5279
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5280
# This has been around since 386BSD, at least. Likely further.
5281
if test -x /sbin/sysctl; then
5282
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5283
elif test -x /usr/sbin/sysctl; then
5284
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5286
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5288
# And add a safety zone
5289
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5290
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5294
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5295
lt_cv_sys_max_cmd_len=196608
5299
# The test takes a long time on OS/2.
5300
lt_cv_sys_max_cmd_len=8192
5304
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5305
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5306
# nice to cause kernel panics so lets avoid the loop below.
5307
# First set a reasonable default.
5308
lt_cv_sys_max_cmd_len=16384
5310
if test -x /sbin/sysconfig; then
5311
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5312
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5317
lt_cv_sys_max_cmd_len=102400
5319
sysv5* | sco5v6* | sysv4.2uw2*)
5320
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5321
if test -n "$kargmax"; then
5322
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5324
lt_cv_sys_max_cmd_len=32768
5328
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5329
if test -n "$lt_cv_sys_max_cmd_len" && \
5330
test undefined != "$lt_cv_sys_max_cmd_len"; then
5331
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5332
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5334
# Make teststring a little bigger before we do anything with it.
5335
# a 1K string should be a reasonable start.
5336
for i in 1 2 3 4 5 6 7 8 ; do
5337
teststring=$teststring$teststring
5339
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5340
# If test is not a shell built-in, we'll probably end up computing a
5341
# maximum length that is only half of the actual maximum length, but
5343
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5344
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5345
test $i != 17 # 1/2 MB should be enough
5348
teststring=$teststring$teststring
5350
# Only check the string length outside the loop.
5351
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5353
# Add a significant safety factor because C++ compilers can tack on
5354
# massive amounts of additional arguments before passing them to the
5355
# linker. It appears as though 1/2 is a usable value.
5356
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5363
if test -n $lt_cv_sys_max_cmd_len ; then
5364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5365
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5368
$as_echo "none" >&6; }
5370
max_cmd_len=$lt_cv_sys_max_cmd_len
5381
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5382
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5383
# Try some XSI features
5386
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5388
&& eval 'test $(( 1 + 1 )) -eq 2 \
5389
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5392
$as_echo "$xsi_shell" >&6; }
5395
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5396
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5398
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5400
&& lt_shell_append=yes
5401
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5402
$as_echo "$lt_shell_append" >&6; }
5405
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5415
# test EBCDIC or ASCII
5416
case `echo X|tr X '\101'` in
5417
A) # ASCII based system
5418
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5419
lt_SP2NL='tr \040 \012'
5420
lt_NL2SP='tr \015\012 \040\040'
5422
*) # EBCDIC based system
5423
lt_SP2NL='tr \100 \n'
5424
lt_NL2SP='tr \r\n \100\100'
5436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5437
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5438
if ${lt_cv_to_host_file_cmd+:} false; then :
5439
$as_echo_n "(cached) " >&6
5444
*-*-mingw* ) # actually msys
5445
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5448
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5450
* ) # otherwise, assume *nix
5451
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5457
*-*-mingw* ) # actually msys
5458
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5461
lt_cv_to_host_file_cmd=func_convert_file_noop
5463
* ) # otherwise, assume *nix
5464
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5468
* ) # unhandled hosts (and "normal" native builds)
5469
lt_cv_to_host_file_cmd=func_convert_file_noop
5475
to_host_file_cmd=$lt_cv_to_host_file_cmd
5476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5477
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5484
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5485
if ${lt_cv_to_tool_file_cmd+:} false; then :
5486
$as_echo_n "(cached) " >&6
5488
#assume ordinary cross tools, or native build.
5489
lt_cv_to_tool_file_cmd=func_convert_file_noop
5493
*-*-mingw* ) # actually msys
5494
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5502
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5503
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5504
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5511
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5512
if ${lt_cv_ld_reload_flag+:} false; then :
5513
$as_echo_n "(cached) " >&6
5515
lt_cv_ld_reload_flag='-r'
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5518
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5519
reload_flag=$lt_cv_ld_reload_flag
5520
case $reload_flag in
5522
*) reload_flag=" $reload_flag" ;;
5524
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5526
cygwin* | mingw* | pw32* | cegcc*)
5527
if test "$GCC" != yes; then
5532
if test "$GCC" = yes; then
5533
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5535
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5548
if test -n "$ac_tool_prefix"; then
5549
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5550
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5551
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5552
$as_echo_n "checking for $ac_word... " >&6; }
5553
if ${ac_cv_prog_OBJDUMP+:} false; then :
5554
$as_echo_n "(cached) " >&6
5556
if test -n "$OBJDUMP"; then
5557
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563
test -z "$as_dir" && as_dir=.
5564
for ac_exec_ext in '' $ac_executable_extensions; do
5565
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5566
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5567
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5576
OBJDUMP=$ac_cv_prog_OBJDUMP
5577
if test -n "$OBJDUMP"; then
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5579
$as_echo "$OBJDUMP" >&6; }
5581
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582
$as_echo "no" >&6; }
5587
if test -z "$ac_cv_prog_OBJDUMP"; then
5588
ac_ct_OBJDUMP=$OBJDUMP
5589
# Extract the first word of "objdump", so it can be a program name with args.
5590
set dummy objdump; ac_word=$2
5591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592
$as_echo_n "checking for $ac_word... " >&6; }
5593
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5594
$as_echo_n "(cached) " >&6
5596
if test -n "$ac_ct_OBJDUMP"; then
5597
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5599
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5603
test -z "$as_dir" && as_dir=.
5604
for ac_exec_ext in '' $ac_executable_extensions; do
5605
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5607
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5617
if test -n "$ac_ct_OBJDUMP"; then
5618
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5619
$as_echo "$ac_ct_OBJDUMP" >&6; }
5621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622
$as_echo "no" >&6; }
5625
if test "x$ac_ct_OBJDUMP" = x; then
5628
case $cross_compiling:$ac_tool_warned in
5630
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632
ac_tool_warned=yes ;;
5634
OBJDUMP=$ac_ct_OBJDUMP
5637
OBJDUMP="$ac_cv_prog_OBJDUMP"
5640
test -z "$OBJDUMP" && OBJDUMP=objdump
5650
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5651
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5652
if ${lt_cv_deplibs_check_method+:} false; then :
5653
$as_echo_n "(cached) " >&6
5655
lt_cv_file_magic_cmd='$MAGIC_CMD'
5656
lt_cv_file_magic_test_file=
5657
lt_cv_deplibs_check_method='unknown'
5658
# Need to set the preceding variable on all platforms that support
5659
# interlibrary dependencies.
5660
# 'none' -- dependencies not supported.
5661
# `unknown' -- same as none, but documents that we really don't know.
5662
# 'pass_all' -- all dependencies passed with no checks.
5663
# 'test_compile' -- check by making test program.
5664
# 'file_magic [[regex]]' -- check by looking for files in library path
5665
# which responds to the $file_magic_cmd with a given extended regex.
5666
# If you have `file' or equivalent on your system and you're not sure
5667
# whether `pass_all' will *always* work, you probably want this one.
5671
lt_cv_deplibs_check_method=pass_all
5675
lt_cv_deplibs_check_method=pass_all
5679
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5680
lt_cv_file_magic_cmd='/usr/bin/file -L'
5681
lt_cv_file_magic_test_file=/shlib/libc.so
5685
# func_win32_libid is a shell function defined in ltmain.sh
5686
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5687
lt_cv_file_magic_cmd='func_win32_libid'
5691
# Base MSYS/MinGW do not provide the 'file' command needed by
5692
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5693
# unless we find 'file', for example because we are cross-compiling.
5694
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5695
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5696
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5697
lt_cv_file_magic_cmd='func_win32_libid'
5699
# Keep this pattern in sync with the one in func_win32_libid.
5700
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5701
lt_cv_file_magic_cmd='$OBJDUMP -f'
5706
# use the weaker test based on 'objdump'. See mingw*.
5707
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5708
lt_cv_file_magic_cmd='$OBJDUMP -f'
5711
darwin* | rhapsody*)
5712
lt_cv_deplibs_check_method=pass_all
5715
freebsd* | dragonfly*)
5716
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5719
# Not sure whether the presence of OpenBSD here was a mistake.
5720
# Let's accept both of them until this is cleared up.
5721
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5722
lt_cv_file_magic_cmd=/usr/bin/file
5723
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5727
lt_cv_deplibs_check_method=pass_all
5732
lt_cv_deplibs_check_method=pass_all
5735
hpux10.20* | hpux11*)
5736
lt_cv_file_magic_cmd=/usr/bin/file
5739
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5740
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5743
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]'
5744
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5747
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5748
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5754
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5755
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5758
irix5* | irix6* | nonstopux*)
5760
*-32|*"-32 ") libmagic=32-bit;;
5761
*-n32|*"-n32 ") libmagic=N32;;
5762
*-64|*"-64 ") libmagic=64-bit;;
5763
*) libmagic=never-match;;
5765
lt_cv_deplibs_check_method=pass_all
5768
# This must be glibc/ELF.
5769
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5770
lt_cv_deplibs_check_method=pass_all
5773
netbsd* | netbsdelf*-gnu)
5774
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5775
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5777
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5782
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5783
lt_cv_file_magic_cmd=/usr/bin/file
5784
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5788
lt_cv_deplibs_check_method=pass_all
5792
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5793
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5795
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5799
osf3* | osf4* | osf5*)
5800
lt_cv_deplibs_check_method=pass_all
5804
lt_cv_deplibs_check_method=pass_all
5808
lt_cv_deplibs_check_method=pass_all
5811
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5812
lt_cv_deplibs_check_method=pass_all
5816
case $host_vendor in
5818
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]'
5819
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5822
lt_cv_deplibs_check_method=pass_all
5825
lt_cv_file_magic_cmd='/bin/file'
5826
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5829
lt_cv_file_magic_cmd='/bin/file'
5830
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5831
lt_cv_file_magic_test_file=/lib/libc.so
5834
lt_cv_deplibs_check_method=pass_all
5837
lt_cv_deplibs_check_method=pass_all
5843
lt_cv_deplibs_check_method=pass_all
5848
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5849
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5853
if test "$build" = "$host"; then
5856
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5859
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5865
file_magic_cmd=$lt_cv_file_magic_cmd
5866
deplibs_check_method=$lt_cv_deplibs_check_method
5867
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5890
if test -n "$ac_tool_prefix"; then
5891
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5892
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5894
$as_echo_n "checking for $ac_word... " >&6; }
5895
if ${ac_cv_prog_DLLTOOL+:} false; then :
5896
$as_echo_n "(cached) " >&6
5898
if test -n "$DLLTOOL"; then
5899
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5901
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905
test -z "$as_dir" && as_dir=.
5906
for ac_exec_ext in '' $ac_executable_extensions; do
5907
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5909
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5918
DLLTOOL=$ac_cv_prog_DLLTOOL
5919
if test -n "$DLLTOOL"; then
5920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5921
$as_echo "$DLLTOOL" >&6; }
5923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5924
$as_echo "no" >&6; }
5929
if test -z "$ac_cv_prog_DLLTOOL"; then
5930
ac_ct_DLLTOOL=$DLLTOOL
5931
# Extract the first word of "dlltool", so it can be a program name with args.
5932
set dummy dlltool; ac_word=$2
5933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5934
$as_echo_n "checking for $ac_word... " >&6; }
5935
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5936
$as_echo_n "(cached) " >&6
5938
if test -n "$ac_ct_DLLTOOL"; then
5939
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5941
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5945
test -z "$as_dir" && as_dir=.
5946
for ac_exec_ext in '' $ac_executable_extensions; do
5947
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5948
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5949
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5959
if test -n "$ac_ct_DLLTOOL"; then
5960
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5961
$as_echo "$ac_ct_DLLTOOL" >&6; }
5963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5964
$as_echo "no" >&6; }
5967
if test "x$ac_ct_DLLTOOL" = x; then
5970
case $cross_compiling:$ac_tool_warned in
5972
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5973
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5974
ac_tool_warned=yes ;;
5976
DLLTOOL=$ac_ct_DLLTOOL
5979
DLLTOOL="$ac_cv_prog_DLLTOOL"
5982
test -z "$DLLTOOL" && DLLTOOL=dlltool
5993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5994
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5995
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5996
$as_echo_n "(cached) " >&6
5998
lt_cv_sharedlib_from_linklib_cmd='unknown'
6001
cygwin* | mingw* | pw32* | cegcc*)
6002
# two different shell functions defined in ltmain.sh
6003
# decide which to use based on capabilities of $DLLTOOL
6004
case `$DLLTOOL --help 2>&1` in
6005
*--identify-strict*)
6006
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6009
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6014
# fallback: assume linklib IS sharedlib
6015
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6020
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6021
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6022
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6023
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6031
if test -n "$ac_tool_prefix"; then
6034
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6035
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6037
$as_echo_n "checking for $ac_word... " >&6; }
6038
if ${ac_cv_prog_AR+:} false; then :
6039
$as_echo_n "(cached) " >&6
6041
if test -n "$AR"; then
6042
ac_cv_prog_AR="$AR" # Let the user override the test.
6044
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6048
test -z "$as_dir" && as_dir=.
6049
for ac_exec_ext in '' $ac_executable_extensions; do
6050
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6051
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6052
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6062
if test -n "$AR"; then
6063
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6064
$as_echo "$AR" >&6; }
6066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6067
$as_echo "no" >&6; }
6071
test -n "$AR" && break
6074
if test -z "$AR"; then
6078
# Extract the first word of "$ac_prog", so it can be a program name with args.
6079
set dummy $ac_prog; ac_word=$2
6080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081
$as_echo_n "checking for $ac_word... " >&6; }
6082
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6083
$as_echo_n "(cached) " >&6
6085
if test -n "$ac_ct_AR"; then
6086
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6088
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6092
test -z "$as_dir" && as_dir=.
6093
for ac_exec_ext in '' $ac_executable_extensions; do
6094
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6095
ac_cv_prog_ac_ct_AR="$ac_prog"
6096
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105
ac_ct_AR=$ac_cv_prog_ac_ct_AR
6106
if test -n "$ac_ct_AR"; then
6107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6108
$as_echo "$ac_ct_AR" >&6; }
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6111
$as_echo "no" >&6; }
6115
test -n "$ac_ct_AR" && break
6118
if test "x$ac_ct_AR" = x; then
6121
case $cross_compiling:$ac_tool_warned in
6123
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6124
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6125
ac_tool_warned=yes ;;
6144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6145
$as_echo_n "checking for archiver @FILE support... " >&6; }
6146
if ${lt_cv_ar_at_file+:} false; then :
6147
$as_echo_n "(cached) " >&6
6150
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6151
/* end confdefs.h. */
6161
if ac_fn_c_try_compile "$LINENO"; then :
6162
echo conftest.$ac_objext > conftest.lst
6163
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6164
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6165
(eval $lt_ar_try) 2>&5
6167
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6168
test $ac_status = 0; }
6169
if test "$ac_status" -eq 0; then
6170
# Ensure the archiver fails upon bogus file names.
6171
rm -f conftest.$ac_objext libconftest.a
6172
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6173
(eval $lt_ar_try) 2>&5
6175
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6176
test $ac_status = 0; }
6177
if test "$ac_status" -ne 0; then
6181
rm -f conftest.* libconftest.a
6184
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6188
$as_echo "$lt_cv_ar_at_file" >&6; }
6190
if test "x$lt_cv_ar_at_file" = xno; then
6193
archiver_list_spec=$lt_cv_ar_at_file
6202
if test -n "$ac_tool_prefix"; then
6203
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6204
set dummy ${ac_tool_prefix}strip; ac_word=$2
6205
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6206
$as_echo_n "checking for $ac_word... " >&6; }
6207
if ${ac_cv_prog_STRIP+:} false; then :
6208
$as_echo_n "(cached) " >&6
6210
if test -n "$STRIP"; then
6211
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6213
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217
test -z "$as_dir" && as_dir=.
6218
for ac_exec_ext in '' $ac_executable_extensions; do
6219
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6220
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6221
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6230
STRIP=$ac_cv_prog_STRIP
6231
if test -n "$STRIP"; then
6232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6233
$as_echo "$STRIP" >&6; }
6235
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6236
$as_echo "no" >&6; }
6241
if test -z "$ac_cv_prog_STRIP"; then
6243
# Extract the first word of "strip", so it can be a program name with args.
6244
set dummy strip; ac_word=$2
6245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246
$as_echo_n "checking for $ac_word... " >&6; }
6247
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6248
$as_echo_n "(cached) " >&6
6250
if test -n "$ac_ct_STRIP"; then
6251
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6253
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257
test -z "$as_dir" && as_dir=.
6258
for ac_exec_ext in '' $ac_executable_extensions; do
6259
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260
ac_cv_prog_ac_ct_STRIP="strip"
6261
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6270
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6271
if test -n "$ac_ct_STRIP"; then
6272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6273
$as_echo "$ac_ct_STRIP" >&6; }
6275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6276
$as_echo "no" >&6; }
6279
if test "x$ac_ct_STRIP" = x; then
6282
case $cross_compiling:$ac_tool_warned in
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6285
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6286
ac_tool_warned=yes ;;
6291
STRIP="$ac_cv_prog_STRIP"
6294
test -z "$STRIP" && STRIP=:
6301
if test -n "$ac_tool_prefix"; then
6302
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6303
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6305
$as_echo_n "checking for $ac_word... " >&6; }
6306
if ${ac_cv_prog_RANLIB+:} false; then :
6307
$as_echo_n "(cached) " >&6
6309
if test -n "$RANLIB"; then
6310
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6316
test -z "$as_dir" && as_dir=.
6317
for ac_exec_ext in '' $ac_executable_extensions; do
6318
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6319
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6320
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6329
RANLIB=$ac_cv_prog_RANLIB
6330
if test -n "$RANLIB"; then
6331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6332
$as_echo "$RANLIB" >&6; }
6334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6335
$as_echo "no" >&6; }
6340
if test -z "$ac_cv_prog_RANLIB"; then
6341
ac_ct_RANLIB=$RANLIB
6342
# Extract the first word of "ranlib", so it can be a program name with args.
6343
set dummy ranlib; ac_word=$2
6344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6345
$as_echo_n "checking for $ac_word... " >&6; }
6346
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6347
$as_echo_n "(cached) " >&6
6349
if test -n "$ac_ct_RANLIB"; then
6350
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6356
test -z "$as_dir" && as_dir=.
6357
for ac_exec_ext in '' $ac_executable_extensions; do
6358
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6359
ac_cv_prog_ac_ct_RANLIB="ranlib"
6360
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6369
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6370
if test -n "$ac_ct_RANLIB"; then
6371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6372
$as_echo "$ac_ct_RANLIB" >&6; }
6374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6375
$as_echo "no" >&6; }
6378
if test "x$ac_ct_RANLIB" = x; then
6381
case $cross_compiling:$ac_tool_warned in
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6384
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6385
ac_tool_warned=yes ;;
6387
RANLIB=$ac_ct_RANLIB
6390
RANLIB="$ac_cv_prog_RANLIB"
6393
test -z "$RANLIB" && RANLIB=:
6400
# Determine commands to create old-style static archives.
6401
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6402
old_postinstall_cmds='chmod 644 $oldlib'
6403
old_postuninstall_cmds=
6405
if test -n "$RANLIB"; then
6408
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6411
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6414
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6419
lock_old_archive_extraction=yes ;;
6421
lock_old_archive_extraction=no ;;
6462
# If no C compiler was specified, use CC.
6465
# If no C compiler flags were specified, use CFLAGS.
6466
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6468
# Allow CC to be a program name with arguments.
6472
# Check for command to grab the raw symbol name followed by C symbol from nm.
6473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6474
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6475
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6476
$as_echo_n "(cached) " >&6
6479
# These are sane defaults that work on at least a few old systems.
6480
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6482
# Character class describing NM global symbol codes.
6483
symcode='[BCDEGRST]'
6485
# Regexp to match symbols that can be accessed directly from C.
6486
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6488
# Define system-specific variables.
6493
cygwin* | mingw* | pw32* | cegcc*)
6494
symcode='[ABCDGISTW]'
6497
if test "$host_cpu" = ia64; then
6498
symcode='[ABCDEGRST]'
6502
symcode='[BCDEGRST]'
6505
symcode='[BCDEGQRST]'
6516
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6524
# If we're using GNU nm, then use its standard symbol codes.
6525
case `$NM -V 2>&1` in
6526
*GNU* | *'with BFD'*)
6527
symcode='[ABCDGIRSTW]' ;;
6530
# Transform an extracted symbol line into a proper C declaration.
6531
# Some systems (esp. on ia64) link data and code symbols differently,
6532
# so use this general approach.
6533
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6535
# Transform an extracted symbol line into symbol name and symbol address
6536
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6537
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'"
6539
# Handle CRLF in mingw tool chain
6543
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6547
# Try without a prefix underscore, then with it.
6548
for ac_symprfx in "" "_"; do
6550
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6551
symxfrm="\\1 $ac_symprfx\\2 \\2"
6553
# Write the raw and C identifiers.
6554
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6555
# Fake it for dumpbin and say T for any non-static function
6556
# and D for any global variable.
6557
# Also find C++ and __fastcall symbols from MSVC++,
6558
# which start with @ or ?.
6559
lt_cv_sys_global_symbol_pipe="$AWK '"\
6560
" {last_section=section; section=\$ 3};"\
6561
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6562
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6563
" \$ 0!~/External *\|/{next};"\
6564
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6565
" {if(hide[section]) next};"\
6566
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6567
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6568
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6569
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6570
" ' prfx=^$ac_symprfx"
6572
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6574
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6576
# Check to see that the pipe works correctly.
6580
cat > conftest.$ac_ext <<_LT_EOF
6585
void nm_test_func(void);
6586
void nm_test_func(void){}
6590
int main(){nm_test_var='a';nm_test_func();return(0);}
6593
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6594
(eval $ac_compile) 2>&5
6596
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6597
test $ac_status = 0; }; then
6598
# Now try to grab the symbols.
6600
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6601
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6603
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6604
test $ac_status = 0; } && test -s "$nlist"; then
6605
# Try sorting and uniquifying the output.
6606
if sort "$nlist" | uniq > "$nlist"T; then
6607
mv -f "$nlist"T "$nlist"
6612
# Make sure that we snagged all the symbols we need.
6613
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6614
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6615
cat <<_LT_EOF > conftest.$ac_ext
6616
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6617
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6618
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6619
relocations are performed -- see ld's documentation on pseudo-relocs. */
6620
# define LT_DLSYM_CONST
6621
#elif defined(__osf__)
6622
/* This system does not cope well with relocations in const data. */
6623
# define LT_DLSYM_CONST
6625
# define LT_DLSYM_CONST const
6633
# Now generate the symbol file.
6634
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6636
cat <<_LT_EOF >> conftest.$ac_ext
6638
/* The mapping between symbol names and symbols. */
6639
LT_DLSYM_CONST struct {
6643
lt__PROGRAM__LTX_preloaded_symbols[] =
6645
{ "@PROGRAM@", (void *) 0 },
6647
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6648
cat <<\_LT_EOF >> conftest.$ac_ext
6652
/* This works around a problem in FreeBSD linker */
6653
#ifdef FREEBSD_WORKAROUND
6654
static const void *lt_preloaded_setup() {
6655
return lt__PROGRAM__LTX_preloaded_symbols;
6663
# Now try linking the two files.
6664
mv conftest.$ac_objext conftstm.$ac_objext
6665
lt_globsym_save_LIBS=$LIBS
6666
lt_globsym_save_CFLAGS=$CFLAGS
6667
LIBS="conftstm.$ac_objext"
6668
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6669
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6670
(eval $ac_link) 2>&5
6672
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6673
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6676
LIBS=$lt_globsym_save_LIBS
6677
CFLAGS=$lt_globsym_save_CFLAGS
6679
echo "cannot find nm_test_func in $nlist" >&5
6682
echo "cannot find nm_test_var in $nlist" >&5
6685
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6688
echo "$progname: failed program was:" >&5
6689
cat conftest.$ac_ext >&5
6691
rm -rf conftest* conftst*
6693
# Do not use the global_symbol_pipe unless it works.
6694
if test "$pipe_works" = yes; then
6697
lt_cv_sys_global_symbol_pipe=
6703
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6704
lt_cv_sys_global_symbol_to_cdecl=
6706
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6708
$as_echo "failed" >&6; }
6710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6711
$as_echo "ok" >&6; }
6714
# Response file support.
6715
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6716
nm_file_list_spec='@'
6717
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6718
nm_file_list_spec='@'
6747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6748
$as_echo_n "checking for sysroot... " >&6; }
6750
# Check whether --with-sysroot was given.
6751
if test "${with_sysroot+set}" = set; then :
6752
withval=$with_sysroot;
6759
case ${with_sysroot} in #(
6761
if test "$GCC" = yes; then
6762
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6766
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6771
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6772
$as_echo "${with_sysroot}" >&6; }
6773
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6778
$as_echo "${lt_sysroot:-no}" >&6; }
6784
# Check whether --enable-libtool-lock was given.
6785
if test "${enable_libtool_lock+set}" = set; then :
6786
enableval=$enable_libtool_lock;
6789
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6791
# Some flags need to be propagated to the compiler or linker for good
6795
# Find out which ABI we are using.
6796
echo 'int i;' > conftest.$ac_ext
6797
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6798
(eval $ac_compile) 2>&5
6800
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6801
test $ac_status = 0; }; then
6802
case `/usr/bin/file conftest.$ac_objext` in
6814
# Find out which ABI we are using.
6815
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6816
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6817
(eval $ac_compile) 2>&5
6819
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6820
test $ac_status = 0; }; then
6821
if test "$lt_cv_prog_gnu_ld" = yes; then
6822
case `/usr/bin/file conftest.$ac_objext` in
6824
LD="${LD-ld} -melf32bsmip"
6827
LD="${LD-ld} -melf32bmipn32"
6830
LD="${LD-ld} -melf64bmip"
6834
case `/usr/bin/file conftest.$ac_objext` in
6850
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6851
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6852
# Find out which ABI we are using.
6853
echo 'int i;' > conftest.$ac_ext
6854
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6855
(eval $ac_compile) 2>&5
6857
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6858
test $ac_status = 0; }; then
6859
case `/usr/bin/file conftest.o` in
6862
x86_64-*kfreebsd*-gnu)
6863
LD="${LD-ld} -m elf_i386_fbsd"
6866
case `/usr/bin/file conftest.o` in
6868
LD="${LD-ld} -m elf32_x86_64"
6871
LD="${LD-ld} -m elf_i386"
6875
ppc64-*linux*|powerpc64-*linux*)
6876
LD="${LD-ld} -m elf32ppclinux"
6879
LD="${LD-ld} -m elf_s390"
6882
LD="${LD-ld} -m elf32_sparc"
6888
x86_64-*kfreebsd*-gnu)
6889
LD="${LD-ld} -m elf_x86_64_fbsd"
6892
LD="${LD-ld} -m elf_x86_64"
6894
ppc*-*linux*|powerpc*-*linux*)
6895
LD="${LD-ld} -m elf64ppc"
6897
s390*-*linux*|s390*-*tpf*)
6898
LD="${LD-ld} -m elf64_s390"
6901
LD="${LD-ld} -m elf64_sparc"
6911
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6912
SAVE_CFLAGS="$CFLAGS"
6913
CFLAGS="$CFLAGS -belf"
6914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6915
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6916
if ${lt_cv_cc_needs_belf+:} false; then :
6917
$as_echo_n "(cached) " >&6
6920
ac_cpp='$CPP $CPPFLAGS'
6921
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6922
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6923
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6925
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6926
/* end confdefs.h. */
6936
if ac_fn_c_try_link "$LINENO"; then :
6937
lt_cv_cc_needs_belf=yes
6939
lt_cv_cc_needs_belf=no
6941
rm -f core conftest.err conftest.$ac_objext \
6942
conftest$ac_exeext conftest.$ac_ext
6944
ac_cpp='$CPP $CPPFLAGS'
6945
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6946
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6947
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6951
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6952
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6953
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6954
CFLAGS="$SAVE_CFLAGS"
6958
# Find out which ABI we are using.
6959
echo 'int i;' > conftest.$ac_ext
6960
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6961
(eval $ac_compile) 2>&5
6963
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6964
test $ac_status = 0; }; then
6965
case `/usr/bin/file conftest.o` in
6967
case $lt_cv_prog_gnu_ld in
6971
LD="${LD-ld} -m elf_x86_64"
6974
LD="${LD-ld} -m elf64_sparc"
6977
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6978
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6983
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6995
need_locks="$enable_libtool_lock"
6997
if test -n "$ac_tool_prefix"; then
6998
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6999
set dummy ${ac_tool_prefix}mt; ac_word=$2
7000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001
$as_echo_n "checking for $ac_word... " >&6; }
7002
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7003
$as_echo_n "(cached) " >&6
7005
if test -n "$MANIFEST_TOOL"; then
7006
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012
test -z "$as_dir" && as_dir=.
7013
for ac_exec_ext in '' $ac_executable_extensions; do
7014
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7015
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7026
if test -n "$MANIFEST_TOOL"; then
7027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7028
$as_echo "$MANIFEST_TOOL" >&6; }
7030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031
$as_echo "no" >&6; }
7036
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7037
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7038
# Extract the first word of "mt", so it can be a program name with args.
7039
set dummy mt; ac_word=$2
7040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7041
$as_echo_n "checking for $ac_word... " >&6; }
7042
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7043
$as_echo_n "(cached) " >&6
7045
if test -n "$ac_ct_MANIFEST_TOOL"; then
7046
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7048
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052
test -z "$as_dir" && as_dir=.
7053
for ac_exec_ext in '' $ac_executable_extensions; do
7054
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7055
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7056
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7065
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7066
if test -n "$ac_ct_MANIFEST_TOOL"; then
7067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7068
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7071
$as_echo "no" >&6; }
7074
if test "x$ac_ct_MANIFEST_TOOL" = x; then
7077
case $cross_compiling:$ac_tool_warned in
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7080
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7081
ac_tool_warned=yes ;;
7083
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7086
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7089
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7091
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7092
if ${lt_cv_path_mainfest_tool+:} false; then :
7093
$as_echo_n "(cached) " >&6
7095
lt_cv_path_mainfest_tool=no
7096
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7097
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7098
cat conftest.err >&5
7099
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7100
lt_cv_path_mainfest_tool=yes
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7105
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7106
if test "x$lt_cv_path_mainfest_tool" != xyes; then
7116
rhapsody* | darwin*)
7117
if test -n "$ac_tool_prefix"; then
7118
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7119
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121
$as_echo_n "checking for $ac_word... " >&6; }
7122
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7123
$as_echo_n "(cached) " >&6
7125
if test -n "$DSYMUTIL"; then
7126
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7128
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7132
test -z "$as_dir" && as_dir=.
7133
for ac_exec_ext in '' $ac_executable_extensions; do
7134
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7136
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7145
DSYMUTIL=$ac_cv_prog_DSYMUTIL
7146
if test -n "$DSYMUTIL"; then
7147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7148
$as_echo "$DSYMUTIL" >&6; }
7150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151
$as_echo "no" >&6; }
7156
if test -z "$ac_cv_prog_DSYMUTIL"; then
7157
ac_ct_DSYMUTIL=$DSYMUTIL
7158
# Extract the first word of "dsymutil", so it can be a program name with args.
7159
set dummy dsymutil; ac_word=$2
7160
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161
$as_echo_n "checking for $ac_word... " >&6; }
7162
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7163
$as_echo_n "(cached) " >&6
7165
if test -n "$ac_ct_DSYMUTIL"; then
7166
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7168
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7172
test -z "$as_dir" && as_dir=.
7173
for ac_exec_ext in '' $ac_executable_extensions; do
7174
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7175
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7176
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7185
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7186
if test -n "$ac_ct_DSYMUTIL"; then
7187
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7188
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7190
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7191
$as_echo "no" >&6; }
7194
if test "x$ac_ct_DSYMUTIL" = x; then
7197
case $cross_compiling:$ac_tool_warned in
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7200
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7201
ac_tool_warned=yes ;;
7203
DSYMUTIL=$ac_ct_DSYMUTIL
7206
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7209
if test -n "$ac_tool_prefix"; then
7210
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7211
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7213
$as_echo_n "checking for $ac_word... " >&6; }
7214
if ${ac_cv_prog_NMEDIT+:} false; then :
7215
$as_echo_n "(cached) " >&6
7217
if test -n "$NMEDIT"; then
7218
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7224
test -z "$as_dir" && as_dir=.
7225
for ac_exec_ext in '' $ac_executable_extensions; do
7226
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7227
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7228
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7237
NMEDIT=$ac_cv_prog_NMEDIT
7238
if test -n "$NMEDIT"; then
7239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7240
$as_echo "$NMEDIT" >&6; }
7242
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7243
$as_echo "no" >&6; }
7248
if test -z "$ac_cv_prog_NMEDIT"; then
7249
ac_ct_NMEDIT=$NMEDIT
7250
# Extract the first word of "nmedit", so it can be a program name with args.
7251
set dummy nmedit; ac_word=$2
7252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7253
$as_echo_n "checking for $ac_word... " >&6; }
7254
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7255
$as_echo_n "(cached) " >&6
7257
if test -n "$ac_ct_NMEDIT"; then
7258
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7260
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7264
test -z "$as_dir" && as_dir=.
7265
for ac_exec_ext in '' $ac_executable_extensions; do
7266
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7267
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7268
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7277
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7278
if test -n "$ac_ct_NMEDIT"; then
7279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7280
$as_echo "$ac_ct_NMEDIT" >&6; }
7282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7283
$as_echo "no" >&6; }
7286
if test "x$ac_ct_NMEDIT" = x; then
7289
case $cross_compiling:$ac_tool_warned in
7291
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7292
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7293
ac_tool_warned=yes ;;
7295
NMEDIT=$ac_ct_NMEDIT
7298
NMEDIT="$ac_cv_prog_NMEDIT"
7301
if test -n "$ac_tool_prefix"; then
7302
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7303
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305
$as_echo_n "checking for $ac_word... " >&6; }
7306
if ${ac_cv_prog_LIPO+:} false; then :
7307
$as_echo_n "(cached) " >&6
7309
if test -n "$LIPO"; then
7310
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7316
test -z "$as_dir" && as_dir=.
7317
for ac_exec_ext in '' $ac_executable_extensions; do
7318
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7319
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7320
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7329
LIPO=$ac_cv_prog_LIPO
7330
if test -n "$LIPO"; then
7331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7332
$as_echo "$LIPO" >&6; }
7334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7335
$as_echo "no" >&6; }
7340
if test -z "$ac_cv_prog_LIPO"; then
7342
# Extract the first word of "lipo", so it can be a program name with args.
7343
set dummy lipo; ac_word=$2
7344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7345
$as_echo_n "checking for $ac_word... " >&6; }
7346
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7347
$as_echo_n "(cached) " >&6
7349
if test -n "$ac_ct_LIPO"; then
7350
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7352
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7356
test -z "$as_dir" && as_dir=.
7357
for ac_exec_ext in '' $ac_executable_extensions; do
7358
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7359
ac_cv_prog_ac_ct_LIPO="lipo"
7360
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7369
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7370
if test -n "$ac_ct_LIPO"; then
7371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7372
$as_echo "$ac_ct_LIPO" >&6; }
7374
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7375
$as_echo "no" >&6; }
7378
if test "x$ac_ct_LIPO" = x; then
7381
case $cross_compiling:$ac_tool_warned in
7383
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7384
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7385
ac_tool_warned=yes ;;
7390
LIPO="$ac_cv_prog_LIPO"
7393
if test -n "$ac_tool_prefix"; then
7394
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7395
set dummy ${ac_tool_prefix}otool; ac_word=$2
7396
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7397
$as_echo_n "checking for $ac_word... " >&6; }
7398
if ${ac_cv_prog_OTOOL+:} false; then :
7399
$as_echo_n "(cached) " >&6
7401
if test -n "$OTOOL"; then
7402
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7404
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408
test -z "$as_dir" && as_dir=.
7409
for ac_exec_ext in '' $ac_executable_extensions; do
7410
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7411
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7412
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7421
OTOOL=$ac_cv_prog_OTOOL
7422
if test -n "$OTOOL"; then
7423
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7424
$as_echo "$OTOOL" >&6; }
7426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427
$as_echo "no" >&6; }
7432
if test -z "$ac_cv_prog_OTOOL"; then
7434
# Extract the first word of "otool", so it can be a program name with args.
7435
set dummy otool; ac_word=$2
7436
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7437
$as_echo_n "checking for $ac_word... " >&6; }
7438
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7439
$as_echo_n "(cached) " >&6
7441
if test -n "$ac_ct_OTOOL"; then
7442
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7444
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448
test -z "$as_dir" && as_dir=.
7449
for ac_exec_ext in '' $ac_executable_extensions; do
7450
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7451
ac_cv_prog_ac_ct_OTOOL="otool"
7452
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7462
if test -n "$ac_ct_OTOOL"; then
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7464
$as_echo "$ac_ct_OTOOL" >&6; }
7466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7467
$as_echo "no" >&6; }
7470
if test "x$ac_ct_OTOOL" = x; then
7473
case $cross_compiling:$ac_tool_warned in
7475
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7476
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7477
ac_tool_warned=yes ;;
7482
OTOOL="$ac_cv_prog_OTOOL"
7485
if test -n "$ac_tool_prefix"; then
7486
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7487
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7488
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7489
$as_echo_n "checking for $ac_word... " >&6; }
7490
if ${ac_cv_prog_OTOOL64+:} false; then :
7491
$as_echo_n "(cached) " >&6
7493
if test -n "$OTOOL64"; then
7494
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7496
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500
test -z "$as_dir" && as_dir=.
7501
for ac_exec_ext in '' $ac_executable_extensions; do
7502
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7503
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7504
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513
OTOOL64=$ac_cv_prog_OTOOL64
7514
if test -n "$OTOOL64"; then
7515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7516
$as_echo "$OTOOL64" >&6; }
7518
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7519
$as_echo "no" >&6; }
7524
if test -z "$ac_cv_prog_OTOOL64"; then
7525
ac_ct_OTOOL64=$OTOOL64
7526
# Extract the first word of "otool64", so it can be a program name with args.
7527
set dummy otool64; ac_word=$2
7528
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7529
$as_echo_n "checking for $ac_word... " >&6; }
7530
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7531
$as_echo_n "(cached) " >&6
7533
if test -n "$ac_ct_OTOOL64"; then
7534
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540
test -z "$as_dir" && as_dir=.
7541
for ac_exec_ext in '' $ac_executable_extensions; do
7542
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7543
ac_cv_prog_ac_ct_OTOOL64="otool64"
7544
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7554
if test -n "$ac_ct_OTOOL64"; then
7555
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7556
$as_echo "$ac_ct_OTOOL64" >&6; }
7558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7559
$as_echo "no" >&6; }
7562
if test "x$ac_ct_OTOOL64" = x; then
7565
case $cross_compiling:$ac_tool_warned in
7567
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7568
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7569
ac_tool_warned=yes ;;
7571
OTOOL64=$ac_ct_OTOOL64
7574
OTOOL64="$ac_cv_prog_OTOOL64"
7603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7604
$as_echo_n "checking for -single_module linker flag... " >&6; }
7605
if ${lt_cv_apple_cc_single_mod+:} false; then :
7606
$as_echo_n "(cached) " >&6
7608
lt_cv_apple_cc_single_mod=no
7609
if test -z "${LT_MULTI_MODULE}"; then
7610
# By default we will add the -single_module flag. You can override
7611
# by either setting the environment variable LT_MULTI_MODULE
7612
# non-empty at configure time, or by adding -multi_module to the
7614
rm -rf libconftest.dylib*
7615
echo "int foo(void){return 1;}" > conftest.c
7616
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7617
-dynamiclib -Wl,-single_module conftest.c" >&5
7618
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7619
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7621
# If there is a non-empty error log, and "single_module"
7622
# appears in it, assume the flag caused a linker warning
7623
if test -s conftest.err && $GREP single_module conftest.err; then
7624
cat conftest.err >&5
7625
# Otherwise, if the output was created with a 0 exit code from
7626
# the compiler, it worked.
7627
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7628
lt_cv_apple_cc_single_mod=yes
7630
cat conftest.err >&5
7632
rm -rf libconftest.dylib*
7636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7637
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7639
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7640
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7641
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7642
$as_echo_n "(cached) " >&6
7644
lt_cv_ld_exported_symbols_list=no
7645
save_LDFLAGS=$LDFLAGS
7646
echo "_main" > conftest.sym
7647
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7648
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7649
/* end confdefs.h. */
7659
if ac_fn_c_try_link "$LINENO"; then :
7660
lt_cv_ld_exported_symbols_list=yes
7662
lt_cv_ld_exported_symbols_list=no
7664
rm -f core conftest.err conftest.$ac_objext \
7665
conftest$ac_exeext conftest.$ac_ext
7666
LDFLAGS="$save_LDFLAGS"
7669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7670
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7672
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7673
$as_echo_n "checking for -force_load linker flag... " >&6; }
7674
if ${lt_cv_ld_force_load+:} false; then :
7675
$as_echo_n "(cached) " >&6
7677
lt_cv_ld_force_load=no
7678
cat > conftest.c << _LT_EOF
7679
int forced_loaded() { return 2;}
7681
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7682
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7683
echo "$AR cru libconftest.a conftest.o" >&5
7684
$AR cru libconftest.a conftest.o 2>&5
7685
echo "$RANLIB libconftest.a" >&5
7686
$RANLIB libconftest.a 2>&5
7687
cat > conftest.c << _LT_EOF
7688
int main() { return 0;}
7690
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7691
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7693
if test -s conftest.err && $GREP force_load conftest.err; then
7694
cat conftest.err >&5
7695
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7696
lt_cv_ld_force_load=yes
7698
cat conftest.err >&5
7700
rm -f conftest.err libconftest.a conftest conftest.c
7701
rm -rf conftest.dSYM
7704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7705
$as_echo "$lt_cv_ld_force_load" >&6; }
7707
rhapsody* | darwin1.[012])
7708
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7710
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7711
darwin*) # darwin 5.x on
7712
# if running on 10.5 or later, the deployment target defaults
7713
# to the OS version, if on x86, and 10.4, the deployment
7714
# target defaults to 10.4. Don't you love it?
7715
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7716
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7717
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7719
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7721
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7725
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7726
_lt_dar_single_mod='$single_module'
7728
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7729
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7731
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7733
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7734
_lt_dsymutil='~$DSYMUTIL $lib || :'
7741
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7742
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7743
inttypes.h stdint.h unistd.h
7745
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7748
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7749
cat >>confdefs.h <<_ACEOF
7750
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7758
for ac_header in dlfcn.h
7760
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7762
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7763
cat >>confdefs.h <<_ACEOF
7764
#define HAVE_DLFCN_H 1
7785
# Check whether --enable-shared was given.
7786
if test "${enable_shared+set}" = set; then :
7787
enableval=$enable_shared; p=${PACKAGE-default}
7789
yes) enable_shared=yes ;;
7790
no) enable_shared=no ;;
7793
# Look at the argument we got. We use all the common list separators.
7794
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7795
for pkg in $enableval; do
7797
if test "X$pkg" = "X$p"; then
7816
# Check whether --enable-static was given.
7817
if test "${enable_static+set}" = set; then :
7818
enableval=$enable_static; p=${PACKAGE-default}
7820
yes) enable_static=yes ;;
7821
no) enable_static=no ;;
7824
# Look at the argument we got. We use all the common list separators.
7825
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7826
for pkg in $enableval; do
7828
if test "X$pkg" = "X$p"; then
7848
# Check whether --with-pic was given.
7849
if test "${with_pic+set}" = set; then :
7850
withval=$with_pic; lt_p=${PACKAGE-default}
7852
yes|no) pic_mode=$withval ;;
7855
# Look at the argument we got. We use all the common list separators.
7856
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7857
for lt_pkg in $withval; do
7859
if test "X$lt_pkg" = "X$lt_p"; then
7871
test -z "$pic_mode" && pic_mode=default
7879
# Check whether --enable-fast-install was given.
7880
if test "${enable_fast_install+set}" = set; then :
7881
enableval=$enable_fast_install; p=${PACKAGE-default}
7883
yes) enable_fast_install=yes ;;
7884
no) enable_fast_install=no ;;
7886
enable_fast_install=no
7887
# Look at the argument we got. We use all the common list separators.
7888
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7889
for pkg in $enableval; do
7891
if test "X$pkg" = "X$p"; then
7892
enable_fast_install=yes
7899
enable_fast_install=yes
7912
# This can be used to rebuild libtool when needed
7913
LIBTOOL_DEPS="$ltmain"
7915
# Always use our own libtool.
7916
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7947
test -z "$LN_S" && LN_S="ln -s"
7962
if test -n "${ZSH_VERSION+set}" ; then
7963
setopt NO_GLOB_SUBST
7966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7967
$as_echo_n "checking for objdir... " >&6; }
7968
if ${lt_cv_objdir+:} false; then :
7969
$as_echo_n "(cached) " >&6
7971
rm -f .libs 2>/dev/null
7972
mkdir .libs 2>/dev/null
7973
if test -d .libs; then
7976
# MS-DOS does not allow filenames that begin with a dot.
7979
rmdir .libs 2>/dev/null
7981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7982
$as_echo "$lt_cv_objdir" >&6; }
7983
objdir=$lt_cv_objdir
7989
cat >>confdefs.h <<_ACEOF
7990
#define LT_OBJDIR "$lt_cv_objdir/"
7998
# AIX sometimes has problems with the GCC collect2 program. For some
7999
# reason, if we set the COLLECT_NAMES environment variable, the problems
8000
# vanish in a puff of smoke.
8001
if test "X${COLLECT_NAMES+set}" != Xset; then
8003
export COLLECT_NAMES
8010
can_build_shared=yes
8012
# All known linkers require a `.a' archive for static linking (except MSVC,
8013
# which needs '.lib').
8016
with_gnu_ld="$lt_cv_prog_gnu_ld"
8019
old_CFLAGS="$CFLAGS"
8021
# Set sane defaults for various variables
8022
test -z "$CC" && CC=cc
8023
test -z "$LTCC" && LTCC=$CC
8024
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8025
test -z "$LD" && LD=ld
8026
test -z "$ac_objext" && ac_objext=o
8028
for cc_temp in $compiler""; do
8030
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8031
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8036
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8039
# Only perform the check for file, if the check method requires it
8040
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8041
case $deplibs_check_method in
8043
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8044
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8045
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8046
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8047
$as_echo_n "(cached) " >&6
8051
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8054
lt_save_MAGIC_CMD="$MAGIC_CMD"
8055
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8056
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8057
for ac_dir in $ac_dummy; do
8059
test -z "$ac_dir" && ac_dir=.
8060
if test -f $ac_dir/${ac_tool_prefix}file; then
8061
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8062
if test -n "$file_magic_test_file"; then
8063
case $deplibs_check_method in
8065
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8066
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8067
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8068
$EGREP "$file_magic_regex" > /dev/null; then
8073
*** Warning: the command libtool uses to detect shared libraries,
8074
*** $file_magic_cmd, produces output that libtool cannot recognize.
8075
*** The result is that libtool may fail to recognize shared libraries
8076
*** as such. This will affect the creation of libtool libraries that
8077
*** depend on shared libraries, but programs linked with such libtool
8078
*** libraries will work regardless of this problem. Nevertheless, you
8079
*** may want to report the problem to your system manager and/or to
8080
*** bug-libtool@gnu.org
8090
MAGIC_CMD="$lt_save_MAGIC_CMD"
8095
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8096
if test -n "$MAGIC_CMD"; then
8097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8098
$as_echo "$MAGIC_CMD" >&6; }
8100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8101
$as_echo "no" >&6; }
8108
if test -z "$lt_cv_path_MAGIC_CMD"; then
8109
if test -n "$ac_tool_prefix"; then
8110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8111
$as_echo_n "checking for file... " >&6; }
8112
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8113
$as_echo_n "(cached) " >&6
8117
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8120
lt_save_MAGIC_CMD="$MAGIC_CMD"
8121
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8122
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8123
for ac_dir in $ac_dummy; do
8125
test -z "$ac_dir" && ac_dir=.
8126
if test -f $ac_dir/file; then
8127
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8128
if test -n "$file_magic_test_file"; then
8129
case $deplibs_check_method in
8131
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8132
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8133
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8134
$EGREP "$file_magic_regex" > /dev/null; then
8139
*** Warning: the command libtool uses to detect shared libraries,
8140
*** $file_magic_cmd, produces output that libtool cannot recognize.
8141
*** The result is that libtool may fail to recognize shared libraries
8142
*** as such. This will affect the creation of libtool libraries that
8143
*** depend on shared libraries, but programs linked with such libtool
8144
*** libraries will work regardless of this problem. Nevertheless, you
8145
*** may want to report the problem to your system manager and/or to
8146
*** bug-libtool@gnu.org
8156
MAGIC_CMD="$lt_save_MAGIC_CMD"
8161
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8162
if test -n "$MAGIC_CMD"; then
8163
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8164
$as_echo "$MAGIC_CMD" >&6; }
8166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8167
$as_echo "no" >&6; }
8180
# Use C for the default configuration in the libtool script
8184
ac_cpp='$CPP $CPPFLAGS'
8185
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8186
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8187
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8190
# Source file extension for C test sources.
8193
# Object file extension for compiled C test sources.
8197
# Code to be used in simple compile tests
8198
lt_simple_compile_test_code="int some_variable = 0;"
8200
# Code to be used in simple link tests
8201
lt_simple_link_test_code='int main(){return(0);}'
8209
# If no C compiler was specified, use CC.
8212
# If no C compiler flags were specified, use CFLAGS.
8213
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8215
# Allow CC to be a program name with arguments.
8218
# Save the default compiler, since it gets overwritten when the other
8219
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8220
compiler_DEFAULT=$CC
8222
# save warnings/boilerplate of simple test code
8223
ac_outfile=conftest.$ac_objext
8224
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8225
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8226
_lt_compiler_boilerplate=`cat conftest.err`
8229
ac_outfile=conftest.$ac_objext
8230
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8231
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8232
_lt_linker_boilerplate=`cat conftest.err`
8237
## There is no encapsulation within the following macros, do not change
8238
## the running order or otherwise move them around unless you know exactly
8239
## what you are doing...
8240
if test -n "$compiler"; then
8242
lt_prog_compiler_no_builtin_flag=
8244
if test "$GCC" = yes; then
8245
case $cc_basename in
8247
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8249
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8253
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8254
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8255
$as_echo_n "(cached) " >&6
8257
lt_cv_prog_compiler_rtti_exceptions=no
8258
ac_outfile=conftest.$ac_objext
8259
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8260
lt_compiler_flag="-fno-rtti -fno-exceptions"
8261
# Insert the option either (1) after the last *FLAGS variable, or
8262
# (2) before a word containing "conftest.", or (3) at the end.
8263
# Note that $ac_compile itself does not contain backslashes and begins
8264
# with a dollar sign (not a hyphen), so the echo should work correctly.
8265
# The option is referenced via a variable to avoid confusing sed.
8266
lt_compile=`echo "$ac_compile" | $SED \
8267
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8268
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8269
-e 's:$: $lt_compiler_flag:'`
8270
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8271
(eval "$lt_compile" 2>conftest.err)
8273
cat conftest.err >&5
8274
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275
if (exit $ac_status) && test -s "$ac_outfile"; then
8276
# The compiler can only warn and ignore the option if not recognized
8277
# So say no if there are warnings other than the usual output.
8278
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8279
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8280
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8281
lt_cv_prog_compiler_rtti_exceptions=yes
8287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8288
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8290
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8291
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8303
lt_prog_compiler_wl=
8304
lt_prog_compiler_pic=
8305
lt_prog_compiler_static=
8308
if test "$GCC" = yes; then
8309
lt_prog_compiler_wl='-Wl,'
8310
lt_prog_compiler_static='-static'
8314
# All AIX code is PIC.
8315
if test "$host_cpu" = ia64; then
8316
# AIX 5 now supports IA64 processor
8317
lt_prog_compiler_static='-Bstatic'
8324
# see comment about AmigaOS4 .so support
8325
lt_prog_compiler_pic='-fPIC'
8328
# FIXME: we need at least 68020 code to build shared libraries, but
8329
# adding the `-m68020' flag to GCC prevents building anything better,
8331
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8336
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8337
# PIC is the default for these OSes.
8340
mingw* | cygwin* | pw32* | os2* | cegcc*)
8341
# This hack is so that the source file can tell whether it is being
8342
# built for inclusion in a dll (and should export symbols for example).
8343
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8344
# (--disable-auto-import) libraries
8345
lt_prog_compiler_pic='-DDLL_EXPORT'
8348
darwin* | rhapsody*)
8349
# PIC is the default on this platform
8350
# Common symbols not allowed in MH_DYLIB files
8351
lt_prog_compiler_pic='-fno-common'
8355
# PIC is the default for Haiku.
8356
# The "-static" flag exists, but is broken.
8357
lt_prog_compiler_static=
8361
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8362
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8363
# sets the default TLS model and affects inlining.
8369
lt_prog_compiler_pic='-fPIC'
8375
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8376
# Instead, we relocate shared libraries at runtime.
8380
# Just because we use GCC doesn't mean we suddenly get shared libraries
8381
# on systems that don't support them.
8382
lt_prog_compiler_can_build_shared=no
8387
# QNX uses GNU C++, but need to define -shared option too, otherwise
8389
lt_prog_compiler_pic='-fPIC -shared'
8393
if test -d /usr/nec; then
8394
lt_prog_compiler_pic=-Kconform_pic
8399
lt_prog_compiler_pic='-fPIC'
8403
case $cc_basename in
8404
nvcc*) # Cuda Compiler Driver 2.2
8405
lt_prog_compiler_wl='-Xlinker '
8406
if test -n "$lt_prog_compiler_pic"; then
8407
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8412
# PORTME Check for flag to pass linker flags through the system compiler.
8415
lt_prog_compiler_wl='-Wl,'
8416
if test "$host_cpu" = ia64; then
8417
# AIX 5 now supports IA64 processor
8418
lt_prog_compiler_static='-Bstatic'
8420
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8424
mingw* | cygwin* | pw32* | os2* | cegcc*)
8425
# This hack is so that the source file can tell whether it is being
8426
# built for inclusion in a dll (and should export symbols for example).
8427
lt_prog_compiler_pic='-DDLL_EXPORT'
8430
hpux9* | hpux10* | hpux11*)
8431
lt_prog_compiler_wl='-Wl,'
8432
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8439
lt_prog_compiler_pic='+Z'
8442
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8443
lt_prog_compiler_static='${wl}-a ${wl}archive'
8446
irix5* | irix6* | nonstopux*)
8447
lt_prog_compiler_wl='-Wl,'
8448
# PIC (with -KPIC) is the default.
8449
lt_prog_compiler_static='-non_shared'
8452
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8453
case $cc_basename in
8454
# old Intel for x86_64 which still supported -KPIC.
8456
lt_prog_compiler_wl='-Wl,'
8457
lt_prog_compiler_pic='-KPIC'
8458
lt_prog_compiler_static='-static'
8460
# icc used to be incompatible with GCC.
8461
# ICC 10 doesn't accept -KPIC any more.
8463
lt_prog_compiler_wl='-Wl,'
8464
lt_prog_compiler_pic='-fPIC'
8465
lt_prog_compiler_static='-static'
8467
# Lahey Fortran 8.1.
8469
lt_prog_compiler_wl='-Wl,'
8470
lt_prog_compiler_pic='--shared'
8471
lt_prog_compiler_static='--static'
8474
# NAG Fortran compiler
8475
lt_prog_compiler_wl='-Wl,-Wl,,'
8476
lt_prog_compiler_pic='-PIC'
8477
lt_prog_compiler_static='-Bstatic'
8479
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8480
# Portland Group compilers (*not* the Pentium gcc compiler,
8481
# which looks to be a dead project)
8482
lt_prog_compiler_wl='-Wl,'
8483
lt_prog_compiler_pic='-fpic'
8484
lt_prog_compiler_static='-Bstatic'
8487
lt_prog_compiler_wl='-Wl,'
8488
# All Alpha code is PIC.
8489
lt_prog_compiler_static='-non_shared'
8491
xl* | bgxl* | bgf* | mpixl*)
8492
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8493
lt_prog_compiler_wl='-Wl,'
8494
lt_prog_compiler_pic='-qpic'
8495
lt_prog_compiler_static='-qstaticlink'
8498
case `$CC -V 2>&1 | sed 5q` in
8499
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8500
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8501
lt_prog_compiler_pic='-KPIC'
8502
lt_prog_compiler_static='-Bstatic'
8503
lt_prog_compiler_wl=''
8505
*Sun\ F* | *Sun*Fortran*)
8506
lt_prog_compiler_pic='-KPIC'
8507
lt_prog_compiler_static='-Bstatic'
8508
lt_prog_compiler_wl='-Qoption ld '
8512
lt_prog_compiler_pic='-KPIC'
8513
lt_prog_compiler_static='-Bstatic'
8514
lt_prog_compiler_wl='-Wl,'
8516
*Intel*\ [CF]*Compiler*)
8517
lt_prog_compiler_wl='-Wl,'
8518
lt_prog_compiler_pic='-fPIC'
8519
lt_prog_compiler_static='-static'
8522
lt_prog_compiler_wl='-Wl,'
8523
lt_prog_compiler_pic='-fpic'
8524
lt_prog_compiler_static='-Bstatic'
8532
lt_prog_compiler_pic='-KPIC'
8533
lt_prog_compiler_static='-Bstatic'
8537
# QNX uses GNU C++, but need to define -shared option too, otherwise
8539
lt_prog_compiler_pic='-fPIC -shared'
8542
osf3* | osf4* | osf5*)
8543
lt_prog_compiler_wl='-Wl,'
8544
# All OSF/1 code is PIC.
8545
lt_prog_compiler_static='-non_shared'
8549
lt_prog_compiler_static='-non_shared'
8553
lt_prog_compiler_pic='-KPIC'
8554
lt_prog_compiler_static='-Bstatic'
8555
case $cc_basename in
8556
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8557
lt_prog_compiler_wl='-Qoption ld ';;
8559
lt_prog_compiler_wl='-Wl,';;
8564
lt_prog_compiler_wl='-Qoption ld '
8565
lt_prog_compiler_pic='-PIC'
8566
lt_prog_compiler_static='-Bstatic'
8569
sysv4 | sysv4.2uw2* | sysv4.3*)
8570
lt_prog_compiler_wl='-Wl,'
8571
lt_prog_compiler_pic='-KPIC'
8572
lt_prog_compiler_static='-Bstatic'
8576
if test -d /usr/nec ;then
8577
lt_prog_compiler_pic='-Kconform_pic'
8578
lt_prog_compiler_static='-Bstatic'
8582
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8583
lt_prog_compiler_wl='-Wl,'
8584
lt_prog_compiler_pic='-KPIC'
8585
lt_prog_compiler_static='-Bstatic'
8589
lt_prog_compiler_wl='-Wl,'
8590
lt_prog_compiler_can_build_shared=no
8594
lt_prog_compiler_pic='-pic'
8595
lt_prog_compiler_static='-Bstatic'
8599
lt_prog_compiler_can_build_shared=no
8605
# For platforms which do not support PIC, -DPIC is meaningless:
8607
lt_prog_compiler_pic=
8610
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8614
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8615
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8616
if ${lt_cv_prog_compiler_pic+:} false; then :
8617
$as_echo_n "(cached) " >&6
8619
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8621
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8622
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8623
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8626
# Check to make sure the PIC flag actually works.
8628
if test -n "$lt_prog_compiler_pic"; then
8629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8630
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8631
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8632
$as_echo_n "(cached) " >&6
8634
lt_cv_prog_compiler_pic_works=no
8635
ac_outfile=conftest.$ac_objext
8636
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8637
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8638
# Insert the option either (1) after the last *FLAGS variable, or
8639
# (2) before a word containing "conftest.", or (3) at the end.
8640
# Note that $ac_compile itself does not contain backslashes and begins
8641
# with a dollar sign (not a hyphen), so the echo should work correctly.
8642
# The option is referenced via a variable to avoid confusing sed.
8643
lt_compile=`echo "$ac_compile" | $SED \
8644
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8645
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8646
-e 's:$: $lt_compiler_flag:'`
8647
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8648
(eval "$lt_compile" 2>conftest.err)
8650
cat conftest.err >&5
8651
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8652
if (exit $ac_status) && test -s "$ac_outfile"; then
8653
# The compiler can only warn and ignore the option if not recognized
8654
# So say no if there are warnings other than the usual output.
8655
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8656
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8657
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8658
lt_cv_prog_compiler_pic_works=yes
8664
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8665
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8667
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8668
case $lt_prog_compiler_pic in
8670
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8673
lt_prog_compiler_pic=
8674
lt_prog_compiler_can_build_shared=no
8690
# Check to make sure the static flag actually works.
8692
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8693
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8694
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8695
if ${lt_cv_prog_compiler_static_works+:} false; then :
8696
$as_echo_n "(cached) " >&6
8698
lt_cv_prog_compiler_static_works=no
8699
save_LDFLAGS="$LDFLAGS"
8700
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8701
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8702
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8703
# The linker can only warn and ignore the option if not recognized
8704
# So say no if there are warnings
8705
if test -s conftest.err; then
8706
# Append any errors to the config.log.
8707
cat conftest.err 1>&5
8708
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8709
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8710
if diff conftest.exp conftest.er2 >/dev/null; then
8711
lt_cv_prog_compiler_static_works=yes
8714
lt_cv_prog_compiler_static_works=yes
8718
LDFLAGS="$save_LDFLAGS"
8721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8722
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8724
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8727
lt_prog_compiler_static=
8736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8737
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8738
if ${lt_cv_prog_compiler_c_o+:} false; then :
8739
$as_echo_n "(cached) " >&6
8741
lt_cv_prog_compiler_c_o=no
8742
$RM -r conftest 2>/dev/null
8746
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8748
lt_compiler_flag="-o out/conftest2.$ac_objext"
8749
# Insert the option either (1) after the last *FLAGS variable, or
8750
# (2) before a word containing "conftest.", or (3) at the end.
8751
# Note that $ac_compile itself does not contain backslashes and begins
8752
# with a dollar sign (not a hyphen), so the echo should work correctly.
8753
lt_compile=`echo "$ac_compile" | $SED \
8754
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8755
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8756
-e 's:$: $lt_compiler_flag:'`
8757
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8758
(eval "$lt_compile" 2>out/conftest.err)
8760
cat out/conftest.err >&5
8761
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8764
# The compiler can only warn and ignore the option if not recognized
8765
# So say no if there are warnings
8766
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8767
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8768
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8769
lt_cv_prog_compiler_c_o=yes
8774
# SGI C++ compiler will create directory out/ii_files/ for
8775
# template instantiation
8776
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8777
$RM out/* && rmdir out
8783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8784
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8792
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8793
if ${lt_cv_prog_compiler_c_o+:} false; then :
8794
$as_echo_n "(cached) " >&6
8796
lt_cv_prog_compiler_c_o=no
8797
$RM -r conftest 2>/dev/null
8801
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8803
lt_compiler_flag="-o out/conftest2.$ac_objext"
8804
# Insert the option either (1) after the last *FLAGS variable, or
8805
# (2) before a word containing "conftest.", or (3) at the end.
8806
# Note that $ac_compile itself does not contain backslashes and begins
8807
# with a dollar sign (not a hyphen), so the echo should work correctly.
8808
lt_compile=`echo "$ac_compile" | $SED \
8809
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8810
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8811
-e 's:$: $lt_compiler_flag:'`
8812
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8813
(eval "$lt_compile" 2>out/conftest.err)
8815
cat out/conftest.err >&5
8816
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8819
# The compiler can only warn and ignore the option if not recognized
8820
# So say no if there are warnings
8821
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8822
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8823
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8824
lt_cv_prog_compiler_c_o=yes
8829
# SGI C++ compiler will create directory out/ii_files/ for
8830
# template instantiation
8831
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8832
$RM out/* && rmdir out
8838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8839
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8844
hard_links="nottested"
8845
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8846
# do not overwrite the value of need_locks provided by the user
8847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8848
$as_echo_n "checking if we can lock with hard links... " >&6; }
8851
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8853
ln conftest.a conftest.b 2>&5 || hard_links=no
8854
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8856
$as_echo "$hard_links" >&6; }
8857
if test "$hard_links" = no; then
8858
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8859
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8871
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8872
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8875
allow_undefined_flag=
8876
always_export_symbols=no
8878
archive_expsym_cmds=
8879
compiler_needs_object=no
8880
enable_shared_with_static_runtimes=no
8881
export_dynamic_flag_spec=
8882
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8883
hardcode_automatic=no
8885
hardcode_direct_absolute=no
8886
hardcode_libdir_flag_spec=
8887
hardcode_libdir_separator=
8889
hardcode_shlibpath_var=unsupported
8891
link_all_deplibs=unknown
8894
old_archive_from_new_cmds=
8895
old_archive_from_expsyms_cmds=
8896
thread_safe_flag_spec=
8897
whole_archive_flag_spec=
8898
# include_expsyms should be a list of space-separated symbols to be *always*
8899
# included in the symbol list
8901
# exclude_expsyms can be an extended regexp of symbols to exclude
8902
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8903
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8904
# as well as any symbol that contains `d'.
8905
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8906
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8907
# platforms (ab)use it in PIC code, but their linkers get confused if
8908
# the symbol is explicitly referenced. Since portable code cannot
8909
# rely on this symbol name, it's probably fine to never include it in
8910
# preloaded symbol tables.
8911
# Exclude shared library initialization/finalization symbols.
8912
extract_expsyms_cmds=
8915
cygwin* | mingw* | pw32* | cegcc*)
8916
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8917
# When not using gcc, we currently assume that we are using
8918
# Microsoft Visual C++.
8919
if test "$GCC" != yes; then
8924
# we just hope/assume this is gcc and not c89 (= MSVC++)
8930
linux* | k*bsd*-gnu | gnu*)
8937
# On some targets, GNU ld is compatible enough with the native linker
8938
# that we're better off using the native interface for both.
8939
lt_use_gnu_ld_interface=no
8940
if test "$with_gnu_ld" = yes; then
8943
# The AIX port of GNU ld has always aspired to compatibility
8944
# with the native linker. However, as the warning in the GNU ld
8945
# block says, versions before 2.19.5* couldn't really create working
8946
# shared libraries, regardless of the interface used.
8947
case `$LD -v 2>&1` in
8948
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8949
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8950
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8952
lt_use_gnu_ld_interface=yes
8957
lt_use_gnu_ld_interface=yes
8962
if test "$lt_use_gnu_ld_interface" = yes; then
8963
# If archive_cmds runs LD, not CC, wlarc should be empty
8966
# Set some defaults for GNU ld with shared library support. These
8967
# are reset later if shared libraries are not supported. Putting them
8968
# here allows them to be overridden if necessary.
8969
runpath_var=LD_RUN_PATH
8970
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8971
export_dynamic_flag_spec='${wl}--export-dynamic'
8972
# ancient GNU ld didn't support --whole-archive et. al.
8973
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8974
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8976
whole_archive_flag_spec=
8978
supports_anon_versioning=no
8979
case `$LD -v 2>&1` in
8980
*GNU\ gold*) supports_anon_versioning=yes ;;
8981
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8982
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8983
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8984
*\ 2.11.*) ;; # other 2.11 versions
8985
*) supports_anon_versioning=yes ;;
8988
# See if GNU ld supports shared libraries.
8991
# On AIX/PPC, the GNU linker is very broken
8992
if test "$host_cpu" != ia64; then
8996
*** Warning: the GNU linker, at least up to release 2.19, is reported
8997
*** to be unable to reliably create shared libraries on AIX.
8998
*** Therefore, libtool is disabling shared libraries support. If you
8999
*** really care for shared libraries, you may want to install binutils
9000
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9001
*** You will then need to restart the configuration process.
9010
# see comment about AmigaOS4 .so support
9011
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9012
archive_expsym_cmds=''
9015
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)'
9016
hardcode_libdir_flag_spec='-L$libdir'
9017
hardcode_minus_L=yes
9023
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9024
allow_undefined_flag=unsupported
9025
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9026
# support --undefined. This deserves some investigation. FIXME
9027
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9033
cygwin* | mingw* | pw32* | cegcc*)
9034
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9035
# as there is no search path for DLLs.
9036
hardcode_libdir_flag_spec='-L$libdir'
9037
export_dynamic_flag_spec='${wl}--export-all-symbols'
9038
allow_undefined_flag=unsupported
9039
always_export_symbols=no
9040
enable_shared_with_static_runtimes=yes
9041
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'
9042
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9044
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9045
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9046
# If the export-symbols file already is a .def file (1st line
9047
# is EXPORTS), use it as is; otherwise, prepend...
9048
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9049
cp $export_symbols $output_objdir/$soname.def;
9051
echo EXPORTS > $output_objdir/$soname.def;
9052
cat $export_symbols >> $output_objdir/$soname.def;
9054
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9061
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9062
link_all_deplibs=yes
9067
hardcode_shlibpath_var=no
9068
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9069
export_dynamic_flag_spec='${wl}-E'
9070
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9071
# Instead, shared libraries are loaded at an image base (0x10000000 by
9072
# default) and relocated if they conflict, which is a slow very memory
9073
# consuming and fragmenting process. To avoid this, we pick a random,
9074
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9075
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9076
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9077
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'
9080
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9082
if test "$host_os" = linux-dietlibc; then
9083
case $cc_basename in
9084
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9087
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9088
&& test "$tmp_diet" = no
9090
tmp_addflag=' $pic_flag'
9091
tmp_sharedflag='-shared'
9092
case $cc_basename,$host_cpu in
9093
pgcc*) # Portland Group C compiler
9094
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'
9095
tmp_addflag=' $pic_flag'
9097
pgf77* | pgf90* | pgf95* | pgfortran*)
9098
# Portland Group f77 and f90 compilers
9099
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'
9100
tmp_addflag=' $pic_flag -Mnomain' ;;
9101
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9102
tmp_addflag=' -i_dynamic' ;;
9103
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9104
tmp_addflag=' -i_dynamic -nofor_main' ;;
9105
ifc* | ifort*) # Intel Fortran compiler
9106
tmp_addflag=' -nofor_main' ;;
9107
lf95*) # Lahey Fortran 8.1
9108
whole_archive_flag_spec=
9109
tmp_sharedflag='--shared' ;;
9110
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9111
tmp_sharedflag='-qmkshrobj'
9113
nvcc*) # Cuda Compiler Driver 2.2
9114
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'
9115
compiler_needs_object=yes
9118
case `$CC -V 2>&1 | sed 5q` in
9119
*Sun\ C*) # Sun C 5.9
9120
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'
9121
compiler_needs_object=yes
9122
tmp_sharedflag='-G' ;;
9123
*Sun\ F*) # Sun Fortran 8.3
9124
tmp_sharedflag='-G' ;;
9126
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9128
if test "x$supports_anon_versioning" = xyes; then
9129
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9130
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9131
echo "local: *; };" >> $output_objdir/$libname.ver~
9132
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9135
case $cc_basename in
9136
xlf* | bgf* | bgxlf* | mpixlf*)
9137
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9138
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9139
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9140
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9141
if test "x$supports_anon_versioning" = xyes; then
9142
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9143
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9144
echo "local: *; };" >> $output_objdir/$libname.ver~
9145
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9154
netbsd* | netbsdelf*-gnu)
9155
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9156
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9159
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9160
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9165
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9169
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9170
*** create shared libraries on Solaris systems. Therefore, libtool
9171
*** is disabling shared libraries support. We urge you to upgrade GNU
9172
*** binutils to release 2.9.1 or newer. Another option is to modify
9173
*** your PATH or compiler configuration so that the native linker is
9174
*** used, and then restart.
9177
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9178
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9179
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9185
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9186
case `$LD -v 2>&1` in
9187
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9191
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9192
*** reliably create shared libraries on SCO systems. Therefore, libtool
9193
*** is disabling shared libraries support. We urge you to upgrade GNU
9194
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9195
*** your PATH or compiler configuration so that the native linker is
9196
*** used, and then restart.
9201
# For security reasons, it is highly recommended that you always
9202
# use absolute paths for naming shared libraries, and exclude the
9203
# DT_RUNPATH tag from executables and libraries. But doing so
9204
# requires that you compile everything twice, which is a pain.
9205
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9206
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9207
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9208
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9217
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9220
hardcode_shlibpath_var=no
9224
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9225
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9233
if test "$ld_shlibs" = no; then
9235
hardcode_libdir_flag_spec=
9236
export_dynamic_flag_spec=
9237
whole_archive_flag_spec=
9240
# PORTME fill in a description of your system's linker (not GNU ld)
9243
allow_undefined_flag=unsupported
9244
always_export_symbols=yes
9245
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'
9246
# Note: this linker hardcodes the directories in LIBPATH if there
9247
# are no directories specified by -L.
9248
hardcode_minus_L=yes
9249
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9250
# Neither direct hardcoding nor static linking is supported with a
9252
hardcode_direct=unsupported
9257
if test "$host_cpu" = ia64; then
9258
# On IA64, the linker does run time linking by default, so we don't
9259
# have to do anything special.
9260
aix_use_runtimelinking=no
9261
exp_sym_flag='-Bexport'
9264
# If we're using GNU nm, then we don't want the "-C" option.
9265
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9266
# Also, AIX nm treats weak defined symbols like other global
9267
# defined symbols, whereas GNU nm marks them as "W".
9268
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9269
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'
9271
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'
9273
aix_use_runtimelinking=no
9275
# Test if we are trying to use run time linking or normal
9276
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9277
# need to do runtime linking.
9278
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9279
for ld_flag in $LDFLAGS; do
9280
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9281
aix_use_runtimelinking=yes
9288
exp_sym_flag='-bexport'
9289
no_entry_flag='-bnoentry'
9292
# When large executables or shared objects are built, AIX ld can
9293
# have problems creating the table of contents. If linking a library
9294
# or program results in "error TOC overflow" add -mminimal-toc to
9295
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9296
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9300
hardcode_direct_absolute=yes
9301
hardcode_libdir_separator=':'
9302
link_all_deplibs=yes
9303
file_list_spec='${wl}-f,'
9305
if test "$GCC" = yes; then
9306
case $host_os in aix4.[012]|aix4.[012].*)
9307
# We only want to do this on AIX 4.2 and lower, the check
9308
# below for broken collect2 doesn't work under 4.3+
9309
collect2name=`${CC} -print-prog-name=collect2`
9310
if test -f "$collect2name" &&
9311
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9313
# We have reworked collect2
9316
# We have old collect2
9317
hardcode_direct=unsupported
9318
# It fails to find uninstalled libraries when the uninstalled
9319
# path is not listed in the libpath. Setting hardcode_minus_L
9320
# to unsupported forces relinking
9321
hardcode_minus_L=yes
9322
hardcode_libdir_flag_spec='-L$libdir'
9323
hardcode_libdir_separator=
9327
shared_flag='-shared'
9328
if test "$aix_use_runtimelinking" = yes; then
9329
shared_flag="$shared_flag "'${wl}-G'
9334
if test "$host_cpu" = ia64; then
9335
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9336
# chokes on -Wl,-G. The following line is correct:
9339
if test "$aix_use_runtimelinking" = yes; then
9340
shared_flag='${wl}-G'
9342
shared_flag='${wl}-bM:SRE'
9347
export_dynamic_flag_spec='${wl}-bexpall'
9348
# It seems that -bexpall does not export symbols beginning with
9349
# underscore (_), so it is better to generate a list of symbols to export.
9350
always_export_symbols=yes
9351
if test "$aix_use_runtimelinking" = yes; then
9352
# Warning - without using the other runtime loading flags (-brtl),
9353
# -berok will link without error, but may produce a broken library.
9354
allow_undefined_flag='-berok'
9355
# Determine the default libpath from the value encoded in an
9357
if test "${lt_cv_aix_libpath+set}" = set; then
9358
aix_libpath=$lt_cv_aix_libpath
9360
if ${lt_cv_aix_libpath_+:} false; then :
9361
$as_echo_n "(cached) " >&6
9363
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9364
/* end confdefs.h. */
9374
if ac_fn_c_try_link "$LINENO"; then :
9376
lt_aix_libpath_sed='
9377
/Import File Strings/,/^$/ {
9379
s/^0 *\([^ ]*\) *$/\1/
9383
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9384
# Check for a 64-bit object if we didn't find anything.
9385
if test -z "$lt_cv_aix_libpath_"; then
9386
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9389
rm -f core conftest.err conftest.$ac_objext \
9390
conftest$ac_exeext conftest.$ac_ext
9391
if test -z "$lt_cv_aix_libpath_"; then
9392
lt_cv_aix_libpath_="/usr/lib:/lib"
9397
aix_libpath=$lt_cv_aix_libpath_
9400
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9401
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"
9403
if test "$host_cpu" = ia64; then
9404
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9405
allow_undefined_flag="-z nodefs"
9406
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"
9408
# Determine the default libpath from the value encoded in an
9410
if test "${lt_cv_aix_libpath+set}" = set; then
9411
aix_libpath=$lt_cv_aix_libpath
9413
if ${lt_cv_aix_libpath_+:} false; then :
9414
$as_echo_n "(cached) " >&6
9416
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9417
/* end confdefs.h. */
9427
if ac_fn_c_try_link "$LINENO"; then :
9429
lt_aix_libpath_sed='
9430
/Import File Strings/,/^$/ {
9432
s/^0 *\([^ ]*\) *$/\1/
9436
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9437
# Check for a 64-bit object if we didn't find anything.
9438
if test -z "$lt_cv_aix_libpath_"; then
9439
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9442
rm -f core conftest.err conftest.$ac_objext \
9443
conftest$ac_exeext conftest.$ac_ext
9444
if test -z "$lt_cv_aix_libpath_"; then
9445
lt_cv_aix_libpath_="/usr/lib:/lib"
9450
aix_libpath=$lt_cv_aix_libpath_
9453
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9454
# Warning - without using the other run time loading flags,
9455
# -berok will link without error, but may produce a broken library.
9456
no_undefined_flag=' ${wl}-bernotok'
9457
allow_undefined_flag=' ${wl}-berok'
9458
if test "$with_gnu_ld" = yes; then
9459
# We only use this code for GNU lds that support --whole-archive.
9460
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9462
# Exported symbols can be pulled into shared objects from archives
9463
whole_archive_flag_spec='$convenience'
9465
archive_cmds_need_lc=yes
9466
# This is similar to how AIX traditionally builds its shared libraries.
9467
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'
9475
# see comment about AmigaOS4 .so support
9476
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9477
archive_expsym_cmds=''
9480
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)'
9481
hardcode_libdir_flag_spec='-L$libdir'
9482
hardcode_minus_L=yes
9488
export_dynamic_flag_spec=-rdynamic
9491
cygwin* | mingw* | pw32* | cegcc*)
9492
# When not using gcc, we currently assume that we are using
9493
# Microsoft Visual C++.
9494
# hardcode_libdir_flag_spec is actually meaningless, as there is
9495
# no search path for DLLs.
9496
case $cc_basename in
9499
hardcode_libdir_flag_spec=' '
9500
allow_undefined_flag=unsupported
9501
always_export_symbols=yes
9503
# Tell ltmain to make .lib files, not .a files.
9505
# Tell ltmain to make .dll files, not .so files.
9507
# FIXME: Setting linknames here is a bad hack.
9508
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9509
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9510
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9512
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9514
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9516
# The linker will not automatically build a static lib if we build a DLL.
9517
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9518
enable_shared_with_static_runtimes=yes
9519
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9520
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9522
old_postinstall_cmds='chmod 644 $oldlib'
9523
postlink_cmds='lt_outputfile="@OUTPUT@"~
9524
lt_tool_outputfile="@TOOL_OUTPUT@"~
9525
case $lt_outputfile in
9528
lt_outputfile="$lt_outputfile.exe"
9529
lt_tool_outputfile="$lt_tool_outputfile.exe"
9532
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9533
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9534
$RM "$lt_outputfile.manifest";
9538
# Assume MSVC wrapper
9539
hardcode_libdir_flag_spec=' '
9540
allow_undefined_flag=unsupported
9541
# Tell ltmain to make .lib files, not .a files.
9543
# Tell ltmain to make .dll files, not .so files.
9545
# FIXME: Setting linknames here is a bad hack.
9546
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9547
# The linker will automatically build a .lib file if we build a DLL.
9548
old_archive_from_new_cmds='true'
9549
# FIXME: Should let the user specify the lib program.
9550
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9551
enable_shared_with_static_runtimes=yes
9556
darwin* | rhapsody*)
9559
archive_cmds_need_lc=no
9561
hardcode_automatic=yes
9562
hardcode_shlibpath_var=unsupported
9563
if test "$lt_cv_ld_force_load" = "yes"; then
9564
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\"`'
9567
whole_archive_flag_spec=''
9569
link_all_deplibs=yes
9570
allow_undefined_flag="$_lt_dar_allow_undefined"
9571
case $cc_basename in
9572
ifort*) _lt_dar_can_shared=yes ;;
9573
*) _lt_dar_can_shared=$GCC ;;
9575
if test "$_lt_dar_can_shared" = "yes"; then
9576
output_verbose_link_cmd=func_echo_all
9577
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9578
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9579
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}"
9580
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}"
9589
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9590
hardcode_libdir_flag_spec='-L$libdir'
9591
hardcode_shlibpath_var=no
9594
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9595
# support. Future versions do this automatically, but an explicit c++rt0.o
9596
# does not break anything, and helps significantly (at the cost of a little
9599
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9600
hardcode_libdir_flag_spec='-R$libdir'
9602
hardcode_shlibpath_var=no
9605
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9607
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9609
hardcode_minus_L=yes
9610
hardcode_shlibpath_var=no
9613
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9614
freebsd* | dragonfly*)
9615
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9616
hardcode_libdir_flag_spec='-R$libdir'
9618
hardcode_shlibpath_var=no
9622
if test "$GCC" = yes; then
9623
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'
9625
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'
9627
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9628
hardcode_libdir_separator=:
9631
# hardcode_minus_L: Not really in the search PATH,
9632
# but as the default location of the library.
9633
hardcode_minus_L=yes
9634
export_dynamic_flag_spec='${wl}-E'
9638
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9639
archive_cmds='$CC -shared $pic_flag ${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'
9643
if test "$with_gnu_ld" = no; then
9644
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9645
hardcode_libdir_separator=:
9647
hardcode_direct_absolute=yes
9648
export_dynamic_flag_spec='${wl}-E'
9649
# hardcode_minus_L: Not really in the search PATH,
9650
# but as the default location of the library.
9651
hardcode_minus_L=yes
9656
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9659
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9662
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9665
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9671
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9674
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9678
# Older versions of the 11.00 compiler do not understand -b yet
9679
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9681
$as_echo_n "checking if $CC understands -b... " >&6; }
9682
if ${lt_cv_prog_compiler__b+:} false; then :
9683
$as_echo_n "(cached) " >&6
9685
lt_cv_prog_compiler__b=no
9686
save_LDFLAGS="$LDFLAGS"
9687
LDFLAGS="$LDFLAGS -b"
9688
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9689
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9690
# The linker can only warn and ignore the option if not recognized
9691
# So say no if there are warnings
9692
if test -s conftest.err; then
9693
# Append any errors to the config.log.
9694
cat conftest.err 1>&5
9695
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9696
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9697
if diff conftest.exp conftest.er2 >/dev/null; then
9698
lt_cv_prog_compiler__b=yes
9701
lt_cv_prog_compiler__b=yes
9705
LDFLAGS="$save_LDFLAGS"
9708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9709
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9711
if test x"$lt_cv_prog_compiler__b" = xyes; then
9712
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9714
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9720
if test "$with_gnu_ld" = no; then
9721
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9722
hardcode_libdir_separator=:
9727
hardcode_shlibpath_var=no
9731
hardcode_direct_absolute=yes
9732
export_dynamic_flag_spec='${wl}-E'
9734
# hardcode_minus_L: Not really in the search PATH,
9735
# but as the default location of the library.
9736
hardcode_minus_L=yes
9742
irix5* | irix6* | nonstopux*)
9743
if test "$GCC" = yes; then
9744
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'
9745
# Try to use the -exported_symbol ld option, if it does not
9746
# work, assume that -exports_file does not work either and
9747
# implicitly export all symbols.
9748
# This should be the same for all languages, so no per-tag cache variable.
9749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9750
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9751
if ${lt_cv_irix_exported_symbol+:} false; then :
9752
$as_echo_n "(cached) " >&6
9754
save_LDFLAGS="$LDFLAGS"
9755
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9757
/* end confdefs.h. */
9758
int foo (void) { return 0; }
9760
if ac_fn_c_try_link "$LINENO"; then :
9761
lt_cv_irix_exported_symbol=yes
9763
lt_cv_irix_exported_symbol=no
9765
rm -f core conftest.err conftest.$ac_objext \
9766
conftest$ac_exeext conftest.$ac_ext
9767
LDFLAGS="$save_LDFLAGS"
9769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9770
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9771
if test "$lt_cv_irix_exported_symbol" = yes; then
9772
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'
9775
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'
9776
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'
9778
archive_cmds_need_lc='no'
9779
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9780
hardcode_libdir_separator=:
9782
link_all_deplibs=yes
9785
netbsd* | netbsdelf*-gnu)
9786
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9787
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9789
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9791
hardcode_libdir_flag_spec='-R$libdir'
9793
hardcode_shlibpath_var=no
9797
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9799
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9800
hardcode_libdir_separator=:
9801
hardcode_shlibpath_var=no
9808
if test -f /usr/libexec/ld.so; then
9810
hardcode_shlibpath_var=no
9811
hardcode_direct_absolute=yes
9812
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9813
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9814
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9815
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9816
export_dynamic_flag_spec='${wl}-E'
9819
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9820
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9821
hardcode_libdir_flag_spec='-R$libdir'
9824
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9825
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9835
hardcode_libdir_flag_spec='-L$libdir'
9836
hardcode_minus_L=yes
9837
allow_undefined_flag=unsupported
9838
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'
9839
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9843
if test "$GCC" = yes; then
9844
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9845
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'
9847
allow_undefined_flag=' -expect_unresolved \*'
9848
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'
9850
archive_cmds_need_lc='no'
9851
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9852
hardcode_libdir_separator=:
9855
osf4* | osf5*) # as osf3* with the addition of -msym flag
9856
if test "$GCC" = yes; then
9857
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9858
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'
9859
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9861
allow_undefined_flag=' -expect_unresolved \*'
9862
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'
9863
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~
9864
$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'
9866
# Both c and cxx compiler support -rpath directly
9867
hardcode_libdir_flag_spec='-rpath $libdir'
9869
archive_cmds_need_lc='no'
9870
hardcode_libdir_separator=:
9874
no_undefined_flag=' -z defs'
9875
if test "$GCC" = yes; then
9877
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9879
$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'
9881
case `$CC -V 2>&1` in
9884
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9885
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9886
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9890
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9891
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9892
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9896
hardcode_libdir_flag_spec='-R$libdir'
9897
hardcode_shlibpath_var=no
9899
solaris2.[0-5] | solaris2.[0-5].*) ;;
9901
# The compiler driver will combine and reorder linker options,
9902
# but understands `-z linker_flag'. GCC discards it without `$wl',
9903
# but is careful enough not to reorder.
9904
# Supported since Solaris 2.6 (maybe 2.5.1?)
9905
if test "$GCC" = yes; then
9906
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9908
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9912
link_all_deplibs=yes
9916
if test "x$host_vendor" = xsequent; then
9917
# Use $CC to link under sequent, because it throws in some extra .o
9918
# files that make .init and .fini sections work.
9919
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9921
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9923
hardcode_libdir_flag_spec='-L$libdir'
9925
hardcode_minus_L=yes
9926
hardcode_shlibpath_var=no
9930
case $host_vendor in
9932
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9933
hardcode_direct=yes # is this really true???
9936
## LD is ld it makes a PLAMLIB
9937
## CC just makes a GrossModule.
9938
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9939
reload_cmds='$CC -r -o $output$reload_objs'
9943
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9944
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9947
runpath_var='LD_RUN_PATH'
9948
hardcode_shlibpath_var=no
9952
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953
hardcode_shlibpath_var=no
9954
export_dynamic_flag_spec='-Bexport'
9958
if test -d /usr/nec; then
9959
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9960
hardcode_shlibpath_var=no
9961
runpath_var=LD_RUN_PATH
9962
hardcode_runpath_var=yes
9967
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9968
no_undefined_flag='${wl}-z,text'
9969
archive_cmds_need_lc=no
9970
hardcode_shlibpath_var=no
9971
runpath_var='LD_RUN_PATH'
9973
if test "$GCC" = yes; then
9974
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9975
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9977
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9978
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9982
sysv5* | sco3.2v5* | sco5v6*)
9983
# Note: We can NOT use -z defs as we might desire, because we do not
9984
# link with -lc, and that would cause any symbols used from libc to
9985
# always be unresolved, which means just about no library would
9986
# ever link correctly. If we're not using GNU ld we use -z text
9987
# though, which does catch some bad symbols but isn't as heavy-handed
9989
no_undefined_flag='${wl}-z,text'
9990
allow_undefined_flag='${wl}-z,nodefs'
9991
archive_cmds_need_lc=no
9992
hardcode_shlibpath_var=no
9993
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9994
hardcode_libdir_separator=':'
9995
link_all_deplibs=yes
9996
export_dynamic_flag_spec='${wl}-Bexport'
9997
runpath_var='LD_RUN_PATH'
9999
if test "$GCC" = yes; then
10000
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10001
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10003
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10004
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10009
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10010
hardcode_libdir_flag_spec='-L$libdir'
10011
hardcode_shlibpath_var=no
10019
if test x$host_vendor = xsni; then
10021
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10022
export_dynamic_flag_spec='${wl}-Blargedynsym'
10028
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10029
$as_echo "$ld_shlibs" >&6; }
10030
test "$ld_shlibs" = no && can_build_shared=no
10032
with_gnu_ld=$with_gnu_ld
10049
# Do we need to explicitly link libc?
10051
case "x$archive_cmds_need_lc" in
10053
# Assume -lc should be added
10054
archive_cmds_need_lc=yes
10056
if test "$enable_shared" = yes && test "$GCC" = yes; then
10057
case $archive_cmds in
10059
# FIXME: we may have to deal with multi-command sequences.
10062
# Test whether the compiler implicitly links with -lc since on some
10063
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10064
# to ld, don't add -lc before -lgcc.
10065
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10066
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10067
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10068
$as_echo_n "(cached) " >&6
10071
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10073
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10074
(eval $ac_compile) 2>&5
10076
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10077
test $ac_status = 0; } 2>conftest.err; then
10080
libobjs=conftest.$ac_objext
10082
wl=$lt_prog_compiler_wl
10083
pic_flag=$lt_prog_compiler_pic
10089
lt_save_allow_undefined_flag=$allow_undefined_flag
10090
allow_undefined_flag=
10091
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10092
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10094
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10095
test $ac_status = 0; }
10097
lt_cv_archive_cmds_need_lc=no
10099
lt_cv_archive_cmds_need_lc=yes
10101
allow_undefined_flag=$lt_save_allow_undefined_flag
10103
cat conftest.err 1>&5
10108
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10109
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10110
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10268
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10269
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10271
if test "$GCC" = yes; then
10273
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10274
*) lt_awk_arg="/^libraries:/" ;;
10277
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10278
*) lt_sed_strip_eq="s,=/,/,g" ;;
10280
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10281
case $lt_search_path_spec in
10283
# if the path contains ";" then we assume it to be the separator
10284
# otherwise default to the standard path separator (i.e. ":") - it is
10285
# assumed that no part of a normal pathname contains ";" but that should
10286
# okay in the real world where ";" in dirpaths is itself problematic.
10287
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10290
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10293
# Ok, now we have the path, separated by spaces, we can step through it
10294
# and add multilib dir if necessary.
10295
lt_tmp_lt_search_path_spec=
10296
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10297
for lt_sys_path in $lt_search_path_spec; do
10298
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10299
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10301
test -d "$lt_sys_path" && \
10302
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10305
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10306
BEGIN {RS=" "; FS="/|\n";} {
10309
for (lt_i = NF; lt_i > 0; lt_i--) {
10310
if ($lt_i != "" && $lt_i != ".") {
10311
if ($lt_i == "..") {
10314
if (lt_count == 0) {
10315
lt_foo="/" $lt_i lt_foo;
10322
if (lt_foo != "") { lt_freq[lt_foo]++; }
10323
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10325
# AWK program above erroneously prepends '/' to C:/dos/paths
10328
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10329
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10331
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10333
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10335
library_names_spec=
10336
libname_spec='lib$name'
10340
postuninstall_cmds=
10344
shlibpath_overrides_runpath=unknown
10346
dynamic_linker="$host_os ld.so"
10347
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10348
need_lib_prefix=unknown
10349
hardcode_into_libs=no
10351
# when you set need_version to no, make sure it does not cause -set_version
10352
# flags to be left without arguments
10353
need_version=unknown
10357
version_type=linux # correct to gnu/linux during the next big refactor
10358
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10359
shlibpath_var=LIBPATH
10361
# AIX 3 has no versioning support, so we append a major version to the name.
10362
soname_spec='${libname}${release}${shared_ext}$major'
10366
version_type=linux # correct to gnu/linux during the next big refactor
10369
hardcode_into_libs=yes
10370
if test "$host_cpu" = ia64; then
10371
# AIX 5 supports IA64
10372
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10373
shlibpath_var=LD_LIBRARY_PATH
10375
# With GCC up to 2.95.x, collect2 would create an import file
10376
# for dependence libraries. The import file would start with
10377
# the line `#! .'. This would cause the generated library to
10378
# depend on `.', always an invalid library. This was fixed in
10379
# development snapshots of GCC prior to 3.0.
10381
aix4 | aix4.[01] | aix4.[01].*)
10382
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10384
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10387
can_build_shared=no
10391
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10392
# soname into executable. Probably we can add versioning support to
10393
# collect2, so additional links can be useful in future.
10394
if test "$aix_use_runtimelinking" = yes; then
10395
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10396
# instead of lib<name>.a to let people know that these are not
10397
# typical AIX shared libraries.
10398
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400
# We preserve .a as extension for shared libraries through AIX4.2
10401
# and later when we are not doing run time linking.
10402
library_names_spec='${libname}${release}.a $libname.a'
10403
soname_spec='${libname}${release}${shared_ext}$major'
10405
shlibpath_var=LIBPATH
10412
# Since July 2007 AmigaOS4 officially supports .so libraries.
10413
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10414
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417
library_names_spec='$libname.ixlibrary $libname.a'
10418
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10419
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'
10425
library_names_spec='${libname}${shared_ext}'
10426
dynamic_linker="$host_os ld.so"
10427
shlibpath_var=LIBRARY_PATH
10431
version_type=linux # correct to gnu/linux during the next big refactor
10433
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10434
soname_spec='${libname}${release}${shared_ext}$major'
10435
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10436
shlibpath_var=LD_LIBRARY_PATH
10437
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10438
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10439
# the default ld.so.conf also contains /usr/contrib/lib and
10440
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10441
# libtool to hard-code these into programs
10444
cygwin* | mingw* | pw32* | cegcc*)
10445
version_type=windows
10450
case $GCC,$cc_basename in
10453
library_names_spec='$libname.dll.a'
10454
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10455
postinstall_cmds='base_file=`basename \${file}`~
10456
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10457
dldir=$destdir/`dirname \$dlpath`~
10458
test -d \$dldir || mkdir -p \$dldir~
10459
$install_prog $dir/$dlname \$dldir/$dlname~
10460
chmod a+x \$dldir/$dlname~
10461
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10462
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10464
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10465
dlpath=$dir/\$dldll~
10467
shlibpath_overrides_runpath=yes
10471
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10472
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10474
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10477
# MinGW DLLs use traditional 'lib' prefix
10478
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10481
# pw32 DLLs use 'pw' prefix rather than 'lib'
10482
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10485
dynamic_linker='Win32 ld.exe'
10490
libname_spec='$name'
10491
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10492
library_names_spec='${libname}.dll.lib'
10496
sys_lib_search_path_spec=
10499
for lt_path in $LIB
10502
# Let DOS variable expansion print the short 8.3 style file name.
10503
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10504
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10507
# Convert to MSYS style.
10508
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10511
# Convert to unix form, then to dos form, then back to unix form
10512
# but this time dos style (no spaces!) so that the unix form looks
10513
# like /cygdrive/c/PROGRA~1:/cygdr...
10514
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10515
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10516
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10519
sys_lib_search_path_spec="$LIB"
10520
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10521
# It is most probably a Windows format PATH.
10522
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10524
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10526
# FIXME: find the short name or the path components, as spaces are
10527
# common. (e.g. "Program Files" -> "PROGRA~1")
10531
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10532
postinstall_cmds='base_file=`basename \${file}`~
10533
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10534
dldir=$destdir/`dirname \$dlpath`~
10535
test -d \$dldir || mkdir -p \$dldir~
10536
$install_prog $dir/$dlname \$dldir/$dlname'
10537
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10538
dlpath=$dir/\$dldll~
10540
shlibpath_overrides_runpath=yes
10541
dynamic_linker='Win32 link.exe'
10545
# Assume MSVC wrapper
10546
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10547
dynamic_linker='Win32 ld.exe'
10550
# FIXME: first we should search . and the directory the executable is in
10554
darwin* | rhapsody*)
10555
dynamic_linker="$host_os dyld"
10556
version_type=darwin
10559
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10560
soname_spec='${libname}${release}${major}$shared_ext'
10561
shlibpath_overrides_runpath=yes
10562
shlibpath_var=DYLD_LIBRARY_PATH
10563
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10565
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10566
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10570
version_type=linux # correct to gnu/linux during the next big refactor
10573
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10574
soname_spec='${libname}${release}${shared_ext}$major'
10575
shlibpath_var=LD_LIBRARY_PATH
10578
freebsd* | dragonfly*)
10579
# DragonFly does not have aout. When/if they implement a new
10580
# versioning mechanism, adjust this.
10581
if test -x /usr/bin/objformat; then
10582
objformat=`/usr/bin/objformat`
10585
freebsd[23].*) objformat=aout ;;
10586
*) objformat=elf ;;
10589
version_type=freebsd-$objformat
10590
case $version_type in
10592
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10597
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10601
shlibpath_var=LD_LIBRARY_PATH
10604
shlibpath_overrides_runpath=yes
10606
freebsd3.[01]* | freebsdelf3.[01]*)
10607
shlibpath_overrides_runpath=yes
10608
hardcode_into_libs=yes
10610
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10611
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10612
shlibpath_overrides_runpath=no
10613
hardcode_into_libs=yes
10615
*) # from 4.6 on, and DragonFly
10616
shlibpath_overrides_runpath=yes
10617
hardcode_into_libs=yes
10623
version_type=linux # correct to gnu/linux during the next big refactor
10626
dynamic_linker="$host_os runtime_loader"
10627
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10628
soname_spec='${libname}${release}${shared_ext}$major'
10629
shlibpath_var=LIBRARY_PATH
10630
shlibpath_overrides_runpath=yes
10631
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10632
hardcode_into_libs=yes
10635
hpux9* | hpux10* | hpux11*)
10636
# Give a soname corresponding to the major version so that dld.sl refuses to
10637
# link against other versions.
10644
hardcode_into_libs=yes
10645
dynamic_linker="$host_os dld.so"
10646
shlibpath_var=LD_LIBRARY_PATH
10647
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10648
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649
soname_spec='${libname}${release}${shared_ext}$major'
10650
if test "X$HPUX_IA64_MODE" = X32; then
10651
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10653
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10655
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10659
hardcode_into_libs=yes
10660
dynamic_linker="$host_os dld.sl"
10661
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10662
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10663
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10664
soname_spec='${libname}${release}${shared_ext}$major'
10665
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10666
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10670
dynamic_linker="$host_os dld.sl"
10671
shlibpath_var=SHLIB_PATH
10672
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10673
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10674
soname_spec='${libname}${release}${shared_ext}$major'
10677
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10678
postinstall_cmds='chmod 555 $lib'
10679
# or fails outright, so override atomically:
10680
install_override_mode=555
10684
version_type=linux # correct to gnu/linux during the next big refactor
10687
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10688
soname_spec='${libname}${release}${shared_ext}$major'
10689
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10690
shlibpath_var=LD_LIBRARY_PATH
10691
shlibpath_overrides_runpath=no
10692
hardcode_into_libs=yes
10695
irix5* | irix6* | nonstopux*)
10697
nonstopux*) version_type=nonstopux ;;
10699
if test "$lt_cv_prog_gnu_ld" = yes; then
10700
version_type=linux # correct to gnu/linux during the next big refactor
10707
soname_spec='${libname}${release}${shared_ext}$major'
10708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10710
irix5* | nonstopux*)
10711
libsuff= shlibsuff=
10714
case $LD in # libtool.m4 will add one of these switches to LD
10715
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10716
libsuff= shlibsuff= libmagic=32-bit;;
10717
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10718
libsuff=32 shlibsuff=N32 libmagic=N32;;
10719
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10720
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10721
*) libsuff= shlibsuff= libmagic=never-match;;
10725
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10726
shlibpath_overrides_runpath=no
10727
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10728
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10729
hardcode_into_libs=yes
10732
# No shared lib support for Linux oldld, aout, or coff.
10733
linux*oldld* | linux*aout* | linux*coff*)
10737
# This must be glibc/ELF.
10738
linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10739
version_type=linux # correct to gnu/linux during the next big refactor
10742
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743
soname_spec='${libname}${release}${shared_ext}$major'
10744
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10745
shlibpath_var=LD_LIBRARY_PATH
10746
shlibpath_overrides_runpath=no
10748
# Some binutils ld are patched to set DT_RUNPATH
10749
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10750
$as_echo_n "(cached) " >&6
10752
lt_cv_shlibpath_overrides_runpath=no
10753
save_LDFLAGS=$LDFLAGS
10754
save_libdir=$libdir
10755
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10756
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10757
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758
/* end confdefs.h. */
10768
if ac_fn_c_try_link "$LINENO"; then :
10769
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10770
lt_cv_shlibpath_overrides_runpath=yes
10773
rm -f core conftest.err conftest.$ac_objext \
10774
conftest$ac_exeext conftest.$ac_ext
10775
LDFLAGS=$save_LDFLAGS
10776
libdir=$save_libdir
10780
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10782
# This implies no fast_install, which is unacceptable.
10783
# Some rework will be needed to allow for fast_install
10784
# before this can be enabled.
10785
hardcode_into_libs=yes
10787
# Append ld.so.conf contents to the search path
10788
if test -f /etc/ld.so.conf; then
10789
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' ' '`
10790
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10793
# We used to test for /lib/ld.so.1 and disable shared libraries on
10794
# powerpc, because MkLinux only supported shared libraries with the
10795
# GNU dynamic linker. Since this was broken with cross compilers,
10796
# most powerpc-linux boxes support dynamic linking these days and
10797
# people can always --disable-shared, the test was removed, and we
10798
# assume the GNU/Linux dynamic linker is in use.
10799
dynamic_linker='GNU/Linux ld.so'
10806
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10807
soname_spec='${libname}${release}${shared_ext}$major'
10808
shlibpath_var=LD_LIBRARY_PATH
10809
shlibpath_overrides_runpath=no
10810
hardcode_into_libs=yes
10811
dynamic_linker='NetBSD ld.elf_so'
10818
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10819
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10820
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10821
dynamic_linker='NetBSD (a.out) ld.so'
10823
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10824
soname_spec='${libname}${release}${shared_ext}$major'
10825
dynamic_linker='NetBSD ld.elf_so'
10827
shlibpath_var=LD_LIBRARY_PATH
10828
shlibpath_overrides_runpath=yes
10829
hardcode_into_libs=yes
10833
version_type=linux # correct to gnu/linux during the next big refactor
10834
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10835
shlibpath_var=LD_LIBRARY_PATH
10836
shlibpath_overrides_runpath=yes
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=no
10847
hardcode_into_libs=yes
10848
dynamic_linker='ldqnx.so'
10853
sys_lib_dlsearch_path_spec="/usr/lib"
10855
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10857
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10858
*) need_version=no ;;
10860
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10861
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10862
shlibpath_var=LD_LIBRARY_PATH
10863
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10865
openbsd2.[89] | openbsd2.[89].*)
10866
shlibpath_overrides_runpath=no
10869
shlibpath_overrides_runpath=yes
10873
shlibpath_overrides_runpath=yes
10878
libname_spec='$name'
10881
library_names_spec='$libname${shared_ext} $libname.a'
10882
dynamic_linker='OS/2 ld.exe'
10883
shlibpath_var=LIBPATH
10886
osf3* | osf4* | osf5*)
10890
soname_spec='${libname}${release}${shared_ext}$major'
10891
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10892
shlibpath_var=LD_LIBRARY_PATH
10893
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10894
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10902
version_type=linux # correct to gnu/linux during the next big refactor
10905
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906
soname_spec='${libname}${release}${shared_ext}$major'
10907
shlibpath_var=LD_LIBRARY_PATH
10908
shlibpath_overrides_runpath=yes
10909
hardcode_into_libs=yes
10910
# ldd complains unless libraries are executable
10911
postinstall_cmds='chmod +x $lib'
10916
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10917
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10918
shlibpath_var=LD_LIBRARY_PATH
10919
shlibpath_overrides_runpath=yes
10920
if test "$with_gnu_ld" = yes; then
10927
version_type=linux # correct to gnu/linux during the next big refactor
10928
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929
soname_spec='${libname}${release}${shared_ext}$major'
10930
shlibpath_var=LD_LIBRARY_PATH
10931
case $host_vendor in
10933
shlibpath_overrides_runpath=no
10935
runpath_var=LD_RUN_PATH
10943
shlibpath_overrides_runpath=no
10944
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10950
if test -d /usr/nec ;then
10951
version_type=linux # correct to gnu/linux during the next big refactor
10952
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10953
soname_spec='$libname${shared_ext}.$major'
10954
shlibpath_var=LD_LIBRARY_PATH
10958
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10959
version_type=freebsd-elf
10962
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10963
soname_spec='${libname}${release}${shared_ext}$major'
10964
shlibpath_var=LD_LIBRARY_PATH
10965
shlibpath_overrides_runpath=yes
10966
hardcode_into_libs=yes
10967
if test "$with_gnu_ld" = yes; then
10968
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10970
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10973
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10977
sys_lib_dlsearch_path_spec='/usr/lib'
10981
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10982
version_type=linux # correct to gnu/linux during the next big refactor
10985
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986
shlibpath_var=LD_LIBRARY_PATH
10987
shlibpath_overrides_runpath=no
10988
hardcode_into_libs=yes
10992
version_type=linux # correct to gnu/linux during the next big refactor
10993
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10994
soname_spec='${libname}${release}${shared_ext}$major'
10995
shlibpath_var=LD_LIBRARY_PATH
11002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11003
$as_echo "$dynamic_linker" >&6; }
11004
test "$dynamic_linker" = no && can_build_shared=no
11006
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11007
if test "$GCC" = yes; then
11008
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11011
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11012
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11014
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11015
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11109
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11110
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11112
if test -n "$hardcode_libdir_flag_spec" ||
11113
test -n "$runpath_var" ||
11114
test "X$hardcode_automatic" = "Xyes" ; then
11116
# We can hardcode non-existent directories.
11117
if test "$hardcode_direct" != no &&
11118
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11119
# have to relink, otherwise we might link with an installed library
11120
# when we should be linking with a yet-to-be-installed one
11121
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11122
test "$hardcode_minus_L" != no; then
11123
# Linking always hardcodes the temporary library directory.
11124
hardcode_action=relink
11126
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11127
hardcode_action=immediate
11130
# We cannot hardcode anything, or else we can only hardcode existing
11132
hardcode_action=unsupported
11134
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11135
$as_echo "$hardcode_action" >&6; }
11137
if test "$hardcode_action" = relink ||
11138
test "$inherit_rpath" = yes; then
11139
# Fast installation is not supported
11140
enable_fast_install=no
11141
elif test "$shlibpath_overrides_runpath" = yes ||
11142
test "$enable_shared" = no; then
11143
# Fast installation is not necessary
11144
enable_fast_install=needless
11152
if test "x$enable_dlopen" != xyes; then
11153
enable_dlopen=unknown
11154
enable_dlopen_self=unknown
11155
enable_dlopen_self_static=unknown
11162
lt_cv_dlopen="load_add_on"
11164
lt_cv_dlopen_self=yes
11167
mingw* | pw32* | cegcc*)
11168
lt_cv_dlopen="LoadLibrary"
11173
lt_cv_dlopen="dlopen"
11178
# if libdl is installed we need to link against it
11179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11180
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11181
if ${ac_cv_lib_dl_dlopen+:} false; then :
11182
$as_echo_n "(cached) " >&6
11184
ac_check_lib_save_LIBS=$LIBS
11186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11187
/* end confdefs.h. */
11189
/* Override any GCC internal prototype to avoid an error.
11190
Use char because int might match the return type of a GCC
11191
builtin and then its argument prototype would still apply. */
11204
if ac_fn_c_try_link "$LINENO"; then :
11205
ac_cv_lib_dl_dlopen=yes
11207
ac_cv_lib_dl_dlopen=no
11209
rm -f core conftest.err conftest.$ac_objext \
11210
conftest$ac_exeext conftest.$ac_ext
11211
LIBS=$ac_check_lib_save_LIBS
11213
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11214
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11215
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11216
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11219
lt_cv_dlopen="dyld"
11221
lt_cv_dlopen_self=yes
11228
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11229
if test "x$ac_cv_func_shl_load" = xyes; then :
11230
lt_cv_dlopen="shl_load"
11232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11233
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11234
if ${ac_cv_lib_dld_shl_load+:} false; then :
11235
$as_echo_n "(cached) " >&6
11237
ac_check_lib_save_LIBS=$LIBS
11239
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240
/* end confdefs.h. */
11242
/* Override any GCC internal prototype to avoid an error.
11243
Use char because int might match the return type of a GCC
11244
builtin and then its argument prototype would still apply. */
11252
return shl_load ();
11257
if ac_fn_c_try_link "$LINENO"; then :
11258
ac_cv_lib_dld_shl_load=yes
11260
ac_cv_lib_dld_shl_load=no
11262
rm -f core conftest.err conftest.$ac_objext \
11263
conftest$ac_exeext conftest.$ac_ext
11264
LIBS=$ac_check_lib_save_LIBS
11266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11267
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11268
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11269
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11271
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11272
if test "x$ac_cv_func_dlopen" = xyes; then :
11273
lt_cv_dlopen="dlopen"
11275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11276
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11277
if ${ac_cv_lib_dl_dlopen+:} false; then :
11278
$as_echo_n "(cached) " >&6
11280
ac_check_lib_save_LIBS=$LIBS
11282
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283
/* end confdefs.h. */
11285
/* Override any GCC internal prototype to avoid an error.
11286
Use char because int might match the return type of a GCC
11287
builtin and then its argument prototype would still apply. */
11300
if ac_fn_c_try_link "$LINENO"; then :
11301
ac_cv_lib_dl_dlopen=yes
11303
ac_cv_lib_dl_dlopen=no
11305
rm -f core conftest.err conftest.$ac_objext \
11306
conftest$ac_exeext conftest.$ac_ext
11307
LIBS=$ac_check_lib_save_LIBS
11309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11310
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11311
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11312
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11314
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11315
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11316
if ${ac_cv_lib_svld_dlopen+:} false; then :
11317
$as_echo_n "(cached) " >&6
11319
ac_check_lib_save_LIBS=$LIBS
11320
LIBS="-lsvld $LIBS"
11321
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11322
/* end confdefs.h. */
11324
/* Override any GCC internal prototype to avoid an error.
11325
Use char because int might match the return type of a GCC
11326
builtin and then its argument prototype would still apply. */
11339
if ac_fn_c_try_link "$LINENO"; then :
11340
ac_cv_lib_svld_dlopen=yes
11342
ac_cv_lib_svld_dlopen=no
11344
rm -f core conftest.err conftest.$ac_objext \
11345
conftest$ac_exeext conftest.$ac_ext
11346
LIBS=$ac_check_lib_save_LIBS
11348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11349
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11350
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11351
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11354
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11355
if ${ac_cv_lib_dld_dld_link+:} false; then :
11356
$as_echo_n "(cached) " >&6
11358
ac_check_lib_save_LIBS=$LIBS
11360
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11361
/* end confdefs.h. */
11363
/* Override any GCC internal prototype to avoid an error.
11364
Use char because int might match the return type of a GCC
11365
builtin and then its argument prototype would still apply. */
11373
return dld_link ();
11378
if ac_fn_c_try_link "$LINENO"; then :
11379
ac_cv_lib_dld_dld_link=yes
11381
ac_cv_lib_dld_dld_link=no
11383
rm -f core conftest.err conftest.$ac_objext \
11384
conftest$ac_exeext conftest.$ac_ext
11385
LIBS=$ac_check_lib_save_LIBS
11387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11388
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11389
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11390
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11411
if test "x$lt_cv_dlopen" != xno; then
11417
case $lt_cv_dlopen in
11419
save_CPPFLAGS="$CPPFLAGS"
11420
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11422
save_LDFLAGS="$LDFLAGS"
11423
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11426
LIBS="$lt_cv_dlopen_libs $LIBS"
11428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11429
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11430
if ${lt_cv_dlopen_self+:} false; then :
11431
$as_echo_n "(cached) " >&6
11433
if test "$cross_compiling" = yes; then :
11434
lt_cv_dlopen_self=cross
11436
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11437
lt_status=$lt_dlunknown
11438
cat > conftest.$ac_ext <<_LT_EOF
11439
#line $LINENO "configure"
11440
#include "confdefs.h"
11449
# define LT_DLGLOBAL RTLD_GLOBAL
11452
# define LT_DLGLOBAL DL_GLOBAL
11454
# define LT_DLGLOBAL 0
11458
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11459
find out it does not work in some platform. */
11460
#ifndef LT_DLLAZY_OR_NOW
11462
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11465
# define LT_DLLAZY_OR_NOW DL_LAZY
11468
# define LT_DLLAZY_OR_NOW RTLD_NOW
11471
# define LT_DLLAZY_OR_NOW DL_NOW
11473
# define LT_DLLAZY_OR_NOW 0
11480
/* When -fvisbility=hidden is used, assume the code has been annotated
11481
correspondingly for the symbols needed. */
11482
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11483
int fnord () __attribute__((visibility("default")));
11486
int fnord () { return 42; }
11489
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11490
int status = $lt_dlunknown;
11494
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11497
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11498
else puts (dlerror ());
11500
/* dlclose (self); */
11508
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11509
(eval $ac_link) 2>&5
11511
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11512
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11513
(./conftest; exit; ) >&5 2>/dev/null
11515
case x$lt_status in
11516
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11517
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11518
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11521
# compilation failed
11522
lt_cv_dlopen_self=no
11529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11530
$as_echo "$lt_cv_dlopen_self" >&6; }
11532
if test "x$lt_cv_dlopen_self" = xyes; then
11533
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11535
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11536
if ${lt_cv_dlopen_self_static+:} false; then :
11537
$as_echo_n "(cached) " >&6
11539
if test "$cross_compiling" = yes; then :
11540
lt_cv_dlopen_self_static=cross
11542
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11543
lt_status=$lt_dlunknown
11544
cat > conftest.$ac_ext <<_LT_EOF
11545
#line $LINENO "configure"
11546
#include "confdefs.h"
11555
# define LT_DLGLOBAL RTLD_GLOBAL
11558
# define LT_DLGLOBAL DL_GLOBAL
11560
# define LT_DLGLOBAL 0
11564
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11565
find out it does not work in some platform. */
11566
#ifndef LT_DLLAZY_OR_NOW
11568
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11571
# define LT_DLLAZY_OR_NOW DL_LAZY
11574
# define LT_DLLAZY_OR_NOW RTLD_NOW
11577
# define LT_DLLAZY_OR_NOW DL_NOW
11579
# define LT_DLLAZY_OR_NOW 0
11586
/* When -fvisbility=hidden is used, assume the code has been annotated
11587
correspondingly for the symbols needed. */
11588
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11589
int fnord () __attribute__((visibility("default")));
11592
int fnord () { return 42; }
11595
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11596
int status = $lt_dlunknown;
11600
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11603
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11604
else puts (dlerror ());
11606
/* dlclose (self); */
11614
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11615
(eval $ac_link) 2>&5
11617
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11618
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11619
(./conftest; exit; ) >&5 2>/dev/null
11621
case x$lt_status in
11622
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11623
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11624
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11627
# compilation failed
11628
lt_cv_dlopen_self_static=no
11635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11636
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11639
CPPFLAGS="$save_CPPFLAGS"
11640
LDFLAGS="$save_LDFLAGS"
11645
case $lt_cv_dlopen_self in
11646
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11647
*) enable_dlopen_self=unknown ;;
11650
case $lt_cv_dlopen_self_static in
11651
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11652
*) enable_dlopen_self_static=unknown ;;
11674
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11675
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11676
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11677
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11678
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11680
$as_echo "yes" >&6; }
11682
# FIXME - insert some real tests, host_os isn't really good enough
11685
if test -n "$STRIP" ; then
11686
striplib="$STRIP -x"
11687
old_striplib="$STRIP -S"
11688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11689
$as_echo "yes" >&6; }
11691
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11692
$as_echo "no" >&6; }
11696
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11697
$as_echo "no" >&6; }
11713
# Report which library types will actually be built
11714
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11715
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11717
$as_echo "$can_build_shared" >&6; }
11719
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11720
$as_echo_n "checking whether to build shared libraries... " >&6; }
11721
test "$can_build_shared" = "no" && enable_shared=no
11723
# On AIX, shared libraries and static libraries use the same namespace, and
11724
# are all built from PIC.
11727
test "$enable_shared" = yes && enable_static=no
11728
if test -n "$RANLIB"; then
11729
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11730
postinstall_cmds='$RANLIB $lib'
11735
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11736
test "$enable_shared" = yes && enable_static=no
11740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11741
$as_echo "$enable_shared" >&6; }
11743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11744
$as_echo_n "checking whether to build static libraries... " >&6; }
11745
# Make sure either enable_shared or enable_static is yes.
11746
test "$enable_shared" = yes || enable_static=yes
11747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11748
$as_echo "$enable_static" >&6; }
11755
ac_cpp='$CPP $CPPFLAGS'
11756
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11757
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11758
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11776
ac_config_commands="$ac_config_commands libtool"
11781
# Only expand once:
11786
#############################################
11788
#############################################
11789
GETTEXT_PACKAGE="$PACKAGE"
11791
CONFIG_STATUS_DEPENDENCIES='$(top_srcdir)/po/LINGUAS'
11794
cat >>confdefs.h <<_ACEOF
11795
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
11799
for ac_header in locale.h
11801
ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
11802
if test "x$ac_cv_header_locale_h" = xyes; then :
11803
cat >>confdefs.h <<_ACEOF
11804
#define HAVE_LOCALE_H 1
11811
if test $ac_cv_header_locale_h = yes; then
11812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
11813
$as_echo_n "checking for LC_MESSAGES... " >&6; }
11814
if ${am_cv_val_LC_MESSAGES+:} false; then :
11815
$as_echo_n "(cached) " >&6
11817
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818
/* end confdefs.h. */
11819
#include <locale.h>
11828
if ac_fn_c_try_link "$LINENO"; then :
11829
am_cv_val_LC_MESSAGES=yes
11831
am_cv_val_LC_MESSAGES=no
11833
rm -f core conftest.err conftest.$ac_objext \
11834
conftest$ac_exeext conftest.$ac_ext
11836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
11837
$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
11838
if test $am_cv_val_LC_MESSAGES = yes; then
11840
$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
11847
gt_cv_have_gettext=no
11853
ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
11854
if test "x$ac_cv_header_libintl_h" = xyes; then :
11855
gt_cv_func_dgettext_libintl="no"
11856
libintl_extra_libs=""
11859
# First check in libc
11861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
11862
$as_echo_n "checking for ngettext in libc... " >&6; }
11863
if ${gt_cv_func_ngettext_libc+:} false; then :
11864
$as_echo_n "(cached) " >&6
11866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867
/* end confdefs.h. */
11869
#include <libintl.h>
11874
return !ngettext ("","", 1)
11879
if ac_fn_c_try_link "$LINENO"; then :
11880
gt_cv_func_ngettext_libc=yes
11882
gt_cv_func_ngettext_libc=no
11884
rm -f core conftest.err conftest.$ac_objext \
11885
conftest$ac_exeext conftest.$ac_ext
11888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
11889
$as_echo "$gt_cv_func_ngettext_libc" >&6; }
11891
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
11893
$as_echo_n "checking for dgettext in libc... " >&6; }
11894
if ${gt_cv_func_dgettext_libc+:} false; then :
11895
$as_echo_n "(cached) " >&6
11897
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898
/* end confdefs.h. */
11900
#include <libintl.h>
11905
return !dgettext ("","")
11910
if ac_fn_c_try_link "$LINENO"; then :
11911
gt_cv_func_dgettext_libc=yes
11913
gt_cv_func_dgettext_libc=no
11915
rm -f core conftest.err conftest.$ac_objext \
11916
conftest$ac_exeext conftest.$ac_ext
11919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
11920
$as_echo "$gt_cv_func_dgettext_libc" >&6; }
11923
if test "$gt_cv_func_ngettext_libc" = "yes" ; then
11924
for ac_func in bind_textdomain_codeset
11926
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
11927
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
11928
cat >>confdefs.h <<_ACEOF
11929
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
11938
# If we don't have everything we want, check in libintl
11940
if test "$gt_cv_func_dgettext_libc" != "yes" \
11941
|| test "$gt_cv_func_ngettext_libc" != "yes" \
11942
|| test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
11944
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
11945
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
11946
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
11947
$as_echo_n "(cached) " >&6
11949
ac_check_lib_save_LIBS=$LIBS
11950
LIBS="-lintl $LIBS"
11951
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952
/* end confdefs.h. */
11954
/* Override any GCC internal prototype to avoid an error.
11955
Use char because int might match the return type of a GCC
11956
builtin and then its argument prototype would still apply. */
11960
char bindtextdomain ();
11964
return bindtextdomain ();
11969
if ac_fn_c_try_link "$LINENO"; then :
11970
ac_cv_lib_intl_bindtextdomain=yes
11972
ac_cv_lib_intl_bindtextdomain=no
11974
rm -f core conftest.err conftest.$ac_objext \
11975
conftest$ac_exeext conftest.$ac_ext
11976
LIBS=$ac_check_lib_save_LIBS
11978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
11979
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
11980
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
11981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
11982
$as_echo_n "checking for ngettext in -lintl... " >&6; }
11983
if ${ac_cv_lib_intl_ngettext+:} false; then :
11984
$as_echo_n "(cached) " >&6
11986
ac_check_lib_save_LIBS=$LIBS
11987
LIBS="-lintl $LIBS"
11988
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11989
/* end confdefs.h. */
11991
/* Override any GCC internal prototype to avoid an error.
11992
Use char because int might match the return type of a GCC
11993
builtin and then its argument prototype would still apply. */
12001
return ngettext ();
12006
if ac_fn_c_try_link "$LINENO"; then :
12007
ac_cv_lib_intl_ngettext=yes
12009
ac_cv_lib_intl_ngettext=no
12011
rm -f core conftest.err conftest.$ac_objext \
12012
conftest$ac_exeext conftest.$ac_ext
12013
LIBS=$ac_check_lib_save_LIBS
12015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12016
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12017
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12019
$as_echo_n "checking for dgettext in -lintl... " >&6; }
12020
if ${ac_cv_lib_intl_dgettext+:} false; then :
12021
$as_echo_n "(cached) " >&6
12023
ac_check_lib_save_LIBS=$LIBS
12024
LIBS="-lintl $LIBS"
12025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026
/* end confdefs.h. */
12028
/* Override any GCC internal prototype to avoid an error.
12029
Use char because int might match the return type of a GCC
12030
builtin and then its argument prototype would still apply. */
12038
return dgettext ();
12043
if ac_fn_c_try_link "$LINENO"; then :
12044
ac_cv_lib_intl_dgettext=yes
12046
ac_cv_lib_intl_dgettext=no
12048
rm -f core conftest.err conftest.$ac_objext \
12049
conftest$ac_exeext conftest.$ac_ext
12050
LIBS=$ac_check_lib_save_LIBS
12052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12053
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12054
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12055
gt_cv_func_dgettext_libintl=yes
12063
if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12064
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12065
$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12069
$as_echo_n "checking for ngettext in -lintl... " >&6; }
12070
if ${ac_cv_lib_intl_ngettext+:} false; then :
12071
$as_echo_n "(cached) " >&6
12073
ac_check_lib_save_LIBS=$LIBS
12074
LIBS="-lintl -liconv $LIBS"
12075
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12076
/* end confdefs.h. */
12078
/* Override any GCC internal prototype to avoid an error.
12079
Use char because int might match the return type of a GCC
12080
builtin and then its argument prototype would still apply. */
12088
return ngettext ();
12093
if ac_fn_c_try_link "$LINENO"; then :
12094
ac_cv_lib_intl_ngettext=yes
12096
ac_cv_lib_intl_ngettext=no
12098
rm -f core conftest.err conftest.$ac_objext \
12099
conftest$ac_exeext conftest.$ac_ext
12100
LIBS=$ac_check_lib_save_LIBS
12102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12103
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12104
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12105
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12106
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12107
if ${ac_cv_lib_intl_dcgettext+:} false; then :
12108
$as_echo_n "(cached) " >&6
12110
ac_check_lib_save_LIBS=$LIBS
12111
LIBS="-lintl -liconv $LIBS"
12112
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12113
/* end confdefs.h. */
12115
/* Override any GCC internal prototype to avoid an error.
12116
Use char because int might match the return type of a GCC
12117
builtin and then its argument prototype would still apply. */
12125
return dcgettext ();
12130
if ac_fn_c_try_link "$LINENO"; then :
12131
ac_cv_lib_intl_dcgettext=yes
12133
ac_cv_lib_intl_dcgettext=no
12135
rm -f core conftest.err conftest.$ac_objext \
12136
conftest$ac_exeext conftest.$ac_ext
12137
LIBS=$ac_check_lib_save_LIBS
12139
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12140
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12141
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12142
gt_cv_func_dgettext_libintl=yes
12143
libintl_extra_libs=-liconv
12155
# If we found libintl, then check in it for bind_textdomain_codeset();
12156
# we'll prefer libc if neither have bind_textdomain_codeset(),
12157
# and both have dgettext and ngettext
12159
if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
12160
glib_save_LIBS="$LIBS"
12161
LIBS="$LIBS -lintl $libintl_extra_libs"
12162
unset ac_cv_func_bind_textdomain_codeset
12163
for ac_func in bind_textdomain_codeset
12165
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12166
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12167
cat >>confdefs.h <<_ACEOF
12168
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12174
LIBS="$glib_save_LIBS"
12176
if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
12177
gt_cv_func_dgettext_libc=no
12179
if test "$gt_cv_func_dgettext_libc" = "yes" \
12180
&& test "$gt_cv_func_ngettext_libc" = "yes"; then
12181
gt_cv_func_dgettext_libintl=no
12187
if test "$gt_cv_func_dgettext_libc" = "yes" \
12188
|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
12189
gt_cv_have_gettext=yes
12192
if test "$gt_cv_func_dgettext_libintl" = "yes"; then
12193
INTLLIBS="-lintl $libintl_extra_libs"
12196
if test "$gt_cv_have_gettext" = "yes"; then
12198
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
12200
# Extract the first word of "msgfmt", so it can be a program name with args.
12201
set dummy msgfmt; ac_word=$2
12202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12203
$as_echo_n "checking for $ac_word... " >&6; }
12204
if ${ac_cv_path_MSGFMT+:} false; then :
12205
$as_echo_n "(cached) " >&6
12209
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12212
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12213
for ac_dir in $PATH; do
12214
test -z "$ac_dir" && ac_dir=.
12215
if test -f $ac_dir/$ac_word; then
12216
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
12217
ac_cv_path_MSGFMT="$ac_dir/$ac_word"
12223
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
12227
MSGFMT="$ac_cv_path_MSGFMT"
12228
if test "$MSGFMT" != "no"; then
12229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12230
$as_echo "$MSGFMT" >&6; }
12232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12233
$as_echo "no" >&6; }
12235
if test "$MSGFMT" != "no"; then
12236
glib_save_LIBS="$LIBS"
12237
LIBS="$LIBS $INTLLIBS"
12238
for ac_func in dcgettext
12240
ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
12241
if test "x$ac_cv_func_dcgettext" = xyes; then :
12242
cat >>confdefs.h <<_ACEOF
12243
#define HAVE_DCGETTEXT 1
12250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
12251
$as_echo_n "checking if msgfmt accepts -c... " >&6; }
12252
cat >conftest.foo <<_ACEOF
12256
"Content-Type: text/plain; charset=UTF-8\n"
12257
"Project-Id-Version: test 1.0\n"
12258
"PO-Revision-Date: 2007-02-15 12:01+0100\n"
12259
"Last-Translator: test <foo@bar.xx>\n"
12260
"Language-Team: C <LL@li.org>\n"
12261
"MIME-Version: 1.0\n"
12262
"Content-Transfer-Encoding: 8bit\n"
12265
if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
12266
($MSGFMT -c -o /dev/null conftest.foo) 2>&5
12268
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12269
test $ac_status = 0; }; then
12270
MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12271
$as_echo "yes" >&6; }
12272
else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12273
$as_echo "no" >&6; }
12274
echo "$as_me: failed input was:" >&5
12275
sed 's/^/| /' conftest.foo >&5
12278
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12279
set dummy gmsgfmt; ac_word=$2
12280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12281
$as_echo_n "checking for $ac_word... " >&6; }
12282
if ${ac_cv_path_GMSGFMT+:} false; then :
12283
$as_echo_n "(cached) " >&6
12287
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12290
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12291
for as_dir in $PATH
12294
test -z "$as_dir" && as_dir=.
12295
for ac_exec_ext in '' $ac_executable_extensions; do
12296
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12297
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12298
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12305
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12309
GMSGFMT=$ac_cv_path_GMSGFMT
12310
if test -n "$GMSGFMT"; then
12311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12312
$as_echo "$GMSGFMT" >&6; }
12314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12315
$as_echo "no" >&6; }
12319
# Extract the first word of "xgettext", so it can be a program name with args.
12320
set dummy xgettext; ac_word=$2
12321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12322
$as_echo_n "checking for $ac_word... " >&6; }
12323
if ${ac_cv_path_XGETTEXT+:} false; then :
12324
$as_echo_n "(cached) " >&6
12326
case "$XGETTEXT" in
12328
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12331
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
12332
for ac_dir in $PATH; do
12333
test -z "$ac_dir" && ac_dir=.
12334
if test -f $ac_dir/$ac_word; then
12335
if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
12336
ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
12342
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
12346
XGETTEXT="$ac_cv_path_XGETTEXT"
12347
if test "$XGETTEXT" != ":"; then
12348
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12349
$as_echo "$XGETTEXT" >&6; }
12351
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12352
$as_echo "no" >&6; }
12355
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12356
/* end confdefs.h. */
12361
extern int _nl_msg_cat_cntr;
12362
return _nl_msg_cat_cntr
12367
if ac_fn_c_try_link "$LINENO"; then :
12373
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12374
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12393
rm -f core conftest.err conftest.$ac_objext \
12394
conftest$ac_exeext conftest.$ac_ext
12395
LIBS="$glib_save_LIBS"
12398
gt_cv_have_gettext=no
12406
if test "$gt_cv_have_gettext" = "yes" ; then
12408
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
12412
if test "$XGETTEXT" != ":"; then
12413
if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
12416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
12417
$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
12422
# We need to process the po/ directory.
12425
ac_config_commands="$ac_config_commands default-1"
12428
for lang in $ALL_LINGUAS; do
12429
GMOFILES="$GMOFILES $lang.gmo"
12430
POFILES="$POFILES $lang.po"
12445
if test "$gt_cv_have_gettext" = "yes"; then
12446
if test "x$ALL_LINGUAS" = "x"; then
12449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
12450
$as_echo_n "checking for catalogs to be installed... " >&6; }
12452
for presentlang in $ALL_LINGUAS; do
12454
if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
12455
desiredlanguages="$LINGUAS"
12457
desiredlanguages="$ALL_LINGUAS"
12459
for desiredlang in $desiredlanguages; do
12460
# Use the presentlang catalog if desiredlang is
12461
# a. equal to presentlang, or
12462
# b. a variant of presentlang (because in this case,
12463
# presentlang can be used as a fallback for messages
12464
# which are not translated in the desiredlang catalog).
12465
case "$desiredlang" in
12466
"$presentlang"*) useit=yes;;
12469
if test $useit = yes; then
12470
NEW_LINGUAS="$NEW_LINGUAS $presentlang"
12473
LINGUAS=$NEW_LINGUAS
12474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
12475
$as_echo "$LINGUAS" >&6; }
12478
if test -n "$LINGUAS"; then
12479
for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
12484
if test -n "$ac_aux_dir"; then
12485
MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
12487
if test -z "$MKINSTALLDIRS"; then
12488
MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
12492
test -d po || mkdir po
12493
if test "x$srcdir" != "x."; then
12494
if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
12495
posrcprefix="$srcdir/"
12497
posrcprefix="../$srcdir/"
12503
sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
12504
< $srcdir/po/POTFILES.in > po/POTFILES
12507
# AM_GNOME_GETTEXT above substs $DATADIRNAME
12508
# this is the directory where the *.{mo,gmo} files are installed
12509
localedir='${prefix}/${DATADIRNAME}/locale'
12513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12514
$as_echo_n "checking whether NLS is requested... " >&6; }
12515
# Check whether --enable-nls was given.
12516
if test "${enable_nls+set}" = set; then :
12517
enableval=$enable_nls; USE_NLS=$enableval
12522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12523
$as_echo "$USE_NLS" >&6; }
12528
case "$am__api_version" in
12530
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12536
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12537
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12538
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12539
if test -n "0.40.0"; then
12540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12541
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12543
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12544
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12545
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12548
# Extract the first word of "intltool-update", so it can be a program name with args.
12549
set dummy intltool-update; ac_word=$2
12550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12551
$as_echo_n "checking for $ac_word... " >&6; }
12552
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12553
$as_echo_n "(cached) " >&6
12555
case $INTLTOOL_UPDATE in
12557
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12561
for as_dir in $PATH
12564
test -z "$as_dir" && as_dir=.
12565
for ac_exec_ext in '' $ac_executable_extensions; do
12566
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12567
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12568
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12578
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12579
if test -n "$INTLTOOL_UPDATE"; then
12580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12581
$as_echo "$INTLTOOL_UPDATE" >&6; }
12583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12584
$as_echo "no" >&6; }
12588
# Extract the first word of "intltool-merge", so it can be a program name with args.
12589
set dummy intltool-merge; ac_word=$2
12590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12591
$as_echo_n "checking for $ac_word... " >&6; }
12592
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12593
$as_echo_n "(cached) " >&6
12595
case $INTLTOOL_MERGE in
12597
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12601
for as_dir in $PATH
12604
test -z "$as_dir" && as_dir=.
12605
for ac_exec_ext in '' $ac_executable_extensions; do
12606
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12607
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12608
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12618
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12619
if test -n "$INTLTOOL_MERGE"; then
12620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12621
$as_echo "$INTLTOOL_MERGE" >&6; }
12623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12624
$as_echo "no" >&6; }
12628
# Extract the first word of "intltool-extract", so it can be a program name with args.
12629
set dummy intltool-extract; ac_word=$2
12630
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12631
$as_echo_n "checking for $ac_word... " >&6; }
12632
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12633
$as_echo_n "(cached) " >&6
12635
case $INTLTOOL_EXTRACT in
12637
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12640
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12641
for as_dir in $PATH
12644
test -z "$as_dir" && as_dir=.
12645
for ac_exec_ext in '' $ac_executable_extensions; do
12646
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12647
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12648
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12658
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12659
if test -n "$INTLTOOL_EXTRACT"; then
12660
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12661
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664
$as_echo "no" >&6; }
12668
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12669
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12672
if test -z "$AM_DEFAULT_VERBOSITY"; then
12673
AM_DEFAULT_VERBOSITY=1
12677
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12678
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12679
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12684
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12685
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12686
intltool__v_merge_options_0='-q'
12691
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 $< $@'
12692
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 $< $@'
12693
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 $< $@'
12694
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 $< $@'
12695
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 $< $@'
12696
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 $< $@'
12697
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 $< $@'
12698
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 $< $@'
12699
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 $< $@'
12700
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 $< $@'
12701
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 $< $@'
12702
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12703
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 $< $@'
12705
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'
12707
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 $< $@'
12708
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 $< $@'
12709
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 $< $@'
12710
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 $< $@'
12711
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 $< $@'
12712
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 $< $@'
12713
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 $< $@'
12811
# Check the gettext tools to make sure they are GNU
12812
# Extract the first word of "xgettext", so it can be a program name with args.
12813
set dummy xgettext; ac_word=$2
12814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12815
$as_echo_n "checking for $ac_word... " >&6; }
12816
if ${ac_cv_path_XGETTEXT+:} false; then :
12817
$as_echo_n "(cached) " >&6
12821
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12825
for as_dir in $PATH
12828
test -z "$as_dir" && as_dir=.
12829
for ac_exec_ext in '' $ac_executable_extensions; do
12830
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12831
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12832
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12842
XGETTEXT=$ac_cv_path_XGETTEXT
12843
if test -n "$XGETTEXT"; then
12844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12845
$as_echo "$XGETTEXT" >&6; }
12847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12848
$as_echo "no" >&6; }
12852
# Extract the first word of "msgmerge", so it can be a program name with args.
12853
set dummy msgmerge; ac_word=$2
12854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12855
$as_echo_n "checking for $ac_word... " >&6; }
12856
if ${ac_cv_path_MSGMERGE+:} false; then :
12857
$as_echo_n "(cached) " >&6
12861
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12865
for as_dir in $PATH
12868
test -z "$as_dir" && as_dir=.
12869
for ac_exec_ext in '' $ac_executable_extensions; do
12870
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12871
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12872
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12882
MSGMERGE=$ac_cv_path_MSGMERGE
12883
if test -n "$MSGMERGE"; then
12884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12885
$as_echo "$MSGMERGE" >&6; }
12887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12888
$as_echo "no" >&6; }
12892
# Extract the first word of "msgfmt", so it can be a program name with args.
12893
set dummy msgfmt; ac_word=$2
12894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12895
$as_echo_n "checking for $ac_word... " >&6; }
12896
if ${ac_cv_path_MSGFMT+:} false; then :
12897
$as_echo_n "(cached) " >&6
12901
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905
for as_dir in $PATH
12908
test -z "$as_dir" && as_dir=.
12909
for ac_exec_ext in '' $ac_executable_extensions; do
12910
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12911
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12912
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12922
MSGFMT=$ac_cv_path_MSGFMT
12923
if test -n "$MSGFMT"; then
12924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12925
$as_echo "$MSGFMT" >&6; }
12927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928
$as_echo "no" >&6; }
12932
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12933
set dummy gmsgfmt; ac_word=$2
12934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12935
$as_echo_n "checking for $ac_word... " >&6; }
12936
if ${ac_cv_path_GMSGFMT+:} false; then :
12937
$as_echo_n "(cached) " >&6
12941
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12945
for as_dir in $PATH
12948
test -z "$as_dir" && as_dir=.
12949
for ac_exec_ext in '' $ac_executable_extensions; do
12950
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12951
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12952
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12959
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12963
GMSGFMT=$ac_cv_path_GMSGFMT
12964
if test -n "$GMSGFMT"; then
12965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12966
$as_echo "$GMSGFMT" >&6; }
12968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12969
$as_echo "no" >&6; }
12973
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12974
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12976
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12977
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12978
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12979
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12980
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12983
# Extract the first word of "perl", so it can be a program name with args.
12984
set dummy perl; ac_word=$2
12985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12986
$as_echo_n "checking for $ac_word... " >&6; }
12987
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12988
$as_echo_n "(cached) " >&6
12990
case $INTLTOOL_PERL in
12992
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12995
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12996
for as_dir in $PATH
12999
test -z "$as_dir" && as_dir=.
13000
for ac_exec_ext in '' $ac_executable_extensions; do
13001
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13002
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13003
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13013
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13014
if test -n "$INTLTOOL_PERL"; then
13015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13016
$as_echo "$INTLTOOL_PERL" >&6; }
13018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13019
$as_echo "no" >&6; }
13023
if test -z "$INTLTOOL_PERL"; then
13024
as_fn_error $? "perl not found" "$LINENO" 5
13026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13027
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13028
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13029
if test $? -ne 0; then
13030
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13032
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13034
$as_echo "$IT_PERL_VERSION" >&6; }
13036
if test "x" != "xno-xml"; then
13037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13038
$as_echo_n "checking for XML::Parser... " >&6; }
13039
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
13040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
13041
$as_echo "ok" >&6; }
13043
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
13047
# Substitute ALL_LINGUAS so we can use it in po/Makefile
13050
# Set DATADIRNAME correctly if it is not set yet
13051
# (copied from glib-gettext.m4)
13052
if test -z "$DATADIRNAME"; then
13053
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13054
/* end confdefs.h. */
13059
extern int _nl_msg_cat_cntr;
13060
return _nl_msg_cat_cntr
13065
if ac_fn_c_try_link "$LINENO"; then :
13070
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13071
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13083
rm -f core conftest.err conftest.$ac_objext \
13084
conftest$ac_exeext conftest.$ac_ext
13093
cat >>confdefs.h <<_ACEOF
13094
#define LOCALE_DIR "${PREFIX}/${DATADIRNAME}/locale"
13098
cat >>confdefs.h <<_ACEOF
13099
#define DATADIR "${PREFIX}/${DATADIRNAME}"
13103
cat >>confdefs.h <<_ACEOF
13104
#define PREFIXDIR "${PREFIX}"
13108
libexecdir='${PREFIX}/lib'
13110
# AC_DEFINE_UNQUOTED(libexecdir, "${PREFIX}",[Libexecdir directory])
13112
######################################################
13113
# intltool rule for generating translated .lens file
13114
######################################################
13115
INTLTOOL_SCOPE_RULE='%.scope: %.scope.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 $< $@'
13120
#####################################################
13121
# Check for module and library dependancies
13122
#####################################################
13131
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13132
if test -n "$ac_tool_prefix"; then
13133
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13134
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13136
$as_echo_n "checking for $ac_word... " >&6; }
13137
if ${ac_cv_path_PKG_CONFIG+:} false; then :
13138
$as_echo_n "(cached) " >&6
13140
case $PKG_CONFIG in
13142
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13145
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13146
for as_dir in $PATH
13149
test -z "$as_dir" && as_dir=.
13150
for ac_exec_ext in '' $ac_executable_extensions; do
13151
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13152
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13153
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13163
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13164
if test -n "$PKG_CONFIG"; then
13165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13166
$as_echo "$PKG_CONFIG" >&6; }
13168
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13169
$as_echo "no" >&6; }
13174
if test -z "$ac_cv_path_PKG_CONFIG"; then
13175
ac_pt_PKG_CONFIG=$PKG_CONFIG
13176
# Extract the first word of "pkg-config", so it can be a program name with args.
13177
set dummy pkg-config; ac_word=$2
13178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13179
$as_echo_n "checking for $ac_word... " >&6; }
13180
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13181
$as_echo_n "(cached) " >&6
13183
case $ac_pt_PKG_CONFIG in
13185
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13188
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13189
for as_dir in $PATH
13192
test -z "$as_dir" && as_dir=.
13193
for ac_exec_ext in '' $ac_executable_extensions; do
13194
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13195
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13196
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13206
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13207
if test -n "$ac_pt_PKG_CONFIG"; then
13208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13209
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13212
$as_echo "no" >&6; }
13215
if test "x$ac_pt_PKG_CONFIG" = x; then
13218
case $cross_compiling:$ac_tool_warned in
13220
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13221
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13222
ac_tool_warned=yes ;;
13224
PKG_CONFIG=$ac_pt_PKG_CONFIG
13227
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13231
if test -n "$PKG_CONFIG"; then
13232
_pkg_min_version=0.9.0
13233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13234
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13235
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13236
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13237
$as_echo "yes" >&6; }
13239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13240
$as_echo "no" >&6; }
13246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCOPE_DAEMON" >&5
13247
$as_echo_n "checking for SCOPE_DAEMON... " >&6; }
13249
if test -n "$SCOPE_DAEMON_CFLAGS"; then
13250
pkg_cv_SCOPE_DAEMON_CFLAGS="$SCOPE_DAEMON_CFLAGS"
13251
elif test -n "$PKG_CONFIG"; then
13252
if test -n "$PKG_CONFIG" && \
13253
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13254
gobject-2.0 >= \$GLIB_REQUIRED
13255
gio-2.0 >= \$GLIB_REQUIRED
13256
gio-unix-2.0 >= \$GLIB_REQUIRED
13262
tdb >= 1.2.6\""; } >&5
13263
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13264
gobject-2.0 >= $GLIB_REQUIRED
13265
gio-2.0 >= $GLIB_REQUIRED
13266
gio-unix-2.0 >= $GLIB_REQUIRED
13272
tdb >= 1.2.6") 2>&5
13274
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13275
test $ac_status = 0; }; then
13276
pkg_cv_SCOPE_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
13277
gobject-2.0 >= $GLIB_REQUIRED
13278
gio-2.0 >= $GLIB_REQUIRED
13279
gio-unix-2.0 >= $GLIB_REQUIRED
13285
tdb >= 1.2.6" 2>/dev/null`
13286
test "x$?" != "x0" && pkg_failed=yes
13293
if test -n "$SCOPE_DAEMON_LIBS"; then
13294
pkg_cv_SCOPE_DAEMON_LIBS="$SCOPE_DAEMON_LIBS"
13295
elif test -n "$PKG_CONFIG"; then
13296
if test -n "$PKG_CONFIG" && \
13297
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13298
gobject-2.0 >= \$GLIB_REQUIRED
13299
gio-2.0 >= \$GLIB_REQUIRED
13300
gio-unix-2.0 >= \$GLIB_REQUIRED
13306
tdb >= 1.2.6\""; } >&5
13307
($PKG_CONFIG --exists --print-errors "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") 2>&5
13318
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13319
test $ac_status = 0; }; then
13320
pkg_cv_SCOPE_DAEMON_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
13321
gobject-2.0 >= $GLIB_REQUIRED
13322
gio-2.0 >= $GLIB_REQUIRED
13323
gio-unix-2.0 >= $GLIB_REQUIRED
13329
tdb >= 1.2.6" 2>/dev/null`
13330
test "x$?" != "x0" && pkg_failed=yes
13340
if test $pkg_failed = yes; then
13341
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13342
$as_echo "no" >&6; }
13344
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13345
_pkg_short_errors_supported=yes
13347
_pkg_short_errors_supported=no
13349
if test $_pkg_short_errors_supported = yes; then
13350
SCOPE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13351
gobject-2.0 >= $GLIB_REQUIRED
13352
gio-2.0 >= $GLIB_REQUIRED
13353
gio-unix-2.0 >= $GLIB_REQUIRED
13359
tdb >= 1.2.6" 2>&1`
13361
SCOPE_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13362
gobject-2.0 >= $GLIB_REQUIRED
13363
gio-2.0 >= $GLIB_REQUIRED
13364
gio-unix-2.0 >= $GLIB_REQUIRED
13370
tdb >= 1.2.6" 2>&1`
13372
# Put the nasty error message in config.log where it belongs
13373
echo "$SCOPE_DAEMON_PKG_ERRORS" >&5
13375
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
13376
gobject-2.0 >= $GLIB_REQUIRED
13377
gio-2.0 >= $GLIB_REQUIRED
13378
gio-unix-2.0 >= $GLIB_REQUIRED
13384
tdb >= 1.2.6) were not met:
13386
$SCOPE_DAEMON_PKG_ERRORS
13388
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13389
installed software in a non-standard prefix.
13391
Alternatively, you may set the environment variables SCOPE_DAEMON_CFLAGS
13392
and SCOPE_DAEMON_LIBS to avoid the need to call pkg-config.
13393
See the pkg-config man page for more details." "$LINENO" 5
13394
elif test $pkg_failed = untried; then
13395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13396
$as_echo "no" >&6; }
13397
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13398
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13399
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13400
is in your PATH or set the PKG_CONFIG environment variable to the full
13401
path to pkg-config.
13403
Alternatively, you may set the environment variables SCOPE_DAEMON_CFLAGS
13404
and SCOPE_DAEMON_LIBS to avoid the need to call pkg-config.
13405
See the pkg-config man page for more details.
13407
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13408
See \`config.log' for more details" "$LINENO" 5; }
13410
SCOPE_DAEMON_CFLAGS=$pkg_cv_SCOPE_DAEMON_CFLAGS
13411
SCOPE_DAEMON_LIBS=$pkg_cv_SCOPE_DAEMON_LIBS
13412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13413
$as_echo "yes" >&6; }
13419
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PREVIEW_PLAYER" >&5
13420
$as_echo_n "checking for PREVIEW_PLAYER... " >&6; }
13422
if test -n "$PREVIEW_PLAYER_CFLAGS"; then
13423
pkg_cv_PREVIEW_PLAYER_CFLAGS="$PREVIEW_PLAYER_CFLAGS"
13424
elif test -n "$PKG_CONFIG"; then
13425
if test -n "$PKG_CONFIG" && \
13426
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13427
gobject-2.0 >= \$GLIB_REQUIRED
13428
gio-2.0 >= \$GLIB_REQUIRED
13430
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13431
gobject-2.0 >= $GLIB_REQUIRED
13432
gio-2.0 >= $GLIB_REQUIRED
13435
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13436
test $ac_status = 0; }; then
13437
pkg_cv_PREVIEW_PLAYER_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED
13438
gobject-2.0 >= $GLIB_REQUIRED
13439
gio-2.0 >= $GLIB_REQUIRED
13441
test "x$?" != "x0" && pkg_failed=yes
13448
if test -n "$PREVIEW_PLAYER_LIBS"; then
13449
pkg_cv_PREVIEW_PLAYER_LIBS="$PREVIEW_PLAYER_LIBS"
13450
elif test -n "$PKG_CONFIG"; then
13451
if test -n "$PKG_CONFIG" && \
13452
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED
13453
gobject-2.0 >= \$GLIB_REQUIRED
13454
gio-2.0 >= \$GLIB_REQUIRED
13456
($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED
13457
gobject-2.0 >= $GLIB_REQUIRED
13458
gio-2.0 >= $GLIB_REQUIRED
13461
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13462
test $ac_status = 0; }; then
13463
pkg_cv_PREVIEW_PLAYER_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED
13464
gobject-2.0 >= $GLIB_REQUIRED
13465
gio-2.0 >= $GLIB_REQUIRED
13467
test "x$?" != "x0" && pkg_failed=yes
13477
if test $pkg_failed = yes; then
13478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13479
$as_echo "no" >&6; }
13481
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13482
_pkg_short_errors_supported=yes
13484
_pkg_short_errors_supported=no
13486
if test $_pkg_short_errors_supported = yes; then
13487
PREVIEW_PLAYER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13488
gobject-2.0 >= $GLIB_REQUIRED
13489
gio-2.0 >= $GLIB_REQUIRED
13492
PREVIEW_PLAYER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED
13493
gobject-2.0 >= $GLIB_REQUIRED
13494
gio-2.0 >= $GLIB_REQUIRED
13497
# Put the nasty error message in config.log where it belongs
13498
echo "$PREVIEW_PLAYER_PKG_ERRORS" >&5
13500
as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED
13501
gobject-2.0 >= $GLIB_REQUIRED
13502
gio-2.0 >= $GLIB_REQUIRED
13505
$PREVIEW_PLAYER_PKG_ERRORS
13507
Consider adjusting the PKG_CONFIG_PATH environment variable if you
13508
installed software in a non-standard prefix.
13510
Alternatively, you may set the environment variables PREVIEW_PLAYER_CFLAGS
13511
and PREVIEW_PLAYER_LIBS to avoid the need to call pkg-config.
13512
See the pkg-config man page for more details." "$LINENO" 5
13513
elif test $pkg_failed = untried; then
13514
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13515
$as_echo "no" >&6; }
13516
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13517
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13518
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
13519
is in your PATH or set the PKG_CONFIG environment variable to the full
13520
path to pkg-config.
13522
Alternatively, you may set the environment variables PREVIEW_PLAYER_CFLAGS
13523
and PREVIEW_PLAYER_LIBS to avoid the need to call pkg-config.
13524
See the pkg-config man page for more details.
13526
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13527
See \`config.log' for more details" "$LINENO" 5; }
13529
PREVIEW_PLAYER_CFLAGS=$pkg_cv_PREVIEW_PLAYER_CFLAGS
13530
PREVIEW_PLAYER_LIBS=$pkg_cv_PREVIEW_PLAYER_LIBS
13531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13532
$as_echo "yes" >&6; }
13541
#####################################################
13542
# local install for distcheck and stand-alone running
13543
#####################################################
13544
with_localinstall="no"
13545
# Check whether --enable-localinstall was given.
13546
if test "${enable_localinstall+set}" = set; then :
13547
enableval=$enable_localinstall; with_localinstall=$enableval
13549
with_localinstall=no
13553
if test "x$with_localinstall" = "xyes"; then
13554
HAVE_LOCALINSTALL_TRUE=
13555
HAVE_LOCALINSTALL_FALSE='#'
13557
HAVE_LOCALINSTALL_TRUE='#'
13558
HAVE_LOCALINSTALL_FALSE=
13562
#####################################################
13563
# Expand variables needed for config.vala
13564
#####################################################
13569
prefix_save=$prefix
13570
exec_prefix_save=$exec_prefix
13572
if test "x$prefix" = "xNONE"; then
13573
prefix=$ac_default_prefix
13575
if test "x$exec_prefix" = "xNONE"; then
13576
exec_prefix=$prefix
13579
full_var="$FROM_VAR"
13581
new_full_var="`eval echo $full_var`"
13582
if test "x$new_full_var"="x$full_var"; then break; fi
13583
full_var=$new_full_var
13586
full_var=$new_full_var
13590
prefix=$prefix_save
13591
exec_prefix=$exec_prefix_save
13597
FROM_VAR=$datarootdir
13599
prefix_save=$prefix
13600
exec_prefix_save=$exec_prefix
13602
if test "x$prefix" = "xNONE"; then
13603
prefix=$ac_default_prefix
13605
if test "x$exec_prefix" = "xNONE"; then
13606
exec_prefix=$prefix
13609
full_var="$FROM_VAR"
13611
new_full_var="`eval echo $full_var`"
13612
if test "x$new_full_var"="x$full_var"; then break; fi
13613
full_var=$new_full_var
13616
full_var=$new_full_var
13617
DATADIR="$full_var"
13620
prefix=$prefix_save
13621
exec_prefix=$exec_prefix_save
13625
#####################################################
13626
# Look for dbus service dir
13627
#####################################################
13628
if test "x$with_localinstall" = "xyes"; then
13629
DBUSSERVICEDIR="${datadir}/dbus-1/services/"
13631
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
13635
#####################################################
13636
# Look for correct Scopes dir
13637
#####################################################
13638
if test "x$with_localinstall" = "xyes"; then
13639
SCOPESDIR="${datadir}/unity/scopes"
13641
SCOPESDIR=`$PKG_CONFIG --variable=scopesdir unity`
13647
#####################################################
13648
# Create the Makefiles
13649
#####################################################
13651
ac_config_files="$ac_config_files Makefile musicbaidu.scope.in data/Makefile src/Makefile src/config.vala po/Makefile.in"
13653
cat >confcache <<\_ACEOF
13654
# This file is a shell script that caches the results of configure
13655
# tests run on this system so they can be shared between configure
13656
# scripts and configure runs, see configure's option --config-cache.
13657
# It is not useful on other systems. If it contains results you don't
13658
# want to keep, you may remove or edit it.
13660
# config.status only pays attention to the cache file if you give it
13661
# the --recheck option to rerun configure.
13663
# `ac_cv_env_foo' variables (set or unset) will be overridden when
13664
# loading this file, other *unset* `ac_cv_foo' will be assigned the
13665
# following values.
13669
# The following way of writing the cache mishandles newlines in values,
13670
# but we know of no workaround that is simple, portable, and efficient.
13671
# So, we kill variables containing newlines.
13672
# Ultrix sh set writes to stderr and can't be redirected directly,
13673
# and sets the high bit in the cache file unless we assign to the vars.
13675
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13676
eval ac_val=\$$ac_var
13680
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13681
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13684
_ | IFS | as_nl) ;; #(
13685
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13686
*) { eval $ac_var=; unset $ac_var;} ;;
13692
case $as_nl`(ac_space=' '; set) 2>&1` in #(
13693
*${as_nl}ac_space=\ *)
13694
# `set' does not quote correctly, so add quotes: double-quote
13695
# substitution turns \\\\ into \\, and sed turns \\ into \.
13698
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13701
# `set' quotes correctly as required by POSIX, so do not add quotes.
13702
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13711
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13713
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13715
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13716
if test -w "$cache_file"; then
13717
if test "x$cache_file" != "x/dev/null"; then
13718
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13719
$as_echo "$as_me: updating cache $cache_file" >&6;}
13720
if test ! -f "$cache_file" || test -h "$cache_file"; then
13721
cat confcache >"$cache_file"
13723
case $cache_file in #(
13725
mv -f confcache "$cache_file"$$ &&
13726
mv -f "$cache_file"$$ "$cache_file" ;; #(
13728
mv -f confcache "$cache_file" ;;
13733
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13734
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13739
test "x$prefix" = xNONE && prefix=$ac_default_prefix
13740
# Let make expand exec_prefix.
13741
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13743
DEFS=-DHAVE_CONFIG_H
13748
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13749
# 1. Remove the extension, and $U if already installed.
13750
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13751
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13752
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13753
# will be set to the directory where LIBOBJS objects are built.
13754
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13755
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13757
LIBOBJS=$ac_libobjs
13759
LTLIBOBJS=$ac_ltlibobjs
13762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13763
$as_echo_n "checking that generated files are newer than configure... " >&6; }
13764
if test -n "$am_sleep_pid"; then
13765
# Hide warnings about reused PIDs.
13766
wait $am_sleep_pid 2>/dev/null
13768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13769
$as_echo "done" >&6; }
13770
if test -n "$EXEEXT"; then
13772
am__EXEEXT_FALSE='#'
13774
am__EXEEXT_TRUE='#'
13778
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13779
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13780
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13782
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13783
as_fn_error $? "conditional \"AMDEP\" was never defined.
13784
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13786
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13787
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13788
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13791
ac_config_commands="$ac_config_commands po/stamp-it"
13794
if test -z "${HAVE_LOCALINSTALL_TRUE}" && test -z "${HAVE_LOCALINSTALL_FALSE}"; then
13795
as_fn_error $? "conditional \"HAVE_LOCALINSTALL\" was never defined.
13796
Usually this means the macro was only invoked conditionally." "$LINENO" 5
13799
: "${CONFIG_STATUS=./config.status}"
13801
ac_clean_files_save=$ac_clean_files
13802
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13803
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13804
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13806
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13808
# Generated by $as_me.
13809
# Run this file to recreate the current configuration.
13810
# Compiler output produced by configure, useful for debugging
13811
# configure, is in config.log if it exists.
13814
ac_cs_recheck=false
13817
SHELL=\${CONFIG_SHELL-$SHELL}
13820
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13821
## -------------------- ##
13822
## M4sh Initialization. ##
13823
## -------------------- ##
13825
# Be more Bourne compatible
13826
DUALCASE=1; export DUALCASE # for MKS sh
13827
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13830
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13831
# is contrary to our usage. Disable this feature.
13832
alias -g '${1+"$@"}'='"$@"'
13833
setopt NO_GLOB_SUBST
13835
case `(set -o) 2>/dev/null` in #(
13847
# Printing a long string crashes Solaris 7 /usr/bin/printf.
13848
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13849
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13850
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13851
# Prefer a ksh shell builtin over an external printf program on Solaris,
13852
# but without wasting forks for bash or zsh.
13853
if test -z "$BASH_VERSION$ZSH_VERSION" \
13854
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13855
as_echo='print -r --'
13856
as_echo_n='print -rn --'
13857
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13858
as_echo='printf %s\n'
13859
as_echo_n='printf %s'
13861
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13862
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13863
as_echo_n='/usr/ucb/echo -n'
13865
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13866
as_echo_n_body='eval
13870
expr "X$arg" : "X\\(.*\\)$as_nl";
13871
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13873
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13875
export as_echo_n_body
13876
as_echo_n='sh -c $as_echo_n_body as_echo'
13878
export as_echo_body
13879
as_echo='sh -c $as_echo_body as_echo'
13882
# The user is always right.
13883
if test "${PATH_SEPARATOR+set}" != set; then
13885
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13886
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13893
# We need space, tab and new line, in precisely that order. Quoting is
13894
# there to prevent editors from complaining about space-tab.
13895
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13896
# splitting by setting IFS to empty value.)
13899
# Find who we are. Look in the path if we contain no directory separator.
13902
*[\\/]* ) as_myself=$0 ;;
13903
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13904
for as_dir in $PATH
13907
test -z "$as_dir" && as_dir=.
13908
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13914
# We did not find ourselves, most probably we were run as `sh COMMAND'
13915
# in which case we are not to be found in the path.
13916
if test "x$as_myself" = x; then
13919
if test ! -f "$as_myself"; then
13920
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13924
# Unset variables that we do not need and which cause bugs (e.g. in
13925
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
13926
# suppresses any "Segmentation fault" message there. '((' could
13927
# trigger a bug in pdksh 5.2.14.
13928
for as_var in BASH_ENV ENV MAIL MAILPATH
13929
do eval test x\${$as_var+set} = xset \
13930
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13943
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13946
# as_fn_error STATUS ERROR [LINENO LOG_FD]
13947
# ----------------------------------------
13948
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13949
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13950
# script with STATUS, using 1 if that was 0.
13953
as_status=$1; test $as_status -eq 0 && as_status=1
13955
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13956
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13958
$as_echo "$as_me: error: $2" >&2
13959
as_fn_exit $as_status
13963
# as_fn_set_status STATUS
13964
# -----------------------
13965
# Set $? to STATUS, without forking.
13966
as_fn_set_status ()
13969
} # as_fn_set_status
13971
# as_fn_exit STATUS
13972
# -----------------
13973
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13977
as_fn_set_status $1
13983
# Portably unset VAR.
13986
{ eval $1=; unset $1;}
13988
as_unset=as_fn_unset
13989
# as_fn_append VAR VALUE
13990
# ----------------------
13991
# Append the text in VALUE to the end of the definition contained in VAR. Take
13992
# advantage of any shell optimizations that allow amortized linear growth over
13993
# repeated appends, instead of the typical quadratic growth present in naive
13995
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13996
eval 'as_fn_append ()
14007
# as_fn_arith ARG...
14008
# ------------------
14009
# Perform arithmetic evaluation on the ARGs, and store the result in the
14010
# global $as_val. Take advantage of shells that can avoid forks. The arguments
14011
# must be portable across $(()) and expr.
14012
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14013
eval 'as_fn_arith ()
14020
as_val=`expr "$@" || test $? -eq 1`
14025
if expr a : '\(a\)' >/dev/null 2>&1 &&
14026
test "X`expr 00001 : '.*\(...\)'`" = X001; then
14032
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14033
as_basename=basename
14038
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14044
as_me=`$as_basename -- "$0" ||
14045
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14046
X"$0" : 'X\(//\)$' \| \
14047
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14049
sed '/^.*\/\([^/][^/]*\)\/*$/{
14063
# Avoid depending upon Character Ranges.
14064
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14065
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14066
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14067
as_cr_digits='0123456789'
14068
as_cr_alnum=$as_cr_Letters$as_cr_digits
14070
ECHO_C= ECHO_N= ECHO_T=
14071
case `echo -n x` in #(((((
14073
case `echo 'xy\c'` in
14074
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
14076
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
14083
rm -f conf$$ conf$$.exe conf$$.file
14084
if test -d conf$$.dir; then
14085
rm -f conf$$.dir/conf$$.file
14088
mkdir conf$$.dir 2>/dev/null
14090
if (echo >conf$$.file) 2>/dev/null; then
14091
if ln -s conf$$.file conf$$ 2>/dev/null; then
14093
# ... but there are two gotchas:
14094
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14095
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14096
# In both cases, we have to default to `cp -pR'.
14097
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14099
elif ln conf$$.file conf$$ 2>/dev/null; then
14107
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14108
rmdir conf$$.dir 2>/dev/null
14113
# Create "$as_dir" as a directory, including parents if necessary.
14118
-*) as_dir=./$as_dir;;
14120
test -d "$as_dir" || eval $as_mkdir_p || {
14124
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14125
*) as_qdir=$as_dir;;
14127
as_dirs="'$as_qdir' $as_dirs"
14128
as_dir=`$as_dirname -- "$as_dir" ||
14129
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14130
X"$as_dir" : 'X\(//\)[^/]' \| \
14131
X"$as_dir" : 'X\(//\)$' \| \
14132
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14133
$as_echo X"$as_dir" |
14134
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14138
/^X\(\/\/\)[^/].*/{
14151
test -d "$as_dir" && break
14153
test -z "$as_dirs" || eval "mkdir $as_dirs"
14154
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14158
if mkdir -p . 2>/dev/null; then
14159
as_mkdir_p='mkdir -p "$as_dir"'
14161
test -d ./-p && rmdir ./-p
14166
# as_fn_executable_p FILE
14167
# -----------------------
14168
# Test if FILE is an executable regular file.
14169
as_fn_executable_p ()
14171
test -f "$1" && test -x "$1"
14172
} # as_fn_executable_p
14173
as_test_x='test -x'
14174
as_executable_p=as_fn_executable_p
14176
# Sed expression to map a string onto a valid CPP name.
14177
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14179
# Sed expression to map a string onto a valid variable name.
14180
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14184
## ----------------------------------- ##
14185
## Main body of $CONFIG_STATUS script. ##
14186
## ----------------------------------- ##
14188
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14190
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14191
# Save the log message, to keep $0 and so on meaningful, and to
14192
# report actual input values of CONFIG_FILES etc. instead of their
14193
# values after options handling.
14195
This file was extended by unity-china-music-scope $as_me 1.0.2, which was
14196
generated by GNU Autoconf 2.69. Invocation command line was
14198
CONFIG_FILES = $CONFIG_FILES
14199
CONFIG_HEADERS = $CONFIG_HEADERS
14200
CONFIG_LINKS = $CONFIG_LINKS
14201
CONFIG_COMMANDS = $CONFIG_COMMANDS
14204
on `(hostname || uname -n) 2>/dev/null | sed 1q`
14209
case $ac_config_files in *"
14210
"*) set x $ac_config_files; shift; ac_config_files=$*;;
14213
case $ac_config_headers in *"
14214
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14218
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14219
# Files that config.status was made for.
14220
config_files="$ac_config_files"
14221
config_headers="$ac_config_headers"
14222
config_commands="$ac_config_commands"
14226
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14228
\`$as_me' instantiates files and other configuration actions
14229
from templates according to the current configuration. Unless the files
14230
and actions are specified as TAGs, all are instantiated by default.
14232
Usage: $0 [OPTION]... [TAG]...
14234
-h, --help print this help, then exit
14235
-V, --version print version number and configuration settings, then exit
14236
--config print configuration, then exit
14237
-q, --quiet, --silent
14238
do not print progress messages
14239
-d, --debug don't remove temporary files
14240
--recheck update $as_me by reconfiguring in the same conditions
14241
--file=FILE[:TEMPLATE]
14242
instantiate the configuration file FILE
14243
--header=FILE[:TEMPLATE]
14244
instantiate the configuration header FILE
14246
Configuration files:
14249
Configuration headers:
14252
Configuration commands:
14255
Report bugs to <https://code.launchpad.net/unity-china-music-scope>."
14258
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14259
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14261
unity-china-music-scope config.status 1.0.2
14262
configured by $0, generated by GNU Autoconf 2.69,
14263
with options \\"\$ac_cs_config\\"
14265
Copyright (C) 2012 Free Software Foundation, Inc.
14266
This config.status script is free software; the Free Software Foundation
14267
gives unlimited permission to copy, distribute and modify it."
14274
test -n "\$AWK" || AWK=awk
14277
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14278
# The default lists apply if the user does not specify any file.
14284
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14285
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14289
ac_option=`expr "X$1" : 'X\([^=]*\)='`
14301
# Handling of the options.
14302
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14304
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14305
$as_echo "$ac_cs_version"; exit ;;
14306
--config | --confi | --conf | --con | --co | --c )
14307
$as_echo "$ac_cs_config"; exit ;;
14308
--debug | --debu | --deb | --de | --d | -d )
14310
--file | --fil | --fi | --f )
14313
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14314
'') as_fn_error $? "missing file argument" ;;
14316
as_fn_append CONFIG_FILES " '$ac_optarg'"
14317
ac_need_defaults=false;;
14318
--header | --heade | --head | --hea )
14321
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14323
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14324
ac_need_defaults=false;;
14326
# Conflict between --help and --header
14327
as_fn_error $? "ambiguous option: \`$1'
14328
Try \`$0 --help' for more information.";;
14329
--help | --hel | -h )
14330
$as_echo "$ac_cs_usage"; exit ;;
14331
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
14332
| -silent | --silent | --silen | --sile | --sil | --si | --s)
14335
# This is an error.
14336
-*) as_fn_error $? "unrecognized option: \`$1'
14337
Try \`$0 --help' for more information." ;;
14339
*) as_fn_append ac_config_targets " $1"
14340
ac_need_defaults=false ;;
14346
ac_configure_extra_args=
14348
if $ac_cs_silent; then
14350
ac_configure_extra_args="$ac_configure_extra_args --silent"
14354
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14355
if \$ac_cs_recheck; then
14356
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14358
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14359
CONFIG_SHELL='$SHELL'
14360
export CONFIG_SHELL
14365
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14369
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14370
## Running $as_me. ##
14376
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14380
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14383
# The HP-UX ksh and POSIX shell print the target directory to stdout
14384
# if CDPATH is set.
14385
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14387
sed_quote_subst='$sed_quote_subst'
14388
double_quote_subst='$double_quote_subst'
14389
delay_variable_subst='$delay_variable_subst'
14390
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14391
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14392
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14393
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14394
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14395
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14396
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14397
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14398
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14399
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14400
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14401
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14402
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14403
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14404
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14405
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14406
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14407
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14408
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14409
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14410
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14411
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14412
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14413
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14414
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14415
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14416
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14417
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14418
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14419
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14420
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14421
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14422
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14423
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14424
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14425
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14426
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14427
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14428
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14429
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14430
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14431
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14432
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14433
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14434
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14435
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14436
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14437
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14438
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14439
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14440
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14441
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14442
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14443
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14444
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14445
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14446
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"`'
14447
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14448
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14449
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14450
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14451
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14452
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14453
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14454
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14455
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14456
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14457
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14458
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14459
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14460
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14461
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14462
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14463
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14464
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14465
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14466
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14467
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14468
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14469
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14470
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14471
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14472
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14473
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14474
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14475
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14476
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14477
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14478
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14479
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14480
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14481
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14482
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14483
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14484
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14485
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14486
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14487
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14488
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14489
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14490
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14491
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14492
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14493
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14494
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14495
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14496
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14497
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14498
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14499
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14500
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14501
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14502
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14503
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14504
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14505
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14506
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14507
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14508
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14509
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14510
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14511
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14512
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14513
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14514
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14515
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14516
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14517
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14518
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14519
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14522
LTCFLAGS='$LTCFLAGS'
14523
compiler='$compiler_DEFAULT'
14525
# A function that is used when there is no print builtin or printf.
14526
func_fallback_echo ()
14528
eval 'cat <<_LTECHO_EOF
14533
# Quote evaled strings.
14548
deplibs_check_method \
14553
sharedlib_from_linklib_cmd \
14556
archiver_list_spec \
14562
lt_cv_sys_global_symbol_pipe \
14563
lt_cv_sys_global_symbol_to_cdecl \
14564
lt_cv_sys_global_symbol_to_c_name_address \
14565
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14566
nm_file_list_spec \
14567
lt_prog_compiler_no_builtin_flag \
14568
lt_prog_compiler_pic \
14569
lt_prog_compiler_wl \
14570
lt_prog_compiler_static \
14571
lt_cv_prog_compiler_c_o \
14580
export_dynamic_flag_spec \
14581
whole_archive_flag_spec \
14582
compiler_needs_object \
14584
allow_undefined_flag \
14585
no_undefined_flag \
14586
hardcode_libdir_flag_spec \
14587
hardcode_libdir_separator \
14591
variables_saved_for_relink \
14593
library_names_spec \
14595
install_override_mode \
14599
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14600
*[\\\\\\\`\\"\\\$]*)
14601
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14604
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14609
# Double-quote double-evaled strings.
14610
for var in reload_cmds \
14611
old_postinstall_cmds \
14612
old_postuninstall_cmds \
14614
extract_expsyms_cmds \
14615
old_archive_from_new_cmds \
14616
old_archive_from_expsyms_cmds \
14618
archive_expsym_cmds \
14620
module_expsym_cmds \
14621
export_symbols_cmds \
14625
postuninstall_cmds \
14627
sys_lib_search_path_spec \
14628
sys_lib_dlsearch_path_spec; do
14629
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14630
*[\\\\\\\`\\"\\\$]*)
14631
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14634
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14639
ac_aux_dir='$ac_aux_dir'
14640
xsi_shell='$xsi_shell'
14641
lt_shell_append='$lt_shell_append'
14643
# See if we are running on zsh, and set the options which allow our
14644
# commands through without removal of \ escapes INIT.
14645
if test -n "\${ZSH_VERSION+set}" ; then
14646
setopt NO_GLOB_SUBST
14652
TIMESTAMP='$TIMESTAMP'
14662
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14664
# Handling of arguments.
14665
for ac_config_target in $ac_config_targets
14667
case $ac_config_target in
14668
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14669
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14670
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14671
"default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14672
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14673
"musicbaidu.scope.in") CONFIG_FILES="$CONFIG_FILES musicbaidu.scope.in" ;;
14674
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
14675
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14676
"src/config.vala") CONFIG_FILES="$CONFIG_FILES src/config.vala" ;;
14677
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14678
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14680
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14685
# If the user did not use the arguments to specify the items to instantiate,
14686
# then the envvar interface is used. Set only those that are not.
14687
# We use the long form for the default assignment because of an extremely
14688
# bizarre bug on SunOS 4.1.3.
14689
if $ac_need_defaults; then
14690
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14691
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14692
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14695
# Have a temporary directory for convenience. Make it in the build tree
14696
# simply because there is no reason against having it here, and in addition,
14697
# creating and moving files from /tmp can sometimes cause problems.
14698
# Hook for its removal unless debugging.
14699
# Note that there is a small window in which the directory will not be cleaned:
14700
# after its creation but before its name has been assigned to `$tmp'.
14704
trap 'exit_status=$?
14705
: "${ac_tmp:=$tmp}"
14706
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14708
trap 'as_fn_exit 1' 1 2 13 15
14710
# Create a (secure) tmp directory for tmp files.
14713
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14717
tmp=./conf$$-$RANDOM
14718
(umask 077 && mkdir "$tmp")
14719
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14722
# Set up the scripts for CONFIG_FILES section.
14723
# No need to generate them if there are no CONFIG_FILES.
14724
# This happens for instance with `./config.status config.h'.
14725
if test -n "$CONFIG_FILES"; then
14728
ac_cr=`echo X | tr X '\015'`
14729
# On cygwin, bash can eat \r inside `` if the user requested igncr.
14730
# But we know of no other shell where ac_cr would be empty at this
14731
# point, so we can use a bashism as a fallback.
14732
if test "x$ac_cr" = x; then
14733
eval ac_cr=\$\'\\r\'
14735
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14736
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14739
ac_cs_awk_cr=$ac_cr
14742
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14747
echo "cat >conf$$subs.awk <<_ACEOF" &&
14748
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14750
} >conf$$subs.sh ||
14751
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14752
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14754
for ac_last_try in false false false false false :; do
14755
. ./conf$$subs.sh ||
14756
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14758
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14759
if test $ac_delim_n = $ac_delim_num; then
14761
elif $ac_last_try; then
14762
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14764
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14767
rm -f conf$$subs.sh
14769
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14770
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14774
s/^/S["/; s/!.*/"]=/
14784
s/\(.\{148\}\)..*/\1/
14786
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14791
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14798
s/\(.\{148\}\)..*/\1/
14800
s/["\\]/\\&/g; s/^/"/; s/$/"/
14804
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14809
' <conf$$subs.awk | sed '
14814
' >>$CONFIG_STATUS || ac_write_fail=1
14815
rm -f conf$$subs.awk
14816
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14818
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14819
for (key in S) S_is_set[key] = 1
14825
nfields = split(line, field, "@")
14827
len = length(field[1])
14828
for (i = 2; i < nfields; i++) {
14830
keylen = length(key)
14831
if (S_is_set[key]) {
14833
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14834
len += length(value) + length(field[++i])
14845
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14846
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14847
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14850
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14851
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14854
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14855
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14856
# trailing colons and then remove the whole line if VPATH becomes empty
14857
# (actually we leave an empty line to preserve line numbers).
14858
if test "x$srcdir" = x.; then
14859
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
14877
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14878
fi # test -n "$CONFIG_FILES"
14880
# Set up the scripts for CONFIG_HEADERS section.
14881
# No need to generate them if there are no CONFIG_HEADERS.
14882
# This happens for instance with `./config.status Makefile'.
14883
if test -n "$CONFIG_HEADERS"; then
14884
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14888
# Transform confdefs.h into an awk script `defines.awk', embedded as
14889
# here-document in config.status, that substitutes the proper values into
14890
# config.h.in to produce config.h.
14892
# Create a delimiter string that does not exist in confdefs.h, to ease
14893
# handling of long lines.
14895
for ac_last_try in false false :; do
14896
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14897
if test -z "$ac_tt"; then
14899
elif $ac_last_try; then
14900
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14902
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14906
# For the awk script, D is an array of macro values keyed by name,
14907
# likewise P contains macro parameters if any. Preserve backslash
14908
# newline sequences.
14910
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14912
s/.\{148\}/&'"$ac_delim"'/g
14915
s/^[ ]*#[ ]*define[ ][ ]*/ /
14922
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14924
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
14928
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
14929
D["\1"]=" \3\\\\\\n"\\/p
14931
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14936
s/.\{148\}/&'"$ac_delim"'/g
14941
s/["\\]/\\&/g; s/^/"/; s/$/"/p
14944
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14946
' <confdefs.h | sed '
14947
s/'"$ac_delim"'/"\\\
14948
"/g' >>$CONFIG_STATUS || ac_write_fail=1
14950
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14951
for (key in D) D_is_set[key] = 1
14954
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14956
split(line, arg, " ")
14957
if (arg[1] == "#") {
14961
defundef = substr(arg[1], 2)
14964
split(mac1, mac2, "(") #)
14966
prefix = substr(line, 1, index(line, defundef) - 1)
14967
if (D_is_set[macro]) {
14968
# Preserve the white space surrounding the "#".
14969
print prefix "define", macro P[macro] D[macro]
14972
# Replace #undef with comments. This is necessary, for example,
14973
# in the case of _POSIX_SOURCE, which is predefined and required
14974
# on some systems where configure will not decide to define it.
14975
if (defundef == "undef") {
14976
print "/*", prefix defundef, macro, "*/"
14984
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14985
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14986
fi # test -n "$CONFIG_HEADERS"
14989
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14994
:[FHLC]) ac_mode=$ac_tag; continue;;
14996
case $ac_mode$ac_tag in
14998
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14999
:[FH]-) ac_tag=-:-;;
15000
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15017
-) ac_f="$ac_tmp/stdin";;
15018
*) # Look for the file first in the build tree, then in the source tree
15019
# (if the path is not absolute). The absolute path cannot be DOS-style,
15020
# because $ac_f cannot contain `:'.
15024
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15026
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15028
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15029
as_fn_append ac_file_inputs " '$ac_f'"
15032
# Let's still pretend it is `configure' which instantiates (i.e., don't
15033
# use $as_me), people would be surprised to read:
15034
# /* config.h. Generated by config.status. */
15035
configure_input='Generated from '`
15036
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15038
if test x"$ac_file" != x-; then
15039
configure_input="$ac_file. $configure_input"
15040
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15041
$as_echo "$as_me: creating $ac_file" >&6;}
15043
# Neutralize special characters interpreted by sed in replacement strings.
15044
case $configure_input in #(
15045
*\&* | *\|* | *\\* )
15046
ac_sed_conf_input=`$as_echo "$configure_input" |
15047
sed 's/[\\\\&|]/\\\\&/g'`;; #(
15048
*) ac_sed_conf_input=$configure_input;;
15052
*:-:* | *:-) cat >"$ac_tmp/stdin" \
15053
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15058
ac_dir=`$as_dirname -- "$ac_file" ||
15059
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15060
X"$ac_file" : 'X\(//\)[^/]' \| \
15061
X"$ac_file" : 'X\(//\)$' \| \
15062
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15063
$as_echo X"$ac_file" |
15064
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15068
/^X\(\/\/\)[^/].*/{
15081
as_dir="$ac_dir"; as_fn_mkdir_p
15085
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15087
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15088
# A ".." for each directory in $ac_dir_suffix.
15089
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15090
case $ac_top_builddir_sub in
15091
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15092
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15095
ac_abs_top_builddir=$ac_pwd
15096
ac_abs_builddir=$ac_pwd$ac_dir_suffix
15097
# for backward compatibility:
15098
ac_top_builddir=$ac_top_build_prefix
15101
.) # We are building in place.
15103
ac_top_srcdir=$ac_top_builddir_sub
15104
ac_abs_top_srcdir=$ac_pwd ;;
15105
[\\/]* | ?:[\\/]* ) # Absolute name.
15106
ac_srcdir=$srcdir$ac_dir_suffix;
15107
ac_top_srcdir=$srcdir
15108
ac_abs_top_srcdir=$srcdir ;;
15109
*) # Relative name.
15110
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15111
ac_top_srcdir=$ac_top_build_prefix$srcdir
15112
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15114
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15124
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15125
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15127
ac_MKDIR_P=$MKDIR_P
15129
[\\/$]* | ?:[\\/]* ) ;;
15130
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15134
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15135
# If the template does not know about datarootdir, expand it.
15136
# FIXME: This hack should be removed a few years after 2.60.
15137
ac_datarootdir_hack=; ac_datarootdir_seen=
15148
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15149
*datarootdir*) ac_datarootdir_seen=yes;;
15150
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15151
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15152
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15154
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15155
ac_datarootdir_hack='
15156
s&@datadir@&$datadir&g
15157
s&@docdir@&$docdir&g
15158
s&@infodir@&$infodir&g
15159
s&@localedir@&$localedir&g
15160
s&@mandir@&$mandir&g
15161
s&\\\${datarootdir}&$datarootdir&g' ;;
15165
# Neutralize VPATH when `$srcdir' = `.'.
15166
# Shell code in configure.ac might set extrasub.
15167
# FIXME: do we really want to maintain this feature?
15168
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15169
ac_sed_extra="$ac_vpsub
15172
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15174
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15175
s|@configure_input@|$ac_sed_conf_input|;t t
15176
s&@top_builddir@&$ac_top_builddir_sub&;t t
15177
s&@top_build_prefix@&$ac_top_build_prefix&;t t
15178
s&@srcdir@&$ac_srcdir&;t t
15179
s&@abs_srcdir@&$ac_abs_srcdir&;t t
15180
s&@top_srcdir@&$ac_top_srcdir&;t t
15181
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15182
s&@builddir@&$ac_builddir&;t t
15183
s&@abs_builddir@&$ac_abs_builddir&;t t
15184
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15185
s&@INSTALL@&$ac_INSTALL&;t t
15186
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15187
$ac_datarootdir_hack
15189
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15190
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15192
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15193
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15194
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
15195
"$ac_tmp/out"`; test -z "$ac_out"; } &&
15196
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15197
which seems to be undefined. Please make sure it is defined" >&5
15198
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15199
which seems to be undefined. Please make sure it is defined" >&2;}
15201
rm -f "$ac_tmp/stdin"
15203
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15204
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15206
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15212
if test x"$ac_file" != x-; then
15214
$as_echo "/* $configure_input */" \
15215
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15216
} >"$ac_tmp/config.h" \
15217
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15218
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15219
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15220
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15223
mv "$ac_tmp/config.h" "$ac_file" \
15224
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15227
$as_echo "/* $configure_input */" \
15228
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15229
|| as_fn_error $? "could not create -" "$LINENO" 5
15231
# Compute "$ac_file"'s index in $config_headers.
15234
for _am_header in $config_headers :; do
15235
case $_am_header in
15236
$_am_arg | $_am_arg:* )
15239
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
15242
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15243
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15244
X"$_am_arg" : 'X\(//\)[^/]' \| \
15245
X"$_am_arg" : 'X\(//\)$' \| \
15246
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15247
$as_echo X"$_am_arg" |
15248
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15252
/^X\(\/\/\)[^/].*/{
15264
s/.*/./; q'`/stamp-h$_am_stamp_count
15267
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15268
$as_echo "$as_me: executing $ac_file commands" >&6;}
15273
case $ac_file$ac_mode in
15274
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15275
# Older Autoconf quotes --file arguments for eval, but not when files
15276
# are listed without --file. Let's play safe and only enable the eval
15277
# if we detect the quoting.
15278
case $CONFIG_FILES in
15279
*\'*) eval set x "$CONFIG_FILES" ;;
15280
*) set x $CONFIG_FILES ;;
15285
# Strip MF so we end up with the name of the file.
15286
mf=`echo "$mf" | sed -e 's/:.*$//'`
15287
# Check whether this is an Automake generated Makefile or not.
15288
# We used to match only the files named 'Makefile.in', but
15289
# some people rename them; so instead we look at the file content.
15290
# Grep'ing the first line is not enough: some people post-process
15291
# each Makefile.in and add a new line on top of each file to say so.
15292
# Grep'ing the whole file is not good either: AIX grep has a line
15293
# limit of 2048, but all sed's we know have understand at least 4000.
15294
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15295
dirpart=`$as_dirname -- "$mf" ||
15296
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15297
X"$mf" : 'X\(//\)[^/]' \| \
15298
X"$mf" : 'X\(//\)$' \| \
15299
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15301
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15305
/^X\(\/\/\)[^/].*/{
15321
# Extract the definition of DEPDIR, am__include, and am__quote
15322
# from the Makefile without running 'make'.
15323
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15324
test -z "$DEPDIR" && continue
15325
am__include=`sed -n 's/^am__include = //p' < "$mf"`
15326
test -z "$am__include" && continue
15327
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15328
# Find all dependency output files, they are included files with
15329
# $(DEPDIR) in their names. We invoke sed twice because it is the
15330
# simplest approach to changing $(DEPDIR) to its actual value in the
15332
for file in `sed -n "
15333
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15334
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15335
# Make sure the directory exists.
15336
test -f "$dirpart/$file" && continue
15337
fdir=`$as_dirname -- "$file" ||
15338
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15339
X"$file" : 'X\(//\)[^/]' \| \
15340
X"$file" : 'X\(//\)$' \| \
15341
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15342
$as_echo X"$file" |
15343
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15347
/^X\(\/\/\)[^/].*/{
15360
as_dir=$dirpart/$fdir; as_fn_mkdir_p
15361
# echo "creating $dirpart/$file"
15362
echo '# dummy' > "$dirpart/$file"
15369
# See if we are running on zsh, and set the options which allow our
15370
# commands through without removal of \ escapes.
15371
if test -n "${ZSH_VERSION+set}" ; then
15372
setopt NO_GLOB_SUBST
15375
cfgfile="${ofile}T"
15376
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15379
cat <<_LT_EOF >> "$cfgfile"
15382
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15383
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15384
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15385
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15387
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15388
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15390
# Written by Gordon Matzigkeit, 1996
15392
# This file is part of GNU Libtool.
15394
# GNU Libtool is free software; you can redistribute it and/or
15395
# modify it under the terms of the GNU General Public License as
15396
# published by the Free Software Foundation; either version 2 of
15397
# the License, or (at your option) any later version.
15399
# As a special exception to the GNU General Public License,
15400
# if you distribute this file as part of a program or library that
15401
# is built using GNU Libtool, you may include this file under the
15402
# same distribution terms that you use for the rest of that program.
15404
# GNU Libtool is distributed in the hope that it will be useful,
15405
# but WITHOUT ANY WARRANTY; without even the implied warranty of
15406
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15407
# GNU General Public License for more details.
15409
# You should have received a copy of the GNU General Public License
15410
# along with GNU Libtool; see the file COPYING. If not, a copy
15411
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15412
# obtained by writing to the Free Software Foundation, Inc.,
15413
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15416
# The names of the tagged configurations supported by this script.
15419
# ### BEGIN LIBTOOL CONFIG
15421
# Which release of libtool.m4 was used?
15422
macro_version=$macro_version
15423
macro_revision=$macro_revision
15425
# Whether or not to build shared libraries.
15426
build_libtool_libs=$enable_shared
15428
# Whether or not to build static libraries.
15429
build_old_libs=$enable_static
15431
# What type of objects to build.
15434
# Whether or not to optimize for fast installation.
15435
fast_install=$enable_fast_install
15437
# Shell to use when invoking shell scripts.
15440
# An echo program that protects backslashes.
15443
# The PATH separator for the build system.
15444
PATH_SEPARATOR=$lt_PATH_SEPARATOR
15447
host_alias=$host_alias
15451
# The build system.
15452
build_alias=$build_alias
15456
# A sed program that does not truncate output.
15459
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15460
Xsed="\$SED -e 1s/^X//"
15462
# A grep program that handles long lines.
15468
# A literal string matcher.
15471
# A BSD- or MS-compatible name lister.
15474
# Whether we need soft or hard links.
15477
# What is the maximum length of a command?
15478
max_cmd_len=$max_cmd_len
15480
# Object file suffix (normally "o").
15483
# Executable file suffix (normally "").
15486
# whether the shell understands "unset".
15489
# turn spaces into newlines.
15492
# turn newlines into spaces.
15495
# convert \$build file names to \$host format.
15496
to_host_file_cmd=$lt_cv_to_host_file_cmd
15498
# convert \$build files to toolchain format.
15499
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15501
# An object symbol dumper.
15502
OBJDUMP=$lt_OBJDUMP
15504
# Method to check whether dependent libraries are shared objects.
15505
deplibs_check_method=$lt_deplibs_check_method
15507
# Command to use when deplibs_check_method = "file_magic".
15508
file_magic_cmd=$lt_file_magic_cmd
15510
# How to find potential files when deplibs_check_method = "file_magic".
15511
file_magic_glob=$lt_file_magic_glob
15513
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15514
want_nocaseglob=$lt_want_nocaseglob
15516
# DLL creation program.
15517
DLLTOOL=$lt_DLLTOOL
15519
# Command to associate shared and link libraries.
15520
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15525
# Flags to create an archive.
15526
AR_FLAGS=$lt_AR_FLAGS
15528
# How to feed a file listing to the archiver.
15529
archiver_list_spec=$lt_archiver_list_spec
15531
# A symbol stripping program.
15534
# Commands used to install an old-style archive.
15536
old_postinstall_cmds=$lt_old_postinstall_cmds
15537
old_postuninstall_cmds=$lt_old_postuninstall_cmds
15539
# Whether to use a lock for old archive extraction.
15540
lock_old_archive_extraction=$lock_old_archive_extraction
15545
# LTCC compiler flags.
15546
LTCFLAGS=$lt_CFLAGS
15548
# Take the output of nm and produce a listing of raw symbols and C names.
15549
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15551
# Transform the output of nm in a proper C declaration.
15552
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15554
# Transform the output of nm in a C name address pair.
15555
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15557
# Transform the output of nm in a C name address pair when lib prefix is needed.
15558
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15560
# Specify filename containing input files for \$NM.
15561
nm_file_list_spec=$lt_nm_file_list_spec
15563
# The root where to search for dependent libraries,and in which our libraries should be installed.
15564
lt_sysroot=$lt_sysroot
15566
# The name of the directory that contains temporary libtool files.
15569
# Used to examine libraries when file_magic_cmd begins with "file".
15570
MAGIC_CMD=$MAGIC_CMD
15572
# Must we lock files when doing compilation?
15573
need_locks=$lt_need_locks
15576
MANIFEST_TOOL=$lt_MANIFEST_TOOL
15578
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15579
DSYMUTIL=$lt_DSYMUTIL
15581
# Tool to change global to local symbols on Mac OS X.
15584
# Tool to manipulate fat objects and archives on Mac OS X.
15587
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15590
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15591
OTOOL64=$lt_OTOOL64
15593
# Old archive suffix (normally "a").
15596
# Shared library suffix (normally ".so").
15597
shrext_cmds=$lt_shrext_cmds
15599
# The commands to extract the exported symbol list from a shared archive.
15600
extract_expsyms_cmds=$lt_extract_expsyms_cmds
15602
# Variables whose values should be saved in libtool wrapper scripts and
15603
# restored at link time.
15604
variables_saved_for_relink=$lt_variables_saved_for_relink
15606
# Do we need the "lib" prefix for modules?
15607
need_lib_prefix=$need_lib_prefix
15609
# Do we need a version for libraries?
15610
need_version=$need_version
15612
# Library versioning type.
15613
version_type=$version_type
15615
# Shared library runtime path variable.
15616
runpath_var=$runpath_var
15618
# Shared library path variable.
15619
shlibpath_var=$shlibpath_var
15621
# Is shlibpath searched before the hard-coded library search path?
15622
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15624
# Format of library name prefix.
15625
libname_spec=$lt_libname_spec
15627
# List of archive names. First name is the real one, the rest are links.
15628
# The last name is the one that the linker finds with -lNAME
15629
library_names_spec=$lt_library_names_spec
15631
# The coded name of the library, if different from the real name.
15632
soname_spec=$lt_soname_spec
15634
# Permission mode override for installation of shared libraries.
15635
install_override_mode=$lt_install_override_mode
15637
# Command to use after installation of a shared archive.
15638
postinstall_cmds=$lt_postinstall_cmds
15640
# Command to use after uninstallation of a shared archive.
15641
postuninstall_cmds=$lt_postuninstall_cmds
15643
# Commands used to finish a libtool library installation in a directory.
15644
finish_cmds=$lt_finish_cmds
15646
# As "finish_cmds", except a single script fragment to be evaled but
15648
finish_eval=$lt_finish_eval
15650
# Whether we should hardcode library paths into libraries.
15651
hardcode_into_libs=$hardcode_into_libs
15653
# Compile-time system search path for libraries.
15654
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15656
# Run-time system search path for libraries.
15657
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15659
# Whether dlopen is supported.
15660
dlopen_support=$enable_dlopen
15662
# Whether dlopen of programs is supported.
15663
dlopen_self=$enable_dlopen_self
15665
# Whether dlopen of statically linked programs is supported.
15666
dlopen_self_static=$enable_dlopen_self_static
15668
# Commands to strip libraries.
15669
old_striplib=$lt_old_striplib
15670
striplib=$lt_striplib
15673
# The linker used to build libraries.
15676
# How to create reloadable object files.
15677
reload_flag=$lt_reload_flag
15678
reload_cmds=$lt_reload_cmds
15680
# Commands used to build an old-style archive.
15681
old_archive_cmds=$lt_old_archive_cmds
15683
# A language specific compiler.
15686
# Is the compiler the GNU compiler?
15689
# Compiler flag to turn off builtin functions.
15690
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15692
# Additional compiler flags for building library objects.
15693
pic_flag=$lt_lt_prog_compiler_pic
15695
# How to pass a linker flag through the compiler.
15696
wl=$lt_lt_prog_compiler_wl
15698
# Compiler flag to prevent dynamic linking.
15699
link_static_flag=$lt_lt_prog_compiler_static
15701
# Does compiler simultaneously support -c and -o options?
15702
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15704
# Whether or not to add -lc for building shared libraries.
15705
build_libtool_need_lc=$archive_cmds_need_lc
15707
# Whether or not to disallow shared libs when runtime libs are static.
15708
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15710
# Compiler flag to allow reflexive dlopens.
15711
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15713
# Compiler flag to generate shared objects directly from archives.
15714
whole_archive_flag_spec=$lt_whole_archive_flag_spec
15716
# Whether the compiler copes with passing no objects directly.
15717
compiler_needs_object=$lt_compiler_needs_object
15719
# Create an old-style archive from a shared archive.
15720
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15722
# Create a temporary old-style archive to link instead of a shared archive.
15723
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15725
# Commands used to build a shared archive.
15726
archive_cmds=$lt_archive_cmds
15727
archive_expsym_cmds=$lt_archive_expsym_cmds
15729
# Commands used to build a loadable module if different from building
15730
# a shared archive.
15731
module_cmds=$lt_module_cmds
15732
module_expsym_cmds=$lt_module_expsym_cmds
15734
# Whether we are building with GNU ld or not.
15735
with_gnu_ld=$lt_with_gnu_ld
15737
# Flag that allows shared libraries with undefined symbols to be built.
15738
allow_undefined_flag=$lt_allow_undefined_flag
15740
# Flag that enforces no undefined symbols.
15741
no_undefined_flag=$lt_no_undefined_flag
15743
# Flag to hardcode \$libdir into a binary during linking.
15744
# This must work even if \$libdir does not exist
15745
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15747
# Whether we need a single "-rpath" flag with a separated argument.
15748
hardcode_libdir_separator=$lt_hardcode_libdir_separator
15750
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15751
# DIR into the resulting binary.
15752
hardcode_direct=$hardcode_direct
15754
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15755
# DIR into the resulting binary and the resulting library dependency is
15756
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15757
# library is relocated.
15758
hardcode_direct_absolute=$hardcode_direct_absolute
15760
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15761
# into the resulting binary.
15762
hardcode_minus_L=$hardcode_minus_L
15764
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15765
# into the resulting binary.
15766
hardcode_shlibpath_var=$hardcode_shlibpath_var
15768
# Set to "yes" if building a shared library automatically hardcodes DIR
15769
# into the library and all subsequent libraries and executables linked
15771
hardcode_automatic=$hardcode_automatic
15773
# Set to yes if linker adds runtime paths of dependent libraries
15774
# to runtime path list.
15775
inherit_rpath=$inherit_rpath
15777
# Whether libtool must link a program against all its dependency libraries.
15778
link_all_deplibs=$link_all_deplibs
15780
# Set to "yes" if exported symbols are required.
15781
always_export_symbols=$always_export_symbols
15783
# The commands to list exported symbols.
15784
export_symbols_cmds=$lt_export_symbols_cmds
15786
# Symbols that should not be listed in the preloaded symbols.
15787
exclude_expsyms=$lt_exclude_expsyms
15789
# Symbols that must always be exported.
15790
include_expsyms=$lt_include_expsyms
15792
# Commands necessary for linking programs (against libraries) with templates.
15793
prelink_cmds=$lt_prelink_cmds
15795
# Commands necessary for finishing linking programs.
15796
postlink_cmds=$lt_postlink_cmds
15798
# Specify filename containing input files.
15799
file_list_spec=$lt_file_list_spec
15801
# How to hardcode a shared library path into an executable.
15802
hardcode_action=$hardcode_action
15804
# ### END LIBTOOL CONFIG
15810
cat <<\_LT_EOF >> "$cfgfile"
15811
# AIX sometimes has problems with the GCC collect2 program. For some
15812
# reason, if we set the COLLECT_NAMES environment variable, the problems
15813
# vanish in a puff of smoke.
15814
if test "X${COLLECT_NAMES+set}" != Xset; then
15816
export COLLECT_NAMES
15823
ltmain="$ac_aux_dir/ltmain.sh"
15826
# We use sed instead of cat because bash on DJGPP gets confused if
15827
# if finds mixed CR/LF and LF-only lines. Since sed operates in
15828
# text mode, it properly converts lines to CR/LF. This bash problem
15829
# is reportedly fixed, but why not run on old versions too?
15830
sed '$q' "$ltmain" >> "$cfgfile" \
15831
|| (rm -f "$cfgfile"; exit 1)
15833
if test x"$xsi_shell" = xyes; then
15834
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15838
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15839
\ * ) func_dirname_result="${3}" ;;\
15841
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15842
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15843
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15844
test 0 -eq $? || _lt_function_replace_fail=:
15847
sed -e '/^func_basename ()$/,/^} # func_basename /c\
15850
\ func_basename_result="${1##*/}"\
15851
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15852
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15853
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15854
test 0 -eq $? || _lt_function_replace_fail=:
15857
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15858
func_dirname_and_basename ()\
15861
\ */*) func_dirname_result="${1%/*}${2}" ;;\
15862
\ * ) func_dirname_result="${3}" ;;\
15864
\ func_basename_result="${1##*/}"\
15865
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15866
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15867
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15868
test 0 -eq $? || _lt_function_replace_fail=:
15871
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15874
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15875
\ # positional parameters, so assign one to ordinary parameter first.\
15876
\ func_stripname_result=${3}\
15877
\ func_stripname_result=${func_stripname_result#"${1}"}\
15878
\ func_stripname_result=${func_stripname_result%"${2}"}\
15879
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15880
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15881
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15882
test 0 -eq $? || _lt_function_replace_fail=:
15885
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15886
func_split_long_opt ()\
15888
\ func_split_long_opt_name=${1%%=*}\
15889
\ func_split_long_opt_arg=${1#*=}\
15890
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15891
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15892
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15893
test 0 -eq $? || _lt_function_replace_fail=:
15896
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15897
func_split_short_opt ()\
15899
\ func_split_short_opt_arg=${1#??}\
15900
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15901
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15902
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15903
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15904
test 0 -eq $? || _lt_function_replace_fail=:
15907
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15911
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15912
\ *) func_lo2o_result=${1} ;;\
15914
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15915
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15916
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15917
test 0 -eq $? || _lt_function_replace_fail=:
15920
sed -e '/^func_xform ()$/,/^} # func_xform /c\
15923
func_xform_result=${1%.*}.lo\
15924
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15925
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15926
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15927
test 0 -eq $? || _lt_function_replace_fail=:
15930
sed -e '/^func_arith ()$/,/^} # func_arith /c\
15933
func_arith_result=$(( $* ))\
15934
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15935
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15936
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15937
test 0 -eq $? || _lt_function_replace_fail=:
15940
sed -e '/^func_len ()$/,/^} # func_len /c\
15943
func_len_result=${#1}\
15944
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15945
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15946
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15947
test 0 -eq $? || _lt_function_replace_fail=:
15951
if test x"$lt_shell_append" = xyes; then
15952
sed -e '/^func_append ()$/,/^} # func_append /c\
15955
eval "${1}+=\\${2}"\
15956
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15957
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15958
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15959
test 0 -eq $? || _lt_function_replace_fail=:
15962
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15963
func_append_quoted ()\
15965
\ func_quote_for_eval "${2}"\
15966
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15967
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15968
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15969
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15970
test 0 -eq $? || _lt_function_replace_fail=:
15973
# Save a `func_append' function call where possible by direct use of '+='
15974
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15975
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15976
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15977
test 0 -eq $? || _lt_function_replace_fail=:
15979
# Save a `func_append' function call even when '+=' is not available
15980
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15981
&& mv -f "$cfgfile.tmp" "$cfgfile" \
15982
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15983
test 0 -eq $? || _lt_function_replace_fail=:
15986
if test x"$_lt_function_replace_fail" = x":"; then
15987
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15988
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15992
mv -f "$cfgfile" "$ofile" ||
15993
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15997
"default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15998
sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
16001
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
16002
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
16004
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
16009
'"s|^| $ac_top_srcdir/|" \
16010
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
16012
sed '/^POTFILES =/,/[^\\]$/ {
16016
' "po/Makefile.in" >"po/Makefile"
16017
rm -f "po/Makefile.tmp"
16018
mv "po/stamp-it.tmp" "po/stamp-it"
16027
ac_clean_files=$ac_clean_files_save
16029
test $ac_write_fail = 0 ||
16030
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16033
# configure is writing to config.log, and then calls config.status.
16034
# config.status does its own redirection, appending to config.log.
16035
# Unfortunately, on DOS this fails, as config.log is still kept open
16036
# by configure, so config.status won't be able to write to it; its
16037
# output is simply discarded. So we exec the FD to /dev/null,
16038
# effectively closing config.log, so it can be properly (re)opened and
16039
# appended to by config.status. When coming back to configure, we
16040
# need to make the FD available again.
16041
if test "$no_create" != yes; then
16043
ac_config_status_args=
16044
test "$silent" = yes &&
16045
ac_config_status_args="$ac_config_status_args --quiet"
16047
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16049
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
16050
# would make configure fail if this is the last instruction.
16051
$ac_cs_success || as_fn_exit 1
16053
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16054
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16055
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16059
#####################################################
16060
# Output the results
16061
#####################################################
16062
{ $as_echo "$as_me:${as_lineno-$LINENO}:
16064
Unity China Music Scope Daemon $VERSION
16065
-------------------------------
16069
Local install : ${with_localinstall}
16071
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
16072
Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
16074
Scopes Directory: ${SCOPESDIR}
16078
Unity China Music Scope Daemon $VERSION
16079
-------------------------------
16083
Local install : ${with_localinstall}
16085
Extra CFlags : ${CPPFLAGS} $MAINTAINER_CFLAGS
16086
Extra ValaFlags : ${CPPFLAGS} $MAINTAINER_VALAFLAGS
16088
Scopes Directory: ${SCOPESDIR}