2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for indicator-appmenu 12.10.3.
5
# Report bugs to <http://bugs.launchpad.net/indicator-appmenu>.
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 2010 Canonical
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
# Use a proper internal environment variable to ensure we don't fall
140
# into an infinite loop, continuously re-executing ourselves.
141
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
142
_as_can_reexec=no; export _as_can_reexec;
143
# We cannot yet assume a decent shell, so we have to provide a
144
# neutralization value for shells without unset; and this also
145
# works around shells that cannot unset nonexistent variables.
146
# Preserve -v and -x to the replacement shell.
149
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
151
*v*x* | *x*v* ) as_opts=-vx ;;
156
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
157
# Admittedly, this is quite paranoid, since all the known shells bail
158
# out after a failed `exec'.
159
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
162
# We don't want this to propagate to other subprocesses.
163
{ _as_can_reexec=; unset _as_can_reexec;}
164
if test "x$CONFIG_SHELL" = x; then
165
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
168
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
169
# is contrary to our usage. Disable this feature.
170
alias -g '\${1+\"\$@\"}'='\"\$@\"'
173
case \`(set -o) 2>/dev/null\` in #(
181
as_required="as_fn_return () { (exit \$1); }
182
as_fn_success () { as_fn_return 0; }
183
as_fn_failure () { as_fn_return 1; }
184
as_fn_ret_success () { return 0; }
185
as_fn_ret_failure () { return 1; }
188
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
189
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
190
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
191
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
192
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
195
exitcode=1; echo positional parameters were not saved.
197
test x\$exitcode = x0 || exit 1
199
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
200
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
201
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
202
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
204
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
205
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
206
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
208
PATH=/empty FPATH=/empty; export PATH FPATH
209
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
210
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
211
test \$(( 1 + 1 )) = 2 || exit 1"
212
if (eval "$as_required") 2>/dev/null; then :
217
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
220
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
test -z "$as_dir" && as_dir=.
229
for as_base in sh bash ksh sh5; do
230
# Try only shells that exist, to save several forks.
231
as_shell=$as_dir/$as_base
232
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
233
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
234
CONFIG_SHELL=$as_shell as_have_required=yes
235
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
243
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
244
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
245
CONFIG_SHELL=$SHELL as_have_required=yes
250
if test "x$CONFIG_SHELL" != x; then :
252
# We cannot yet assume a decent shell, so we have to provide a
253
# neutralization value for shells without unset; and this also
254
# works around shells that cannot unset nonexistent variables.
255
# Preserve -v and -x to the replacement shell.
258
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
260
*v*x* | *x*v* ) as_opts=-vx ;;
265
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
266
# Admittedly, this is quite paranoid, since all the known shells bail
267
# out after a failed `exec'.
268
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
272
if test x$as_have_required = xno; then :
273
$as_echo "$0: This script requires a shell more modern than all"
274
$as_echo "$0: the shells that I found on your system."
275
if test x${ZSH_VERSION+set} = xset ; then
276
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
277
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
279
$as_echo "$0: Please tell bug-autoconf@gnu.org and
280
$0: http://bugs.launchpad.net/indicator-appmenu about your
281
$0: system, including any error possibly output before this
282
$0: message. Then install a modern shell, or manually run
283
$0: the script under such a shell if you do have one."
289
SHELL=${CONFIG_SHELL-/bin/sh}
291
# Unset more variables known to interfere with behavior of common tools.
292
CLICOLOR_FORCE= GREP_OPTIONS=
293
unset CLICOLOR_FORCE GREP_OPTIONS
295
## --------------------- ##
296
## M4sh Shell Functions. ##
297
## --------------------- ##
300
# Portably unset VAR.
303
{ eval $1=; unset $1;}
307
# as_fn_set_status STATUS
308
# -----------------------
309
# Set $? to STATUS, without forking.
317
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
327
# Create "$as_dir" as a directory, including parents if necessary.
332
-*) as_dir=./$as_dir;;
334
test -d "$as_dir" || eval $as_mkdir_p || {
338
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
341
as_dirs="'$as_qdir' $as_dirs"
342
as_dir=`$as_dirname -- "$as_dir" ||
343
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344
X"$as_dir" : 'X\(//\)[^/]' \| \
345
X"$as_dir" : 'X\(//\)$' \| \
346
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347
$as_echo X"$as_dir" |
348
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
365
test -d "$as_dir" && break
367
test -z "$as_dirs" || eval "mkdir $as_dirs"
368
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
373
# as_fn_executable_p FILE
374
# -----------------------
375
# Test if FILE is an executable regular file.
376
as_fn_executable_p ()
378
test -f "$1" && test -x "$1"
379
} # as_fn_executable_p
380
# as_fn_append VAR VALUE
381
# ----------------------
382
# Append the text in VALUE to the end of the definition contained in VAR. Take
383
# advantage of any shell optimizations that allow amortized linear growth over
384
# repeated appends, instead of the typical quadratic growth present in naive
386
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
387
eval 'as_fn_append ()
400
# Perform arithmetic evaluation on the ARGs, and store the result in the
401
# global $as_val. Take advantage of shells that can avoid forks. The arguments
402
# must be portable across $(()) and expr.
403
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
411
as_val=`expr "$@" || test $? -eq 1`
416
# as_fn_error STATUS ERROR [LINENO LOG_FD]
417
# ----------------------------------------
418
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420
# script with STATUS, using 1 if that was 0.
423
as_status=$1; test $as_status -eq 0 && as_status=1
425
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428
$as_echo "$as_me: error: $2" >&2
429
as_fn_exit $as_status
432
if expr a : '\(a\)' >/dev/null 2>&1 &&
433
test "X`expr 00001 : '.*\(...\)'`" = X001; then
439
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
445
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
451
as_me=`$as_basename -- "$0" ||
452
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453
X"$0" : 'X\(//\)$' \| \
454
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
456
sed '/^.*\/\([^/][^/]*\)\/*$/{
470
# Avoid depending upon Character Ranges.
471
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474
as_cr_digits='0123456789'
475
as_cr_alnum=$as_cr_Letters$as_cr_digits
478
as_lineno_1=$LINENO as_lineno_1a=$LINENO
479
as_lineno_2=$LINENO as_lineno_2a=$LINENO
480
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
494
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
498
chmod +x "$as_me.lineno" ||
499
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
501
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
502
# already done that, so ensure we don't try to do so again and fall
503
# in an infinite loop. This has already happened in practice.
504
_as_can_reexec=no; export _as_can_reexec
505
# Don't try to exec as it changes $[0], causing all sort of problems
506
# (the dirname of $[0] is not the place where we might find the
507
# original and so on. Autoconf is especially sensitive to this).
509
# Exit status is that of the last command.
513
ECHO_C= ECHO_N= ECHO_T=
514
case `echo -n x` in #(((((
516
case `echo 'xy\c'` in
517
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
519
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
526
rm -f conf$$ conf$$.exe conf$$.file
527
if test -d conf$$.dir; then
528
rm -f conf$$.dir/conf$$.file
531
mkdir conf$$.dir 2>/dev/null
533
if (echo >conf$$.file) 2>/dev/null; then
534
if ln -s conf$$.file conf$$ 2>/dev/null; then
536
# ... but there are two gotchas:
537
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
538
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
539
# In both cases, we have to default to `cp -pR'.
540
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
542
elif ln conf$$.file conf$$ 2>/dev/null; then
550
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
551
rmdir conf$$.dir 2>/dev/null
553
if mkdir -p . 2>/dev/null; then
554
as_mkdir_p='mkdir -p "$as_dir"'
556
test -d ./-p && rmdir ./-p
561
as_executable_p=as_fn_executable_p
563
# Sed expression to map a string onto a valid CPP name.
564
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
566
# Sed expression to map a string onto a valid variable name.
567
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
570
# Use only awk features that work with 7th edition Unix awk (1978).
571
# My, what an old awk you have, Mr. Solaris!
573
while (length(v1) && length(v2)) {
574
# Set d1 to be the next thing to compare from v1, and likewise for d2.
575
# Normally this is a single character, but if v1 and v2 contain digits,
576
# compare them as integers and fractions as strverscmp does.
577
if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
578
# Split v1 and v2 into their leading digit string components d1 and d2,
579
# and advance v1 and v2 past the leading digit strings.
580
for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
581
for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
582
d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
583
d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
586
# Compare two fractions.
587
while (d1 ~ /^0/ && d2 ~ /^0/) {
588
d1 = substr(d1, 2); len1--
589
d2 = substr(d2, 2); len2--
591
if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
592
# The two components differ in length, and the common prefix
593
# contains only leading zeros. Consider the longer to be less.
597
# Otherwise, compare as strings.
602
# A fraction is less than an integer.
607
# An integer is greater than a fraction.
610
# Compare two integers.
616
# The normal case, without worrying about digits.
617
d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
618
d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
623
# Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
624
# which mishandles some comparisons of empty strings to integers.
625
if (length(v2)) exit 1
626
if (length(v1)) exit 2
629
SHELL=${CONFIG_SHELL-/bin/sh}
632
test -n "$DJDIR" || exec 7<&0 </dev/null
636
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
637
# so uname gets run too.
638
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
643
ac_default_prefix=/usr/local
645
ac_config_libobj_dir=.
652
# Identity of this package.
653
PACKAGE_NAME='indicator-appmenu'
654
PACKAGE_TARNAME='indicator-appmenu'
655
PACKAGE_VERSION='12.10.3'
656
PACKAGE_STRING='indicator-appmenu 12.10.3'
657
PACKAGE_BUGREPORT='http://bugs.launchpad.net/indicator-appmenu'
658
PACKAGE_URL='http://launchpad.net/indicator-appmenu'
660
ac_unique_file="configure.ac"
661
# Factoring default headers for most tests.
662
ac_includes_default="\
664
#ifdef HAVE_SYS_TYPES_H
665
# include <sys/types.h>
667
#ifdef HAVE_SYS_STAT_H
668
# include <sys/stat.h>
674
# ifdef HAVE_STDLIB_H
679
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
684
#ifdef HAVE_STRINGS_H
685
# include <strings.h>
687
#ifdef HAVE_INTTYPES_H
688
# include <inttypes.h>
698
ac_subst_vars='am__EXEEXT_FALSE
711
XGETTEXT_EXTRA_OPTIONS
715
GETTEXT_MACRO_VERSION
724
INTLTOOL_SERVICE_RULE
726
INTLTOOL_SCHEMAS_RULE
728
INTLTOOL_XML_NOMERGE_RULE
733
INTLTOOL_SOUNDLIST_RULE
740
INTLTOOL_DIRECTORY_RULE
741
INTLTOOL_DESKTOP_RULE
742
intltool__v_merge_options_0
743
intltool__v_merge_options_
744
INTLTOOL_V_MERGE_OPTIONS
784
GSETTINGS_DISABLE_SCHEMAS_COMPILE
785
GTK_DOC_USE_REBASE_FALSE
786
GTK_DOC_USE_REBASE_TRUE
787
GTK_DOC_USE_LIBTOOL_FALSE
788
GTK_DOC_USE_LIBTOOL_TRUE
789
GTK_DOC_BUILD_PDF_FALSE
790
GTK_DOC_BUILD_PDF_TRUE
791
GTK_DOC_BUILD_HTML_FALSE
792
GTK_DOC_BUILD_HTML_TRUE
859
MAINTAINER_MODE_FALSE
869
INSTALL_STRIP_PROGRAM
911
program_transform_name
924
enable_option_checking
925
enable_maintainer_mode
927
enable_dependency_tracking
940
enable_schemas_compile
949
ac_precious_vars='build_alias
973
# Initialize some variables set by options.
975
ac_init_version=false
976
ac_unrecognized_opts=
978
# The variables have the same names as the options, with
979
# dashes changed to underlines.
987
program_transform_name=s,x,x,
995
# Installation directory options.
996
# These are left unexpanded so users can "make install exec_prefix=/foo"
997
# and all the variables that are supposed to be based on exec_prefix
998
# by default will actually change.
999
# Use braces instead of parens because sh, perl, etc. also accept them.
1000
# (The list follows the same order as the GNU Coding Standards.)
1001
bindir='${exec_prefix}/bin'
1002
sbindir='${exec_prefix}/sbin'
1003
libexecdir='${exec_prefix}/libexec'
1004
datarootdir='${prefix}/share'
1005
datadir='${datarootdir}'
1006
sysconfdir='${prefix}/etc'
1007
sharedstatedir='${prefix}/com'
1008
localstatedir='${prefix}/var'
1009
includedir='${prefix}/include'
1010
oldincludedir='/usr/include'
1011
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1012
infodir='${datarootdir}/info'
1017
libdir='${exec_prefix}/lib'
1018
localedir='${datarootdir}/locale'
1019
mandir='${datarootdir}/man'
1025
# If the previous option needs an argument, assign it.
1026
if test -n "$ac_prev"; then
1027
eval $ac_prev=\$ac_option
1033
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1038
# Accept the important Cygnus configure options, so we can diagnose typos.
1040
case $ac_dashdash$ac_option in
1044
-bindir | --bindir | --bindi | --bind | --bin | --bi)
1046
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1047
bindir=$ac_optarg ;;
1049
-build | --build | --buil | --bui | --bu)
1050
ac_prev=build_alias ;;
1051
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
1052
build_alias=$ac_optarg ;;
1054
-cache-file | --cache-file | --cache-fil | --cache-fi \
1055
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1056
ac_prev=cache_file ;;
1057
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1058
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1059
cache_file=$ac_optarg ;;
1061
--config-cache | -C)
1062
cache_file=config.cache ;;
1064
-datadir | --datadir | --datadi | --datad)
1066
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1067
datadir=$ac_optarg ;;
1069
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1070
| --dataroo | --dataro | --datar)
1071
ac_prev=datarootdir ;;
1072
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1073
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1074
datarootdir=$ac_optarg ;;
1076
-disable-* | --disable-*)
1077
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1078
# Reject names that are not valid shell variable names.
1079
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1080
as_fn_error $? "invalid feature name: $ac_useropt"
1081
ac_useropt_orig=$ac_useropt
1082
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1083
case $ac_user_opts in
1085
"enable_$ac_useropt"
1087
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1088
ac_unrecognized_sep=', ';;
1090
eval enable_$ac_useropt=no ;;
1092
-docdir | --docdir | --docdi | --doc | --do)
1094
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1095
docdir=$ac_optarg ;;
1097
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1099
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1100
dvidir=$ac_optarg ;;
1102
-enable-* | --enable-*)
1103
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1104
# Reject names that are not valid shell variable names.
1105
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1106
as_fn_error $? "invalid feature name: $ac_useropt"
1107
ac_useropt_orig=$ac_useropt
1108
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1109
case $ac_user_opts in
1111
"enable_$ac_useropt"
1113
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1114
ac_unrecognized_sep=', ';;
1116
eval enable_$ac_useropt=\$ac_optarg ;;
1118
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1119
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1120
| --exec | --exe | --ex)
1121
ac_prev=exec_prefix ;;
1122
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1123
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1124
| --exec=* | --exe=* | --ex=*)
1125
exec_prefix=$ac_optarg ;;
1127
-gas | --gas | --ga | --g)
1128
# Obsolete; use --with-gas.
1131
-help | --help | --hel | --he | -h)
1132
ac_init_help=long ;;
1133
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1134
ac_init_help=recursive ;;
1135
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1136
ac_init_help=short ;;
1138
-host | --host | --hos | --ho)
1139
ac_prev=host_alias ;;
1140
-host=* | --host=* | --hos=* | --ho=*)
1141
host_alias=$ac_optarg ;;
1143
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1145
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1147
htmldir=$ac_optarg ;;
1149
-includedir | --includedir | --includedi | --included | --include \
1150
| --includ | --inclu | --incl | --inc)
1151
ac_prev=includedir ;;
1152
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1153
| --includ=* | --inclu=* | --incl=* | --inc=*)
1154
includedir=$ac_optarg ;;
1156
-infodir | --infodir | --infodi | --infod | --info | --inf)
1158
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1159
infodir=$ac_optarg ;;
1161
-libdir | --libdir | --libdi | --libd)
1163
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1164
libdir=$ac_optarg ;;
1166
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1167
| --libexe | --libex | --libe)
1168
ac_prev=libexecdir ;;
1169
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1170
| --libexe=* | --libex=* | --libe=*)
1171
libexecdir=$ac_optarg ;;
1173
-localedir | --localedir | --localedi | --localed | --locale)
1174
ac_prev=localedir ;;
1175
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1176
localedir=$ac_optarg ;;
1178
-localstatedir | --localstatedir | --localstatedi | --localstated \
1179
| --localstate | --localstat | --localsta | --localst | --locals)
1180
ac_prev=localstatedir ;;
1181
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1182
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1183
localstatedir=$ac_optarg ;;
1185
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1187
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1188
mandir=$ac_optarg ;;
1190
-nfp | --nfp | --nf)
1191
# Obsolete; use --without-fp.
1194
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1195
| --no-cr | --no-c | -n)
1198
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1199
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1202
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1203
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1204
| --oldin | --oldi | --old | --ol | --o)
1205
ac_prev=oldincludedir ;;
1206
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1207
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1208
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1209
oldincludedir=$ac_optarg ;;
1211
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1213
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1214
prefix=$ac_optarg ;;
1216
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1217
| --program-pre | --program-pr | --program-p)
1218
ac_prev=program_prefix ;;
1219
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1220
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1221
program_prefix=$ac_optarg ;;
1223
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1224
| --program-suf | --program-su | --program-s)
1225
ac_prev=program_suffix ;;
1226
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1227
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1228
program_suffix=$ac_optarg ;;
1230
-program-transform-name | --program-transform-name \
1231
| --program-transform-nam | --program-transform-na \
1232
| --program-transform-n | --program-transform- \
1233
| --program-transform | --program-transfor \
1234
| --program-transfo | --program-transf \
1235
| --program-trans | --program-tran \
1236
| --progr-tra | --program-tr | --program-t)
1237
ac_prev=program_transform_name ;;
1238
-program-transform-name=* | --program-transform-name=* \
1239
| --program-transform-nam=* | --program-transform-na=* \
1240
| --program-transform-n=* | --program-transform-=* \
1241
| --program-transform=* | --program-transfor=* \
1242
| --program-transfo=* | --program-transf=* \
1243
| --program-trans=* | --program-tran=* \
1244
| --progr-tra=* | --program-tr=* | --program-t=*)
1245
program_transform_name=$ac_optarg ;;
1247
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1249
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1250
pdfdir=$ac_optarg ;;
1252
-psdir | --psdir | --psdi | --psd | --ps)
1254
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1257
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1258
| -silent | --silent | --silen | --sile | --sil)
1261
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1263
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1265
sbindir=$ac_optarg ;;
1267
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1268
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1269
| --sharedst | --shareds | --shared | --share | --shar \
1271
ac_prev=sharedstatedir ;;
1272
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1273
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1274
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1276
sharedstatedir=$ac_optarg ;;
1278
-site | --site | --sit)
1280
-site=* | --site=* | --sit=*)
1283
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1285
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1286
srcdir=$ac_optarg ;;
1288
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1289
| --syscon | --sysco | --sysc | --sys | --sy)
1290
ac_prev=sysconfdir ;;
1291
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1292
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1293
sysconfdir=$ac_optarg ;;
1295
-target | --target | --targe | --targ | --tar | --ta | --t)
1296
ac_prev=target_alias ;;
1297
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1298
target_alias=$ac_optarg ;;
1300
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1303
-version | --version | --versio | --versi | --vers | -V)
1304
ac_init_version=: ;;
1307
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1308
# Reject names that are not valid shell variable names.
1309
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1310
as_fn_error $? "invalid package name: $ac_useropt"
1311
ac_useropt_orig=$ac_useropt
1312
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1313
case $ac_user_opts in
1317
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1318
ac_unrecognized_sep=', ';;
1320
eval with_$ac_useropt=\$ac_optarg ;;
1322
-without-* | --without-*)
1323
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1324
# Reject names that are not valid shell variable names.
1325
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326
as_fn_error $? "invalid package name: $ac_useropt"
1327
ac_useropt_orig=$ac_useropt
1328
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329
case $ac_user_opts in
1333
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1334
ac_unrecognized_sep=', ';;
1336
eval with_$ac_useropt=no ;;
1339
# Obsolete; use --with-x.
1342
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1343
| --x-incl | --x-inc | --x-in | --x-i)
1344
ac_prev=x_includes ;;
1345
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1346
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1347
x_includes=$ac_optarg ;;
1349
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1350
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1351
ac_prev=x_libraries ;;
1352
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1353
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1354
x_libraries=$ac_optarg ;;
1356
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1357
Try \`$0 --help' for more information"
1361
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1362
# Reject names that are not valid shell variable names.
1363
case $ac_envvar in #(
1364
'' | [0-9]* | *[!_$as_cr_alnum]* )
1365
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1367
eval $ac_envvar=\$ac_optarg
1368
export $ac_envvar ;;
1371
# FIXME: should be removed in autoconf 3.0.
1372
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1373
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1375
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1381
if test -n "$ac_prev"; then
1382
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1383
as_fn_error $? "missing argument to $ac_option"
1386
if test -n "$ac_unrecognized_opts"; then
1387
case $enable_option_checking in
1389
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1390
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1394
# Check all directory arguments for consistency.
1395
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1396
datadir sysconfdir sharedstatedir localstatedir includedir \
1397
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1398
libdir localedir mandir
1400
eval ac_val=\$$ac_var
1401
# Remove trailing slashes.
1404
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1405
eval $ac_var=\$ac_val;;
1407
# Be sure to have absolute directory names.
1409
[\\/$]* | ?:[\\/]* ) continue;;
1410
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1412
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1415
# There might be people who depend on the old broken behavior: `$host'
1416
# used to hold the argument of --host etc.
1417
# FIXME: To remove some day.
1420
target=$target_alias
1422
# FIXME: To remove some day.
1423
if test "x$host_alias" != x; then
1424
if test "x$build_alias" = x; then
1425
cross_compiling=maybe
1426
elif test "x$build_alias" != "x$host_alias"; then
1432
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1434
test "$silent" = yes && exec 6>/dev/null
1437
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1438
ac_ls_di=`ls -di .` &&
1439
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1440
as_fn_error $? "working directory cannot be determined"
1441
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1442
as_fn_error $? "pwd does not report name of working directory"
1445
# Find the source files, if location was not specified.
1446
if test -z "$srcdir"; then
1447
ac_srcdir_defaulted=yes
1448
# Try the directory containing this script, then the parent directory.
1449
ac_confdir=`$as_dirname -- "$as_myself" ||
1450
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1451
X"$as_myself" : 'X\(//\)[^/]' \| \
1452
X"$as_myself" : 'X\(//\)$' \| \
1453
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1454
$as_echo X"$as_myself" |
1455
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1473
if test ! -r "$srcdir/$ac_unique_file"; then
1477
ac_srcdir_defaulted=no
1479
if test ! -r "$srcdir/$ac_unique_file"; then
1480
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1481
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1483
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1485
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1487
# When building in place, set srcdir=.
1488
if test "$ac_abs_confdir" = "$ac_pwd"; then
1491
# Remove unnecessary trailing slashes from srcdir.
1492
# Double slashes in file names in object file debugging info
1493
# mess up M-x gdb in Emacs.
1495
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1497
for ac_var in $ac_precious_vars; do
1498
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1499
eval ac_env_${ac_var}_value=\$${ac_var}
1500
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1501
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1505
# Report the --help message.
1507
if test "$ac_init_help" = "long"; then
1508
# Omit some internal or obsolete options to make the list less imposing.
1509
# This message is too long to be a string in the A/UX 3.1 sh.
1511
\`configure' configures indicator-appmenu 12.10.3 to adapt to many kinds of systems.
1513
Usage: $0 [OPTION]... [VAR=VALUE]...
1515
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1516
VAR=VALUE. See below for descriptions of some of the useful variables.
1518
Defaults for the options are specified in brackets.
1521
-h, --help display this help and exit
1522
--help=short display options specific to this package
1523
--help=recursive display the short help of all the included packages
1524
-V, --version display version information and exit
1525
-q, --quiet, --silent do not print \`checking ...' messages
1526
--cache-file=FILE cache test results in FILE [disabled]
1527
-C, --config-cache alias for \`--cache-file=config.cache'
1528
-n, --no-create do not create output files
1529
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1531
Installation directories:
1532
--prefix=PREFIX install architecture-independent files in PREFIX
1533
[$ac_default_prefix]
1534
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1537
By default, \`make install' will install all the files in
1538
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1539
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1540
for instance \`--prefix=\$HOME'.
1542
For better control, use the options below.
1544
Fine tuning of the installation directories:
1545
--bindir=DIR user executables [EPREFIX/bin]
1546
--sbindir=DIR system admin executables [EPREFIX/sbin]
1547
--libexecdir=DIR program executables [EPREFIX/libexec]
1548
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1549
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1550
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1551
--libdir=DIR object code libraries [EPREFIX/lib]
1552
--includedir=DIR C header files [PREFIX/include]
1553
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1554
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1555
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1556
--infodir=DIR info documentation [DATAROOTDIR/info]
1557
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1558
--mandir=DIR man documentation [DATAROOTDIR/man]
1559
--docdir=DIR documentation root
1560
[DATAROOTDIR/doc/indicator-appmenu]
1561
--htmldir=DIR html documentation [DOCDIR]
1562
--dvidir=DIR dvi documentation [DOCDIR]
1563
--pdfdir=DIR pdf documentation [DOCDIR]
1564
--psdir=DIR ps documentation [DOCDIR]
1570
--program-prefix=PREFIX prepend PREFIX to installed program names
1571
--program-suffix=SUFFIX append SUFFIX to installed program names
1572
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1575
--build=BUILD configure for building on BUILD [guessed]
1576
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1580
if test -n "$ac_init_help"; then
1581
case $ac_init_help in
1582
short | recursive ) echo "Configuration of indicator-appmenu 12.10.3:";;
1587
--disable-option-checking ignore unrecognized --enable/--with options
1588
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1589
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1590
--disable-maintainer-mode disable make rules and dependencies not useful
1591
(and sometimes confusing) to the casual installer
1592
--enable-silent-rules less verbose build output (undo: `make V=1')
1593
--disable-silent-rules verbose build output (undo: `make V=0')
1594
--disable-dependency-tracking speeds up one-time build
1595
--enable-dependency-tracking do not reject slow dependency extractors
1596
--enable-shared[=PKGS] build shared libraries [default=yes]
1597
--enable-static[=PKGS] build static libraries [default=yes]
1598
--enable-fast-install[=PKGS]
1599
optimize for fast installation [default=yes]
1600
--disable-libtool-lock avoid locking (might break parallel builds)
1601
--enable-deprecations allow deprecated API usage [default=yes]
1602
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1603
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1604
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1605
--disable-schemas-compile
1606
Disable regeneration of gschemas.compiled on install
1607
--disable-tests Disable test scripts and tools
1608
--enable-gcov enable coverage testing with gcov
1609
--enable-localinstall install all of the files localy instead of system
1610
directories (for distcheck)
1611
--disable-nls do not use Native Language Support
1612
--disable-rpath do not hardcode runtime library paths
1615
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1616
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1617
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1619
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1620
--with-sysroot=DIR Search for dependent libraries within DIR
1621
(or the compiler's sysroot if not specified).
1622
--with-html-dir=PATH path to installed docs
1623
--with-gnu-ld assume the C compiler uses GNU ld default=no
1624
--with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1625
--without-libiconv-prefix don't search for libiconv in includedir and libdir
1626
--with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
1627
--without-libintl-prefix don't search for libintl in includedir and libdir
1629
Some influential environment variables:
1630
CC C compiler command
1631
CFLAGS C compiler flags
1632
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1633
nonstandard directory <lib dir>
1634
LIBS libraries to pass to the linker, e.g. -l<library>
1635
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1636
you have headers in a nonstandard directory <include dir>
1638
PKG_CONFIG path to pkg-config utility
1640
directories to add to pkg-config's search path
1642
path overriding pkg-config's built-in search path
1644
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1646
linker flags for GTKDOC_DEPS, overriding pkg-config
1647
gtk_CFLAGS C compiler flags for gtk, overriding pkg-config
1648
gtk_LIBS linker flags for gtk, overriding pkg-config
1650
C compiler flags for INDICATOR, overriding pkg-config
1652
linker flags for INDICATOR, overriding pkg-config
1653
HUD_CFLAGS C compiler flags for HUD, overriding pkg-config
1654
HUD_LIBS linker flags for HUD, overriding pkg-config
1655
INDICATORTEST_CFLAGS
1656
C compiler flags for INDICATORTEST, overriding pkg-config
1658
linker flags for INDICATORTEST, overriding pkg-config
1660
Use these variables to override the choices made by `configure' or to help
1661
it to find libraries and programs with nonstandard names/locations.
1663
Report bugs to <http://bugs.launchpad.net/indicator-appmenu>.
1664
indicator-appmenu home page: <http://launchpad.net/indicator-appmenu>.
1669
if test "$ac_init_help" = "recursive"; then
1670
# If there are subdirs, report their specific --help.
1671
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1672
test -d "$ac_dir" ||
1673
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1678
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1680
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1681
# A ".." for each directory in $ac_dir_suffix.
1682
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1683
case $ac_top_builddir_sub in
1684
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1685
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1688
ac_abs_top_builddir=$ac_pwd
1689
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1690
# for backward compatibility:
1691
ac_top_builddir=$ac_top_build_prefix
1694
.) # We are building in place.
1696
ac_top_srcdir=$ac_top_builddir_sub
1697
ac_abs_top_srcdir=$ac_pwd ;;
1698
[\\/]* | ?:[\\/]* ) # Absolute name.
1699
ac_srcdir=$srcdir$ac_dir_suffix;
1700
ac_top_srcdir=$srcdir
1701
ac_abs_top_srcdir=$srcdir ;;
1703
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1704
ac_top_srcdir=$ac_top_build_prefix$srcdir
1705
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1707
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1709
cd "$ac_dir" || { ac_status=$?; continue; }
1710
# Check for guested configure.
1711
if test -f "$ac_srcdir/configure.gnu"; then
1713
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1714
elif test -f "$ac_srcdir/configure"; then
1716
$SHELL "$ac_srcdir/configure" --help=recursive
1718
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1720
cd "$ac_pwd" || { ac_status=$?; break; }
1724
test -n "$ac_init_help" && exit $ac_status
1725
if $ac_init_version; then
1727
indicator-appmenu configure 12.10.3
1728
generated by GNU Autoconf 2.69
1730
Copyright (C) 2012 Free Software Foundation, Inc.
1731
This configure script is free software; the Free Software Foundation
1732
gives unlimited permission to copy, distribute and modify it.
1734
Copyright 2010 Canonical
1739
## ------------------------ ##
1740
## Autoconf initialization. ##
1741
## ------------------------ ##
1743
# ac_fn_c_try_compile LINENO
1744
# --------------------------
1745
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1746
ac_fn_c_try_compile ()
1748
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749
rm -f conftest.$ac_objext
1750
if { { ac_try="$ac_compile"
1752
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753
*) ac_try_echo=$ac_try;;
1755
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756
$as_echo "$ac_try_echo"; } >&5
1757
(eval "$ac_compile") 2>conftest.err
1759
if test -s conftest.err; then
1760
grep -v '^ *+' conftest.err >conftest.er1
1761
cat conftest.er1 >&5
1762
mv -f conftest.er1 conftest.err
1764
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765
test $ac_status = 0; } && {
1766
test -z "$ac_c_werror_flag" ||
1767
test ! -s conftest.err
1768
} && test -s conftest.$ac_objext; then :
1771
$as_echo "$as_me: failed program was:" >&5
1772
sed 's/^/| /' conftest.$ac_ext >&5
1776
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1777
as_fn_set_status $ac_retval
1779
} # ac_fn_c_try_compile
1781
# ac_fn_c_try_link LINENO
1782
# -----------------------
1783
# Try to link conftest.$ac_ext, and return whether this succeeded.
1786
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787
rm -f conftest.$ac_objext conftest$ac_exeext
1788
if { { ac_try="$ac_link"
1790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791
*) ac_try_echo=$ac_try;;
1793
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794
$as_echo "$ac_try_echo"; } >&5
1795
(eval "$ac_link") 2>conftest.err
1797
if test -s conftest.err; then
1798
grep -v '^ *+' conftest.err >conftest.er1
1799
cat conftest.er1 >&5
1800
mv -f conftest.er1 conftest.err
1802
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803
test $ac_status = 0; } && {
1804
test -z "$ac_c_werror_flag" ||
1805
test ! -s conftest.err
1806
} && test -s conftest$ac_exeext && {
1807
test "$cross_compiling" = yes ||
1808
test -x conftest$ac_exeext
1812
$as_echo "$as_me: failed program was:" >&5
1813
sed 's/^/| /' conftest.$ac_ext >&5
1817
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1818
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1819
# interfere with the next link command; also delete a directory that is
1820
# left behind by Apple's compiler. We do this before executing the actions.
1821
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1822
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1823
as_fn_set_status $ac_retval
1825
} # ac_fn_c_try_link
1827
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1828
# -------------------------------------------------------
1829
# Tests whether HEADER exists and can be compiled using the include files in
1830
# INCLUDES, setting the cache variable VAR accordingly.
1831
ac_fn_c_check_header_compile ()
1833
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835
$as_echo_n "checking for $2... " >&6; }
1836
if eval \${$3+:} false; then :
1837
$as_echo_n "(cached) " >&6
1839
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1840
/* end confdefs.h. */
1844
if ac_fn_c_try_compile "$LINENO"; then :
1849
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853
$as_echo "$ac_res" >&6; }
1854
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1856
} # ac_fn_c_check_header_compile
1858
# ac_fn_c_try_cpp LINENO
1859
# ----------------------
1860
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1863
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864
if { { ac_try="$ac_cpp conftest.$ac_ext"
1866
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867
*) ac_try_echo=$ac_try;;
1869
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870
$as_echo "$ac_try_echo"; } >&5
1871
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1873
if test -s conftest.err; then
1874
grep -v '^ *+' conftest.err >conftest.er1
1875
cat conftest.er1 >&5
1876
mv -f conftest.er1 conftest.err
1878
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1879
test $ac_status = 0; } > conftest.i && {
1880
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1881
test ! -s conftest.err
1885
$as_echo "$as_me: failed program was:" >&5
1886
sed 's/^/| /' conftest.$ac_ext >&5
1890
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1891
as_fn_set_status $ac_retval
1895
# ac_fn_c_try_run LINENO
1896
# ----------------------
1897
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1898
# that executables *can* be run.
1901
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902
if { { ac_try="$ac_link"
1904
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1905
*) ac_try_echo=$ac_try;;
1907
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1908
$as_echo "$ac_try_echo"; } >&5
1909
(eval "$ac_link") 2>&5
1911
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1913
{ { case "(($ac_try" in
1914
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915
*) ac_try_echo=$ac_try;;
1917
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918
$as_echo "$ac_try_echo"; } >&5
1919
(eval "$ac_try") 2>&5
1921
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922
test $ac_status = 0; }; }; then :
1925
$as_echo "$as_me: program exited with status $ac_status" >&5
1926
$as_echo "$as_me: failed program was:" >&5
1927
sed 's/^/| /' conftest.$ac_ext >&5
1929
ac_retval=$ac_status
1931
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1932
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933
as_fn_set_status $ac_retval
1937
# ac_fn_c_check_func LINENO FUNC VAR
1938
# ----------------------------------
1939
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1940
ac_fn_c_check_func ()
1942
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944
$as_echo_n "checking for $2... " >&6; }
1945
if eval \${$3+:} false; then :
1946
$as_echo_n "(cached) " >&6
1948
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1949
/* end confdefs.h. */
1950
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1951
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1952
#define $2 innocuous_$2
1954
/* System header to define __stub macros and hopefully few prototypes,
1955
which can conflict with char $2 (); below.
1956
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1957
<limits.h> exists even on freestanding compilers. */
1960
# include <limits.h>
1962
# include <assert.h>
1967
/* Override any GCC internal prototype to avoid an error.
1968
Use char because int might match the return type of a GCC
1969
builtin and then its argument prototype would still apply. */
1974
/* The GNU C library defines this for functions which it implements
1975
to always fail with ENOSYS. Some functions are actually named
1976
something starting with __ and the normal name is an alias. */
1977
#if defined __stub_$2 || defined __stub___$2
1989
if ac_fn_c_try_link "$LINENO"; then :
1994
rm -f core conftest.err conftest.$ac_objext \
1995
conftest$ac_exeext conftest.$ac_ext
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1999
$as_echo "$ac_res" >&6; }
2000
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2002
} # ac_fn_c_check_func
2004
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2005
# -------------------------------------------------------
2006
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
2007
# the include files in INCLUDES and setting the cache variable VAR
2009
ac_fn_c_check_header_mongrel ()
2011
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012
if eval \${$3+:} false; then :
2013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2014
$as_echo_n "checking for $2... " >&6; }
2015
if eval \${$3+:} false; then :
2016
$as_echo_n "(cached) " >&6
2019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2020
$as_echo "$ac_res" >&6; }
2022
# Is the header compilable?
2023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2024
$as_echo_n "checking $2 usability... " >&6; }
2025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026
/* end confdefs.h. */
2030
if ac_fn_c_try_compile "$LINENO"; then :
2031
ac_header_compiler=yes
2033
ac_header_compiler=no
2035
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2036
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2037
$as_echo "$ac_header_compiler" >&6; }
2039
# Is the header present?
2040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2041
$as_echo_n "checking $2 presence... " >&6; }
2042
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2043
/* end confdefs.h. */
2046
if ac_fn_c_try_cpp "$LINENO"; then :
2047
ac_header_preproc=yes
2049
ac_header_preproc=no
2051
rm -f conftest.err conftest.i conftest.$ac_ext
2052
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2053
$as_echo "$ac_header_preproc" >&6; }
2055
# So? What about this header?
2056
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2058
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2059
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2060
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2061
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2064
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2065
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2066
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2067
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2068
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2069
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2070
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2071
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2072
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2073
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2074
( $as_echo "## ---------------------------------------------------------- ##
2075
## Report this to http://bugs.launchpad.net/indicator-appmenu ##
2076
## ---------------------------------------------------------- ##"
2077
) | sed "s/^/$as_me: WARNING: /" >&2
2080
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2081
$as_echo_n "checking for $2... " >&6; }
2082
if eval \${$3+:} false; then :
2083
$as_echo_n "(cached) " >&6
2085
eval "$3=\$ac_header_compiler"
2088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089
$as_echo "$ac_res" >&6; }
2091
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2093
} # ac_fn_c_check_header_mongrel
2094
cat >config.log <<_ACEOF
2095
This file contains any messages produced by compilers while
2096
running configure, to aid debugging if configure makes a mistake.
2098
It was created by indicator-appmenu $as_me 12.10.3, which was
2099
generated by GNU Autoconf 2.69. Invocation command line was
2111
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2112
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2113
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2114
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2115
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2117
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2118
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2120
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2121
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2122
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2123
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2124
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2125
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2126
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2130
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2134
test -z "$as_dir" && as_dir=.
2135
$as_echo "PATH: $as_dir"
2151
# Keep a trace of the command line.
2152
# Strip out --no-create and --no-recursion so they do not pile up.
2153
# Strip out --silent because we don't want to record it for future runs.
2154
# Also quote any args containing shell meta-characters.
2155
# Make two passes to allow for proper duplicate-argument suppression.
2159
ac_must_keep_next=false
2165
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2166
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2167
| -silent | --silent | --silen | --sile | --sil)
2170
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2173
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2175
as_fn_append ac_configure_args1 " '$ac_arg'"
2176
if test $ac_must_keep_next = true; then
2177
ac_must_keep_next=false # Got value, back to normal.
2180
*=* | --config-cache | -C | -disable-* | --disable-* \
2181
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2182
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2183
| -with-* | --with-* | -without-* | --without-* | --x)
2184
case "$ac_configure_args0 " in
2185
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2188
-* ) ac_must_keep_next=true ;;
2191
as_fn_append ac_configure_args " '$ac_arg'"
2196
{ ac_configure_args0=; unset ac_configure_args0;}
2197
{ ac_configure_args1=; unset ac_configure_args1;}
2199
# When interrupted or exit'd, cleanup temporary files, and complete
2200
# config.log. We remove comments because anyway the quotes in there
2201
# would cause problems or look ugly.
2202
# WARNING: Use '\'' to represent an apostrophe within the trap.
2203
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2204
trap 'exit_status=$?
2205
# Save into config.log some information that might help in debugging.
2209
$as_echo "## ---------------- ##
2210
## Cache variables. ##
2211
## ---------------- ##"
2213
# The following way of writing the cache mishandles newlines in values,
2215
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2216
eval ac_val=\$$ac_var
2220
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2221
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2224
_ | IFS | as_nl) ;; #(
2225
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2226
*) { eval $ac_var=; unset $ac_var;} ;;
2231
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2232
*${as_nl}ac_space=\ *)
2234
"s/'\''/'\''\\\\'\'''\''/g;
2235
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2238
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2245
$as_echo "## ----------------- ##
2246
## Output variables. ##
2247
## ----------------- ##"
2249
for ac_var in $ac_subst_vars
2251
eval ac_val=\$$ac_var
2253
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255
$as_echo "$ac_var='\''$ac_val'\''"
2259
if test -n "$ac_subst_files"; then
2260
$as_echo "## ------------------- ##
2261
## File substitutions. ##
2262
## ------------------- ##"
2264
for ac_var in $ac_subst_files
2266
eval ac_val=\$$ac_var
2268
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270
$as_echo "$ac_var='\''$ac_val'\''"
2275
if test -s confdefs.h; then
2276
$as_echo "## ----------- ##
2283
test "$ac_signal" != 0 &&
2284
$as_echo "$as_me: caught signal $ac_signal"
2285
$as_echo "$as_me: exit $exit_status"
2287
rm -f core *.core core.conftest.* &&
2288
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2291
for ac_signal in 1 2 13 15; do
2292
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2296
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2297
rm -f -r conftest* confdefs.h
2299
$as_echo "/* confdefs.h */" > confdefs.h
2301
# Predefined preprocessor variables.
2303
cat >>confdefs.h <<_ACEOF
2304
#define PACKAGE_NAME "$PACKAGE_NAME"
2307
cat >>confdefs.h <<_ACEOF
2308
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2311
cat >>confdefs.h <<_ACEOF
2312
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2315
cat >>confdefs.h <<_ACEOF
2316
#define PACKAGE_STRING "$PACKAGE_STRING"
2319
cat >>confdefs.h <<_ACEOF
2320
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2323
cat >>confdefs.h <<_ACEOF
2324
#define PACKAGE_URL "$PACKAGE_URL"
2328
# Let the site file select an alternate cache file if it wants to.
2329
# Prefer an explicitly selected file to automatically selected ones.
2332
if test -n "$CONFIG_SITE"; then
2333
# We do not want a PATH search for config.site.
2334
case $CONFIG_SITE in #((
2335
-*) ac_site_file1=./$CONFIG_SITE;;
2336
*/*) ac_site_file1=$CONFIG_SITE;;
2337
*) ac_site_file1=./$CONFIG_SITE;;
2339
elif test "x$prefix" != xNONE; then
2340
ac_site_file1=$prefix/share/config.site
2341
ac_site_file2=$prefix/etc/config.site
2343
ac_site_file1=$ac_default_prefix/share/config.site
2344
ac_site_file2=$ac_default_prefix/etc/config.site
2346
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2348
test "x$ac_site_file" = xNONE && continue
2349
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2350
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2351
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2352
sed 's/^/| /' "$ac_site_file" >&5
2354
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2355
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2356
as_fn_error $? "failed to load site script $ac_site_file
2357
See \`config.log' for more details" "$LINENO" 5; }
2361
if test -r "$cache_file"; then
2362
# Some versions of bash will fail to source /dev/null (special files
2363
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2364
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2365
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2366
$as_echo "$as_me: loading cache $cache_file" >&6;}
2368
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2369
*) . "./$cache_file";;
2373
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2374
$as_echo "$as_me: creating cache $cache_file" >&6;}
2378
gt_needs="$gt_needs "
2379
# Check that the precious variables saved in the cache have kept the same
2381
ac_cache_corrupted=false
2382
for ac_var in $ac_precious_vars; do
2383
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2384
eval ac_new_set=\$ac_env_${ac_var}_set
2385
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2386
eval ac_new_val=\$ac_env_${ac_var}_value
2387
case $ac_old_set,$ac_new_set in
2389
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2390
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2391
ac_cache_corrupted=: ;;
2393
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2394
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2395
ac_cache_corrupted=: ;;
2398
if test "x$ac_old_val" != "x$ac_new_val"; then
2399
# differences in whitespace do not lead to failure.
2400
ac_old_val_w=`echo x $ac_old_val`
2401
ac_new_val_w=`echo x $ac_new_val`
2402
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2403
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2404
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2405
ac_cache_corrupted=:
2407
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2408
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2409
eval $ac_var=\$ac_old_val
2411
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2412
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2413
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2414
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2417
# Pass precious variables to config.status.
2418
if test "$ac_new_set" = set; then
2420
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2421
*) ac_arg=$ac_var=$ac_new_val ;;
2423
case " $ac_configure_args " in
2424
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2425
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2429
if $ac_cache_corrupted; then
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2431
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2433
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2434
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2436
## -------------------- ##
2437
## Main body of script. ##
2438
## -------------------- ##
2441
ac_cpp='$CPP $CPPFLAGS'
2442
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2443
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2444
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2452
ac_config_headers="$ac_config_headers config.h"
2457
am__api_version='1.11'
2460
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461
if test -f "$ac_dir/install-sh"; then
2463
ac_install_sh="$ac_aux_dir/install-sh -c"
2465
elif test -f "$ac_dir/install.sh"; then
2467
ac_install_sh="$ac_aux_dir/install.sh -c"
2469
elif test -f "$ac_dir/shtool"; then
2471
ac_install_sh="$ac_aux_dir/shtool install -c"
2475
if test -z "$ac_aux_dir"; then
2476
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479
# These three variables are undocumented and unsupported,
2480
# and are intended to be withdrawn in a future Autoconf release.
2481
# They can cause serious problems if a builder's source tree is in a directory
2482
# whose full name contains unusual characters.
2483
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2484
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2485
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488
# Find a good install program. We prefer a C program (faster),
2489
# so one script is as good as another. But avoid the broken or
2490
# incompatible versions:
2491
# SysV /etc/install, /usr/sbin/install
2492
# SunOS /usr/etc/install
2493
# IRIX /sbin/install
2495
# AmigaOS /C/install, which installs bootblocks on floppy discs
2496
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499
# OS/2's system install, which has a completely different semantic
2500
# ./install, which can be erroneously created by make from ./install.sh.
2501
# Reject install programs that cannot install multiple files.
2502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2504
if test -z "$INSTALL"; then
2505
if ${ac_cv_path_install+:} false; then :
2506
$as_echo_n "(cached) " >&6
2508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512
test -z "$as_dir" && as_dir=.
2513
# Account for people who put trailing slashes in PATH elements.
2514
case $as_dir/ in #((
2515
./ | .// | /[cC]/* | \
2516
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2517
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2520
# OSF1 and SCO ODT 3.0 have their own names for install.
2521
# Don't use installbsd from OSF since it installs stuff as root
2523
for ac_prog in ginstall scoinst install; do
2524
for ac_exec_ext in '' $ac_executable_extensions; do
2525
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2526
if test $ac_prog = install &&
2527
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528
# AIX install. It has an incompatible calling convention.
2530
elif test $ac_prog = install &&
2531
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532
# program-specific install script used by HP pwplus--don't use.
2535
rm -rf conftest.one conftest.two conftest.dir
2536
echo one > conftest.one
2537
echo two > conftest.two
2539
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2540
test -s conftest.one && test -s conftest.two &&
2541
test -s conftest.dir/conftest.one &&
2542
test -s conftest.dir/conftest.two
2544
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2557
rm -rf conftest.one conftest.two conftest.dir
2560
if test "${ac_cv_path_install+set}" = set; then
2561
INSTALL=$ac_cv_path_install
2563
# As a last resort, use the slow shell script. Don't cache a
2564
# value for INSTALL within a source directory, because that will
2565
# break other packages using the cache if that directory is
2566
# removed, or if the value is a relative name.
2567
INSTALL=$ac_install_sh
2570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571
$as_echo "$INSTALL" >&6; }
2573
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574
# It thinks the first close brace ends the variable substitution.
2575
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2577
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2579
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582
$as_echo_n "checking whether build environment is sane... " >&6; }
2585
echo timestamp > conftest.file
2586
# Reject unsafe characters in $srcdir or the absolute working directory
2587
# name. Accept space and tab only in the latter.
2591
*[\\\"\#\$\&\'\`$am_lf]*)
2592
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2596
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2599
# Do `set' in a subshell so we don't clobber the current shell's
2600
# arguments. Must try -L first in case configure is actually a
2601
# symlink; some systems play weird games with the mod time of symlinks
2602
# (eg FreeBSD returns the mod time of the symlink's containing
2605
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606
if test "$*" = "X"; then
2608
set X `ls -t "$srcdir/configure" conftest.file`
2611
if test "$*" != "X $srcdir/configure conftest.file" \
2612
&& test "$*" != "X conftest.file $srcdir/configure"; then
2614
# If neither matched, then we have a broken ls. This can happen
2615
# if, for instance, CONFIG_SHELL is bash and it inherits a
2616
# broken ls alias from the environment. This has actually
2617
# happened. Such a system could not be considered "sane".
2618
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2619
alias in your environment" "$LINENO" 5
2622
test "$2" = conftest.file
2628
as_fn_error $? "newly created file is older than distributed files!
2629
Check your system clock" "$LINENO" 5
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632
$as_echo "yes" >&6; }
2633
test "$program_prefix" != NONE &&
2634
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2635
# Use a double $ so make ignores it.
2636
test "$program_suffix" != NONE &&
2637
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2638
# Double any \ or $.
2639
# By default was `s,x,x', remove it if useless.
2640
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2641
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2643
# expand $ac_aux_dir to an absolute path
2644
am_aux_dir=`cd $ac_aux_dir && pwd`
2646
if test x"${MISSING+set}" != xset; then
2649
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2651
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2654
# Use eval to expand $SHELL
2655
if eval "$MISSING --run true"; then
2656
am_missing_run="$MISSING --run "
2659
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2660
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2663
if test x"${install_sh}" != xset; then
2666
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2668
install_sh="\${SHELL} $am_aux_dir/install-sh"
2672
# Installed binaries are usually stripped using `strip' when the user
2673
# run `make install-strip'. However `strip' might not be the right
2674
# tool to use in cross-compilation environments, therefore Automake
2675
# will honor the `STRIP' environment variable to overrule this program.
2676
if test "$cross_compiling" != no; then
2677
if test -n "$ac_tool_prefix"; then
2678
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679
set dummy ${ac_tool_prefix}strip; ac_word=$2
2680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681
$as_echo_n "checking for $ac_word... " >&6; }
2682
if ${ac_cv_prog_STRIP+:} false; then :
2683
$as_echo_n "(cached) " >&6
2685
if test -n "$STRIP"; then
2686
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2688
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692
test -z "$as_dir" && as_dir=.
2693
for ac_exec_ext in '' $ac_executable_extensions; do
2694
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2696
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705
STRIP=$ac_cv_prog_STRIP
2706
if test -n "$STRIP"; then
2707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2708
$as_echo "$STRIP" >&6; }
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711
$as_echo "no" >&6; }
2716
if test -z "$ac_cv_prog_STRIP"; then
2718
# Extract the first word of "strip", so it can be a program name with args.
2719
set dummy strip; ac_word=$2
2720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721
$as_echo_n "checking for $ac_word... " >&6; }
2722
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2723
$as_echo_n "(cached) " >&6
2725
if test -n "$ac_ct_STRIP"; then
2726
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732
test -z "$as_dir" && as_dir=.
2733
for ac_exec_ext in '' $ac_executable_extensions; do
2734
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2735
ac_cv_prog_ac_ct_STRIP="strip"
2736
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2746
if test -n "$ac_ct_STRIP"; then
2747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2748
$as_echo "$ac_ct_STRIP" >&6; }
2750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751
$as_echo "no" >&6; }
2754
if test "x$ac_ct_STRIP" = x; then
2757
case $cross_compiling:$ac_tool_warned in
2759
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761
ac_tool_warned=yes ;;
2766
STRIP="$ac_cv_prog_STRIP"
2770
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2773
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2774
if test -z "$MKDIR_P"; then
2775
if ${ac_cv_path_mkdir+:} false; then :
2776
$as_echo_n "(cached) " >&6
2778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2782
test -z "$as_dir" && as_dir=.
2783
for ac_prog in mkdir gmkdir; do
2784
for ac_exec_ext in '' $ac_executable_extensions; do
2785
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2786
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787
'mkdir (GNU coreutils) '* | \
2788
'mkdir (coreutils) '* | \
2789
'mkdir (fileutils) '4.1*)
2790
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2800
test -d ./--version && rmdir ./--version
2801
if test "${ac_cv_path_mkdir+set}" = set; then
2802
MKDIR_P="$ac_cv_path_mkdir -p"
2804
# As a last resort, use the slow shell script. Don't cache a
2805
# value for MKDIR_P within a source directory, because that will
2806
# break other packages using the cache if that directory is
2807
# removed, or if the value is a relative name.
2808
MKDIR_P="$ac_install_sh -d"
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2812
$as_echo "$MKDIR_P" >&6; }
2816
[\\/$]* | ?:[\\/]*) ;;
2817
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2820
for ac_prog in gawk mawk nawk awk
2822
# Extract the first word of "$ac_prog", so it can be a program name with args.
2823
set dummy $ac_prog; ac_word=$2
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825
$as_echo_n "checking for $ac_word... " >&6; }
2826
if ${ac_cv_prog_AWK+:} false; then :
2827
$as_echo_n "(cached) " >&6
2829
if test -n "$AWK"; then
2830
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836
test -z "$as_dir" && as_dir=.
2837
for ac_exec_ext in '' $ac_executable_extensions; do
2838
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839
ac_cv_prog_AWK="$ac_prog"
2840
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850
if test -n "$AWK"; then
2851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2852
$as_echo "$AWK" >&6; }
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855
$as_echo "no" >&6; }
2859
test -n "$AWK" && break
2862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2863
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2865
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2866
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2867
$as_echo_n "(cached) " >&6
2869
cat >conftest.make <<\_ACEOF
2872
@echo '@@@%%%=$(MAKE)=@@@%%%'
2874
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2875
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2877
eval ac_cv_prog_make_${ac_make}_set=yes;;
2879
eval ac_cv_prog_make_${ac_make}_set=no;;
2883
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885
$as_echo "yes" >&6; }
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889
$as_echo "no" >&6; }
2890
SET_MAKE="MAKE=${MAKE-make}"
2893
rm -rf .tst 2>/dev/null
2894
mkdir .tst 2>/dev/null
2895
if test -d .tst; then
2900
rmdir .tst 2>/dev/null
2902
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904
# is not polluted with repeated "-I."
2905
am__isrc=' -I$(srcdir)'
2906
# test to see if srcdir already configured
2907
if test -f $srcdir/config.status; then
2908
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912
# test whether we have cygpath
2913
if test -z "$CYGPATH_W"; then
2914
if (cygpath --version) >/dev/null 2>/dev/null; then
2915
CYGPATH_W='cygpath -w'
2922
# Define the identity of the package.
2923
PACKAGE='indicator-appmenu'
2927
cat >>confdefs.h <<_ACEOF
2928
#define PACKAGE "$PACKAGE"
2932
cat >>confdefs.h <<_ACEOF
2933
#define VERSION "$VERSION"
2936
# Some tools Automake needs.
2938
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2941
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2944
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2947
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2950
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2952
# We need awk for the "check" target. The system "awk" is bad on
2954
# Always define AMTAR for backward compatibility. Yes, it's still used
2955
# in the wild :-( We should find a proper way to deprecate it ...
2958
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2966
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2967
# Check whether --enable-maintainer-mode was given.
2968
if test "${enable_maintainer_mode+set}" = set; then :
2969
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2971
USE_MAINTAINER_MODE=yes
2974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2975
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2976
if test $USE_MAINTAINER_MODE = yes; then
2977
MAINTAINER_MODE_TRUE=
2978
MAINTAINER_MODE_FALSE='#'
2980
MAINTAINER_MODE_TRUE='#'
2981
MAINTAINER_MODE_FALSE=
2984
MAINT=$MAINTAINER_MODE_TRUE
2988
# Check whether --enable-silent-rules was given.
2989
if test "${enable_silent_rules+set}" = set; then :
2990
enableval=$enable_silent_rules;
2993
case $enable_silent_rules in
2994
yes) AM_DEFAULT_VERBOSITY=0;;
2995
no) AM_DEFAULT_VERBOSITY=1;;
2996
*) AM_DEFAULT_VERBOSITY=0;;
2998
am_make=${MAKE-make}
2999
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3000
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3001
if ${am_cv_make_support_nested_variables+:} false; then :
3002
$as_echo_n "(cached) " >&6
3004
if $as_echo 'TRUE=$(BAR$(V))
3010
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3011
am_cv_make_support_nested_variables=yes
3013
am_cv_make_support_nested_variables=no
3016
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3017
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3018
if test $am_cv_make_support_nested_variables = yes; then
3020
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3022
AM_V=$AM_DEFAULT_VERBOSITY
3023
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3028
# Check for programs
3030
ac_cpp='$CPP $CPPFLAGS'
3031
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3032
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3033
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3034
if test -n "$ac_tool_prefix"; then
3035
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3036
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038
$as_echo_n "checking for $ac_word... " >&6; }
3039
if ${ac_cv_prog_CC+:} false; then :
3040
$as_echo_n "(cached) " >&6
3042
if test -n "$CC"; then
3043
ac_cv_prog_CC="$CC" # Let the user override the test.
3045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3049
test -z "$as_dir" && as_dir=.
3050
for ac_exec_ext in '' $ac_executable_extensions; do
3051
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3052
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3053
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3063
if test -n "$CC"; then
3064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3065
$as_echo "$CC" >&6; }
3067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3068
$as_echo "no" >&6; }
3073
if test -z "$ac_cv_prog_CC"; then
3075
# Extract the first word of "gcc", so it can be a program name with args.
3076
set dummy gcc; ac_word=$2
3077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3078
$as_echo_n "checking for $ac_word... " >&6; }
3079
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3080
$as_echo_n "(cached) " >&6
3082
if test -n "$ac_ct_CC"; then
3083
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089
test -z "$as_dir" && as_dir=.
3090
for ac_exec_ext in '' $ac_executable_extensions; do
3091
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3092
ac_cv_prog_ac_ct_CC="gcc"
3093
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3103
if test -n "$ac_ct_CC"; then
3104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3105
$as_echo "$ac_ct_CC" >&6; }
3107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3108
$as_echo "no" >&6; }
3111
if test "x$ac_ct_CC" = x; then
3114
case $cross_compiling:$ac_tool_warned in
3116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3118
ac_tool_warned=yes ;;
3126
if test -z "$CC"; then
3127
if test -n "$ac_tool_prefix"; then
3128
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3129
set dummy ${ac_tool_prefix}cc; ac_word=$2
3130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131
$as_echo_n "checking for $ac_word... " >&6; }
3132
if ${ac_cv_prog_CC+:} false; then :
3133
$as_echo_n "(cached) " >&6
3135
if test -n "$CC"; then
3136
ac_cv_prog_CC="$CC" # Let the user override the test.
3138
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142
test -z "$as_dir" && as_dir=.
3143
for ac_exec_ext in '' $ac_executable_extensions; do
3144
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3145
ac_cv_prog_CC="${ac_tool_prefix}cc"
3146
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156
if test -n "$CC"; then
3157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3158
$as_echo "$CC" >&6; }
3160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161
$as_echo "no" >&6; }
3167
if test -z "$CC"; then
3168
# Extract the first word of "cc", so it can be a program name with args.
3169
set dummy cc; ac_word=$2
3170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3171
$as_echo_n "checking for $ac_word... " >&6; }
3172
if ${ac_cv_prog_CC+:} false; then :
3173
$as_echo_n "(cached) " >&6
3175
if test -n "$CC"; then
3176
ac_cv_prog_CC="$CC" # Let the user override the test.
3179
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3183
test -z "$as_dir" && as_dir=.
3184
for ac_exec_ext in '' $ac_executable_extensions; do
3185
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3186
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3187
ac_prog_rejected=yes
3191
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3198
if test $ac_prog_rejected = yes; then
3199
# We found a bogon in the path, so make sure we never use it.
3200
set dummy $ac_cv_prog_CC
3202
if test $# != 0; then
3203
# We chose a different compiler from the bogus one.
3204
# However, it has the same basename, so the bogon will be chosen
3205
# first if we set CC to just the basename; use the full file name.
3207
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
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; }
3223
if test -z "$CC"; then
3224
if test -n "$ac_tool_prefix"; then
3225
for ac_prog in cl.exe
3227
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3228
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3230
$as_echo_n "checking for $ac_word... " >&6; }
3231
if ${ac_cv_prog_CC+:} false; then :
3232
$as_echo_n "(cached) " >&6
3234
if test -n "$CC"; then
3235
ac_cv_prog_CC="$CC" # Let the user override the test.
3237
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241
test -z "$as_dir" && as_dir=.
3242
for ac_exec_ext in '' $ac_executable_extensions; do
3243
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3244
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3245
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3255
if test -n "$CC"; then
3256
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3257
$as_echo "$CC" >&6; }
3259
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260
$as_echo "no" >&6; }
3264
test -n "$CC" && break
3267
if test -z "$CC"; then
3269
for ac_prog in cl.exe
3271
# Extract the first word of "$ac_prog", so it can be a program name with args.
3272
set dummy $ac_prog; ac_word=$2
3273
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274
$as_echo_n "checking for $ac_word... " >&6; }
3275
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3276
$as_echo_n "(cached) " >&6
3278
if test -n "$ac_ct_CC"; then
3279
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3281
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285
test -z "$as_dir" && as_dir=.
3286
for ac_exec_ext in '' $ac_executable_extensions; do
3287
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288
ac_cv_prog_ac_ct_CC="$ac_prog"
3289
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3299
if test -n "$ac_ct_CC"; then
3300
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3301
$as_echo "$ac_ct_CC" >&6; }
3303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304
$as_echo "no" >&6; }
3308
test -n "$ac_ct_CC" && break
3311
if test "x$ac_ct_CC" = x; then
3314
case $cross_compiling:$ac_tool_warned in
3316
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3317
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3318
ac_tool_warned=yes ;;
3327
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3328
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3329
as_fn_error $? "no acceptable C compiler found in \$PATH
3330
See \`config.log' for more details" "$LINENO" 5; }
3332
# Provide some information about the compiler.
3333
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3336
for ac_option in --version -v -V -qversion; do
3337
{ { ac_try="$ac_compiler $ac_option >&5"
3339
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340
*) ac_try_echo=$ac_try;;
3342
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343
$as_echo "$ac_try_echo"; } >&5
3344
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3346
if test -s conftest.err; then
3348
... rest of stderr output deleted ...
3349
10q' conftest.err >conftest.er1
3350
cat conftest.er1 >&5
3352
rm -f conftest.er1 conftest.err
3353
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3354
test $ac_status = 0; }
3357
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358
/* end confdefs.h. */
3368
ac_clean_files_save=$ac_clean_files
3369
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3370
# Try to create an executable without -o first, disregard a.out.
3371
# It will help us diagnose broken compilers, and finding out an intuition
3373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3374
$as_echo_n "checking whether the C compiler works... " >&6; }
3375
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3377
# The possible output files:
3378
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3381
for ac_file in $ac_files
3384
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3385
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3390
if { { ac_try="$ac_link_default"
3392
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3393
*) ac_try_echo=$ac_try;;
3395
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3396
$as_echo "$ac_try_echo"; } >&5
3397
(eval "$ac_link_default") 2>&5
3399
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3400
test $ac_status = 0; }; then :
3401
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3402
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3403
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3404
# so that the user can short-circuit this test for compilers unknown to
3406
for ac_file in $ac_files ''
3408
test -f "$ac_file" || continue
3410
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3413
# We found the default executable, but exeext='' is most
3417
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3419
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3421
# We set ac_cv_exeext here because the later test for it is not
3422
# safe: cross compilers may not add the suffix if given an `-o'
3423
# argument, so we may need to know it at that point already.
3424
# Even if this section looks crufty: it has the advantage of
3431
test "$ac_cv_exeext" = no && ac_cv_exeext=
3436
if test -z "$ac_file"; then :
3437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3438
$as_echo "no" >&6; }
3439
$as_echo "$as_me: failed program was:" >&5
3440
sed 's/^/| /' conftest.$ac_ext >&5
3442
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3443
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3444
as_fn_error 77 "C compiler cannot create executables
3445
See \`config.log' for more details" "$LINENO" 5; }
3447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3448
$as_echo "yes" >&6; }
3450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3451
$as_echo_n "checking for C compiler default output file name... " >&6; }
3452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3453
$as_echo "$ac_file" >&6; }
3454
ac_exeext=$ac_cv_exeext
3456
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3457
ac_clean_files=$ac_clean_files_save
3458
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3459
$as_echo_n "checking for suffix of executables... " >&6; }
3460
if { { ac_try="$ac_link"
3462
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3463
*) ac_try_echo=$ac_try;;
3465
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3466
$as_echo "$ac_try_echo"; } >&5
3467
(eval "$ac_link") 2>&5
3469
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3470
test $ac_status = 0; }; then :
3471
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3472
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3473
# work properly (i.e., refer to `conftest.exe'), while it won't with
3475
for ac_file in conftest.exe conftest conftest.*; do
3476
test -f "$ac_file" || continue
3478
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3479
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3485
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3486
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3487
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3488
See \`config.log' for more details" "$LINENO" 5; }
3490
rm -f conftest conftest$ac_cv_exeext
3491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3492
$as_echo "$ac_cv_exeext" >&6; }
3494
rm -f conftest.$ac_ext
3495
EXEEXT=$ac_cv_exeext
3497
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498
/* end confdefs.h. */
3503
FILE *f = fopen ("conftest.out", "w");
3504
return ferror (f) || fclose (f) != 0;
3510
ac_clean_files="$ac_clean_files conftest.out"
3511
# Check that the compiler produces executables we can run. If not, either
3512
# the compiler is broken, or we cross compile.
3513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3514
$as_echo_n "checking whether we are cross compiling... " >&6; }
3515
if test "$cross_compiling" != yes; then
3516
{ { ac_try="$ac_link"
3518
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3519
*) ac_try_echo=$ac_try;;
3521
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3522
$as_echo "$ac_try_echo"; } >&5
3523
(eval "$ac_link") 2>&5
3525
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3526
test $ac_status = 0; }
3527
if { ac_try='./conftest$ac_cv_exeext'
3528
{ { case "(($ac_try" in
3529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3530
*) ac_try_echo=$ac_try;;
3532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3533
$as_echo "$ac_try_echo"; } >&5
3534
(eval "$ac_try") 2>&5
3536
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3537
test $ac_status = 0; }; }; then
3540
if test "$cross_compiling" = maybe; then
3543
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3544
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3545
as_fn_error $? "cannot run C compiled programs.
3546
If you meant to cross compile, use \`--host'.
3547
See \`config.log' for more details" "$LINENO" 5; }
3551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3552
$as_echo "$cross_compiling" >&6; }
3554
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3555
ac_clean_files=$ac_clean_files_save
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3557
$as_echo_n "checking for suffix of object files... " >&6; }
3558
if ${ac_cv_objext+:} false; then :
3559
$as_echo_n "(cached) " >&6
3561
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562
/* end confdefs.h. */
3572
rm -f conftest.o conftest.obj
3573
if { { ac_try="$ac_compile"
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_compile") 2>&5
3582
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3583
test $ac_status = 0; }; then :
3584
for ac_file in conftest.o conftest.obj conftest.*; do
3585
test -f "$ac_file" || continue;
3587
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3588
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3593
$as_echo "$as_me: failed program was:" >&5
3594
sed 's/^/| /' conftest.$ac_ext >&5
3596
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3597
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3598
as_fn_error $? "cannot compute suffix of object files: cannot compile
3599
See \`config.log' for more details" "$LINENO" 5; }
3601
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3604
$as_echo "$ac_cv_objext" >&6; }
3605
OBJEXT=$ac_cv_objext
3607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3608
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3609
if ${ac_cv_c_compiler_gnu+:} false; then :
3610
$as_echo_n "(cached) " >&6
3612
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3613
/* end confdefs.h. */
3626
if ac_fn_c_try_compile "$LINENO"; then :
3631
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3632
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3636
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3637
if test $ac_compiler_gnu = yes; then
3642
ac_test_CFLAGS=${CFLAGS+set}
3643
ac_save_CFLAGS=$CFLAGS
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3645
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3646
if ${ac_cv_prog_cc_g+:} false; then :
3647
$as_echo_n "(cached) " >&6
3649
ac_save_c_werror_flag=$ac_c_werror_flag
3650
ac_c_werror_flag=yes
3653
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3654
/* end confdefs.h. */
3664
if ac_fn_c_try_compile "$LINENO"; then :
3668
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669
/* end confdefs.h. */
3679
if ac_fn_c_try_compile "$LINENO"; then :
3682
ac_c_werror_flag=$ac_save_c_werror_flag
3684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685
/* end confdefs.h. */
3695
if ac_fn_c_try_compile "$LINENO"; then :
3698
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3700
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3702
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3703
ac_c_werror_flag=$ac_save_c_werror_flag
3705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3706
$as_echo "$ac_cv_prog_cc_g" >&6; }
3707
if test "$ac_test_CFLAGS" = set; then
3708
CFLAGS=$ac_save_CFLAGS
3709
elif test $ac_cv_prog_cc_g = yes; then
3710
if test "$GCC" = yes; then
3716
if test "$GCC" = yes; then
3722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3723
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3724
if ${ac_cv_prog_cc_c89+:} false; then :
3725
$as_echo_n "(cached) " >&6
3727
ac_cv_prog_cc_c89=no
3729
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3730
/* end confdefs.h. */
3734
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3735
struct buf { int x; };
3736
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3737
static char *e (p, i)
3743
static char *f (char * (*g) (char **, int), char **p, ...)
3748
s = g (p, va_arg (v,int));
3753
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3754
function prototypes and stuff, but not '\xHH' hex character constants.
3755
These don't provoke an error unfortunately, instead are silently treated
3756
as 'x'. The following induces an error, until -std is added to get
3757
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3758
array size at least. It's necessary to write '\x00'==0 to get something
3759
that's true only with -std. */
3760
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3762
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3763
inside strings and character constants. */
3765
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3767
int test (int i, double x);
3768
struct s1 {int (*f) (int a);};
3769
struct s2 {int (*f) (double a);};
3770
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3776
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3781
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3782
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3784
CC="$ac_save_CC $ac_arg"
3785
if ac_fn_c_try_compile "$LINENO"; then :
3786
ac_cv_prog_cc_c89=$ac_arg
3788
rm -f core conftest.err conftest.$ac_objext
3789
test "x$ac_cv_prog_cc_c89" != "xno" && break
3791
rm -f conftest.$ac_ext
3796
case "x$ac_cv_prog_cc_c89" in
3798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3799
$as_echo "none needed" >&6; } ;;
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3802
$as_echo "unsupported" >&6; } ;;
3804
CC="$CC $ac_cv_prog_cc_c89"
3805
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3806
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3808
if test "x$ac_cv_prog_cc_c89" != xno; then :
3813
ac_cpp='$CPP $CPPFLAGS'
3814
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3815
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3816
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3817
DEPDIR="${am__leading_dot}deps"
3819
ac_config_commands="$ac_config_commands depfiles"
3822
am_make=${MAKE-make}
3823
cat > confinc << 'END'
3825
@echo this is the am__doit target
3828
# If we don't find an include directive, just comment out the code.
3829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3830
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3834
# First try GNU make style include.
3835
echo "include confinc" > confmf
3836
# Ignore all kinds of additional output from `make'.
3837
case `$am_make -s -f confmf 2> /dev/null` in #(
3838
*the\ am__doit\ target*)
3844
# Now try BSD make style include.
3845
if test "$am__include" = "#"; then
3846
echo '.include "confinc"' > confmf
3847
case `$am_make -s -f confmf 2> /dev/null` in #(
3848
*the\ am__doit\ target*)
3849
am__include=.include
3857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3858
$as_echo "$_am_result" >&6; }
3859
rm -f confinc confmf
3861
# Check whether --enable-dependency-tracking was given.
3862
if test "${enable_dependency_tracking+set}" = set; then :
3863
enableval=$enable_dependency_tracking;
3866
if test "x$enable_dependency_tracking" != xno; then
3867
am_depcomp="$ac_aux_dir/depcomp"
3871
if test "x$enable_dependency_tracking" != xno; then
3881
depcc="$CC" am_compiler_list=
3883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3884
$as_echo_n "checking dependency style of $depcc... " >&6; }
3885
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3886
$as_echo_n "(cached) " >&6
3888
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3889
# We make a subdir and do the tests there. Otherwise we can end up
3890
# making bogus files that we don't know about and never remove. For
3891
# instance it was reported that on HP-UX the gcc test will end up
3892
# making a dummy file named `D' -- because `-MD' means `put the output
3896
# Copy depcomp to subdir because otherwise we won't find it if we're
3897
# using a relative directory.
3898
cp "$am_depcomp" conftest.dir
3900
# We will build objects and dependencies in a subdirectory because
3901
# it helps to detect inapplicable dependency modes. For instance
3902
# both Tru64's cc and ICC support -MD to output dependencies as a
3903
# side effect of compilation, but ICC will put the dependencies in
3904
# the current directory while Tru64 will put them in the object
3908
am_cv_CC_dependencies_compiler_type=none
3909
if test "$am_compiler_list" = ""; then
3910
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3913
case " $depcc " in #(
3914
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3917
for depmode in $am_compiler_list; do
3918
# Setup a source with many dependencies, because some compilers
3919
# like to wrap large dependency lists on column 80 (with \), and
3920
# we should not choose a depcomp mode which is confused by this.
3922
# We need to recreate these files for each test, as the compiler may
3923
# overwrite some of them when testing with obscure command lines.
3924
# This happens at least with the AIX C compiler.
3926
for i in 1 2 3 4 5 6; do
3927
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3928
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3929
# Solaris 8's {/usr,}/bin/sh.
3930
touch sub/conftst$i.h
3932
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3934
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3935
# mode. It turns out that the SunPro C++ compiler does not properly
3936
# handle `-M -o', and we need to detect this. Also, some Intel
3937
# versions had trouble with output in subdirs
3938
am__obj=sub/conftest.${OBJEXT-o}
3939
am__minus_obj="-o $am__obj"
3942
# This depmode causes a compiler race in universal mode.
3943
test "$am__universal" = false || continue
3946
# after this tag, mechanisms are not by side-effect, so they'll
3947
# only be used when explicitly requested
3948
if test "x$enable_dependency_tracking" = xyes; then
3954
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3955
# This compiler won't grok `-c -o', but also, the minuso test has
3956
# not run yet. These depmodes are late enough in the game, and
3957
# so weak that their functioning should not be impacted.
3958
am__obj=conftest.${OBJEXT-o}
3963
if depmode=$depmode \
3964
source=sub/conftest.c object=$am__obj \
3965
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3966
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3967
>/dev/null 2>conftest.err &&
3968
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3969
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3970
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3971
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3972
# icc doesn't choke on unknown options, it will just issue warnings
3973
# or remarks (even with -Werror). So we grep stderr for any message
3974
# that says an option was ignored or not supported.
3975
# When given -MP, icc 7.0 and 7.1 complain thusly:
3976
# icc: Command line warning: ignoring option '-M'; no argument required
3977
# The diagnosis changed in icc 8.0:
3978
# icc: Command line remark: option '-MP' not supported
3979
if (grep 'ignoring option' conftest.err ||
3980
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3981
am_cv_CC_dependencies_compiler_type=$depmode
3990
am_cv_CC_dependencies_compiler_type=none
3994
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3995
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3996
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3999
test "x$enable_dependency_tracking" != xno \
4000
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4002
am__fastdepCC_FALSE='#'
4004
am__fastdepCC_TRUE='#'
4005
am__fastdepCC_FALSE=
4009
if test "x$CC" != xcc; then
4010
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4011
$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4014
$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4016
set dummy $CC; ac_cc=`$as_echo "$2" |
4017
sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4018
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4019
$as_echo_n "(cached) " >&6
4021
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4022
/* end confdefs.h. */
4032
# Make sure it works both with $CC and with simple cc.
4033
# We do the test twice because some compilers refuse to overwrite an
4034
# existing .o file with -o, though they will create one.
4035
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4037
if { { case "(($ac_try" in
4038
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4039
*) ac_try_echo=$ac_try;;
4041
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4042
$as_echo "$ac_try_echo"; } >&5
4043
(eval "$ac_try") 2>&5
4045
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4046
test $ac_status = 0; } &&
4047
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4048
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4049
*) ac_try_echo=$ac_try;;
4051
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4052
$as_echo "$ac_try_echo"; } >&5
4053
(eval "$ac_try") 2>&5
4055
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4056
test $ac_status = 0; };
4058
eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4059
if test "x$CC" != xcc; then
4060
# Test first that cc exists at all.
4061
if { ac_try='cc -c conftest.$ac_ext >&5'
4062
{ { case "(($ac_try" in
4063
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4064
*) ac_try_echo=$ac_try;;
4066
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4067
$as_echo "$ac_try_echo"; } >&5
4068
(eval "$ac_try") 2>&5
4070
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4071
test $ac_status = 0; }; }; then
4072
ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4074
if { { case "(($ac_try" in
4075
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076
*) ac_try_echo=$ac_try;;
4078
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4079
$as_echo "$ac_try_echo"; } >&5
4080
(eval "$ac_try") 2>&5
4082
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4083
test $ac_status = 0; } &&
4084
test -f conftest2.$ac_objext && { { case "(($ac_try" in
4085
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086
*) ac_try_echo=$ac_try;;
4088
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089
$as_echo "$ac_try_echo"; } >&5
4090
(eval "$ac_try") 2>&5
4092
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093
test $ac_status = 0; };
4098
# cc exists but doesn't like -o.
4099
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4104
eval ac_cv_prog_cc_${ac_cc}_c_o=no
4106
rm -f core conftest*
4109
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4110
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111
$as_echo "yes" >&6; }
4113
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114
$as_echo "no" >&6; }
4116
$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4120
# FIXME: we rely on the cache variable name because
4121
# there is no other way.
4123
am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4124
eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4125
if test "$am_t" != yes; then
4126
# Losing compiler, so override with the script.
4127
# FIXME: It is wrong to rewrite CC.
4128
# But if we don't then we get into trouble of one sort or another.
4129
# A longer-term fix would be to have automake use am__CC in this case,
4130
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4131
CC="$am_aux_dir/compile $CC"
4135
# Extract the first word of "valac", so it can be a program name with args.
4136
set dummy valac; ac_word=$2
4137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4138
$as_echo_n "checking for $ac_word... " >&6; }
4139
if ${ac_cv_path_VALAC+:} false; then :
4140
$as_echo_n "(cached) " >&6
4144
ac_cv_path_VALAC="$VALAC" # Let the user override the test with a path.
4147
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4151
test -z "$as_dir" && as_dir=.
4152
for ac_exec_ext in '' $ac_executable_extensions; do
4153
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4154
ac_cv_path_VALAC="$as_dir/$ac_word$ac_exec_ext"
4155
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4165
VALAC=$ac_cv_path_VALAC
4166
if test -n "$VALAC"; then
4167
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALAC" >&5
4168
$as_echo "$VALAC" >&6; }
4170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4171
$as_echo "no" >&6; }
4175
if test -z "$VALAC"; then :
4176
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&5
4177
$as_echo "$as_me: WARNING: No Vala compiler found. You will not be able to compile .vala source files." >&2;}
4179
if test -n ""; then :
4180
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $VALAC is at least version " >&5
4181
$as_echo_n "checking $VALAC is at least version ... " >&6; }
4182
am__vala_version=`$VALAC --version | sed 's/Vala *//'`
4184
as_arg_v2="$am__vala_version"
4185
awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
4188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4189
$as_echo "yes" >&6; } ;; #(
4191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4192
$as_echo "yes" >&6; } ;; #(
4194
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195
$as_echo "no" >&6; }
4196
as_fn_error $? "Vala not found." "$LINENO" 5 ;; #(
4204
# Initialize libtool
4208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4209
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4214
macro_version='2.4.2'
4215
macro_revision='1.3337'
4229
ltmain="$ac_aux_dir/ltmain.sh"
4231
# Make sure we can run config.sub.
4232
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4233
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4236
$as_echo_n "checking build system type... " >&6; }
4237
if ${ac_cv_build+:} false; then :
4238
$as_echo_n "(cached) " >&6
4240
ac_build_alias=$build_alias
4241
test "x$ac_build_alias" = x &&
4242
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4243
test "x$ac_build_alias" = x &&
4244
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4245
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4246
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4250
$as_echo "$ac_cv_build" >&6; }
4251
case $ac_cv_build in
4253
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4256
ac_save_IFS=$IFS; IFS='-'
4262
# Remember, the first character of IFS is used to create $*,
4263
# except with old shells:
4266
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4269
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4270
$as_echo_n "checking host system type... " >&6; }
4271
if ${ac_cv_host+:} false; then :
4272
$as_echo_n "(cached) " >&6
4274
if test "x$host_alias" = x; then
4275
ac_cv_host=$ac_cv_build
4277
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4278
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4283
$as_echo "$ac_cv_host" >&6; }
4286
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4289
ac_save_IFS=$IFS; IFS='-'
4295
# Remember, the first character of IFS is used to create $*,
4296
# except with old shells:
4299
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4302
# Backslashify metacharacters that are still active within
4303
# double-quoted strings.
4304
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4306
# Same as above, but do not quote variable references.
4307
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4309
# Sed substitution to delay expansion of an escaped shell variable in a
4310
# double_quote_subst'ed string.
4311
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4313
# Sed substitution to delay expansion of an escaped single quote.
4314
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4316
# Sed substitution to avoid accidental globbing in evaled expressions
4317
no_glob_subst='s/\*/\\\*/g'
4319
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4320
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4321
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4323
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4324
$as_echo_n "checking how to print strings... " >&6; }
4325
# Test print first, because it will be a builtin if present.
4326
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4327
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4329
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4332
# Use this function as a fallback that always works.
4333
func_fallback_echo ()
4335
eval 'cat <<_LTECHO_EOF
4339
ECHO='func_fallback_echo'
4342
# func_echo_all arg...
4343
# Invoke $ECHO with all args, space-separated.
4350
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4351
$as_echo "printf" >&6; } ;;
4352
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4353
$as_echo "print -r" >&6; } ;;
4354
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4355
$as_echo "cat" >&6; } ;;
4371
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4372
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4373
if ${ac_cv_path_SED+:} false; then :
4374
$as_echo_n "(cached) " >&6
4376
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4377
for ac_i in 1 2 3 4 5 6 7; do
4378
ac_script="$ac_script$as_nl$ac_script"
4380
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4381
{ ac_script=; unset ac_script;}
4382
if test -z "$SED"; then
4383
ac_path_SED_found=false
4384
# Loop through the user's path and test for each of PROGNAME-LIST
4385
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4389
test -z "$as_dir" && as_dir=.
4390
for ac_prog in sed gsed; do
4391
for ac_exec_ext in '' $ac_executable_extensions; do
4392
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4393
as_fn_executable_p "$ac_path_SED" || continue
4394
# Check for GNU ac_path_SED and select it if it is found.
4395
# Check for GNU $ac_path_SED
4396
case `"$ac_path_SED" --version 2>&1` in
4398
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4401
$as_echo_n 0123456789 >"conftest.in"
4404
cat "conftest.in" "conftest.in" >"conftest.tmp"
4405
mv "conftest.tmp" "conftest.in"
4406
cp "conftest.in" "conftest.nl"
4407
$as_echo '' >> "conftest.nl"
4408
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4409
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4410
as_fn_arith $ac_count + 1 && ac_count=$as_val
4411
if test $ac_count -gt ${ac_path_SED_max-0}; then
4412
# Best one so far, save it but keep looking for a better one
4413
ac_cv_path_SED="$ac_path_SED"
4414
ac_path_SED_max=$ac_count
4416
# 10*(2^10) chars as input seems more than enough
4417
test $ac_count -gt 10 && break
4419
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4422
$ac_path_SED_found && break 3
4427
if test -z "$ac_cv_path_SED"; then
4428
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4436
$as_echo "$ac_cv_path_SED" >&6; }
4437
SED="$ac_cv_path_SED"
4440
test -z "$SED" && SED=sed
4441
Xsed="$SED -e 1s/^X//"
4453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4454
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4455
if ${ac_cv_path_GREP+:} false; then :
4456
$as_echo_n "(cached) " >&6
4458
if test -z "$GREP"; then
4459
ac_path_GREP_found=false
4460
# Loop through the user's path and test for each of PROGNAME-LIST
4461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4462
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4465
test -z "$as_dir" && as_dir=.
4466
for ac_prog in grep ggrep; do
4467
for ac_exec_ext in '' $ac_executable_extensions; do
4468
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4469
as_fn_executable_p "$ac_path_GREP" || continue
4470
# Check for GNU ac_path_GREP and select it if it is found.
4471
# Check for GNU $ac_path_GREP
4472
case `"$ac_path_GREP" --version 2>&1` in
4474
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4477
$as_echo_n 0123456789 >"conftest.in"
4480
cat "conftest.in" "conftest.in" >"conftest.tmp"
4481
mv "conftest.tmp" "conftest.in"
4482
cp "conftest.in" "conftest.nl"
4483
$as_echo 'GREP' >> "conftest.nl"
4484
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4485
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4486
as_fn_arith $ac_count + 1 && ac_count=$as_val
4487
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4488
# Best one so far, save it but keep looking for a better one
4489
ac_cv_path_GREP="$ac_path_GREP"
4490
ac_path_GREP_max=$ac_count
4492
# 10*(2^10) chars as input seems more than enough
4493
test $ac_count -gt 10 && break
4495
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4498
$ac_path_GREP_found && break 3
4503
if test -z "$ac_cv_path_GREP"; then
4504
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4507
ac_cv_path_GREP=$GREP
4511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4512
$as_echo "$ac_cv_path_GREP" >&6; }
4513
GREP="$ac_cv_path_GREP"
4516
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4517
$as_echo_n "checking for egrep... " >&6; }
4518
if ${ac_cv_path_EGREP+:} false; then :
4519
$as_echo_n "(cached) " >&6
4521
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4522
then ac_cv_path_EGREP="$GREP -E"
4524
if test -z "$EGREP"; then
4525
ac_path_EGREP_found=false
4526
# Loop through the user's path and test for each of PROGNAME-LIST
4527
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4531
test -z "$as_dir" && as_dir=.
4532
for ac_prog in egrep; do
4533
for ac_exec_ext in '' $ac_executable_extensions; do
4534
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4535
as_fn_executable_p "$ac_path_EGREP" || continue
4536
# Check for GNU ac_path_EGREP and select it if it is found.
4537
# Check for GNU $ac_path_EGREP
4538
case `"$ac_path_EGREP" --version 2>&1` in
4540
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4543
$as_echo_n 0123456789 >"conftest.in"
4546
cat "conftest.in" "conftest.in" >"conftest.tmp"
4547
mv "conftest.tmp" "conftest.in"
4548
cp "conftest.in" "conftest.nl"
4549
$as_echo 'EGREP' >> "conftest.nl"
4550
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4551
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4552
as_fn_arith $ac_count + 1 && ac_count=$as_val
4553
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4554
# Best one so far, save it but keep looking for a better one
4555
ac_cv_path_EGREP="$ac_path_EGREP"
4556
ac_path_EGREP_max=$ac_count
4558
# 10*(2^10) chars as input seems more than enough
4559
test $ac_count -gt 10 && break
4561
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4564
$ac_path_EGREP_found && break 3
4569
if test -z "$ac_cv_path_EGREP"; then
4570
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4573
ac_cv_path_EGREP=$EGREP
4578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4579
$as_echo "$ac_cv_path_EGREP" >&6; }
4580
EGREP="$ac_cv_path_EGREP"
4583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4584
$as_echo_n "checking for fgrep... " >&6; }
4585
if ${ac_cv_path_FGREP+:} false; then :
4586
$as_echo_n "(cached) " >&6
4588
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4589
then ac_cv_path_FGREP="$GREP -F"
4591
if test -z "$FGREP"; then
4592
ac_path_FGREP_found=false
4593
# Loop through the user's path and test for each of PROGNAME-LIST
4594
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4598
test -z "$as_dir" && as_dir=.
4599
for ac_prog in fgrep; do
4600
for ac_exec_ext in '' $ac_executable_extensions; do
4601
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4602
as_fn_executable_p "$ac_path_FGREP" || continue
4603
# Check for GNU ac_path_FGREP and select it if it is found.
4604
# Check for GNU $ac_path_FGREP
4605
case `"$ac_path_FGREP" --version 2>&1` in
4607
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4610
$as_echo_n 0123456789 >"conftest.in"
4613
cat "conftest.in" "conftest.in" >"conftest.tmp"
4614
mv "conftest.tmp" "conftest.in"
4615
cp "conftest.in" "conftest.nl"
4616
$as_echo 'FGREP' >> "conftest.nl"
4617
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4618
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4619
as_fn_arith $ac_count + 1 && ac_count=$as_val
4620
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4621
# Best one so far, save it but keep looking for a better one
4622
ac_cv_path_FGREP="$ac_path_FGREP"
4623
ac_path_FGREP_max=$ac_count
4625
# 10*(2^10) chars as input seems more than enough
4626
test $ac_count -gt 10 && break
4628
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4631
$ac_path_FGREP_found && break 3
4636
if test -z "$ac_cv_path_FGREP"; then
4637
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4640
ac_cv_path_FGREP=$FGREP
4645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4646
$as_echo "$ac_cv_path_FGREP" >&6; }
4647
FGREP="$ac_cv_path_FGREP"
4650
test -z "$GREP" && GREP=grep
4670
# Check whether --with-gnu-ld was given.
4671
if test "${with_gnu_ld+set}" = set; then :
4672
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4678
if test "$GCC" = yes; then
4679
# Check if gcc -print-prog-name=ld gives a path.
4680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4681
$as_echo_n "checking for ld used by $CC... " >&6; }
4684
# gcc leaves a trailing carriage return which upsets mingw
4685
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4687
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4690
# Accept absolute paths.
4692
re_direlt='/[^/][^/]*/\.\./'
4693
# Canonicalize the pathname of ld
4694
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4695
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4696
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4698
test -z "$LD" && LD="$ac_prog"
4701
# If it fails, then pretend we aren't using GCC.
4705
# If it is relative, then search for the first ld in PATH.
4709
elif test "$with_gnu_ld" = yes; then
4710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4711
$as_echo_n "checking for GNU ld... " >&6; }
4713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4714
$as_echo_n "checking for non-GNU ld... " >&6; }
4716
if ${lt_cv_path_LD+:} false; then :
4717
$as_echo_n "(cached) " >&6
4719
if test -z "$LD"; then
4720
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4721
for ac_dir in $PATH; do
4723
test -z "$ac_dir" && ac_dir=.
4724
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4725
lt_cv_path_LD="$ac_dir/$ac_prog"
4726
# Check to see if the program is GNU ld. I'd rather use --version,
4727
# but apparently some variants of GNU ld only accept -v.
4728
# Break only if it was the GNU/non-GNU ld that we prefer.
4729
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4730
*GNU* | *'with BFD'*)
4731
test "$with_gnu_ld" != no && break
4734
test "$with_gnu_ld" != yes && break
4741
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4746
if test -n "$LD"; then
4747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4748
$as_echo "$LD" >&6; }
4750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751
$as_echo "no" >&6; }
4753
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4755
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4756
if ${lt_cv_prog_gnu_ld+:} false; then :
4757
$as_echo_n "(cached) " >&6
4759
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4760
case `$LD -v 2>&1 </dev/null` in
4761
*GNU* | *'with BFD'*)
4762
lt_cv_prog_gnu_ld=yes
4765
lt_cv_prog_gnu_ld=no
4769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4770
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4771
with_gnu_ld=$lt_cv_prog_gnu_ld
4781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4782
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4783
if ${lt_cv_path_NM+:} false; then :
4784
$as_echo_n "(cached) " >&6
4786
if test -n "$NM"; then
4787
# Let the user override the test.
4790
lt_nm_to_check="${ac_tool_prefix}nm"
4791
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4792
lt_nm_to_check="$lt_nm_to_check nm"
4794
for lt_tmp_nm in $lt_nm_to_check; do
4795
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4796
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4798
test -z "$ac_dir" && ac_dir=.
4799
tmp_nm="$ac_dir/$lt_tmp_nm"
4800
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4801
# Check to see if the nm accepts a BSD-compat flag.
4802
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4803
# nm: unknown option "B" ignored
4804
# Tru64's nm complains that /dev/null is an invalid object file
4805
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4806
*/dev/null* | *'Invalid file or object type'*)
4807
lt_cv_path_NM="$tmp_nm -B"
4811
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4813
lt_cv_path_NM="$tmp_nm -p"
4817
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4818
continue # so that we can try to find one that supports BSD flags
4827
: ${lt_cv_path_NM=no}
4830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4831
$as_echo "$lt_cv_path_NM" >&6; }
4832
if test "$lt_cv_path_NM" != "no"; then
4835
# Didn't find any BSD compatible name lister, look for dumpbin.
4836
if test -n "$DUMPBIN"; then :
4837
# Let the user override the test.
4839
if test -n "$ac_tool_prefix"; then
4840
for ac_prog in dumpbin "link -dump"
4842
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4843
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845
$as_echo_n "checking for $ac_word... " >&6; }
4846
if ${ac_cv_prog_DUMPBIN+:} false; then :
4847
$as_echo_n "(cached) " >&6
4849
if test -n "$DUMPBIN"; then
4850
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4856
test -z "$as_dir" && as_dir=.
4857
for ac_exec_ext in '' $ac_executable_extensions; do
4858
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4859
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4860
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4869
DUMPBIN=$ac_cv_prog_DUMPBIN
4870
if test -n "$DUMPBIN"; then
4871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4872
$as_echo "$DUMPBIN" >&6; }
4874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875
$as_echo "no" >&6; }
4879
test -n "$DUMPBIN" && break
4882
if test -z "$DUMPBIN"; then
4883
ac_ct_DUMPBIN=$DUMPBIN
4884
for ac_prog in dumpbin "link -dump"
4886
# Extract the first word of "$ac_prog", so it can be a program name with args.
4887
set dummy $ac_prog; ac_word=$2
4888
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889
$as_echo_n "checking for $ac_word... " >&6; }
4890
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4891
$as_echo_n "(cached) " >&6
4893
if test -n "$ac_ct_DUMPBIN"; then
4894
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4896
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4900
test -z "$as_dir" && as_dir=.
4901
for ac_exec_ext in '' $ac_executable_extensions; do
4902
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4904
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4914
if test -n "$ac_ct_DUMPBIN"; then
4915
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4916
$as_echo "$ac_ct_DUMPBIN" >&6; }
4918
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919
$as_echo "no" >&6; }
4923
test -n "$ac_ct_DUMPBIN" && break
4926
if test "x$ac_ct_DUMPBIN" = x; then
4929
case $cross_compiling:$ac_tool_warned in
4931
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4932
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4933
ac_tool_warned=yes ;;
4935
DUMPBIN=$ac_ct_DUMPBIN
4939
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4941
DUMPBIN="$DUMPBIN -symbols"
4949
if test "$DUMPBIN" != ":"; then
4953
test -z "$NM" && NM=nm
4960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4961
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4962
if ${lt_cv_nm_interface+:} false; then :
4963
$as_echo_n "(cached) " >&6
4965
lt_cv_nm_interface="BSD nm"
4966
echo "int some_variable = 0;" > conftest.$ac_ext
4967
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4968
(eval "$ac_compile" 2>conftest.err)
4969
cat conftest.err >&5
4970
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4971
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4972
cat conftest.err >&5
4973
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4974
cat conftest.out >&5
4975
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4976
lt_cv_nm_interface="MS dumpbin"
4980
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4981
$as_echo "$lt_cv_nm_interface" >&6; }
4983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4984
$as_echo_n "checking whether ln -s works... " >&6; }
4986
if test "$LN_S" = "ln -s"; then
4987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4988
$as_echo "yes" >&6; }
4990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4991
$as_echo "no, using $LN_S" >&6; }
4994
# find the maximum length of command line arguments
4995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4996
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4997
if ${lt_cv_sys_max_cmd_len+:} false; then :
4998
$as_echo_n "(cached) " >&6
5005
# On DJGPP, this test can blow up pretty badly due to problems in libc
5006
# (any single argument exceeding 2000 bytes causes a buffer overrun
5007
# during glob expansion). Even if it were fixed, the result of this
5008
# check would be larger than it should be.
5009
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5013
# Under GNU Hurd, this test is not required because there is
5014
# no limit to the length of command line arguments.
5015
# Libtool will interpret -1 as no limit whatsoever
5016
lt_cv_sys_max_cmd_len=-1;
5019
cygwin* | mingw* | cegcc*)
5020
# On Win9x/ME, this test blows up -- it succeeds, but takes
5021
# about 5 minutes as the teststring grows exponentially.
5022
# Worse, since 9x/ME are not pre-emptively multitasking,
5023
# you end up with a "frozen" computer, even though with patience
5024
# the test eventually succeeds (with a max line length of 256k).
5025
# Instead, let's just punt: use the minimum linelength reported by
5026
# all of the supported platforms: 8192 (on NT/2K/XP).
5027
lt_cv_sys_max_cmd_len=8192;
5031
# On MiNT this can take a long time and run out of memory.
5032
lt_cv_sys_max_cmd_len=8192;
5036
# On AmigaOS with pdksh, this test takes hours, literally.
5037
# So we just punt and use a minimum line length of 8192.
5038
lt_cv_sys_max_cmd_len=8192;
5041
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5042
# This has been around since 386BSD, at least. Likely further.
5043
if test -x /sbin/sysctl; then
5044
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5045
elif test -x /usr/sbin/sysctl; then
5046
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5048
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5050
# And add a safety zone
5051
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5052
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5056
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5057
lt_cv_sys_max_cmd_len=196608
5061
# The test takes a long time on OS/2.
5062
lt_cv_sys_max_cmd_len=8192
5066
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5067
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5068
# nice to cause kernel panics so lets avoid the loop below.
5069
# First set a reasonable default.
5070
lt_cv_sys_max_cmd_len=16384
5072
if test -x /sbin/sysconfig; then
5073
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5074
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5079
lt_cv_sys_max_cmd_len=102400
5081
sysv5* | sco5v6* | sysv4.2uw2*)
5082
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5083
if test -n "$kargmax"; then
5084
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5086
lt_cv_sys_max_cmd_len=32768
5090
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5091
if test -n "$lt_cv_sys_max_cmd_len"; then
5092
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5093
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5095
# Make teststring a little bigger before we do anything with it.
5096
# a 1K string should be a reasonable start.
5097
for i in 1 2 3 4 5 6 7 8 ; do
5098
teststring=$teststring$teststring
5100
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5101
# If test is not a shell built-in, we'll probably end up computing a
5102
# maximum length that is only half of the actual maximum length, but
5104
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5105
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5106
test $i != 17 # 1/2 MB should be enough
5109
teststring=$teststring$teststring
5111
# Only check the string length outside the loop.
5112
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5114
# Add a significant safety factor because C++ compilers can tack on
5115
# massive amounts of additional arguments before passing them to the
5116
# linker. It appears as though 1/2 is a usable value.
5117
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5124
if test -n $lt_cv_sys_max_cmd_len ; then
5125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5126
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5129
$as_echo "none" >&6; }
5131
max_cmd_len=$lt_cv_sys_max_cmd_len
5142
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5143
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5144
# Try some XSI features
5147
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5149
&& eval 'test $(( 1 + 1 )) -eq 2 \
5150
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5153
$as_echo "$xsi_shell" >&6; }
5156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5157
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5159
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5161
&& lt_shell_append=yes
5162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5163
$as_echo "$lt_shell_append" >&6; }
5166
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5176
# test EBCDIC or ASCII
5177
case `echo X|tr X '\101'` in
5178
A) # ASCII based system
5179
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5180
lt_SP2NL='tr \040 \012'
5181
lt_NL2SP='tr \015\012 \040\040'
5183
*) # EBCDIC based system
5184
lt_SP2NL='tr \100 \n'
5185
lt_NL2SP='tr \r\n \100\100'
5197
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5198
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5199
if ${lt_cv_to_host_file_cmd+:} false; then :
5200
$as_echo_n "(cached) " >&6
5205
*-*-mingw* ) # actually msys
5206
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5209
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5211
* ) # otherwise, assume *nix
5212
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5218
*-*-mingw* ) # actually msys
5219
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5222
lt_cv_to_host_file_cmd=func_convert_file_noop
5224
* ) # otherwise, assume *nix
5225
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5229
* ) # unhandled hosts (and "normal" native builds)
5230
lt_cv_to_host_file_cmd=func_convert_file_noop
5236
to_host_file_cmd=$lt_cv_to_host_file_cmd
5237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5238
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5245
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5246
if ${lt_cv_to_tool_file_cmd+:} false; then :
5247
$as_echo_n "(cached) " >&6
5249
#assume ordinary cross tools, or native build.
5250
lt_cv_to_tool_file_cmd=func_convert_file_noop
5254
*-*-mingw* ) # actually msys
5255
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5263
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5264
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5265
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5271
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5272
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5273
if ${lt_cv_ld_reload_flag+:} false; then :
5274
$as_echo_n "(cached) " >&6
5276
lt_cv_ld_reload_flag='-r'
5278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5279
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5280
reload_flag=$lt_cv_ld_reload_flag
5281
case $reload_flag in
5283
*) reload_flag=" $reload_flag" ;;
5285
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5287
cygwin* | mingw* | pw32* | cegcc*)
5288
if test "$GCC" != yes; then
5293
if test "$GCC" = yes; then
5294
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5296
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5309
if test -n "$ac_tool_prefix"; then
5310
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5311
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5312
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5313
$as_echo_n "checking for $ac_word... " >&6; }
5314
if ${ac_cv_prog_OBJDUMP+:} false; then :
5315
$as_echo_n "(cached) " >&6
5317
if test -n "$OBJDUMP"; then
5318
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5320
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5324
test -z "$as_dir" && as_dir=.
5325
for ac_exec_ext in '' $ac_executable_extensions; do
5326
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5328
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5337
OBJDUMP=$ac_cv_prog_OBJDUMP
5338
if test -n "$OBJDUMP"; then
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5340
$as_echo "$OBJDUMP" >&6; }
5342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5343
$as_echo "no" >&6; }
5348
if test -z "$ac_cv_prog_OBJDUMP"; then
5349
ac_ct_OBJDUMP=$OBJDUMP
5350
# Extract the first word of "objdump", so it can be a program name with args.
5351
set dummy objdump; ac_word=$2
5352
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5353
$as_echo_n "checking for $ac_word... " >&6; }
5354
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5355
$as_echo_n "(cached) " >&6
5357
if test -n "$ac_ct_OBJDUMP"; then
5358
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5360
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5364
test -z "$as_dir" && as_dir=.
5365
for ac_exec_ext in '' $ac_executable_extensions; do
5366
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5367
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5368
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5377
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5378
if test -n "$ac_ct_OBJDUMP"; then
5379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5380
$as_echo "$ac_ct_OBJDUMP" >&6; }
5382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5383
$as_echo "no" >&6; }
5386
if test "x$ac_ct_OBJDUMP" = x; then
5389
case $cross_compiling:$ac_tool_warned in
5391
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5392
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5393
ac_tool_warned=yes ;;
5395
OBJDUMP=$ac_ct_OBJDUMP
5398
OBJDUMP="$ac_cv_prog_OBJDUMP"
5401
test -z "$OBJDUMP" && OBJDUMP=objdump
5411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5412
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5413
if ${lt_cv_deplibs_check_method+:} false; then :
5414
$as_echo_n "(cached) " >&6
5416
lt_cv_file_magic_cmd='$MAGIC_CMD'
5417
lt_cv_file_magic_test_file=
5418
lt_cv_deplibs_check_method='unknown'
5419
# Need to set the preceding variable on all platforms that support
5420
# interlibrary dependencies.
5421
# 'none' -- dependencies not supported.
5422
# `unknown' -- same as none, but documents that we really don't know.
5423
# 'pass_all' -- all dependencies passed with no checks.
5424
# 'test_compile' -- check by making test program.
5425
# 'file_magic [[regex]]' -- check by looking for files in library path
5426
# which responds to the $file_magic_cmd with a given extended regex.
5427
# If you have `file' or equivalent on your system and you're not sure
5428
# whether `pass_all' will *always* work, you probably want this one.
5432
lt_cv_deplibs_check_method=pass_all
5436
lt_cv_deplibs_check_method=pass_all
5440
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5441
lt_cv_file_magic_cmd='/usr/bin/file -L'
5442
lt_cv_file_magic_test_file=/shlib/libc.so
5446
# func_win32_libid is a shell function defined in ltmain.sh
5447
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5448
lt_cv_file_magic_cmd='func_win32_libid'
5452
# Base MSYS/MinGW do not provide the 'file' command needed by
5453
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5454
# unless we find 'file', for example because we are cross-compiling.
5455
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5456
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5457
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5458
lt_cv_file_magic_cmd='func_win32_libid'
5460
# Keep this pattern in sync with the one in func_win32_libid.
5461
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5462
lt_cv_file_magic_cmd='$OBJDUMP -f'
5467
# use the weaker test based on 'objdump'. See mingw*.
5468
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5469
lt_cv_file_magic_cmd='$OBJDUMP -f'
5472
darwin* | rhapsody*)
5473
lt_cv_deplibs_check_method=pass_all
5476
freebsd* | dragonfly*)
5477
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5480
# Not sure whether the presence of OpenBSD here was a mistake.
5481
# Let's accept both of them until this is cleared up.
5482
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5483
lt_cv_file_magic_cmd=/usr/bin/file
5484
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5488
lt_cv_deplibs_check_method=pass_all
5493
lt_cv_deplibs_check_method=pass_all
5497
lt_cv_deplibs_check_method=pass_all
5500
hpux10.20* | hpux11*)
5501
lt_cv_file_magic_cmd=/usr/bin/file
5504
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5505
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5508
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]'
5509
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5512
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5513
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5519
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5520
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5523
irix5* | irix6* | nonstopux*)
5525
*-32|*"-32 ") libmagic=32-bit;;
5526
*-n32|*"-n32 ") libmagic=N32;;
5527
*-64|*"-64 ") libmagic=64-bit;;
5528
*) libmagic=never-match;;
5530
lt_cv_deplibs_check_method=pass_all
5533
# This must be glibc/ELF.
5534
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5535
lt_cv_deplibs_check_method=pass_all
5538
netbsd* | netbsdelf*-gnu)
5539
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5540
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5542
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5547
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5548
lt_cv_file_magic_cmd=/usr/bin/file
5549
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5553
lt_cv_deplibs_check_method=pass_all
5557
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5558
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5560
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5564
osf3* | osf4* | osf5*)
5565
lt_cv_deplibs_check_method=pass_all
5569
lt_cv_deplibs_check_method=pass_all
5573
lt_cv_deplibs_check_method=pass_all
5576
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5577
lt_cv_deplibs_check_method=pass_all
5581
case $host_vendor in
5583
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]'
5584
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5587
lt_cv_deplibs_check_method=pass_all
5590
lt_cv_file_magic_cmd='/bin/file'
5591
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5594
lt_cv_file_magic_cmd='/bin/file'
5595
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5596
lt_cv_file_magic_test_file=/lib/libc.so
5599
lt_cv_deplibs_check_method=pass_all
5602
lt_cv_deplibs_check_method=pass_all
5608
lt_cv_deplibs_check_method=pass_all
5613
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5614
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5618
if test "$build" = "$host"; then
5621
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5624
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5630
file_magic_cmd=$lt_cv_file_magic_cmd
5631
deplibs_check_method=$lt_cv_deplibs_check_method
5632
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5655
if test -n "$ac_tool_prefix"; then
5656
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5657
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5659
$as_echo_n "checking for $ac_word... " >&6; }
5660
if ${ac_cv_prog_DLLTOOL+:} false; then :
5661
$as_echo_n "(cached) " >&6
5663
if test -n "$DLLTOOL"; then
5664
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5666
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670
test -z "$as_dir" && as_dir=.
5671
for ac_exec_ext in '' $ac_executable_extensions; do
5672
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5673
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5674
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5683
DLLTOOL=$ac_cv_prog_DLLTOOL
5684
if test -n "$DLLTOOL"; then
5685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5686
$as_echo "$DLLTOOL" >&6; }
5688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5689
$as_echo "no" >&6; }
5694
if test -z "$ac_cv_prog_DLLTOOL"; then
5695
ac_ct_DLLTOOL=$DLLTOOL
5696
# Extract the first word of "dlltool", so it can be a program name with args.
5697
set dummy dlltool; ac_word=$2
5698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5699
$as_echo_n "checking for $ac_word... " >&6; }
5700
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5701
$as_echo_n "(cached) " >&6
5703
if test -n "$ac_ct_DLLTOOL"; then
5704
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5706
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710
test -z "$as_dir" && as_dir=.
5711
for ac_exec_ext in '' $ac_executable_extensions; do
5712
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5714
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5723
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5724
if test -n "$ac_ct_DLLTOOL"; then
5725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5726
$as_echo "$ac_ct_DLLTOOL" >&6; }
5728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5729
$as_echo "no" >&6; }
5732
if test "x$ac_ct_DLLTOOL" = x; then
5735
case $cross_compiling:$ac_tool_warned in
5737
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5738
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5739
ac_tool_warned=yes ;;
5741
DLLTOOL=$ac_ct_DLLTOOL
5744
DLLTOOL="$ac_cv_prog_DLLTOOL"
5747
test -z "$DLLTOOL" && DLLTOOL=dlltool
5758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5759
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5760
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5761
$as_echo_n "(cached) " >&6
5763
lt_cv_sharedlib_from_linklib_cmd='unknown'
5766
cygwin* | mingw* | pw32* | cegcc*)
5767
# two different shell functions defined in ltmain.sh
5768
# decide which to use based on capabilities of $DLLTOOL
5769
case `$DLLTOOL --help 2>&1` in
5770
*--identify-strict*)
5771
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5774
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5779
# fallback: assume linklib IS sharedlib
5780
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5786
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5787
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5788
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5797
if test -n "$ac_tool_prefix"; then
5800
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5801
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5803
$as_echo_n "checking for $ac_word... " >&6; }
5804
if ${ac_cv_prog_AR+:} false; then :
5805
$as_echo_n "(cached) " >&6
5807
if test -n "$AR"; then
5808
ac_cv_prog_AR="$AR" # Let the user override the test.
5810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5814
test -z "$as_dir" && as_dir=.
5815
for ac_exec_ext in '' $ac_executable_extensions; do
5816
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5817
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5818
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828
if test -n "$AR"; then
5829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5830
$as_echo "$AR" >&6; }
5832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5833
$as_echo "no" >&6; }
5837
test -n "$AR" && break
5840
if test -z "$AR"; then
5844
# Extract the first word of "$ac_prog", so it can be a program name with args.
5845
set dummy $ac_prog; ac_word=$2
5846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847
$as_echo_n "checking for $ac_word... " >&6; }
5848
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5849
$as_echo_n "(cached) " >&6
5851
if test -n "$ac_ct_AR"; then
5852
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5854
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5858
test -z "$as_dir" && as_dir=.
5859
for ac_exec_ext in '' $ac_executable_extensions; do
5860
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5861
ac_cv_prog_ac_ct_AR="$ac_prog"
5862
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5871
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5872
if test -n "$ac_ct_AR"; then
5873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5874
$as_echo "$ac_ct_AR" >&6; }
5876
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5877
$as_echo "no" >&6; }
5881
test -n "$ac_ct_AR" && break
5884
if test "x$ac_ct_AR" = x; then
5887
case $cross_compiling:$ac_tool_warned in
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5890
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5891
ac_tool_warned=yes ;;
5910
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5911
$as_echo_n "checking for archiver @FILE support... " >&6; }
5912
if ${lt_cv_ar_at_file+:} false; then :
5913
$as_echo_n "(cached) " >&6
5916
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5917
/* end confdefs.h. */
5927
if ac_fn_c_try_compile "$LINENO"; then :
5928
echo conftest.$ac_objext > conftest.lst
5929
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5930
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5931
(eval $lt_ar_try) 2>&5
5933
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5934
test $ac_status = 0; }
5935
if test "$ac_status" -eq 0; then
5936
# Ensure the archiver fails upon bogus file names.
5937
rm -f conftest.$ac_objext libconftest.a
5938
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5939
(eval $lt_ar_try) 2>&5
5941
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5942
test $ac_status = 0; }
5943
if test "$ac_status" -ne 0; then
5947
rm -f conftest.* libconftest.a
5950
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5953
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5954
$as_echo "$lt_cv_ar_at_file" >&6; }
5956
if test "x$lt_cv_ar_at_file" = xno; then
5959
archiver_list_spec=$lt_cv_ar_at_file
5968
if test -n "$ac_tool_prefix"; then
5969
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5970
set dummy ${ac_tool_prefix}strip; ac_word=$2
5971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5972
$as_echo_n "checking for $ac_word... " >&6; }
5973
if ${ac_cv_prog_STRIP+:} false; then :
5974
$as_echo_n "(cached) " >&6
5976
if test -n "$STRIP"; then
5977
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5979
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5983
test -z "$as_dir" && as_dir=.
5984
for ac_exec_ext in '' $ac_executable_extensions; do
5985
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5986
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5987
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996
STRIP=$ac_cv_prog_STRIP
5997
if test -n "$STRIP"; then
5998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5999
$as_echo "$STRIP" >&6; }
6001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6002
$as_echo "no" >&6; }
6007
if test -z "$ac_cv_prog_STRIP"; then
6009
# Extract the first word of "strip", so it can be a program name with args.
6010
set dummy strip; ac_word=$2
6011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6012
$as_echo_n "checking for $ac_word... " >&6; }
6013
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6014
$as_echo_n "(cached) " >&6
6016
if test -n "$ac_ct_STRIP"; then
6017
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023
test -z "$as_dir" && as_dir=.
6024
for ac_exec_ext in '' $ac_executable_extensions; do
6025
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026
ac_cv_prog_ac_ct_STRIP="strip"
6027
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6036
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6037
if test -n "$ac_ct_STRIP"; then
6038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6039
$as_echo "$ac_ct_STRIP" >&6; }
6041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6042
$as_echo "no" >&6; }
6045
if test "x$ac_ct_STRIP" = x; then
6048
case $cross_compiling:$ac_tool_warned in
6050
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6051
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6052
ac_tool_warned=yes ;;
6057
STRIP="$ac_cv_prog_STRIP"
6060
test -z "$STRIP" && STRIP=:
6067
if test -n "$ac_tool_prefix"; then
6068
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6069
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6071
$as_echo_n "checking for $ac_word... " >&6; }
6072
if ${ac_cv_prog_RANLIB+:} false; then :
6073
$as_echo_n "(cached) " >&6
6075
if test -n "$RANLIB"; then
6076
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6082
test -z "$as_dir" && as_dir=.
6083
for ac_exec_ext in '' $ac_executable_extensions; do
6084
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6085
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6086
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6095
RANLIB=$ac_cv_prog_RANLIB
6096
if test -n "$RANLIB"; then
6097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6098
$as_echo "$RANLIB" >&6; }
6100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6101
$as_echo "no" >&6; }
6106
if test -z "$ac_cv_prog_RANLIB"; then
6107
ac_ct_RANLIB=$RANLIB
6108
# Extract the first word of "ranlib", so it can be a program name with args.
6109
set dummy ranlib; ac_word=$2
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6111
$as_echo_n "checking for $ac_word... " >&6; }
6112
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6113
$as_echo_n "(cached) " >&6
6115
if test -n "$ac_ct_RANLIB"; then
6116
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6118
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6122
test -z "$as_dir" && as_dir=.
6123
for ac_exec_ext in '' $ac_executable_extensions; do
6124
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6125
ac_cv_prog_ac_ct_RANLIB="ranlib"
6126
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6135
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6136
if test -n "$ac_ct_RANLIB"; then
6137
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6138
$as_echo "$ac_ct_RANLIB" >&6; }
6140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6141
$as_echo "no" >&6; }
6144
if test "x$ac_ct_RANLIB" = x; then
6147
case $cross_compiling:$ac_tool_warned in
6149
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6150
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6151
ac_tool_warned=yes ;;
6153
RANLIB=$ac_ct_RANLIB
6156
RANLIB="$ac_cv_prog_RANLIB"
6159
test -z "$RANLIB" && RANLIB=:
6166
# Determine commands to create old-style static archives.
6167
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6168
old_postinstall_cmds='chmod 644 $oldlib'
6169
old_postuninstall_cmds=
6171
if test -n "$RANLIB"; then
6174
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6177
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6180
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6185
lock_old_archive_extraction=yes ;;
6187
lock_old_archive_extraction=no ;;
6228
# If no C compiler was specified, use CC.
6231
# If no C compiler flags were specified, use CFLAGS.
6232
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6234
# Allow CC to be a program name with arguments.
6238
# Check for command to grab the raw symbol name followed by C symbol from nm.
6239
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6240
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6241
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6242
$as_echo_n "(cached) " >&6
6245
# These are sane defaults that work on at least a few old systems.
6246
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6248
# Character class describing NM global symbol codes.
6249
symcode='[BCDEGRST]'
6251
# Regexp to match symbols that can be accessed directly from C.
6252
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6254
# Define system-specific variables.
6259
cygwin* | mingw* | pw32* | cegcc*)
6260
symcode='[ABCDGISTW]'
6263
if test "$host_cpu" = ia64; then
6264
symcode='[ABCDEGRST]'
6268
symcode='[BCDEGRST]'
6271
symcode='[BCDEGQRST]'
6282
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6290
# If we're using GNU nm, then use its standard symbol codes.
6291
case `$NM -V 2>&1` in
6292
*GNU* | *'with BFD'*)
6293
symcode='[ABCDGIRSTW]' ;;
6296
# Transform an extracted symbol line into a proper C declaration.
6297
# Some systems (esp. on ia64) link data and code symbols differently,
6298
# so use this general approach.
6299
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6301
# Transform an extracted symbol line into symbol name and symbol address
6302
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6303
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'"
6305
# Handle CRLF in mingw tool chain
6309
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6313
# Try without a prefix underscore, then with it.
6314
for ac_symprfx in "" "_"; do
6316
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6317
symxfrm="\\1 $ac_symprfx\\2 \\2"
6319
# Write the raw and C identifiers.
6320
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6321
# Fake it for dumpbin and say T for any non-static function
6322
# and D for any global variable.
6323
# Also find C++ and __fastcall symbols from MSVC++,
6324
# which start with @ or ?.
6325
lt_cv_sys_global_symbol_pipe="$AWK '"\
6326
" {last_section=section; section=\$ 3};"\
6327
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6328
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6329
" \$ 0!~/External *\|/{next};"\
6330
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6331
" {if(hide[section]) next};"\
6332
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6333
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6334
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6335
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6336
" ' prfx=^$ac_symprfx"
6338
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6340
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6342
# Check to see that the pipe works correctly.
6346
cat > conftest.$ac_ext <<_LT_EOF
6351
void nm_test_func(void);
6352
void nm_test_func(void){}
6356
int main(){nm_test_var='a';nm_test_func();return(0);}
6359
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6360
(eval $ac_compile) 2>&5
6362
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6363
test $ac_status = 0; }; then
6364
# Now try to grab the symbols.
6366
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6367
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6369
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6370
test $ac_status = 0; } && test -s "$nlist"; then
6371
# Try sorting and uniquifying the output.
6372
if sort "$nlist" | uniq > "$nlist"T; then
6373
mv -f "$nlist"T "$nlist"
6378
# Make sure that we snagged all the symbols we need.
6379
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6380
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6381
cat <<_LT_EOF > conftest.$ac_ext
6382
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6383
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6384
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6385
relocations are performed -- see ld's documentation on pseudo-relocs. */
6386
# define LT_DLSYM_CONST
6387
#elif defined(__osf__)
6388
/* This system does not cope well with relocations in const data. */
6389
# define LT_DLSYM_CONST
6391
# define LT_DLSYM_CONST const
6399
# Now generate the symbol file.
6400
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6402
cat <<_LT_EOF >> conftest.$ac_ext
6404
/* The mapping between symbol names and symbols. */
6405
LT_DLSYM_CONST struct {
6409
lt__PROGRAM__LTX_preloaded_symbols[] =
6411
{ "@PROGRAM@", (void *) 0 },
6413
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6414
cat <<\_LT_EOF >> conftest.$ac_ext
6418
/* This works around a problem in FreeBSD linker */
6419
#ifdef FREEBSD_WORKAROUND
6420
static const void *lt_preloaded_setup() {
6421
return lt__PROGRAM__LTX_preloaded_symbols;
6429
# Now try linking the two files.
6430
mv conftest.$ac_objext conftstm.$ac_objext
6431
lt_globsym_save_LIBS=$LIBS
6432
lt_globsym_save_CFLAGS=$CFLAGS
6433
LIBS="conftstm.$ac_objext"
6434
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6435
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6436
(eval $ac_link) 2>&5
6438
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6439
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6442
LIBS=$lt_globsym_save_LIBS
6443
CFLAGS=$lt_globsym_save_CFLAGS
6445
echo "cannot find nm_test_func in $nlist" >&5
6448
echo "cannot find nm_test_var in $nlist" >&5
6451
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6454
echo "$progname: failed program was:" >&5
6455
cat conftest.$ac_ext >&5
6457
rm -rf conftest* conftst*
6459
# Do not use the global_symbol_pipe unless it works.
6460
if test "$pipe_works" = yes; then
6463
lt_cv_sys_global_symbol_pipe=
6469
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6470
lt_cv_sys_global_symbol_to_cdecl=
6472
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6474
$as_echo "failed" >&6; }
6476
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6477
$as_echo "ok" >&6; }
6480
# Response file support.
6481
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6482
nm_file_list_spec='@'
6483
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6484
nm_file_list_spec='@'
6513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6514
$as_echo_n "checking for sysroot... " >&6; }
6516
# Check whether --with-sysroot was given.
6517
if test "${with_sysroot+set}" = set; then :
6518
withval=$with_sysroot;
6525
case ${with_sysroot} in #(
6527
if test "$GCC" = yes; then
6528
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6532
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6538
$as_echo "${with_sysroot}" >&6; }
6539
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6544
$as_echo "${lt_sysroot:-no}" >&6; }
6550
# Check whether --enable-libtool-lock was given.
6551
if test "${enable_libtool_lock+set}" = set; then :
6552
enableval=$enable_libtool_lock;
6555
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6557
# Some flags need to be propagated to the compiler or linker for good
6561
# Find out which ABI we are using.
6562
echo 'int i;' > conftest.$ac_ext
6563
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6564
(eval $ac_compile) 2>&5
6566
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6567
test $ac_status = 0; }; then
6568
case `/usr/bin/file conftest.$ac_objext` in
6580
# Find out which ABI we are using.
6581
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6582
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6583
(eval $ac_compile) 2>&5
6585
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6586
test $ac_status = 0; }; then
6587
if test "$lt_cv_prog_gnu_ld" = yes; then
6588
case `/usr/bin/file conftest.$ac_objext` in
6590
LD="${LD-ld} -melf32bsmip"
6593
LD="${LD-ld} -melf32bmipn32"
6596
LD="${LD-ld} -melf64bmip"
6600
case `/usr/bin/file conftest.$ac_objext` in
6616
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6617
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6618
# Find out which ABI we are using.
6619
echo 'int i;' > conftest.$ac_ext
6620
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6621
(eval $ac_compile) 2>&5
6623
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6624
test $ac_status = 0; }; then
6625
case `/usr/bin/file conftest.o` in
6628
x86_64-*kfreebsd*-gnu)
6629
LD="${LD-ld} -m elf_i386_fbsd"
6632
LD="${LD-ld} -m elf_i386"
6634
ppc64-*linux*|powerpc64-*linux*)
6635
LD="${LD-ld} -m elf32ppclinux"
6638
LD="${LD-ld} -m elf_s390"
6641
LD="${LD-ld} -m elf32_sparc"
6647
x86_64-*kfreebsd*-gnu)
6648
LD="${LD-ld} -m elf_x86_64_fbsd"
6651
LD="${LD-ld} -m elf_x86_64"
6653
ppc*-*linux*|powerpc*-*linux*)
6654
LD="${LD-ld} -m elf64ppc"
6656
s390*-*linux*|s390*-*tpf*)
6657
LD="${LD-ld} -m elf64_s390"
6660
LD="${LD-ld} -m elf64_sparc"
6670
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6671
SAVE_CFLAGS="$CFLAGS"
6672
CFLAGS="$CFLAGS -belf"
6673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6674
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6675
if ${lt_cv_cc_needs_belf+:} false; then :
6676
$as_echo_n "(cached) " >&6
6679
ac_cpp='$CPP $CPPFLAGS'
6680
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6681
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6682
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6685
/* end confdefs.h. */
6695
if ac_fn_c_try_link "$LINENO"; then :
6696
lt_cv_cc_needs_belf=yes
6698
lt_cv_cc_needs_belf=no
6700
rm -f core conftest.err conftest.$ac_objext \
6701
conftest$ac_exeext conftest.$ac_ext
6703
ac_cpp='$CPP $CPPFLAGS'
6704
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6705
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6706
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6709
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6710
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6711
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6712
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6713
CFLAGS="$SAVE_CFLAGS"
6717
# Find out which ABI we are using.
6718
echo 'int i;' > conftest.$ac_ext
6719
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6720
(eval $ac_compile) 2>&5
6722
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6723
test $ac_status = 0; }; then
6724
case `/usr/bin/file conftest.o` in
6726
case $lt_cv_prog_gnu_ld in
6730
LD="${LD-ld} -m elf_x86_64"
6733
LD="${LD-ld} -m elf64_sparc"
6736
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6737
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6742
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6754
need_locks="$enable_libtool_lock"
6756
if test -n "$ac_tool_prefix"; then
6757
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6758
set dummy ${ac_tool_prefix}mt; ac_word=$2
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6760
$as_echo_n "checking for $ac_word... " >&6; }
6761
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6762
$as_echo_n "(cached) " >&6
6764
if test -n "$MANIFEST_TOOL"; then
6765
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6767
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771
test -z "$as_dir" && as_dir=.
6772
for ac_exec_ext in '' $ac_executable_extensions; do
6773
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6774
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6775
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6785
if test -n "$MANIFEST_TOOL"; then
6786
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6787
$as_echo "$MANIFEST_TOOL" >&6; }
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790
$as_echo "no" >&6; }
6795
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6796
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6797
# Extract the first word of "mt", so it can be a program name with args.
6798
set dummy mt; ac_word=$2
6799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800
$as_echo_n "checking for $ac_word... " >&6; }
6801
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6802
$as_echo_n "(cached) " >&6
6804
if test -n "$ac_ct_MANIFEST_TOOL"; then
6805
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6807
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6811
test -z "$as_dir" && as_dir=.
6812
for ac_exec_ext in '' $ac_executable_extensions; do
6813
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6814
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6815
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6825
if test -n "$ac_ct_MANIFEST_TOOL"; then
6826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6827
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830
$as_echo "no" >&6; }
6833
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6836
case $cross_compiling:$ac_tool_warned in
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6839
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6840
ac_tool_warned=yes ;;
6842
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6845
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6848
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6850
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6851
if ${lt_cv_path_mainfest_tool+:} false; then :
6852
$as_echo_n "(cached) " >&6
6854
lt_cv_path_mainfest_tool=no
6855
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6856
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6857
cat conftest.err >&5
6858
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6859
lt_cv_path_mainfest_tool=yes
6863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6864
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6865
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6875
rhapsody* | darwin*)
6876
if test -n "$ac_tool_prefix"; then
6877
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6878
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880
$as_echo_n "checking for $ac_word... " >&6; }
6881
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6882
$as_echo_n "(cached) " >&6
6884
if test -n "$DSYMUTIL"; then
6885
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6887
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6891
test -z "$as_dir" && as_dir=.
6892
for ac_exec_ext in '' $ac_executable_extensions; do
6893
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6895
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6904
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6905
if test -n "$DSYMUTIL"; then
6906
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6907
$as_echo "$DSYMUTIL" >&6; }
6909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910
$as_echo "no" >&6; }
6915
if test -z "$ac_cv_prog_DSYMUTIL"; then
6916
ac_ct_DSYMUTIL=$DSYMUTIL
6917
# Extract the first word of "dsymutil", so it can be a program name with args.
6918
set dummy dsymutil; ac_word=$2
6919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920
$as_echo_n "checking for $ac_word... " >&6; }
6921
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6922
$as_echo_n "(cached) " >&6
6924
if test -n "$ac_ct_DSYMUTIL"; then
6925
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931
test -z "$as_dir" && as_dir=.
6932
for ac_exec_ext in '' $ac_executable_extensions; do
6933
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6934
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6945
if test -n "$ac_ct_DSYMUTIL"; then
6946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6947
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6950
$as_echo "no" >&6; }
6953
if test "x$ac_ct_DSYMUTIL" = x; then
6956
case $cross_compiling:$ac_tool_warned in
6958
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6959
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6960
ac_tool_warned=yes ;;
6962
DSYMUTIL=$ac_ct_DSYMUTIL
6965
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6968
if test -n "$ac_tool_prefix"; then
6969
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6970
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6972
$as_echo_n "checking for $ac_word... " >&6; }
6973
if ${ac_cv_prog_NMEDIT+:} false; then :
6974
$as_echo_n "(cached) " >&6
6976
if test -n "$NMEDIT"; then
6977
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6979
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6983
test -z "$as_dir" && as_dir=.
6984
for ac_exec_ext in '' $ac_executable_extensions; do
6985
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6986
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6987
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6996
NMEDIT=$ac_cv_prog_NMEDIT
6997
if test -n "$NMEDIT"; then
6998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6999
$as_echo "$NMEDIT" >&6; }
7001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7002
$as_echo "no" >&6; }
7007
if test -z "$ac_cv_prog_NMEDIT"; then
7008
ac_ct_NMEDIT=$NMEDIT
7009
# Extract the first word of "nmedit", so it can be a program name with args.
7010
set dummy nmedit; ac_word=$2
7011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7012
$as_echo_n "checking for $ac_word... " >&6; }
7013
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7014
$as_echo_n "(cached) " >&6
7016
if test -n "$ac_ct_NMEDIT"; then
7017
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7019
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7023
test -z "$as_dir" && as_dir=.
7024
for ac_exec_ext in '' $ac_executable_extensions; do
7025
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7026
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7027
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7036
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7037
if test -n "$ac_ct_NMEDIT"; then
7038
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7039
$as_echo "$ac_ct_NMEDIT" >&6; }
7041
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7042
$as_echo "no" >&6; }
7045
if test "x$ac_ct_NMEDIT" = x; then
7048
case $cross_compiling:$ac_tool_warned in
7050
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7051
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7052
ac_tool_warned=yes ;;
7054
NMEDIT=$ac_ct_NMEDIT
7057
NMEDIT="$ac_cv_prog_NMEDIT"
7060
if test -n "$ac_tool_prefix"; then
7061
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7062
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7064
$as_echo_n "checking for $ac_word... " >&6; }
7065
if ${ac_cv_prog_LIPO+:} false; then :
7066
$as_echo_n "(cached) " >&6
7068
if test -n "$LIPO"; then
7069
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7071
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7075
test -z "$as_dir" && as_dir=.
7076
for ac_exec_ext in '' $ac_executable_extensions; do
7077
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7078
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7079
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7088
LIPO=$ac_cv_prog_LIPO
7089
if test -n "$LIPO"; then
7090
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7091
$as_echo "$LIPO" >&6; }
7093
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7094
$as_echo "no" >&6; }
7099
if test -z "$ac_cv_prog_LIPO"; then
7101
# Extract the first word of "lipo", so it can be a program name with args.
7102
set dummy lipo; ac_word=$2
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104
$as_echo_n "checking for $ac_word... " >&6; }
7105
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7106
$as_echo_n "(cached) " >&6
7108
if test -n "$ac_ct_LIPO"; then
7109
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7115
test -z "$as_dir" && as_dir=.
7116
for ac_exec_ext in '' $ac_executable_extensions; do
7117
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118
ac_cv_prog_ac_ct_LIPO="lipo"
7119
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7128
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7129
if test -n "$ac_ct_LIPO"; then
7130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7131
$as_echo "$ac_ct_LIPO" >&6; }
7133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134
$as_echo "no" >&6; }
7137
if test "x$ac_ct_LIPO" = x; then
7140
case $cross_compiling:$ac_tool_warned in
7142
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7143
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7144
ac_tool_warned=yes ;;
7149
LIPO="$ac_cv_prog_LIPO"
7152
if test -n "$ac_tool_prefix"; then
7153
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7154
set dummy ${ac_tool_prefix}otool; ac_word=$2
7155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7156
$as_echo_n "checking for $ac_word... " >&6; }
7157
if ${ac_cv_prog_OTOOL+:} false; then :
7158
$as_echo_n "(cached) " >&6
7160
if test -n "$OTOOL"; then
7161
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7163
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7167
test -z "$as_dir" && as_dir=.
7168
for ac_exec_ext in '' $ac_executable_extensions; do
7169
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7170
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7171
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7180
OTOOL=$ac_cv_prog_OTOOL
7181
if test -n "$OTOOL"; then
7182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7183
$as_echo "$OTOOL" >&6; }
7185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7186
$as_echo "no" >&6; }
7191
if test -z "$ac_cv_prog_OTOOL"; then
7193
# Extract the first word of "otool", so it can be a program name with args.
7194
set dummy otool; ac_word=$2
7195
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196
$as_echo_n "checking for $ac_word... " >&6; }
7197
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7198
$as_echo_n "(cached) " >&6
7200
if test -n "$ac_ct_OTOOL"; then
7201
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7203
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7207
test -z "$as_dir" && as_dir=.
7208
for ac_exec_ext in '' $ac_executable_extensions; do
7209
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7210
ac_cv_prog_ac_ct_OTOOL="otool"
7211
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7220
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7221
if test -n "$ac_ct_OTOOL"; then
7222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7223
$as_echo "$ac_ct_OTOOL" >&6; }
7225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7226
$as_echo "no" >&6; }
7229
if test "x$ac_ct_OTOOL" = x; then
7232
case $cross_compiling:$ac_tool_warned in
7234
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7235
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7236
ac_tool_warned=yes ;;
7241
OTOOL="$ac_cv_prog_OTOOL"
7244
if test -n "$ac_tool_prefix"; then
7245
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7246
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7247
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7248
$as_echo_n "checking for $ac_word... " >&6; }
7249
if ${ac_cv_prog_OTOOL64+:} false; then :
7250
$as_echo_n "(cached) " >&6
7252
if test -n "$OTOOL64"; then
7253
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7255
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7259
test -z "$as_dir" && as_dir=.
7260
for ac_exec_ext in '' $ac_executable_extensions; do
7261
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7262
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7263
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7272
OTOOL64=$ac_cv_prog_OTOOL64
7273
if test -n "$OTOOL64"; then
7274
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7275
$as_echo "$OTOOL64" >&6; }
7277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7278
$as_echo "no" >&6; }
7283
if test -z "$ac_cv_prog_OTOOL64"; then
7284
ac_ct_OTOOL64=$OTOOL64
7285
# Extract the first word of "otool64", so it can be a program name with args.
7286
set dummy otool64; ac_word=$2
7287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288
$as_echo_n "checking for $ac_word... " >&6; }
7289
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7290
$as_echo_n "(cached) " >&6
7292
if test -n "$ac_ct_OTOOL64"; then
7293
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7295
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7299
test -z "$as_dir" && as_dir=.
7300
for ac_exec_ext in '' $ac_executable_extensions; do
7301
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7302
ac_cv_prog_ac_ct_OTOOL64="otool64"
7303
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7312
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7313
if test -n "$ac_ct_OTOOL64"; then
7314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7315
$as_echo "$ac_ct_OTOOL64" >&6; }
7317
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7318
$as_echo "no" >&6; }
7321
if test "x$ac_ct_OTOOL64" = x; then
7324
case $cross_compiling:$ac_tool_warned in
7326
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7327
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7328
ac_tool_warned=yes ;;
7330
OTOOL64=$ac_ct_OTOOL64
7333
OTOOL64="$ac_cv_prog_OTOOL64"
7362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7363
$as_echo_n "checking for -single_module linker flag... " >&6; }
7364
if ${lt_cv_apple_cc_single_mod+:} false; then :
7365
$as_echo_n "(cached) " >&6
7367
lt_cv_apple_cc_single_mod=no
7368
if test -z "${LT_MULTI_MODULE}"; then
7369
# By default we will add the -single_module flag. You can override
7370
# by either setting the environment variable LT_MULTI_MODULE
7371
# non-empty at configure time, or by adding -multi_module to the
7373
rm -rf libconftest.dylib*
7374
echo "int foo(void){return 1;}" > conftest.c
7375
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7376
-dynamiclib -Wl,-single_module conftest.c" >&5
7377
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7378
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7380
# If there is a non-empty error log, and "single_module"
7381
# appears in it, assume the flag caused a linker warning
7382
if test -s conftest.err && $GREP single_module conftest.err; then
7383
cat conftest.err >&5
7384
# Otherwise, if the output was created with a 0 exit code from
7385
# the compiler, it worked.
7386
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7387
lt_cv_apple_cc_single_mod=yes
7389
cat conftest.err >&5
7391
rm -rf libconftest.dylib*
7395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7396
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7399
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7400
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7401
$as_echo_n "(cached) " >&6
7403
lt_cv_ld_exported_symbols_list=no
7404
save_LDFLAGS=$LDFLAGS
7405
echo "_main" > conftest.sym
7406
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7407
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7408
/* end confdefs.h. */
7418
if ac_fn_c_try_link "$LINENO"; then :
7419
lt_cv_ld_exported_symbols_list=yes
7421
lt_cv_ld_exported_symbols_list=no
7423
rm -f core conftest.err conftest.$ac_objext \
7424
conftest$ac_exeext conftest.$ac_ext
7425
LDFLAGS="$save_LDFLAGS"
7428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7429
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7432
$as_echo_n "checking for -force_load linker flag... " >&6; }
7433
if ${lt_cv_ld_force_load+:} false; then :
7434
$as_echo_n "(cached) " >&6
7436
lt_cv_ld_force_load=no
7437
cat > conftest.c << _LT_EOF
7438
int forced_loaded() { return 2;}
7440
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7441
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7442
echo "$AR cru libconftest.a conftest.o" >&5
7443
$AR cru libconftest.a conftest.o 2>&5
7444
echo "$RANLIB libconftest.a" >&5
7445
$RANLIB libconftest.a 2>&5
7446
cat > conftest.c << _LT_EOF
7447
int main() { return 0;}
7449
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7450
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7452
if test -s conftest.err && $GREP force_load conftest.err; then
7453
cat conftest.err >&5
7454
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7455
lt_cv_ld_force_load=yes
7457
cat conftest.err >&5
7459
rm -f conftest.err libconftest.a conftest conftest.c
7460
rm -rf conftest.dSYM
7463
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7464
$as_echo "$lt_cv_ld_force_load" >&6; }
7466
rhapsody* | darwin1.[012])
7467
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7469
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7470
darwin*) # darwin 5.x on
7471
# if running on 10.5 or later, the deployment target defaults
7472
# to the OS version, if on x86, and 10.4, the deployment
7473
# target defaults to 10.4. Don't you love it?
7474
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7475
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7476
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7478
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7480
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7484
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7485
_lt_dar_single_mod='$single_module'
7487
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7488
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7490
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7492
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7493
_lt_dsymutil='~$DSYMUTIL $lib || :'
7501
ac_cpp='$CPP $CPPFLAGS'
7502
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7503
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7504
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7506
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7507
# On Suns, sometimes $CPP names a directory.
7508
if test -n "$CPP" && test -d "$CPP"; then
7511
if test -z "$CPP"; then
7512
if ${ac_cv_prog_CPP+:} false; then :
7513
$as_echo_n "(cached) " >&6
7515
# Double quotes because CPP needs to be expanded
7516
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7519
for ac_c_preproc_warn_flag in '' yes
7521
# Use a header file that comes with gcc, so configuring glibc
7522
# with a fresh cross-compiler works.
7523
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7524
# <limits.h> exists even on freestanding compilers.
7525
# On the NeXT, cc -E runs the code through the compiler's parser,
7526
# not just through cpp. "Syntax error" is here to catch this case.
7527
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7528
/* end confdefs.h. */
7530
# include <limits.h>
7532
# include <assert.h>
7536
if ac_fn_c_try_cpp "$LINENO"; then :
7539
# Broken: fails on valid input.
7542
rm -f conftest.err conftest.i conftest.$ac_ext
7544
# OK, works on sane cases. Now check whether nonexistent headers
7545
# can be detected and how.
7546
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7547
/* end confdefs.h. */
7548
#include <ac_nonexistent.h>
7550
if ac_fn_c_try_cpp "$LINENO"; then :
7551
# Broken: success on invalid input.
7554
# Passes both tests.
7558
rm -f conftest.err conftest.i conftest.$ac_ext
7561
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7562
rm -f conftest.i conftest.err conftest.$ac_ext
7563
if $ac_preproc_ok; then :
7575
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7576
$as_echo "$CPP" >&6; }
7578
for ac_c_preproc_warn_flag in '' yes
7580
# Use a header file that comes with gcc, so configuring glibc
7581
# with a fresh cross-compiler works.
7582
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7583
# <limits.h> exists even on freestanding compilers.
7584
# On the NeXT, cc -E runs the code through the compiler's parser,
7585
# not just through cpp. "Syntax error" is here to catch this case.
7586
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7587
/* end confdefs.h. */
7589
# include <limits.h>
7591
# include <assert.h>
7595
if ac_fn_c_try_cpp "$LINENO"; then :
7598
# Broken: fails on valid input.
7601
rm -f conftest.err conftest.i conftest.$ac_ext
7603
# OK, works on sane cases. Now check whether nonexistent headers
7604
# can be detected and how.
7605
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7606
/* end confdefs.h. */
7607
#include <ac_nonexistent.h>
7609
if ac_fn_c_try_cpp "$LINENO"; then :
7610
# Broken: success on invalid input.
7613
# Passes both tests.
7617
rm -f conftest.err conftest.i conftest.$ac_ext
7620
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7621
rm -f conftest.i conftest.err conftest.$ac_ext
7622
if $ac_preproc_ok; then :
7625
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7627
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7628
See \`config.log' for more details" "$LINENO" 5; }
7632
ac_cpp='$CPP $CPPFLAGS'
7633
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7634
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7635
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7639
$as_echo_n "checking for ANSI C header files... " >&6; }
7640
if ${ac_cv_header_stdc+:} false; then :
7641
$as_echo_n "(cached) " >&6
7643
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644
/* end confdefs.h. */
7658
if ac_fn_c_try_compile "$LINENO"; then :
7659
ac_cv_header_stdc=yes
7661
ac_cv_header_stdc=no
7663
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7665
if test $ac_cv_header_stdc = yes; then
7666
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7667
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668
/* end confdefs.h. */
7672
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7673
$EGREP "memchr" >/dev/null 2>&1; then :
7676
ac_cv_header_stdc=no
7682
if test $ac_cv_header_stdc = yes; then
7683
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7685
/* end confdefs.h. */
7689
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7690
$EGREP "free" >/dev/null 2>&1; then :
7693
ac_cv_header_stdc=no
7699
if test $ac_cv_header_stdc = yes; then
7700
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7701
if test "$cross_compiling" = yes; then :
7704
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7705
/* end confdefs.h. */
7708
#if ((' ' & 0x0FF) == 0x020)
7709
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7710
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7712
# define ISLOWER(c) \
7713
(('a' <= (c) && (c) <= 'i') \
7714
|| ('j' <= (c) && (c) <= 'r') \
7715
|| ('s' <= (c) && (c) <= 'z'))
7716
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7719
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7724
for (i = 0; i < 256; i++)
7725
if (XOR (islower (i), ISLOWER (i))
7726
|| toupper (i) != TOUPPER (i))
7731
if ac_fn_c_try_run "$LINENO"; then :
7734
ac_cv_header_stdc=no
7736
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7737
conftest.$ac_objext conftest.beam conftest.$ac_ext
7742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7743
$as_echo "$ac_cv_header_stdc" >&6; }
7744
if test $ac_cv_header_stdc = yes; then
7746
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7750
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7751
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7752
inttypes.h stdint.h unistd.h
7754
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7755
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7757
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7758
cat >>confdefs.h <<_ACEOF
7759
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7767
for ac_header in dlfcn.h
7769
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7771
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7772
cat >>confdefs.h <<_ACEOF
7773
#define HAVE_DLFCN_H 1
7794
# Check whether --enable-shared was given.
7795
if test "${enable_shared+set}" = set; then :
7796
enableval=$enable_shared; p=${PACKAGE-default}
7798
yes) enable_shared=yes ;;
7799
no) enable_shared=no ;;
7802
# Look at the argument we got. We use all the common list separators.
7803
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7804
for pkg in $enableval; do
7806
if test "X$pkg" = "X$p"; then
7825
# Check whether --enable-static was given.
7826
if test "${enable_static+set}" = set; then :
7827
enableval=$enable_static; p=${PACKAGE-default}
7829
yes) enable_static=yes ;;
7830
no) enable_static=no ;;
7833
# Look at the argument we got. We use all the common list separators.
7834
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7835
for pkg in $enableval; do
7837
if test "X$pkg" = "X$p"; then
7857
# Check whether --with-pic was given.
7858
if test "${with_pic+set}" = set; then :
7859
withval=$with_pic; lt_p=${PACKAGE-default}
7861
yes|no) pic_mode=$withval ;;
7864
# Look at the argument we got. We use all the common list separators.
7865
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866
for lt_pkg in $withval; do
7868
if test "X$lt_pkg" = "X$lt_p"; then
7880
test -z "$pic_mode" && pic_mode=default
7888
# Check whether --enable-fast-install was given.
7889
if test "${enable_fast_install+set}" = set; then :
7890
enableval=$enable_fast_install; p=${PACKAGE-default}
7892
yes) enable_fast_install=yes ;;
7893
no) enable_fast_install=no ;;
7895
enable_fast_install=no
7896
# Look at the argument we got. We use all the common list separators.
7897
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7898
for pkg in $enableval; do
7900
if test "X$pkg" = "X$p"; then
7901
enable_fast_install=yes
7908
enable_fast_install=yes
7921
# This can be used to rebuild libtool when needed
7922
LIBTOOL_DEPS="$ltmain"
7924
# Always use our own libtool.
7925
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7956
test -z "$LN_S" && LN_S="ln -s"
7971
if test -n "${ZSH_VERSION+set}" ; then
7972
setopt NO_GLOB_SUBST
7975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7976
$as_echo_n "checking for objdir... " >&6; }
7977
if ${lt_cv_objdir+:} false; then :
7978
$as_echo_n "(cached) " >&6
7980
rm -f .libs 2>/dev/null
7981
mkdir .libs 2>/dev/null
7982
if test -d .libs; then
7985
# MS-DOS does not allow filenames that begin with a dot.
7988
rmdir .libs 2>/dev/null
7990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7991
$as_echo "$lt_cv_objdir" >&6; }
7992
objdir=$lt_cv_objdir
7998
cat >>confdefs.h <<_ACEOF
7999
#define LT_OBJDIR "$lt_cv_objdir/"
8007
# AIX sometimes has problems with the GCC collect2 program. For some
8008
# reason, if we set the COLLECT_NAMES environment variable, the problems
8009
# vanish in a puff of smoke.
8010
if test "X${COLLECT_NAMES+set}" != Xset; then
8012
export COLLECT_NAMES
8019
can_build_shared=yes
8021
# All known linkers require a `.a' archive for static linking (except MSVC,
8022
# which needs '.lib').
8025
with_gnu_ld="$lt_cv_prog_gnu_ld"
8028
old_CFLAGS="$CFLAGS"
8030
# Set sane defaults for various variables
8031
test -z "$CC" && CC=cc
8032
test -z "$LTCC" && LTCC=$CC
8033
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8034
test -z "$LD" && LD=ld
8035
test -z "$ac_objext" && ac_objext=o
8037
for cc_temp in $compiler""; do
8039
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8040
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8045
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8048
# Only perform the check for file, if the check method requires it
8049
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8050
case $deplibs_check_method in
8052
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8054
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8055
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8056
$as_echo_n "(cached) " >&6
8060
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8063
lt_save_MAGIC_CMD="$MAGIC_CMD"
8064
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8065
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8066
for ac_dir in $ac_dummy; do
8068
test -z "$ac_dir" && ac_dir=.
8069
if test -f $ac_dir/${ac_tool_prefix}file; then
8070
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8071
if test -n "$file_magic_test_file"; then
8072
case $deplibs_check_method in
8074
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8075
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8076
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8077
$EGREP "$file_magic_regex" > /dev/null; then
8082
*** Warning: the command libtool uses to detect shared libraries,
8083
*** $file_magic_cmd, produces output that libtool cannot recognize.
8084
*** The result is that libtool may fail to recognize shared libraries
8085
*** as such. This will affect the creation of libtool libraries that
8086
*** depend on shared libraries, but programs linked with such libtool
8087
*** libraries will work regardless of this problem. Nevertheless, you
8088
*** may want to report the problem to your system manager and/or to
8089
*** bug-libtool@gnu.org
8099
MAGIC_CMD="$lt_save_MAGIC_CMD"
8104
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8105
if test -n "$MAGIC_CMD"; then
8106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8107
$as_echo "$MAGIC_CMD" >&6; }
8109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110
$as_echo "no" >&6; }
8117
if test -z "$lt_cv_path_MAGIC_CMD"; then
8118
if test -n "$ac_tool_prefix"; then
8119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8120
$as_echo_n "checking for file... " >&6; }
8121
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122
$as_echo_n "(cached) " >&6
8126
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8129
lt_save_MAGIC_CMD="$MAGIC_CMD"
8130
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132
for ac_dir in $ac_dummy; do
8134
test -z "$ac_dir" && ac_dir=.
8135
if test -f $ac_dir/file; then
8136
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8137
if test -n "$file_magic_test_file"; then
8138
case $deplibs_check_method in
8140
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143
$EGREP "$file_magic_regex" > /dev/null; then
8148
*** Warning: the command libtool uses to detect shared libraries,
8149
*** $file_magic_cmd, produces output that libtool cannot recognize.
8150
*** The result is that libtool may fail to recognize shared libraries
8151
*** as such. This will affect the creation of libtool libraries that
8152
*** depend on shared libraries, but programs linked with such libtool
8153
*** libraries will work regardless of this problem. Nevertheless, you
8154
*** may want to report the problem to your system manager and/or to
8155
*** bug-libtool@gnu.org
8165
MAGIC_CMD="$lt_save_MAGIC_CMD"
8170
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171
if test -n "$MAGIC_CMD"; then
8172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173
$as_echo "$MAGIC_CMD" >&6; }
8175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176
$as_echo "no" >&6; }
8189
# Use C for the default configuration in the libtool script
8193
ac_cpp='$CPP $CPPFLAGS'
8194
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8196
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8199
# Source file extension for C test sources.
8202
# Object file extension for compiled C test sources.
8206
# Code to be used in simple compile tests
8207
lt_simple_compile_test_code="int some_variable = 0;"
8209
# Code to be used in simple link tests
8210
lt_simple_link_test_code='int main(){return(0);}'
8218
# If no C compiler was specified, use CC.
8221
# If no C compiler flags were specified, use CFLAGS.
8222
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8224
# Allow CC to be a program name with arguments.
8227
# Save the default compiler, since it gets overwritten when the other
8228
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8229
compiler_DEFAULT=$CC
8231
# save warnings/boilerplate of simple test code
8232
ac_outfile=conftest.$ac_objext
8233
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8234
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8235
_lt_compiler_boilerplate=`cat conftest.err`
8238
ac_outfile=conftest.$ac_objext
8239
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8240
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8241
_lt_linker_boilerplate=`cat conftest.err`
8246
## There is no encapsulation within the following macros, do not change
8247
## the running order or otherwise move them around unless you know exactly
8248
## what you are doing...
8249
if test -n "$compiler"; then
8251
lt_prog_compiler_no_builtin_flag=
8253
if test "$GCC" = yes; then
8254
case $cc_basename in
8256
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8258
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8262
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8263
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8264
$as_echo_n "(cached) " >&6
8266
lt_cv_prog_compiler_rtti_exceptions=no
8267
ac_outfile=conftest.$ac_objext
8268
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8269
lt_compiler_flag="-fno-rtti -fno-exceptions"
8270
# Insert the option either (1) after the last *FLAGS variable, or
8271
# (2) before a word containing "conftest.", or (3) at the end.
8272
# Note that $ac_compile itself does not contain backslashes and begins
8273
# with a dollar sign (not a hyphen), so the echo should work correctly.
8274
# The option is referenced via a variable to avoid confusing sed.
8275
lt_compile=`echo "$ac_compile" | $SED \
8276
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278
-e 's:$: $lt_compiler_flag:'`
8279
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8280
(eval "$lt_compile" 2>conftest.err)
8282
cat conftest.err >&5
8283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284
if (exit $ac_status) && test -s "$ac_outfile"; then
8285
# The compiler can only warn and ignore the option if not recognized
8286
# So say no if there are warnings other than the usual output.
8287
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8288
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8289
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8290
lt_cv_prog_compiler_rtti_exceptions=yes
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8297
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8299
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8300
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8312
lt_prog_compiler_wl=
8313
lt_prog_compiler_pic=
8314
lt_prog_compiler_static=
8317
if test "$GCC" = yes; then
8318
lt_prog_compiler_wl='-Wl,'
8319
lt_prog_compiler_static='-static'
8323
# All AIX code is PIC.
8324
if test "$host_cpu" = ia64; then
8325
# AIX 5 now supports IA64 processor
8326
lt_prog_compiler_static='-Bstatic'
8333
# see comment about AmigaOS4 .so support
8334
lt_prog_compiler_pic='-fPIC'
8337
# FIXME: we need at least 68020 code to build shared libraries, but
8338
# adding the `-m68020' flag to GCC prevents building anything better,
8340
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8345
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8346
# PIC is the default for these OSes.
8349
mingw* | cygwin* | pw32* | os2* | cegcc*)
8350
# This hack is so that the source file can tell whether it is being
8351
# built for inclusion in a dll (and should export symbols for example).
8352
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8353
# (--disable-auto-import) libraries
8354
lt_prog_compiler_pic='-DDLL_EXPORT'
8357
darwin* | rhapsody*)
8358
# PIC is the default on this platform
8359
# Common symbols not allowed in MH_DYLIB files
8360
lt_prog_compiler_pic='-fno-common'
8364
# PIC is the default for Haiku.
8365
# The "-static" flag exists, but is broken.
8366
lt_prog_compiler_static=
8370
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8372
# sets the default TLS model and affects inlining.
8378
lt_prog_compiler_pic='-fPIC'
8384
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8385
# Instead, we relocate shared libraries at runtime.
8389
# Just because we use GCC doesn't mean we suddenly get shared libraries
8390
# on systems that don't support them.
8391
lt_prog_compiler_can_build_shared=no
8396
# QNX uses GNU C++, but need to define -shared option too, otherwise
8398
lt_prog_compiler_pic='-fPIC -shared'
8402
if test -d /usr/nec; then
8403
lt_prog_compiler_pic=-Kconform_pic
8408
lt_prog_compiler_pic='-fPIC'
8412
case $cc_basename in
8413
nvcc*) # Cuda Compiler Driver 2.2
8414
lt_prog_compiler_wl='-Xlinker '
8415
if test -n "$lt_prog_compiler_pic"; then
8416
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8421
# PORTME Check for flag to pass linker flags through the system compiler.
8424
lt_prog_compiler_wl='-Wl,'
8425
if test "$host_cpu" = ia64; then
8426
# AIX 5 now supports IA64 processor
8427
lt_prog_compiler_static='-Bstatic'
8429
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8433
mingw* | cygwin* | pw32* | os2* | cegcc*)
8434
# This hack is so that the source file can tell whether it is being
8435
# built for inclusion in a dll (and should export symbols for example).
8436
lt_prog_compiler_pic='-DDLL_EXPORT'
8439
hpux9* | hpux10* | hpux11*)
8440
lt_prog_compiler_wl='-Wl,'
8441
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8448
lt_prog_compiler_pic='+Z'
8451
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8452
lt_prog_compiler_static='${wl}-a ${wl}archive'
8455
irix5* | irix6* | nonstopux*)
8456
lt_prog_compiler_wl='-Wl,'
8457
# PIC (with -KPIC) is the default.
8458
lt_prog_compiler_static='-non_shared'
8461
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8462
case $cc_basename in
8463
# old Intel for x86_64 which still supported -KPIC.
8465
lt_prog_compiler_wl='-Wl,'
8466
lt_prog_compiler_pic='-KPIC'
8467
lt_prog_compiler_static='-static'
8469
# icc used to be incompatible with GCC.
8470
# ICC 10 doesn't accept -KPIC any more.
8472
lt_prog_compiler_wl='-Wl,'
8473
lt_prog_compiler_pic='-fPIC'
8474
lt_prog_compiler_static='-static'
8476
# Lahey Fortran 8.1.
8478
lt_prog_compiler_wl='-Wl,'
8479
lt_prog_compiler_pic='--shared'
8480
lt_prog_compiler_static='--static'
8483
# NAG Fortran compiler
8484
lt_prog_compiler_wl='-Wl,-Wl,,'
8485
lt_prog_compiler_pic='-PIC'
8486
lt_prog_compiler_static='-Bstatic'
8488
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8489
# Portland Group compilers (*not* the Pentium gcc compiler,
8490
# which looks to be a dead project)
8491
lt_prog_compiler_wl='-Wl,'
8492
lt_prog_compiler_pic='-fpic'
8493
lt_prog_compiler_static='-Bstatic'
8496
lt_prog_compiler_wl='-Wl,'
8497
# All Alpha code is PIC.
8498
lt_prog_compiler_static='-non_shared'
8500
xl* | bgxl* | bgf* | mpixl*)
8501
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8502
lt_prog_compiler_wl='-Wl,'
8503
lt_prog_compiler_pic='-qpic'
8504
lt_prog_compiler_static='-qstaticlink'
8507
case `$CC -V 2>&1 | sed 5q` in
8508
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8509
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8510
lt_prog_compiler_pic='-KPIC'
8511
lt_prog_compiler_static='-Bstatic'
8512
lt_prog_compiler_wl=''
8514
*Sun\ F* | *Sun*Fortran*)
8515
lt_prog_compiler_pic='-KPIC'
8516
lt_prog_compiler_static='-Bstatic'
8517
lt_prog_compiler_wl='-Qoption ld '
8521
lt_prog_compiler_pic='-KPIC'
8522
lt_prog_compiler_static='-Bstatic'
8523
lt_prog_compiler_wl='-Wl,'
8525
*Intel*\ [CF]*Compiler*)
8526
lt_prog_compiler_wl='-Wl,'
8527
lt_prog_compiler_pic='-fPIC'
8528
lt_prog_compiler_static='-static'
8531
lt_prog_compiler_wl='-Wl,'
8532
lt_prog_compiler_pic='-fpic'
8533
lt_prog_compiler_static='-Bstatic'
8541
lt_prog_compiler_pic='-KPIC'
8542
lt_prog_compiler_static='-Bstatic'
8546
# QNX uses GNU C++, but need to define -shared option too, otherwise
8548
lt_prog_compiler_pic='-fPIC -shared'
8551
osf3* | osf4* | osf5*)
8552
lt_prog_compiler_wl='-Wl,'
8553
# All OSF/1 code is PIC.
8554
lt_prog_compiler_static='-non_shared'
8558
lt_prog_compiler_static='-non_shared'
8562
lt_prog_compiler_pic='-KPIC'
8563
lt_prog_compiler_static='-Bstatic'
8564
case $cc_basename in
8565
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8566
lt_prog_compiler_wl='-Qoption ld ';;
8568
lt_prog_compiler_wl='-Wl,';;
8573
lt_prog_compiler_wl='-Qoption ld '
8574
lt_prog_compiler_pic='-PIC'
8575
lt_prog_compiler_static='-Bstatic'
8578
sysv4 | sysv4.2uw2* | sysv4.3*)
8579
lt_prog_compiler_wl='-Wl,'
8580
lt_prog_compiler_pic='-KPIC'
8581
lt_prog_compiler_static='-Bstatic'
8585
if test -d /usr/nec ;then
8586
lt_prog_compiler_pic='-Kconform_pic'
8587
lt_prog_compiler_static='-Bstatic'
8591
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8592
lt_prog_compiler_wl='-Wl,'
8593
lt_prog_compiler_pic='-KPIC'
8594
lt_prog_compiler_static='-Bstatic'
8598
lt_prog_compiler_wl='-Wl,'
8599
lt_prog_compiler_can_build_shared=no
8603
lt_prog_compiler_pic='-pic'
8604
lt_prog_compiler_static='-Bstatic'
8608
lt_prog_compiler_can_build_shared=no
8614
# For platforms which do not support PIC, -DPIC is meaningless:
8616
lt_prog_compiler_pic=
8619
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625
if ${lt_cv_prog_compiler_pic+:} false; then :
8626
$as_echo_n "(cached) " >&6
8628
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8631
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8632
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8635
# Check to make sure the PIC flag actually works.
8637
if test -n "$lt_prog_compiler_pic"; then
8638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8639
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8640
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8641
$as_echo_n "(cached) " >&6
8643
lt_cv_prog_compiler_pic_works=no
8644
ac_outfile=conftest.$ac_objext
8645
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8646
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8647
# Insert the option either (1) after the last *FLAGS variable, or
8648
# (2) before a word containing "conftest.", or (3) at the end.
8649
# Note that $ac_compile itself does not contain backslashes and begins
8650
# with a dollar sign (not a hyphen), so the echo should work correctly.
8651
# The option is referenced via a variable to avoid confusing sed.
8652
lt_compile=`echo "$ac_compile" | $SED \
8653
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8654
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8655
-e 's:$: $lt_compiler_flag:'`
8656
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8657
(eval "$lt_compile" 2>conftest.err)
8659
cat conftest.err >&5
8660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661
if (exit $ac_status) && test -s "$ac_outfile"; then
8662
# The compiler can only warn and ignore the option if not recognized
8663
# So say no if there are warnings other than the usual output.
8664
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8665
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8667
lt_cv_prog_compiler_pic_works=yes
8673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8674
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8676
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8677
case $lt_prog_compiler_pic in
8679
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8682
lt_prog_compiler_pic=
8683
lt_prog_compiler_can_build_shared=no
8699
# Check to make sure the static flag actually works.
8701
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8703
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8704
if ${lt_cv_prog_compiler_static_works+:} false; then :
8705
$as_echo_n "(cached) " >&6
8707
lt_cv_prog_compiler_static_works=no
8708
save_LDFLAGS="$LDFLAGS"
8709
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8710
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8711
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8712
# The linker can only warn and ignore the option if not recognized
8713
# So say no if there are warnings
8714
if test -s conftest.err; then
8715
# Append any errors to the config.log.
8716
cat conftest.err 1>&5
8717
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8718
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8719
if diff conftest.exp conftest.er2 >/dev/null; then
8720
lt_cv_prog_compiler_static_works=yes
8723
lt_cv_prog_compiler_static_works=yes
8727
LDFLAGS="$save_LDFLAGS"
8730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8731
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8733
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8736
lt_prog_compiler_static=
8745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8746
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8747
if ${lt_cv_prog_compiler_c_o+:} false; then :
8748
$as_echo_n "(cached) " >&6
8750
lt_cv_prog_compiler_c_o=no
8751
$RM -r conftest 2>/dev/null
8755
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8757
lt_compiler_flag="-o out/conftest2.$ac_objext"
8758
# Insert the option either (1) after the last *FLAGS variable, or
8759
# (2) before a word containing "conftest.", or (3) at the end.
8760
# Note that $ac_compile itself does not contain backslashes and begins
8761
# with a dollar sign (not a hyphen), so the echo should work correctly.
8762
lt_compile=`echo "$ac_compile" | $SED \
8763
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765
-e 's:$: $lt_compiler_flag:'`
8766
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8767
(eval "$lt_compile" 2>out/conftest.err)
8769
cat out/conftest.err >&5
8770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8773
# The compiler can only warn and ignore the option if not recognized
8774
# So say no if there are warnings
8775
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8776
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8777
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8778
lt_cv_prog_compiler_c_o=yes
8783
# SGI C++ compiler will create directory out/ii_files/ for
8784
# template instantiation
8785
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8786
$RM out/* && rmdir out
8792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8793
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8801
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8802
if ${lt_cv_prog_compiler_c_o+:} false; then :
8803
$as_echo_n "(cached) " >&6
8805
lt_cv_prog_compiler_c_o=no
8806
$RM -r conftest 2>/dev/null
8810
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8812
lt_compiler_flag="-o out/conftest2.$ac_objext"
8813
# Insert the option either (1) after the last *FLAGS variable, or
8814
# (2) before a word containing "conftest.", or (3) at the end.
8815
# Note that $ac_compile itself does not contain backslashes and begins
8816
# with a dollar sign (not a hyphen), so the echo should work correctly.
8817
lt_compile=`echo "$ac_compile" | $SED \
8818
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8819
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8820
-e 's:$: $lt_compiler_flag:'`
8821
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8822
(eval "$lt_compile" 2>out/conftest.err)
8824
cat out/conftest.err >&5
8825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8828
# The compiler can only warn and ignore the option if not recognized
8829
# So say no if there are warnings
8830
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8831
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8832
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8833
lt_cv_prog_compiler_c_o=yes
8838
# SGI C++ compiler will create directory out/ii_files/ for
8839
# template instantiation
8840
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8841
$RM out/* && rmdir out
8847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8848
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8853
hard_links="nottested"
8854
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8855
# do not overwrite the value of need_locks provided by the user
8856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8857
$as_echo_n "checking if we can lock with hard links... " >&6; }
8860
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8862
ln conftest.a conftest.b 2>&5 || hard_links=no
8863
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8865
$as_echo "$hard_links" >&6; }
8866
if test "$hard_links" = no; then
8867
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8868
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8881
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8884
allow_undefined_flag=
8885
always_export_symbols=no
8887
archive_expsym_cmds=
8888
compiler_needs_object=no
8889
enable_shared_with_static_runtimes=no
8890
export_dynamic_flag_spec=
8891
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8892
hardcode_automatic=no
8894
hardcode_direct_absolute=no
8895
hardcode_libdir_flag_spec=
8896
hardcode_libdir_separator=
8898
hardcode_shlibpath_var=unsupported
8900
link_all_deplibs=unknown
8903
old_archive_from_new_cmds=
8904
old_archive_from_expsyms_cmds=
8905
thread_safe_flag_spec=
8906
whole_archive_flag_spec=
8907
# include_expsyms should be a list of space-separated symbols to be *always*
8908
# included in the symbol list
8910
# exclude_expsyms can be an extended regexp of symbols to exclude
8911
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8912
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8913
# as well as any symbol that contains `d'.
8914
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8915
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8916
# platforms (ab)use it in PIC code, but their linkers get confused if
8917
# the symbol is explicitly referenced. Since portable code cannot
8918
# rely on this symbol name, it's probably fine to never include it in
8919
# preloaded symbol tables.
8920
# Exclude shared library initialization/finalization symbols.
8921
extract_expsyms_cmds=
8924
cygwin* | mingw* | pw32* | cegcc*)
8925
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8926
# When not using gcc, we currently assume that we are using
8927
# Microsoft Visual C++.
8928
if test "$GCC" != yes; then
8933
# we just hope/assume this is gcc and not c89 (= MSVC++)
8939
linux* | k*bsd*-gnu | gnu*)
8946
# On some targets, GNU ld is compatible enough with the native linker
8947
# that we're better off using the native interface for both.
8948
lt_use_gnu_ld_interface=no
8949
if test "$with_gnu_ld" = yes; then
8952
# The AIX port of GNU ld has always aspired to compatibility
8953
# with the native linker. However, as the warning in the GNU ld
8954
# block says, versions before 2.19.5* couldn't really create working
8955
# shared libraries, regardless of the interface used.
8956
case `$LD -v 2>&1` in
8957
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8958
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8959
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8961
lt_use_gnu_ld_interface=yes
8966
lt_use_gnu_ld_interface=yes
8971
if test "$lt_use_gnu_ld_interface" = yes; then
8972
# If archive_cmds runs LD, not CC, wlarc should be empty
8975
# Set some defaults for GNU ld with shared library support. These
8976
# are reset later if shared libraries are not supported. Putting them
8977
# here allows them to be overridden if necessary.
8978
runpath_var=LD_RUN_PATH
8979
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8980
export_dynamic_flag_spec='${wl}--export-dynamic'
8981
# ancient GNU ld didn't support --whole-archive et. al.
8982
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8983
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8985
whole_archive_flag_spec=
8987
supports_anon_versioning=no
8988
case `$LD -v 2>&1` in
8989
*GNU\ gold*) supports_anon_versioning=yes ;;
8990
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8993
*\ 2.11.*) ;; # other 2.11 versions
8994
*) supports_anon_versioning=yes ;;
8997
# See if GNU ld supports shared libraries.
9000
# On AIX/PPC, the GNU linker is very broken
9001
if test "$host_cpu" != ia64; then
9005
*** Warning: the GNU linker, at least up to release 2.19, is reported
9006
*** to be unable to reliably create shared libraries on AIX.
9007
*** Therefore, libtool is disabling shared libraries support. If you
9008
*** really care for shared libraries, you may want to install binutils
9009
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9010
*** You will then need to restart the configuration process.
9019
# see comment about AmigaOS4 .so support
9020
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9021
archive_expsym_cmds=''
9024
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)'
9025
hardcode_libdir_flag_spec='-L$libdir'
9026
hardcode_minus_L=yes
9032
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9033
allow_undefined_flag=unsupported
9034
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9035
# support --undefined. This deserves some investigation. FIXME
9036
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9042
cygwin* | mingw* | pw32* | cegcc*)
9043
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9044
# as there is no search path for DLLs.
9045
hardcode_libdir_flag_spec='-L$libdir'
9046
export_dynamic_flag_spec='${wl}--export-all-symbols'
9047
allow_undefined_flag=unsupported
9048
always_export_symbols=no
9049
enable_shared_with_static_runtimes=yes
9050
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'
9051
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9053
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9054
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9055
# If the export-symbols file already is a .def file (1st line
9056
# is EXPORTS), use it as is; otherwise, prepend...
9057
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9058
cp $export_symbols $output_objdir/$soname.def;
9060
echo EXPORTS > $output_objdir/$soname.def;
9061
cat $export_symbols >> $output_objdir/$soname.def;
9063
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9070
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071
link_all_deplibs=yes
9076
hardcode_shlibpath_var=no
9077
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9078
export_dynamic_flag_spec='${wl}-E'
9079
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9080
# Instead, shared libraries are loaded at an image base (0x10000000 by
9081
# default) and relocated if they conflict, which is a slow very memory
9082
# consuming and fragmenting process. To avoid this, we pick a random,
9083
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9084
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9085
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9086
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'
9089
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9091
if test "$host_os" = linux-dietlibc; then
9092
case $cc_basename in
9093
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9096
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9097
&& test "$tmp_diet" = no
9099
tmp_addflag=' $pic_flag'
9100
tmp_sharedflag='-shared'
9101
case $cc_basename,$host_cpu in
9102
pgcc*) # Portland Group C compiler
9103
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'
9104
tmp_addflag=' $pic_flag'
9106
pgf77* | pgf90* | pgf95* | pgfortran*)
9107
# Portland Group f77 and f90 compilers
9108
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'
9109
tmp_addflag=' $pic_flag -Mnomain' ;;
9110
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9111
tmp_addflag=' -i_dynamic' ;;
9112
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9113
tmp_addflag=' -i_dynamic -nofor_main' ;;
9114
ifc* | ifort*) # Intel Fortran compiler
9115
tmp_addflag=' -nofor_main' ;;
9116
lf95*) # Lahey Fortran 8.1
9117
whole_archive_flag_spec=
9118
tmp_sharedflag='--shared' ;;
9119
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9120
tmp_sharedflag='-qmkshrobj'
9122
nvcc*) # Cuda Compiler Driver 2.2
9123
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'
9124
compiler_needs_object=yes
9127
case `$CC -V 2>&1 | sed 5q` in
9128
*Sun\ C*) # Sun C 5.9
9129
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'
9130
compiler_needs_object=yes
9131
tmp_sharedflag='-G' ;;
9132
*Sun\ F*) # Sun Fortran 8.3
9133
tmp_sharedflag='-G' ;;
9135
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137
if test "x$supports_anon_versioning" = xyes; then
9138
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9139
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9140
echo "local: *; };" >> $output_objdir/$libname.ver~
9141
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9144
case $cc_basename in
9145
xlf* | bgf* | bgxlf* | mpixlf*)
9146
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9147
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9148
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9149
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9150
if test "x$supports_anon_versioning" = xyes; then
9151
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9152
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9153
echo "local: *; };" >> $output_objdir/$libname.ver~
9154
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9163
netbsd* | netbsdelf*-gnu)
9164
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9165
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9168
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9174
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9178
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9179
*** create shared libraries on Solaris systems. Therefore, libtool
9180
*** is disabling shared libraries support. We urge you to upgrade GNU
9181
*** binutils to release 2.9.1 or newer. Another option is to modify
9182
*** your PATH or compiler configuration so that the native linker is
9183
*** used, and then restart.
9186
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9194
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9195
case `$LD -v 2>&1` in
9196
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9200
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9201
*** reliably create shared libraries on SCO systems. Therefore, libtool
9202
*** is disabling shared libraries support. We urge you to upgrade GNU
9203
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9204
*** your PATH or compiler configuration so that the native linker is
9205
*** used, and then restart.
9210
# For security reasons, it is highly recommended that you always
9211
# use absolute paths for naming shared libraries, and exclude the
9212
# DT_RUNPATH tag from executables and libraries. But doing so
9213
# requires that you compile everything twice, which is a pain.
9214
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9215
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9229
hardcode_shlibpath_var=no
9233
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9234
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9242
if test "$ld_shlibs" = no; then
9244
hardcode_libdir_flag_spec=
9245
export_dynamic_flag_spec=
9246
whole_archive_flag_spec=
9249
# PORTME fill in a description of your system's linker (not GNU ld)
9252
allow_undefined_flag=unsupported
9253
always_export_symbols=yes
9254
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'
9255
# Note: this linker hardcodes the directories in LIBPATH if there
9256
# are no directories specified by -L.
9257
hardcode_minus_L=yes
9258
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9259
# Neither direct hardcoding nor static linking is supported with a
9261
hardcode_direct=unsupported
9266
if test "$host_cpu" = ia64; then
9267
# On IA64, the linker does run time linking by default, so we don't
9268
# have to do anything special.
9269
aix_use_runtimelinking=no
9270
exp_sym_flag='-Bexport'
9273
# If we're using GNU nm, then we don't want the "-C" option.
9274
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9275
# Also, AIX nm treats weak defined symbols like other global
9276
# defined symbols, whereas GNU nm marks them as "W".
9277
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9278
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'
9280
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'
9282
aix_use_runtimelinking=no
9284
# Test if we are trying to use run time linking or normal
9285
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9286
# need to do runtime linking.
9287
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9288
for ld_flag in $LDFLAGS; do
9289
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9290
aix_use_runtimelinking=yes
9297
exp_sym_flag='-bexport'
9298
no_entry_flag='-bnoentry'
9301
# When large executables or shared objects are built, AIX ld can
9302
# have problems creating the table of contents. If linking a library
9303
# or program results in "error TOC overflow" add -mminimal-toc to
9304
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9305
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9309
hardcode_direct_absolute=yes
9310
hardcode_libdir_separator=':'
9311
link_all_deplibs=yes
9312
file_list_spec='${wl}-f,'
9314
if test "$GCC" = yes; then
9315
case $host_os in aix4.[012]|aix4.[012].*)
9316
# We only want to do this on AIX 4.2 and lower, the check
9317
# below for broken collect2 doesn't work under 4.3+
9318
collect2name=`${CC} -print-prog-name=collect2`
9319
if test -f "$collect2name" &&
9320
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9322
# We have reworked collect2
9325
# We have old collect2
9326
hardcode_direct=unsupported
9327
# It fails to find uninstalled libraries when the uninstalled
9328
# path is not listed in the libpath. Setting hardcode_minus_L
9329
# to unsupported forces relinking
9330
hardcode_minus_L=yes
9331
hardcode_libdir_flag_spec='-L$libdir'
9332
hardcode_libdir_separator=
9336
shared_flag='-shared'
9337
if test "$aix_use_runtimelinking" = yes; then
9338
shared_flag="$shared_flag "'${wl}-G'
9343
if test "$host_cpu" = ia64; then
9344
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9345
# chokes on -Wl,-G. The following line is correct:
9348
if test "$aix_use_runtimelinking" = yes; then
9349
shared_flag='${wl}-G'
9351
shared_flag='${wl}-bM:SRE'
9356
export_dynamic_flag_spec='${wl}-bexpall'
9357
# It seems that -bexpall does not export symbols beginning with
9358
# underscore (_), so it is better to generate a list of symbols to export.
9359
always_export_symbols=yes
9360
if test "$aix_use_runtimelinking" = yes; then
9361
# Warning - without using the other runtime loading flags (-brtl),
9362
# -berok will link without error, but may produce a broken library.
9363
allow_undefined_flag='-berok'
9364
# Determine the default libpath from the value encoded in an
9366
if test "${lt_cv_aix_libpath+set}" = set; then
9367
aix_libpath=$lt_cv_aix_libpath
9369
if ${lt_cv_aix_libpath_+:} false; then :
9370
$as_echo_n "(cached) " >&6
9372
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373
/* end confdefs.h. */
9383
if ac_fn_c_try_link "$LINENO"; then :
9385
lt_aix_libpath_sed='
9386
/Import File Strings/,/^$/ {
9388
s/^0 *\([^ ]*\) *$/\1/
9392
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9393
# Check for a 64-bit object if we didn't find anything.
9394
if test -z "$lt_cv_aix_libpath_"; then
9395
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398
rm -f core conftest.err conftest.$ac_objext \
9399
conftest$ac_exeext conftest.$ac_ext
9400
if test -z "$lt_cv_aix_libpath_"; then
9401
lt_cv_aix_libpath_="/usr/lib:/lib"
9406
aix_libpath=$lt_cv_aix_libpath_
9409
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9410
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"
9412
if test "$host_cpu" = ia64; then
9413
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9414
allow_undefined_flag="-z nodefs"
9415
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"
9417
# Determine the default libpath from the value encoded in an
9419
if test "${lt_cv_aix_libpath+set}" = set; then
9420
aix_libpath=$lt_cv_aix_libpath
9422
if ${lt_cv_aix_libpath_+:} false; then :
9423
$as_echo_n "(cached) " >&6
9425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426
/* end confdefs.h. */
9436
if ac_fn_c_try_link "$LINENO"; then :
9438
lt_aix_libpath_sed='
9439
/Import File Strings/,/^$/ {
9441
s/^0 *\([^ ]*\) *$/\1/
9445
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9446
# Check for a 64-bit object if we didn't find anything.
9447
if test -z "$lt_cv_aix_libpath_"; then
9448
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451
rm -f core conftest.err conftest.$ac_objext \
9452
conftest$ac_exeext conftest.$ac_ext
9453
if test -z "$lt_cv_aix_libpath_"; then
9454
lt_cv_aix_libpath_="/usr/lib:/lib"
9459
aix_libpath=$lt_cv_aix_libpath_
9462
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9463
# Warning - without using the other run time loading flags,
9464
# -berok will link without error, but may produce a broken library.
9465
no_undefined_flag=' ${wl}-bernotok'
9466
allow_undefined_flag=' ${wl}-berok'
9467
if test "$with_gnu_ld" = yes; then
9468
# We only use this code for GNU lds that support --whole-archive.
9469
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9471
# Exported symbols can be pulled into shared objects from archives
9472
whole_archive_flag_spec='$convenience'
9474
archive_cmds_need_lc=yes
9475
# This is similar to how AIX traditionally builds its shared libraries.
9476
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'
9484
# see comment about AmigaOS4 .so support
9485
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486
archive_expsym_cmds=''
9489
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)'
9490
hardcode_libdir_flag_spec='-L$libdir'
9491
hardcode_minus_L=yes
9497
export_dynamic_flag_spec=-rdynamic
9500
cygwin* | mingw* | pw32* | cegcc*)
9501
# When not using gcc, we currently assume that we are using
9502
# Microsoft Visual C++.
9503
# hardcode_libdir_flag_spec is actually meaningless, as there is
9504
# no search path for DLLs.
9505
case $cc_basename in
9508
hardcode_libdir_flag_spec=' '
9509
allow_undefined_flag=unsupported
9510
always_export_symbols=yes
9512
# Tell ltmain to make .lib files, not .a files.
9514
# Tell ltmain to make .dll files, not .so files.
9516
# FIXME: Setting linknames here is a bad hack.
9517
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9518
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9519
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9521
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9523
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9525
# The linker will not automatically build a static lib if we build a DLL.
9526
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9527
enable_shared_with_static_runtimes=yes
9528
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9529
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9531
old_postinstall_cmds='chmod 644 $oldlib'
9532
postlink_cmds='lt_outputfile="@OUTPUT@"~
9533
lt_tool_outputfile="@TOOL_OUTPUT@"~
9534
case $lt_outputfile in
9537
lt_outputfile="$lt_outputfile.exe"
9538
lt_tool_outputfile="$lt_tool_outputfile.exe"
9541
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9542
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9543
$RM "$lt_outputfile.manifest";
9547
# Assume MSVC wrapper
9548
hardcode_libdir_flag_spec=' '
9549
allow_undefined_flag=unsupported
9550
# Tell ltmain to make .lib files, not .a files.
9552
# Tell ltmain to make .dll files, not .so files.
9554
# FIXME: Setting linknames here is a bad hack.
9555
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9556
# The linker will automatically build a .lib file if we build a DLL.
9557
old_archive_from_new_cmds='true'
9558
# FIXME: Should let the user specify the lib program.
9559
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9560
enable_shared_with_static_runtimes=yes
9565
darwin* | rhapsody*)
9568
archive_cmds_need_lc=no
9570
hardcode_automatic=yes
9571
hardcode_shlibpath_var=unsupported
9572
if test "$lt_cv_ld_force_load" = "yes"; then
9573
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\"`'
9576
whole_archive_flag_spec=''
9578
link_all_deplibs=yes
9579
allow_undefined_flag="$_lt_dar_allow_undefined"
9580
case $cc_basename in
9581
ifort*) _lt_dar_can_shared=yes ;;
9582
*) _lt_dar_can_shared=$GCC ;;
9584
if test "$_lt_dar_can_shared" = "yes"; then
9585
output_verbose_link_cmd=func_echo_all
9586
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9587
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9588
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}"
9589
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}"
9598
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9599
hardcode_libdir_flag_spec='-L$libdir'
9600
hardcode_shlibpath_var=no
9603
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9604
# support. Future versions do this automatically, but an explicit c++rt0.o
9605
# does not break anything, and helps significantly (at the cost of a little
9608
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9609
hardcode_libdir_flag_spec='-R$libdir'
9611
hardcode_shlibpath_var=no
9614
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9616
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9618
hardcode_minus_L=yes
9619
hardcode_shlibpath_var=no
9622
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9623
freebsd* | dragonfly*)
9624
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9625
hardcode_libdir_flag_spec='-R$libdir'
9627
hardcode_shlibpath_var=no
9631
if test "$GCC" = yes; then
9632
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'
9634
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'
9636
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637
hardcode_libdir_separator=:
9640
# hardcode_minus_L: Not really in the search PATH,
9641
# but as the default location of the library.
9642
hardcode_minus_L=yes
9643
export_dynamic_flag_spec='${wl}-E'
9647
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9648
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9650
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9652
if test "$with_gnu_ld" = no; then
9653
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9654
hardcode_libdir_separator=:
9656
hardcode_direct_absolute=yes
9657
export_dynamic_flag_spec='${wl}-E'
9658
# hardcode_minus_L: Not really in the search PATH,
9659
# but as the default location of the library.
9660
hardcode_minus_L=yes
9665
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9668
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9671
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9674
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9680
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9683
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9687
# Older versions of the 11.00 compiler do not understand -b yet
9688
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9690
$as_echo_n "checking if $CC understands -b... " >&6; }
9691
if ${lt_cv_prog_compiler__b+:} false; then :
9692
$as_echo_n "(cached) " >&6
9694
lt_cv_prog_compiler__b=no
9695
save_LDFLAGS="$LDFLAGS"
9696
LDFLAGS="$LDFLAGS -b"
9697
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9698
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9699
# The linker can only warn and ignore the option if not recognized
9700
# So say no if there are warnings
9701
if test -s conftest.err; then
9702
# Append any errors to the config.log.
9703
cat conftest.err 1>&5
9704
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9705
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9706
if diff conftest.exp conftest.er2 >/dev/null; then
9707
lt_cv_prog_compiler__b=yes
9710
lt_cv_prog_compiler__b=yes
9714
LDFLAGS="$save_LDFLAGS"
9717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9718
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9720
if test x"$lt_cv_prog_compiler__b" = xyes; then
9721
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9723
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9729
if test "$with_gnu_ld" = no; then
9730
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731
hardcode_libdir_separator=:
9736
hardcode_shlibpath_var=no
9740
hardcode_direct_absolute=yes
9741
export_dynamic_flag_spec='${wl}-E'
9743
# hardcode_minus_L: Not really in the search PATH,
9744
# but as the default location of the library.
9745
hardcode_minus_L=yes
9751
irix5* | irix6* | nonstopux*)
9752
if test "$GCC" = yes; then
9753
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'
9754
# Try to use the -exported_symbol ld option, if it does not
9755
# work, assume that -exports_file does not work either and
9756
# implicitly export all symbols.
9757
# This should be the same for all languages, so no per-tag cache variable.
9758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9759
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9760
if ${lt_cv_irix_exported_symbol+:} false; then :
9761
$as_echo_n "(cached) " >&6
9763
save_LDFLAGS="$LDFLAGS"
9764
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9765
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766
/* end confdefs.h. */
9767
int foo (void) { return 0; }
9769
if ac_fn_c_try_link "$LINENO"; then :
9770
lt_cv_irix_exported_symbol=yes
9772
lt_cv_irix_exported_symbol=no
9774
rm -f core conftest.err conftest.$ac_objext \
9775
conftest$ac_exeext conftest.$ac_ext
9776
LDFLAGS="$save_LDFLAGS"
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9779
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9780
if test "$lt_cv_irix_exported_symbol" = yes; then
9781
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'
9784
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'
9785
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'
9787
archive_cmds_need_lc='no'
9788
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9789
hardcode_libdir_separator=:
9791
link_all_deplibs=yes
9794
netbsd* | netbsdelf*-gnu)
9795
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9796
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9798
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9800
hardcode_libdir_flag_spec='-R$libdir'
9802
hardcode_shlibpath_var=no
9806
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809
hardcode_libdir_separator=:
9810
hardcode_shlibpath_var=no
9817
if test -f /usr/libexec/ld.so; then
9819
hardcode_shlibpath_var=no
9820
hardcode_direct_absolute=yes
9821
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9822
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9823
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9824
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9825
export_dynamic_flag_spec='${wl}-E'
9828
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9829
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9830
hardcode_libdir_flag_spec='-R$libdir'
9833
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9834
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9844
hardcode_libdir_flag_spec='-L$libdir'
9845
hardcode_minus_L=yes
9846
allow_undefined_flag=unsupported
9847
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'
9848
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9852
if test "$GCC" = yes; then
9853
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9854
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'
9856
allow_undefined_flag=' -expect_unresolved \*'
9857
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'
9859
archive_cmds_need_lc='no'
9860
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9861
hardcode_libdir_separator=:
9864
osf4* | osf5*) # as osf3* with the addition of -msym flag
9865
if test "$GCC" = yes; then
9866
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9867
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'
9868
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870
allow_undefined_flag=' -expect_unresolved \*'
9871
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'
9872
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~
9873
$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'
9875
# Both c and cxx compiler support -rpath directly
9876
hardcode_libdir_flag_spec='-rpath $libdir'
9878
archive_cmds_need_lc='no'
9879
hardcode_libdir_separator=:
9883
no_undefined_flag=' -z defs'
9884
if test "$GCC" = yes; then
9886
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9887
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9888
$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'
9890
case `$CC -V 2>&1` in
9893
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9894
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9895
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9899
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9900
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9901
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9905
hardcode_libdir_flag_spec='-R$libdir'
9906
hardcode_shlibpath_var=no
9908
solaris2.[0-5] | solaris2.[0-5].*) ;;
9910
# The compiler driver will combine and reorder linker options,
9911
# but understands `-z linker_flag'. GCC discards it without `$wl',
9912
# but is careful enough not to reorder.
9913
# Supported since Solaris 2.6 (maybe 2.5.1?)
9914
if test "$GCC" = yes; then
9915
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9917
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9921
link_all_deplibs=yes
9925
if test "x$host_vendor" = xsequent; then
9926
# Use $CC to link under sequent, because it throws in some extra .o
9927
# files that make .init and .fini sections work.
9928
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9930
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9932
hardcode_libdir_flag_spec='-L$libdir'
9934
hardcode_minus_L=yes
9935
hardcode_shlibpath_var=no
9939
case $host_vendor in
9941
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942
hardcode_direct=yes # is this really true???
9945
## LD is ld it makes a PLAMLIB
9946
## CC just makes a GrossModule.
9947
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9948
reload_cmds='$CC -r -o $output$reload_objs'
9952
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9956
runpath_var='LD_RUN_PATH'
9957
hardcode_shlibpath_var=no
9961
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9962
hardcode_shlibpath_var=no
9963
export_dynamic_flag_spec='-Bexport'
9967
if test -d /usr/nec; then
9968
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9969
hardcode_shlibpath_var=no
9970
runpath_var=LD_RUN_PATH
9971
hardcode_runpath_var=yes
9976
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9977
no_undefined_flag='${wl}-z,text'
9978
archive_cmds_need_lc=no
9979
hardcode_shlibpath_var=no
9980
runpath_var='LD_RUN_PATH'
9982
if test "$GCC" = yes; then
9983
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9991
sysv5* | sco3.2v5* | sco5v6*)
9992
# Note: We can NOT use -z defs as we might desire, because we do not
9993
# link with -lc, and that would cause any symbols used from libc to
9994
# always be unresolved, which means just about no library would
9995
# ever link correctly. If we're not using GNU ld we use -z text
9996
# though, which does catch some bad symbols but isn't as heavy-handed
9998
no_undefined_flag='${wl}-z,text'
9999
allow_undefined_flag='${wl}-z,nodefs'
10000
archive_cmds_need_lc=no
10001
hardcode_shlibpath_var=no
10002
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10003
hardcode_libdir_separator=':'
10004
link_all_deplibs=yes
10005
export_dynamic_flag_spec='${wl}-Bexport'
10006
runpath_var='LD_RUN_PATH'
10008
if test "$GCC" = yes; then
10009
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10010
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10012
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10013
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019
hardcode_libdir_flag_spec='-L$libdir'
10020
hardcode_shlibpath_var=no
10028
if test x$host_vendor = xsni; then
10030
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10031
export_dynamic_flag_spec='${wl}-Blargedynsym'
10037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10038
$as_echo "$ld_shlibs" >&6; }
10039
test "$ld_shlibs" = no && can_build_shared=no
10041
with_gnu_ld=$with_gnu_ld
10058
# Do we need to explicitly link libc?
10060
case "x$archive_cmds_need_lc" in
10062
# Assume -lc should be added
10063
archive_cmds_need_lc=yes
10065
if test "$enable_shared" = yes && test "$GCC" = yes; then
10066
case $archive_cmds in
10068
# FIXME: we may have to deal with multi-command sequences.
10071
# Test whether the compiler implicitly links with -lc since on some
10072
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10073
# to ld, don't add -lc before -lgcc.
10074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10075
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10076
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10077
$as_echo_n "(cached) " >&6
10080
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10082
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10083
(eval $ac_compile) 2>&5
10085
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10086
test $ac_status = 0; } 2>conftest.err; then
10089
libobjs=conftest.$ac_objext
10091
wl=$lt_prog_compiler_wl
10092
pic_flag=$lt_prog_compiler_pic
10098
lt_save_allow_undefined_flag=$allow_undefined_flag
10099
allow_undefined_flag=
10100
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10101
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10103
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10104
test $ac_status = 0; }
10106
lt_cv_archive_cmds_need_lc=no
10108
lt_cv_archive_cmds_need_lc=yes
10110
allow_undefined_flag=$lt_save_allow_undefined_flag
10112
cat conftest.err 1>&5
10117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10118
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10119
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10278
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10280
if test "$GCC" = yes; then
10282
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10283
*) lt_awk_arg="/^libraries:/" ;;
10286
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10287
*) lt_sed_strip_eq="s,=/,/,g" ;;
10289
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10290
case $lt_search_path_spec in
10292
# if the path contains ";" then we assume it to be the separator
10293
# otherwise default to the standard path separator (i.e. ":") - it is
10294
# assumed that no part of a normal pathname contains ";" but that should
10295
# okay in the real world where ";" in dirpaths is itself problematic.
10296
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10299
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10302
# Ok, now we have the path, separated by spaces, we can step through it
10303
# and add multilib dir if necessary.
10304
lt_tmp_lt_search_path_spec=
10305
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10306
for lt_sys_path in $lt_search_path_spec; do
10307
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10308
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10310
test -d "$lt_sys_path" && \
10311
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10314
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10315
BEGIN {RS=" "; FS="/|\n";} {
10318
for (lt_i = NF; lt_i > 0; lt_i--) {
10319
if ($lt_i != "" && $lt_i != ".") {
10320
if ($lt_i == "..") {
10323
if (lt_count == 0) {
10324
lt_foo="/" $lt_i lt_foo;
10331
if (lt_foo != "") { lt_freq[lt_foo]++; }
10332
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10334
# AWK program above erroneously prepends '/' to C:/dos/paths
10337
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10338
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10340
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10342
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10344
library_names_spec=
10345
libname_spec='lib$name'
10349
postuninstall_cmds=
10353
shlibpath_overrides_runpath=unknown
10355
dynamic_linker="$host_os ld.so"
10356
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10357
need_lib_prefix=unknown
10358
hardcode_into_libs=no
10360
# when you set need_version to no, make sure it does not cause -set_version
10361
# flags to be left without arguments
10362
need_version=unknown
10366
version_type=linux # correct to gnu/linux during the next big refactor
10367
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10368
shlibpath_var=LIBPATH
10370
# AIX 3 has no versioning support, so we append a major version to the name.
10371
soname_spec='${libname}${release}${shared_ext}$major'
10375
version_type=linux # correct to gnu/linux during the next big refactor
10378
hardcode_into_libs=yes
10379
if test "$host_cpu" = ia64; then
10380
# AIX 5 supports IA64
10381
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10382
shlibpath_var=LD_LIBRARY_PATH
10384
# With GCC up to 2.95.x, collect2 would create an import file
10385
# for dependence libraries. The import file would start with
10386
# the line `#! .'. This would cause the generated library to
10387
# depend on `.', always an invalid library. This was fixed in
10388
# development snapshots of GCC prior to 3.0.
10390
aix4 | aix4.[01] | aix4.[01].*)
10391
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10393
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10396
can_build_shared=no
10400
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10401
# soname into executable. Probably we can add versioning support to
10402
# collect2, so additional links can be useful in future.
10403
if test "$aix_use_runtimelinking" = yes; then
10404
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10405
# instead of lib<name>.a to let people know that these are not
10406
# typical AIX shared libraries.
10407
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409
# We preserve .a as extension for shared libraries through AIX4.2
10410
# and later when we are not doing run time linking.
10411
library_names_spec='${libname}${release}.a $libname.a'
10412
soname_spec='${libname}${release}${shared_ext}$major'
10414
shlibpath_var=LIBPATH
10421
# Since July 2007 AmigaOS4 officially supports .so libraries.
10422
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10426
library_names_spec='$libname.ixlibrary $libname.a'
10427
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10428
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'
10434
library_names_spec='${libname}${shared_ext}'
10435
dynamic_linker="$host_os ld.so"
10436
shlibpath_var=LIBRARY_PATH
10440
version_type=linux # correct to gnu/linux during the next big refactor
10442
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443
soname_spec='${libname}${release}${shared_ext}$major'
10444
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10445
shlibpath_var=LD_LIBRARY_PATH
10446
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10447
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10448
# the default ld.so.conf also contains /usr/contrib/lib and
10449
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10450
# libtool to hard-code these into programs
10453
cygwin* | mingw* | pw32* | cegcc*)
10454
version_type=windows
10459
case $GCC,$cc_basename in
10462
library_names_spec='$libname.dll.a'
10463
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10464
postinstall_cmds='base_file=`basename \${file}`~
10465
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10466
dldir=$destdir/`dirname \$dlpath`~
10467
test -d \$dldir || mkdir -p \$dldir~
10468
$install_prog $dir/$dlname \$dldir/$dlname~
10469
chmod a+x \$dldir/$dlname~
10470
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10471
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10473
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10474
dlpath=$dir/\$dldll~
10476
shlibpath_overrides_runpath=yes
10480
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10481
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10483
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10486
# MinGW DLLs use traditional 'lib' prefix
10487
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10490
# pw32 DLLs use 'pw' prefix rather than 'lib'
10491
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10494
dynamic_linker='Win32 ld.exe'
10499
libname_spec='$name'
10500
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10501
library_names_spec='${libname}.dll.lib'
10505
sys_lib_search_path_spec=
10508
for lt_path in $LIB
10511
# Let DOS variable expansion print the short 8.3 style file name.
10512
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10513
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10516
# Convert to MSYS style.
10517
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10520
# Convert to unix form, then to dos form, then back to unix form
10521
# but this time dos style (no spaces!) so that the unix form looks
10522
# like /cygdrive/c/PROGRA~1:/cygdr...
10523
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10524
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10525
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10528
sys_lib_search_path_spec="$LIB"
10529
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10530
# It is most probably a Windows format PATH.
10531
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10533
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10535
# FIXME: find the short name or the path components, as spaces are
10536
# common. (e.g. "Program Files" -> "PROGRA~1")
10540
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10541
postinstall_cmds='base_file=`basename \${file}`~
10542
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10543
dldir=$destdir/`dirname \$dlpath`~
10544
test -d \$dldir || mkdir -p \$dldir~
10545
$install_prog $dir/$dlname \$dldir/$dlname'
10546
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10547
dlpath=$dir/\$dldll~
10549
shlibpath_overrides_runpath=yes
10550
dynamic_linker='Win32 link.exe'
10554
# Assume MSVC wrapper
10555
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10556
dynamic_linker='Win32 ld.exe'
10559
# FIXME: first we should search . and the directory the executable is in
10563
darwin* | rhapsody*)
10564
dynamic_linker="$host_os dyld"
10565
version_type=darwin
10568
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10569
soname_spec='${libname}${release}${major}$shared_ext'
10570
shlibpath_overrides_runpath=yes
10571
shlibpath_var=DYLD_LIBRARY_PATH
10572
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10574
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10575
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10579
version_type=linux # correct to gnu/linux during the next big refactor
10582
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10583
soname_spec='${libname}${release}${shared_ext}$major'
10584
shlibpath_var=LD_LIBRARY_PATH
10587
freebsd* | dragonfly*)
10588
# DragonFly does not have aout. When/if they implement a new
10589
# versioning mechanism, adjust this.
10590
if test -x /usr/bin/objformat; then
10591
objformat=`/usr/bin/objformat`
10594
freebsd[23].*) objformat=aout ;;
10595
*) objformat=elf ;;
10598
version_type=freebsd-$objformat
10599
case $version_type in
10601
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10606
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10610
shlibpath_var=LD_LIBRARY_PATH
10613
shlibpath_overrides_runpath=yes
10615
freebsd3.[01]* | freebsdelf3.[01]*)
10616
shlibpath_overrides_runpath=yes
10617
hardcode_into_libs=yes
10619
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10620
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10621
shlibpath_overrides_runpath=no
10622
hardcode_into_libs=yes
10624
*) # from 4.6 on, and DragonFly
10625
shlibpath_overrides_runpath=yes
10626
hardcode_into_libs=yes
10632
version_type=linux # correct to gnu/linux during the next big refactor
10635
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10636
soname_spec='${libname}${release}${shared_ext}$major'
10637
shlibpath_var=LD_LIBRARY_PATH
10638
shlibpath_overrides_runpath=no
10639
hardcode_into_libs=yes
10643
version_type=linux # correct to gnu/linux during the next big refactor
10646
dynamic_linker="$host_os runtime_loader"
10647
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10648
soname_spec='${libname}${release}${shared_ext}$major'
10649
shlibpath_var=LIBRARY_PATH
10650
shlibpath_overrides_runpath=yes
10651
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10652
hardcode_into_libs=yes
10655
hpux9* | hpux10* | hpux11*)
10656
# Give a soname corresponding to the major version so that dld.sl refuses to
10657
# link against other versions.
10664
hardcode_into_libs=yes
10665
dynamic_linker="$host_os dld.so"
10666
shlibpath_var=LD_LIBRARY_PATH
10667
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10668
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669
soname_spec='${libname}${release}${shared_ext}$major'
10670
if test "X$HPUX_IA64_MODE" = X32; then
10671
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10673
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10675
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10679
hardcode_into_libs=yes
10680
dynamic_linker="$host_os dld.sl"
10681
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10682
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10683
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684
soname_spec='${libname}${release}${shared_ext}$major'
10685
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10686
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10690
dynamic_linker="$host_os dld.sl"
10691
shlibpath_var=SHLIB_PATH
10692
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10693
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694
soname_spec='${libname}${release}${shared_ext}$major'
10697
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10698
postinstall_cmds='chmod 555 $lib'
10699
# or fails outright, so override atomically:
10700
install_override_mode=555
10704
version_type=linux # correct to gnu/linux during the next big refactor
10707
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10708
soname_spec='${libname}${release}${shared_ext}$major'
10709
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10710
shlibpath_var=LD_LIBRARY_PATH
10711
shlibpath_overrides_runpath=no
10712
hardcode_into_libs=yes
10715
irix5* | irix6* | nonstopux*)
10717
nonstopux*) version_type=nonstopux ;;
10719
if test "$lt_cv_prog_gnu_ld" = yes; then
10720
version_type=linux # correct to gnu/linux during the next big refactor
10727
soname_spec='${libname}${release}${shared_ext}$major'
10728
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10730
irix5* | nonstopux*)
10731
libsuff= shlibsuff=
10734
case $LD in # libtool.m4 will add one of these switches to LD
10735
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10736
libsuff= shlibsuff= libmagic=32-bit;;
10737
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10738
libsuff=32 shlibsuff=N32 libmagic=N32;;
10739
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10740
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10741
*) libsuff= shlibsuff= libmagic=never-match;;
10745
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10746
shlibpath_overrides_runpath=no
10747
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10748
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10749
hardcode_into_libs=yes
10752
# No shared lib support for Linux oldld, aout, or coff.
10753
linux*oldld* | linux*aout* | linux*coff*)
10757
# This must be glibc/ELF.
10758
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10759
version_type=linux # correct to gnu/linux during the next big refactor
10762
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763
soname_spec='${libname}${release}${shared_ext}$major'
10764
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10765
shlibpath_var=LD_LIBRARY_PATH
10766
shlibpath_overrides_runpath=no
10768
# Some binutils ld are patched to set DT_RUNPATH
10769
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10770
$as_echo_n "(cached) " >&6
10772
lt_cv_shlibpath_overrides_runpath=no
10773
save_LDFLAGS=$LDFLAGS
10774
save_libdir=$libdir
10775
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10776
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778
/* end confdefs.h. */
10788
if ac_fn_c_try_link "$LINENO"; then :
10789
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10790
lt_cv_shlibpath_overrides_runpath=yes
10793
rm -f core conftest.err conftest.$ac_objext \
10794
conftest$ac_exeext conftest.$ac_ext
10795
LDFLAGS=$save_LDFLAGS
10796
libdir=$save_libdir
10800
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10802
# This implies no fast_install, which is unacceptable.
10803
# Some rework will be needed to allow for fast_install
10804
# before this can be enabled.
10805
hardcode_into_libs=yes
10807
# Append ld.so.conf contents to the search path
10808
if test -f /etc/ld.so.conf; then
10809
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' ' '`
10810
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10813
# We used to test for /lib/ld.so.1 and disable shared libraries on
10814
# powerpc, because MkLinux only supported shared libraries with the
10815
# GNU dynamic linker. Since this was broken with cross compilers,
10816
# most powerpc-linux boxes support dynamic linking these days and
10817
# people can always --disable-shared, the test was removed, and we
10818
# assume the GNU/Linux dynamic linker is in use.
10819
dynamic_linker='GNU/Linux ld.so'
10826
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827
soname_spec='${libname}${release}${shared_ext}$major'
10828
shlibpath_var=LD_LIBRARY_PATH
10829
shlibpath_overrides_runpath=no
10830
hardcode_into_libs=yes
10831
dynamic_linker='NetBSD ld.elf_so'
10838
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10839
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10840
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10841
dynamic_linker='NetBSD (a.out) ld.so'
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
dynamic_linker='NetBSD ld.elf_so'
10847
shlibpath_var=LD_LIBRARY_PATH
10848
shlibpath_overrides_runpath=yes
10849
hardcode_into_libs=yes
10853
version_type=linux # correct to gnu/linux during the next big refactor
10854
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855
shlibpath_var=LD_LIBRARY_PATH
10856
shlibpath_overrides_runpath=yes
10863
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864
soname_spec='${libname}${release}${shared_ext}$major'
10865
shlibpath_var=LD_LIBRARY_PATH
10866
shlibpath_overrides_runpath=no
10867
hardcode_into_libs=yes
10868
dynamic_linker='ldqnx.so'
10873
sys_lib_dlsearch_path_spec="/usr/lib"
10875
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10877
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10878
*) need_version=no ;;
10880
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10882
shlibpath_var=LD_LIBRARY_PATH
10883
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10885
openbsd2.[89] | openbsd2.[89].*)
10886
shlibpath_overrides_runpath=no
10889
shlibpath_overrides_runpath=yes
10893
shlibpath_overrides_runpath=yes
10898
libname_spec='$name'
10901
library_names_spec='$libname${shared_ext} $libname.a'
10902
dynamic_linker='OS/2 ld.exe'
10903
shlibpath_var=LIBPATH
10906
osf3* | osf4* | osf5*)
10910
soname_spec='${libname}${release}${shared_ext}$major'
10911
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912
shlibpath_var=LD_LIBRARY_PATH
10913
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10914
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10922
version_type=linux # correct to gnu/linux during the next big refactor
10925
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926
soname_spec='${libname}${release}${shared_ext}$major'
10927
shlibpath_var=LD_LIBRARY_PATH
10928
shlibpath_overrides_runpath=yes
10929
hardcode_into_libs=yes
10930
# ldd complains unless libraries are executable
10931
postinstall_cmds='chmod +x $lib'
10936
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10937
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10938
shlibpath_var=LD_LIBRARY_PATH
10939
shlibpath_overrides_runpath=yes
10940
if test "$with_gnu_ld" = yes; then
10947
version_type=linux # correct to gnu/linux during the next big refactor
10948
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10949
soname_spec='${libname}${release}${shared_ext}$major'
10950
shlibpath_var=LD_LIBRARY_PATH
10951
case $host_vendor in
10953
shlibpath_overrides_runpath=no
10955
runpath_var=LD_RUN_PATH
10963
shlibpath_overrides_runpath=no
10964
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10970
if test -d /usr/nec ;then
10971
version_type=linux # correct to gnu/linux during the next big refactor
10972
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10973
soname_spec='$libname${shared_ext}.$major'
10974
shlibpath_var=LD_LIBRARY_PATH
10978
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10979
version_type=freebsd-elf
10982
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10983
soname_spec='${libname}${release}${shared_ext}$major'
10984
shlibpath_var=LD_LIBRARY_PATH
10985
shlibpath_overrides_runpath=yes
10986
hardcode_into_libs=yes
10987
if test "$with_gnu_ld" = yes; then
10988
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10990
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10993
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10997
sys_lib_dlsearch_path_spec='/usr/lib'
11001
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11002
version_type=linux # correct to gnu/linux during the next big refactor
11005
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006
shlibpath_var=LD_LIBRARY_PATH
11007
shlibpath_overrides_runpath=no
11008
hardcode_into_libs=yes
11012
version_type=linux # correct to gnu/linux during the next big refactor
11013
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014
soname_spec='${libname}${release}${shared_ext}$major'
11015
shlibpath_var=LD_LIBRARY_PATH
11022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11023
$as_echo "$dynamic_linker" >&6; }
11024
test "$dynamic_linker" = no && can_build_shared=no
11026
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11027
if test "$GCC" = yes; then
11028
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11031
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11032
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11034
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11035
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11130
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11132
if test -n "$hardcode_libdir_flag_spec" ||
11133
test -n "$runpath_var" ||
11134
test "X$hardcode_automatic" = "Xyes" ; then
11136
# We can hardcode non-existent directories.
11137
if test "$hardcode_direct" != no &&
11138
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11139
# have to relink, otherwise we might link with an installed library
11140
# when we should be linking with a yet-to-be-installed one
11141
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11142
test "$hardcode_minus_L" != no; then
11143
# Linking always hardcodes the temporary library directory.
11144
hardcode_action=relink
11146
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11147
hardcode_action=immediate
11150
# We cannot hardcode anything, or else we can only hardcode existing
11152
hardcode_action=unsupported
11154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11155
$as_echo "$hardcode_action" >&6; }
11157
if test "$hardcode_action" = relink ||
11158
test "$inherit_rpath" = yes; then
11159
# Fast installation is not supported
11160
enable_fast_install=no
11161
elif test "$shlibpath_overrides_runpath" = yes ||
11162
test "$enable_shared" = no; then
11163
# Fast installation is not necessary
11164
enable_fast_install=needless
11172
if test "x$enable_dlopen" != xyes; then
11173
enable_dlopen=unknown
11174
enable_dlopen_self=unknown
11175
enable_dlopen_self_static=unknown
11182
lt_cv_dlopen="load_add_on"
11184
lt_cv_dlopen_self=yes
11187
mingw* | pw32* | cegcc*)
11188
lt_cv_dlopen="LoadLibrary"
11193
lt_cv_dlopen="dlopen"
11198
# if libdl is installed we need to link against it
11199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11200
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11201
if ${ac_cv_lib_dl_dlopen+:} false; then :
11202
$as_echo_n "(cached) " >&6
11204
ac_check_lib_save_LIBS=$LIBS
11206
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207
/* end confdefs.h. */
11209
/* Override any GCC internal prototype to avoid an error.
11210
Use char because int might match the return type of a GCC
11211
builtin and then its argument prototype would still apply. */
11224
if ac_fn_c_try_link "$LINENO"; then :
11225
ac_cv_lib_dl_dlopen=yes
11227
ac_cv_lib_dl_dlopen=no
11229
rm -f core conftest.err conftest.$ac_objext \
11230
conftest$ac_exeext conftest.$ac_ext
11231
LIBS=$ac_check_lib_save_LIBS
11233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11234
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11235
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11236
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11239
lt_cv_dlopen="dyld"
11241
lt_cv_dlopen_self=yes
11248
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11249
if test "x$ac_cv_func_shl_load" = xyes; then :
11250
lt_cv_dlopen="shl_load"
11252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11253
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11254
if ${ac_cv_lib_dld_shl_load+:} false; then :
11255
$as_echo_n "(cached) " >&6
11257
ac_check_lib_save_LIBS=$LIBS
11259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260
/* end confdefs.h. */
11262
/* Override any GCC internal prototype to avoid an error.
11263
Use char because int might match the return type of a GCC
11264
builtin and then its argument prototype would still apply. */
11272
return shl_load ();
11277
if ac_fn_c_try_link "$LINENO"; then :
11278
ac_cv_lib_dld_shl_load=yes
11280
ac_cv_lib_dld_shl_load=no
11282
rm -f core conftest.err conftest.$ac_objext \
11283
conftest$ac_exeext conftest.$ac_ext
11284
LIBS=$ac_check_lib_save_LIBS
11286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11287
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11288
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11289
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11291
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11292
if test "x$ac_cv_func_dlopen" = xyes; then :
11293
lt_cv_dlopen="dlopen"
11295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11296
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11297
if ${ac_cv_lib_dl_dlopen+:} false; then :
11298
$as_echo_n "(cached) " >&6
11300
ac_check_lib_save_LIBS=$LIBS
11302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303
/* end confdefs.h. */
11305
/* Override any GCC internal prototype to avoid an error.
11306
Use char because int might match the return type of a GCC
11307
builtin and then its argument prototype would still apply. */
11320
if ac_fn_c_try_link "$LINENO"; then :
11321
ac_cv_lib_dl_dlopen=yes
11323
ac_cv_lib_dl_dlopen=no
11325
rm -f core conftest.err conftest.$ac_objext \
11326
conftest$ac_exeext conftest.$ac_ext
11327
LIBS=$ac_check_lib_save_LIBS
11329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11330
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11331
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11332
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11335
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11336
if ${ac_cv_lib_svld_dlopen+:} false; then :
11337
$as_echo_n "(cached) " >&6
11339
ac_check_lib_save_LIBS=$LIBS
11340
LIBS="-lsvld $LIBS"
11341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342
/* end confdefs.h. */
11344
/* Override any GCC internal prototype to avoid an error.
11345
Use char because int might match the return type of a GCC
11346
builtin and then its argument prototype would still apply. */
11359
if ac_fn_c_try_link "$LINENO"; then :
11360
ac_cv_lib_svld_dlopen=yes
11362
ac_cv_lib_svld_dlopen=no
11364
rm -f core conftest.err conftest.$ac_objext \
11365
conftest$ac_exeext conftest.$ac_ext
11366
LIBS=$ac_check_lib_save_LIBS
11368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11369
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11370
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11371
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11374
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11375
if ${ac_cv_lib_dld_dld_link+:} false; then :
11376
$as_echo_n "(cached) " >&6
11378
ac_check_lib_save_LIBS=$LIBS
11380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381
/* end confdefs.h. */
11383
/* Override any GCC internal prototype to avoid an error.
11384
Use char because int might match the return type of a GCC
11385
builtin and then its argument prototype would still apply. */
11393
return dld_link ();
11398
if ac_fn_c_try_link "$LINENO"; then :
11399
ac_cv_lib_dld_dld_link=yes
11401
ac_cv_lib_dld_dld_link=no
11403
rm -f core conftest.err conftest.$ac_objext \
11404
conftest$ac_exeext conftest.$ac_ext
11405
LIBS=$ac_check_lib_save_LIBS
11407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11408
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11409
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11410
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11431
if test "x$lt_cv_dlopen" != xno; then
11437
case $lt_cv_dlopen in
11439
save_CPPFLAGS="$CPPFLAGS"
11440
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11442
save_LDFLAGS="$LDFLAGS"
11443
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11446
LIBS="$lt_cv_dlopen_libs $LIBS"
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11449
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11450
if ${lt_cv_dlopen_self+:} false; then :
11451
$as_echo_n "(cached) " >&6
11453
if test "$cross_compiling" = yes; then :
11454
lt_cv_dlopen_self=cross
11456
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11457
lt_status=$lt_dlunknown
11458
cat > conftest.$ac_ext <<_LT_EOF
11459
#line $LINENO "configure"
11460
#include "confdefs.h"
11469
# define LT_DLGLOBAL RTLD_GLOBAL
11472
# define LT_DLGLOBAL DL_GLOBAL
11474
# define LT_DLGLOBAL 0
11478
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11479
find out it does not work in some platform. */
11480
#ifndef LT_DLLAZY_OR_NOW
11482
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11485
# define LT_DLLAZY_OR_NOW DL_LAZY
11488
# define LT_DLLAZY_OR_NOW RTLD_NOW
11491
# define LT_DLLAZY_OR_NOW DL_NOW
11493
# define LT_DLLAZY_OR_NOW 0
11500
/* When -fvisbility=hidden is used, assume the code has been annotated
11501
correspondingly for the symbols needed. */
11502
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11503
int fnord () __attribute__((visibility("default")));
11506
int fnord () { return 42; }
11509
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11510
int status = $lt_dlunknown;
11514
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11517
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11518
else puts (dlerror ());
11520
/* dlclose (self); */
11528
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11529
(eval $ac_link) 2>&5
11531
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11532
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11533
(./conftest; exit; ) >&5 2>/dev/null
11535
case x$lt_status in
11536
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11537
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11538
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11541
# compilation failed
11542
lt_cv_dlopen_self=no
11549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11550
$as_echo "$lt_cv_dlopen_self" >&6; }
11552
if test "x$lt_cv_dlopen_self" = xyes; then
11553
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11555
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11556
if ${lt_cv_dlopen_self_static+:} false; then :
11557
$as_echo_n "(cached) " >&6
11559
if test "$cross_compiling" = yes; then :
11560
lt_cv_dlopen_self_static=cross
11562
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11563
lt_status=$lt_dlunknown
11564
cat > conftest.$ac_ext <<_LT_EOF
11565
#line $LINENO "configure"
11566
#include "confdefs.h"
11575
# define LT_DLGLOBAL RTLD_GLOBAL
11578
# define LT_DLGLOBAL DL_GLOBAL
11580
# define LT_DLGLOBAL 0
11584
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11585
find out it does not work in some platform. */
11586
#ifndef LT_DLLAZY_OR_NOW
11588
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11591
# define LT_DLLAZY_OR_NOW DL_LAZY
11594
# define LT_DLLAZY_OR_NOW RTLD_NOW
11597
# define LT_DLLAZY_OR_NOW DL_NOW
11599
# define LT_DLLAZY_OR_NOW 0
11606
/* When -fvisbility=hidden is used, assume the code has been annotated
11607
correspondingly for the symbols needed. */
11608
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11609
int fnord () __attribute__((visibility("default")));
11612
int fnord () { return 42; }
11615
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11616
int status = $lt_dlunknown;
11620
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11623
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11624
else puts (dlerror ());
11626
/* dlclose (self); */
11634
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11635
(eval $ac_link) 2>&5
11637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11638
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11639
(./conftest; exit; ) >&5 2>/dev/null
11641
case x$lt_status in
11642
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11643
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11644
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11647
# compilation failed
11648
lt_cv_dlopen_self_static=no
11655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11656
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11659
CPPFLAGS="$save_CPPFLAGS"
11660
LDFLAGS="$save_LDFLAGS"
11665
case $lt_cv_dlopen_self in
11666
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11667
*) enable_dlopen_self=unknown ;;
11670
case $lt_cv_dlopen_self_static in
11671
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11672
*) enable_dlopen_self_static=unknown ;;
11694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11695
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11696
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11697
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11698
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11700
$as_echo "yes" >&6; }
11702
# FIXME - insert some real tests, host_os isn't really good enough
11705
if test -n "$STRIP" ; then
11706
striplib="$STRIP -x"
11707
old_striplib="$STRIP -S"
11708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709
$as_echo "yes" >&6; }
11711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712
$as_echo "no" >&6; }
11716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717
$as_echo "no" >&6; }
11733
# Report which library types will actually be built
11734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11735
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11737
$as_echo "$can_build_shared" >&6; }
11739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11740
$as_echo_n "checking whether to build shared libraries... " >&6; }
11741
test "$can_build_shared" = "no" && enable_shared=no
11743
# On AIX, shared libraries and static libraries use the same namespace, and
11744
# are all built from PIC.
11747
test "$enable_shared" = yes && enable_static=no
11748
if test -n "$RANLIB"; then
11749
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11750
postinstall_cmds='$RANLIB $lib'
11755
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11756
test "$enable_shared" = yes && enable_static=no
11760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11761
$as_echo "$enable_shared" >&6; }
11763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11764
$as_echo_n "checking whether to build static libraries... " >&6; }
11765
# Make sure either enable_shared or enable_static is yes.
11766
test "$enable_shared" = yes || enable_static=yes
11767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11768
$as_echo "$enable_static" >&6; }
11775
ac_cpp='$CPP $CPPFLAGS'
11776
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11777
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11778
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11796
ac_config_commands="$ac_config_commands libtool"
11801
# Only expand once:
11805
# Extract the first word of "glib-mkenums", so it can be a program name with args.
11806
set dummy glib-mkenums; ac_word=$2
11807
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11808
$as_echo_n "checking for $ac_word... " >&6; }
11809
if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
11810
$as_echo_n "(cached) " >&6
11812
case $GLIB_MKENUMS in
11814
ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
11817
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11818
for as_dir in $PATH
11821
test -z "$as_dir" && as_dir=.
11822
for ac_exec_ext in '' $ac_executable_extensions; do
11823
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11824
ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
11825
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11835
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
11836
if test -n "$GLIB_MKENUMS"; then
11837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
11838
$as_echo "$GLIB_MKENUMS" >&6; }
11840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11841
$as_echo "no" >&6; }
11845
# Extract the first word of "glib-genmarshal", so it can be a program name with args.
11846
set dummy glib-genmarshal; ac_word=$2
11847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11848
$as_echo_n "checking for $ac_word... " >&6; }
11849
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
11850
$as_echo_n "(cached) " >&6
11852
case $GLIB_GENMARSHAL in
11854
ac_cv_path_GLIB_GENMARSHAL="$GLIB_GENMARSHAL" # Let the user override the test with a path.
11857
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11858
for as_dir in $PATH
11861
test -z "$as_dir" && as_dir=.
11862
for ac_exec_ext in '' $ac_executable_extensions; do
11863
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11864
ac_cv_path_GLIB_GENMARSHAL="$as_dir/$ac_word$ac_exec_ext"
11865
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11875
GLIB_GENMARSHAL=$ac_cv_path_GLIB_GENMARSHAL
11876
if test -n "$GLIB_GENMARSHAL"; then
11877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_GENMARSHAL" >&5
11878
$as_echo "$GLIB_GENMARSHAL" >&6; }
11880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11881
$as_echo "no" >&6; }
11893
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11894
if test -n "$ac_tool_prefix"; then
11895
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11896
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11898
$as_echo_n "checking for $ac_word... " >&6; }
11899
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11900
$as_echo_n "(cached) " >&6
11902
case $PKG_CONFIG in
11904
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11907
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11908
for as_dir in $PATH
11911
test -z "$as_dir" && as_dir=.
11912
for ac_exec_ext in '' $ac_executable_extensions; do
11913
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11914
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11915
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11925
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11926
if test -n "$PKG_CONFIG"; then
11927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11928
$as_echo "$PKG_CONFIG" >&6; }
11930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11931
$as_echo "no" >&6; }
11936
if test -z "$ac_cv_path_PKG_CONFIG"; then
11937
ac_pt_PKG_CONFIG=$PKG_CONFIG
11938
# Extract the first word of "pkg-config", so it can be a program name with args.
11939
set dummy pkg-config; ac_word=$2
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11941
$as_echo_n "checking for $ac_word... " >&6; }
11942
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11943
$as_echo_n "(cached) " >&6
11945
case $ac_pt_PKG_CONFIG in
11947
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11950
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11951
for as_dir in $PATH
11954
test -z "$as_dir" && as_dir=.
11955
for ac_exec_ext in '' $ac_executable_extensions; do
11956
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11957
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11958
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11968
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11969
if test -n "$ac_pt_PKG_CONFIG"; then
11970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11971
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11974
$as_echo "no" >&6; }
11977
if test "x$ac_pt_PKG_CONFIG" = x; then
11980
case $cross_compiling:$ac_tool_warned in
11982
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11983
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11984
ac_tool_warned=yes ;;
11986
PKG_CONFIG=$ac_pt_PKG_CONFIG
11989
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11993
if test -n "$PKG_CONFIG"; then
11994
_pkg_min_version=0.9.0
11995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11996
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11997
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11998
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11999
$as_echo "yes" >&6; }
12001
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12002
$as_echo "no" >&6; }
12007
# Check whether --enable-deprecations was given.
12008
if test "${enable_deprecations+set}" = set; then :
12009
enableval=$enable_deprecations;
12011
enable_deprecations=yes
12014
if test "x$enable_deprecations" = xno; then :
12015
CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES"
12019
###########################
12021
###########################
12026
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
12027
set dummy gtkdoc-check; ac_word=$2
12028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12029
$as_echo_n "checking for $ac_word... " >&6; }
12030
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
12031
$as_echo_n "(cached) " >&6
12033
case $GTKDOC_CHECK in
12035
ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
12038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12039
for as_dir in $PATH
12042
test -z "$as_dir" && as_dir=.
12043
for ac_exec_ext in '' $ac_executable_extensions; do
12044
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12045
ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
12046
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12056
GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
12057
if test -n "$GTKDOC_CHECK"; then
12058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
12059
$as_echo "$GTKDOC_CHECK" >&6; }
12061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12062
$as_echo "no" >&6; }
12066
for ac_prog in gtkdoc-rebase
12068
# Extract the first word of "$ac_prog", so it can be a program name with args.
12069
set dummy $ac_prog; ac_word=$2
12070
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12071
$as_echo_n "checking for $ac_word... " >&6; }
12072
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
12073
$as_echo_n "(cached) " >&6
12075
case $GTKDOC_REBASE in
12077
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
12080
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12081
for as_dir in $PATH
12084
test -z "$as_dir" && as_dir=.
12085
for ac_exec_ext in '' $ac_executable_extensions; do
12086
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12087
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
12088
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12098
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
12099
if test -n "$GTKDOC_REBASE"; then
12100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
12101
$as_echo "$GTKDOC_REBASE" >&6; }
12103
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12104
$as_echo "no" >&6; }
12108
test -n "$GTKDOC_REBASE" && break
12110
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
12112
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
12113
set dummy gtkdoc-mkpdf; ac_word=$2
12114
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12115
$as_echo_n "checking for $ac_word... " >&6; }
12116
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
12117
$as_echo_n "(cached) " >&6
12119
case $GTKDOC_MKPDF in
12121
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
12124
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12125
for as_dir in $PATH
12128
test -z "$as_dir" && as_dir=.
12129
for ac_exec_ext in '' $ac_executable_extensions; do
12130
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12131
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
12132
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12142
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
12143
if test -n "$GTKDOC_MKPDF"; then
12144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
12145
$as_echo "$GTKDOC_MKPDF" >&6; }
12147
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12148
$as_echo "no" >&6; }
12154
# Check whether --with-html-dir was given.
12155
if test "${with_html_dir+set}" = set; then :
12156
withval=$with_html_dir;
12158
with_html_dir='${datadir}/gtk-doc/html'
12161
HTML_DIR="$with_html_dir"
12164
# Check whether --enable-gtk-doc was given.
12165
if test "${enable_gtk_doc+set}" = set; then :
12166
enableval=$enable_gtk_doc;
12172
if test x$enable_gtk_doc = xyes; then
12173
if test -n "$PKG_CONFIG" && \
12174
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.9\""; } >&5
12175
($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.9") 2>&5
12177
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12178
test $ac_status = 0; }; then
12181
as_fn_error $? "You need to have gtk-doc >= 1.9 installed to build $PACKAGE_NAME" "$LINENO" 5
12183
if test "x$PACKAGE_NAME" != "xglib"; then
12186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
12187
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
12189
if test -n "$GTKDOC_DEPS_CFLAGS"; then
12190
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
12191
elif test -n "$PKG_CONFIG"; then
12192
if test -n "$PKG_CONFIG" && \
12193
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12194
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12196
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12197
test $ac_status = 0; }; then
12198
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12199
test "x$?" != "x0" && pkg_failed=yes
12206
if test -n "$GTKDOC_DEPS_LIBS"; then
12207
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
12208
elif test -n "$PKG_CONFIG"; then
12209
if test -n "$PKG_CONFIG" && \
12210
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
12211
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
12213
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12214
test $ac_status = 0; }; then
12215
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
12216
test "x$?" != "x0" && pkg_failed=yes
12226
if test $pkg_failed = yes; then
12227
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12228
$as_echo "no" >&6; }
12230
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12231
_pkg_short_errors_supported=yes
12233
_pkg_short_errors_supported=no
12235
if test $_pkg_short_errors_supported = yes; then
12236
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12238
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
12240
# Put the nasty error message in config.log where it belongs
12241
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
12243
as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
12245
$GTKDOC_DEPS_PKG_ERRORS
12247
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12248
installed software in a non-standard prefix.
12250
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12251
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12252
See the pkg-config man page for more details." "$LINENO" 5
12253
elif test $pkg_failed = untried; then
12254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12255
$as_echo "no" >&6; }
12256
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12257
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12258
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12259
is in your PATH or set the PKG_CONFIG environment variable to the full
12260
path to pkg-config.
12262
Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
12263
and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
12264
See the pkg-config man page for more details.
12266
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12267
See \`config.log' for more details" "$LINENO" 5; }
12269
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
12270
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
12271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12272
$as_echo "yes" >&6; }
12278
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
12279
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
12280
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
12281
$as_echo "$enable_gtk_doc" >&6; }
12283
# Check whether --enable-gtk-doc-html was given.
12284
if test "${enable_gtk_doc_html+set}" = set; then :
12285
enableval=$enable_gtk_doc_html;
12287
enable_gtk_doc_html=yes
12290
# Check whether --enable-gtk-doc-pdf was given.
12291
if test "${enable_gtk_doc_pdf+set}" = set; then :
12292
enableval=$enable_gtk_doc_pdf;
12294
enable_gtk_doc_pdf=no
12298
if test -z "$GTKDOC_MKPDF"; then
12299
enable_gtk_doc_pdf=no
12303
if test x$enable_gtk_doc = xyes; then
12304
ENABLE_GTK_DOC_TRUE=
12305
ENABLE_GTK_DOC_FALSE='#'
12307
ENABLE_GTK_DOC_TRUE='#'
12308
ENABLE_GTK_DOC_FALSE=
12311
if test x$enable_gtk_doc_html = xyes; then
12312
GTK_DOC_BUILD_HTML_TRUE=
12313
GTK_DOC_BUILD_HTML_FALSE='#'
12315
GTK_DOC_BUILD_HTML_TRUE='#'
12316
GTK_DOC_BUILD_HTML_FALSE=
12319
if test x$enable_gtk_doc_pdf = xyes; then
12320
GTK_DOC_BUILD_PDF_TRUE=
12321
GTK_DOC_BUILD_PDF_FALSE='#'
12323
GTK_DOC_BUILD_PDF_TRUE='#'
12324
GTK_DOC_BUILD_PDF_FALSE=
12327
if test -n "$LIBTOOL"; then
12328
GTK_DOC_USE_LIBTOOL_TRUE=
12329
GTK_DOC_USE_LIBTOOL_FALSE='#'
12331
GTK_DOC_USE_LIBTOOL_TRUE='#'
12332
GTK_DOC_USE_LIBTOOL_FALSE=
12335
if test -n "$GTKDOC_REBASE"; then
12336
GTK_DOC_USE_REBASE_TRUE=
12337
GTK_DOC_USE_REBASE_FALSE='#'
12339
GTK_DOC_USE_REBASE_TRUE='#'
12340
GTK_DOC_USE_REBASE_FALSE=
12346
###########################
12348
###########################
12352
# Check whether --enable-schemas-compile was given.
12353
if test "${enable_schemas_compile+set}" = set; then :
12354
enableval=$enable_schemas_compile; case ${enableval} in
12355
yes) GSETTINGS_DISABLE_SCHEMAS_COMPILE="" ;;
12356
no) GSETTINGS_DISABLE_SCHEMAS_COMPILE="1" ;;
12357
*) as_fn_error $? "bad value ${enableval} for --enable-schemas-compile" "$LINENO" 5 ;;
12369
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12370
if test -n "$ac_tool_prefix"; then
12371
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12372
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12374
$as_echo_n "checking for $ac_word... " >&6; }
12375
if ${ac_cv_path_PKG_CONFIG+:} false; then :
12376
$as_echo_n "(cached) " >&6
12378
case $PKG_CONFIG in
12380
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12383
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12384
for as_dir in $PATH
12387
test -z "$as_dir" && as_dir=.
12388
for ac_exec_ext in '' $ac_executable_extensions; do
12389
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12390
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12391
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12401
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12402
if test -n "$PKG_CONFIG"; then
12403
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12404
$as_echo "$PKG_CONFIG" >&6; }
12406
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12407
$as_echo "no" >&6; }
12412
if test -z "$ac_cv_path_PKG_CONFIG"; then
12413
ac_pt_PKG_CONFIG=$PKG_CONFIG
12414
# Extract the first word of "pkg-config", so it can be a program name with args.
12415
set dummy pkg-config; ac_word=$2
12416
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12417
$as_echo_n "checking for $ac_word... " >&6; }
12418
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12419
$as_echo_n "(cached) " >&6
12421
case $ac_pt_PKG_CONFIG in
12423
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12426
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12427
for as_dir in $PATH
12430
test -z "$as_dir" && as_dir=.
12431
for ac_exec_ext in '' $ac_executable_extensions; do
12432
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12433
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12434
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12444
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12445
if test -n "$ac_pt_PKG_CONFIG"; then
12446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12447
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12449
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12450
$as_echo "no" >&6; }
12453
if test "x$ac_pt_PKG_CONFIG" = x; then
12456
case $cross_compiling:$ac_tool_warned in
12458
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12459
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12460
ac_tool_warned=yes ;;
12462
PKG_CONFIG=$ac_pt_PKG_CONFIG
12465
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12469
if test -n "$PKG_CONFIG"; then
12470
_pkg_min_version=0.16
12471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12472
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12473
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12474
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12475
$as_echo "yes" >&6; }
12477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12478
$as_echo "no" >&6; }
12482
gsettingsschemadir=${datadir}/glib-2.0/schemas
12484
if test x$cross_compiling != xyes; then
12485
GLIB_COMPILE_SCHEMAS=`$PKG_CONFIG --variable glib_compile_schemas gio-2.0`
12487
# Extract the first word of "glib-compile-schemas", so it can be a program name with args.
12488
set dummy glib-compile-schemas; ac_word=$2
12489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12490
$as_echo_n "checking for $ac_word... " >&6; }
12491
if ${ac_cv_path_GLIB_COMPILE_SCHEMAS+:} false; then :
12492
$as_echo_n "(cached) " >&6
12494
case $GLIB_COMPILE_SCHEMAS in
12496
ac_cv_path_GLIB_COMPILE_SCHEMAS="$GLIB_COMPILE_SCHEMAS" # Let the user override the test with a path.
12499
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12500
for as_dir in $PATH
12503
test -z "$as_dir" && as_dir=.
12504
for ac_exec_ext in '' $ac_executable_extensions; do
12505
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12506
ac_cv_path_GLIB_COMPILE_SCHEMAS="$as_dir/$ac_word$ac_exec_ext"
12507
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12517
GLIB_COMPILE_SCHEMAS=$ac_cv_path_GLIB_COMPILE_SCHEMAS
12518
if test -n "$GLIB_COMPILE_SCHEMAS"; then
12519
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_COMPILE_SCHEMAS" >&5
12520
$as_echo "$GLIB_COMPILE_SCHEMAS" >&6; }
12522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12523
$as_echo "no" >&6; }
12529
if test "x$GLIB_COMPILE_SCHEMAS" = "x"; then
12530
as_fn_error $? "glib-compile-schemas not found." "$LINENO" 5
12536
.PHONY : uninstall-gsettings-schemas install-gsettings-schemas clean-gsettings-schemas
12538
mostlyclean-am: clean-gsettings-schemas
12540
gsettings__enum_file = $(addsuffix .enums.xml,$(gsettings_ENUM_NAMESPACE))
12542
%.gschema.valid: %.gschema.xml $(gsettings__enum_file)
12543
$(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; $(GLIB_COMPILE_SCHEMAS) --strict --dry-run $(addprefix --schema-file=,$(gsettings__enum_file)) --schema-file=$${d}$< && touch $@
12545
all-am: $(gsettings_SCHEMAS:.xml=.valid)
12546
uninstall-am: uninstall-gsettings-schemas
12547
install-data-am: install-gsettings-schemas
12549
.SECONDARY: $(gsettings_SCHEMAS)
12551
install-gsettings-schemas: $(gsettings_SCHEMAS) $(gsettings__enum_file)
12553
if test -n "$^"; then \
12554
test -z "$(gsettingsschemadir)" || $(MKDIR_P) "$(DESTDIR)$(gsettingsschemadir)"; \
12555
$(INSTALL_DATA) $^ "$(DESTDIR)$(gsettingsschemadir)"; \
12556
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir); \
12559
uninstall-gsettings-schemas:
12560
@$(NORMAL_UNINSTALL)
12561
@list='\''$(gsettings_SCHEMAS) $(gsettings__enum_file)'\''; test -n "$(gsettingsschemadir)" || list=; \
12562
files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \
12563
test -n "$$files" || exit 0; \
12564
echo " ( cd '\''$(DESTDIR)$(gsettingsschemadir)'\'' && rm -f" $$files ")"; \
12565
cd "$(DESTDIR)$(gsettingsschemadir)" && rm -f $$files
12566
test -n "$(GSETTINGS_DISABLE_SCHEMAS_COMPILE)$(DESTDIR)" || $(GLIB_COMPILE_SCHEMAS) $(gsettingsschemadir)
12568
clean-gsettings-schemas:
12569
rm -f $(gsettings_SCHEMAS:.xml=.valid) $(gsettings__enum_file)
12571
ifdef gsettings_ENUM_NAMESPACE
12572
$(gsettings__enum_file): $(gsettings_ENUM_FILES)
12573
$(AM_V_GEN) glib-mkenums --comments '\''<!-- @comment@ -->'\'' --fhead "<schemalist>" --vhead " <@type@ id='\''$(gsettings_ENUM_NAMESPACE).@EnumName@'\''>" --vprod " <value nick='\''@valuenick@'\'' value='\''@valuenum@'\''/>" --vtail " </@type@>" --ftail "</schemalist>" $^ > $@.tmp && mv $@.tmp $@
12583
###########################
12585
###########################
12587
GTK_REQUIRED_VERSION=3.0
12588
GIO_REQUIRED_VERSION=2.26
12589
INDICATOR_REQUIRED_VERSION=0.3.90
12590
DBUSMENUGTK_REQUIRED_VERSION=0.5.90
12591
BAMF_REQUIRED_VERSION=0.2.53
12595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
12596
$as_echo_n "checking for gtk... " >&6; }
12598
if test -n "$gtk_CFLAGS"; then
12599
pkg_cv_gtk_CFLAGS="$gtk_CFLAGS"
12600
elif test -n "$PKG_CONFIG"; then
12601
if test -n "$PKG_CONFIG" && \
12602
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
12603
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION") 2>&5
12605
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12606
test $ac_status = 0; }; then
12607
pkg_cv_gtk_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
12608
test "x$?" != "x0" && pkg_failed=yes
12615
if test -n "$gtk_LIBS"; then
12616
pkg_cv_gtk_LIBS="$gtk_LIBS"
12617
elif test -n "$PKG_CONFIG"; then
12618
if test -n "$PKG_CONFIG" && \
12619
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
12620
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION") 2>&5
12622
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12623
test $ac_status = 0; }; then
12624
pkg_cv_gtk_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
12625
test "x$?" != "x0" && pkg_failed=yes
12635
if test $pkg_failed = yes; then
12636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12637
$as_echo "no" >&6; }
12639
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12640
_pkg_short_errors_supported=yes
12642
_pkg_short_errors_supported=no
12644
if test $_pkg_short_errors_supported = yes; then
12645
gtk_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>&1`
12647
gtk_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION" 2>&1`
12649
# Put the nasty error message in config.log where it belongs
12650
echo "$gtk_PKG_ERRORS" >&5
12652
as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED_VERSION) were not met:
12656
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12657
installed software in a non-standard prefix.
12659
Alternatively, you may set the environment variables gtk_CFLAGS
12660
and gtk_LIBS to avoid the need to call pkg-config.
12661
See the pkg-config man page for more details." "$LINENO" 5
12662
elif test $pkg_failed = untried; then
12663
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12664
$as_echo "no" >&6; }
12665
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12666
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12667
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12668
is in your PATH or set the PKG_CONFIG environment variable to the full
12669
path to pkg-config.
12671
Alternatively, you may set the environment variables gtk_CFLAGS
12672
and gtk_LIBS to avoid the need to call pkg-config.
12673
See the pkg-config man page for more details.
12675
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12676
See \`config.log' for more details" "$LINENO" 5; }
12678
gtk_CFLAGS=$pkg_cv_gtk_CFLAGS
12679
gtk_LIBS=$pkg_cv_gtk_LIBS
12680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12681
$as_echo "yes" >&6; }
12686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INDICATOR" >&5
12687
$as_echo_n "checking for INDICATOR... " >&6; }
12689
if test -n "$INDICATOR_CFLAGS"; then
12690
pkg_cv_INDICATOR_CFLAGS="$INDICATOR_CFLAGS"
12691
elif test -n "$PKG_CONFIG"; then
12692
if test -n "$PKG_CONFIG" && \
12693
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION
12694
gio-2.0 >= \$GIO_REQUIRED_VERSION
12695
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
12696
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
12697
libbamf3 >= \$BAMF_REQUIRED_VERSION\""; } >&5
12698
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12699
gio-2.0 >= $GIO_REQUIRED_VERSION
12700
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12701
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12702
libbamf3 >= $BAMF_REQUIRED_VERSION") 2>&5
12704
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12705
test $ac_status = 0; }; then
12706
pkg_cv_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12707
gio-2.0 >= $GIO_REQUIRED_VERSION
12708
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12709
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12710
libbamf3 >= $BAMF_REQUIRED_VERSION" 2>/dev/null`
12711
test "x$?" != "x0" && pkg_failed=yes
12718
if test -n "$INDICATOR_LIBS"; then
12719
pkg_cv_INDICATOR_LIBS="$INDICATOR_LIBS"
12720
elif test -n "$PKG_CONFIG"; then
12721
if test -n "$PKG_CONFIG" && \
12722
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED_VERSION
12723
gio-2.0 >= \$GIO_REQUIRED_VERSION
12724
indicator3-0.4 >= \$INDICATOR_REQUIRED_VERSION
12725
dbusmenu-gtk3-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION
12726
libbamf3 >= \$BAMF_REQUIRED_VERSION\""; } >&5
12727
($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12728
gio-2.0 >= $GIO_REQUIRED_VERSION
12729
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12730
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12731
libbamf3 >= $BAMF_REQUIRED_VERSION") 2>&5
12733
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12734
test $ac_status = 0; }; then
12735
pkg_cv_INDICATOR_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12736
gio-2.0 >= $GIO_REQUIRED_VERSION
12737
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12738
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12739
libbamf3 >= $BAMF_REQUIRED_VERSION" 2>/dev/null`
12740
test "x$?" != "x0" && pkg_failed=yes
12750
if test $pkg_failed = yes; then
12751
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12752
$as_echo "no" >&6; }
12754
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12755
_pkg_short_errors_supported=yes
12757
_pkg_short_errors_supported=no
12759
if test $_pkg_short_errors_supported = yes; then
12760
INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12761
gio-2.0 >= $GIO_REQUIRED_VERSION
12762
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12763
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12764
libbamf3 >= $BAMF_REQUIRED_VERSION" 2>&1`
12766
INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED_VERSION
12767
gio-2.0 >= $GIO_REQUIRED_VERSION
12768
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12769
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12770
libbamf3 >= $BAMF_REQUIRED_VERSION" 2>&1`
12772
# Put the nasty error message in config.log where it belongs
12773
echo "$INDICATOR_PKG_ERRORS" >&5
12775
as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED_VERSION
12776
gio-2.0 >= $GIO_REQUIRED_VERSION
12777
indicator3-0.4 >= $INDICATOR_REQUIRED_VERSION
12778
dbusmenu-gtk3-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION
12779
libbamf3 >= $BAMF_REQUIRED_VERSION) were not met:
12781
$INDICATOR_PKG_ERRORS
12783
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12784
installed software in a non-standard prefix.
12786
Alternatively, you may set the environment variables INDICATOR_CFLAGS
12787
and INDICATOR_LIBS to avoid the need to call pkg-config.
12788
See the pkg-config man page for more details." "$LINENO" 5
12789
elif test $pkg_failed = untried; then
12790
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12791
$as_echo "no" >&6; }
12792
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12793
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12794
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12795
is in your PATH or set the PKG_CONFIG environment variable to the full
12796
path to pkg-config.
12798
Alternatively, you may set the environment variables INDICATOR_CFLAGS
12799
and INDICATOR_LIBS to avoid the need to call pkg-config.
12800
See the pkg-config man page for more details.
12802
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12803
See \`config.log' for more details" "$LINENO" 5; }
12805
INDICATOR_CFLAGS=$pkg_cv_INDICATOR_CFLAGS
12806
INDICATOR_LIBS=$pkg_cv_INDICATOR_LIBS
12807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12808
$as_echo "yes" >&6; }
12814
###########################
12816
###########################
12818
DBUSMENU_GLIB_REQUIRED_VERSION=0.4.0
12819
BAMF_REQUIRED_VERSION=0.2.53
12820
SQLITE_REQUIRED_VERSION=0.0
12824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for HUD" >&5
12825
$as_echo_n "checking for HUD... " >&6; }
12827
if test -n "$HUD_CFLAGS"; then
12828
pkg_cv_HUD_CFLAGS="$HUD_CFLAGS"
12829
elif test -n "$PKG_CONFIG"; then
12830
if test -n "$PKG_CONFIG" && \
12831
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12832
dbusmenu-glib-0.4 >= \$DBUSMENU_GLIB_REQUIRED_VERSION
12834
sqlite3 >= \$SQLITE_REQUIRED_VERSION
12836
($PKG_CONFIG --exists --print-errors "
12837
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12839
sqlite3 >= $SQLITE_REQUIRED_VERSION
12842
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12843
test $ac_status = 0; }; then
12844
pkg_cv_HUD_CFLAGS=`$PKG_CONFIG --cflags "
12845
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12847
sqlite3 >= $SQLITE_REQUIRED_VERSION
12849
test "x$?" != "x0" && pkg_failed=yes
12856
if test -n "$HUD_LIBS"; then
12857
pkg_cv_HUD_LIBS="$HUD_LIBS"
12858
elif test -n "$PKG_CONFIG"; then
12859
if test -n "$PKG_CONFIG" && \
12860
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"
12861
dbusmenu-glib-0.4 >= \$DBUSMENU_GLIB_REQUIRED_VERSION
12863
sqlite3 >= \$SQLITE_REQUIRED_VERSION
12865
($PKG_CONFIG --exists --print-errors "
12866
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12868
sqlite3 >= $SQLITE_REQUIRED_VERSION
12871
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12872
test $ac_status = 0; }; then
12873
pkg_cv_HUD_LIBS=`$PKG_CONFIG --libs "
12874
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12876
sqlite3 >= $SQLITE_REQUIRED_VERSION
12878
test "x$?" != "x0" && pkg_failed=yes
12888
if test $pkg_failed = yes; then
12889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890
$as_echo "no" >&6; }
12892
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12893
_pkg_short_errors_supported=yes
12895
_pkg_short_errors_supported=no
12897
if test $_pkg_short_errors_supported = yes; then
12898
HUD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "
12899
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12901
sqlite3 >= $SQLITE_REQUIRED_VERSION
12904
HUD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "
12905
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12907
sqlite3 >= $SQLITE_REQUIRED_VERSION
12910
# Put the nasty error message in config.log where it belongs
12911
echo "$HUD_PKG_ERRORS" >&5
12913
as_fn_error $? "Package requirements (
12914
dbusmenu-glib-0.4 >= $DBUSMENU_GLIB_REQUIRED_VERSION
12916
sqlite3 >= $SQLITE_REQUIRED_VERSION
12921
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12922
installed software in a non-standard prefix.
12924
Alternatively, you may set the environment variables HUD_CFLAGS
12925
and HUD_LIBS to avoid the need to call pkg-config.
12926
See the pkg-config man page for more details." "$LINENO" 5
12927
elif test $pkg_failed = untried; then
12928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12929
$as_echo "no" >&6; }
12930
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12931
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12932
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12933
is in your PATH or set the PKG_CONFIG environment variable to the full
12934
path to pkg-config.
12936
Alternatively, you may set the environment variables HUD_CFLAGS
12937
and HUD_LIBS to avoid the need to call pkg-config.
12938
See the pkg-config man page for more details.
12940
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12941
See \`config.log' for more details" "$LINENO" 5; }
12943
HUD_CFLAGS=$pkg_cv_HUD_CFLAGS
12944
HUD_LIBS=$pkg_cv_HUD_LIBS
12945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12946
$as_echo "yes" >&6; }
12950
###########################
12952
###########################
12954
as_ac_Header=`$as_echo "ac_cv_header_"readline/readline.h"" | $as_tr_sh`
12955
ac_fn_c_check_header_mongrel "$LINENO" ""readline/readline.h"" "$as_ac_Header" "$ac_includes_default"
12956
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12957
has_readline_h="yes"
12961
as_ac_Header=`$as_echo "ac_cv_header_"readline/history.h"" | $as_tr_sh`
12962
ac_fn_c_check_header_mongrel "$LINENO" ""readline/history.h"" "$as_ac_Header" "$ac_includes_default"
12963
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12964
has_history_h="yes"
12968
as_ac_Header=`$as_echo "ac_cv_header_"curses.h"" | $as_tr_sh`
12969
ac_fn_c_check_header_mongrel "$LINENO" ""curses.h"" "$as_ac_Header" "$ac_includes_default"
12970
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12976
if test "x$has_readline_h" == "xyes" && test "x$has_history_h" == "xyes" && test "x$has_curses_h" == "xyes"; then
12978
BUILD_CLI_FALSE='#'
12985
###########################
12986
# Test Dependencies
12987
###########################
12989
DBUSMENU_JSONLOADER_REQUIRED_VERSION=0.3.3
12990
LIBAPPINDICATOR_REQUIRED_VERSION=0.0.0
12992
# Check whether --enable-tests was given.
12993
if test "${enable_tests+set}" = set; then :
12994
enableval=$enable_tests;
13000
if test x"$enable_tests" != x"no" ; then
13003
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for INDICATORTEST" >&5
13004
$as_echo_n "checking for INDICATORTEST... " >&6; }
13006
if test -n "$INDICATORTEST_CFLAGS"; then
13007
pkg_cv_INDICATORTEST_CFLAGS="$INDICATORTEST_CFLAGS"
13008
elif test -n "$PKG_CONFIG"; then
13009
if test -n "$PKG_CONFIG" && \
13010
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-jsonloader-0.4 >= \$DBUSMENU_JSONLOADER_REQUIRED_VERSION
13011
appindicator3-0.1 >= \$LIBAPPINDICATOR_REQUIRED_VERSION\""; } >&5
13012
($PKG_CONFIG --exists --print-errors "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13013
appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION") 2>&5
13015
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13016
test $ac_status = 0; }; then
13017
pkg_cv_INDICATORTEST_CFLAGS=`$PKG_CONFIG --cflags "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13018
appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>/dev/null`
13019
test "x$?" != "x0" && pkg_failed=yes
13026
if test -n "$INDICATORTEST_LIBS"; then
13027
pkg_cv_INDICATORTEST_LIBS="$INDICATORTEST_LIBS"
13028
elif test -n "$PKG_CONFIG"; then
13029
if test -n "$PKG_CONFIG" && \
13030
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbusmenu-jsonloader-0.4 >= \$DBUSMENU_JSONLOADER_REQUIRED_VERSION
13031
appindicator3-0.1 >= \$LIBAPPINDICATOR_REQUIRED_VERSION\""; } >&5
13032
($PKG_CONFIG --exists --print-errors "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13033
appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION") 2>&5
13035
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13036
test $ac_status = 0; }; then
13037
pkg_cv_INDICATORTEST_LIBS=`$PKG_CONFIG --libs "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13038
appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>/dev/null`
13039
test "x$?" != "x0" && pkg_failed=yes
13049
if test $pkg_failed = yes; then
13050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13051
$as_echo "no" >&6; }
13053
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13054
_pkg_short_errors_supported=yes
13056
_pkg_short_errors_supported=no
13058
if test $_pkg_short_errors_supported = yes; then
13059
INDICATORTEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13060
appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>&1`
13062
INDICATORTEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbusmenu-jsonloader-0.4 >= $DBUSMENU_JSONLOADER_REQUIRED_VERSION
13063
appindicator3-0.1 >= $LIBAPPINDICATOR_REQUIRED_VERSION" 2>&1`
13065
# Put the nasty error message in config.log where it belongs
13066
echo "$INDICATORTEST_PKG_ERRORS" >&5
13068
have_dbusmenu_jsonloader=no
13070
elif test $pkg_failed = untried; then
13071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13072
$as_echo "no" >&6; }
13073
have_dbusmenu_jsonloader=no
13076
INDICATORTEST_CFLAGS=$pkg_cv_INDICATORTEST_CFLAGS
13077
INDICATORTEST_LIBS=$pkg_cv_INDICATORTEST_LIBS
13078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13079
$as_echo "yes" >&6; }
13080
have_dbusmenu_jsonloader=yes
13082
if test x${enable_tests} = xyes && test x${have_dbusmenu_jsonloader} = xno; then
13083
as_fn_error $? "Test scripts and tools configured but dbusmenu-jsonloader not found" "$LINENO" 5
13086
have_dbusmenu-jsonloader=no
13088
if test x${have_dbusmenu_jsonloader} = xyes; then
13090
BUILD_TESTS_FALSE='#'
13092
BUILD_TESTS_TRUE='#'
13100
###########################
13101
# gcov coverage reporting
13102
###########################
13104
# Checks for existence of coverage tools:
13110
# Sets ac_cv_check_gcov to yes if tooling is present
13111
# and reports the executables to the variables LCOV, GCOVR and GENHTML.
13115
# Check whether --enable-gcov was given.
13116
if test "${enable_gcov+set}" = set; then :
13117
enableval=$enable_gcov; use_gcov=$enableval
13123
if test "x$use_gcov" = "xyes"; then
13125
if test "$GCC" != "yes"; then
13126
as_fn_error $? "GCC is required for --enable-gcov" "$LINENO" 5
13129
# Check if ccache is being used
13130
# Extract the first word of "shtool", so it can be a program name with args.
13131
set dummy shtool; ac_word=$2
13132
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13133
$as_echo_n "checking for $ac_word... " >&6; }
13134
if ${ac_cv_prog_SHTOOL+:} false; then :
13135
$as_echo_n "(cached) " >&6
13137
if test -n "$SHTOOL"; then
13138
ac_cv_prog_SHTOOL="$SHTOOL" # Let the user override the test.
13140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13141
for as_dir in $PATH
13144
test -z "$as_dir" && as_dir=.
13145
for ac_exec_ext in '' $ac_executable_extensions; do
13146
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13147
ac_cv_prog_SHTOOL="shtool"
13148
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13157
SHTOOL=$ac_cv_prog_SHTOOL
13158
if test -n "$SHTOOL"; then
13159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SHTOOL" >&5
13160
$as_echo "$SHTOOL" >&6; }
13162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13163
$as_echo "no" >&6; }
13167
case `$SHTOOL path $CC` in
13168
*ccache*) gcc_ccache=yes;;
13172
if test "$gcc_ccache" = "yes" && (test -z "$CCACHE_DISABLE" || test "$CCACHE_DISABLE" != "1"); then
13173
as_fn_error $? "ccache must be disabled when --enable-gcov option is used. You can disable ccache by setting environment variable CCACHE_DISABLE=1." "$LINENO" 5
13176
lcov_version_list="1.6 1.7 1.8 1.9"
13177
# Extract the first word of "lcov", so it can be a program name with args.
13178
set dummy lcov; ac_word=$2
13179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13180
$as_echo_n "checking for $ac_word... " >&6; }
13181
if ${ac_cv_prog_LCOV+:} false; then :
13182
$as_echo_n "(cached) " >&6
13184
if test -n "$LCOV"; then
13185
ac_cv_prog_LCOV="$LCOV" # Let the user override the test.
13187
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13188
for as_dir in $PATH
13191
test -z "$as_dir" && as_dir=.
13192
for ac_exec_ext in '' $ac_executable_extensions; do
13193
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13194
ac_cv_prog_LCOV="lcov"
13195
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13204
LCOV=$ac_cv_prog_LCOV
13205
if test -n "$LCOV"; then
13206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LCOV" >&5
13207
$as_echo "$LCOV" >&6; }
13209
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13210
$as_echo "no" >&6; }
13214
# Extract the first word of "genhtml", so it can be a program name with args.
13215
set dummy genhtml; ac_word=$2
13216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13217
$as_echo_n "checking for $ac_word... " >&6; }
13218
if ${ac_cv_prog_GENHTML+:} false; then :
13219
$as_echo_n "(cached) " >&6
13221
if test -n "$GENHTML"; then
13222
ac_cv_prog_GENHTML="$GENHTML" # Let the user override the test.
13224
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13225
for as_dir in $PATH
13228
test -z "$as_dir" && as_dir=.
13229
for ac_exec_ext in '' $ac_executable_extensions; do
13230
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13231
ac_cv_prog_GENHTML="genhtml"
13232
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13241
GENHTML=$ac_cv_prog_GENHTML
13242
if test -n "$GENHTML"; then
13243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GENHTML" >&5
13244
$as_echo "$GENHTML" >&6; }
13246
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13247
$as_echo "no" >&6; }
13252
if test "$LCOV"; then
13253
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for lcov version" >&5
13254
$as_echo_n "checking for lcov version... " >&6; }
13255
if ${glib_cv_lcov_version+:} false; then :
13256
$as_echo_n "(cached) " >&6
13259
glib_cv_lcov_version=invalid
13260
lcov_version=`$LCOV -v 2>/dev/null | $SED -e 's/^.* //'`
13261
for lcov_check_version in $lcov_version_list; do
13262
if test "$lcov_version" = "$lcov_check_version"; then
13263
glib_cv_lcov_version="$lcov_check_version (ok)"
13268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glib_cv_lcov_version" >&5
13269
$as_echo "$glib_cv_lcov_version" >&6; }
13271
lcov_msg="To enable code coverage reporting you must have one of the following lcov versions installed: $lcov_version_list"
13272
as_fn_error $? "$lcov_msg" "$LINENO" 5
13275
case $glib_cv_lcov_version in
13277
lcov_msg="You must have one of the following versions of lcov: $lcov_version_list (found: $lcov_version)."
13278
as_fn_error $? "$lcov_msg" "$LINENO" 5
13283
if test -z "$GENHTML"; then
13284
as_fn_error $? "Could not find genhtml from the lcov package" "$LINENO" 5
13287
ac_cv_check_gcov=yes
13288
ac_cv_check_lcov=yes
13290
# Remove all optimization flags from CFLAGS
13292
CFLAGS=`echo "$CFLAGS" | $SED -e 's/-O[0-9]*//g'`
13295
# Add the special gcc flags
13296
COVERAGE_CFLAGS="-O0 -fprofile-arcs -ftest-coverage"
13297
COVERAGE_CXXFLAGS="-O0 -fprofile-arcs -ftest-coverage"
13298
COVERAGE_LDFLAGS="-lgcov"
13300
# Check availability of gcovr
13301
# Extract the first word of "gcovr", so it can be a program name with args.
13302
set dummy gcovr; ac_word=$2
13303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13304
$as_echo_n "checking for $ac_word... " >&6; }
13305
if ${ac_cv_prog_GCOVR+:} false; then :
13306
$as_echo_n "(cached) " >&6
13308
if test -n "$GCOVR"; then
13309
ac_cv_prog_GCOVR="$GCOVR" # Let the user override the test.
13311
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13312
for as_dir in $PATH
13315
test -z "$as_dir" && as_dir=.
13316
for ac_exec_ext in '' $ac_executable_extensions; do
13317
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13318
ac_cv_prog_GCOVR="gcovr"
13319
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13328
GCOVR=$ac_cv_prog_GCOVR
13329
if test -n "$GCOVR"; then
13330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCOVR" >&5
13331
$as_echo "$GCOVR" >&6; }
13333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13334
$as_echo "no" >&6; }
13338
if test -z "$GCOVR"; then
13339
ac_cv_check_gcovr=no
13341
ac_cv_check_gcovr=yes
13346
if test "x$ac_cv_check_gcov" = xyes; then
13348
HAVE_GCOV_FALSE='#'
13354
if test "x$ac_cv_check_lcov" = xyes; then
13356
HAVE_LCOV_FALSE='#'
13362
if test "x$ac_cv_check_gcovr" = xyes; then
13364
HAVE_GCOVR_FALSE='#'
13366
HAVE_GCOVR_TRUE='#'
13374
###########################
13376
###########################
13378
# Extract the first word of "xsltproc", so it can be a program name with args.
13379
set dummy xsltproc; ac_word=$2
13380
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13381
$as_echo_n "checking for $ac_word... " >&6; }
13382
if ${ac_cv_path_XSLT_PROC+:} false; then :
13383
$as_echo_n "(cached) " >&6
13387
ac_cv_path_XSLT_PROC="$XSLT_PROC" # Let the user override the test with a path.
13390
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13391
for as_dir in $PATH
13394
test -z "$as_dir" && as_dir=.
13395
for ac_exec_ext in '' $ac_executable_extensions; do
13396
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13397
ac_cv_path_XSLT_PROC="$as_dir/$ac_word$ac_exec_ext"
13398
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13408
XSLT_PROC=$ac_cv_path_XSLT_PROC
13409
if test -n "$XSLT_PROC"; then
13410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLT_PROC" >&5
13411
$as_echo "$XSLT_PROC" >&6; }
13413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13414
$as_echo "no" >&6; }
13419
###########################
13420
# Check to see if we're local
13421
###########################
13423
with_localinstall="no"
13424
# Check whether --enable-localinstall was given.
13425
if test "${enable_localinstall+set}" = set; then :
13426
enableval=$enable_localinstall; with_localinstall=$enableval
13428
with_localinstall=no
13432
###########################
13434
###########################
13436
if test "x$with_localinstall" = "xyes"; then
13437
INDICATORDIR="${libdir}/indicators/3/"
13438
INDICATORICONSDIR="${datadir}/libindicate/icons/"
13439
elif test "x$with_gtk" = x2; then
13440
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator-0.4`
13441
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator-0.4`
13443
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3-0.4`
13444
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator3-0.4`
13449
###########################
13450
# DBus Service Info
13451
###########################
13453
if test "x$with_localinstall" = "xyes"; then
13454
DBUSSERVICEDIR="${datadir}/dbus-1/services/"
13456
DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
13460
##############################
13462
##############################
13466
###########################
13467
# Internationalization
13468
###########################
13470
GETTEXT_PACKAGE=indicator-appmenu
13473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
13474
$as_echo_n "checking whether NLS is requested... " >&6; }
13475
# Check whether --enable-nls was given.
13476
if test "${enable_nls+set}" = set; then :
13477
enableval=$enable_nls; USE_NLS=$enableval
13482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
13483
$as_echo "$USE_NLS" >&6; }
13488
case "$am__api_version" in
13490
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
13496
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.50.2 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13497
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
13498
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
13499
if test -n "0.50.2"; then
13500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.50.2" >&5
13501
$as_echo_n "checking for intltool >= 0.50.2... " >&6; }
13502
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
13503
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
13504
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
13505
as_fn_error $? "Your intltool is too old. You need intltool 0.50.2 or later." "$LINENO" 5
13508
# Extract the first word of "intltool-update", so it can be a program name with args.
13509
set dummy intltool-update; ac_word=$2
13510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13511
$as_echo_n "checking for $ac_word... " >&6; }
13512
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
13513
$as_echo_n "(cached) " >&6
13515
case $INTLTOOL_UPDATE in
13517
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
13520
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13521
for as_dir in $PATH
13524
test -z "$as_dir" && as_dir=.
13525
for ac_exec_ext in '' $ac_executable_extensions; do
13526
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13527
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
13528
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13538
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
13539
if test -n "$INTLTOOL_UPDATE"; then
13540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
13541
$as_echo "$INTLTOOL_UPDATE" >&6; }
13543
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13544
$as_echo "no" >&6; }
13548
# Extract the first word of "intltool-merge", so it can be a program name with args.
13549
set dummy intltool-merge; ac_word=$2
13550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13551
$as_echo_n "checking for $ac_word... " >&6; }
13552
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
13553
$as_echo_n "(cached) " >&6
13555
case $INTLTOOL_MERGE in
13557
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
13560
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13561
for as_dir in $PATH
13564
test -z "$as_dir" && as_dir=.
13565
for ac_exec_ext in '' $ac_executable_extensions; do
13566
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13567
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
13568
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13578
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
13579
if test -n "$INTLTOOL_MERGE"; then
13580
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
13581
$as_echo "$INTLTOOL_MERGE" >&6; }
13583
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13584
$as_echo "no" >&6; }
13588
# Extract the first word of "intltool-extract", so it can be a program name with args.
13589
set dummy intltool-extract; ac_word=$2
13590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13591
$as_echo_n "checking for $ac_word... " >&6; }
13592
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
13593
$as_echo_n "(cached) " >&6
13595
case $INTLTOOL_EXTRACT in
13597
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
13600
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13601
for as_dir in $PATH
13604
test -z "$as_dir" && as_dir=.
13605
for ac_exec_ext in '' $ac_executable_extensions; do
13606
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13607
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
13608
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13618
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
13619
if test -n "$INTLTOOL_EXTRACT"; then
13620
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
13621
$as_echo "$INTLTOOL_EXTRACT" >&6; }
13623
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13624
$as_echo "no" >&6; }
13628
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
13629
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
13632
if test -z "$AM_DEFAULT_VERBOSITY"; then
13633
AM_DEFAULT_VERBOSITY=1
13637
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
13638
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
13639
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
13644
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
13645
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
13646
intltool__v_merge_options_0='-q'
13651
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 $< $@'
13652
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 $< $@'
13653
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 $< $@'
13654
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 $< $@'
13655
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 $< $@'
13656
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 $< $@'
13657
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 $< $@'
13658
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 $< $@'
13659
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 $< $@'
13660
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 $< $@'
13661
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 $< $@'
13662
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
13663
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 $< $@'
13665
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'
13667
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 $< $@'
13668
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 $< $@'
13669
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 $< $@'
13670
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 $< $@'
13671
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 $< $@'
13672
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 $< $@'
13673
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 $< $@'
13771
# Check the gettext tools to make sure they are GNU
13772
# Extract the first word of "xgettext", so it can be a program name with args.
13773
set dummy xgettext; ac_word=$2
13774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13775
$as_echo_n "checking for $ac_word... " >&6; }
13776
if ${ac_cv_path_XGETTEXT+:} false; then :
13777
$as_echo_n "(cached) " >&6
13781
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13784
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13785
for as_dir in $PATH
13788
test -z "$as_dir" && as_dir=.
13789
for ac_exec_ext in '' $ac_executable_extensions; do
13790
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13791
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
13792
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13802
XGETTEXT=$ac_cv_path_XGETTEXT
13803
if test -n "$XGETTEXT"; then
13804
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13805
$as_echo "$XGETTEXT" >&6; }
13807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13808
$as_echo "no" >&6; }
13812
# Extract the first word of "msgmerge", so it can be a program name with args.
13813
set dummy msgmerge; ac_word=$2
13814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13815
$as_echo_n "checking for $ac_word... " >&6; }
13816
if ${ac_cv_path_MSGMERGE+:} false; then :
13817
$as_echo_n "(cached) " >&6
13821
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
13824
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13825
for as_dir in $PATH
13828
test -z "$as_dir" && as_dir=.
13829
for ac_exec_ext in '' $ac_executable_extensions; do
13830
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13831
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
13832
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13842
MSGMERGE=$ac_cv_path_MSGMERGE
13843
if test -n "$MSGMERGE"; then
13844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
13845
$as_echo "$MSGMERGE" >&6; }
13847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13848
$as_echo "no" >&6; }
13852
# Extract the first word of "msgfmt", so it can be a program name with args.
13853
set dummy msgfmt; ac_word=$2
13854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13855
$as_echo_n "checking for $ac_word... " >&6; }
13856
if ${ac_cv_path_MSGFMT+:} false; then :
13857
$as_echo_n "(cached) " >&6
13861
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13864
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13865
for as_dir in $PATH
13868
test -z "$as_dir" && as_dir=.
13869
for ac_exec_ext in '' $ac_executable_extensions; do
13870
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13871
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
13872
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13882
MSGFMT=$ac_cv_path_MSGFMT
13883
if test -n "$MSGFMT"; then
13884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13885
$as_echo "$MSGFMT" >&6; }
13887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13888
$as_echo "no" >&6; }
13892
# Extract the first word of "gmsgfmt", so it can be a program name with args.
13893
set dummy gmsgfmt; ac_word=$2
13894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13895
$as_echo_n "checking for $ac_word... " >&6; }
13896
if ${ac_cv_path_GMSGFMT+:} false; then :
13897
$as_echo_n "(cached) " >&6
13901
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905
for as_dir in $PATH
13908
test -z "$as_dir" && as_dir=.
13909
for ac_exec_ext in '' $ac_executable_extensions; do
13910
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13911
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13912
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13919
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13923
GMSGFMT=$ac_cv_path_GMSGFMT
13924
if test -n "$GMSGFMT"; then
13925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13926
$as_echo "$GMSGFMT" >&6; }
13928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13929
$as_echo "no" >&6; }
13933
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
13934
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13936
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
13937
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
13938
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
13939
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
13940
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
13943
# Extract the first word of "perl", so it can be a program name with args.
13944
set dummy perl; ac_word=$2
13945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13946
$as_echo_n "checking for $ac_word... " >&6; }
13947
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
13948
$as_echo_n "(cached) " >&6
13950
case $INTLTOOL_PERL in
13952
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
13955
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13956
for as_dir in $PATH
13959
test -z "$as_dir" && as_dir=.
13960
for ac_exec_ext in '' $ac_executable_extensions; do
13961
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13962
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
13963
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13973
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
13974
if test -n "$INTLTOOL_PERL"; then
13975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
13976
$as_echo "$INTLTOOL_PERL" >&6; }
13978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13979
$as_echo "no" >&6; }
13983
if test -z "$INTLTOOL_PERL"; then
13984
as_fn_error $? "perl not found" "$LINENO" 5
13986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
13987
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
13988
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
13989
if test $? -ne 0; then
13990
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
13992
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
13993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
13994
$as_echo "$IT_PERL_VERSION" >&6; }
13996
if test "x" != "xno-xml"; then
13997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
13998
$as_echo_n "checking for XML::Parser... " >&6; }
13999
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
14000
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
14001
$as_echo "ok" >&6; }
14003
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
14007
# Substitute ALL_LINGUAS so we can use it in po/Makefile
14010
# Set DATADIRNAME correctly if it is not set yet
14011
# (copied from glib-gettext.m4)
14012
if test -z "$DATADIRNAME"; then
14013
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14014
/* end confdefs.h. */
14019
extern int _nl_msg_cat_cntr;
14020
return _nl_msg_cat_cntr
14025
if ac_fn_c_try_link "$LINENO"; then :
14030
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
14031
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
14043
rm -f core conftest.err conftest.$ac_objext \
14044
conftest$ac_exeext conftest.$ac_ext
14054
GETTEXT_MACRO_VERSION=0.17
14059
# Prepare PATH_SEPARATOR.
14060
# The user is always right.
14061
if test "${PATH_SEPARATOR+set}" != set; then
14062
echo "#! /bin/sh" >conf$$.sh
14063
echo "exit 0" >>conf$$.sh
14065
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14073
# Find out how to test for executable files. Don't use a zero-byte file,
14074
# as systems may use methods other than mode bits to determine executability.
14075
cat >conf$$.file <<_ASEOF
14079
chmod +x conf$$.file
14080
if test -x conf$$.file >/dev/null 2>&1; then
14081
ac_executable_p="test -x"
14083
ac_executable_p="test -f"
14087
# Extract the first word of "msgfmt", so it can be a program name with args.
14088
set dummy msgfmt; ac_word=$2
14089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14090
$as_echo_n "checking for $ac_word... " >&6; }
14091
if ${ac_cv_path_MSGFMT+:} false; then :
14092
$as_echo_n "(cached) " >&6
14096
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
14099
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14100
for ac_dir in $PATH; do
14102
test -z "$ac_dir" && ac_dir=.
14103
for ac_exec_ext in '' $ac_executable_extensions; do
14104
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14105
echo "$as_me: trying $ac_dir/$ac_word..." >&5
14106
if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
14107
(if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14108
ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
14115
test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
14119
MSGFMT="$ac_cv_path_MSGFMT"
14120
if test "$MSGFMT" != ":"; then
14121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
14122
$as_echo "$MSGFMT" >&6; }
14124
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14125
$as_echo "no" >&6; }
14128
# Extract the first word of "gmsgfmt", so it can be a program name with args.
14129
set dummy gmsgfmt; ac_word=$2
14130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14131
$as_echo_n "checking for $ac_word... " >&6; }
14132
if ${ac_cv_path_GMSGFMT+:} false; then :
14133
$as_echo_n "(cached) " >&6
14137
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
14140
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14141
for as_dir in $PATH
14144
test -z "$as_dir" && as_dir=.
14145
for ac_exec_ext in '' $ac_executable_extensions; do
14146
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14147
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
14148
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14155
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
14159
GMSGFMT=$ac_cv_path_GMSGFMT
14160
if test -n "$GMSGFMT"; then
14161
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
14162
$as_echo "$GMSGFMT" >&6; }
14164
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165
$as_echo "no" >&6; }
14170
case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14171
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;;
14172
*) MSGFMT_015=$MSGFMT ;;
14175
case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14176
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;;
14177
*) GMSGFMT_015=$GMSGFMT ;;
14182
# Prepare PATH_SEPARATOR.
14183
# The user is always right.
14184
if test "${PATH_SEPARATOR+set}" != set; then
14185
echo "#! /bin/sh" >conf$$.sh
14186
echo "exit 0" >>conf$$.sh
14188
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14196
# Find out how to test for executable files. Don't use a zero-byte file,
14197
# as systems may use methods other than mode bits to determine executability.
14198
cat >conf$$.file <<_ASEOF
14202
chmod +x conf$$.file
14203
if test -x conf$$.file >/dev/null 2>&1; then
14204
ac_executable_p="test -x"
14206
ac_executable_p="test -f"
14210
# Extract the first word of "xgettext", so it can be a program name with args.
14211
set dummy xgettext; ac_word=$2
14212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14213
$as_echo_n "checking for $ac_word... " >&6; }
14214
if ${ac_cv_path_XGETTEXT+:} false; then :
14215
$as_echo_n "(cached) " >&6
14217
case "$XGETTEXT" in
14219
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
14222
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14223
for ac_dir in $PATH; do
14225
test -z "$ac_dir" && ac_dir=.
14226
for ac_exec_ext in '' $ac_executable_extensions; do
14227
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14228
echo "$as_me: trying $ac_dir/$ac_word..." >&5
14229
if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
14230
(if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
14231
ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
14238
test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
14242
XGETTEXT="$ac_cv_path_XGETTEXT"
14243
if test "$XGETTEXT" != ":"; then
14244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
14245
$as_echo "$XGETTEXT" >&6; }
14247
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14248
$as_echo "no" >&6; }
14253
case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in
14254
'' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;;
14255
*) XGETTEXT_015=$XGETTEXT ;;
14260
# Prepare PATH_SEPARATOR.
14261
# The user is always right.
14262
if test "${PATH_SEPARATOR+set}" != set; then
14263
echo "#! /bin/sh" >conf$$.sh
14264
echo "exit 0" >>conf$$.sh
14266
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14274
# Find out how to test for executable files. Don't use a zero-byte file,
14275
# as systems may use methods other than mode bits to determine executability.
14276
cat >conf$$.file <<_ASEOF
14280
chmod +x conf$$.file
14281
if test -x conf$$.file >/dev/null 2>&1; then
14282
ac_executable_p="test -x"
14284
ac_executable_p="test -f"
14288
# Extract the first word of "msgmerge", so it can be a program name with args.
14289
set dummy msgmerge; ac_word=$2
14290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14291
$as_echo_n "checking for $ac_word... " >&6; }
14292
if ${ac_cv_path_MSGMERGE+:} false; then :
14293
$as_echo_n "(cached) " >&6
14295
case "$MSGMERGE" in
14297
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
14300
ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
14301
for ac_dir in $PATH; do
14303
test -z "$ac_dir" && ac_dir=.
14304
for ac_exec_ext in '' $ac_executable_extensions; do
14305
if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
14306
echo "$as_me: trying $ac_dir/$ac_word..." >&5
14307
if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
14308
ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
14315
test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
14319
MSGMERGE="$ac_cv_path_MSGMERGE"
14320
if test "$MSGMERGE" != ":"; then
14321
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
14322
$as_echo "$MSGMERGE" >&6; }
14324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14325
$as_echo "no" >&6; }
14329
test -n "$localedir" || localedir='${datadir}/locale'
14332
test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS=
14335
ac_config_commands="$ac_config_commands po-directories"
14339
if test "X$prefix" = "XNONE"; then
14340
acl_final_prefix="$ac_default_prefix"
14342
acl_final_prefix="$prefix"
14344
if test "X$exec_prefix" = "XNONE"; then
14345
acl_final_exec_prefix='${prefix}'
14347
acl_final_exec_prefix="$exec_prefix"
14349
acl_save_prefix="$prefix"
14350
prefix="$acl_final_prefix"
14351
eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
14352
prefix="$acl_save_prefix"
14355
# Check whether --with-gnu-ld was given.
14356
if test "${with_gnu_ld+set}" = set; then :
14357
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14362
# Prepare PATH_SEPARATOR.
14363
# The user is always right.
14364
if test "${PATH_SEPARATOR+set}" != set; then
14365
echo "#! /bin/sh" >conf$$.sh
14366
echo "exit 0" >>conf$$.sh
14368
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
14376
if test "$GCC" = yes; then
14377
# Check if gcc -print-prog-name=ld gives a path.
14378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
14379
$as_echo_n "checking for ld used by GCC... " >&6; }
14382
# gcc leaves a trailing carriage return which upsets mingw
14383
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14385
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14388
# Accept absolute paths.
14389
[\\/]* | [A-Za-z]:[\\/]*)
14390
re_direlt='/[^/][^/]*/\.\./'
14391
# Canonicalize the path of ld
14392
ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
14393
while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
14394
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
14396
test -z "$LD" && LD="$ac_prog"
14399
# If it fails, then pretend we aren't using GCC.
14403
# If it is relative, then search for the first ld in PATH.
14404
with_gnu_ld=unknown
14407
elif test "$with_gnu_ld" = yes; then
14408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14409
$as_echo_n "checking for GNU ld... " >&6; }
14411
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14412
$as_echo_n "checking for non-GNU ld... " >&6; }
14414
if ${acl_cv_path_LD+:} false; then :
14415
$as_echo_n "(cached) " >&6
14417
if test -z "$LD"; then
14418
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
14419
for ac_dir in $PATH; do
14420
test -z "$ac_dir" && ac_dir=.
14421
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14422
acl_cv_path_LD="$ac_dir/$ac_prog"
14423
# Check to see if the program is GNU ld. I'd rather use --version,
14424
# but apparently some GNU ld's only accept -v.
14425
# Break only if it was the GNU/non-GNU ld that we prefer.
14426
case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
14427
*GNU* | *'with BFD'*)
14428
test "$with_gnu_ld" != no && break ;;
14430
test "$with_gnu_ld" != yes && break ;;
14436
acl_cv_path_LD="$LD" # Let the user override the test with a path.
14440
LD="$acl_cv_path_LD"
14441
if test -n "$LD"; then
14442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14443
$as_echo "$LD" >&6; }
14445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14446
$as_echo "no" >&6; }
14448
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14449
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14450
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14451
if ${acl_cv_prog_gnu_ld+:} false; then :
14452
$as_echo_n "(cached) " >&6
14454
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
14455
case `$LD -v 2>&1 </dev/null` in
14456
*GNU* | *'with BFD'*)
14457
acl_cv_prog_gnu_ld=yes ;;
14459
acl_cv_prog_gnu_ld=no ;;
14462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
14463
$as_echo "$acl_cv_prog_gnu_ld" >&6; }
14464
with_gnu_ld=$acl_cv_prog_gnu_ld
14469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
14470
$as_echo_n "checking for shared library run path origin... " >&6; }
14471
if ${acl_cv_rpath+:} false; then :
14472
$as_echo_n "(cached) " >&6
14475
CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
14476
${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
14478
rm -f ./conftest.sh
14482
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
14483
$as_echo "$acl_cv_rpath" >&6; }
14485
acl_libext="$acl_cv_libext"
14486
acl_shlibext="$acl_cv_shlibext"
14487
acl_libname_spec="$acl_cv_libname_spec"
14488
acl_library_names_spec="$acl_cv_library_names_spec"
14489
acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
14490
acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
14491
acl_hardcode_direct="$acl_cv_hardcode_direct"
14492
acl_hardcode_minus_L="$acl_cv_hardcode_minus_L"
14493
# Check whether --enable-rpath was given.
14494
if test "${enable_rpath+set}" = set; then :
14495
enableval=$enable_rpath; :
14503
searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
14504
if test -n "$searchpath"; then
14505
acl_save_IFS="${IFS= }"; IFS=":"
14506
for searchdir in $searchpath; do
14507
if test -d "$searchdir"; then
14508
case "$searchdir" in
14509
*/lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
14510
*) searchdir=`cd "$searchdir" && pwd`
14511
case "$searchdir" in
14512
*/lib64 ) acl_libdirstem=lib64 ;;
14517
IFS="$acl_save_IFS"
14530
acl_save_prefix="$prefix"
14531
prefix="$acl_final_prefix"
14532
acl_save_exec_prefix="$exec_prefix"
14533
exec_prefix="$acl_final_exec_prefix"
14535
eval additional_includedir=\"$includedir\"
14536
eval additional_libdir=\"$libdir\"
14538
exec_prefix="$acl_save_exec_prefix"
14539
prefix="$acl_save_prefix"
14542
# Check whether --with-libiconv-prefix was given.
14543
if test "${with_libiconv_prefix+set}" = set; then :
14544
withval=$with_libiconv_prefix;
14545
if test "X$withval" = "Xno"; then
14548
if test "X$withval" = "X"; then
14550
acl_save_prefix="$prefix"
14551
prefix="$acl_final_prefix"
14552
acl_save_exec_prefix="$exec_prefix"
14553
exec_prefix="$acl_final_exec_prefix"
14555
eval additional_includedir=\"$includedir\"
14556
eval additional_libdir=\"$libdir\"
14558
exec_prefix="$acl_save_exec_prefix"
14559
prefix="$acl_save_prefix"
14562
additional_includedir="$withval/include"
14563
additional_libdir="$withval/$acl_libdirstem"
14575
names_already_handled=
14576
names_next_round='iconv '
14577
while test -n "$names_next_round"; do
14578
names_this_round="$names_next_round"
14580
for name in $names_this_round; do
14582
for n in $names_already_handled; do
14583
if test "$n" = "$name"; then
14584
already_handled=yes
14588
if test -z "$already_handled"; then
14589
names_already_handled="$names_already_handled $name"
14590
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
14591
eval value=\"\$HAVE_LIB$uppername\"
14592
if test -n "$value"; then
14593
if test "$value" = yes; then
14594
eval value=\"\$LIB$uppername\"
14595
test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
14596
eval value=\"\$LTLIB$uppername\"
14597
test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
14606
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
14607
if test -n "$acl_shlibext"; then
14608
shrext=".$acl_shlibext" # typically: shrext=.so
14612
if test $use_additional = yes; then
14613
dir="$additional_libdir"
14614
if test -n "$acl_shlibext"; then
14615
if test -f "$dir/$libname$shrext"; then
14617
found_so="$dir/$libname$shrext"
14619
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14620
ver=`(cd "$dir" && \
14621
for f in "$libname$shrext".*; do echo "$f"; done \
14622
| sed -e "s,^$libname$shrext\\\\.,," \
14623
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14624
| sed 1q ) 2>/dev/null`
14625
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14627
found_so="$dir/$libname$shrext.$ver"
14630
eval library_names=\"$acl_library_names_spec\"
14631
for f in $library_names; do
14632
if test -f "$dir/$f"; then
14641
if test "X$found_dir" = "X"; then
14642
if test -f "$dir/$libname.$acl_libext"; then
14644
found_a="$dir/$libname.$acl_libext"
14647
if test "X$found_dir" != "X"; then
14648
if test -f "$dir/$libname.la"; then
14649
found_la="$dir/$libname.la"
14653
if test "X$found_dir" = "X"; then
14654
for x in $LDFLAGS $LTLIBICONV; do
14656
acl_save_prefix="$prefix"
14657
prefix="$acl_final_prefix"
14658
acl_save_exec_prefix="$exec_prefix"
14659
exec_prefix="$acl_final_exec_prefix"
14661
exec_prefix="$acl_save_exec_prefix"
14662
prefix="$acl_save_prefix"
14666
dir=`echo "X$x" | sed -e 's/^X-L//'`
14667
if test -n "$acl_shlibext"; then
14668
if test -f "$dir/$libname$shrext"; then
14670
found_so="$dir/$libname$shrext"
14672
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
14673
ver=`(cd "$dir" && \
14674
for f in "$libname$shrext".*; do echo "$f"; done \
14675
| sed -e "s,^$libname$shrext\\\\.,," \
14676
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
14677
| sed 1q ) 2>/dev/null`
14678
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
14680
found_so="$dir/$libname$shrext.$ver"
14683
eval library_names=\"$acl_library_names_spec\"
14684
for f in $library_names; do
14685
if test -f "$dir/$f"; then
14694
if test "X$found_dir" = "X"; then
14695
if test -f "$dir/$libname.$acl_libext"; then
14697
found_a="$dir/$libname.$acl_libext"
14700
if test "X$found_dir" != "X"; then
14701
if test -f "$dir/$libname.la"; then
14702
found_la="$dir/$libname.la"
14707
if test "X$found_dir" != "X"; then
14712
if test "X$found_dir" != "X"; then
14713
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
14714
if test "X$found_so" != "X"; then
14715
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
14716
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14719
for x in $ltrpathdirs; do
14720
if test "X$x" = "X$found_dir"; then
14725
if test -z "$haveit"; then
14726
ltrpathdirs="$ltrpathdirs $found_dir"
14728
if test "$acl_hardcode_direct" = yes; then
14729
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14731
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
14732
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14734
for x in $rpathdirs; do
14735
if test "X$x" = "X$found_dir"; then
14740
if test -z "$haveit"; then
14741
rpathdirs="$rpathdirs $found_dir"
14745
for x in $LDFLAGS $LIBICONV; do
14747
acl_save_prefix="$prefix"
14748
prefix="$acl_final_prefix"
14749
acl_save_exec_prefix="$exec_prefix"
14750
exec_prefix="$acl_final_exec_prefix"
14752
exec_prefix="$acl_save_exec_prefix"
14753
prefix="$acl_save_prefix"
14755
if test "X$x" = "X-L$found_dir"; then
14760
if test -z "$haveit"; then
14761
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
14763
if test "$acl_hardcode_minus_L" != no; then
14764
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
14766
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14772
if test "X$found_a" != "X"; then
14773
LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
14775
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
14778
additional_includedir=
14779
case "$found_dir" in
14780
*/$acl_libdirstem | */$acl_libdirstem/)
14781
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
14782
LIBICONV_PREFIX="$basedir"
14783
additional_includedir="$basedir/include"
14786
if test "X$additional_includedir" != "X"; then
14787
if test "X$additional_includedir" != "X/usr/include"; then
14789
if test "X$additional_includedir" = "X/usr/local/include"; then
14790
if test -n "$GCC"; then
14792
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14796
if test -z "$haveit"; then
14797
for x in $CPPFLAGS $INCICONV; do
14799
acl_save_prefix="$prefix"
14800
prefix="$acl_final_prefix"
14801
acl_save_exec_prefix="$exec_prefix"
14802
exec_prefix="$acl_final_exec_prefix"
14804
exec_prefix="$acl_save_exec_prefix"
14805
prefix="$acl_save_prefix"
14807
if test "X$x" = "X-I$additional_includedir"; then
14812
if test -z "$haveit"; then
14813
if test -d "$additional_includedir"; then
14814
INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
14820
if test -n "$found_la"; then
14821
save_libdir="$libdir"
14822
case "$found_la" in
14823
*/* | *\\*) . "$found_la" ;;
14824
*) . "./$found_la" ;;
14826
libdir="$save_libdir"
14827
for dep in $dependency_libs; do
14830
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
14831
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
14833
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
14834
if test -n "$GCC"; then
14836
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
14840
if test -z "$haveit"; then
14842
for x in $LDFLAGS $LIBICONV; do
14844
acl_save_prefix="$prefix"
14845
prefix="$acl_final_prefix"
14846
acl_save_exec_prefix="$exec_prefix"
14847
exec_prefix="$acl_final_exec_prefix"
14849
exec_prefix="$acl_save_exec_prefix"
14850
prefix="$acl_save_prefix"
14852
if test "X$x" = "X-L$additional_libdir"; then
14857
if test -z "$haveit"; then
14858
if test -d "$additional_libdir"; then
14859
LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
14863
for x in $LDFLAGS $LTLIBICONV; do
14865
acl_save_prefix="$prefix"
14866
prefix="$acl_final_prefix"
14867
acl_save_exec_prefix="$exec_prefix"
14868
exec_prefix="$acl_final_exec_prefix"
14870
exec_prefix="$acl_save_exec_prefix"
14871
prefix="$acl_save_prefix"
14873
if test "X$x" = "X-L$additional_libdir"; then
14878
if test -z "$haveit"; then
14879
if test -d "$additional_libdir"; then
14880
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
14887
dir=`echo "X$dep" | sed -e 's/^X-R//'`
14888
if test "$enable_rpath" != no; then
14890
for x in $rpathdirs; do
14891
if test "X$x" = "X$dir"; then
14896
if test -z "$haveit"; then
14897
rpathdirs="$rpathdirs $dir"
14900
for x in $ltrpathdirs; do
14901
if test "X$x" = "X$dir"; then
14906
if test -z "$haveit"; then
14907
ltrpathdirs="$ltrpathdirs $dir"
14912
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
14915
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
14918
LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
14919
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
14925
LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
14926
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
14932
if test "X$rpathdirs" != "X"; then
14933
if test -n "$acl_hardcode_libdir_separator"; then
14935
for found_dir in $rpathdirs; do
14936
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
14938
acl_save_libdir="$libdir"
14940
eval flag=\"$acl_hardcode_libdir_flag_spec\"
14941
libdir="$acl_save_libdir"
14942
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14944
for found_dir in $rpathdirs; do
14945
acl_save_libdir="$libdir"
14946
libdir="$found_dir"
14947
eval flag=\"$acl_hardcode_libdir_flag_spec\"
14948
libdir="$acl_save_libdir"
14949
LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
14953
if test "X$ltrpathdirs" != "X"; then
14954
for found_dir in $ltrpathdirs; do
14955
LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
14983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5
14984
$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; }
14985
if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then :
14986
$as_echo_n "(cached) " >&6
14988
gt_save_LIBS="$LIBS"
14989
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
14990
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991
/* end confdefs.h. */
14992
#include <CoreFoundation/CFPreferences.h>
14996
CFPreferencesCopyAppValue(NULL, NULL)
15001
if ac_fn_c_try_link "$LINENO"; then :
15002
gt_cv_func_CFPreferencesCopyAppValue=yes
15004
gt_cv_func_CFPreferencesCopyAppValue=no
15006
rm -f core conftest.err conftest.$ac_objext \
15007
conftest$ac_exeext conftest.$ac_ext
15008
LIBS="$gt_save_LIBS"
15010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
15011
$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; }
15012
if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
15014
$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h
15017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5
15018
$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; }
15019
if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then :
15020
$as_echo_n "(cached) " >&6
15022
gt_save_LIBS="$LIBS"
15023
LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
15024
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15025
/* end confdefs.h. */
15026
#include <CoreFoundation/CFLocale.h>
15030
CFLocaleCopyCurrent();
15035
if ac_fn_c_try_link "$LINENO"; then :
15036
gt_cv_func_CFLocaleCopyCurrent=yes
15038
gt_cv_func_CFLocaleCopyCurrent=no
15040
rm -f core conftest.err conftest.$ac_objext \
15041
conftest$ac_exeext conftest.$ac_ext
15042
LIBS="$gt_save_LIBS"
15044
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
15045
$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; }
15046
if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15048
$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h
15052
if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
15053
INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
15065
case " $gt_needs " in
15066
*" need-formatstring-macros "*) gt_api_version=3 ;;
15067
*" need-ngettext "*) gt_api_version=2 ;;
15068
*) gt_api_version=1 ;;
15070
gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc"
15071
gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl"
15073
if test "$USE_NLS" = "yes"; then
15074
gt_use_preinstalled_gnugettext=no
15077
if test $gt_api_version -ge 3; then
15078
gt_revision_test_code='
15079
#ifndef __GNU_GETTEXT_SUPPORTED_REVISION
15080
#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
15082
typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
15085
gt_revision_test_code=
15087
if test $gt_api_version -ge 2; then
15088
gt_expression_test_code=' + * ngettext ("", "", 0)'
15090
gt_expression_test_code=
15093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5
15094
$as_echo_n "checking for GNU gettext in libc... " >&6; }
15095
if eval \${$gt_func_gnugettext_libc+:} false; then :
15096
$as_echo_n "(cached) " >&6
15098
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15099
/* end confdefs.h. */
15100
#include <libintl.h>
15101
$gt_revision_test_code
15102
extern int _nl_msg_cat_cntr;
15103
extern int *_nl_domain_bindings;
15107
bindtextdomain ("", "");
15108
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
15113
if ac_fn_c_try_link "$LINENO"; then :
15114
eval "$gt_func_gnugettext_libc=yes"
15116
eval "$gt_func_gnugettext_libc=no"
15118
rm -f core conftest.err conftest.$ac_objext \
15119
conftest$ac_exeext conftest.$ac_ext
15121
eval ac_res=\$$gt_func_gnugettext_libc
15122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15123
$as_echo "$ac_res" >&6; }
15125
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
15131
am_save_CPPFLAGS="$CPPFLAGS"
15133
for element in $INCICONV; do
15135
for x in $CPPFLAGS; do
15137
acl_save_prefix="$prefix"
15138
prefix="$acl_final_prefix"
15139
acl_save_exec_prefix="$exec_prefix"
15140
exec_prefix="$acl_final_exec_prefix"
15142
exec_prefix="$acl_save_exec_prefix"
15143
prefix="$acl_save_prefix"
15145
if test "X$x" = "X$element"; then
15150
if test -z "$haveit"; then
15151
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
15157
$as_echo_n "checking for iconv... " >&6; }
15158
if ${am_cv_func_iconv+:} false; then :
15159
$as_echo_n "(cached) " >&6
15162
am_cv_func_iconv="no, consider installing GNU libiconv"
15164
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15165
/* end confdefs.h. */
15166
#include <stdlib.h>
15171
iconv_t cd = iconv_open("","");
15172
iconv(cd,NULL,NULL,NULL,NULL);
15178
if ac_fn_c_try_link "$LINENO"; then :
15179
am_cv_func_iconv=yes
15181
rm -f core conftest.err conftest.$ac_objext \
15182
conftest$ac_exeext conftest.$ac_ext
15183
if test "$am_cv_func_iconv" != yes; then
15184
am_save_LIBS="$LIBS"
15185
LIBS="$LIBS $LIBICONV"
15186
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187
/* end confdefs.h. */
15188
#include <stdlib.h>
15193
iconv_t cd = iconv_open("","");
15194
iconv(cd,NULL,NULL,NULL,NULL);
15200
if ac_fn_c_try_link "$LINENO"; then :
15201
am_cv_lib_iconv=yes
15202
am_cv_func_iconv=yes
15204
rm -f core conftest.err conftest.$ac_objext \
15205
conftest$ac_exeext conftest.$ac_ext
15206
LIBS="$am_save_LIBS"
15210
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
15211
$as_echo "$am_cv_func_iconv" >&6; }
15212
if test "$am_cv_func_iconv" = yes; then
15213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
15214
$as_echo_n "checking for working iconv... " >&6; }
15215
if ${am_cv_func_iconv_works+:} false; then :
15216
$as_echo_n "(cached) " >&6
15219
am_save_LIBS="$LIBS"
15220
if test $am_cv_lib_iconv = yes; then
15221
LIBS="$LIBS $LIBICONV"
15223
if test "$cross_compiling" = yes; then :
15225
aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
15226
*) am_cv_func_iconv_works="guessing yes" ;;
15229
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230
/* end confdefs.h. */
15233
#include <string.h>
15236
/* Test against AIX 5.1 bug: Failures are not distinguishable from successful
15239
iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
15240
if (cd_utf8_to_88591 != (iconv_t)(-1))
15242
static const char input[] = "\342\202\254"; /* EURO SIGN */
15244
const char *inptr = input;
15245
size_t inbytesleft = strlen (input);
15246
char *outptr = buf;
15247
size_t outbytesleft = sizeof (buf);
15248
size_t res = iconv (cd_utf8_to_88591,
15249
(char **) &inptr, &inbytesleft,
15250
&outptr, &outbytesleft);
15255
#if 0 /* This bug could be worked around by the caller. */
15256
/* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
15258
iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
15259
if (cd_88591_to_utf8 != (iconv_t)(-1))
15261
static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
15263
const char *inptr = input;
15264
size_t inbytesleft = strlen (input);
15265
char *outptr = buf;
15266
size_t outbytesleft = sizeof (buf);
15267
size_t res = iconv (cd_88591_to_utf8,
15268
(char **) &inptr, &inbytesleft,
15269
&outptr, &outbytesleft);
15275
/* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
15277
if (/* Try standardized names. */
15278
iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1)
15279
/* Try IRIX, OSF/1 names. */
15280
&& iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1)
15281
/* Try AIX names. */
15282
&& iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1)
15283
/* Try HP-UX names. */
15284
&& iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
15289
if ac_fn_c_try_run "$LINENO"; then :
15290
am_cv_func_iconv_works=yes
15292
am_cv_func_iconv_works=no
15294
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15295
conftest.$ac_objext conftest.beam conftest.$ac_ext
15298
LIBS="$am_save_LIBS"
15301
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
15302
$as_echo "$am_cv_func_iconv_works" >&6; }
15303
case "$am_cv_func_iconv_works" in
15304
*no) am_func_iconv=no am_cv_lib_iconv=no ;;
15305
*) am_func_iconv=yes ;;
15308
am_func_iconv=no am_cv_lib_iconv=no
15310
if test "$am_func_iconv" = yes; then
15312
$as_echo "#define HAVE_ICONV 1" >>confdefs.h
15315
if test "$am_cv_lib_iconv" = yes; then
15316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
15317
$as_echo_n "checking how to link with libiconv... " >&6; }
15318
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
15319
$as_echo "$LIBICONV" >&6; }
15321
CPPFLAGS="$am_save_CPPFLAGS"
15335
acl_save_prefix="$prefix"
15336
prefix="$acl_final_prefix"
15337
acl_save_exec_prefix="$exec_prefix"
15338
exec_prefix="$acl_final_exec_prefix"
15340
eval additional_includedir=\"$includedir\"
15341
eval additional_libdir=\"$libdir\"
15343
exec_prefix="$acl_save_exec_prefix"
15344
prefix="$acl_save_prefix"
15347
# Check whether --with-libintl-prefix was given.
15348
if test "${with_libintl_prefix+set}" = set; then :
15349
withval=$with_libintl_prefix;
15350
if test "X$withval" = "Xno"; then
15353
if test "X$withval" = "X"; then
15355
acl_save_prefix="$prefix"
15356
prefix="$acl_final_prefix"
15357
acl_save_exec_prefix="$exec_prefix"
15358
exec_prefix="$acl_final_exec_prefix"
15360
eval additional_includedir=\"$includedir\"
15361
eval additional_libdir=\"$libdir\"
15363
exec_prefix="$acl_save_exec_prefix"
15364
prefix="$acl_save_prefix"
15367
additional_includedir="$withval/include"
15368
additional_libdir="$withval/$acl_libdirstem"
15380
names_already_handled=
15381
names_next_round='intl '
15382
while test -n "$names_next_round"; do
15383
names_this_round="$names_next_round"
15385
for name in $names_this_round; do
15387
for n in $names_already_handled; do
15388
if test "$n" = "$name"; then
15389
already_handled=yes
15393
if test -z "$already_handled"; then
15394
names_already_handled="$names_already_handled $name"
15395
uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
15396
eval value=\"\$HAVE_LIB$uppername\"
15397
if test -n "$value"; then
15398
if test "$value" = yes; then
15399
eval value=\"\$LIB$uppername\"
15400
test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
15401
eval value=\"\$LTLIB$uppername\"
15402
test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
15411
eval libname=\"$acl_libname_spec\" # typically: libname=lib$name
15412
if test -n "$acl_shlibext"; then
15413
shrext=".$acl_shlibext" # typically: shrext=.so
15417
if test $use_additional = yes; then
15418
dir="$additional_libdir"
15419
if test -n "$acl_shlibext"; then
15420
if test -f "$dir/$libname$shrext"; then
15422
found_so="$dir/$libname$shrext"
15424
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15425
ver=`(cd "$dir" && \
15426
for f in "$libname$shrext".*; do echo "$f"; done \
15427
| sed -e "s,^$libname$shrext\\\\.,," \
15428
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15429
| sed 1q ) 2>/dev/null`
15430
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15432
found_so="$dir/$libname$shrext.$ver"
15435
eval library_names=\"$acl_library_names_spec\"
15436
for f in $library_names; do
15437
if test -f "$dir/$f"; then
15446
if test "X$found_dir" = "X"; then
15447
if test -f "$dir/$libname.$acl_libext"; then
15449
found_a="$dir/$libname.$acl_libext"
15452
if test "X$found_dir" != "X"; then
15453
if test -f "$dir/$libname.la"; then
15454
found_la="$dir/$libname.la"
15458
if test "X$found_dir" = "X"; then
15459
for x in $LDFLAGS $LTLIBINTL; do
15461
acl_save_prefix="$prefix"
15462
prefix="$acl_final_prefix"
15463
acl_save_exec_prefix="$exec_prefix"
15464
exec_prefix="$acl_final_exec_prefix"
15466
exec_prefix="$acl_save_exec_prefix"
15467
prefix="$acl_save_prefix"
15471
dir=`echo "X$x" | sed -e 's/^X-L//'`
15472
if test -n "$acl_shlibext"; then
15473
if test -f "$dir/$libname$shrext"; then
15475
found_so="$dir/$libname$shrext"
15477
if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
15478
ver=`(cd "$dir" && \
15479
for f in "$libname$shrext".*; do echo "$f"; done \
15480
| sed -e "s,^$libname$shrext\\\\.,," \
15481
| sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
15482
| sed 1q ) 2>/dev/null`
15483
if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
15485
found_so="$dir/$libname$shrext.$ver"
15488
eval library_names=\"$acl_library_names_spec\"
15489
for f in $library_names; do
15490
if test -f "$dir/$f"; then
15499
if test "X$found_dir" = "X"; then
15500
if test -f "$dir/$libname.$acl_libext"; then
15502
found_a="$dir/$libname.$acl_libext"
15505
if test "X$found_dir" != "X"; then
15506
if test -f "$dir/$libname.la"; then
15507
found_la="$dir/$libname.la"
15512
if test "X$found_dir" != "X"; then
15517
if test "X$found_dir" != "X"; then
15518
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
15519
if test "X$found_so" != "X"; then
15520
if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
15521
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15524
for x in $ltrpathdirs; do
15525
if test "X$x" = "X$found_dir"; then
15530
if test -z "$haveit"; then
15531
ltrpathdirs="$ltrpathdirs $found_dir"
15533
if test "$acl_hardcode_direct" = yes; then
15534
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15536
if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
15537
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15539
for x in $rpathdirs; do
15540
if test "X$x" = "X$found_dir"; then
15545
if test -z "$haveit"; then
15546
rpathdirs="$rpathdirs $found_dir"
15550
for x in $LDFLAGS $LIBINTL; do
15552
acl_save_prefix="$prefix"
15553
prefix="$acl_final_prefix"
15554
acl_save_exec_prefix="$exec_prefix"
15555
exec_prefix="$acl_final_exec_prefix"
15557
exec_prefix="$acl_save_exec_prefix"
15558
prefix="$acl_save_prefix"
15560
if test "X$x" = "X-L$found_dir"; then
15565
if test -z "$haveit"; then
15566
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
15568
if test "$acl_hardcode_minus_L" != no; then
15569
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
15571
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15577
if test "X$found_a" != "X"; then
15578
LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
15580
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
15583
additional_includedir=
15584
case "$found_dir" in
15585
*/$acl_libdirstem | */$acl_libdirstem/)
15586
basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
15587
LIBINTL_PREFIX="$basedir"
15588
additional_includedir="$basedir/include"
15591
if test "X$additional_includedir" != "X"; then
15592
if test "X$additional_includedir" != "X/usr/include"; then
15594
if test "X$additional_includedir" = "X/usr/local/include"; then
15595
if test -n "$GCC"; then
15597
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15601
if test -z "$haveit"; then
15602
for x in $CPPFLAGS $INCINTL; do
15604
acl_save_prefix="$prefix"
15605
prefix="$acl_final_prefix"
15606
acl_save_exec_prefix="$exec_prefix"
15607
exec_prefix="$acl_final_exec_prefix"
15609
exec_prefix="$acl_save_exec_prefix"
15610
prefix="$acl_save_prefix"
15612
if test "X$x" = "X-I$additional_includedir"; then
15617
if test -z "$haveit"; then
15618
if test -d "$additional_includedir"; then
15619
INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
15625
if test -n "$found_la"; then
15626
save_libdir="$libdir"
15627
case "$found_la" in
15628
*/* | *\\*) . "$found_la" ;;
15629
*) . "./$found_la" ;;
15631
libdir="$save_libdir"
15632
for dep in $dependency_libs; do
15635
additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
15636
if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
15638
if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
15639
if test -n "$GCC"; then
15641
linux* | gnu* | k*bsd*-gnu) haveit=yes;;
15645
if test -z "$haveit"; then
15647
for x in $LDFLAGS $LIBINTL; do
15649
acl_save_prefix="$prefix"
15650
prefix="$acl_final_prefix"
15651
acl_save_exec_prefix="$exec_prefix"
15652
exec_prefix="$acl_final_exec_prefix"
15654
exec_prefix="$acl_save_exec_prefix"
15655
prefix="$acl_save_prefix"
15657
if test "X$x" = "X-L$additional_libdir"; then
15662
if test -z "$haveit"; then
15663
if test -d "$additional_libdir"; then
15664
LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
15668
for x in $LDFLAGS $LTLIBINTL; do
15670
acl_save_prefix="$prefix"
15671
prefix="$acl_final_prefix"
15672
acl_save_exec_prefix="$exec_prefix"
15673
exec_prefix="$acl_final_exec_prefix"
15675
exec_prefix="$acl_save_exec_prefix"
15676
prefix="$acl_save_prefix"
15678
if test "X$x" = "X-L$additional_libdir"; then
15683
if test -z "$haveit"; then
15684
if test -d "$additional_libdir"; then
15685
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
15692
dir=`echo "X$dep" | sed -e 's/^X-R//'`
15693
if test "$enable_rpath" != no; then
15695
for x in $rpathdirs; do
15696
if test "X$x" = "X$dir"; then
15701
if test -z "$haveit"; then
15702
rpathdirs="$rpathdirs $dir"
15705
for x in $ltrpathdirs; do
15706
if test "X$x" = "X$dir"; then
15711
if test -z "$haveit"; then
15712
ltrpathdirs="$ltrpathdirs $dir"
15717
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
15720
names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
15723
LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
15724
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
15730
LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
15731
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
15737
if test "X$rpathdirs" != "X"; then
15738
if test -n "$acl_hardcode_libdir_separator"; then
15740
for found_dir in $rpathdirs; do
15741
alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
15743
acl_save_libdir="$libdir"
15745
eval flag=\"$acl_hardcode_libdir_flag_spec\"
15746
libdir="$acl_save_libdir"
15747
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15749
for found_dir in $rpathdirs; do
15750
acl_save_libdir="$libdir"
15751
libdir="$found_dir"
15752
eval flag=\"$acl_hardcode_libdir_flag_spec\"
15753
libdir="$acl_save_libdir"
15754
LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
15758
if test "X$ltrpathdirs" != "X"; then
15759
for found_dir in $ltrpathdirs; do
15760
LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
15764
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5
15765
$as_echo_n "checking for GNU gettext in libintl... " >&6; }
15766
if eval \${$gt_func_gnugettext_libintl+:} false; then :
15767
$as_echo_n "(cached) " >&6
15769
gt_save_CPPFLAGS="$CPPFLAGS"
15770
CPPFLAGS="$CPPFLAGS $INCINTL"
15771
gt_save_LIBS="$LIBS"
15772
LIBS="$LIBS $LIBINTL"
15773
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15774
/* end confdefs.h. */
15775
#include <libintl.h>
15776
$gt_revision_test_code
15777
extern int _nl_msg_cat_cntr;
15782
const char *_nl_expand_alias (const char *);
15786
bindtextdomain ("", "");
15787
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15792
if ac_fn_c_try_link "$LINENO"; then :
15793
eval "$gt_func_gnugettext_libintl=yes"
15795
eval "$gt_func_gnugettext_libintl=no"
15797
rm -f core conftest.err conftest.$ac_objext \
15798
conftest$ac_exeext conftest.$ac_ext
15799
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
15800
LIBS="$LIBS $LIBICONV"
15801
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802
/* end confdefs.h. */
15803
#include <libintl.h>
15804
$gt_revision_test_code
15805
extern int _nl_msg_cat_cntr;
15810
const char *_nl_expand_alias (const char *);
15814
bindtextdomain ("", "");
15815
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
15820
if ac_fn_c_try_link "$LINENO"; then :
15821
LIBINTL="$LIBINTL $LIBICONV"
15822
LTLIBINTL="$LTLIBINTL $LTLIBICONV"
15823
eval "$gt_func_gnugettext_libintl=yes"
15826
rm -f core conftest.err conftest.$ac_objext \
15827
conftest$ac_exeext conftest.$ac_ext
15829
CPPFLAGS="$gt_save_CPPFLAGS"
15830
LIBS="$gt_save_LIBS"
15832
eval ac_res=\$$gt_func_gnugettext_libintl
15833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
15834
$as_echo "$ac_res" >&6; }
15837
if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
15838
|| { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
15839
&& test "$PACKAGE" != gettext-runtime \
15840
&& test "$PACKAGE" != gettext-tools; }; then
15841
gt_use_preinstalled_gnugettext=yes
15850
if test -n "$INTL_MACOSX_LIBS"; then
15851
if test "$gt_use_preinstalled_gnugettext" = "yes" \
15852
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
15853
LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
15854
LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
15858
if test "$gt_use_preinstalled_gnugettext" = "yes" \
15859
|| test "$nls_cv_use_gnu_gettext" = "yes"; then
15861
$as_echo "#define ENABLE_NLS 1" >>confdefs.h
15868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5
15869
$as_echo_n "checking whether to use NLS... " >&6; }
15870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
15871
$as_echo "$USE_NLS" >&6; }
15872
if test "$USE_NLS" = "yes"; then
15873
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5
15874
$as_echo_n "checking where the gettext function comes from... " >&6; }
15875
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15876
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15877
gt_source="external libintl"
15882
gt_source="included intl directory"
15884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5
15885
$as_echo "$gt_source" >&6; }
15888
if test "$USE_NLS" = "yes"; then
15890
if test "$gt_use_preinstalled_gnugettext" = "yes"; then
15891
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
15892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5
15893
$as_echo_n "checking how to link with libintl... " >&6; }
15894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5
15895
$as_echo "$LIBINTL" >&6; }
15897
for element in $INCINTL; do
15899
for x in $CPPFLAGS; do
15901
acl_save_prefix="$prefix"
15902
prefix="$acl_final_prefix"
15903
acl_save_exec_prefix="$exec_prefix"
15904
exec_prefix="$acl_final_exec_prefix"
15906
exec_prefix="$acl_save_exec_prefix"
15907
prefix="$acl_save_prefix"
15909
if test "X$x" = "X$element"; then
15914
if test -z "$haveit"; then
15915
CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
15922
$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
15925
$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h
15934
INTLLIBS="$LIBINTL"
15945
cat >>confdefs.h <<_ACEOF
15946
#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
15950
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
15951
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15952
ac_define_path=`eval echo $"${datadir}/locale"`
15953
ac_define_path=`eval echo $ac_define_path`
15954
GNOMELOCALEDIR="$ac_define_path"
15957
cat >>confdefs.h <<_ACEOF
15958
#define GNOMELOCALEDIR "$ac_define_path"
15963
###########################
15965
###########################
15967
ac_config_files="$ac_config_files Makefile src/Makefile scripts/Makefile data/Makefile tools/Makefile po/Makefile.in tools-vala/Makefile tests/Makefile tests/manual/Makefile docs/Makefile docs/man/Makefile docs/devel/Makefile"
15969
cat >confcache <<\_ACEOF
15970
# This file is a shell script that caches the results of configure
15971
# tests run on this system so they can be shared between configure
15972
# scripts and configure runs, see configure's option --config-cache.
15973
# It is not useful on other systems. If it contains results you don't
15974
# want to keep, you may remove or edit it.
15976
# config.status only pays attention to the cache file if you give it
15977
# the --recheck option to rerun configure.
15979
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15980
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15981
# following values.
15985
# The following way of writing the cache mishandles newlines in values,
15986
# but we know of no workaround that is simple, portable, and efficient.
15987
# So, we kill variables containing newlines.
15988
# Ultrix sh set writes to stderr and can't be redirected directly,
15989
# and sets the high bit in the cache file unless we assign to the vars.
15991
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15992
eval ac_val=\$$ac_var
15996
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15997
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16000
_ | IFS | as_nl) ;; #(
16001
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16002
*) { eval $ac_var=; unset $ac_var;} ;;
16008
case $as_nl`(ac_space=' '; set) 2>&1` in #(
16009
*${as_nl}ac_space=\ *)
16010
# `set' does not quote correctly, so add quotes: double-quote
16011
# substitution turns \\\\ into \\, and sed turns \\ into \.
16014
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16017
# `set' quotes correctly as required by POSIX, so do not add quotes.
16018
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16027
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16029
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16031
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16032
if test -w "$cache_file"; then
16033
if test "x$cache_file" != "x/dev/null"; then
16034
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16035
$as_echo "$as_me: updating cache $cache_file" >&6;}
16036
if test ! -f "$cache_file" || test -h "$cache_file"; then
16037
cat confcache >"$cache_file"
16039
case $cache_file in #(
16041
mv -f confcache "$cache_file"$$ &&
16042
mv -f "$cache_file"$$ "$cache_file" ;; #(
16044
mv -f confcache "$cache_file" ;;
16049
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16050
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16055
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16056
# Let make expand exec_prefix.
16057
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16059
DEFS=-DHAVE_CONFIG_H
16064
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16065
# 1. Remove the extension, and $U if already installed.
16066
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16067
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16068
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16069
# will be set to the directory where LIBOBJS objects are built.
16070
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16071
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16073
LIBOBJS=$ac_libobjs
16075
LTLIBOBJS=$ac_ltlibobjs
16078
if test -n "$EXEEXT"; then
16080
am__EXEEXT_FALSE='#'
16082
am__EXEEXT_TRUE='#'
16086
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16087
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16088
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16090
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16091
as_fn_error $? "conditional \"AMDEP\" was never defined.
16092
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16094
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16095
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16096
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16098
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
16099
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
16100
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16102
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
16103
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
16104
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16106
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
16107
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
16108
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16110
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
16111
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
16112
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16114
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
16115
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
16116
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16118
if test -z "${BUILD_CLI_TRUE}" && test -z "${BUILD_CLI_FALSE}"; then
16119
as_fn_error $? "conditional \"BUILD_CLI\" was never defined.
16120
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16122
if test -z "${BUILD_TESTS_TRUE}" && test -z "${BUILD_TESTS_FALSE}"; then
16123
as_fn_error $? "conditional \"BUILD_TESTS\" was never defined.
16124
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16126
if test -z "${HAVE_GCOV_TRUE}" && test -z "${HAVE_GCOV_FALSE}"; then
16127
as_fn_error $? "conditional \"HAVE_GCOV\" was never defined.
16128
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16130
if test -z "${HAVE_LCOV_TRUE}" && test -z "${HAVE_LCOV_FALSE}"; then
16131
as_fn_error $? "conditional \"HAVE_LCOV\" was never defined.
16132
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16134
if test -z "${HAVE_GCOVR_TRUE}" && test -z "${HAVE_GCOVR_FALSE}"; then
16135
as_fn_error $? "conditional \"HAVE_GCOVR\" was never defined.
16136
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16139
ac_config_commands="$ac_config_commands po/stamp-it"
16143
: "${CONFIG_STATUS=./config.status}"
16145
ac_clean_files_save=$ac_clean_files
16146
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16147
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16148
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16150
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16152
# Generated by $as_me.
16153
# Run this file to recreate the current configuration.
16154
# Compiler output produced by configure, useful for debugging
16155
# configure, is in config.log if it exists.
16158
ac_cs_recheck=false
16161
SHELL=\${CONFIG_SHELL-$SHELL}
16164
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16165
## -------------------- ##
16166
## M4sh Initialization. ##
16167
## -------------------- ##
16169
# Be more Bourne compatible
16170
DUALCASE=1; export DUALCASE # for MKS sh
16171
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16174
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16175
# is contrary to our usage. Disable this feature.
16176
alias -g '${1+"$@"}'='"$@"'
16177
setopt NO_GLOB_SUBST
16179
case `(set -o) 2>/dev/null` in #(
16191
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16192
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16193
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16194
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16195
# Prefer a ksh shell builtin over an external printf program on Solaris,
16196
# but without wasting forks for bash or zsh.
16197
if test -z "$BASH_VERSION$ZSH_VERSION" \
16198
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16199
as_echo='print -r --'
16200
as_echo_n='print -rn --'
16201
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16202
as_echo='printf %s\n'
16203
as_echo_n='printf %s'
16205
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16206
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16207
as_echo_n='/usr/ucb/echo -n'
16209
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16210
as_echo_n_body='eval
16214
expr "X$arg" : "X\\(.*\\)$as_nl";
16215
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16217
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16219
export as_echo_n_body
16220
as_echo_n='sh -c $as_echo_n_body as_echo'
16222
export as_echo_body
16223
as_echo='sh -c $as_echo_body as_echo'
16226
# The user is always right.
16227
if test "${PATH_SEPARATOR+set}" != set; then
16229
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16230
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16237
# We need space, tab and new line, in precisely that order. Quoting is
16238
# there to prevent editors from complaining about space-tab.
16239
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16240
# splitting by setting IFS to empty value.)
16243
# Find who we are. Look in the path if we contain no directory separator.
16246
*[\\/]* ) as_myself=$0 ;;
16247
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16248
for as_dir in $PATH
16251
test -z "$as_dir" && as_dir=.
16252
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16258
# We did not find ourselves, most probably we were run as `sh COMMAND'
16259
# in which case we are not to be found in the path.
16260
if test "x$as_myself" = x; then
16263
if test ! -f "$as_myself"; then
16264
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16268
# Unset variables that we do not need and which cause bugs (e.g. in
16269
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16270
# suppresses any "Segmentation fault" message there. '((' could
16271
# trigger a bug in pdksh 5.2.14.
16272
for as_var in BASH_ENV ENV MAIL MAILPATH
16273
do eval test x\${$as_var+set} = xset \
16274
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16287
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16290
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16291
# ----------------------------------------
16292
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16293
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16294
# script with STATUS, using 1 if that was 0.
16297
as_status=$1; test $as_status -eq 0 && as_status=1
16299
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16300
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16302
$as_echo "$as_me: error: $2" >&2
16303
as_fn_exit $as_status
16307
# as_fn_set_status STATUS
16308
# -----------------------
16309
# Set $? to STATUS, without forking.
16310
as_fn_set_status ()
16313
} # as_fn_set_status
16315
# as_fn_exit STATUS
16316
# -----------------
16317
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16321
as_fn_set_status $1
16327
# Portably unset VAR.
16330
{ eval $1=; unset $1;}
16332
as_unset=as_fn_unset
16333
# as_fn_append VAR VALUE
16334
# ----------------------
16335
# Append the text in VALUE to the end of the definition contained in VAR. Take
16336
# advantage of any shell optimizations that allow amortized linear growth over
16337
# repeated appends, instead of the typical quadratic growth present in naive
16339
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16340
eval 'as_fn_append ()
16351
# as_fn_arith ARG...
16352
# ------------------
16353
# Perform arithmetic evaluation on the ARGs, and store the result in the
16354
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16355
# must be portable across $(()) and expr.
16356
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16357
eval 'as_fn_arith ()
16364
as_val=`expr "$@" || test $? -eq 1`
16369
if expr a : '\(a\)' >/dev/null 2>&1 &&
16370
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16376
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16377
as_basename=basename
16382
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16388
as_me=`$as_basename -- "$0" ||
16389
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16390
X"$0" : 'X\(//\)$' \| \
16391
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16393
sed '/^.*\/\([^/][^/]*\)\/*$/{
16407
# Avoid depending upon Character Ranges.
16408
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16409
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16410
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16411
as_cr_digits='0123456789'
16412
as_cr_alnum=$as_cr_Letters$as_cr_digits
16414
ECHO_C= ECHO_N= ECHO_T=
16415
case `echo -n x` in #(((((
16417
case `echo 'xy\c'` in
16418
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16420
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16427
rm -f conf$$ conf$$.exe conf$$.file
16428
if test -d conf$$.dir; then
16429
rm -f conf$$.dir/conf$$.file
16432
mkdir conf$$.dir 2>/dev/null
16434
if (echo >conf$$.file) 2>/dev/null; then
16435
if ln -s conf$$.file conf$$ 2>/dev/null; then
16437
# ... but there are two gotchas:
16438
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16439
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16440
# In both cases, we have to default to `cp -pR'.
16441
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16443
elif ln conf$$.file conf$$ 2>/dev/null; then
16451
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16452
rmdir conf$$.dir 2>/dev/null
16457
# Create "$as_dir" as a directory, including parents if necessary.
16462
-*) as_dir=./$as_dir;;
16464
test -d "$as_dir" || eval $as_mkdir_p || {
16468
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16469
*) as_qdir=$as_dir;;
16471
as_dirs="'$as_qdir' $as_dirs"
16472
as_dir=`$as_dirname -- "$as_dir" ||
16473
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16474
X"$as_dir" : 'X\(//\)[^/]' \| \
16475
X"$as_dir" : 'X\(//\)$' \| \
16476
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16477
$as_echo X"$as_dir" |
16478
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16482
/^X\(\/\/\)[^/].*/{
16495
test -d "$as_dir" && break
16497
test -z "$as_dirs" || eval "mkdir $as_dirs"
16498
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16502
if mkdir -p . 2>/dev/null; then
16503
as_mkdir_p='mkdir -p "$as_dir"'
16505
test -d ./-p && rmdir ./-p
16510
# as_fn_executable_p FILE
16511
# -----------------------
16512
# Test if FILE is an executable regular file.
16513
as_fn_executable_p ()
16515
test -f "$1" && test -x "$1"
16516
} # as_fn_executable_p
16517
as_test_x='test -x'
16518
as_executable_p=as_fn_executable_p
16520
# Sed expression to map a string onto a valid CPP name.
16521
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16523
# Sed expression to map a string onto a valid variable name.
16524
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16528
## ----------------------------------- ##
16529
## Main body of $CONFIG_STATUS script. ##
16530
## ----------------------------------- ##
16532
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16534
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16535
# Save the log message, to keep $0 and so on meaningful, and to
16536
# report actual input values of CONFIG_FILES etc. instead of their
16537
# values after options handling.
16539
This file was extended by indicator-appmenu $as_me 12.10.3, which was
16540
generated by GNU Autoconf 2.69. Invocation command line was
16542
CONFIG_FILES = $CONFIG_FILES
16543
CONFIG_HEADERS = $CONFIG_HEADERS
16544
CONFIG_LINKS = $CONFIG_LINKS
16545
CONFIG_COMMANDS = $CONFIG_COMMANDS
16548
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16553
case $ac_config_files in *"
16554
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16557
case $ac_config_headers in *"
16558
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16562
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16563
# Files that config.status was made for.
16564
config_files="$ac_config_files"
16565
config_headers="$ac_config_headers"
16566
config_commands="$ac_config_commands"
16570
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16572
\`$as_me' instantiates files and other configuration actions
16573
from templates according to the current configuration. Unless the files
16574
and actions are specified as TAGs, all are instantiated by default.
16576
Usage: $0 [OPTION]... [TAG]...
16578
-h, --help print this help, then exit
16579
-V, --version print version number and configuration settings, then exit
16580
--config print configuration, then exit
16581
-q, --quiet, --silent
16582
do not print progress messages
16583
-d, --debug don't remove temporary files
16584
--recheck update $as_me by reconfiguring in the same conditions
16585
--file=FILE[:TEMPLATE]
16586
instantiate the configuration file FILE
16587
--header=FILE[:TEMPLATE]
16588
instantiate the configuration header FILE
16590
Configuration files:
16593
Configuration headers:
16596
Configuration commands:
16599
Report bugs to <http://bugs.launchpad.net/indicator-appmenu>.
16600
indicator-appmenu home page: <http://launchpad.net/indicator-appmenu>."
16603
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16604
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16606
indicator-appmenu config.status 12.10.3
16607
configured by $0, generated by GNU Autoconf 2.69,
16608
with options \\"\$ac_cs_config\\"
16610
Copyright (C) 2012 Free Software Foundation, Inc.
16611
This config.status script is free software; the Free Software Foundation
16612
gives unlimited permission to copy, distribute and modify it."
16619
test -n "\$AWK" || AWK=awk
16622
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16623
# The default lists apply if the user does not specify any file.
16629
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16630
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16634
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16646
# Handling of the options.
16647
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16649
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16650
$as_echo "$ac_cs_version"; exit ;;
16651
--config | --confi | --conf | --con | --co | --c )
16652
$as_echo "$ac_cs_config"; exit ;;
16653
--debug | --debu | --deb | --de | --d | -d )
16655
--file | --fil | --fi | --f )
16658
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16659
'') as_fn_error $? "missing file argument" ;;
16661
as_fn_append CONFIG_FILES " '$ac_optarg'"
16662
ac_need_defaults=false;;
16663
--header | --heade | --head | --hea )
16666
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16668
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16669
ac_need_defaults=false;;
16671
# Conflict between --help and --header
16672
as_fn_error $? "ambiguous option: \`$1'
16673
Try \`$0 --help' for more information.";;
16674
--help | --hel | -h )
16675
$as_echo "$ac_cs_usage"; exit ;;
16676
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16677
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16680
# This is an error.
16681
-*) as_fn_error $? "unrecognized option: \`$1'
16682
Try \`$0 --help' for more information." ;;
16684
*) as_fn_append ac_config_targets " $1"
16685
ac_need_defaults=false ;;
16691
ac_configure_extra_args=
16693
if $ac_cs_silent; then
16695
ac_configure_extra_args="$ac_configure_extra_args --silent"
16699
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16700
if \$ac_cs_recheck; then
16701
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16703
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16704
CONFIG_SHELL='$SHELL'
16705
export CONFIG_SHELL
16710
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16714
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16715
## Running $as_me. ##
16721
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16725
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16728
# The HP-UX ksh and POSIX shell print the target directory to stdout
16729
# if CDPATH is set.
16730
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16732
sed_quote_subst='$sed_quote_subst'
16733
double_quote_subst='$double_quote_subst'
16734
delay_variable_subst='$delay_variable_subst'
16735
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16736
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16737
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16738
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16739
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16740
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16741
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16742
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16743
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16744
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16745
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16746
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16747
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16748
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16749
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16750
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16751
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16752
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16753
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16754
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16755
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16756
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16757
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16758
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16759
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16760
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16761
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16762
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16763
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16764
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16765
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16766
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16767
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16768
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16769
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16770
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16771
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16772
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16773
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16774
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16775
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16776
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16777
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16778
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16779
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16780
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16781
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16782
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16783
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16784
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16785
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16786
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16787
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16788
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16789
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16790
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16791
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"`'
16792
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16793
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16794
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16795
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16796
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16797
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16798
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16799
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16800
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16801
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16802
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16803
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16804
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16805
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16806
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16807
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16808
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16809
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16810
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16811
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16812
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16813
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16814
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16815
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16816
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16817
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16818
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16819
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16820
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16821
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16822
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16823
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16824
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16825
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16826
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16827
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16828
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16829
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16830
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16831
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16832
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16833
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16834
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16835
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16836
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16837
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16838
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16839
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16840
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16841
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16842
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16843
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16844
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16845
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16846
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16847
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16848
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16849
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16850
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16851
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16852
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16853
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16854
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16855
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16856
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16857
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16858
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16859
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16860
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16861
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16862
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16863
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16864
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16867
LTCFLAGS='$LTCFLAGS'
16868
compiler='$compiler_DEFAULT'
16870
# A function that is used when there is no print builtin or printf.
16871
func_fallback_echo ()
16873
eval 'cat <<_LTECHO_EOF
16878
# Quote evaled strings.
16893
deplibs_check_method \
16898
sharedlib_from_linklib_cmd \
16901
archiver_list_spec \
16907
lt_cv_sys_global_symbol_pipe \
16908
lt_cv_sys_global_symbol_to_cdecl \
16909
lt_cv_sys_global_symbol_to_c_name_address \
16910
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16911
nm_file_list_spec \
16912
lt_prog_compiler_no_builtin_flag \
16913
lt_prog_compiler_pic \
16914
lt_prog_compiler_wl \
16915
lt_prog_compiler_static \
16916
lt_cv_prog_compiler_c_o \
16925
export_dynamic_flag_spec \
16926
whole_archive_flag_spec \
16927
compiler_needs_object \
16929
allow_undefined_flag \
16930
no_undefined_flag \
16931
hardcode_libdir_flag_spec \
16932
hardcode_libdir_separator \
16936
variables_saved_for_relink \
16938
library_names_spec \
16940
install_override_mode \
16944
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16945
*[\\\\\\\`\\"\\\$]*)
16946
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16949
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16954
# Double-quote double-evaled strings.
16955
for var in reload_cmds \
16956
old_postinstall_cmds \
16957
old_postuninstall_cmds \
16959
extract_expsyms_cmds \
16960
old_archive_from_new_cmds \
16961
old_archive_from_expsyms_cmds \
16963
archive_expsym_cmds \
16965
module_expsym_cmds \
16966
export_symbols_cmds \
16970
postuninstall_cmds \
16972
sys_lib_search_path_spec \
16973
sys_lib_dlsearch_path_spec; do
16974
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16975
*[\\\\\\\`\\"\\\$]*)
16976
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16979
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16984
ac_aux_dir='$ac_aux_dir'
16985
xsi_shell='$xsi_shell'
16986
lt_shell_append='$lt_shell_append'
16988
# See if we are running on zsh, and set the options which allow our
16989
# commands through without removal of \ escapes INIT.
16990
if test -n "\${ZSH_VERSION+set}" ; then
16991
setopt NO_GLOB_SUBST
16997
TIMESTAMP='$TIMESTAMP'
17003
# Capture the value of obsolete ALL_LINGUAS because we need it to compute
17004
# POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
17005
# from automake < 1.5.
17006
eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
17007
# Capture the value of LINGUAS because we need it to compute CATALOGS.
17008
LINGUAS="${LINGUAS-%UNSET%}"
17013
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17015
# Handling of arguments.
17016
for ac_config_target in $ac_config_targets
17018
case $ac_config_target in
17019
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17020
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17021
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17022
"po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;;
17023
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17024
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17025
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
17026
"data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
17027
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17028
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
17029
"tools-vala/Makefile") CONFIG_FILES="$CONFIG_FILES tools-vala/Makefile" ;;
17030
"tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17031
"tests/manual/Makefile") CONFIG_FILES="$CONFIG_FILES tests/manual/Makefile" ;;
17032
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17033
"docs/man/Makefile") CONFIG_FILES="$CONFIG_FILES docs/man/Makefile" ;;
17034
"docs/devel/Makefile") CONFIG_FILES="$CONFIG_FILES docs/devel/Makefile" ;;
17035
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
17037
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17042
# If the user did not use the arguments to specify the items to instantiate,
17043
# then the envvar interface is used. Set only those that are not.
17044
# We use the long form for the default assignment because of an extremely
17045
# bizarre bug on SunOS 4.1.3.
17046
if $ac_need_defaults; then
17047
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17048
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17049
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17052
# Have a temporary directory for convenience. Make it in the build tree
17053
# simply because there is no reason against having it here, and in addition,
17054
# creating and moving files from /tmp can sometimes cause problems.
17055
# Hook for its removal unless debugging.
17056
# Note that there is a small window in which the directory will not be cleaned:
17057
# after its creation but before its name has been assigned to `$tmp'.
17061
trap 'exit_status=$?
17062
: "${ac_tmp:=$tmp}"
17063
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17065
trap 'as_fn_exit 1' 1 2 13 15
17067
# Create a (secure) tmp directory for tmp files.
17070
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17074
tmp=./conf$$-$RANDOM
17075
(umask 077 && mkdir "$tmp")
17076
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17079
# Set up the scripts for CONFIG_FILES section.
17080
# No need to generate them if there are no CONFIG_FILES.
17081
# This happens for instance with `./config.status config.h'.
17082
if test -n "$CONFIG_FILES"; then
17085
ac_cr=`echo X | tr X '\015'`
17086
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17087
# But we know of no other shell where ac_cr would be empty at this
17088
# point, so we can use a bashism as a fallback.
17089
if test "x$ac_cr" = x; then
17090
eval ac_cr=\$\'\\r\'
17092
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17093
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17096
ac_cs_awk_cr=$ac_cr
17099
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17104
echo "cat >conf$$subs.awk <<_ACEOF" &&
17105
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17107
} >conf$$subs.sh ||
17108
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17109
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17111
for ac_last_try in false false false false false :; do
17112
. ./conf$$subs.sh ||
17113
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17115
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17116
if test $ac_delim_n = $ac_delim_num; then
17118
elif $ac_last_try; then
17119
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17121
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17124
rm -f conf$$subs.sh
17126
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17127
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17131
s/^/S["/; s/!.*/"]=/
17141
s/\(.\{148\}\)..*/\1/
17143
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17148
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17155
s/\(.\{148\}\)..*/\1/
17157
s/["\\]/\\&/g; s/^/"/; s/$/"/
17161
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17166
' <conf$$subs.awk | sed '
17171
' >>$CONFIG_STATUS || ac_write_fail=1
17172
rm -f conf$$subs.awk
17173
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17175
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17176
for (key in S) S_is_set[key] = 1
17182
nfields = split(line, field, "@")
17184
len = length(field[1])
17185
for (i = 2; i < nfields; i++) {
17187
keylen = length(key)
17188
if (S_is_set[key]) {
17190
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17191
len += length(value) + length(field[++i])
17202
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17203
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17204
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17207
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17208
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17211
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17212
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17213
# trailing colons and then remove the whole line if VPATH becomes empty
17214
# (actually we leave an empty line to preserve line numbers).
17215
if test "x$srcdir" = x.; then
17216
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17234
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17235
fi # test -n "$CONFIG_FILES"
17237
# Set up the scripts for CONFIG_HEADERS section.
17238
# No need to generate them if there are no CONFIG_HEADERS.
17239
# This happens for instance with `./config.status Makefile'.
17240
if test -n "$CONFIG_HEADERS"; then
17241
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17245
# Transform confdefs.h into an awk script `defines.awk', embedded as
17246
# here-document in config.status, that substitutes the proper values into
17247
# config.h.in to produce config.h.
17249
# Create a delimiter string that does not exist in confdefs.h, to ease
17250
# handling of long lines.
17252
for ac_last_try in false false :; do
17253
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17254
if test -z "$ac_tt"; then
17256
elif $ac_last_try; then
17257
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17259
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17263
# For the awk script, D is an array of macro values keyed by name,
17264
# likewise P contains macro parameters if any. Preserve backslash
17265
# newline sequences.
17267
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17269
s/.\{148\}/&'"$ac_delim"'/g
17272
s/^[ ]*#[ ]*define[ ][ ]*/ /
17279
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17281
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17285
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17286
D["\1"]=" \3\\\\\\n"\\/p
17288
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17293
s/.\{148\}/&'"$ac_delim"'/g
17298
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17301
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17303
' <confdefs.h | sed '
17304
s/'"$ac_delim"'/"\\\
17305
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17307
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17308
for (key in D) D_is_set[key] = 1
17311
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17313
split(line, arg, " ")
17314
if (arg[1] == "#") {
17318
defundef = substr(arg[1], 2)
17321
split(mac1, mac2, "(") #)
17323
prefix = substr(line, 1, index(line, defundef) - 1)
17324
if (D_is_set[macro]) {
17325
# Preserve the white space surrounding the "#".
17326
print prefix "define", macro P[macro] D[macro]
17329
# Replace #undef with comments. This is necessary, for example,
17330
# in the case of _POSIX_SOURCE, which is predefined and required
17331
# on some systems where configure will not decide to define it.
17332
if (defundef == "undef") {
17333
print "/*", prefix defundef, macro, "*/"
17341
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17342
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17343
fi # test -n "$CONFIG_HEADERS"
17346
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17351
:[FHLC]) ac_mode=$ac_tag; continue;;
17353
case $ac_mode$ac_tag in
17355
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17356
:[FH]-) ac_tag=-:-;;
17357
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17374
-) ac_f="$ac_tmp/stdin";;
17375
*) # Look for the file first in the build tree, then in the source tree
17376
# (if the path is not absolute). The absolute path cannot be DOS-style,
17377
# because $ac_f cannot contain `:'.
17381
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17383
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17385
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17386
as_fn_append ac_file_inputs " '$ac_f'"
17389
# Let's still pretend it is `configure' which instantiates (i.e., don't
17390
# use $as_me), people would be surprised to read:
17391
# /* config.h. Generated by config.status. */
17392
configure_input='Generated from '`
17393
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17395
if test x"$ac_file" != x-; then
17396
configure_input="$ac_file. $configure_input"
17397
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17398
$as_echo "$as_me: creating $ac_file" >&6;}
17400
# Neutralize special characters interpreted by sed in replacement strings.
17401
case $configure_input in #(
17402
*\&* | *\|* | *\\* )
17403
ac_sed_conf_input=`$as_echo "$configure_input" |
17404
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17405
*) ac_sed_conf_input=$configure_input;;
17409
*:-:* | *:-) cat >"$ac_tmp/stdin" \
17410
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17415
ac_dir=`$as_dirname -- "$ac_file" ||
17416
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17417
X"$ac_file" : 'X\(//\)[^/]' \| \
17418
X"$ac_file" : 'X\(//\)$' \| \
17419
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17420
$as_echo X"$ac_file" |
17421
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17425
/^X\(\/\/\)[^/].*/{
17438
as_dir="$ac_dir"; as_fn_mkdir_p
17442
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17444
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17445
# A ".." for each directory in $ac_dir_suffix.
17446
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17447
case $ac_top_builddir_sub in
17448
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17449
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17452
ac_abs_top_builddir=$ac_pwd
17453
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17454
# for backward compatibility:
17455
ac_top_builddir=$ac_top_build_prefix
17458
.) # We are building in place.
17460
ac_top_srcdir=$ac_top_builddir_sub
17461
ac_abs_top_srcdir=$ac_pwd ;;
17462
[\\/]* | ?:[\\/]* ) # Absolute name.
17463
ac_srcdir=$srcdir$ac_dir_suffix;
17464
ac_top_srcdir=$srcdir
17465
ac_abs_top_srcdir=$srcdir ;;
17466
*) # Relative name.
17467
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17468
ac_top_srcdir=$ac_top_build_prefix$srcdir
17469
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17471
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17481
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17482
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17484
ac_MKDIR_P=$MKDIR_P
17486
[\\/$]* | ?:[\\/]* ) ;;
17487
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17491
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17492
# If the template does not know about datarootdir, expand it.
17493
# FIXME: This hack should be removed a few years after 2.60.
17494
ac_datarootdir_hack=; ac_datarootdir_seen=
17505
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17506
*datarootdir*) ac_datarootdir_seen=yes;;
17507
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17508
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17509
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17511
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17512
ac_datarootdir_hack='
17513
s&@datadir@&$datadir&g
17514
s&@docdir@&$docdir&g
17515
s&@infodir@&$infodir&g
17516
s&@localedir@&$localedir&g
17517
s&@mandir@&$mandir&g
17518
s&\\\${datarootdir}&$datarootdir&g' ;;
17522
# Neutralize VPATH when `$srcdir' = `.'.
17523
# Shell code in configure.ac might set extrasub.
17524
# FIXME: do we really want to maintain this feature?
17525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17526
ac_sed_extra="$ac_vpsub
17529
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17531
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17532
s|@configure_input@|$ac_sed_conf_input|;t t
17533
s&@top_builddir@&$ac_top_builddir_sub&;t t
17534
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17535
s&@srcdir@&$ac_srcdir&;t t
17536
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17537
s&@top_srcdir@&$ac_top_srcdir&;t t
17538
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17539
s&@builddir@&$ac_builddir&;t t
17540
s&@abs_builddir@&$ac_abs_builddir&;t t
17541
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17542
s&@INSTALL@&$ac_INSTALL&;t t
17543
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17544
$ac_datarootdir_hack
17546
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17547
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17549
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17550
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17551
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17552
"$ac_tmp/out"`; test -z "$ac_out"; } &&
17553
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17554
which seems to be undefined. Please make sure it is defined" >&5
17555
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17556
which seems to be undefined. Please make sure it is defined" >&2;}
17558
rm -f "$ac_tmp/stdin"
17560
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17561
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17563
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17569
if test x"$ac_file" != x-; then
17571
$as_echo "/* $configure_input */" \
17572
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17573
} >"$ac_tmp/config.h" \
17574
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17575
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17576
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17577
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17580
mv "$ac_tmp/config.h" "$ac_file" \
17581
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17584
$as_echo "/* $configure_input */" \
17585
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17586
|| as_fn_error $? "could not create -" "$LINENO" 5
17588
# Compute "$ac_file"'s index in $config_headers.
17591
for _am_header in $config_headers :; do
17592
case $_am_header in
17593
$_am_arg | $_am_arg:* )
17596
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17599
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17600
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17601
X"$_am_arg" : 'X\(//\)[^/]' \| \
17602
X"$_am_arg" : 'X\(//\)$' \| \
17603
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17604
$as_echo X"$_am_arg" |
17605
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17609
/^X\(\/\/\)[^/].*/{
17621
s/.*/./; q'`/stamp-h$_am_stamp_count
17624
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17625
$as_echo "$as_me: executing $ac_file commands" >&6;}
17630
case $ac_file$ac_mode in
17631
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17632
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17633
# are listed without --file. Let's play safe and only enable the eval
17634
# if we detect the quoting.
17635
case $CONFIG_FILES in
17636
*\'*) eval set x "$CONFIG_FILES" ;;
17637
*) set x $CONFIG_FILES ;;
17642
# Strip MF so we end up with the name of the file.
17643
mf=`echo "$mf" | sed -e 's/:.*$//'`
17644
# Check whether this is an Automake generated Makefile or not.
17645
# We used to match only the files named `Makefile.in', but
17646
# some people rename them; so instead we look at the file content.
17647
# Grep'ing the first line is not enough: some people post-process
17648
# each Makefile.in and add a new line on top of each file to say so.
17649
# Grep'ing the whole file is not good either: AIX grep has a line
17650
# limit of 2048, but all sed's we know have understand at least 4000.
17651
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17652
dirpart=`$as_dirname -- "$mf" ||
17653
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17654
X"$mf" : 'X\(//\)[^/]' \| \
17655
X"$mf" : 'X\(//\)$' \| \
17656
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17658
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17662
/^X\(\/\/\)[^/].*/{
17678
# Extract the definition of DEPDIR, am__include, and am__quote
17679
# from the Makefile without running `make'.
17680
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17681
test -z "$DEPDIR" && continue
17682
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17683
test -z "am__include" && continue
17684
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17685
# When using ansi2knr, U may be empty or an underscore; expand it
17686
U=`sed -n 's/^U = //p' < "$mf"`
17687
# Find all dependency output files, they are included files with
17688
# $(DEPDIR) in their names. We invoke sed twice because it is the
17689
# simplest approach to changing $(DEPDIR) to its actual value in the
17691
for file in `sed -n "
17692
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17693
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17694
# Make sure the directory exists.
17695
test -f "$dirpart/$file" && continue
17696
fdir=`$as_dirname -- "$file" ||
17697
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17698
X"$file" : 'X\(//\)[^/]' \| \
17699
X"$file" : 'X\(//\)$' \| \
17700
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17701
$as_echo X"$file" |
17702
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17706
/^X\(\/\/\)[^/].*/{
17719
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17720
# echo "creating $dirpart/$file"
17721
echo '# dummy' > "$dirpart/$file"
17728
# See if we are running on zsh, and set the options which allow our
17729
# commands through without removal of \ escapes.
17730
if test -n "${ZSH_VERSION+set}" ; then
17731
setopt NO_GLOB_SUBST
17734
cfgfile="${ofile}T"
17735
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17738
cat <<_LT_EOF >> "$cfgfile"
17741
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17742
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17743
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17744
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17746
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17747
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17749
# Written by Gordon Matzigkeit, 1996
17751
# This file is part of GNU Libtool.
17753
# GNU Libtool is free software; you can redistribute it and/or
17754
# modify it under the terms of the GNU General Public License as
17755
# published by the Free Software Foundation; either version 2 of
17756
# the License, or (at your option) any later version.
17758
# As a special exception to the GNU General Public License,
17759
# if you distribute this file as part of a program or library that
17760
# is built using GNU Libtool, you may include this file under the
17761
# same distribution terms that you use for the rest of that program.
17763
# GNU Libtool is distributed in the hope that it will be useful,
17764
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17765
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17766
# GNU General Public License for more details.
17768
# You should have received a copy of the GNU General Public License
17769
# along with GNU Libtool; see the file COPYING. If not, a copy
17770
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17771
# obtained by writing to the Free Software Foundation, Inc.,
17772
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17775
# The names of the tagged configurations supported by this script.
17778
# ### BEGIN LIBTOOL CONFIG
17780
# Which release of libtool.m4 was used?
17781
macro_version=$macro_version
17782
macro_revision=$macro_revision
17784
# Whether or not to build shared libraries.
17785
build_libtool_libs=$enable_shared
17787
# Whether or not to build static libraries.
17788
build_old_libs=$enable_static
17790
# What type of objects to build.
17793
# Whether or not to optimize for fast installation.
17794
fast_install=$enable_fast_install
17796
# Shell to use when invoking shell scripts.
17799
# An echo program that protects backslashes.
17802
# The PATH separator for the build system.
17803
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17806
host_alias=$host_alias
17810
# The build system.
17811
build_alias=$build_alias
17815
# A sed program that does not truncate output.
17818
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17819
Xsed="\$SED -e 1s/^X//"
17821
# A grep program that handles long lines.
17827
# A literal string matcher.
17830
# A BSD- or MS-compatible name lister.
17833
# Whether we need soft or hard links.
17836
# What is the maximum length of a command?
17837
max_cmd_len=$max_cmd_len
17839
# Object file suffix (normally "o").
17842
# Executable file suffix (normally "").
17845
# whether the shell understands "unset".
17848
# turn spaces into newlines.
17851
# turn newlines into spaces.
17854
# convert \$build file names to \$host format.
17855
to_host_file_cmd=$lt_cv_to_host_file_cmd
17857
# convert \$build files to toolchain format.
17858
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17860
# An object symbol dumper.
17861
OBJDUMP=$lt_OBJDUMP
17863
# Method to check whether dependent libraries are shared objects.
17864
deplibs_check_method=$lt_deplibs_check_method
17866
# Command to use when deplibs_check_method = "file_magic".
17867
file_magic_cmd=$lt_file_magic_cmd
17869
# How to find potential files when deplibs_check_method = "file_magic".
17870
file_magic_glob=$lt_file_magic_glob
17872
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17873
want_nocaseglob=$lt_want_nocaseglob
17875
# DLL creation program.
17876
DLLTOOL=$lt_DLLTOOL
17878
# Command to associate shared and link libraries.
17879
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17884
# Flags to create an archive.
17885
AR_FLAGS=$lt_AR_FLAGS
17887
# How to feed a file listing to the archiver.
17888
archiver_list_spec=$lt_archiver_list_spec
17890
# A symbol stripping program.
17893
# Commands used to install an old-style archive.
17895
old_postinstall_cmds=$lt_old_postinstall_cmds
17896
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17898
# Whether to use a lock for old archive extraction.
17899
lock_old_archive_extraction=$lock_old_archive_extraction
17904
# LTCC compiler flags.
17905
LTCFLAGS=$lt_CFLAGS
17907
# Take the output of nm and produce a listing of raw symbols and C names.
17908
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17910
# Transform the output of nm in a proper C declaration.
17911
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17913
# Transform the output of nm in a C name address pair.
17914
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17916
# Transform the output of nm in a C name address pair when lib prefix is needed.
17917
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17919
# Specify filename containing input files for \$NM.
17920
nm_file_list_spec=$lt_nm_file_list_spec
17922
# The root where to search for dependent libraries,and in which our libraries should be installed.
17923
lt_sysroot=$lt_sysroot
17925
# The name of the directory that contains temporary libtool files.
17928
# Used to examine libraries when file_magic_cmd begins with "file".
17929
MAGIC_CMD=$MAGIC_CMD
17931
# Must we lock files when doing compilation?
17932
need_locks=$lt_need_locks
17935
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17937
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17938
DSYMUTIL=$lt_DSYMUTIL
17940
# Tool to change global to local symbols on Mac OS X.
17943
# Tool to manipulate fat objects and archives on Mac OS X.
17946
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17949
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17950
OTOOL64=$lt_OTOOL64
17952
# Old archive suffix (normally "a").
17955
# Shared library suffix (normally ".so").
17956
shrext_cmds=$lt_shrext_cmds
17958
# The commands to extract the exported symbol list from a shared archive.
17959
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17961
# Variables whose values should be saved in libtool wrapper scripts and
17962
# restored at link time.
17963
variables_saved_for_relink=$lt_variables_saved_for_relink
17965
# Do we need the "lib" prefix for modules?
17966
need_lib_prefix=$need_lib_prefix
17968
# Do we need a version for libraries?
17969
need_version=$need_version
17971
# Library versioning type.
17972
version_type=$version_type
17974
# Shared library runtime path variable.
17975
runpath_var=$runpath_var
17977
# Shared library path variable.
17978
shlibpath_var=$shlibpath_var
17980
# Is shlibpath searched before the hard-coded library search path?
17981
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17983
# Format of library name prefix.
17984
libname_spec=$lt_libname_spec
17986
# List of archive names. First name is the real one, the rest are links.
17987
# The last name is the one that the linker finds with -lNAME
17988
library_names_spec=$lt_library_names_spec
17990
# The coded name of the library, if different from the real name.
17991
soname_spec=$lt_soname_spec
17993
# Permission mode override for installation of shared libraries.
17994
install_override_mode=$lt_install_override_mode
17996
# Command to use after installation of a shared archive.
17997
postinstall_cmds=$lt_postinstall_cmds
17999
# Command to use after uninstallation of a shared archive.
18000
postuninstall_cmds=$lt_postuninstall_cmds
18002
# Commands used to finish a libtool library installation in a directory.
18003
finish_cmds=$lt_finish_cmds
18005
# As "finish_cmds", except a single script fragment to be evaled but
18007
finish_eval=$lt_finish_eval
18009
# Whether we should hardcode library paths into libraries.
18010
hardcode_into_libs=$hardcode_into_libs
18012
# Compile-time system search path for libraries.
18013
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18015
# Run-time system search path for libraries.
18016
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18018
# Whether dlopen is supported.
18019
dlopen_support=$enable_dlopen
18021
# Whether dlopen of programs is supported.
18022
dlopen_self=$enable_dlopen_self
18024
# Whether dlopen of statically linked programs is supported.
18025
dlopen_self_static=$enable_dlopen_self_static
18027
# Commands to strip libraries.
18028
old_striplib=$lt_old_striplib
18029
striplib=$lt_striplib
18032
# The linker used to build libraries.
18035
# How to create reloadable object files.
18036
reload_flag=$lt_reload_flag
18037
reload_cmds=$lt_reload_cmds
18039
# Commands used to build an old-style archive.
18040
old_archive_cmds=$lt_old_archive_cmds
18042
# A language specific compiler.
18045
# Is the compiler the GNU compiler?
18048
# Compiler flag to turn off builtin functions.
18049
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18051
# Additional compiler flags for building library objects.
18052
pic_flag=$lt_lt_prog_compiler_pic
18054
# How to pass a linker flag through the compiler.
18055
wl=$lt_lt_prog_compiler_wl
18057
# Compiler flag to prevent dynamic linking.
18058
link_static_flag=$lt_lt_prog_compiler_static
18060
# Does compiler simultaneously support -c and -o options?
18061
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18063
# Whether or not to add -lc for building shared libraries.
18064
build_libtool_need_lc=$archive_cmds_need_lc
18066
# Whether or not to disallow shared libs when runtime libs are static.
18067
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18069
# Compiler flag to allow reflexive dlopens.
18070
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18072
# Compiler flag to generate shared objects directly from archives.
18073
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18075
# Whether the compiler copes with passing no objects directly.
18076
compiler_needs_object=$lt_compiler_needs_object
18078
# Create an old-style archive from a shared archive.
18079
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18081
# Create a temporary old-style archive to link instead of a shared archive.
18082
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18084
# Commands used to build a shared archive.
18085
archive_cmds=$lt_archive_cmds
18086
archive_expsym_cmds=$lt_archive_expsym_cmds
18088
# Commands used to build a loadable module if different from building
18089
# a shared archive.
18090
module_cmds=$lt_module_cmds
18091
module_expsym_cmds=$lt_module_expsym_cmds
18093
# Whether we are building with GNU ld or not.
18094
with_gnu_ld=$lt_with_gnu_ld
18096
# Flag that allows shared libraries with undefined symbols to be built.
18097
allow_undefined_flag=$lt_allow_undefined_flag
18099
# Flag that enforces no undefined symbols.
18100
no_undefined_flag=$lt_no_undefined_flag
18102
# Flag to hardcode \$libdir into a binary during linking.
18103
# This must work even if \$libdir does not exist
18104
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18106
# Whether we need a single "-rpath" flag with a separated argument.
18107
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18109
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18110
# DIR into the resulting binary.
18111
hardcode_direct=$hardcode_direct
18113
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18114
# DIR into the resulting binary and the resulting library dependency is
18115
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18116
# library is relocated.
18117
hardcode_direct_absolute=$hardcode_direct_absolute
18119
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18120
# into the resulting binary.
18121
hardcode_minus_L=$hardcode_minus_L
18123
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18124
# into the resulting binary.
18125
hardcode_shlibpath_var=$hardcode_shlibpath_var
18127
# Set to "yes" if building a shared library automatically hardcodes DIR
18128
# into the library and all subsequent libraries and executables linked
18130
hardcode_automatic=$hardcode_automatic
18132
# Set to yes if linker adds runtime paths of dependent libraries
18133
# to runtime path list.
18134
inherit_rpath=$inherit_rpath
18136
# Whether libtool must link a program against all its dependency libraries.
18137
link_all_deplibs=$link_all_deplibs
18139
# Set to "yes" if exported symbols are required.
18140
always_export_symbols=$always_export_symbols
18142
# The commands to list exported symbols.
18143
export_symbols_cmds=$lt_export_symbols_cmds
18145
# Symbols that should not be listed in the preloaded symbols.
18146
exclude_expsyms=$lt_exclude_expsyms
18148
# Symbols that must always be exported.
18149
include_expsyms=$lt_include_expsyms
18151
# Commands necessary for linking programs (against libraries) with templates.
18152
prelink_cmds=$lt_prelink_cmds
18154
# Commands necessary for finishing linking programs.
18155
postlink_cmds=$lt_postlink_cmds
18157
# Specify filename containing input files.
18158
file_list_spec=$lt_file_list_spec
18160
# How to hardcode a shared library path into an executable.
18161
hardcode_action=$hardcode_action
18163
# ### END LIBTOOL CONFIG
18169
cat <<\_LT_EOF >> "$cfgfile"
18170
# AIX sometimes has problems with the GCC collect2 program. For some
18171
# reason, if we set the COLLECT_NAMES environment variable, the problems
18172
# vanish in a puff of smoke.
18173
if test "X${COLLECT_NAMES+set}" != Xset; then
18175
export COLLECT_NAMES
18182
ltmain="$ac_aux_dir/ltmain.sh"
18185
# We use sed instead of cat because bash on DJGPP gets confused if
18186
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18187
# text mode, it properly converts lines to CR/LF. This bash problem
18188
# is reportedly fixed, but why not run on old versions too?
18189
sed '$q' "$ltmain" >> "$cfgfile" \
18190
|| (rm -f "$cfgfile"; exit 1)
18192
if test x"$xsi_shell" = xyes; then
18193
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18197
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18198
\ * ) func_dirname_result="${3}" ;;\
18200
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18201
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18202
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18203
test 0 -eq $? || _lt_function_replace_fail=:
18206
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18209
\ func_basename_result="${1##*/}"\
18210
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18211
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18212
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18213
test 0 -eq $? || _lt_function_replace_fail=:
18216
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18217
func_dirname_and_basename ()\
18220
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18221
\ * ) func_dirname_result="${3}" ;;\
18223
\ func_basename_result="${1##*/}"\
18224
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18225
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18226
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18227
test 0 -eq $? || _lt_function_replace_fail=:
18230
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18233
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18234
\ # positional parameters, so assign one to ordinary parameter first.\
18235
\ func_stripname_result=${3}\
18236
\ func_stripname_result=${func_stripname_result#"${1}"}\
18237
\ func_stripname_result=${func_stripname_result%"${2}"}\
18238
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18239
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18240
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18241
test 0 -eq $? || _lt_function_replace_fail=:
18244
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18245
func_split_long_opt ()\
18247
\ func_split_long_opt_name=${1%%=*}\
18248
\ func_split_long_opt_arg=${1#*=}\
18249
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18250
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18251
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18252
test 0 -eq $? || _lt_function_replace_fail=:
18255
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18256
func_split_short_opt ()\
18258
\ func_split_short_opt_arg=${1#??}\
18259
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18260
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18261
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18262
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18263
test 0 -eq $? || _lt_function_replace_fail=:
18266
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18270
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18271
\ *) func_lo2o_result=${1} ;;\
18273
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18274
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18275
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18276
test 0 -eq $? || _lt_function_replace_fail=:
18279
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18282
func_xform_result=${1%.*}.lo\
18283
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18284
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18285
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18286
test 0 -eq $? || _lt_function_replace_fail=:
18289
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18292
func_arith_result=$(( $* ))\
18293
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18294
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18295
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18296
test 0 -eq $? || _lt_function_replace_fail=:
18299
sed -e '/^func_len ()$/,/^} # func_len /c\
18302
func_len_result=${#1}\
18303
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18304
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18305
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18306
test 0 -eq $? || _lt_function_replace_fail=:
18310
if test x"$lt_shell_append" = xyes; then
18311
sed -e '/^func_append ()$/,/^} # func_append /c\
18314
eval "${1}+=\\${2}"\
18315
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18316
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18317
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18318
test 0 -eq $? || _lt_function_replace_fail=:
18321
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18322
func_append_quoted ()\
18324
\ func_quote_for_eval "${2}"\
18325
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18326
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18327
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18328
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18329
test 0 -eq $? || _lt_function_replace_fail=:
18332
# Save a `func_append' function call where possible by direct use of '+='
18333
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18334
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18335
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18336
test 0 -eq $? || _lt_function_replace_fail=:
18338
# Save a `func_append' function call even when '+=' is not available
18339
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18340
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18341
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18342
test 0 -eq $? || _lt_function_replace_fail=:
18345
if test x"$_lt_function_replace_fail" = x":"; then
18346
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18347
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18351
mv -f "$cfgfile" "$ofile" ||
18352
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18356
"po-directories":C)
18357
for ac_file in $CONFIG_FILES; do
18358
# Support "outfile[:infile[:infile...]]"
18360
*:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
18362
# PO directories have a Makefile.in generated from Makefile.in.in.
18363
case "$ac_file" in */Makefile.in)
18364
# Adjust a relative srcdir.
18365
ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
18366
ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
18367
ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
18368
# In autoconf-2.13 it is called $ac_given_srcdir.
18369
# In autoconf-2.50 it is called $srcdir.
18370
test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
18371
case "$ac_given_srcdir" in
18372
.) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
18373
/*) top_srcdir="$ac_given_srcdir" ;;
18374
*) top_srcdir="$ac_dots$ac_given_srcdir" ;;
18376
# Treat a directory as a PO directory if and only if it has a
18377
# POTFILES.in file. This allows packages to have multiple PO
18378
# directories under different names or in different locations.
18379
if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
18380
rm -f "$ac_dir/POTFILES"
18381
test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
18382
cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
18383
POMAKEFILEDEPS="POTFILES.in"
18384
# ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
18385
# on $ac_dir but don't depend on user-specified configuration
18387
if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
18388
# The LINGUAS file contains the set of available languages.
18389
if test -n "$OBSOLETE_ALL_LINGUAS"; then
18390
test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
18392
ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
18393
# Hide the ALL_LINGUAS assigment from automake < 1.5.
18394
eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
18395
POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
18397
# The set of available languages was given in configure.in.
18398
# Hide the ALL_LINGUAS assigment from automake < 1.5.
18399
eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
18402
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
18403
# Compute UPDATEPOFILES
18404
# as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
18405
# Compute DUMMYPOFILES
18406
# as $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
18408
# as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
18409
case "$ac_given_srcdir" in
18411
*) srcdirpre='$(srcdir)/' ;;
18417
for lang in $ALL_LINGUAS; do
18418
POFILES="$POFILES $srcdirpre$lang.po"
18419
UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
18420
DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
18421
GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
18423
# CATALOGS depends on both $ac_dir and the user's LINGUAS
18424
# environment variable.
18426
if test -n "$ALL_LINGUAS"; then
18427
for presentlang in $ALL_LINGUAS; do
18429
if test "%UNSET%" != "$LINGUAS"; then
18430
desiredlanguages="$LINGUAS"
18432
desiredlanguages="$ALL_LINGUAS"
18434
for desiredlang in $desiredlanguages; do
18435
# Use the presentlang catalog if desiredlang is
18436
# a. equal to presentlang, or
18437
# b. a variant of presentlang (because in this case,
18438
# presentlang can be used as a fallback for messages
18439
# which are not translated in the desiredlang catalog).
18440
case "$desiredlang" in
18441
"$presentlang"*) useit=yes;;
18444
if test $useit = yes; then
18445
INST_LINGUAS="$INST_LINGUAS $presentlang"
18450
if test -n "$INST_LINGUAS"; then
18451
for lang in $INST_LINGUAS; do
18452
CATALOGS="$CATALOGS $lang.gmo"
18455
test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
18456
sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
18457
for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
18458
if test -f "$f"; then
18460
*.orig | *.bak | *~) ;;
18461
*) cat "$f" >> "$ac_dir/Makefile" ;;
18470
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
18471
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
18473
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
18478
'"s|^| $ac_top_srcdir/|" \
18479
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
18481
sed '/^POTFILES =/,/[^\\]$/ {
18485
' "po/Makefile.in" >"po/Makefile"
18486
rm -f "po/Makefile.tmp"
18487
mv "po/stamp-it.tmp" "po/stamp-it"
18496
ac_clean_files=$ac_clean_files_save
18498
test $ac_write_fail = 0 ||
18499
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18502
# configure is writing to config.log, and then calls config.status.
18503
# config.status does its own redirection, appending to config.log.
18504
# Unfortunately, on DOS this fails, as config.log is still kept open
18505
# by configure, so config.status won't be able to write to it; its
18506
# output is simply discarded. So we exec the FD to /dev/null,
18507
# effectively closing config.log, so it can be properly (re)opened and
18508
# appended to by config.status. When coming back to configure, we
18509
# need to make the FD available again.
18510
if test "$no_create" != yes; then
18512
ac_config_status_args=
18513
test "$silent" = yes &&
18514
ac_config_status_args="$ac_config_status_args --quiet"
18516
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18518
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18519
# would make configure fail if this is the last instruction.
18520
$ac_cs_success || as_fn_exit 1
18522
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18523
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18524
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18528
###########################
18530
###########################
18532
{ $as_echo "$as_me:${as_lineno-$LINENO}:
18534
App Menu Indicator Configuration:
18537
Indicator Dir: $INDICATORDIR
18539
Local Install: $with_localinstall
18540
Test tools: $have_dbusmenu_jsonloader
18544
App Menu Indicator Configuration:
18547
Indicator Dir: $INDICATORDIR
18549
Local Install: $with_localinstall
18550
Test tools: $have_dbusmenu_jsonloader