2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.69 for at-spi2-core 2.18.3.
5
# Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
8
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
# Use a proper internal environment variable to ensure we don't fall
138
# into an infinite loop, continuously re-executing ourselves.
139
if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140
_as_can_reexec=no; export _as_can_reexec;
141
# We cannot yet assume a decent shell, so we have to provide a
142
# neutralization value for shells without unset; and this also
143
# works around shells that cannot unset nonexistent variables.
144
# Preserve -v and -x to the replacement shell.
147
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149
*v*x* | *x*v* ) as_opts=-vx ;;
154
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155
# Admittedly, this is quite paranoid, since all the known shells bail
156
# out after a failed `exec'.
157
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160
# We don't want this to propagate to other subprocesses.
161
{ _as_can_reexec=; unset _as_can_reexec;}
162
if test "x$CONFIG_SHELL" = x; then
163
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167
# is contrary to our usage. Disable this feature.
168
alias -g '\${1+\"\$@\"}'='\"\$@\"'
171
case \`(set -o) 2>/dev/null\` in #(
179
as_required="as_fn_return () { (exit \$1); }
180
as_fn_success () { as_fn_return 0; }
181
as_fn_failure () { as_fn_return 1; }
182
as_fn_ret_success () { return 0; }
183
as_fn_ret_failure () { return 1; }
186
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193
exitcode=1; echo positional parameters were not saved.
195
test x\$exitcode = x0 || exit 1
197
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
202
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206
PATH=/empty FPATH=/empty; export PATH FPATH
207
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209
test \$(( 1 + 1 )) = 2 || exit 1"
210
if (eval "$as_required") 2>/dev/null; then :
215
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223
test -z "$as_dir" && as_dir=.
227
for as_base in sh bash ksh sh5; do
228
# Try only shells that exist, to save several forks.
229
as_shell=$as_dir/$as_base
230
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232
CONFIG_SHELL=$as_shell as_have_required=yes
233
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243
CONFIG_SHELL=$SHELL as_have_required=yes
248
if test "x$CONFIG_SHELL" != x; then :
250
# We cannot yet assume a decent shell, so we have to provide a
251
# neutralization value for shells without unset; and this also
252
# works around shells that cannot unset nonexistent variables.
253
# Preserve -v and -x to the replacement shell.
256
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258
*v*x* | *x*v* ) as_opts=-vx ;;
263
exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264
# Admittedly, this is quite paranoid, since all the known shells bail
265
# out after a failed `exec'.
266
$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270
if test x$as_have_required = xno; then :
271
$as_echo "$0: This script requires a shell more modern than all"
272
$as_echo "$0: the shells that I found on your system."
273
if test x${ZSH_VERSION+set} = xset ; then
274
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
277
$as_echo "$0: Please tell bug-autoconf@gnu.org and
278
$0: accessibility-atspi@lists.linux-foundation.org about
279
$0: your system, including any error possibly output before
280
$0: this message. Then install a modern shell, or manually
281
$0: run the script under such a shell if you do have one."
287
SHELL=${CONFIG_SHELL-/bin/sh}
289
# Unset more variables known to interfere with behavior of common tools.
290
CLICOLOR_FORCE= GREP_OPTIONS=
291
unset CLICOLOR_FORCE GREP_OPTIONS
293
## --------------------- ##
294
## M4sh Shell Functions. ##
295
## --------------------- ##
298
# Portably unset VAR.
301
{ eval $1=; unset $1;}
305
# as_fn_set_status STATUS
306
# -----------------------
307
# Set $? to STATUS, without forking.
315
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325
# Create "$as_dir" as a directory, including parents if necessary.
330
-*) as_dir=./$as_dir;;
332
test -d "$as_dir" || eval $as_mkdir_p || {
336
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339
as_dirs="'$as_qdir' $as_dirs"
340
as_dir=`$as_dirname -- "$as_dir" ||
341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342
X"$as_dir" : 'X\(//\)[^/]' \| \
343
X"$as_dir" : 'X\(//\)$' \| \
344
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345
$as_echo X"$as_dir" |
346
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363
test -d "$as_dir" && break
365
test -z "$as_dirs" || eval "mkdir $as_dirs"
366
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371
# as_fn_executable_p FILE
372
# -----------------------
373
# Test if FILE is an executable regular file.
374
as_fn_executable_p ()
376
test -f "$1" && test -x "$1"
377
} # as_fn_executable_p
378
# as_fn_append VAR VALUE
379
# ----------------------
380
# Append the text in VALUE to the end of the definition contained in VAR. Take
381
# advantage of any shell optimizations that allow amortized linear growth over
382
# repeated appends, instead of the typical quadratic growth present in naive
384
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385
eval 'as_fn_append ()
398
# Perform arithmetic evaluation on the ARGs, and store the result in the
399
# global $as_val. Take advantage of shells that can avoid forks. The arguments
400
# must be portable across $(()) and expr.
401
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409
as_val=`expr "$@" || test $? -eq 1`
414
# as_fn_error STATUS ERROR [LINENO LOG_FD]
415
# ----------------------------------------
416
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418
# script with STATUS, using 1 if that was 0.
421
as_status=$1; test $as_status -eq 0 && as_status=1
423
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426
$as_echo "$as_me: error: $2" >&2
427
as_fn_exit $as_status
430
if expr a : '\(a\)' >/dev/null 2>&1 &&
431
test "X`expr 00001 : '.*\(...\)'`" = X001; then
437
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449
as_me=`$as_basename -- "$0" ||
450
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451
X"$0" : 'X\(//\)$' \| \
452
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454
sed '/^.*\/\([^/][^/]*\)\/*$/{
468
# Avoid depending upon Character Ranges.
469
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472
as_cr_digits='0123456789'
473
as_cr_alnum=$as_cr_Letters$as_cr_digits
476
as_lineno_1=$LINENO as_lineno_1a=$LINENO
477
as_lineno_2=$LINENO as_lineno_2a=$LINENO
478
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496
chmod +x "$as_me.lineno" ||
497
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499
# If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500
# already done that, so ensure we don't try to do so again and fall
501
# in an infinite loop. This has already happened in practice.
502
_as_can_reexec=no; export _as_can_reexec
503
# Don't try to exec as it changes $[0], causing all sort of problems
504
# (the dirname of $[0] is not the place where we might find the
505
# original and so on. Autoconf is especially sensitive to this).
507
# Exit status is that of the last command.
511
ECHO_C= ECHO_N= ECHO_T=
512
case `echo -n x` in #(((((
514
case `echo 'xy\c'` in
515
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
517
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524
rm -f conf$$ conf$$.exe conf$$.file
525
if test -d conf$$.dir; then
526
rm -f conf$$.dir/conf$$.file
529
mkdir conf$$.dir 2>/dev/null
531
if (echo >conf$$.file) 2>/dev/null; then
532
if ln -s conf$$.file conf$$ 2>/dev/null; then
534
# ... but there are two gotchas:
535
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537
# In both cases, we have to default to `cp -pR'.
538
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540
elif ln conf$$.file conf$$ 2>/dev/null; then
548
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549
rmdir conf$$.dir 2>/dev/null
551
if mkdir -p . 2>/dev/null; then
552
as_mkdir_p='mkdir -p "$as_dir"'
554
test -d ./-p && rmdir ./-p
559
as_executable_p=as_fn_executable_p
561
# Sed expression to map a string onto a valid CPP name.
562
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564
# Sed expression to map a string onto a valid variable name.
565
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567
SHELL=${CONFIG_SHELL-/bin/sh}
570
test -n "$DJDIR" || exec 7<&0 </dev/null
574
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575
# so uname gets run too.
576
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581
ac_default_prefix=/usr/local
583
ac_config_libobj_dir=.
590
# Identity of this package.
591
PACKAGE_NAME='at-spi2-core'
592
PACKAGE_TARNAME='at-spi2-core'
593
PACKAGE_VERSION='2.18.3'
594
PACKAGE_STRING='at-spi2-core 2.18.3'
595
PACKAGE_BUGREPORT='accessibility-atspi@lists.linux-foundation.org'
598
# Factoring default headers for most tests.
599
ac_includes_default="\
601
#ifdef HAVE_SYS_TYPES_H
602
# include <sys/types.h>
604
#ifdef HAVE_SYS_STAT_H
605
# include <sys/stat.h>
611
# ifdef HAVE_STDLIB_H
616
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
621
#ifdef HAVE_STRINGS_H
622
# include <strings.h>
624
#ifdef HAVE_INTTYPES_H
625
# include <inttypes.h>
634
ac_subst_vars='am__EXEEXT_FALSE
638
GTK_DOC_USE_REBASE_FALSE
639
GTK_DOC_USE_REBASE_TRUE
640
GTK_DOC_USE_LIBTOOL_FALSE
641
GTK_DOC_USE_LIBTOOL_TRUE
642
GTK_DOC_BUILD_PDF_FALSE
643
GTK_DOC_BUILD_PDF_TRUE
644
GTK_DOC_BUILD_HTML_FALSE
645
GTK_DOC_BUILD_HTML_TRUE
657
DBIND_ALIGNOF_DBIND_STRUCT
658
DBIND_ALIGNOF_DBIND_POINTER
660
DBIND_ALIGNOF_DBUS_INT64_T
661
DBIND_ALIGNOF_DBUS_INT32_T
662
DBIND_ALIGNOF_DBUS_INT16_T
663
DBIND_ALIGNOF_DBUS_BOOL_T
665
LIBTOOL_EXPORT_OPTIONS
666
HAVE_INTROSPECTION_FALSE
667
HAVE_INTROSPECTION_TRUE
668
INTROSPECTION_MAKEFILE
671
INTROSPECTION_TYPELIBDIR
673
INTROSPECTION_GENERATE
674
INTROSPECTION_COMPILER
675
INTROSPECTION_SCANNER
708
INTLTOOL_SERVICE_RULE
710
INTLTOOL_SCHEMAS_RULE
712
INTLTOOL_XML_NOMERGE_RULE
717
INTLTOOL_SOUNDLIST_RULE
724
INTLTOOL_DIRECTORY_RULE
725
INTLTOOL_DESKTOP_RULE
726
intltool__v_merge_options_0
727
intltool__v_merge_options_
728
INTLTOOL_V_MERGE_OPTIONS
798
INSTALL_STRIP_PROGRAM
846
program_transform_name
859
enable_option_checking
861
enable_dependency_tracking
881
ac_precious_vars='build_alias
906
# Initialize some variables set by options.
908
ac_init_version=false
909
ac_unrecognized_opts=
911
# The variables have the same names as the options, with
912
# dashes changed to underlines.
920
program_transform_name=s,x,x,
928
# Installation directory options.
929
# These are left unexpanded so users can "make install exec_prefix=/foo"
930
# and all the variables that are supposed to be based on exec_prefix
931
# by default will actually change.
932
# Use braces instead of parens because sh, perl, etc. also accept them.
933
# (The list follows the same order as the GNU Coding Standards.)
934
bindir='${exec_prefix}/bin'
935
sbindir='${exec_prefix}/sbin'
936
libexecdir='${exec_prefix}/libexec'
937
datarootdir='${prefix}/share'
938
datadir='${datarootdir}'
939
sysconfdir='${prefix}/etc'
940
sharedstatedir='${prefix}/com'
941
localstatedir='${prefix}/var'
942
includedir='${prefix}/include'
943
oldincludedir='/usr/include'
944
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
945
infodir='${datarootdir}/info'
950
libdir='${exec_prefix}/lib'
951
localedir='${datarootdir}/locale'
952
mandir='${datarootdir}/man'
958
# If the previous option needs an argument, assign it.
959
if test -n "$ac_prev"; then
960
eval $ac_prev=\$ac_option
966
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971
# Accept the important Cygnus configure options, so we can diagnose typos.
973
case $ac_dashdash$ac_option in
977
-bindir | --bindir | --bindi | --bind | --bin | --bi)
979
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
982
-build | --build | --buil | --bui | --bu)
983
ac_prev=build_alias ;;
984
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
985
build_alias=$ac_optarg ;;
987
-cache-file | --cache-file | --cache-fil | --cache-fi \
988
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
989
ac_prev=cache_file ;;
990
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
991
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
992
cache_file=$ac_optarg ;;
995
cache_file=config.cache ;;
997
-datadir | --datadir | --datadi | --datad)
999
-datadir=* | --datadir=* | --datadi=* | --datad=*)
1000
datadir=$ac_optarg ;;
1002
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1003
| --dataroo | --dataro | --datar)
1004
ac_prev=datarootdir ;;
1005
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1006
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1007
datarootdir=$ac_optarg ;;
1009
-disable-* | --disable-*)
1010
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1011
# Reject names that are not valid shell variable names.
1012
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1013
as_fn_error $? "invalid feature name: $ac_useropt"
1014
ac_useropt_orig=$ac_useropt
1015
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1016
case $ac_user_opts in
1018
"enable_$ac_useropt"
1020
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1021
ac_unrecognized_sep=', ';;
1023
eval enable_$ac_useropt=no ;;
1025
-docdir | --docdir | --docdi | --doc | --do)
1027
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1028
docdir=$ac_optarg ;;
1030
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1032
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1033
dvidir=$ac_optarg ;;
1035
-enable-* | --enable-*)
1036
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1037
# Reject names that are not valid shell variable names.
1038
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1039
as_fn_error $? "invalid feature name: $ac_useropt"
1040
ac_useropt_orig=$ac_useropt
1041
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1042
case $ac_user_opts in
1044
"enable_$ac_useropt"
1046
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1047
ac_unrecognized_sep=', ';;
1049
eval enable_$ac_useropt=\$ac_optarg ;;
1051
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1052
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1053
| --exec | --exe | --ex)
1054
ac_prev=exec_prefix ;;
1055
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1056
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1057
| --exec=* | --exe=* | --ex=*)
1058
exec_prefix=$ac_optarg ;;
1060
-gas | --gas | --ga | --g)
1061
# Obsolete; use --with-gas.
1064
-help | --help | --hel | --he | -h)
1065
ac_init_help=long ;;
1066
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1067
ac_init_help=recursive ;;
1068
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1069
ac_init_help=short ;;
1071
-host | --host | --hos | --ho)
1072
ac_prev=host_alias ;;
1073
-host=* | --host=* | --hos=* | --ho=*)
1074
host_alias=$ac_optarg ;;
1076
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1078
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1080
htmldir=$ac_optarg ;;
1082
-includedir | --includedir | --includedi | --included | --include \
1083
| --includ | --inclu | --incl | --inc)
1084
ac_prev=includedir ;;
1085
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1086
| --includ=* | --inclu=* | --incl=* | --inc=*)
1087
includedir=$ac_optarg ;;
1089
-infodir | --infodir | --infodi | --infod | --info | --inf)
1091
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1092
infodir=$ac_optarg ;;
1094
-libdir | --libdir | --libdi | --libd)
1096
-libdir=* | --libdir=* | --libdi=* | --libd=*)
1097
libdir=$ac_optarg ;;
1099
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1100
| --libexe | --libex | --libe)
1101
ac_prev=libexecdir ;;
1102
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1103
| --libexe=* | --libex=* | --libe=*)
1104
libexecdir=$ac_optarg ;;
1106
-localedir | --localedir | --localedi | --localed | --locale)
1107
ac_prev=localedir ;;
1108
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1109
localedir=$ac_optarg ;;
1111
-localstatedir | --localstatedir | --localstatedi | --localstated \
1112
| --localstate | --localstat | --localsta | --localst | --locals)
1113
ac_prev=localstatedir ;;
1114
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1115
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1116
localstatedir=$ac_optarg ;;
1118
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1120
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1121
mandir=$ac_optarg ;;
1123
-nfp | --nfp | --nf)
1124
# Obsolete; use --without-fp.
1127
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1128
| --no-cr | --no-c | -n)
1131
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1132
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1135
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1136
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1137
| --oldin | --oldi | --old | --ol | --o)
1138
ac_prev=oldincludedir ;;
1139
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1140
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1141
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1142
oldincludedir=$ac_optarg ;;
1144
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1146
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1147
prefix=$ac_optarg ;;
1149
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1150
| --program-pre | --program-pr | --program-p)
1151
ac_prev=program_prefix ;;
1152
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1153
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1154
program_prefix=$ac_optarg ;;
1156
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1157
| --program-suf | --program-su | --program-s)
1158
ac_prev=program_suffix ;;
1159
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1160
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1161
program_suffix=$ac_optarg ;;
1163
-program-transform-name | --program-transform-name \
1164
| --program-transform-nam | --program-transform-na \
1165
| --program-transform-n | --program-transform- \
1166
| --program-transform | --program-transfor \
1167
| --program-transfo | --program-transf \
1168
| --program-trans | --program-tran \
1169
| --progr-tra | --program-tr | --program-t)
1170
ac_prev=program_transform_name ;;
1171
-program-transform-name=* | --program-transform-name=* \
1172
| --program-transform-nam=* | --program-transform-na=* \
1173
| --program-transform-n=* | --program-transform-=* \
1174
| --program-transform=* | --program-transfor=* \
1175
| --program-transfo=* | --program-transf=* \
1176
| --program-trans=* | --program-tran=* \
1177
| --progr-tra=* | --program-tr=* | --program-t=*)
1178
program_transform_name=$ac_optarg ;;
1180
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1182
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1183
pdfdir=$ac_optarg ;;
1185
-psdir | --psdir | --psdi | --psd | --ps)
1187
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1190
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1191
| -silent | --silent | --silen | --sile | --sil)
1194
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1196
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1198
sbindir=$ac_optarg ;;
1200
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1201
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1202
| --sharedst | --shareds | --shared | --share | --shar \
1204
ac_prev=sharedstatedir ;;
1205
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1206
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1207
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1209
sharedstatedir=$ac_optarg ;;
1211
-site | --site | --sit)
1213
-site=* | --site=* | --sit=*)
1216
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1218
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1219
srcdir=$ac_optarg ;;
1221
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1222
| --syscon | --sysco | --sysc | --sys | --sy)
1223
ac_prev=sysconfdir ;;
1224
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1225
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1226
sysconfdir=$ac_optarg ;;
1228
-target | --target | --targe | --targ | --tar | --ta | --t)
1229
ac_prev=target_alias ;;
1230
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1231
target_alias=$ac_optarg ;;
1233
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1236
-version | --version | --versio | --versi | --vers | -V)
1237
ac_init_version=: ;;
1240
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1241
# Reject names that are not valid shell variable names.
1242
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1243
as_fn_error $? "invalid package name: $ac_useropt"
1244
ac_useropt_orig=$ac_useropt
1245
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1246
case $ac_user_opts in
1250
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1251
ac_unrecognized_sep=', ';;
1253
eval with_$ac_useropt=\$ac_optarg ;;
1255
-without-* | --without-*)
1256
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1257
# Reject names that are not valid shell variable names.
1258
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259
as_fn_error $? "invalid package name: $ac_useropt"
1260
ac_useropt_orig=$ac_useropt
1261
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262
case $ac_user_opts in
1266
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1267
ac_unrecognized_sep=', ';;
1269
eval with_$ac_useropt=no ;;
1272
# Obsolete; use --with-x.
1275
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1276
| --x-incl | --x-inc | --x-in | --x-i)
1277
ac_prev=x_includes ;;
1278
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1279
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1280
x_includes=$ac_optarg ;;
1282
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1283
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1284
ac_prev=x_libraries ;;
1285
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1286
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1287
x_libraries=$ac_optarg ;;
1289
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1290
Try \`$0 --help' for more information"
1294
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1295
# Reject names that are not valid shell variable names.
1296
case $ac_envvar in #(
1297
'' | [0-9]* | *[!_$as_cr_alnum]* )
1298
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1300
eval $ac_envvar=\$ac_optarg
1301
export $ac_envvar ;;
1304
# FIXME: should be removed in autoconf 3.0.
1305
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1307
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1314
if test -n "$ac_prev"; then
1315
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1316
as_fn_error $? "missing argument to $ac_option"
1319
if test -n "$ac_unrecognized_opts"; then
1320
case $enable_option_checking in
1322
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1323
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1327
# Check all directory arguments for consistency.
1328
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1329
datadir sysconfdir sharedstatedir localstatedir includedir \
1330
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1331
libdir localedir mandir
1333
eval ac_val=\$$ac_var
1334
# Remove trailing slashes.
1337
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1338
eval $ac_var=\$ac_val;;
1340
# Be sure to have absolute directory names.
1342
[\\/$]* | ?:[\\/]* ) continue;;
1343
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1345
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1348
# There might be people who depend on the old broken behavior: `$host'
1349
# used to hold the argument of --host etc.
1350
# FIXME: To remove some day.
1353
target=$target_alias
1355
# FIXME: To remove some day.
1356
if test "x$host_alias" != x; then
1357
if test "x$build_alias" = x; then
1358
cross_compiling=maybe
1359
elif test "x$build_alias" != "x$host_alias"; then
1365
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1367
test "$silent" = yes && exec 6>/dev/null
1370
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1371
ac_ls_di=`ls -di .` &&
1372
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1373
as_fn_error $? "working directory cannot be determined"
1374
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1375
as_fn_error $? "pwd does not report name of working directory"
1378
# Find the source files, if location was not specified.
1379
if test -z "$srcdir"; then
1380
ac_srcdir_defaulted=yes
1381
# Try the directory containing this script, then the parent directory.
1382
ac_confdir=`$as_dirname -- "$as_myself" ||
1383
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1384
X"$as_myself" : 'X\(//\)[^/]' \| \
1385
X"$as_myself" : 'X\(//\)$' \| \
1386
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1387
$as_echo X"$as_myself" |
1388
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1406
if test ! -r "$srcdir/$ac_unique_file"; then
1410
ac_srcdir_defaulted=no
1412
if test ! -r "$srcdir/$ac_unique_file"; then
1413
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1414
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1416
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1420
# When building in place, set srcdir=.
1421
if test "$ac_abs_confdir" = "$ac_pwd"; then
1424
# Remove unnecessary trailing slashes from srcdir.
1425
# Double slashes in file names in object file debugging info
1426
# mess up M-x gdb in Emacs.
1428
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430
for ac_var in $ac_precious_vars; do
1431
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1432
eval ac_env_${ac_var}_value=\$${ac_var}
1433
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1434
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1438
# Report the --help message.
1440
if test "$ac_init_help" = "long"; then
1441
# Omit some internal or obsolete options to make the list less imposing.
1442
# This message is too long to be a string in the A/UX 3.1 sh.
1444
\`configure' configures at-spi2-core 2.18.3 to adapt to many kinds of systems.
1446
Usage: $0 [OPTION]... [VAR=VALUE]...
1448
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1449
VAR=VALUE. See below for descriptions of some of the useful variables.
1451
Defaults for the options are specified in brackets.
1454
-h, --help display this help and exit
1455
--help=short display options specific to this package
1456
--help=recursive display the short help of all the included packages
1457
-V, --version display version information and exit
1458
-q, --quiet, --silent do not print \`checking ...' messages
1459
--cache-file=FILE cache test results in FILE [disabled]
1460
-C, --config-cache alias for \`--cache-file=config.cache'
1461
-n, --no-create do not create output files
1462
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1464
Installation directories:
1465
--prefix=PREFIX install architecture-independent files in PREFIX
1466
[$ac_default_prefix]
1467
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1470
By default, \`make install' will install all the files in
1471
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1472
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1473
for instance \`--prefix=\$HOME'.
1475
For better control, use the options below.
1477
Fine tuning of the installation directories:
1478
--bindir=DIR user executables [EPREFIX/bin]
1479
--sbindir=DIR system admin executables [EPREFIX/sbin]
1480
--libexecdir=DIR program executables [EPREFIX/libexec]
1481
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1482
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1483
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1484
--libdir=DIR object code libraries [EPREFIX/lib]
1485
--includedir=DIR C header files [PREFIX/include]
1486
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1487
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1488
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1489
--infodir=DIR info documentation [DATAROOTDIR/info]
1490
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1491
--mandir=DIR man documentation [DATAROOTDIR/man]
1492
--docdir=DIR documentation root [DATAROOTDIR/doc/at-spi2-core]
1493
--htmldir=DIR html documentation [DOCDIR]
1494
--dvidir=DIR dvi documentation [DOCDIR]
1495
--pdfdir=DIR pdf documentation [DOCDIR]
1496
--psdir=DIR ps documentation [DOCDIR]
1502
--program-prefix=PREFIX prepend PREFIX to installed program names
1503
--program-suffix=SUFFIX append SUFFIX to installed program names
1504
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1507
--x-includes=DIR X include files are in DIR
1508
--x-libraries=DIR X library files are in DIR
1511
--build=BUILD configure for building on BUILD [guessed]
1512
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1516
if test -n "$ac_init_help"; then
1517
case $ac_init_help in
1518
short | recursive ) echo "Configuration of at-spi2-core 2.18.3:";;
1523
--disable-option-checking ignore unrecognized --enable/--with options
1524
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1525
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1526
--enable-silent-rules less verbose build output (undo: "make V=1")
1527
--disable-silent-rules verbose build output (undo: "make V=0")
1528
--enable-dependency-tracking
1529
do not reject slow dependency extractors
1530
--disable-dependency-tracking
1531
speeds up one-time build
1532
--enable-static[=PKGS] build static libraries [default=no]
1533
--enable-shared[=PKGS] build shared libraries [default=yes]
1534
--enable-fast-install[=PKGS]
1535
optimize for fast installation [default=yes]
1536
--disable-libtool-lock avoid locking (might break parallel builds)
1537
--disable-nls do not use Native Language Support
1538
--disable-x11 disable the X11 backend
1539
--enable-xevie Build with XEViE support [default=yes]
1540
--enable-introspection=[no/auto/yes]
1541
Enable introspection for this build
1542
--enable-gtk-doc use gtk-doc to build documentation [[default=no]]
1543
--enable-gtk-doc-html build documentation in html format [[default=yes]]
1544
--enable-gtk-doc-pdf build documentation in pdf format [[default=no]]
1547
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1548
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1549
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1551
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1552
--with-sysroot=DIR Search for dependent libraries within DIR
1553
(or the compiler's sysroot if not specified).
1554
--with-x use the X Window System
1555
--with-dbus-daemondir=<directory>
1556
Directory where the DBUS daemon is installed
1557
--with-dbus-services=<directory>
1558
where D-BUS services directory is
1559
--with-html-dir=PATH path to installed docs
1561
Some influential environment variables:
1562
CC C compiler command
1563
CFLAGS C compiler flags
1564
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1565
nonstandard directory <lib dir>
1566
LIBS libraries to pass to the linker, e.g. -l<library>
1567
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1568
you have headers in a nonstandard directory <include dir>
1570
PKG_CONFIG path to pkg-config utility
1572
directories to add to pkg-config's search path
1574
path overriding pkg-config's built-in search path
1575
DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1576
DBUS_LIBS linker flags for DBUS, overriding pkg-config
1577
GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1578
GLIB_LIBS linker flags for GLIB, overriding pkg-config
1579
GOBJ_CFLAGS C compiler flags for GOBJ, overriding pkg-config
1580
GOBJ_LIBS linker flags for GOBJ, overriding pkg-config
1581
GIO_CFLAGS C compiler flags for GIO, overriding pkg-config
1582
GIO_LIBS linker flags for GIO, overriding pkg-config
1583
XMKMF Path to xmkmf, Makefile generator for X Window System
1585
C compiler flags for GTKDOC_DEPS, overriding pkg-config
1587
linker flags for GTKDOC_DEPS, overriding pkg-config
1589
Use these variables to override the choices made by `configure' or to help
1590
it to find libraries and programs with nonstandard names/locations.
1592
Report bugs to <accessibility-atspi@lists.linux-foundation.org>.
1597
if test "$ac_init_help" = "recursive"; then
1598
# If there are subdirs, report their specific --help.
1599
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1600
test -d "$ac_dir" ||
1601
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1606
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1608
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1609
# A ".." for each directory in $ac_dir_suffix.
1610
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1611
case $ac_top_builddir_sub in
1612
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1616
ac_abs_top_builddir=$ac_pwd
1617
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1618
# for backward compatibility:
1619
ac_top_builddir=$ac_top_build_prefix
1622
.) # We are building in place.
1624
ac_top_srcdir=$ac_top_builddir_sub
1625
ac_abs_top_srcdir=$ac_pwd ;;
1626
[\\/]* | ?:[\\/]* ) # Absolute name.
1627
ac_srcdir=$srcdir$ac_dir_suffix;
1628
ac_top_srcdir=$srcdir
1629
ac_abs_top_srcdir=$srcdir ;;
1631
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1632
ac_top_srcdir=$ac_top_build_prefix$srcdir
1633
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1635
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1637
cd "$ac_dir" || { ac_status=$?; continue; }
1638
# Check for guested configure.
1639
if test -f "$ac_srcdir/configure.gnu"; then
1641
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1642
elif test -f "$ac_srcdir/configure"; then
1644
$SHELL "$ac_srcdir/configure" --help=recursive
1646
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1648
cd "$ac_pwd" || { ac_status=$?; break; }
1652
test -n "$ac_init_help" && exit $ac_status
1653
if $ac_init_version; then
1655
at-spi2-core configure 2.18.3
1656
generated by GNU Autoconf 2.69
1658
Copyright (C) 2012 Free Software Foundation, Inc.
1659
This configure script is free software; the Free Software Foundation
1660
gives unlimited permission to copy, distribute and modify it.
1665
## ------------------------ ##
1666
## Autoconf initialization. ##
1667
## ------------------------ ##
1669
# ac_fn_c_try_compile LINENO
1670
# --------------------------
1671
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1672
ac_fn_c_try_compile ()
1674
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675
rm -f conftest.$ac_objext
1676
if { { ac_try="$ac_compile"
1678
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679
*) ac_try_echo=$ac_try;;
1681
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682
$as_echo "$ac_try_echo"; } >&5
1683
(eval "$ac_compile") 2>conftest.err
1685
if test -s conftest.err; then
1686
grep -v '^ *+' conftest.err >conftest.er1
1687
cat conftest.er1 >&5
1688
mv -f conftest.er1 conftest.err
1690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1691
test $ac_status = 0; } && {
1692
test -z "$ac_c_werror_flag" ||
1693
test ! -s conftest.err
1694
} && test -s conftest.$ac_objext; then :
1697
$as_echo "$as_me: failed program was:" >&5
1698
sed 's/^/| /' conftest.$ac_ext >&5
1702
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1703
as_fn_set_status $ac_retval
1705
} # ac_fn_c_try_compile
1707
# ac_fn_c_try_link LINENO
1708
# -----------------------
1709
# Try to link conftest.$ac_ext, and return whether this succeeded.
1712
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1713
rm -f conftest.$ac_objext conftest$ac_exeext
1714
if { { ac_try="$ac_link"
1716
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1717
*) ac_try_echo=$ac_try;;
1719
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1720
$as_echo "$ac_try_echo"; } >&5
1721
(eval "$ac_link") 2>conftest.err
1723
if test -s conftest.err; then
1724
grep -v '^ *+' conftest.err >conftest.er1
1725
cat conftest.er1 >&5
1726
mv -f conftest.er1 conftest.err
1728
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729
test $ac_status = 0; } && {
1730
test -z "$ac_c_werror_flag" ||
1731
test ! -s conftest.err
1732
} && test -s conftest$ac_exeext && {
1733
test "$cross_compiling" = yes ||
1734
test -x conftest$ac_exeext
1738
$as_echo "$as_me: failed program was:" >&5
1739
sed 's/^/| /' conftest.$ac_ext >&5
1743
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1744
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1745
# interfere with the next link command; also delete a directory that is
1746
# left behind by Apple's compiler. We do this before executing the actions.
1747
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1748
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749
as_fn_set_status $ac_retval
1751
} # ac_fn_c_try_link
1753
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1754
# -------------------------------------------------------
1755
# Tests whether HEADER exists and can be compiled using the include files in
1756
# INCLUDES, setting the cache variable VAR accordingly.
1757
ac_fn_c_check_header_compile ()
1759
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1761
$as_echo_n "checking for $2... " >&6; }
1762
if eval \${$3+:} false; then :
1763
$as_echo_n "(cached) " >&6
1765
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1766
/* end confdefs.h. */
1770
if ac_fn_c_try_compile "$LINENO"; then :
1775
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779
$as_echo "$ac_res" >&6; }
1780
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1782
} # ac_fn_c_check_header_compile
1784
# ac_fn_c_try_cpp LINENO
1785
# ----------------------
1786
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1789
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790
if { { ac_try="$ac_cpp conftest.$ac_ext"
1792
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1793
*) ac_try_echo=$ac_try;;
1795
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1796
$as_echo "$ac_try_echo"; } >&5
1797
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799
if test -s conftest.err; then
1800
grep -v '^ *+' conftest.err >conftest.er1
1801
cat conftest.er1 >&5
1802
mv -f conftest.er1 conftest.err
1804
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1805
test $ac_status = 0; } > conftest.i && {
1806
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1807
test ! -s conftest.err
1811
$as_echo "$as_me: failed program was:" >&5
1812
sed 's/^/| /' conftest.$ac_ext >&5
1816
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817
as_fn_set_status $ac_retval
1821
# ac_fn_c_try_run LINENO
1822
# ----------------------
1823
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1824
# that executables *can* be run.
1827
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828
if { { ac_try="$ac_link"
1830
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831
*) ac_try_echo=$ac_try;;
1833
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834
$as_echo "$ac_try_echo"; } >&5
1835
(eval "$ac_link") 2>&5
1837
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1839
{ { case "(($ac_try" in
1840
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841
*) ac_try_echo=$ac_try;;
1843
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844
$as_echo "$ac_try_echo"; } >&5
1845
(eval "$ac_try") 2>&5
1847
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
test $ac_status = 0; }; }; then :
1851
$as_echo "$as_me: program exited with status $ac_status" >&5
1852
$as_echo "$as_me: failed program was:" >&5
1853
sed 's/^/| /' conftest.$ac_ext >&5
1855
ac_retval=$ac_status
1857
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1858
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859
as_fn_set_status $ac_retval
1863
# ac_fn_c_check_func LINENO FUNC VAR
1864
# ----------------------------------
1865
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1866
ac_fn_c_check_func ()
1868
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870
$as_echo_n "checking for $2... " >&6; }
1871
if eval \${$3+:} false; then :
1872
$as_echo_n "(cached) " >&6
1874
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875
/* end confdefs.h. */
1876
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1877
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1878
#define $2 innocuous_$2
1880
/* System header to define __stub macros and hopefully few prototypes,
1881
which can conflict with char $2 (); below.
1882
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1883
<limits.h> exists even on freestanding compilers. */
1886
# include <limits.h>
1888
# include <assert.h>
1893
/* Override any GCC internal prototype to avoid an error.
1894
Use char because int might match the return type of a GCC
1895
builtin and then its argument prototype would still apply. */
1900
/* The GNU C library defines this for functions which it implements
1901
to always fail with ENOSYS. Some functions are actually named
1902
something starting with __ and the normal name is an alias. */
1903
#if defined __stub_$2 || defined __stub___$2
1915
if ac_fn_c_try_link "$LINENO"; then :
1920
rm -f core conftest.err conftest.$ac_objext \
1921
conftest$ac_exeext conftest.$ac_ext
1924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1925
$as_echo "$ac_res" >&6; }
1926
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1928
} # ac_fn_c_check_func
1930
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1931
# -------------------------------------------------------
1932
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1933
# the include files in INCLUDES and setting the cache variable VAR
1935
ac_fn_c_check_header_mongrel ()
1937
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938
if eval \${$3+:} false; then :
1939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940
$as_echo_n "checking for $2... " >&6; }
1941
if eval \${$3+:} false; then :
1942
$as_echo_n "(cached) " >&6
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1946
$as_echo "$ac_res" >&6; }
1948
# Is the header compilable?
1949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1950
$as_echo_n "checking $2 usability... " >&6; }
1951
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1952
/* end confdefs.h. */
1956
if ac_fn_c_try_compile "$LINENO"; then :
1957
ac_header_compiler=yes
1959
ac_header_compiler=no
1961
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1962
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1963
$as_echo "$ac_header_compiler" >&6; }
1965
# Is the header present?
1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1967
$as_echo_n "checking $2 presence... " >&6; }
1968
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1969
/* end confdefs.h. */
1972
if ac_fn_c_try_cpp "$LINENO"; then :
1973
ac_header_preproc=yes
1975
ac_header_preproc=no
1977
rm -f conftest.err conftest.i conftest.$ac_ext
1978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1979
$as_echo "$ac_header_preproc" >&6; }
1981
# So? What about this header?
1982
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1984
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1985
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1986
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1987
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1991
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1992
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1993
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1994
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1995
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1996
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1997
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1999
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2000
( $as_echo "## ------------------------------------------------------------- ##
2001
## Report this to accessibility-atspi@lists.linux-foundation.org ##
2002
## ------------------------------------------------------------- ##"
2003
) | sed "s/^/$as_me: WARNING: /" >&2
2006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007
$as_echo_n "checking for $2... " >&6; }
2008
if eval \${$3+:} false; then :
2009
$as_echo_n "(cached) " >&6
2011
eval "$3=\$ac_header_compiler"
2014
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2015
$as_echo "$ac_res" >&6; }
2017
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2019
} # ac_fn_c_check_header_mongrel
2021
# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2022
# --------------------------------------------
2023
# Tries to find the compile-time value of EXPR in a program that includes
2024
# INCLUDES, setting VAR accordingly. Returns whether the value could be
2026
ac_fn_c_compute_int ()
2028
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029
if test "$cross_compiling" = yes; then
2030
# Depending upon the size, compute the lo and hi bounds.
2031
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032
/* end confdefs.h. */
2037
static int test_array [1 - 2 * !(($2) >= 0)];
2039
return test_array [0];
2045
if ac_fn_c_try_compile "$LINENO"; then :
2048
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2049
/* end confdefs.h. */
2054
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2056
return test_array [0];
2062
if ac_fn_c_try_compile "$LINENO"; then :
2063
ac_hi=$ac_mid; break
2065
as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2066
if test $ac_lo -le $ac_mid; then
2070
as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2072
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2075
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076
/* end confdefs.h. */
2081
static int test_array [1 - 2 * !(($2) < 0)];
2083
return test_array [0];
2089
if ac_fn_c_try_compile "$LINENO"; then :
2092
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2093
/* end confdefs.h. */
2098
static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2100
return test_array [0];
2106
if ac_fn_c_try_compile "$LINENO"; then :
2107
ac_lo=$ac_mid; break
2109
as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2110
if test $ac_mid -le $ac_hi; then
2114
as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2116
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2121
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2123
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2124
# Binary search between lo and hi bounds.
2125
while test "x$ac_lo" != "x$ac_hi"; do
2126
as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2127
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128
/* end confdefs.h. */
2133
static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2135
return test_array [0];
2141
if ac_fn_c_try_compile "$LINENO"; then :
2144
as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2146
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2149
?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2154
/* end confdefs.h. */
2156
static long int longval () { return $2; }
2157
static unsigned long int ulongval () { return $2; }
2164
FILE *f = fopen ("conftest.val", "w");
2169
long int i = longval ();
2172
fprintf (f, "%ld", i);
2176
unsigned long int i = ulongval ();
2179
fprintf (f, "%lu", i);
2181
/* Do not output a trailing newline, as this causes \r\n confusion
2182
on some platforms. */
2183
return ferror (f) || fclose (f) != 0;
2189
if ac_fn_c_try_run "$LINENO"; then :
2190
echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2194
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2195
conftest.$ac_objext conftest.beam conftest.$ac_ext
2199
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2200
as_fn_set_status $ac_retval
2202
} # ac_fn_c_compute_int
2203
cat >config.log <<_ACEOF
2204
This file contains any messages produced by compilers while
2205
running configure, to aid debugging if configure makes a mistake.
2207
It was created by at-spi2-core $as_me 2.18.3, which was
2208
generated by GNU Autoconf 2.69. Invocation command line was
2220
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2221
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2222
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2223
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2224
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2226
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2227
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2229
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2230
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2231
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2232
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2233
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2234
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2235
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2239
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2243
test -z "$as_dir" && as_dir=.
2244
$as_echo "PATH: $as_dir"
2260
# Keep a trace of the command line.
2261
# Strip out --no-create and --no-recursion so they do not pile up.
2262
# Strip out --silent because we don't want to record it for future runs.
2263
# Also quote any args containing shell meta-characters.
2264
# Make two passes to allow for proper duplicate-argument suppression.
2268
ac_must_keep_next=false
2274
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2275
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2276
| -silent | --silent | --silen | --sile | --sil)
2279
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2282
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2284
as_fn_append ac_configure_args1 " '$ac_arg'"
2285
if test $ac_must_keep_next = true; then
2286
ac_must_keep_next=false # Got value, back to normal.
2289
*=* | --config-cache | -C | -disable-* | --disable-* \
2290
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2291
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2292
| -with-* | --with-* | -without-* | --without-* | --x)
2293
case "$ac_configure_args0 " in
2294
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2297
-* ) ac_must_keep_next=true ;;
2300
as_fn_append ac_configure_args " '$ac_arg'"
2305
{ ac_configure_args0=; unset ac_configure_args0;}
2306
{ ac_configure_args1=; unset ac_configure_args1;}
2308
# When interrupted or exit'd, cleanup temporary files, and complete
2309
# config.log. We remove comments because anyway the quotes in there
2310
# would cause problems or look ugly.
2311
# WARNING: Use '\'' to represent an apostrophe within the trap.
2312
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2313
trap 'exit_status=$?
2314
# Save into config.log some information that might help in debugging.
2318
$as_echo "## ---------------- ##
2319
## Cache variables. ##
2320
## ---------------- ##"
2322
# The following way of writing the cache mishandles newlines in values,
2324
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2325
eval ac_val=\$$ac_var
2329
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2330
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2333
_ | IFS | as_nl) ;; #(
2334
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2335
*) { eval $ac_var=; unset $ac_var;} ;;
2340
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2341
*${as_nl}ac_space=\ *)
2343
"s/'\''/'\''\\\\'\'''\''/g;
2344
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2347
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2354
$as_echo "## ----------------- ##
2355
## Output variables. ##
2356
## ----------------- ##"
2358
for ac_var in $ac_subst_vars
2360
eval ac_val=\$$ac_var
2362
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2364
$as_echo "$ac_var='\''$ac_val'\''"
2368
if test -n "$ac_subst_files"; then
2369
$as_echo "## ------------------- ##
2370
## File substitutions. ##
2371
## ------------------- ##"
2373
for ac_var in $ac_subst_files
2375
eval ac_val=\$$ac_var
2377
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2379
$as_echo "$ac_var='\''$ac_val'\''"
2384
if test -s confdefs.h; then
2385
$as_echo "## ----------- ##
2392
test "$ac_signal" != 0 &&
2393
$as_echo "$as_me: caught signal $ac_signal"
2394
$as_echo "$as_me: exit $exit_status"
2396
rm -f core *.core core.conftest.* &&
2397
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2400
for ac_signal in 1 2 13 15; do
2401
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2405
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2406
rm -f -r conftest* confdefs.h
2408
$as_echo "/* confdefs.h */" > confdefs.h
2410
# Predefined preprocessor variables.
2412
cat >>confdefs.h <<_ACEOF
2413
#define PACKAGE_NAME "$PACKAGE_NAME"
2416
cat >>confdefs.h <<_ACEOF
2417
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2420
cat >>confdefs.h <<_ACEOF
2421
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2424
cat >>confdefs.h <<_ACEOF
2425
#define PACKAGE_STRING "$PACKAGE_STRING"
2428
cat >>confdefs.h <<_ACEOF
2429
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2432
cat >>confdefs.h <<_ACEOF
2433
#define PACKAGE_URL "$PACKAGE_URL"
2437
# Let the site file select an alternate cache file if it wants to.
2438
# Prefer an explicitly selected file to automatically selected ones.
2441
if test -n "$CONFIG_SITE"; then
2442
# We do not want a PATH search for config.site.
2443
case $CONFIG_SITE in #((
2444
-*) ac_site_file1=./$CONFIG_SITE;;
2445
*/*) ac_site_file1=$CONFIG_SITE;;
2446
*) ac_site_file1=./$CONFIG_SITE;;
2448
elif test "x$prefix" != xNONE; then
2449
ac_site_file1=$prefix/share/config.site
2450
ac_site_file2=$prefix/etc/config.site
2452
ac_site_file1=$ac_default_prefix/share/config.site
2453
ac_site_file2=$ac_default_prefix/etc/config.site
2455
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2457
test "x$ac_site_file" = xNONE && continue
2458
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2459
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2460
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2461
sed 's/^/| /' "$ac_site_file" >&5
2463
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2464
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2465
as_fn_error $? "failed to load site script $ac_site_file
2466
See \`config.log' for more details" "$LINENO" 5; }
2470
if test -r "$cache_file"; then
2471
# Some versions of bash will fail to source /dev/null (special files
2472
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2473
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2474
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2475
$as_echo "$as_me: loading cache $cache_file" >&6;}
2477
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2478
*) . "./$cache_file";;
2482
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2483
$as_echo "$as_me: creating cache $cache_file" >&6;}
2487
# Check that the precious variables saved in the cache have kept the same
2489
ac_cache_corrupted=false
2490
for ac_var in $ac_precious_vars; do
2491
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2492
eval ac_new_set=\$ac_env_${ac_var}_set
2493
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2494
eval ac_new_val=\$ac_env_${ac_var}_value
2495
case $ac_old_set,$ac_new_set in
2497
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2498
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2499
ac_cache_corrupted=: ;;
2501
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2502
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2503
ac_cache_corrupted=: ;;
2506
if test "x$ac_old_val" != "x$ac_new_val"; then
2507
# differences in whitespace do not lead to failure.
2508
ac_old_val_w=`echo x $ac_old_val`
2509
ac_new_val_w=`echo x $ac_new_val`
2510
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2512
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2513
ac_cache_corrupted=:
2515
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2516
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2517
eval $ac_var=\$ac_old_val
2519
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2520
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2521
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2522
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2525
# Pass precious variables to config.status.
2526
if test "$ac_new_set" = set; then
2528
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2529
*) ac_arg=$ac_var=$ac_new_val ;;
2531
case " $ac_configure_args " in
2532
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2533
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2537
if $ac_cache_corrupted; then
2538
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2539
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2541
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2542
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2544
## -------------------- ##
2545
## Main body of script. ##
2546
## -------------------- ##
2549
ac_cpp='$CPP $CPPFLAGS'
2550
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2557
for ac_dir in config "$srcdir"/config; do
2558
if test -f "$ac_dir/install-sh"; then
2560
ac_install_sh="$ac_aux_dir/install-sh -c"
2562
elif test -f "$ac_dir/install.sh"; then
2564
ac_install_sh="$ac_aux_dir/install.sh -c"
2566
elif test -f "$ac_dir/shtool"; then
2568
ac_install_sh="$ac_aux_dir/shtool install -c"
2572
if test -z "$ac_aux_dir"; then
2573
as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2576
# These three variables are undocumented and unsupported,
2577
# and are intended to be withdrawn in a future Autoconf release.
2578
# They can cause serious problems if a builder's source tree is in a directory
2579
# whose full name contains unusual characters.
2580
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2581
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2582
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2587
AT_SPI_CORE_MAJOR_VERSION=0
2588
AT_SPI_CORE_MINOR_VERSION=1
2589
AT_SPI_CORE_MICRO_VERSION=3
2590
AT_SPI_CORE_VERSION="$AT_SPI_CORE_MAJOR_VERSION.$AT_SPI_CORE_MINOR_VERSION"
2593
LT_RELEASE=$AT_SPI_CORE_VERSION
2597
LT_VERSION_INFO='-version-info ${LT_CURRENT}:${LT_REVISION}:${LT_AGE}'
2604
am__api_version='1.15'
2606
# Find a good install program. We prefer a C program (faster),
2607
# so one script is as good as another. But avoid the broken or
2608
# incompatible versions:
2609
# SysV /etc/install, /usr/sbin/install
2610
# SunOS /usr/etc/install
2611
# IRIX /sbin/install
2613
# AmigaOS /C/install, which installs bootblocks on floppy discs
2614
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2615
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2616
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2617
# OS/2's system install, which has a completely different semantic
2618
# ./install, which can be erroneously created by make from ./install.sh.
2619
# Reject install programs that cannot install multiple files.
2620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2621
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2622
if test -z "$INSTALL"; then
2623
if ${ac_cv_path_install+:} false; then :
2624
$as_echo_n "(cached) " >&6
2626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2630
test -z "$as_dir" && as_dir=.
2631
# Account for people who put trailing slashes in PATH elements.
2632
case $as_dir/ in #((
2633
./ | .// | /[cC]/* | \
2634
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2635
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2638
# OSF1 and SCO ODT 3.0 have their own names for install.
2639
# Don't use installbsd from OSF since it installs stuff as root
2641
for ac_prog in ginstall scoinst install; do
2642
for ac_exec_ext in '' $ac_executable_extensions; do
2643
if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2644
if test $ac_prog = install &&
2645
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2646
# AIX install. It has an incompatible calling convention.
2648
elif test $ac_prog = install &&
2649
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2650
# program-specific install script used by HP pwplus--don't use.
2653
rm -rf conftest.one conftest.two conftest.dir
2654
echo one > conftest.one
2655
echo two > conftest.two
2657
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2658
test -s conftest.one && test -s conftest.two &&
2659
test -s conftest.dir/conftest.one &&
2660
test -s conftest.dir/conftest.two
2662
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2675
rm -rf conftest.one conftest.two conftest.dir
2678
if test "${ac_cv_path_install+set}" = set; then
2679
INSTALL=$ac_cv_path_install
2681
# As a last resort, use the slow shell script. Don't cache a
2682
# value for INSTALL within a source directory, because that will
2683
# break other packages using the cache if that directory is
2684
# removed, or if the value is a relative name.
2685
INSTALL=$ac_install_sh
2688
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2689
$as_echo "$INSTALL" >&6; }
2691
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2692
# It thinks the first close brace ends the variable substitution.
2693
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2695
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2697
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2700
$as_echo_n "checking whether build environment is sane... " >&6; }
2701
# Reject unsafe characters in $srcdir or the absolute working directory
2702
# name. Accept space and tab only in the latter.
2706
*[\\\"\#\$\&\'\`$am_lf]*)
2707
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2710
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2711
as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2714
# Do 'set' in a subshell so we don't clobber the current shell's
2715
# arguments. Must try -L first in case configure is actually a
2716
# symlink; some systems play weird games with the mod time of symlinks
2717
# (eg FreeBSD returns the mod time of the symlink's containing
2721
for am_try in 1 2; do
2722
echo "timestamp, slept: $am_has_slept" > conftest.file
2723
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2724
if test "$*" = "X"; then
2726
set X `ls -t "$srcdir/configure" conftest.file`
2728
if test "$*" != "X $srcdir/configure conftest.file" \
2729
&& test "$*" != "X conftest.file $srcdir/configure"; then
2731
# If neither matched, then we have a broken ls. This can happen
2732
# if, for instance, CONFIG_SHELL is bash and it inherits a
2733
# broken ls alias from the environment. This has actually
2734
# happened. Such a system could not be considered "sane".
2735
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2736
alias in your environment" "$LINENO" 5
2738
if test "$2" = conftest.file || test $am_try -eq 2; then
2745
test "$2" = conftest.file
2751
as_fn_error $? "newly created file is older than distributed files!
2752
Check your system clock" "$LINENO" 5
2754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2755
$as_echo "yes" >&6; }
2756
# If we didn't sleep, we still need to ensure time stamps of config.status and
2757
# generated files are strictly newer.
2759
if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2766
test "$program_prefix" != NONE &&
2767
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2768
# Use a double $ so make ignores it.
2769
test "$program_suffix" != NONE &&
2770
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2771
# Double any \ or $.
2772
# By default was `s,x,x', remove it if useless.
2773
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2774
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2776
# Expand $ac_aux_dir to an absolute path.
2777
am_aux_dir=`cd "$ac_aux_dir" && pwd`
2779
if test x"${MISSING+set}" != xset; then
2782
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2784
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2787
# Use eval to expand $SHELL
2788
if eval "$MISSING --is-lightweight"; then
2789
am_missing_run="$MISSING "
2792
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2793
$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2796
if test x"${install_sh+set}" != xset; then
2799
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2801
install_sh="\${SHELL} $am_aux_dir/install-sh"
2805
# Installed binaries are usually stripped using 'strip' when the user
2806
# run "make install-strip". However 'strip' might not be the right
2807
# tool to use in cross-compilation environments, therefore Automake
2808
# will honor the 'STRIP' environment variable to overrule this program.
2809
if test "$cross_compiling" != no; then
2810
if test -n "$ac_tool_prefix"; then
2811
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2812
set dummy ${ac_tool_prefix}strip; ac_word=$2
2813
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2814
$as_echo_n "checking for $ac_word... " >&6; }
2815
if ${ac_cv_prog_STRIP+:} false; then :
2816
$as_echo_n "(cached) " >&6
2818
if test -n "$STRIP"; then
2819
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2821
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2825
test -z "$as_dir" && as_dir=.
2826
for ac_exec_ext in '' $ac_executable_extensions; do
2827
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2828
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2829
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2838
STRIP=$ac_cv_prog_STRIP
2839
if test -n "$STRIP"; then
2840
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2841
$as_echo "$STRIP" >&6; }
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2844
$as_echo "no" >&6; }
2849
if test -z "$ac_cv_prog_STRIP"; then
2851
# Extract the first word of "strip", so it can be a program name with args.
2852
set dummy strip; ac_word=$2
2853
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2854
$as_echo_n "checking for $ac_word... " >&6; }
2855
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2856
$as_echo_n "(cached) " >&6
2858
if test -n "$ac_ct_STRIP"; then
2859
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2861
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2865
test -z "$as_dir" && as_dir=.
2866
for ac_exec_ext in '' $ac_executable_extensions; do
2867
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2868
ac_cv_prog_ac_ct_STRIP="strip"
2869
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2878
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2879
if test -n "$ac_ct_STRIP"; then
2880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2881
$as_echo "$ac_ct_STRIP" >&6; }
2883
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884
$as_echo "no" >&6; }
2887
if test "x$ac_ct_STRIP" = x; then
2890
case $cross_compiling:$ac_tool_warned in
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2893
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2894
ac_tool_warned=yes ;;
2899
STRIP="$ac_cv_prog_STRIP"
2903
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2905
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2906
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2907
if test -z "$MKDIR_P"; then
2908
if ${ac_cv_path_mkdir+:} false; then :
2909
$as_echo_n "(cached) " >&6
2911
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2915
test -z "$as_dir" && as_dir=.
2916
for ac_prog in mkdir gmkdir; do
2917
for ac_exec_ext in '' $ac_executable_extensions; do
2918
as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2919
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2920
'mkdir (GNU coreutils) '* | \
2921
'mkdir (coreutils) '* | \
2922
'mkdir (fileutils) '4.1*)
2923
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2933
test -d ./--version && rmdir ./--version
2934
if test "${ac_cv_path_mkdir+set}" = set; then
2935
MKDIR_P="$ac_cv_path_mkdir -p"
2937
# As a last resort, use the slow shell script. Don't cache a
2938
# value for MKDIR_P within a source directory, because that will
2939
# break other packages using the cache if that directory is
2940
# removed, or if the value is a relative name.
2941
MKDIR_P="$ac_install_sh -d"
2944
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2945
$as_echo "$MKDIR_P" >&6; }
2947
for ac_prog in gawk mawk nawk awk
2949
# Extract the first word of "$ac_prog", so it can be a program name with args.
2950
set dummy $ac_prog; ac_word=$2
2951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952
$as_echo_n "checking for $ac_word... " >&6; }
2953
if ${ac_cv_prog_AWK+:} false; then :
2954
$as_echo_n "(cached) " >&6
2956
if test -n "$AWK"; then
2957
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963
test -z "$as_dir" && as_dir=.
2964
for ac_exec_ext in '' $ac_executable_extensions; do
2965
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2966
ac_cv_prog_AWK="$ac_prog"
2967
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2977
if test -n "$AWK"; then
2978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2979
$as_echo "$AWK" >&6; }
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982
$as_echo "no" >&6; }
2986
test -n "$AWK" && break
2989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2990
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2992
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2993
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2994
$as_echo_n "(cached) " >&6
2996
cat >conftest.make <<\_ACEOF
2999
@echo '@@@%%%=$(MAKE)=@@@%%%'
3001
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3002
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3004
eval ac_cv_prog_make_${ac_make}_set=yes;;
3006
eval ac_cv_prog_make_${ac_make}_set=no;;
3010
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3011
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3012
$as_echo "yes" >&6; }
3015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3016
$as_echo "no" >&6; }
3017
SET_MAKE="MAKE=${MAKE-make}"
3020
rm -rf .tst 2>/dev/null
3021
mkdir .tst 2>/dev/null
3022
if test -d .tst; then
3027
rmdir .tst 2>/dev/null
3029
# Check whether --enable-silent-rules was given.
3030
if test "${enable_silent_rules+set}" = set; then :
3031
enableval=$enable_silent_rules;
3034
case $enable_silent_rules in # (((
3035
yes) AM_DEFAULT_VERBOSITY=0;;
3036
no) AM_DEFAULT_VERBOSITY=1;;
3037
*) AM_DEFAULT_VERBOSITY=1;;
3039
am_make=${MAKE-make}
3040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3041
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3042
if ${am_cv_make_support_nested_variables+:} false; then :
3043
$as_echo_n "(cached) " >&6
3045
if $as_echo 'TRUE=$(BAR$(V))
3051
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3052
am_cv_make_support_nested_variables=yes
3054
am_cv_make_support_nested_variables=no
3057
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3058
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3059
if test $am_cv_make_support_nested_variables = yes; then
3061
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3063
AM_V=$AM_DEFAULT_VERBOSITY
3064
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3068
if test "`cd $srcdir && pwd`" != "`pwd`"; then
3069
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3070
# is not polluted with repeated "-I."
3071
am__isrc=' -I$(srcdir)'
3072
# test to see if srcdir already configured
3073
if test -f $srcdir/config.status; then
3074
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3078
# test whether we have cygpath
3079
if test -z "$CYGPATH_W"; then
3080
if (cygpath --version) >/dev/null 2>/dev/null; then
3081
CYGPATH_W='cygpath -w'
3088
# Define the identity of the package.
3089
PACKAGE='at-spi2-core'
3093
cat >>confdefs.h <<_ACEOF
3094
#define PACKAGE "$PACKAGE"
3098
cat >>confdefs.h <<_ACEOF
3099
#define VERSION "$VERSION"
3102
# Some tools Automake needs.
3104
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3107
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3110
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3113
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3116
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3118
# For better backward compatibility. To be removed once Automake 1.9.x
3119
# dies out for good. For more background, see:
3120
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3121
# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3122
mkdir_p='$(MKDIR_P)'
3124
# We need awk for the "check" target (and possibly the TAP driver). The
3125
# system "awk" is bad on some platforms.
3126
# Always define AMTAR for backward compatibility. Yes, it's still used
3127
# in the wild :-( We should find a proper way to deprecate it ...
3131
# We'll loop over all known methods to create a tar archive until one works.
3132
_am_tools='gnutar pax cpio none'
3134
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3141
# POSIX will say in a future version that running "rm -f" with no argument
3142
# is OK; and we want to be able to make that assumption in our Makefile
3143
# recipes. So use an aggressive probe to check that the usage we want is
3144
# actually supported "in the wild" to an acceptable degree.
3145
# See automake bug#10828.
3146
# To make any issue more visible, cause the running configure to be aborted
3147
# by default if the 'rm' program in use doesn't match our expectations; the
3148
# user can still override this though.
3149
if rm -f && rm -fr && rm -rf; then : OK; else
3153
Your 'rm' program seems unable to run without file operands specified
3154
on the command line, even when the '-f' option is present. This is contrary
3155
to the behaviour of most rm programs out there, and not conforming with
3156
the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3158
Please tell bug-automake@gnu.org about your system, including the value
3159
of your $PATH and any error possibly output before this message. This
3160
can help us improve future automake versions.
3163
if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3164
echo 'Configuration will proceed anyway, since you have set the' >&2
3165
echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3169
Aborting the configuration process, to ensure you take notice of the issue.
3171
You can download and install GNU coreutils to get an 'rm' implementation
3172
that behaves properly: <http://www.gnu.org/software/coreutils/>.
3174
If you want to complete the configuration process using your problematic
3175
'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3176
to "yes", and re-run configure.
3179
as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3184
# Support silent build rules. Disable
3185
# by either passing --disable-silent-rules to configure or passing V=1
3187
# Check whether --enable-silent-rules was given.
3188
if test "${enable_silent_rules+set}" = set; then :
3189
enableval=$enable_silent_rules;
3192
case $enable_silent_rules in # (((
3193
yes) AM_DEFAULT_VERBOSITY=0;;
3194
no) AM_DEFAULT_VERBOSITY=1;;
3195
*) AM_DEFAULT_VERBOSITY=0;;
3197
am_make=${MAKE-make}
3198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3199
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3200
if ${am_cv_make_support_nested_variables+:} false; then :
3201
$as_echo_n "(cached) " >&6
3203
if $as_echo 'TRUE=$(BAR$(V))
3209
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3210
am_cv_make_support_nested_variables=yes
3212
am_cv_make_support_nested_variables=no
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3216
$as_echo "$am_cv_make_support_nested_variables" >&6; }
3217
if test $am_cv_make_support_nested_variables = yes; then
3219
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3221
AM_V=$AM_DEFAULT_VERBOSITY
3222
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3228
ac_cpp='$CPP $CPPFLAGS'
3229
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3230
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3231
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3232
if test -n "$ac_tool_prefix"; then
3233
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3234
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3235
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3236
$as_echo_n "checking for $ac_word... " >&6; }
3237
if ${ac_cv_prog_CC+:} false; then :
3238
$as_echo_n "(cached) " >&6
3240
if test -n "$CC"; then
3241
ac_cv_prog_CC="$CC" # Let the user override the test.
3243
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3247
test -z "$as_dir" && as_dir=.
3248
for ac_exec_ext in '' $ac_executable_extensions; do
3249
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3250
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3251
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3261
if test -n "$CC"; then
3262
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3263
$as_echo "$CC" >&6; }
3265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3266
$as_echo "no" >&6; }
3271
if test -z "$ac_cv_prog_CC"; then
3273
# Extract the first word of "gcc", so it can be a program name with args.
3274
set dummy gcc; ac_word=$2
3275
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276
$as_echo_n "checking for $ac_word... " >&6; }
3277
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3278
$as_echo_n "(cached) " >&6
3280
if test -n "$ac_ct_CC"; then
3281
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3283
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287
test -z "$as_dir" && as_dir=.
3288
for ac_exec_ext in '' $ac_executable_extensions; do
3289
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3290
ac_cv_prog_ac_ct_CC="gcc"
3291
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3300
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3301
if test -n "$ac_ct_CC"; then
3302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3303
$as_echo "$ac_ct_CC" >&6; }
3305
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306
$as_echo "no" >&6; }
3309
if test "x$ac_ct_CC" = x; then
3312
case $cross_compiling:$ac_tool_warned in
3314
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3315
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3316
ac_tool_warned=yes ;;
3324
if test -z "$CC"; then
3325
if test -n "$ac_tool_prefix"; then
3326
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3327
set dummy ${ac_tool_prefix}cc; ac_word=$2
3328
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3329
$as_echo_n "checking for $ac_word... " >&6; }
3330
if ${ac_cv_prog_CC+:} false; then :
3331
$as_echo_n "(cached) " >&6
3333
if test -n "$CC"; then
3334
ac_cv_prog_CC="$CC" # Let the user override the test.
3336
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340
test -z "$as_dir" && as_dir=.
3341
for ac_exec_ext in '' $ac_executable_extensions; do
3342
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3343
ac_cv_prog_CC="${ac_tool_prefix}cc"
3344
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3354
if test -n "$CC"; then
3355
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3356
$as_echo "$CC" >&6; }
3358
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3359
$as_echo "no" >&6; }
3365
if test -z "$CC"; then
3366
# Extract the first word of "cc", so it can be a program name with args.
3367
set dummy cc; ac_word=$2
3368
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3369
$as_echo_n "checking for $ac_word... " >&6; }
3370
if ${ac_cv_prog_CC+:} false; then :
3371
$as_echo_n "(cached) " >&6
3373
if test -n "$CC"; then
3374
ac_cv_prog_CC="$CC" # Let the user override the test.
3377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3381
test -z "$as_dir" && as_dir=.
3382
for ac_exec_ext in '' $ac_executable_extensions; do
3383
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3384
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3385
ac_prog_rejected=yes
3389
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396
if test $ac_prog_rejected = yes; then
3397
# We found a bogon in the path, so make sure we never use it.
3398
set dummy $ac_cv_prog_CC
3400
if test $# != 0; then
3401
# We chose a different compiler from the bogus one.
3402
# However, it has the same basename, so the bogon will be chosen
3403
# first if we set CC to just the basename; use the full file name.
3405
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3411
if test -n "$CC"; then
3412
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3413
$as_echo "$CC" >&6; }
3415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416
$as_echo "no" >&6; }
3421
if test -z "$CC"; then
3422
if test -n "$ac_tool_prefix"; then
3423
for ac_prog in cl.exe
3425
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3426
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3428
$as_echo_n "checking for $ac_word... " >&6; }
3429
if ${ac_cv_prog_CC+:} false; then :
3430
$as_echo_n "(cached) " >&6
3432
if test -n "$CC"; then
3433
ac_cv_prog_CC="$CC" # Let the user override the test.
3435
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439
test -z "$as_dir" && as_dir=.
3440
for ac_exec_ext in '' $ac_executable_extensions; do
3441
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3442
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3443
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3453
if test -n "$CC"; then
3454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3455
$as_echo "$CC" >&6; }
3457
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3458
$as_echo "no" >&6; }
3462
test -n "$CC" && break
3465
if test -z "$CC"; then
3467
for ac_prog in cl.exe
3469
# Extract the first word of "$ac_prog", so it can be a program name with args.
3470
set dummy $ac_prog; ac_word=$2
3471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3472
$as_echo_n "checking for $ac_word... " >&6; }
3473
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3474
$as_echo_n "(cached) " >&6
3476
if test -n "$ac_ct_CC"; then
3477
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3479
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3483
test -z "$as_dir" && as_dir=.
3484
for ac_exec_ext in '' $ac_executable_extensions; do
3485
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3486
ac_cv_prog_ac_ct_CC="$ac_prog"
3487
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3496
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3497
if test -n "$ac_ct_CC"; then
3498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3499
$as_echo "$ac_ct_CC" >&6; }
3501
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3502
$as_echo "no" >&6; }
3506
test -n "$ac_ct_CC" && break
3509
if test "x$ac_ct_CC" = x; then
3512
case $cross_compiling:$ac_tool_warned in
3514
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3515
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3516
ac_tool_warned=yes ;;
3525
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3526
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3527
as_fn_error $? "no acceptable C compiler found in \$PATH
3528
See \`config.log' for more details" "$LINENO" 5; }
3530
# Provide some information about the compiler.
3531
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3534
for ac_option in --version -v -V -qversion; do
3535
{ { ac_try="$ac_compiler $ac_option >&5"
3537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3538
*) ac_try_echo=$ac_try;;
3540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3541
$as_echo "$ac_try_echo"; } >&5
3542
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3544
if test -s conftest.err; then
3546
... rest of stderr output deleted ...
3547
10q' conftest.err >conftest.er1
3548
cat conftest.er1 >&5
3550
rm -f conftest.er1 conftest.err
3551
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3552
test $ac_status = 0; }
3555
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3556
/* end confdefs.h. */
3566
ac_clean_files_save=$ac_clean_files
3567
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3568
# Try to create an executable without -o first, disregard a.out.
3569
# It will help us diagnose broken compilers, and finding out an intuition
3571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3572
$as_echo_n "checking whether the C compiler works... " >&6; }
3573
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3575
# The possible output files:
3576
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3579
for ac_file in $ac_files
3582
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3583
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3588
if { { ac_try="$ac_link_default"
3590
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591
*) ac_try_echo=$ac_try;;
3593
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594
$as_echo "$ac_try_echo"; } >&5
3595
(eval "$ac_link_default") 2>&5
3597
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598
test $ac_status = 0; }; then :
3599
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3600
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3601
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3602
# so that the user can short-circuit this test for compilers unknown to
3604
for ac_file in $ac_files ''
3606
test -f "$ac_file" || continue
3608
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3611
# We found the default executable, but exeext='' is most
3615
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3617
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3619
# We set ac_cv_exeext here because the later test for it is not
3620
# safe: cross compilers may not add the suffix if given an `-o'
3621
# argument, so we may need to know it at that point already.
3622
# Even if this section looks crufty: it has the advantage of
3629
test "$ac_cv_exeext" = no && ac_cv_exeext=
3634
if test -z "$ac_file"; then :
3635
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636
$as_echo "no" >&6; }
3637
$as_echo "$as_me: failed program was:" >&5
3638
sed 's/^/| /' conftest.$ac_ext >&5
3640
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3641
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3642
as_fn_error 77 "C compiler cannot create executables
3643
See \`config.log' for more details" "$LINENO" 5; }
3645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3646
$as_echo "yes" >&6; }
3648
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3649
$as_echo_n "checking for C compiler default output file name... " >&6; }
3650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3651
$as_echo "$ac_file" >&6; }
3652
ac_exeext=$ac_cv_exeext
3654
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3655
ac_clean_files=$ac_clean_files_save
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3657
$as_echo_n "checking for suffix of executables... " >&6; }
3658
if { { ac_try="$ac_link"
3660
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3661
*) ac_try_echo=$ac_try;;
3663
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3664
$as_echo "$ac_try_echo"; } >&5
3665
(eval "$ac_link") 2>&5
3667
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3668
test $ac_status = 0; }; then :
3669
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3670
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3671
# work properly (i.e., refer to `conftest.exe'), while it won't with
3673
for ac_file in conftest.exe conftest conftest.*; do
3674
test -f "$ac_file" || continue
3676
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3677
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3683
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3684
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3685
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3686
See \`config.log' for more details" "$LINENO" 5; }
3688
rm -f conftest conftest$ac_cv_exeext
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3690
$as_echo "$ac_cv_exeext" >&6; }
3692
rm -f conftest.$ac_ext
3693
EXEEXT=$ac_cv_exeext
3695
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3696
/* end confdefs.h. */
3701
FILE *f = fopen ("conftest.out", "w");
3702
return ferror (f) || fclose (f) != 0;
3708
ac_clean_files="$ac_clean_files conftest.out"
3709
# Check that the compiler produces executables we can run. If not, either
3710
# the compiler is broken, or we cross compile.
3711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3712
$as_echo_n "checking whether we are cross compiling... " >&6; }
3713
if test "$cross_compiling" != yes; then
3714
{ { ac_try="$ac_link"
3716
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3717
*) ac_try_echo=$ac_try;;
3719
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3720
$as_echo "$ac_try_echo"; } >&5
3721
(eval "$ac_link") 2>&5
3723
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3724
test $ac_status = 0; }
3725
if { ac_try='./conftest$ac_cv_exeext'
3726
{ { case "(($ac_try" in
3727
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3728
*) ac_try_echo=$ac_try;;
3730
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3731
$as_echo "$ac_try_echo"; } >&5
3732
(eval "$ac_try") 2>&5
3734
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3735
test $ac_status = 0; }; }; then
3738
if test "$cross_compiling" = maybe; then
3741
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3742
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3743
as_fn_error $? "cannot run C compiled programs.
3744
If you meant to cross compile, use \`--host'.
3745
See \`config.log' for more details" "$LINENO" 5; }
3749
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3750
$as_echo "$cross_compiling" >&6; }
3752
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3753
ac_clean_files=$ac_clean_files_save
3754
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3755
$as_echo_n "checking for suffix of object files... " >&6; }
3756
if ${ac_cv_objext+:} false; then :
3757
$as_echo_n "(cached) " >&6
3759
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3760
/* end confdefs.h. */
3770
rm -f conftest.o conftest.obj
3771
if { { ac_try="$ac_compile"
3773
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3774
*) ac_try_echo=$ac_try;;
3776
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3777
$as_echo "$ac_try_echo"; } >&5
3778
(eval "$ac_compile") 2>&5
3780
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3781
test $ac_status = 0; }; then :
3782
for ac_file in conftest.o conftest.obj conftest.*; do
3783
test -f "$ac_file" || continue;
3785
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3786
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3791
$as_echo "$as_me: failed program was:" >&5
3792
sed 's/^/| /' conftest.$ac_ext >&5
3794
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3795
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3796
as_fn_error $? "cannot compute suffix of object files: cannot compile
3797
See \`config.log' for more details" "$LINENO" 5; }
3799
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3802
$as_echo "$ac_cv_objext" >&6; }
3803
OBJEXT=$ac_cv_objext
3805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3806
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3807
if ${ac_cv_c_compiler_gnu+:} false; then :
3808
$as_echo_n "(cached) " >&6
3810
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811
/* end confdefs.h. */
3824
if ac_fn_c_try_compile "$LINENO"; then :
3829
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3830
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3834
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3835
if test $ac_compiler_gnu = yes; then
3840
ac_test_CFLAGS=${CFLAGS+set}
3841
ac_save_CFLAGS=$CFLAGS
3842
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3843
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3844
if ${ac_cv_prog_cc_g+:} false; then :
3845
$as_echo_n "(cached) " >&6
3847
ac_save_c_werror_flag=$ac_c_werror_flag
3848
ac_c_werror_flag=yes
3851
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3852
/* end confdefs.h. */
3862
if ac_fn_c_try_compile "$LINENO"; then :
3866
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867
/* end confdefs.h. */
3877
if ac_fn_c_try_compile "$LINENO"; then :
3880
ac_c_werror_flag=$ac_save_c_werror_flag
3882
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3883
/* end confdefs.h. */
3893
if ac_fn_c_try_compile "$LINENO"; then :
3896
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3900
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3901
ac_c_werror_flag=$ac_save_c_werror_flag
3903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3904
$as_echo "$ac_cv_prog_cc_g" >&6; }
3905
if test "$ac_test_CFLAGS" = set; then
3906
CFLAGS=$ac_save_CFLAGS
3907
elif test $ac_cv_prog_cc_g = yes; then
3908
if test "$GCC" = yes; then
3914
if test "$GCC" = yes; then
3920
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3921
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3922
if ${ac_cv_prog_cc_c89+:} false; then :
3923
$as_echo_n "(cached) " >&6
3925
ac_cv_prog_cc_c89=no
3927
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3928
/* end confdefs.h. */
3932
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3933
struct buf { int x; };
3934
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3935
static char *e (p, i)
3941
static char *f (char * (*g) (char **, int), char **p, ...)
3946
s = g (p, va_arg (v,int));
3951
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3952
function prototypes and stuff, but not '\xHH' hex character constants.
3953
These don't provoke an error unfortunately, instead are silently treated
3954
as 'x'. The following induces an error, until -std is added to get
3955
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3956
array size at least. It's necessary to write '\x00'==0 to get something
3957
that's true only with -std. */
3958
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3960
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3961
inside strings and character constants. */
3963
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3965
int test (int i, double x);
3966
struct s1 {int (*f) (int a);};
3967
struct s2 {int (*f) (double a);};
3968
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3974
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3979
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3980
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3982
CC="$ac_save_CC $ac_arg"
3983
if ac_fn_c_try_compile "$LINENO"; then :
3984
ac_cv_prog_cc_c89=$ac_arg
3986
rm -f core conftest.err conftest.$ac_objext
3987
test "x$ac_cv_prog_cc_c89" != "xno" && break
3989
rm -f conftest.$ac_ext
3994
case "x$ac_cv_prog_cc_c89" in
3996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3997
$as_echo "none needed" >&6; } ;;
3999
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4000
$as_echo "unsupported" >&6; } ;;
4002
CC="$CC $ac_cv_prog_cc_c89"
4003
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4004
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4006
if test "x$ac_cv_prog_cc_c89" != xno; then :
4011
ac_cpp='$CPP $CPPFLAGS'
4012
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4013
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4014
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4017
ac_cpp='$CPP $CPPFLAGS'
4018
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4021
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4022
$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4023
if ${am_cv_prog_cc_c_o+:} false; then :
4024
$as_echo_n "(cached) " >&6
4026
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4027
/* end confdefs.h. */
4037
# Make sure it works both with $CC and with simple cc.
4038
# Following AC_PROG_CC_C_O, we do the test twice because some
4039
# compilers refuse to overwrite an existing .o file with -o,
4040
# though they will create one.
4041
am_cv_prog_cc_c_o=yes
4043
if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4044
($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047
(exit $ac_status); } \
4048
&& test -f conftest2.$ac_objext; then
4051
am_cv_prog_cc_c_o=no
4055
rm -f core conftest*
4058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4059
$as_echo "$am_cv_prog_cc_c_o" >&6; }
4060
if test "$am_cv_prog_cc_c_o" != yes; then
4061
# Losing compiler, so override with the script.
4062
# FIXME: It is wrong to rewrite CC.
4063
# But if we don't then we get into trouble of one sort or another.
4064
# A longer-term fix would be to have automake use am__CC in this case,
4065
# and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4066
CC="$am_aux_dir/compile $CC"
4069
ac_cpp='$CPP $CPPFLAGS'
4070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4074
DEPDIR="${am__leading_dot}deps"
4076
ac_config_commands="$ac_config_commands depfiles"
4079
am_make=${MAKE-make}
4080
cat > confinc << 'END'
4082
@echo this is the am__doit target
4085
# If we don't find an include directive, just comment out the code.
4086
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4087
$as_echo_n "checking for style of include used by $am_make... " >&6; }
4091
# First try GNU make style include.
4092
echo "include confinc" > confmf
4093
# Ignore all kinds of additional output from 'make'.
4094
case `$am_make -s -f confmf 2> /dev/null` in #(
4095
*the\ am__doit\ target*)
4101
# Now try BSD make style include.
4102
if test "$am__include" = "#"; then
4103
echo '.include "confinc"' > confmf
4104
case `$am_make -s -f confmf 2> /dev/null` in #(
4105
*the\ am__doit\ target*)
4106
am__include=.include
4114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4115
$as_echo "$_am_result" >&6; }
4116
rm -f confinc confmf
4118
# Check whether --enable-dependency-tracking was given.
4119
if test "${enable_dependency_tracking+set}" = set; then :
4120
enableval=$enable_dependency_tracking;
4123
if test "x$enable_dependency_tracking" != xno; then
4124
am_depcomp="$ac_aux_dir/depcomp"
4128
if test "x$enable_dependency_tracking" != xno; then
4138
depcc="$CC" am_compiler_list=
4140
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4141
$as_echo_n "checking dependency style of $depcc... " >&6; }
4142
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4143
$as_echo_n "(cached) " >&6
4145
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4146
# We make a subdir and do the tests there. Otherwise we can end up
4147
# making bogus files that we don't know about and never remove. For
4148
# instance it was reported that on HP-UX the gcc test will end up
4149
# making a dummy file named 'D' -- because '-MD' means "put the output
4153
# Copy depcomp to subdir because otherwise we won't find it if we're
4154
# using a relative directory.
4155
cp "$am_depcomp" conftest.dir
4157
# We will build objects and dependencies in a subdirectory because
4158
# it helps to detect inapplicable dependency modes. For instance
4159
# both Tru64's cc and ICC support -MD to output dependencies as a
4160
# side effect of compilation, but ICC will put the dependencies in
4161
# the current directory while Tru64 will put them in the object
4165
am_cv_CC_dependencies_compiler_type=none
4166
if test "$am_compiler_list" = ""; then
4167
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4170
case " $depcc " in #(
4171
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4174
for depmode in $am_compiler_list; do
4175
# Setup a source with many dependencies, because some compilers
4176
# like to wrap large dependency lists on column 80 (with \), and
4177
# we should not choose a depcomp mode which is confused by this.
4179
# We need to recreate these files for each test, as the compiler may
4180
# overwrite some of them when testing with obscure command lines.
4181
# This happens at least with the AIX C compiler.
4183
for i in 1 2 3 4 5 6; do
4184
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4185
# Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4186
# Solaris 10 /bin/sh.
4187
echo '/* dummy */' > sub/conftst$i.h
4189
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4191
# We check with '-c' and '-o' for the sake of the "dashmstdout"
4192
# mode. It turns out that the SunPro C++ compiler does not properly
4193
# handle '-M -o', and we need to detect this. Also, some Intel
4194
# versions had trouble with output in subdirs.
4195
am__obj=sub/conftest.${OBJEXT-o}
4196
am__minus_obj="-o $am__obj"
4199
# This depmode causes a compiler race in universal mode.
4200
test "$am__universal" = false || continue
4203
# After this tag, mechanisms are not by side-effect, so they'll
4204
# only be used when explicitly requested.
4205
if test "x$enable_dependency_tracking" = xyes; then
4211
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4212
# This compiler won't grok '-c -o', but also, the minuso test has
4213
# not run yet. These depmodes are late enough in the game, and
4214
# so weak that their functioning should not be impacted.
4215
am__obj=conftest.${OBJEXT-o}
4220
if depmode=$depmode \
4221
source=sub/conftest.c object=$am__obj \
4222
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4223
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4224
>/dev/null 2>conftest.err &&
4225
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4226
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4227
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4228
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4229
# icc doesn't choke on unknown options, it will just issue warnings
4230
# or remarks (even with -Werror). So we grep stderr for any message
4231
# that says an option was ignored or not supported.
4232
# When given -MP, icc 7.0 and 7.1 complain thusly:
4233
# icc: Command line warning: ignoring option '-M'; no argument required
4234
# The diagnosis changed in icc 8.0:
4235
# icc: Command line remark: option '-MP' not supported
4236
if (grep 'ignoring option' conftest.err ||
4237
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4238
am_cv_CC_dependencies_compiler_type=$depmode
4247
am_cv_CC_dependencies_compiler_type=none
4251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4252
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4253
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4256
test "x$enable_dependency_tracking" != xno \
4257
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4259
am__fastdepCC_FALSE='#'
4261
am__fastdepCC_TRUE='#'
4262
am__fastdepCC_FALSE=
4268
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4269
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4274
macro_version='2.4.2'
4275
macro_revision='1.3337'
4289
ltmain="$ac_aux_dir/ltmain.sh"
4291
# Make sure we can run config.sub.
4292
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4293
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4296
$as_echo_n "checking build system type... " >&6; }
4297
if ${ac_cv_build+:} false; then :
4298
$as_echo_n "(cached) " >&6
4300
ac_build_alias=$build_alias
4301
test "x$ac_build_alias" = x &&
4302
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4303
test "x$ac_build_alias" = x &&
4304
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4305
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4306
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4310
$as_echo "$ac_cv_build" >&6; }
4311
case $ac_cv_build in
4313
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4316
ac_save_IFS=$IFS; IFS='-'
4322
# Remember, the first character of IFS is used to create $*,
4323
# except with old shells:
4326
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4329
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4330
$as_echo_n "checking host system type... " >&6; }
4331
if ${ac_cv_host+:} false; then :
4332
$as_echo_n "(cached) " >&6
4334
if test "x$host_alias" = x; then
4335
ac_cv_host=$ac_cv_build
4337
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4338
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4342
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4343
$as_echo "$ac_cv_host" >&6; }
4346
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4349
ac_save_IFS=$IFS; IFS='-'
4355
# Remember, the first character of IFS is used to create $*,
4356
# except with old shells:
4359
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4362
# Backslashify metacharacters that are still active within
4363
# double-quoted strings.
4364
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4366
# Same as above, but do not quote variable references.
4367
double_quote_subst='s/\(["`\\]\)/\\\1/g'
4369
# Sed substitution to delay expansion of an escaped shell variable in a
4370
# double_quote_subst'ed string.
4371
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4373
# Sed substitution to delay expansion of an escaped single quote.
4374
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4376
# Sed substitution to avoid accidental globbing in evaled expressions
4377
no_glob_subst='s/\*/\\\*/g'
4379
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4380
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4381
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4384
$as_echo_n "checking how to print strings... " >&6; }
4385
# Test print first, because it will be a builtin if present.
4386
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4387
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4389
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4392
# Use this function as a fallback that always works.
4393
func_fallback_echo ()
4395
eval 'cat <<_LTECHO_EOF
4399
ECHO='func_fallback_echo'
4402
# func_echo_all arg...
4403
# Invoke $ECHO with all args, space-separated.
4410
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4411
$as_echo "printf" >&6; } ;;
4412
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4413
$as_echo "print -r" >&6; } ;;
4414
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4415
$as_echo "cat" >&6; } ;;
4431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4432
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4433
if ${ac_cv_path_SED+:} false; then :
4434
$as_echo_n "(cached) " >&6
4436
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4437
for ac_i in 1 2 3 4 5 6 7; do
4438
ac_script="$ac_script$as_nl$ac_script"
4440
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4441
{ ac_script=; unset ac_script;}
4442
if test -z "$SED"; then
4443
ac_path_SED_found=false
4444
# Loop through the user's path and test for each of PROGNAME-LIST
4445
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449
test -z "$as_dir" && as_dir=.
4450
for ac_prog in sed gsed; do
4451
for ac_exec_ext in '' $ac_executable_extensions; do
4452
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4453
as_fn_executable_p "$ac_path_SED" || continue
4454
# Check for GNU ac_path_SED and select it if it is found.
4455
# Check for GNU $ac_path_SED
4456
case `"$ac_path_SED" --version 2>&1` in
4458
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4461
$as_echo_n 0123456789 >"conftest.in"
4464
cat "conftest.in" "conftest.in" >"conftest.tmp"
4465
mv "conftest.tmp" "conftest.in"
4466
cp "conftest.in" "conftest.nl"
4467
$as_echo '' >> "conftest.nl"
4468
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4469
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4470
as_fn_arith $ac_count + 1 && ac_count=$as_val
4471
if test $ac_count -gt ${ac_path_SED_max-0}; then
4472
# Best one so far, save it but keep looking for a better one
4473
ac_cv_path_SED="$ac_path_SED"
4474
ac_path_SED_max=$ac_count
4476
# 10*(2^10) chars as input seems more than enough
4477
test $ac_count -gt 10 && break
4479
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4482
$ac_path_SED_found && break 3
4487
if test -z "$ac_cv_path_SED"; then
4488
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4496
$as_echo "$ac_cv_path_SED" >&6; }
4497
SED="$ac_cv_path_SED"
4500
test -z "$SED" && SED=sed
4501
Xsed="$SED -e 1s/^X//"
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4514
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4515
if ${ac_cv_path_GREP+:} false; then :
4516
$as_echo_n "(cached) " >&6
4518
if test -z "$GREP"; then
4519
ac_path_GREP_found=false
4520
# Loop through the user's path and test for each of PROGNAME-LIST
4521
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4522
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4525
test -z "$as_dir" && as_dir=.
4526
for ac_prog in grep ggrep; do
4527
for ac_exec_ext in '' $ac_executable_extensions; do
4528
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4529
as_fn_executable_p "$ac_path_GREP" || continue
4530
# Check for GNU ac_path_GREP and select it if it is found.
4531
# Check for GNU $ac_path_GREP
4532
case `"$ac_path_GREP" --version 2>&1` in
4534
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4537
$as_echo_n 0123456789 >"conftest.in"
4540
cat "conftest.in" "conftest.in" >"conftest.tmp"
4541
mv "conftest.tmp" "conftest.in"
4542
cp "conftest.in" "conftest.nl"
4543
$as_echo 'GREP' >> "conftest.nl"
4544
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4545
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4546
as_fn_arith $ac_count + 1 && ac_count=$as_val
4547
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4548
# Best one so far, save it but keep looking for a better one
4549
ac_cv_path_GREP="$ac_path_GREP"
4550
ac_path_GREP_max=$ac_count
4552
# 10*(2^10) chars as input seems more than enough
4553
test $ac_count -gt 10 && break
4555
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4558
$ac_path_GREP_found && break 3
4563
if test -z "$ac_cv_path_GREP"; then
4564
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4567
ac_cv_path_GREP=$GREP
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4572
$as_echo "$ac_cv_path_GREP" >&6; }
4573
GREP="$ac_cv_path_GREP"
4576
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4577
$as_echo_n "checking for egrep... " >&6; }
4578
if ${ac_cv_path_EGREP+:} false; then :
4579
$as_echo_n "(cached) " >&6
4581
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4582
then ac_cv_path_EGREP="$GREP -E"
4584
if test -z "$EGREP"; then
4585
ac_path_EGREP_found=false
4586
# Loop through the user's path and test for each of PROGNAME-LIST
4587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4588
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4591
test -z "$as_dir" && as_dir=.
4592
for ac_prog in egrep; do
4593
for ac_exec_ext in '' $ac_executable_extensions; do
4594
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4595
as_fn_executable_p "$ac_path_EGREP" || continue
4596
# Check for GNU ac_path_EGREP and select it if it is found.
4597
# Check for GNU $ac_path_EGREP
4598
case `"$ac_path_EGREP" --version 2>&1` in
4600
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4603
$as_echo_n 0123456789 >"conftest.in"
4606
cat "conftest.in" "conftest.in" >"conftest.tmp"
4607
mv "conftest.tmp" "conftest.in"
4608
cp "conftest.in" "conftest.nl"
4609
$as_echo 'EGREP' >> "conftest.nl"
4610
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4611
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4612
as_fn_arith $ac_count + 1 && ac_count=$as_val
4613
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4614
# Best one so far, save it but keep looking for a better one
4615
ac_cv_path_EGREP="$ac_path_EGREP"
4616
ac_path_EGREP_max=$ac_count
4618
# 10*(2^10) chars as input seems more than enough
4619
test $ac_count -gt 10 && break
4621
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4624
$ac_path_EGREP_found && break 3
4629
if test -z "$ac_cv_path_EGREP"; then
4630
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4633
ac_cv_path_EGREP=$EGREP
4638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4639
$as_echo "$ac_cv_path_EGREP" >&6; }
4640
EGREP="$ac_cv_path_EGREP"
4643
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4644
$as_echo_n "checking for fgrep... " >&6; }
4645
if ${ac_cv_path_FGREP+:} false; then :
4646
$as_echo_n "(cached) " >&6
4648
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4649
then ac_cv_path_FGREP="$GREP -F"
4651
if test -z "$FGREP"; then
4652
ac_path_FGREP_found=false
4653
# Loop through the user's path and test for each of PROGNAME-LIST
4654
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4658
test -z "$as_dir" && as_dir=.
4659
for ac_prog in fgrep; do
4660
for ac_exec_ext in '' $ac_executable_extensions; do
4661
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4662
as_fn_executable_p "$ac_path_FGREP" || continue
4663
# Check for GNU ac_path_FGREP and select it if it is found.
4664
# Check for GNU $ac_path_FGREP
4665
case `"$ac_path_FGREP" --version 2>&1` in
4667
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4670
$as_echo_n 0123456789 >"conftest.in"
4673
cat "conftest.in" "conftest.in" >"conftest.tmp"
4674
mv "conftest.tmp" "conftest.in"
4675
cp "conftest.in" "conftest.nl"
4676
$as_echo 'FGREP' >> "conftest.nl"
4677
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4678
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4679
as_fn_arith $ac_count + 1 && ac_count=$as_val
4680
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4681
# Best one so far, save it but keep looking for a better one
4682
ac_cv_path_FGREP="$ac_path_FGREP"
4683
ac_path_FGREP_max=$ac_count
4685
# 10*(2^10) chars as input seems more than enough
4686
test $ac_count -gt 10 && break
4688
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4691
$ac_path_FGREP_found && break 3
4696
if test -z "$ac_cv_path_FGREP"; then
4697
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4700
ac_cv_path_FGREP=$FGREP
4705
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4706
$as_echo "$ac_cv_path_FGREP" >&6; }
4707
FGREP="$ac_cv_path_FGREP"
4710
test -z "$GREP" && GREP=grep
4730
# Check whether --with-gnu-ld was given.
4731
if test "${with_gnu_ld+set}" = set; then :
4732
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4738
if test "$GCC" = yes; then
4739
# Check if gcc -print-prog-name=ld gives a path.
4740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4741
$as_echo_n "checking for ld used by $CC... " >&6; }
4744
# gcc leaves a trailing carriage return which upsets mingw
4745
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4747
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4750
# Accept absolute paths.
4752
re_direlt='/[^/][^/]*/\.\./'
4753
# Canonicalize the pathname of ld
4754
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4755
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4756
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4758
test -z "$LD" && LD="$ac_prog"
4761
# If it fails, then pretend we aren't using GCC.
4765
# If it is relative, then search for the first ld in PATH.
4769
elif test "$with_gnu_ld" = yes; then
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4771
$as_echo_n "checking for GNU ld... " >&6; }
4773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4774
$as_echo_n "checking for non-GNU ld... " >&6; }
4776
if ${lt_cv_path_LD+:} false; then :
4777
$as_echo_n "(cached) " >&6
4779
if test -z "$LD"; then
4780
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4781
for ac_dir in $PATH; do
4783
test -z "$ac_dir" && ac_dir=.
4784
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4785
lt_cv_path_LD="$ac_dir/$ac_prog"
4786
# Check to see if the program is GNU ld. I'd rather use --version,
4787
# but apparently some variants of GNU ld only accept -v.
4788
# Break only if it was the GNU/non-GNU ld that we prefer.
4789
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4790
*GNU* | *'with BFD'*)
4791
test "$with_gnu_ld" != no && break
4794
test "$with_gnu_ld" != yes && break
4801
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4806
if test -n "$LD"; then
4807
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4808
$as_echo "$LD" >&6; }
4810
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811
$as_echo "no" >&6; }
4813
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4815
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4816
if ${lt_cv_prog_gnu_ld+:} false; then :
4817
$as_echo_n "(cached) " >&6
4819
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4820
case `$LD -v 2>&1 </dev/null` in
4821
*GNU* | *'with BFD'*)
4822
lt_cv_prog_gnu_ld=yes
4825
lt_cv_prog_gnu_ld=no
4829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4830
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4831
with_gnu_ld=$lt_cv_prog_gnu_ld
4841
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4842
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4843
if ${lt_cv_path_NM+:} false; then :
4844
$as_echo_n "(cached) " >&6
4846
if test -n "$NM"; then
4847
# Let the user override the test.
4850
lt_nm_to_check="${ac_tool_prefix}nm"
4851
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4852
lt_nm_to_check="$lt_nm_to_check nm"
4854
for lt_tmp_nm in $lt_nm_to_check; do
4855
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4856
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4858
test -z "$ac_dir" && ac_dir=.
4859
tmp_nm="$ac_dir/$lt_tmp_nm"
4860
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4861
# Check to see if the nm accepts a BSD-compat flag.
4862
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4863
# nm: unknown option "B" ignored
4864
# Tru64's nm complains that /dev/null is an invalid object file
4865
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4866
*/dev/null* | *'Invalid file or object type'*)
4867
lt_cv_path_NM="$tmp_nm -B"
4871
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4873
lt_cv_path_NM="$tmp_nm -p"
4877
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4878
continue # so that we can try to find one that supports BSD flags
4887
: ${lt_cv_path_NM=no}
4890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4891
$as_echo "$lt_cv_path_NM" >&6; }
4892
if test "$lt_cv_path_NM" != "no"; then
4895
# Didn't find any BSD compatible name lister, look for dumpbin.
4896
if test -n "$DUMPBIN"; then :
4897
# Let the user override the test.
4899
if test -n "$ac_tool_prefix"; then
4900
for ac_prog in dumpbin "link -dump"
4902
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4903
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4904
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905
$as_echo_n "checking for $ac_word... " >&6; }
4906
if ${ac_cv_prog_DUMPBIN+:} false; then :
4907
$as_echo_n "(cached) " >&6
4909
if test -n "$DUMPBIN"; then
4910
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4912
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916
test -z "$as_dir" && as_dir=.
4917
for ac_exec_ext in '' $ac_executable_extensions; do
4918
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4919
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4920
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929
DUMPBIN=$ac_cv_prog_DUMPBIN
4930
if test -n "$DUMPBIN"; then
4931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4932
$as_echo "$DUMPBIN" >&6; }
4934
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935
$as_echo "no" >&6; }
4939
test -n "$DUMPBIN" && break
4942
if test -z "$DUMPBIN"; then
4943
ac_ct_DUMPBIN=$DUMPBIN
4944
for ac_prog in dumpbin "link -dump"
4946
# Extract the first word of "$ac_prog", so it can be a program name with args.
4947
set dummy $ac_prog; ac_word=$2
4948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4949
$as_echo_n "checking for $ac_word... " >&6; }
4950
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4951
$as_echo_n "(cached) " >&6
4953
if test -n "$ac_ct_DUMPBIN"; then
4954
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4956
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4960
test -z "$as_dir" && as_dir=.
4961
for ac_exec_ext in '' $ac_executable_extensions; do
4962
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4963
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4964
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4974
if test -n "$ac_ct_DUMPBIN"; then
4975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4976
$as_echo "$ac_ct_DUMPBIN" >&6; }
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4979
$as_echo "no" >&6; }
4983
test -n "$ac_ct_DUMPBIN" && break
4986
if test "x$ac_ct_DUMPBIN" = x; then
4989
case $cross_compiling:$ac_tool_warned in
4991
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4992
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4993
ac_tool_warned=yes ;;
4995
DUMPBIN=$ac_ct_DUMPBIN
4999
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5001
DUMPBIN="$DUMPBIN -symbols"
5009
if test "$DUMPBIN" != ":"; then
5013
test -z "$NM" && NM=nm
5020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5021
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5022
if ${lt_cv_nm_interface+:} false; then :
5023
$as_echo_n "(cached) " >&6
5025
lt_cv_nm_interface="BSD nm"
5026
echo "int some_variable = 0;" > conftest.$ac_ext
5027
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5028
(eval "$ac_compile" 2>conftest.err)
5029
cat conftest.err >&5
5030
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5031
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5032
cat conftest.err >&5
5033
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
5034
cat conftest.out >&5
5035
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5036
lt_cv_nm_interface="MS dumpbin"
5040
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5041
$as_echo "$lt_cv_nm_interface" >&6; }
5043
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5044
$as_echo_n "checking whether ln -s works... " >&6; }
5046
if test "$LN_S" = "ln -s"; then
5047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5048
$as_echo "yes" >&6; }
5050
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5051
$as_echo "no, using $LN_S" >&6; }
5054
# find the maximum length of command line arguments
5055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5056
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5057
if ${lt_cv_sys_max_cmd_len+:} false; then :
5058
$as_echo_n "(cached) " >&6
5065
# On DJGPP, this test can blow up pretty badly due to problems in libc
5066
# (any single argument exceeding 2000 bytes causes a buffer overrun
5067
# during glob expansion). Even if it were fixed, the result of this
5068
# check would be larger than it should be.
5069
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5073
# Under GNU Hurd, this test is not required because there is
5074
# no limit to the length of command line arguments.
5075
# Libtool will interpret -1 as no limit whatsoever
5076
lt_cv_sys_max_cmd_len=-1;
5079
cygwin* | mingw* | cegcc*)
5080
# On Win9x/ME, this test blows up -- it succeeds, but takes
5081
# about 5 minutes as the teststring grows exponentially.
5082
# Worse, since 9x/ME are not pre-emptively multitasking,
5083
# you end up with a "frozen" computer, even though with patience
5084
# the test eventually succeeds (with a max line length of 256k).
5085
# Instead, let's just punt: use the minimum linelength reported by
5086
# all of the supported platforms: 8192 (on NT/2K/XP).
5087
lt_cv_sys_max_cmd_len=8192;
5091
# On MiNT this can take a long time and run out of memory.
5092
lt_cv_sys_max_cmd_len=8192;
5096
# On AmigaOS with pdksh, this test takes hours, literally.
5097
# So we just punt and use a minimum line length of 8192.
5098
lt_cv_sys_max_cmd_len=8192;
5101
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5102
# This has been around since 386BSD, at least. Likely further.
5103
if test -x /sbin/sysctl; then
5104
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5105
elif test -x /usr/sbin/sysctl; then
5106
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5108
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5110
# And add a safety zone
5111
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5112
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5116
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5117
lt_cv_sys_max_cmd_len=196608
5121
# The test takes a long time on OS/2.
5122
lt_cv_sys_max_cmd_len=8192
5126
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5127
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5128
# nice to cause kernel panics so lets avoid the loop below.
5129
# First set a reasonable default.
5130
lt_cv_sys_max_cmd_len=16384
5132
if test -x /sbin/sysconfig; then
5133
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5134
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5139
lt_cv_sys_max_cmd_len=102400
5141
sysv5* | sco5v6* | sysv4.2uw2*)
5142
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5143
if test -n "$kargmax"; then
5144
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5146
lt_cv_sys_max_cmd_len=32768
5150
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5151
if test -n "$lt_cv_sys_max_cmd_len"; then
5152
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5153
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5155
# Make teststring a little bigger before we do anything with it.
5156
# a 1K string should be a reasonable start.
5157
for i in 1 2 3 4 5 6 7 8 ; do
5158
teststring=$teststring$teststring
5160
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5161
# If test is not a shell built-in, we'll probably end up computing a
5162
# maximum length that is only half of the actual maximum length, but
5164
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5165
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5166
test $i != 17 # 1/2 MB should be enough
5169
teststring=$teststring$teststring
5171
# Only check the string length outside the loop.
5172
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5174
# Add a significant safety factor because C++ compilers can tack on
5175
# massive amounts of additional arguments before passing them to the
5176
# linker. It appears as though 1/2 is a usable value.
5177
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5184
if test -n $lt_cv_sys_max_cmd_len ; then
5185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5186
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5189
$as_echo "none" >&6; }
5191
max_cmd_len=$lt_cv_sys_max_cmd_len
5202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5203
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5204
# Try some XSI features
5207
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5209
&& eval 'test $(( 1 + 1 )) -eq 2 \
5210
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5213
$as_echo "$xsi_shell" >&6; }
5216
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5217
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5219
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5221
&& lt_shell_append=yes
5222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5223
$as_echo "$lt_shell_append" >&6; }
5226
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5236
# test EBCDIC or ASCII
5237
case `echo X|tr X '\101'` in
5238
A) # ASCII based system
5239
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5240
lt_SP2NL='tr \040 \012'
5241
lt_NL2SP='tr \015\012 \040\040'
5243
*) # EBCDIC based system
5244
lt_SP2NL='tr \100 \n'
5245
lt_NL2SP='tr \r\n \100\100'
5257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5258
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5259
if ${lt_cv_to_host_file_cmd+:} false; then :
5260
$as_echo_n "(cached) " >&6
5265
*-*-mingw* ) # actually msys
5266
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5269
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5271
* ) # otherwise, assume *nix
5272
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5278
*-*-mingw* ) # actually msys
5279
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5282
lt_cv_to_host_file_cmd=func_convert_file_noop
5284
* ) # otherwise, assume *nix
5285
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5289
* ) # unhandled hosts (and "normal" native builds)
5290
lt_cv_to_host_file_cmd=func_convert_file_noop
5296
to_host_file_cmd=$lt_cv_to_host_file_cmd
5297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5298
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5305
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5306
if ${lt_cv_to_tool_file_cmd+:} false; then :
5307
$as_echo_n "(cached) " >&6
5309
#assume ordinary cross tools, or native build.
5310
lt_cv_to_tool_file_cmd=func_convert_file_noop
5314
*-*-mingw* ) # actually msys
5315
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5323
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5324
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5325
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5332
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5333
if ${lt_cv_ld_reload_flag+:} false; then :
5334
$as_echo_n "(cached) " >&6
5336
lt_cv_ld_reload_flag='-r'
5338
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5339
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5340
reload_flag=$lt_cv_ld_reload_flag
5341
case $reload_flag in
5343
*) reload_flag=" $reload_flag" ;;
5345
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5347
cygwin* | mingw* | pw32* | cegcc*)
5348
if test "$GCC" != yes; then
5353
if test "$GCC" = yes; then
5354
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5356
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5369
if test -n "$ac_tool_prefix"; then
5370
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5371
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5372
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5373
$as_echo_n "checking for $ac_word... " >&6; }
5374
if ${ac_cv_prog_OBJDUMP+:} false; then :
5375
$as_echo_n "(cached) " >&6
5377
if test -n "$OBJDUMP"; then
5378
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5380
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384
test -z "$as_dir" && as_dir=.
5385
for ac_exec_ext in '' $ac_executable_extensions; do
5386
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5387
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5388
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5397
OBJDUMP=$ac_cv_prog_OBJDUMP
5398
if test -n "$OBJDUMP"; then
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5400
$as_echo "$OBJDUMP" >&6; }
5402
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5403
$as_echo "no" >&6; }
5408
if test -z "$ac_cv_prog_OBJDUMP"; then
5409
ac_ct_OBJDUMP=$OBJDUMP
5410
# Extract the first word of "objdump", so it can be a program name with args.
5411
set dummy objdump; ac_word=$2
5412
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5413
$as_echo_n "checking for $ac_word... " >&6; }
5414
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5415
$as_echo_n "(cached) " >&6
5417
if test -n "$ac_ct_OBJDUMP"; then
5418
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5420
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424
test -z "$as_dir" && as_dir=.
5425
for ac_exec_ext in '' $ac_executable_extensions; do
5426
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5428
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5437
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5438
if test -n "$ac_ct_OBJDUMP"; then
5439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5440
$as_echo "$ac_ct_OBJDUMP" >&6; }
5442
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5443
$as_echo "no" >&6; }
5446
if test "x$ac_ct_OBJDUMP" = x; then
5449
case $cross_compiling:$ac_tool_warned in
5451
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5452
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5453
ac_tool_warned=yes ;;
5455
OBJDUMP=$ac_ct_OBJDUMP
5458
OBJDUMP="$ac_cv_prog_OBJDUMP"
5461
test -z "$OBJDUMP" && OBJDUMP=objdump
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5472
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5473
if ${lt_cv_deplibs_check_method+:} false; then :
5474
$as_echo_n "(cached) " >&6
5476
lt_cv_file_magic_cmd='$MAGIC_CMD'
5477
lt_cv_file_magic_test_file=
5478
lt_cv_deplibs_check_method='unknown'
5479
# Need to set the preceding variable on all platforms that support
5480
# interlibrary dependencies.
5481
# 'none' -- dependencies not supported.
5482
# `unknown' -- same as none, but documents that we really don't know.
5483
# 'pass_all' -- all dependencies passed with no checks.
5484
# 'test_compile' -- check by making test program.
5485
# 'file_magic [[regex]]' -- check by looking for files in library path
5486
# which responds to the $file_magic_cmd with a given extended regex.
5487
# If you have `file' or equivalent on your system and you're not sure
5488
# whether `pass_all' will *always* work, you probably want this one.
5492
lt_cv_deplibs_check_method=pass_all
5496
lt_cv_deplibs_check_method=pass_all
5500
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5501
lt_cv_file_magic_cmd='/usr/bin/file -L'
5502
lt_cv_file_magic_test_file=/shlib/libc.so
5506
# func_win32_libid is a shell function defined in ltmain.sh
5507
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5508
lt_cv_file_magic_cmd='func_win32_libid'
5512
# Base MSYS/MinGW do not provide the 'file' command needed by
5513
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5514
# unless we find 'file', for example because we are cross-compiling.
5515
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5516
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5517
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5518
lt_cv_file_magic_cmd='func_win32_libid'
5520
# Keep this pattern in sync with the one in func_win32_libid.
5521
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5522
lt_cv_file_magic_cmd='$OBJDUMP -f'
5527
# use the weaker test based on 'objdump'. See mingw*.
5528
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5529
lt_cv_file_magic_cmd='$OBJDUMP -f'
5532
darwin* | rhapsody*)
5533
lt_cv_deplibs_check_method=pass_all
5536
freebsd* | dragonfly*)
5537
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5540
# Not sure whether the presence of OpenBSD here was a mistake.
5541
# Let's accept both of them until this is cleared up.
5542
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5543
lt_cv_file_magic_cmd=/usr/bin/file
5544
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5548
lt_cv_deplibs_check_method=pass_all
5553
lt_cv_deplibs_check_method=pass_all
5557
lt_cv_deplibs_check_method=pass_all
5560
hpux10.20* | hpux11*)
5561
lt_cv_file_magic_cmd=/usr/bin/file
5564
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5565
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5568
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]'
5569
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5572
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5573
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5579
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5580
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5583
irix5* | irix6* | nonstopux*)
5585
*-32|*"-32 ") libmagic=32-bit;;
5586
*-n32|*"-n32 ") libmagic=N32;;
5587
*-64|*"-64 ") libmagic=64-bit;;
5588
*) libmagic=never-match;;
5590
lt_cv_deplibs_check_method=pass_all
5593
# This must be glibc/ELF.
5594
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5595
lt_cv_deplibs_check_method=pass_all
5599
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5600
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5602
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5607
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5608
lt_cv_file_magic_cmd=/usr/bin/file
5609
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5613
lt_cv_deplibs_check_method=pass_all
5617
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5618
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5620
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5624
osf3* | osf4* | osf5*)
5625
lt_cv_deplibs_check_method=pass_all
5629
lt_cv_deplibs_check_method=pass_all
5633
lt_cv_deplibs_check_method=pass_all
5636
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5637
lt_cv_deplibs_check_method=pass_all
5641
case $host_vendor in
5643
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]'
5644
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5647
lt_cv_deplibs_check_method=pass_all
5650
lt_cv_file_magic_cmd='/bin/file'
5651
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5654
lt_cv_file_magic_cmd='/bin/file'
5655
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5656
lt_cv_file_magic_test_file=/lib/libc.so
5659
lt_cv_deplibs_check_method=pass_all
5662
lt_cv_deplibs_check_method=pass_all
5668
lt_cv_deplibs_check_method=pass_all
5673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5674
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5678
if test "$build" = "$host"; then
5681
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5684
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5690
file_magic_cmd=$lt_cv_file_magic_cmd
5691
deplibs_check_method=$lt_cv_deplibs_check_method
5692
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5715
if test -n "$ac_tool_prefix"; then
5716
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5717
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5718
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5719
$as_echo_n "checking for $ac_word... " >&6; }
5720
if ${ac_cv_prog_DLLTOOL+:} false; then :
5721
$as_echo_n "(cached) " >&6
5723
if test -n "$DLLTOOL"; then
5724
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5726
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730
test -z "$as_dir" && as_dir=.
5731
for ac_exec_ext in '' $ac_executable_extensions; do
5732
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5734
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743
DLLTOOL=$ac_cv_prog_DLLTOOL
5744
if test -n "$DLLTOOL"; then
5745
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5746
$as_echo "$DLLTOOL" >&6; }
5748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5749
$as_echo "no" >&6; }
5754
if test -z "$ac_cv_prog_DLLTOOL"; then
5755
ac_ct_DLLTOOL=$DLLTOOL
5756
# Extract the first word of "dlltool", so it can be a program name with args.
5757
set dummy dlltool; ac_word=$2
5758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5759
$as_echo_n "checking for $ac_word... " >&6; }
5760
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5761
$as_echo_n "(cached) " >&6
5763
if test -n "$ac_ct_DLLTOOL"; then
5764
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5766
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770
test -z "$as_dir" && as_dir=.
5771
for ac_exec_ext in '' $ac_executable_extensions; do
5772
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5773
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5774
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5783
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5784
if test -n "$ac_ct_DLLTOOL"; then
5785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5786
$as_echo "$ac_ct_DLLTOOL" >&6; }
5788
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5789
$as_echo "no" >&6; }
5792
if test "x$ac_ct_DLLTOOL" = x; then
5795
case $cross_compiling:$ac_tool_warned in
5797
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5798
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5799
ac_tool_warned=yes ;;
5801
DLLTOOL=$ac_ct_DLLTOOL
5804
DLLTOOL="$ac_cv_prog_DLLTOOL"
5807
test -z "$DLLTOOL" && DLLTOOL=dlltool
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5819
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5820
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5821
$as_echo_n "(cached) " >&6
5823
lt_cv_sharedlib_from_linklib_cmd='unknown'
5826
cygwin* | mingw* | pw32* | cegcc*)
5827
# two different shell functions defined in ltmain.sh
5828
# decide which to use based on capabilities of $DLLTOOL
5829
case `$DLLTOOL --help 2>&1` in
5830
*--identify-strict*)
5831
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5834
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5839
# fallback: assume linklib IS sharedlib
5840
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5845
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5846
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5847
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5848
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5857
if test -n "$ac_tool_prefix"; then
5860
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5861
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5863
$as_echo_n "checking for $ac_word... " >&6; }
5864
if ${ac_cv_prog_AR+:} false; then :
5865
$as_echo_n "(cached) " >&6
5867
if test -n "$AR"; then
5868
ac_cv_prog_AR="$AR" # Let the user override the test.
5870
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5874
test -z "$as_dir" && as_dir=.
5875
for ac_exec_ext in '' $ac_executable_extensions; do
5876
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5877
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5878
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5888
if test -n "$AR"; then
5889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5890
$as_echo "$AR" >&6; }
5892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5893
$as_echo "no" >&6; }
5897
test -n "$AR" && break
5900
if test -z "$AR"; then
5904
# Extract the first word of "$ac_prog", so it can be a program name with args.
5905
set dummy $ac_prog; ac_word=$2
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5907
$as_echo_n "checking for $ac_word... " >&6; }
5908
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5909
$as_echo_n "(cached) " >&6
5911
if test -n "$ac_ct_AR"; then
5912
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5914
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918
test -z "$as_dir" && as_dir=.
5919
for ac_exec_ext in '' $ac_executable_extensions; do
5920
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5921
ac_cv_prog_ac_ct_AR="$ac_prog"
5922
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5932
if test -n "$ac_ct_AR"; then
5933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5934
$as_echo "$ac_ct_AR" >&6; }
5936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5937
$as_echo "no" >&6; }
5941
test -n "$ac_ct_AR" && break
5944
if test "x$ac_ct_AR" = x; then
5947
case $cross_compiling:$ac_tool_warned in
5949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5951
ac_tool_warned=yes ;;
5970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5971
$as_echo_n "checking for archiver @FILE support... " >&6; }
5972
if ${lt_cv_ar_at_file+:} false; then :
5973
$as_echo_n "(cached) " >&6
5976
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5977
/* end confdefs.h. */
5987
if ac_fn_c_try_compile "$LINENO"; then :
5988
echo conftest.$ac_objext > conftest.lst
5989
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5990
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5991
(eval $lt_ar_try) 2>&5
5993
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5994
test $ac_status = 0; }
5995
if test "$ac_status" -eq 0; then
5996
# Ensure the archiver fails upon bogus file names.
5997
rm -f conftest.$ac_objext libconftest.a
5998
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5999
(eval $lt_ar_try) 2>&5
6001
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6002
test $ac_status = 0; }
6003
if test "$ac_status" -ne 0; then
6007
rm -f conftest.* libconftest.a
6010
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6014
$as_echo "$lt_cv_ar_at_file" >&6; }
6016
if test "x$lt_cv_ar_at_file" = xno; then
6019
archiver_list_spec=$lt_cv_ar_at_file
6028
if test -n "$ac_tool_prefix"; then
6029
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6030
set dummy ${ac_tool_prefix}strip; ac_word=$2
6031
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6032
$as_echo_n "checking for $ac_word... " >&6; }
6033
if ${ac_cv_prog_STRIP+:} false; then :
6034
$as_echo_n "(cached) " >&6
6036
if test -n "$STRIP"; then
6037
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6039
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6043
test -z "$as_dir" && as_dir=.
6044
for ac_exec_ext in '' $ac_executable_extensions; do
6045
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6046
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6047
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6056
STRIP=$ac_cv_prog_STRIP
6057
if test -n "$STRIP"; then
6058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6059
$as_echo "$STRIP" >&6; }
6061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6062
$as_echo "no" >&6; }
6067
if test -z "$ac_cv_prog_STRIP"; then
6069
# Extract the first word of "strip", so it can be a program name with args.
6070
set dummy strip; ac_word=$2
6071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6072
$as_echo_n "checking for $ac_word... " >&6; }
6073
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6074
$as_echo_n "(cached) " >&6
6076
if test -n "$ac_ct_STRIP"; then
6077
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6079
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6083
test -z "$as_dir" && as_dir=.
6084
for ac_exec_ext in '' $ac_executable_extensions; do
6085
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6086
ac_cv_prog_ac_ct_STRIP="strip"
6087
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6096
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6097
if test -n "$ac_ct_STRIP"; then
6098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6099
$as_echo "$ac_ct_STRIP" >&6; }
6101
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6102
$as_echo "no" >&6; }
6105
if test "x$ac_ct_STRIP" = x; then
6108
case $cross_compiling:$ac_tool_warned in
6110
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6111
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6112
ac_tool_warned=yes ;;
6117
STRIP="$ac_cv_prog_STRIP"
6120
test -z "$STRIP" && STRIP=:
6127
if test -n "$ac_tool_prefix"; then
6128
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6129
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131
$as_echo_n "checking for $ac_word... " >&6; }
6132
if ${ac_cv_prog_RANLIB+:} false; then :
6133
$as_echo_n "(cached) " >&6
6135
if test -n "$RANLIB"; then
6136
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6138
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142
test -z "$as_dir" && as_dir=.
6143
for ac_exec_ext in '' $ac_executable_extensions; do
6144
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6145
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6146
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6155
RANLIB=$ac_cv_prog_RANLIB
6156
if test -n "$RANLIB"; then
6157
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6158
$as_echo "$RANLIB" >&6; }
6160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161
$as_echo "no" >&6; }
6166
if test -z "$ac_cv_prog_RANLIB"; then
6167
ac_ct_RANLIB=$RANLIB
6168
# Extract the first word of "ranlib", so it can be a program name with args.
6169
set dummy ranlib; ac_word=$2
6170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6171
$as_echo_n "checking for $ac_word... " >&6; }
6172
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6173
$as_echo_n "(cached) " >&6
6175
if test -n "$ac_ct_RANLIB"; then
6176
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6178
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6182
test -z "$as_dir" && as_dir=.
6183
for ac_exec_ext in '' $ac_executable_extensions; do
6184
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6185
ac_cv_prog_ac_ct_RANLIB="ranlib"
6186
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6195
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6196
if test -n "$ac_ct_RANLIB"; then
6197
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6198
$as_echo "$ac_ct_RANLIB" >&6; }
6200
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6201
$as_echo "no" >&6; }
6204
if test "x$ac_ct_RANLIB" = x; then
6207
case $cross_compiling:$ac_tool_warned in
6209
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6210
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6211
ac_tool_warned=yes ;;
6213
RANLIB=$ac_ct_RANLIB
6216
RANLIB="$ac_cv_prog_RANLIB"
6219
test -z "$RANLIB" && RANLIB=:
6226
# Determine commands to create old-style static archives.
6227
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6228
old_postinstall_cmds='chmod 644 $oldlib'
6229
old_postuninstall_cmds=
6231
if test -n "$RANLIB"; then
6234
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6237
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6240
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6245
lock_old_archive_extraction=yes ;;
6247
lock_old_archive_extraction=no ;;
6288
# If no C compiler was specified, use CC.
6291
# If no C compiler flags were specified, use CFLAGS.
6292
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6294
# Allow CC to be a program name with arguments.
6298
# Check for command to grab the raw symbol name followed by C symbol from nm.
6299
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6300
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6301
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6302
$as_echo_n "(cached) " >&6
6305
# These are sane defaults that work on at least a few old systems.
6306
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6308
# Character class describing NM global symbol codes.
6309
symcode='[BCDEGRST]'
6311
# Regexp to match symbols that can be accessed directly from C.
6312
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6314
# Define system-specific variables.
6319
cygwin* | mingw* | pw32* | cegcc*)
6320
symcode='[ABCDGISTW]'
6323
if test "$host_cpu" = ia64; then
6324
symcode='[ABCDEGRST]'
6328
symcode='[BCDEGRST]'
6331
symcode='[BCDEGQRST]'
6342
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6350
# If we're using GNU nm, then use its standard symbol codes.
6351
case `$NM -V 2>&1` in
6352
*GNU* | *'with BFD'*)
6353
symcode='[ABCDGIRSTW]' ;;
6356
# Transform an extracted symbol line into a proper C declaration.
6357
# Some systems (esp. on ia64) link data and code symbols differently,
6358
# so use this general approach.
6359
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6361
# Transform an extracted symbol line into symbol name and symbol address
6362
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6363
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'"
6365
# Handle CRLF in mingw tool chain
6369
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6373
# Try without a prefix underscore, then with it.
6374
for ac_symprfx in "" "_"; do
6376
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6377
symxfrm="\\1 $ac_symprfx\\2 \\2"
6379
# Write the raw and C identifiers.
6380
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6381
# Fake it for dumpbin and say T for any non-static function
6382
# and D for any global variable.
6383
# Also find C++ and __fastcall symbols from MSVC++,
6384
# which start with @ or ?.
6385
lt_cv_sys_global_symbol_pipe="$AWK '"\
6386
" {last_section=section; section=\$ 3};"\
6387
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6388
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6389
" \$ 0!~/External *\|/{next};"\
6390
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6391
" {if(hide[section]) next};"\
6392
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6393
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6394
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6395
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6396
" ' prfx=^$ac_symprfx"
6398
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6400
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6402
# Check to see that the pipe works correctly.
6406
cat > conftest.$ac_ext <<_LT_EOF
6411
void nm_test_func(void);
6412
void nm_test_func(void){}
6416
int main(){nm_test_var='a';nm_test_func();return(0);}
6419
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6420
(eval $ac_compile) 2>&5
6422
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6423
test $ac_status = 0; }; then
6424
# Now try to grab the symbols.
6426
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6427
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6429
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6430
test $ac_status = 0; } && test -s "$nlist"; then
6431
# Try sorting and uniquifying the output.
6432
if sort "$nlist" | uniq > "$nlist"T; then
6433
mv -f "$nlist"T "$nlist"
6438
# Make sure that we snagged all the symbols we need.
6439
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6440
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6441
cat <<_LT_EOF > conftest.$ac_ext
6442
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6443
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6444
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6445
relocations are performed -- see ld's documentation on pseudo-relocs. */
6446
# define LT_DLSYM_CONST
6447
#elif defined(__osf__)
6448
/* This system does not cope well with relocations in const data. */
6449
# define LT_DLSYM_CONST
6451
# define LT_DLSYM_CONST const
6459
# Now generate the symbol file.
6460
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6462
cat <<_LT_EOF >> conftest.$ac_ext
6464
/* The mapping between symbol names and symbols. */
6465
LT_DLSYM_CONST struct {
6469
lt__PROGRAM__LTX_preloaded_symbols[] =
6471
{ "@PROGRAM@", (void *) 0 },
6473
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6474
cat <<\_LT_EOF >> conftest.$ac_ext
6478
/* This works around a problem in FreeBSD linker */
6479
#ifdef FREEBSD_WORKAROUND
6480
static const void *lt_preloaded_setup() {
6481
return lt__PROGRAM__LTX_preloaded_symbols;
6489
# Now try linking the two files.
6490
mv conftest.$ac_objext conftstm.$ac_objext
6491
lt_globsym_save_LIBS=$LIBS
6492
lt_globsym_save_CFLAGS=$CFLAGS
6493
LIBS="conftstm.$ac_objext"
6494
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6495
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6496
(eval $ac_link) 2>&5
6498
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6499
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6502
LIBS=$lt_globsym_save_LIBS
6503
CFLAGS=$lt_globsym_save_CFLAGS
6505
echo "cannot find nm_test_func in $nlist" >&5
6508
echo "cannot find nm_test_var in $nlist" >&5
6511
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6514
echo "$progname: failed program was:" >&5
6515
cat conftest.$ac_ext >&5
6517
rm -rf conftest* conftst*
6519
# Do not use the global_symbol_pipe unless it works.
6520
if test "$pipe_works" = yes; then
6523
lt_cv_sys_global_symbol_pipe=
6529
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6530
lt_cv_sys_global_symbol_to_cdecl=
6532
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6533
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6534
$as_echo "failed" >&6; }
6536
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6537
$as_echo "ok" >&6; }
6540
# Response file support.
6541
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6542
nm_file_list_spec='@'
6543
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6544
nm_file_list_spec='@'
6573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6574
$as_echo_n "checking for sysroot... " >&6; }
6576
# Check whether --with-sysroot was given.
6577
if test "${with_sysroot+set}" = set; then :
6578
withval=$with_sysroot;
6585
case ${with_sysroot} in #(
6587
if test "$GCC" = yes; then
6588
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6592
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6598
$as_echo "${with_sysroot}" >&6; }
6599
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6604
$as_echo "${lt_sysroot:-no}" >&6; }
6610
# Check whether --enable-libtool-lock was given.
6611
if test "${enable_libtool_lock+set}" = set; then :
6612
enableval=$enable_libtool_lock;
6615
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6617
# Some flags need to be propagated to the compiler or linker for good
6621
# Find out which ABI we are using.
6622
echo 'int i;' > conftest.$ac_ext
6623
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6624
(eval $ac_compile) 2>&5
6626
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6627
test $ac_status = 0; }; then
6628
case `/usr/bin/file conftest.$ac_objext` in
6640
# Find out which ABI we are using.
6641
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6642
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6643
(eval $ac_compile) 2>&5
6645
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646
test $ac_status = 0; }; then
6647
if test "$lt_cv_prog_gnu_ld" = yes; then
6648
case `/usr/bin/file conftest.$ac_objext` in
6650
LD="${LD-ld} -melf32bsmip"
6653
LD="${LD-ld} -melf32bmipn32"
6656
LD="${LD-ld} -melf64bmip"
6660
case `/usr/bin/file conftest.$ac_objext` in
6676
x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6677
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6678
# Find out which ABI we are using.
6679
echo 'int i;' > conftest.$ac_ext
6680
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6681
(eval $ac_compile) 2>&5
6683
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6684
test $ac_status = 0; }; then
6685
case `/usr/bin/file conftest.o` in
6688
x86_64-*kfreebsd*-gnu)
6689
LD="${LD-ld} -m elf_i386_fbsd"
6692
LD="${LD-ld} -m elf_i386"
6694
powerpc64le-*linux*)
6695
LD="${LD-ld} -m elf32lppclinux"
6698
LD="${LD-ld} -m elf32ppclinux"
6701
LD="${LD-ld} -m elf_s390"
6704
LD="${LD-ld} -m elf32_sparc"
6710
x86_64-*kfreebsd*-gnu)
6711
LD="${LD-ld} -m elf_x86_64_fbsd"
6714
LD="${LD-ld} -m elf_x86_64"
6717
LD="${LD-ld} -m elf64lppc"
6720
LD="${LD-ld} -m elf64ppc"
6722
s390*-*linux*|s390*-*tpf*)
6723
LD="${LD-ld} -m elf64_s390"
6726
LD="${LD-ld} -m elf64_sparc"
6736
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6737
SAVE_CFLAGS="$CFLAGS"
6738
CFLAGS="$CFLAGS -belf"
6739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6740
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6741
if ${lt_cv_cc_needs_belf+:} false; then :
6742
$as_echo_n "(cached) " >&6
6745
ac_cpp='$CPP $CPPFLAGS'
6746
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6747
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6748
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6750
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6751
/* end confdefs.h. */
6761
if ac_fn_c_try_link "$LINENO"; then :
6762
lt_cv_cc_needs_belf=yes
6764
lt_cv_cc_needs_belf=no
6766
rm -f core conftest.err conftest.$ac_objext \
6767
conftest$ac_exeext conftest.$ac_ext
6769
ac_cpp='$CPP $CPPFLAGS'
6770
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6771
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6772
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6776
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6777
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6778
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6779
CFLAGS="$SAVE_CFLAGS"
6783
# Find out which ABI we are using.
6784
echo 'int i;' > conftest.$ac_ext
6785
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6786
(eval $ac_compile) 2>&5
6788
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6789
test $ac_status = 0; }; then
6790
case `/usr/bin/file conftest.o` in
6792
case $lt_cv_prog_gnu_ld in
6796
LD="${LD-ld} -m elf_x86_64"
6799
LD="${LD-ld} -m elf64_sparc"
6802
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6803
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6808
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6820
need_locks="$enable_libtool_lock"
6822
if test -n "$ac_tool_prefix"; then
6823
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6824
set dummy ${ac_tool_prefix}mt; ac_word=$2
6825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6826
$as_echo_n "checking for $ac_word... " >&6; }
6827
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6828
$as_echo_n "(cached) " >&6
6830
if test -n "$MANIFEST_TOOL"; then
6831
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6833
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837
test -z "$as_dir" && as_dir=.
6838
for ac_exec_ext in '' $ac_executable_extensions; do
6839
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6840
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6841
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6850
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6851
if test -n "$MANIFEST_TOOL"; then
6852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6853
$as_echo "$MANIFEST_TOOL" >&6; }
6855
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6856
$as_echo "no" >&6; }
6861
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6862
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6863
# Extract the first word of "mt", so it can be a program name with args.
6864
set dummy mt; ac_word=$2
6865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6866
$as_echo_n "checking for $ac_word... " >&6; }
6867
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6868
$as_echo_n "(cached) " >&6
6870
if test -n "$ac_ct_MANIFEST_TOOL"; then
6871
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6873
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877
test -z "$as_dir" && as_dir=.
6878
for ac_exec_ext in '' $ac_executable_extensions; do
6879
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6880
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6881
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6890
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6891
if test -n "$ac_ct_MANIFEST_TOOL"; then
6892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6893
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6896
$as_echo "no" >&6; }
6899
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6902
case $cross_compiling:$ac_tool_warned in
6904
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6905
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6906
ac_tool_warned=yes ;;
6908
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6911
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6914
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6915
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6916
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6917
if ${lt_cv_path_mainfest_tool+:} false; then :
6918
$as_echo_n "(cached) " >&6
6920
lt_cv_path_mainfest_tool=no
6921
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6922
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6923
cat conftest.err >&5
6924
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6925
lt_cv_path_mainfest_tool=yes
6929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6930
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6931
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6941
rhapsody* | darwin*)
6942
if test -n "$ac_tool_prefix"; then
6943
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6944
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6946
$as_echo_n "checking for $ac_word... " >&6; }
6947
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6948
$as_echo_n "(cached) " >&6
6950
if test -n "$DSYMUTIL"; then
6951
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6953
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6957
test -z "$as_dir" && as_dir=.
6958
for ac_exec_ext in '' $ac_executable_extensions; do
6959
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6960
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6961
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6970
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6971
if test -n "$DSYMUTIL"; then
6972
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6973
$as_echo "$DSYMUTIL" >&6; }
6975
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976
$as_echo "no" >&6; }
6981
if test -z "$ac_cv_prog_DSYMUTIL"; then
6982
ac_ct_DSYMUTIL=$DSYMUTIL
6983
# Extract the first word of "dsymutil", so it can be a program name with args.
6984
set dummy dsymutil; ac_word=$2
6985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6986
$as_echo_n "checking for $ac_word... " >&6; }
6987
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6988
$as_echo_n "(cached) " >&6
6990
if test -n "$ac_ct_DSYMUTIL"; then
6991
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6993
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6997
test -z "$as_dir" && as_dir=.
6998
for ac_exec_ext in '' $ac_executable_extensions; do
6999
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7000
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7001
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7010
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7011
if test -n "$ac_ct_DSYMUTIL"; then
7012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7013
$as_echo "$ac_ct_DSYMUTIL" >&6; }
7015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7016
$as_echo "no" >&6; }
7019
if test "x$ac_ct_DSYMUTIL" = x; then
7022
case $cross_compiling:$ac_tool_warned in
7024
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7025
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7026
ac_tool_warned=yes ;;
7028
DSYMUTIL=$ac_ct_DSYMUTIL
7031
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7034
if test -n "$ac_tool_prefix"; then
7035
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7036
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7038
$as_echo_n "checking for $ac_word... " >&6; }
7039
if ${ac_cv_prog_NMEDIT+:} false; then :
7040
$as_echo_n "(cached) " >&6
7042
if test -n "$NMEDIT"; then
7043
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7045
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7049
test -z "$as_dir" && as_dir=.
7050
for ac_exec_ext in '' $ac_executable_extensions; do
7051
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7052
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7053
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7062
NMEDIT=$ac_cv_prog_NMEDIT
7063
if test -n "$NMEDIT"; then
7064
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7065
$as_echo "$NMEDIT" >&6; }
7067
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7068
$as_echo "no" >&6; }
7073
if test -z "$ac_cv_prog_NMEDIT"; then
7074
ac_ct_NMEDIT=$NMEDIT
7075
# Extract the first word of "nmedit", so it can be a program name with args.
7076
set dummy nmedit; ac_word=$2
7077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7078
$as_echo_n "checking for $ac_word... " >&6; }
7079
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7080
$as_echo_n "(cached) " >&6
7082
if test -n "$ac_ct_NMEDIT"; then
7083
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7085
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089
test -z "$as_dir" && as_dir=.
7090
for ac_exec_ext in '' $ac_executable_extensions; do
7091
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7092
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7093
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7102
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7103
if test -n "$ac_ct_NMEDIT"; then
7104
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7105
$as_echo "$ac_ct_NMEDIT" >&6; }
7107
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7108
$as_echo "no" >&6; }
7111
if test "x$ac_ct_NMEDIT" = x; then
7114
case $cross_compiling:$ac_tool_warned in
7116
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7117
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7118
ac_tool_warned=yes ;;
7120
NMEDIT=$ac_ct_NMEDIT
7123
NMEDIT="$ac_cv_prog_NMEDIT"
7126
if test -n "$ac_tool_prefix"; then
7127
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7128
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7130
$as_echo_n "checking for $ac_word... " >&6; }
7131
if ${ac_cv_prog_LIPO+:} false; then :
7132
$as_echo_n "(cached) " >&6
7134
if test -n "$LIPO"; then
7135
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7137
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141
test -z "$as_dir" && as_dir=.
7142
for ac_exec_ext in '' $ac_executable_extensions; do
7143
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7145
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7154
LIPO=$ac_cv_prog_LIPO
7155
if test -n "$LIPO"; then
7156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7157
$as_echo "$LIPO" >&6; }
7159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7160
$as_echo "no" >&6; }
7165
if test -z "$ac_cv_prog_LIPO"; then
7167
# Extract the first word of "lipo", so it can be a program name with args.
7168
set dummy lipo; ac_word=$2
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170
$as_echo_n "checking for $ac_word... " >&6; }
7171
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7172
$as_echo_n "(cached) " >&6
7174
if test -n "$ac_ct_LIPO"; then
7175
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7177
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7181
test -z "$as_dir" && as_dir=.
7182
for ac_exec_ext in '' $ac_executable_extensions; do
7183
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7184
ac_cv_prog_ac_ct_LIPO="lipo"
7185
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7194
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7195
if test -n "$ac_ct_LIPO"; then
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7197
$as_echo "$ac_ct_LIPO" >&6; }
7199
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7200
$as_echo "no" >&6; }
7203
if test "x$ac_ct_LIPO" = x; then
7206
case $cross_compiling:$ac_tool_warned in
7208
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7209
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7210
ac_tool_warned=yes ;;
7215
LIPO="$ac_cv_prog_LIPO"
7218
if test -n "$ac_tool_prefix"; then
7219
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7220
set dummy ${ac_tool_prefix}otool; ac_word=$2
7221
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7222
$as_echo_n "checking for $ac_word... " >&6; }
7223
if ${ac_cv_prog_OTOOL+:} false; then :
7224
$as_echo_n "(cached) " >&6
7226
if test -n "$OTOOL"; then
7227
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7229
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7233
test -z "$as_dir" && as_dir=.
7234
for ac_exec_ext in '' $ac_executable_extensions; do
7235
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7236
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7237
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7246
OTOOL=$ac_cv_prog_OTOOL
7247
if test -n "$OTOOL"; then
7248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7249
$as_echo "$OTOOL" >&6; }
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7252
$as_echo "no" >&6; }
7257
if test -z "$ac_cv_prog_OTOOL"; then
7259
# Extract the first word of "otool", so it can be a program name with args.
7260
set dummy otool; ac_word=$2
7261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7262
$as_echo_n "checking for $ac_word... " >&6; }
7263
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7264
$as_echo_n "(cached) " >&6
7266
if test -n "$ac_ct_OTOOL"; then
7267
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7269
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7273
test -z "$as_dir" && as_dir=.
7274
for ac_exec_ext in '' $ac_executable_extensions; do
7275
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7276
ac_cv_prog_ac_ct_OTOOL="otool"
7277
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7286
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7287
if test -n "$ac_ct_OTOOL"; then
7288
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7289
$as_echo "$ac_ct_OTOOL" >&6; }
7291
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292
$as_echo "no" >&6; }
7295
if test "x$ac_ct_OTOOL" = x; then
7298
case $cross_compiling:$ac_tool_warned in
7300
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7301
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7302
ac_tool_warned=yes ;;
7307
OTOOL="$ac_cv_prog_OTOOL"
7310
if test -n "$ac_tool_prefix"; then
7311
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7312
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7313
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7314
$as_echo_n "checking for $ac_word... " >&6; }
7315
if ${ac_cv_prog_OTOOL64+:} false; then :
7316
$as_echo_n "(cached) " >&6
7318
if test -n "$OTOOL64"; then
7319
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7321
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7325
test -z "$as_dir" && as_dir=.
7326
for ac_exec_ext in '' $ac_executable_extensions; do
7327
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7328
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7329
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338
OTOOL64=$ac_cv_prog_OTOOL64
7339
if test -n "$OTOOL64"; then
7340
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7341
$as_echo "$OTOOL64" >&6; }
7343
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7344
$as_echo "no" >&6; }
7349
if test -z "$ac_cv_prog_OTOOL64"; then
7350
ac_ct_OTOOL64=$OTOOL64
7351
# Extract the first word of "otool64", so it can be a program name with args.
7352
set dummy otool64; ac_word=$2
7353
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7354
$as_echo_n "checking for $ac_word... " >&6; }
7355
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7356
$as_echo_n "(cached) " >&6
7358
if test -n "$ac_ct_OTOOL64"; then
7359
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7361
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7365
test -z "$as_dir" && as_dir=.
7366
for ac_exec_ext in '' $ac_executable_extensions; do
7367
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7368
ac_cv_prog_ac_ct_OTOOL64="otool64"
7369
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7378
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7379
if test -n "$ac_ct_OTOOL64"; then
7380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7381
$as_echo "$ac_ct_OTOOL64" >&6; }
7383
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7384
$as_echo "no" >&6; }
7387
if test "x$ac_ct_OTOOL64" = x; then
7390
case $cross_compiling:$ac_tool_warned in
7392
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7393
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7394
ac_tool_warned=yes ;;
7396
OTOOL64=$ac_ct_OTOOL64
7399
OTOOL64="$ac_cv_prog_OTOOL64"
7428
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7429
$as_echo_n "checking for -single_module linker flag... " >&6; }
7430
if ${lt_cv_apple_cc_single_mod+:} false; then :
7431
$as_echo_n "(cached) " >&6
7433
lt_cv_apple_cc_single_mod=no
7434
if test -z "${LT_MULTI_MODULE}"; then
7435
# By default we will add the -single_module flag. You can override
7436
# by either setting the environment variable LT_MULTI_MODULE
7437
# non-empty at configure time, or by adding -multi_module to the
7439
rm -rf libconftest.dylib*
7440
echo "int foo(void){return 1;}" > conftest.c
7441
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7442
-dynamiclib -Wl,-single_module conftest.c" >&5
7443
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7444
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7446
# If there is a non-empty error log, and "single_module"
7447
# appears in it, assume the flag caused a linker warning
7448
if test -s conftest.err && $GREP single_module conftest.err; then
7449
cat conftest.err >&5
7450
# Otherwise, if the output was created with a 0 exit code from
7451
# the compiler, it worked.
7452
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7453
lt_cv_apple_cc_single_mod=yes
7455
cat conftest.err >&5
7457
rm -rf libconftest.dylib*
7461
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7462
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7464
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7465
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7466
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7467
$as_echo_n "(cached) " >&6
7469
lt_cv_ld_exported_symbols_list=no
7470
save_LDFLAGS=$LDFLAGS
7471
echo "_main" > conftest.sym
7472
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7473
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474
/* end confdefs.h. */
7484
if ac_fn_c_try_link "$LINENO"; then :
7485
lt_cv_ld_exported_symbols_list=yes
7487
lt_cv_ld_exported_symbols_list=no
7489
rm -f core conftest.err conftest.$ac_objext \
7490
conftest$ac_exeext conftest.$ac_ext
7491
LDFLAGS="$save_LDFLAGS"
7494
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7495
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7498
$as_echo_n "checking for -force_load linker flag... " >&6; }
7499
if ${lt_cv_ld_force_load+:} false; then :
7500
$as_echo_n "(cached) " >&6
7502
lt_cv_ld_force_load=no
7503
cat > conftest.c << _LT_EOF
7504
int forced_loaded() { return 2;}
7506
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7507
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7508
echo "$AR cru libconftest.a conftest.o" >&5
7509
$AR cru libconftest.a conftest.o 2>&5
7510
echo "$RANLIB libconftest.a" >&5
7511
$RANLIB libconftest.a 2>&5
7512
cat > conftest.c << _LT_EOF
7513
int main() { return 0;}
7515
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7516
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7518
if test -s conftest.err && $GREP force_load conftest.err; then
7519
cat conftest.err >&5
7520
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7521
lt_cv_ld_force_load=yes
7523
cat conftest.err >&5
7525
rm -f conftest.err libconftest.a conftest conftest.c
7526
rm -rf conftest.dSYM
7529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7530
$as_echo "$lt_cv_ld_force_load" >&6; }
7532
rhapsody* | darwin1.[012])
7533
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7535
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7536
darwin*) # darwin 5.x on
7537
# if running on 10.5 or later, the deployment target defaults
7538
# to the OS version, if on x86, and 10.4, the deployment
7539
# target defaults to 10.4. Don't you love it?
7540
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7541
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7542
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7544
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7546
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7550
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7551
_lt_dar_single_mod='$single_module'
7553
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7554
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7556
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7558
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7559
_lt_dsymutil='~$DSYMUTIL $lib || :'
7567
ac_cpp='$CPP $CPPFLAGS'
7568
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7569
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7570
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7571
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7572
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7573
# On Suns, sometimes $CPP names a directory.
7574
if test -n "$CPP" && test -d "$CPP"; then
7577
if test -z "$CPP"; then
7578
if ${ac_cv_prog_CPP+:} false; then :
7579
$as_echo_n "(cached) " >&6
7581
# Double quotes because CPP needs to be expanded
7582
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7585
for ac_c_preproc_warn_flag in '' yes
7587
# Use a header file that comes with gcc, so configuring glibc
7588
# with a fresh cross-compiler works.
7589
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7590
# <limits.h> exists even on freestanding compilers.
7591
# On the NeXT, cc -E runs the code through the compiler's parser,
7592
# not just through cpp. "Syntax error" is here to catch this case.
7593
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7594
/* end confdefs.h. */
7596
# include <limits.h>
7598
# include <assert.h>
7602
if ac_fn_c_try_cpp "$LINENO"; then :
7605
# Broken: fails on valid input.
7608
rm -f conftest.err conftest.i conftest.$ac_ext
7610
# OK, works on sane cases. Now check whether nonexistent headers
7611
# can be detected and how.
7612
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613
/* end confdefs.h. */
7614
#include <ac_nonexistent.h>
7616
if ac_fn_c_try_cpp "$LINENO"; then :
7617
# Broken: success on invalid input.
7620
# Passes both tests.
7624
rm -f conftest.err conftest.i conftest.$ac_ext
7627
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7628
rm -f conftest.i conftest.err conftest.$ac_ext
7629
if $ac_preproc_ok; then :
7641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7642
$as_echo "$CPP" >&6; }
7644
for ac_c_preproc_warn_flag in '' yes
7646
# Use a header file that comes with gcc, so configuring glibc
7647
# with a fresh cross-compiler works.
7648
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7649
# <limits.h> exists even on freestanding compilers.
7650
# On the NeXT, cc -E runs the code through the compiler's parser,
7651
# not just through cpp. "Syntax error" is here to catch this case.
7652
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7653
/* end confdefs.h. */
7655
# include <limits.h>
7657
# include <assert.h>
7661
if ac_fn_c_try_cpp "$LINENO"; then :
7664
# Broken: fails on valid input.
7667
rm -f conftest.err conftest.i conftest.$ac_ext
7669
# OK, works on sane cases. Now check whether nonexistent headers
7670
# can be detected and how.
7671
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7672
/* end confdefs.h. */
7673
#include <ac_nonexistent.h>
7675
if ac_fn_c_try_cpp "$LINENO"; then :
7676
# Broken: success on invalid input.
7679
# Passes both tests.
7683
rm -f conftest.err conftest.i conftest.$ac_ext
7686
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7687
rm -f conftest.i conftest.err conftest.$ac_ext
7688
if $ac_preproc_ok; then :
7691
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7692
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7693
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7694
See \`config.log' for more details" "$LINENO" 5; }
7698
ac_cpp='$CPP $CPPFLAGS'
7699
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7700
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7701
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7704
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7705
$as_echo_n "checking for ANSI C header files... " >&6; }
7706
if ${ac_cv_header_stdc+:} false; then :
7707
$as_echo_n "(cached) " >&6
7709
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7710
/* end confdefs.h. */
7724
if ac_fn_c_try_compile "$LINENO"; then :
7725
ac_cv_header_stdc=yes
7727
ac_cv_header_stdc=no
7729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7731
if test $ac_cv_header_stdc = yes; then
7732
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7734
/* end confdefs.h. */
7738
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7739
$EGREP "memchr" >/dev/null 2>&1; then :
7742
ac_cv_header_stdc=no
7748
if test $ac_cv_header_stdc = yes; then
7749
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7750
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7751
/* end confdefs.h. */
7755
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7756
$EGREP "free" >/dev/null 2>&1; then :
7759
ac_cv_header_stdc=no
7765
if test $ac_cv_header_stdc = yes; then
7766
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7767
if test "$cross_compiling" = yes; then :
7770
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7771
/* end confdefs.h. */
7774
#if ((' ' & 0x0FF) == 0x020)
7775
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7776
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7778
# define ISLOWER(c) \
7779
(('a' <= (c) && (c) <= 'i') \
7780
|| ('j' <= (c) && (c) <= 'r') \
7781
|| ('s' <= (c) && (c) <= 'z'))
7782
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7785
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7790
for (i = 0; i < 256; i++)
7791
if (XOR (islower (i), ISLOWER (i))
7792
|| toupper (i) != TOUPPER (i))
7797
if ac_fn_c_try_run "$LINENO"; then :
7800
ac_cv_header_stdc=no
7802
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7803
conftest.$ac_objext conftest.beam conftest.$ac_ext
7808
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7809
$as_echo "$ac_cv_header_stdc" >&6; }
7810
if test $ac_cv_header_stdc = yes; then
7812
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7816
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7817
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7818
inttypes.h stdint.h unistd.h
7820
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7821
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7823
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7824
cat >>confdefs.h <<_ACEOF
7825
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7833
for ac_header in dlfcn.h
7835
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7837
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7838
cat >>confdefs.h <<_ACEOF
7839
#define HAVE_DLFCN_H 1
7851
# Check whether --enable-static was given.
7852
if test "${enable_static+set}" = set; then :
7853
enableval=$enable_static; p=${PACKAGE-default}
7855
yes) enable_static=yes ;;
7856
no) enable_static=no ;;
7859
# Look at the argument we got. We use all the common list separators.
7860
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7861
for pkg in $enableval; do
7863
if test "X$pkg" = "X$p"; then
7889
# Check whether --enable-shared was given.
7890
if test "${enable_shared+set}" = set; then :
7891
enableval=$enable_shared; p=${PACKAGE-default}
7893
yes) enable_shared=yes ;;
7894
no) enable_shared=no ;;
7897
# Look at the argument we got. We use all the common list separators.
7898
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7899
for pkg in $enableval; do
7901
if test "X$pkg" = "X$p"; then
7922
# Check whether --with-pic was given.
7923
if test "${with_pic+set}" = set; then :
7924
withval=$with_pic; lt_p=${PACKAGE-default}
7926
yes|no) pic_mode=$withval ;;
7929
# Look at the argument we got. We use all the common list separators.
7930
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7931
for lt_pkg in $withval; do
7933
if test "X$lt_pkg" = "X$lt_p"; then
7945
test -z "$pic_mode" && pic_mode=default
7953
# Check whether --enable-fast-install was given.
7954
if test "${enable_fast_install+set}" = set; then :
7955
enableval=$enable_fast_install; p=${PACKAGE-default}
7957
yes) enable_fast_install=yes ;;
7958
no) enable_fast_install=no ;;
7960
enable_fast_install=no
7961
# Look at the argument we got. We use all the common list separators.
7962
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7963
for pkg in $enableval; do
7965
if test "X$pkg" = "X$p"; then
7966
enable_fast_install=yes
7973
enable_fast_install=yes
7986
# This can be used to rebuild libtool when needed
7987
LIBTOOL_DEPS="$ltmain"
7989
# Always use our own libtool.
7990
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8021
test -z "$LN_S" && LN_S="ln -s"
8036
if test -n "${ZSH_VERSION+set}" ; then
8037
setopt NO_GLOB_SUBST
8040
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8041
$as_echo_n "checking for objdir... " >&6; }
8042
if ${lt_cv_objdir+:} false; then :
8043
$as_echo_n "(cached) " >&6
8045
rm -f .libs 2>/dev/null
8046
mkdir .libs 2>/dev/null
8047
if test -d .libs; then
8050
# MS-DOS does not allow filenames that begin with a dot.
8053
rmdir .libs 2>/dev/null
8055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8056
$as_echo "$lt_cv_objdir" >&6; }
8057
objdir=$lt_cv_objdir
8063
cat >>confdefs.h <<_ACEOF
8064
#define LT_OBJDIR "$lt_cv_objdir/"
8072
# AIX sometimes has problems with the GCC collect2 program. For some
8073
# reason, if we set the COLLECT_NAMES environment variable, the problems
8074
# vanish in a puff of smoke.
8075
if test "X${COLLECT_NAMES+set}" != Xset; then
8077
export COLLECT_NAMES
8084
can_build_shared=yes
8086
# All known linkers require a `.a' archive for static linking (except MSVC,
8087
# which needs '.lib').
8090
with_gnu_ld="$lt_cv_prog_gnu_ld"
8093
old_CFLAGS="$CFLAGS"
8095
# Set sane defaults for various variables
8096
test -z "$CC" && CC=cc
8097
test -z "$LTCC" && LTCC=$CC
8098
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8099
test -z "$LD" && LD=ld
8100
test -z "$ac_objext" && ac_objext=o
8102
for cc_temp in $compiler""; do
8104
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8105
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8110
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8113
# Only perform the check for file, if the check method requires it
8114
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8115
case $deplibs_check_method in
8117
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8119
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8120
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8121
$as_echo_n "(cached) " >&6
8125
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8128
lt_save_MAGIC_CMD="$MAGIC_CMD"
8129
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8130
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8131
for ac_dir in $ac_dummy; do
8133
test -z "$ac_dir" && ac_dir=.
8134
if test -f $ac_dir/${ac_tool_prefix}file; then
8135
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8136
if test -n "$file_magic_test_file"; then
8137
case $deplibs_check_method in
8139
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8140
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8141
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8142
$EGREP "$file_magic_regex" > /dev/null; then
8147
*** Warning: the command libtool uses to detect shared libraries,
8148
*** $file_magic_cmd, produces output that libtool cannot recognize.
8149
*** The result is that libtool may fail to recognize shared libraries
8150
*** as such. This will affect the creation of libtool libraries that
8151
*** depend on shared libraries, but programs linked with such libtool
8152
*** libraries will work regardless of this problem. Nevertheless, you
8153
*** may want to report the problem to your system manager and/or to
8154
*** bug-libtool@gnu.org
8164
MAGIC_CMD="$lt_save_MAGIC_CMD"
8169
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8170
if test -n "$MAGIC_CMD"; then
8171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8172
$as_echo "$MAGIC_CMD" >&6; }
8174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175
$as_echo "no" >&6; }
8182
if test -z "$lt_cv_path_MAGIC_CMD"; then
8183
if test -n "$ac_tool_prefix"; then
8184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8185
$as_echo_n "checking for file... " >&6; }
8186
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8187
$as_echo_n "(cached) " >&6
8191
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8194
lt_save_MAGIC_CMD="$MAGIC_CMD"
8195
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8196
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8197
for ac_dir in $ac_dummy; do
8199
test -z "$ac_dir" && ac_dir=.
8200
if test -f $ac_dir/file; then
8201
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8202
if test -n "$file_magic_test_file"; then
8203
case $deplibs_check_method in
8205
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8206
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8207
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8208
$EGREP "$file_magic_regex" > /dev/null; then
8213
*** Warning: the command libtool uses to detect shared libraries,
8214
*** $file_magic_cmd, produces output that libtool cannot recognize.
8215
*** The result is that libtool may fail to recognize shared libraries
8216
*** as such. This will affect the creation of libtool libraries that
8217
*** depend on shared libraries, but programs linked with such libtool
8218
*** libraries will work regardless of this problem. Nevertheless, you
8219
*** may want to report the problem to your system manager and/or to
8220
*** bug-libtool@gnu.org
8230
MAGIC_CMD="$lt_save_MAGIC_CMD"
8235
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8236
if test -n "$MAGIC_CMD"; then
8237
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8238
$as_echo "$MAGIC_CMD" >&6; }
8240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8241
$as_echo "no" >&6; }
8254
# Use C for the default configuration in the libtool script
8258
ac_cpp='$CPP $CPPFLAGS'
8259
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8260
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8261
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8264
# Source file extension for C test sources.
8267
# Object file extension for compiled C test sources.
8271
# Code to be used in simple compile tests
8272
lt_simple_compile_test_code="int some_variable = 0;"
8274
# Code to be used in simple link tests
8275
lt_simple_link_test_code='int main(){return(0);}'
8283
# If no C compiler was specified, use CC.
8286
# If no C compiler flags were specified, use CFLAGS.
8287
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8289
# Allow CC to be a program name with arguments.
8292
# Save the default compiler, since it gets overwritten when the other
8293
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8294
compiler_DEFAULT=$CC
8296
# save warnings/boilerplate of simple test code
8297
ac_outfile=conftest.$ac_objext
8298
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8299
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8300
_lt_compiler_boilerplate=`cat conftest.err`
8303
ac_outfile=conftest.$ac_objext
8304
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8305
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8306
_lt_linker_boilerplate=`cat conftest.err`
8311
## There is no encapsulation within the following macros, do not change
8312
## the running order or otherwise move them around unless you know exactly
8313
## what you are doing...
8314
if test -n "$compiler"; then
8316
lt_prog_compiler_no_builtin_flag=
8318
if test "$GCC" = yes; then
8319
case $cc_basename in
8321
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8323
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8327
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8328
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8329
$as_echo_n "(cached) " >&6
8331
lt_cv_prog_compiler_rtti_exceptions=no
8332
ac_outfile=conftest.$ac_objext
8333
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8334
lt_compiler_flag="-fno-rtti -fno-exceptions"
8335
# Insert the option either (1) after the last *FLAGS variable, or
8336
# (2) before a word containing "conftest.", or (3) at the end.
8337
# Note that $ac_compile itself does not contain backslashes and begins
8338
# with a dollar sign (not a hyphen), so the echo should work correctly.
8339
# The option is referenced via a variable to avoid confusing sed.
8340
lt_compile=`echo "$ac_compile" | $SED \
8341
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8342
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8343
-e 's:$: $lt_compiler_flag:'`
8344
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8345
(eval "$lt_compile" 2>conftest.err)
8347
cat conftest.err >&5
8348
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349
if (exit $ac_status) && test -s "$ac_outfile"; then
8350
# The compiler can only warn and ignore the option if not recognized
8351
# So say no if there are warnings other than the usual output.
8352
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8353
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8354
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8355
lt_cv_prog_compiler_rtti_exceptions=yes
8361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8362
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8364
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8365
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8377
lt_prog_compiler_wl=
8378
lt_prog_compiler_pic=
8379
lt_prog_compiler_static=
8382
if test "$GCC" = yes; then
8383
lt_prog_compiler_wl='-Wl,'
8384
lt_prog_compiler_static='-static'
8388
# All AIX code is PIC.
8389
if test "$host_cpu" = ia64; then
8390
# AIX 5 now supports IA64 processor
8391
lt_prog_compiler_static='-Bstatic'
8398
# see comment about AmigaOS4 .so support
8399
lt_prog_compiler_pic='-fPIC'
8402
# FIXME: we need at least 68020 code to build shared libraries, but
8403
# adding the `-m68020' flag to GCC prevents building anything better,
8405
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8410
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8411
# PIC is the default for these OSes.
8414
mingw* | cygwin* | pw32* | os2* | cegcc*)
8415
# This hack is so that the source file can tell whether it is being
8416
# built for inclusion in a dll (and should export symbols for example).
8417
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8418
# (--disable-auto-import) libraries
8419
lt_prog_compiler_pic='-DDLL_EXPORT'
8422
darwin* | rhapsody*)
8423
# PIC is the default on this platform
8424
# Common symbols not allowed in MH_DYLIB files
8425
lt_prog_compiler_pic='-fno-common'
8429
# PIC is the default for Haiku.
8430
# The "-static" flag exists, but is broken.
8431
lt_prog_compiler_static=
8435
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8436
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8437
# sets the default TLS model and affects inlining.
8443
lt_prog_compiler_pic='-fPIC'
8449
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8450
# Instead, we relocate shared libraries at runtime.
8454
# Just because we use GCC doesn't mean we suddenly get shared libraries
8455
# on systems that don't support them.
8456
lt_prog_compiler_can_build_shared=no
8461
# QNX uses GNU C++, but need to define -shared option too, otherwise
8463
lt_prog_compiler_pic='-fPIC -shared'
8467
if test -d /usr/nec; then
8468
lt_prog_compiler_pic=-Kconform_pic
8473
lt_prog_compiler_pic='-fPIC'
8477
case $cc_basename in
8478
nvcc*) # Cuda Compiler Driver 2.2
8479
lt_prog_compiler_wl='-Xlinker '
8480
if test -n "$lt_prog_compiler_pic"; then
8481
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8486
# PORTME Check for flag to pass linker flags through the system compiler.
8489
lt_prog_compiler_wl='-Wl,'
8490
if test "$host_cpu" = ia64; then
8491
# AIX 5 now supports IA64 processor
8492
lt_prog_compiler_static='-Bstatic'
8494
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8498
mingw* | cygwin* | pw32* | os2* | cegcc*)
8499
# This hack is so that the source file can tell whether it is being
8500
# built for inclusion in a dll (and should export symbols for example).
8501
lt_prog_compiler_pic='-DDLL_EXPORT'
8504
hpux9* | hpux10* | hpux11*)
8505
lt_prog_compiler_wl='-Wl,'
8506
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8513
lt_prog_compiler_pic='+Z'
8516
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8517
lt_prog_compiler_static='${wl}-a ${wl}archive'
8520
irix5* | irix6* | nonstopux*)
8521
lt_prog_compiler_wl='-Wl,'
8522
# PIC (with -KPIC) is the default.
8523
lt_prog_compiler_static='-non_shared'
8526
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8527
case $cc_basename in
8528
# old Intel for x86_64 which still supported -KPIC.
8530
lt_prog_compiler_wl='-Wl,'
8531
lt_prog_compiler_pic='-KPIC'
8532
lt_prog_compiler_static='-static'
8534
# icc used to be incompatible with GCC.
8535
# ICC 10 doesn't accept -KPIC any more.
8537
lt_prog_compiler_wl='-Wl,'
8538
lt_prog_compiler_pic='-fPIC'
8539
lt_prog_compiler_static='-static'
8541
# Lahey Fortran 8.1.
8543
lt_prog_compiler_wl='-Wl,'
8544
lt_prog_compiler_pic='--shared'
8545
lt_prog_compiler_static='--static'
8548
# NAG Fortran compiler
8549
lt_prog_compiler_wl='-Wl,-Wl,,'
8550
lt_prog_compiler_pic='-PIC'
8551
lt_prog_compiler_static='-Bstatic'
8553
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8554
# Portland Group compilers (*not* the Pentium gcc compiler,
8555
# which looks to be a dead project)
8556
lt_prog_compiler_wl='-Wl,'
8557
lt_prog_compiler_pic='-fpic'
8558
lt_prog_compiler_static='-Bstatic'
8561
lt_prog_compiler_wl='-Wl,'
8562
# All Alpha code is PIC.
8563
lt_prog_compiler_static='-non_shared'
8565
xl* | bgxl* | bgf* | mpixl*)
8566
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8567
lt_prog_compiler_wl='-Wl,'
8568
lt_prog_compiler_pic='-qpic'
8569
lt_prog_compiler_static='-qstaticlink'
8572
case `$CC -V 2>&1 | sed 5q` in
8573
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8574
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8575
lt_prog_compiler_pic='-KPIC'
8576
lt_prog_compiler_static='-Bstatic'
8577
lt_prog_compiler_wl=''
8579
*Sun\ F* | *Sun*Fortran*)
8580
lt_prog_compiler_pic='-KPIC'
8581
lt_prog_compiler_static='-Bstatic'
8582
lt_prog_compiler_wl='-Qoption ld '
8586
lt_prog_compiler_pic='-KPIC'
8587
lt_prog_compiler_static='-Bstatic'
8588
lt_prog_compiler_wl='-Wl,'
8590
*Intel*\ [CF]*Compiler*)
8591
lt_prog_compiler_wl='-Wl,'
8592
lt_prog_compiler_pic='-fPIC'
8593
lt_prog_compiler_static='-static'
8596
lt_prog_compiler_wl='-Wl,'
8597
lt_prog_compiler_pic='-fpic'
8598
lt_prog_compiler_static='-Bstatic'
8606
lt_prog_compiler_pic='-KPIC'
8607
lt_prog_compiler_static='-Bstatic'
8611
# QNX uses GNU C++, but need to define -shared option too, otherwise
8613
lt_prog_compiler_pic='-fPIC -shared'
8616
osf3* | osf4* | osf5*)
8617
lt_prog_compiler_wl='-Wl,'
8618
# All OSF/1 code is PIC.
8619
lt_prog_compiler_static='-non_shared'
8623
lt_prog_compiler_static='-non_shared'
8627
lt_prog_compiler_pic='-KPIC'
8628
lt_prog_compiler_static='-Bstatic'
8629
case $cc_basename in
8630
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8631
lt_prog_compiler_wl='-Qoption ld ';;
8633
lt_prog_compiler_wl='-Wl,';;
8638
lt_prog_compiler_wl='-Qoption ld '
8639
lt_prog_compiler_pic='-PIC'
8640
lt_prog_compiler_static='-Bstatic'
8643
sysv4 | sysv4.2uw2* | sysv4.3*)
8644
lt_prog_compiler_wl='-Wl,'
8645
lt_prog_compiler_pic='-KPIC'
8646
lt_prog_compiler_static='-Bstatic'
8650
if test -d /usr/nec ;then
8651
lt_prog_compiler_pic='-Kconform_pic'
8652
lt_prog_compiler_static='-Bstatic'
8656
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8657
lt_prog_compiler_wl='-Wl,'
8658
lt_prog_compiler_pic='-KPIC'
8659
lt_prog_compiler_static='-Bstatic'
8663
lt_prog_compiler_wl='-Wl,'
8664
lt_prog_compiler_can_build_shared=no
8668
lt_prog_compiler_pic='-pic'
8669
lt_prog_compiler_static='-Bstatic'
8673
lt_prog_compiler_can_build_shared=no
8679
# For platforms which do not support PIC, -DPIC is meaningless:
8681
lt_prog_compiler_pic=
8684
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8689
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8690
if ${lt_cv_prog_compiler_pic+:} false; then :
8691
$as_echo_n "(cached) " >&6
8693
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8695
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8696
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8697
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8700
# Check to make sure the PIC flag actually works.
8702
if test -n "$lt_prog_compiler_pic"; then
8703
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8704
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8705
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8706
$as_echo_n "(cached) " >&6
8708
lt_cv_prog_compiler_pic_works=no
8709
ac_outfile=conftest.$ac_objext
8710
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8711
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8712
# Insert the option either (1) after the last *FLAGS variable, or
8713
# (2) before a word containing "conftest.", or (3) at the end.
8714
# Note that $ac_compile itself does not contain backslashes and begins
8715
# with a dollar sign (not a hyphen), so the echo should work correctly.
8716
# The option is referenced via a variable to avoid confusing sed.
8717
lt_compile=`echo "$ac_compile" | $SED \
8718
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8719
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8720
-e 's:$: $lt_compiler_flag:'`
8721
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8722
(eval "$lt_compile" 2>conftest.err)
8724
cat conftest.err >&5
8725
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726
if (exit $ac_status) && test -s "$ac_outfile"; then
8727
# The compiler can only warn and ignore the option if not recognized
8728
# So say no if there are warnings other than the usual output.
8729
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8730
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8731
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8732
lt_cv_prog_compiler_pic_works=yes
8738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8739
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8741
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8742
case $lt_prog_compiler_pic in
8744
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8747
lt_prog_compiler_pic=
8748
lt_prog_compiler_can_build_shared=no
8764
# Check to make sure the static flag actually works.
8766
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8768
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8769
if ${lt_cv_prog_compiler_static_works+:} false; then :
8770
$as_echo_n "(cached) " >&6
8772
lt_cv_prog_compiler_static_works=no
8773
save_LDFLAGS="$LDFLAGS"
8774
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8775
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8776
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8777
# The linker can only warn and ignore the option if not recognized
8778
# So say no if there are warnings
8779
if test -s conftest.err; then
8780
# Append any errors to the config.log.
8781
cat conftest.err 1>&5
8782
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8783
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8784
if diff conftest.exp conftest.er2 >/dev/null; then
8785
lt_cv_prog_compiler_static_works=yes
8788
lt_cv_prog_compiler_static_works=yes
8792
LDFLAGS="$save_LDFLAGS"
8795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8796
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8798
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8801
lt_prog_compiler_static=
8810
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8811
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8812
if ${lt_cv_prog_compiler_c_o+:} false; then :
8813
$as_echo_n "(cached) " >&6
8815
lt_cv_prog_compiler_c_o=no
8816
$RM -r conftest 2>/dev/null
8820
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8822
lt_compiler_flag="-o out/conftest2.$ac_objext"
8823
# Insert the option either (1) after the last *FLAGS variable, or
8824
# (2) before a word containing "conftest.", or (3) at the end.
8825
# Note that $ac_compile itself does not contain backslashes and begins
8826
# with a dollar sign (not a hyphen), so the echo should work correctly.
8827
lt_compile=`echo "$ac_compile" | $SED \
8828
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8829
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8830
-e 's:$: $lt_compiler_flag:'`
8831
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8832
(eval "$lt_compile" 2>out/conftest.err)
8834
cat out/conftest.err >&5
8835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8838
# The compiler can only warn and ignore the option if not recognized
8839
# So say no if there are warnings
8840
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8841
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8842
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8843
lt_cv_prog_compiler_c_o=yes
8848
# SGI C++ compiler will create directory out/ii_files/ for
8849
# template instantiation
8850
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8851
$RM out/* && rmdir out
8857
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8858
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8865
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8866
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8867
if ${lt_cv_prog_compiler_c_o+:} false; then :
8868
$as_echo_n "(cached) " >&6
8870
lt_cv_prog_compiler_c_o=no
8871
$RM -r conftest 2>/dev/null
8875
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8877
lt_compiler_flag="-o out/conftest2.$ac_objext"
8878
# Insert the option either (1) after the last *FLAGS variable, or
8879
# (2) before a word containing "conftest.", or (3) at the end.
8880
# Note that $ac_compile itself does not contain backslashes and begins
8881
# with a dollar sign (not a hyphen), so the echo should work correctly.
8882
lt_compile=`echo "$ac_compile" | $SED \
8883
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8884
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8885
-e 's:$: $lt_compiler_flag:'`
8886
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8887
(eval "$lt_compile" 2>out/conftest.err)
8889
cat out/conftest.err >&5
8890
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8891
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8893
# The compiler can only warn and ignore the option if not recognized
8894
# So say no if there are warnings
8895
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8896
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8897
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8898
lt_cv_prog_compiler_c_o=yes
8903
# SGI C++ compiler will create directory out/ii_files/ for
8904
# template instantiation
8905
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8906
$RM out/* && rmdir out
8912
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8913
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8918
hard_links="nottested"
8919
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8920
# do not overwrite the value of need_locks provided by the user
8921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8922
$as_echo_n "checking if we can lock with hard links... " >&6; }
8925
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8927
ln conftest.a conftest.b 2>&5 || hard_links=no
8928
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8930
$as_echo "$hard_links" >&6; }
8931
if test "$hard_links" = no; then
8932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8933
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8946
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8949
allow_undefined_flag=
8950
always_export_symbols=no
8952
archive_expsym_cmds=
8953
compiler_needs_object=no
8954
enable_shared_with_static_runtimes=no
8955
export_dynamic_flag_spec=
8956
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8957
hardcode_automatic=no
8959
hardcode_direct_absolute=no
8960
hardcode_libdir_flag_spec=
8961
hardcode_libdir_separator=
8963
hardcode_shlibpath_var=unsupported
8965
link_all_deplibs=unknown
8968
old_archive_from_new_cmds=
8969
old_archive_from_expsyms_cmds=
8970
thread_safe_flag_spec=
8971
whole_archive_flag_spec=
8972
# include_expsyms should be a list of space-separated symbols to be *always*
8973
# included in the symbol list
8975
# exclude_expsyms can be an extended regexp of symbols to exclude
8976
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8977
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8978
# as well as any symbol that contains `d'.
8979
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8980
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8981
# platforms (ab)use it in PIC code, but their linkers get confused if
8982
# the symbol is explicitly referenced. Since portable code cannot
8983
# rely on this symbol name, it's probably fine to never include it in
8984
# preloaded symbol tables.
8985
# Exclude shared library initialization/finalization symbols.
8986
extract_expsyms_cmds=
8989
cygwin* | mingw* | pw32* | cegcc*)
8990
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8991
# When not using gcc, we currently assume that we are using
8992
# Microsoft Visual C++.
8993
if test "$GCC" != yes; then
8998
# we just hope/assume this is gcc and not c89 (= MSVC++)
9008
# On some targets, GNU ld is compatible enough with the native linker
9009
# that we're better off using the native interface for both.
9010
lt_use_gnu_ld_interface=no
9011
if test "$with_gnu_ld" = yes; then
9014
# The AIX port of GNU ld has always aspired to compatibility
9015
# with the native linker. However, as the warning in the GNU ld
9016
# block says, versions before 2.19.5* couldn't really create working
9017
# shared libraries, regardless of the interface used.
9018
case `$LD -v 2>&1` in
9019
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9020
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9021
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
9023
lt_use_gnu_ld_interface=yes
9028
lt_use_gnu_ld_interface=yes
9033
if test "$lt_use_gnu_ld_interface" = yes; then
9034
# If archive_cmds runs LD, not CC, wlarc should be empty
9037
# Set some defaults for GNU ld with shared library support. These
9038
# are reset later if shared libraries are not supported. Putting them
9039
# here allows them to be overridden if necessary.
9040
runpath_var=LD_RUN_PATH
9041
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9042
export_dynamic_flag_spec='${wl}--export-dynamic'
9043
# ancient GNU ld didn't support --whole-archive et. al.
9044
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9045
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9047
whole_archive_flag_spec=
9049
supports_anon_versioning=no
9050
case `$LD -v 2>&1` in
9051
*GNU\ gold*) supports_anon_versioning=yes ;;
9052
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9053
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9054
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9055
*\ 2.11.*) ;; # other 2.11 versions
9056
*) supports_anon_versioning=yes ;;
9059
# See if GNU ld supports shared libraries.
9062
# On AIX/PPC, the GNU linker is very broken
9063
if test "$host_cpu" != ia64; then
9067
*** Warning: the GNU linker, at least up to release 2.19, is reported
9068
*** to be unable to reliably create shared libraries on AIX.
9069
*** Therefore, libtool is disabling shared libraries support. If you
9070
*** really care for shared libraries, you may want to install binutils
9071
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9072
*** You will then need to restart the configuration process.
9081
# see comment about AmigaOS4 .so support
9082
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9083
archive_expsym_cmds=''
9086
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)'
9087
hardcode_libdir_flag_spec='-L$libdir'
9088
hardcode_minus_L=yes
9094
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9095
allow_undefined_flag=unsupported
9096
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9097
# support --undefined. This deserves some investigation. FIXME
9098
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9104
cygwin* | mingw* | pw32* | cegcc*)
9105
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9106
# as there is no search path for DLLs.
9107
hardcode_libdir_flag_spec='-L$libdir'
9108
export_dynamic_flag_spec='${wl}--export-all-symbols'
9109
allow_undefined_flag=unsupported
9110
always_export_symbols=no
9111
enable_shared_with_static_runtimes=yes
9112
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'
9113
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9115
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9116
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9117
# If the export-symbols file already is a .def file (1st line
9118
# is EXPORTS), use it as is; otherwise, prepend...
9119
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9120
cp $export_symbols $output_objdir/$soname.def;
9122
echo EXPORTS > $output_objdir/$soname.def;
9123
cat $export_symbols >> $output_objdir/$soname.def;
9125
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9132
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9133
link_all_deplibs=yes
9138
hardcode_shlibpath_var=no
9139
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9140
export_dynamic_flag_spec='${wl}-E'
9141
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9142
# Instead, shared libraries are loaded at an image base (0x10000000 by
9143
# default) and relocated if they conflict, which is a slow very memory
9144
# consuming and fragmenting process. To avoid this, we pick a random,
9145
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9146
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9147
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9148
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'
9151
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9153
if test "$host_os" = linux-dietlibc; then
9154
case $cc_basename in
9155
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9158
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9159
&& test "$tmp_diet" = no
9161
tmp_addflag=' $pic_flag'
9162
tmp_sharedflag='-shared'
9163
case $cc_basename,$host_cpu in
9164
pgcc*) # Portland Group C compiler
9165
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'
9166
tmp_addflag=' $pic_flag'
9168
pgf77* | pgf90* | pgf95* | pgfortran*)
9169
# Portland Group f77 and f90 compilers
9170
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'
9171
tmp_addflag=' $pic_flag -Mnomain' ;;
9172
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9173
tmp_addflag=' -i_dynamic' ;;
9174
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9175
tmp_addflag=' -i_dynamic -nofor_main' ;;
9176
ifc* | ifort*) # Intel Fortran compiler
9177
tmp_addflag=' -nofor_main' ;;
9178
lf95*) # Lahey Fortran 8.1
9179
whole_archive_flag_spec=
9180
tmp_sharedflag='--shared' ;;
9181
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9182
tmp_sharedflag='-qmkshrobj'
9184
nvcc*) # Cuda Compiler Driver 2.2
9185
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'
9186
compiler_needs_object=yes
9189
case `$CC -V 2>&1 | sed 5q` in
9190
*Sun\ C*) # Sun C 5.9
9191
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'
9192
compiler_needs_object=yes
9193
tmp_sharedflag='-G' ;;
9194
*Sun\ F*) # Sun Fortran 8.3
9195
tmp_sharedflag='-G' ;;
9197
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9199
if test "x$supports_anon_versioning" = xyes; then
9200
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9201
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9202
echo "local: *; };" >> $output_objdir/$libname.ver~
9203
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9206
case $cc_basename in
9207
xlf* | bgf* | bgxlf* | mpixlf*)
9208
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9209
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9210
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9211
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9212
if test "x$supports_anon_versioning" = xyes; then
9213
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9214
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9215
echo "local: *; };" >> $output_objdir/$libname.ver~
9216
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9226
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9227
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9230
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9236
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9240
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9241
*** create shared libraries on Solaris systems. Therefore, libtool
9242
*** is disabling shared libraries support. We urge you to upgrade GNU
9243
*** binutils to release 2.9.1 or newer. Another option is to modify
9244
*** your PATH or compiler configuration so that the native linker is
9245
*** used, and then restart.
9248
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9249
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9256
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9257
case `$LD -v 2>&1` in
9258
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9262
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9263
*** reliably create shared libraries on SCO systems. Therefore, libtool
9264
*** is disabling shared libraries support. We urge you to upgrade GNU
9265
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9266
*** your PATH or compiler configuration so that the native linker is
9267
*** used, and then restart.
9272
# For security reasons, it is highly recommended that you always
9273
# use absolute paths for naming shared libraries, and exclude the
9274
# DT_RUNPATH tag from executables and libraries. But doing so
9275
# requires that you compile everything twice, which is a pain.
9276
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9277
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9278
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9279
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9288
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9291
hardcode_shlibpath_var=no
9295
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9296
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9297
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9304
if test "$ld_shlibs" = no; then
9306
hardcode_libdir_flag_spec=
9307
export_dynamic_flag_spec=
9308
whole_archive_flag_spec=
9311
# PORTME fill in a description of your system's linker (not GNU ld)
9314
allow_undefined_flag=unsupported
9315
always_export_symbols=yes
9316
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'
9317
# Note: this linker hardcodes the directories in LIBPATH if there
9318
# are no directories specified by -L.
9319
hardcode_minus_L=yes
9320
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9321
# Neither direct hardcoding nor static linking is supported with a
9323
hardcode_direct=unsupported
9328
if test "$host_cpu" = ia64; then
9329
# On IA64, the linker does run time linking by default, so we don't
9330
# have to do anything special.
9331
aix_use_runtimelinking=no
9332
exp_sym_flag='-Bexport'
9335
# If we're using GNU nm, then we don't want the "-C" option.
9336
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9337
# Also, AIX nm treats weak defined symbols like other global
9338
# defined symbols, whereas GNU nm marks them as "W".
9339
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9340
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'
9342
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'
9344
aix_use_runtimelinking=no
9346
# Test if we are trying to use run time linking or normal
9347
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9348
# need to do runtime linking.
9349
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9350
for ld_flag in $LDFLAGS; do
9351
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9352
aix_use_runtimelinking=yes
9359
exp_sym_flag='-bexport'
9360
no_entry_flag='-bnoentry'
9363
# When large executables or shared objects are built, AIX ld can
9364
# have problems creating the table of contents. If linking a library
9365
# or program results in "error TOC overflow" add -mminimal-toc to
9366
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9367
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9371
hardcode_direct_absolute=yes
9372
hardcode_libdir_separator=':'
9373
link_all_deplibs=yes
9374
file_list_spec='${wl}-f,'
9376
if test "$GCC" = yes; then
9377
case $host_os in aix4.[012]|aix4.[012].*)
9378
# We only want to do this on AIX 4.2 and lower, the check
9379
# below for broken collect2 doesn't work under 4.3+
9380
collect2name=`${CC} -print-prog-name=collect2`
9381
if test -f "$collect2name" &&
9382
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9384
# We have reworked collect2
9387
# We have old collect2
9388
hardcode_direct=unsupported
9389
# It fails to find uninstalled libraries when the uninstalled
9390
# path is not listed in the libpath. Setting hardcode_minus_L
9391
# to unsupported forces relinking
9392
hardcode_minus_L=yes
9393
hardcode_libdir_flag_spec='-L$libdir'
9394
hardcode_libdir_separator=
9398
shared_flag='-shared'
9399
if test "$aix_use_runtimelinking" = yes; then
9400
shared_flag="$shared_flag "'${wl}-G'
9404
if test "$host_cpu" = ia64; then
9405
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9406
# chokes on -Wl,-G. The following line is correct:
9409
if test "$aix_use_runtimelinking" = yes; then
9410
shared_flag='${wl}-G'
9412
shared_flag='${wl}-bM:SRE'
9417
export_dynamic_flag_spec='${wl}-bexpall'
9418
# It seems that -bexpall does not export symbols beginning with
9419
# underscore (_), so it is better to generate a list of symbols to export.
9420
always_export_symbols=yes
9421
if test "$aix_use_runtimelinking" = yes; then
9422
# Warning - without using the other runtime loading flags (-brtl),
9423
# -berok will link without error, but may produce a broken library.
9424
allow_undefined_flag='-berok'
9425
# Determine the default libpath from the value encoded in an
9427
if test "${lt_cv_aix_libpath+set}" = set; then
9428
aix_libpath=$lt_cv_aix_libpath
9430
if ${lt_cv_aix_libpath_+:} false; then :
9431
$as_echo_n "(cached) " >&6
9433
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434
/* end confdefs.h. */
9444
if ac_fn_c_try_link "$LINENO"; then :
9446
lt_aix_libpath_sed='
9447
/Import File Strings/,/^$/ {
9449
s/^0 *\([^ ]*\) *$/\1/
9453
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9454
# Check for a 64-bit object if we didn't find anything.
9455
if test -z "$lt_cv_aix_libpath_"; then
9456
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9459
rm -f core conftest.err conftest.$ac_objext \
9460
conftest$ac_exeext conftest.$ac_ext
9461
if test -z "$lt_cv_aix_libpath_"; then
9462
lt_cv_aix_libpath_="/usr/lib:/lib"
9467
aix_libpath=$lt_cv_aix_libpath_
9470
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9471
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"
9473
if test "$host_cpu" = ia64; then
9474
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9475
allow_undefined_flag="-z nodefs"
9476
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"
9478
# Determine the default libpath from the value encoded in an
9480
if test "${lt_cv_aix_libpath+set}" = set; then
9481
aix_libpath=$lt_cv_aix_libpath
9483
if ${lt_cv_aix_libpath_+:} false; then :
9484
$as_echo_n "(cached) " >&6
9486
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9487
/* end confdefs.h. */
9497
if ac_fn_c_try_link "$LINENO"; then :
9499
lt_aix_libpath_sed='
9500
/Import File Strings/,/^$/ {
9502
s/^0 *\([^ ]*\) *$/\1/
9506
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9507
# Check for a 64-bit object if we didn't find anything.
9508
if test -z "$lt_cv_aix_libpath_"; then
9509
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9512
rm -f core conftest.err conftest.$ac_objext \
9513
conftest$ac_exeext conftest.$ac_ext
9514
if test -z "$lt_cv_aix_libpath_"; then
9515
lt_cv_aix_libpath_="/usr/lib:/lib"
9520
aix_libpath=$lt_cv_aix_libpath_
9523
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9524
# Warning - without using the other run time loading flags,
9525
# -berok will link without error, but may produce a broken library.
9526
no_undefined_flag=' ${wl}-bernotok'
9527
allow_undefined_flag=' ${wl}-berok'
9528
if test "$with_gnu_ld" = yes; then
9529
# We only use this code for GNU lds that support --whole-archive.
9530
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9532
# Exported symbols can be pulled into shared objects from archives
9533
whole_archive_flag_spec='$convenience'
9535
archive_cmds_need_lc=yes
9536
# This is similar to how AIX traditionally builds its shared libraries.
9537
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'
9545
# see comment about AmigaOS4 .so support
9546
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9547
archive_expsym_cmds=''
9550
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)'
9551
hardcode_libdir_flag_spec='-L$libdir'
9552
hardcode_minus_L=yes
9558
export_dynamic_flag_spec=-rdynamic
9561
cygwin* | mingw* | pw32* | cegcc*)
9562
# When not using gcc, we currently assume that we are using
9563
# Microsoft Visual C++.
9564
# hardcode_libdir_flag_spec is actually meaningless, as there is
9565
# no search path for DLLs.
9566
case $cc_basename in
9569
hardcode_libdir_flag_spec=' '
9570
allow_undefined_flag=unsupported
9571
always_export_symbols=yes
9573
# Tell ltmain to make .lib files, not .a files.
9575
# Tell ltmain to make .dll files, not .so files.
9577
# FIXME: Setting linknames here is a bad hack.
9578
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9579
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9580
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9582
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9584
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9586
# The linker will not automatically build a static lib if we build a DLL.
9587
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9588
enable_shared_with_static_runtimes=yes
9589
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9590
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9592
old_postinstall_cmds='chmod 644 $oldlib'
9593
postlink_cmds='lt_outputfile="@OUTPUT@"~
9594
lt_tool_outputfile="@TOOL_OUTPUT@"~
9595
case $lt_outputfile in
9598
lt_outputfile="$lt_outputfile.exe"
9599
lt_tool_outputfile="$lt_tool_outputfile.exe"
9602
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9603
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9604
$RM "$lt_outputfile.manifest";
9608
# Assume MSVC wrapper
9609
hardcode_libdir_flag_spec=' '
9610
allow_undefined_flag=unsupported
9611
# Tell ltmain to make .lib files, not .a files.
9613
# Tell ltmain to make .dll files, not .so files.
9615
# FIXME: Setting linknames here is a bad hack.
9616
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9617
# The linker will automatically build a .lib file if we build a DLL.
9618
old_archive_from_new_cmds='true'
9619
# FIXME: Should let the user specify the lib program.
9620
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9621
enable_shared_with_static_runtimes=yes
9626
darwin* | rhapsody*)
9629
archive_cmds_need_lc=no
9631
hardcode_automatic=yes
9632
hardcode_shlibpath_var=unsupported
9633
if test "$lt_cv_ld_force_load" = "yes"; then
9634
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\"`'
9637
whole_archive_flag_spec=''
9639
link_all_deplibs=yes
9640
allow_undefined_flag="$_lt_dar_allow_undefined"
9641
case $cc_basename in
9642
ifort*) _lt_dar_can_shared=yes ;;
9643
*) _lt_dar_can_shared=$GCC ;;
9645
if test "$_lt_dar_can_shared" = "yes"; then
9646
output_verbose_link_cmd=func_echo_all
9647
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9648
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9649
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}"
9650
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}"
9659
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9660
hardcode_libdir_flag_spec='-L$libdir'
9661
hardcode_shlibpath_var=no
9664
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9665
# support. Future versions do this automatically, but an explicit c++rt0.o
9666
# does not break anything, and helps significantly (at the cost of a little
9669
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9670
hardcode_libdir_flag_spec='-R$libdir'
9672
hardcode_shlibpath_var=no
9675
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9677
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9679
hardcode_minus_L=yes
9680
hardcode_shlibpath_var=no
9683
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9684
freebsd* | dragonfly*)
9685
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9686
hardcode_libdir_flag_spec='-R$libdir'
9688
hardcode_shlibpath_var=no
9692
if test "$GCC" = yes; then
9693
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'
9695
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'
9697
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9698
hardcode_libdir_separator=:
9701
# hardcode_minus_L: Not really in the search PATH,
9702
# but as the default location of the library.
9703
hardcode_minus_L=yes
9704
export_dynamic_flag_spec='${wl}-E'
9708
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9709
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9711
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9713
if test "$with_gnu_ld" = no; then
9714
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9715
hardcode_libdir_separator=:
9717
hardcode_direct_absolute=yes
9718
export_dynamic_flag_spec='${wl}-E'
9719
# hardcode_minus_L: Not really in the search PATH,
9720
# but as the default location of the library.
9721
hardcode_minus_L=yes
9726
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9729
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9732
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9735
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9741
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9744
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9748
# Older versions of the 11.00 compiler do not understand -b yet
9749
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9750
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9751
$as_echo_n "checking if $CC understands -b... " >&6; }
9752
if ${lt_cv_prog_compiler__b+:} false; then :
9753
$as_echo_n "(cached) " >&6
9755
lt_cv_prog_compiler__b=no
9756
save_LDFLAGS="$LDFLAGS"
9757
LDFLAGS="$LDFLAGS -b"
9758
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9759
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9760
# The linker can only warn and ignore the option if not recognized
9761
# So say no if there are warnings
9762
if test -s conftest.err; then
9763
# Append any errors to the config.log.
9764
cat conftest.err 1>&5
9765
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9766
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9767
if diff conftest.exp conftest.er2 >/dev/null; then
9768
lt_cv_prog_compiler__b=yes
9771
lt_cv_prog_compiler__b=yes
9775
LDFLAGS="$save_LDFLAGS"
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9779
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9781
if test x"$lt_cv_prog_compiler__b" = xyes; then
9782
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9784
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9790
if test "$with_gnu_ld" = no; then
9791
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9792
hardcode_libdir_separator=:
9797
hardcode_shlibpath_var=no
9801
hardcode_direct_absolute=yes
9802
export_dynamic_flag_spec='${wl}-E'
9804
# hardcode_minus_L: Not really in the search PATH,
9805
# but as the default location of the library.
9806
hardcode_minus_L=yes
9812
irix5* | irix6* | nonstopux*)
9813
if test "$GCC" = yes; then
9814
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'
9815
# Try to use the -exported_symbol ld option, if it does not
9816
# work, assume that -exports_file does not work either and
9817
# implicitly export all symbols.
9818
# This should be the same for all languages, so no per-tag cache variable.
9819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9820
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9821
if ${lt_cv_irix_exported_symbol+:} false; then :
9822
$as_echo_n "(cached) " >&6
9824
save_LDFLAGS="$LDFLAGS"
9825
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9826
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9827
/* end confdefs.h. */
9828
int foo (void) { return 0; }
9830
if ac_fn_c_try_link "$LINENO"; then :
9831
lt_cv_irix_exported_symbol=yes
9833
lt_cv_irix_exported_symbol=no
9835
rm -f core conftest.err conftest.$ac_objext \
9836
conftest$ac_exeext conftest.$ac_ext
9837
LDFLAGS="$save_LDFLAGS"
9839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9840
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9841
if test "$lt_cv_irix_exported_symbol" = yes; then
9842
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'
9845
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'
9846
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'
9848
archive_cmds_need_lc='no'
9849
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9850
hardcode_libdir_separator=:
9852
link_all_deplibs=yes
9856
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9857
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9859
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9861
hardcode_libdir_flag_spec='-R$libdir'
9863
hardcode_shlibpath_var=no
9867
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9869
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870
hardcode_libdir_separator=:
9871
hardcode_shlibpath_var=no
9878
if test -f /usr/libexec/ld.so; then
9880
hardcode_shlibpath_var=no
9881
hardcode_direct_absolute=yes
9882
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9883
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9884
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9885
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9886
export_dynamic_flag_spec='${wl}-E'
9889
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9890
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9891
hardcode_libdir_flag_spec='-R$libdir'
9894
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9895
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9905
hardcode_libdir_flag_spec='-L$libdir'
9906
hardcode_minus_L=yes
9907
allow_undefined_flag=unsupported
9908
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'
9909
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9913
if test "$GCC" = yes; then
9914
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9915
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'
9917
allow_undefined_flag=' -expect_unresolved \*'
9918
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'
9920
archive_cmds_need_lc='no'
9921
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9922
hardcode_libdir_separator=:
9925
osf4* | osf5*) # as osf3* with the addition of -msym flag
9926
if test "$GCC" = yes; then
9927
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9928
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'
9929
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9931
allow_undefined_flag=' -expect_unresolved \*'
9932
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'
9933
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~
9934
$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'
9936
# Both c and cxx compiler support -rpath directly
9937
hardcode_libdir_flag_spec='-rpath $libdir'
9939
archive_cmds_need_lc='no'
9940
hardcode_libdir_separator=:
9944
no_undefined_flag=' -z defs'
9945
if test "$GCC" = yes; then
9947
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9948
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9949
$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'
9951
case `$CC -V 2>&1` in
9954
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9955
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9956
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9960
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9961
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9962
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9966
hardcode_libdir_flag_spec='-R$libdir'
9967
hardcode_shlibpath_var=no
9969
solaris2.[0-5] | solaris2.[0-5].*) ;;
9971
# The compiler driver will combine and reorder linker options,
9972
# but understands `-z linker_flag'. GCC discards it without `$wl',
9973
# but is careful enough not to reorder.
9974
# Supported since Solaris 2.6 (maybe 2.5.1?)
9975
if test "$GCC" = yes; then
9976
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9978
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9982
link_all_deplibs=yes
9986
if test "x$host_vendor" = xsequent; then
9987
# Use $CC to link under sequent, because it throws in some extra .o
9988
# files that make .init and .fini sections work.
9989
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9991
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9993
hardcode_libdir_flag_spec='-L$libdir'
9995
hardcode_minus_L=yes
9996
hardcode_shlibpath_var=no
10000
case $host_vendor in
10002
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10003
hardcode_direct=yes # is this really true???
10006
## LD is ld it makes a PLAMLIB
10007
## CC just makes a GrossModule.
10008
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10009
reload_cmds='$CC -r -o $output$reload_objs'
10013
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10014
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10017
runpath_var='LD_RUN_PATH'
10018
hardcode_shlibpath_var=no
10022
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023
hardcode_shlibpath_var=no
10024
export_dynamic_flag_spec='-Bexport'
10028
if test -d /usr/nec; then
10029
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10030
hardcode_shlibpath_var=no
10031
runpath_var=LD_RUN_PATH
10032
hardcode_runpath_var=yes
10037
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10038
no_undefined_flag='${wl}-z,text'
10039
archive_cmds_need_lc=no
10040
hardcode_shlibpath_var=no
10041
runpath_var='LD_RUN_PATH'
10043
if test "$GCC" = yes; then
10044
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10045
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10047
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10048
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10052
sysv5* | sco3.2v5* | sco5v6*)
10053
# Note: We can NOT use -z defs as we might desire, because we do not
10054
# link with -lc, and that would cause any symbols used from libc to
10055
# always be unresolved, which means just about no library would
10056
# ever link correctly. If we're not using GNU ld we use -z text
10057
# though, which does catch some bad symbols but isn't as heavy-handed
10059
no_undefined_flag='${wl}-z,text'
10060
allow_undefined_flag='${wl}-z,nodefs'
10061
archive_cmds_need_lc=no
10062
hardcode_shlibpath_var=no
10063
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10064
hardcode_libdir_separator=':'
10065
link_all_deplibs=yes
10066
export_dynamic_flag_spec='${wl}-Bexport'
10067
runpath_var='LD_RUN_PATH'
10069
if test "$GCC" = yes; then
10070
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10071
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10073
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10074
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10079
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080
hardcode_libdir_flag_spec='-L$libdir'
10081
hardcode_shlibpath_var=no
10089
if test x$host_vendor = xsni; then
10091
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10092
export_dynamic_flag_spec='${wl}-Blargedynsym'
10098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10099
$as_echo "$ld_shlibs" >&6; }
10100
test "$ld_shlibs" = no && can_build_shared=no
10102
with_gnu_ld=$with_gnu_ld
10119
# Do we need to explicitly link libc?
10121
case "x$archive_cmds_need_lc" in
10123
# Assume -lc should be added
10124
archive_cmds_need_lc=yes
10126
if test "$enable_shared" = yes && test "$GCC" = yes; then
10127
case $archive_cmds in
10129
# FIXME: we may have to deal with multi-command sequences.
10132
# Test whether the compiler implicitly links with -lc since on some
10133
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10134
# to ld, don't add -lc before -lgcc.
10135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10136
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10137
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10138
$as_echo_n "(cached) " >&6
10141
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10143
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10144
(eval $ac_compile) 2>&5
10146
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10147
test $ac_status = 0; } 2>conftest.err; then
10150
libobjs=conftest.$ac_objext
10152
wl=$lt_prog_compiler_wl
10153
pic_flag=$lt_prog_compiler_pic
10159
lt_save_allow_undefined_flag=$allow_undefined_flag
10160
allow_undefined_flag=
10161
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10162
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10164
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10165
test $ac_status = 0; }
10167
lt_cv_archive_cmds_need_lc=no
10169
lt_cv_archive_cmds_need_lc=yes
10171
allow_undefined_flag=$lt_save_allow_undefined_flag
10173
cat conftest.err 1>&5
10178
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10179
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10180
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10338
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10339
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10341
if test "$GCC" = yes; then
10343
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10344
*) lt_awk_arg="/^libraries:/" ;;
10347
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10348
*) lt_sed_strip_eq="s,=/,/,g" ;;
10350
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10351
case $lt_search_path_spec in
10353
# if the path contains ";" then we assume it to be the separator
10354
# otherwise default to the standard path separator (i.e. ":") - it is
10355
# assumed that no part of a normal pathname contains ";" but that should
10356
# okay in the real world where ";" in dirpaths is itself problematic.
10357
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10360
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10363
# Ok, now we have the path, separated by spaces, we can step through it
10364
# and add multilib dir if necessary.
10365
lt_tmp_lt_search_path_spec=
10366
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10367
for lt_sys_path in $lt_search_path_spec; do
10368
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10369
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10371
test -d "$lt_sys_path" && \
10372
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10375
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10376
BEGIN {RS=" "; FS="/|\n";} {
10379
for (lt_i = NF; lt_i > 0; lt_i--) {
10380
if ($lt_i != "" && $lt_i != ".") {
10381
if ($lt_i == "..") {
10384
if (lt_count == 0) {
10385
lt_foo="/" $lt_i lt_foo;
10392
if (lt_foo != "") { lt_freq[lt_foo]++; }
10393
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10395
# AWK program above erroneously prepends '/' to C:/dos/paths
10398
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10399
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10401
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10403
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10405
library_names_spec=
10406
libname_spec='lib$name'
10410
postuninstall_cmds=
10414
shlibpath_overrides_runpath=unknown
10416
dynamic_linker="$host_os ld.so"
10417
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10418
need_lib_prefix=unknown
10419
hardcode_into_libs=no
10421
# when you set need_version to no, make sure it does not cause -set_version
10422
# flags to be left without arguments
10423
need_version=unknown
10427
version_type=linux # correct to gnu/linux during the next big refactor
10428
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10429
shlibpath_var=LIBPATH
10431
# AIX 3 has no versioning support, so we append a major version to the name.
10432
soname_spec='${libname}${release}${shared_ext}$major'
10436
version_type=linux # correct to gnu/linux during the next big refactor
10439
hardcode_into_libs=yes
10440
if test "$host_cpu" = ia64; then
10441
# AIX 5 supports IA64
10442
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10443
shlibpath_var=LD_LIBRARY_PATH
10445
# With GCC up to 2.95.x, collect2 would create an import file
10446
# for dependence libraries. The import file would start with
10447
# the line `#! .'. This would cause the generated library to
10448
# depend on `.', always an invalid library. This was fixed in
10449
# development snapshots of GCC prior to 3.0.
10451
aix4 | aix4.[01] | aix4.[01].*)
10452
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10454
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10457
can_build_shared=no
10461
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10462
# soname into executable. Probably we can add versioning support to
10463
# collect2, so additional links can be useful in future.
10464
if test "$aix_use_runtimelinking" = yes; then
10465
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10466
# instead of lib<name>.a to let people know that these are not
10467
# typical AIX shared libraries.
10468
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10470
# We preserve .a as extension for shared libraries through AIX4.2
10471
# and later when we are not doing run time linking.
10472
library_names_spec='${libname}${release}.a $libname.a'
10473
soname_spec='${libname}${release}${shared_ext}$major'
10475
shlibpath_var=LIBPATH
10482
# Since July 2007 AmigaOS4 officially supports .so libraries.
10483
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10484
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10487
library_names_spec='$libname.ixlibrary $libname.a'
10488
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10489
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'
10495
library_names_spec='${libname}${shared_ext}'
10496
dynamic_linker="$host_os ld.so"
10497
shlibpath_var=LIBRARY_PATH
10501
version_type=linux # correct to gnu/linux during the next big refactor
10503
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10504
soname_spec='${libname}${release}${shared_ext}$major'
10505
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10506
shlibpath_var=LD_LIBRARY_PATH
10507
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10508
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10509
# the default ld.so.conf also contains /usr/contrib/lib and
10510
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10511
# libtool to hard-code these into programs
10514
cygwin* | mingw* | pw32* | cegcc*)
10515
version_type=windows
10520
case $GCC,$cc_basename in
10523
library_names_spec='$libname.dll.a'
10524
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10525
postinstall_cmds='base_file=`basename \${file}`~
10526
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10527
dldir=$destdir/`dirname \$dlpath`~
10528
test -d \$dldir || mkdir -p \$dldir~
10529
$install_prog $dir/$dlname \$dldir/$dlname~
10530
chmod a+x \$dldir/$dlname~
10531
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10532
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10534
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10535
dlpath=$dir/\$dldll~
10537
shlibpath_overrides_runpath=yes
10541
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10542
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10544
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10547
# MinGW DLLs use traditional 'lib' prefix
10548
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10551
# pw32 DLLs use 'pw' prefix rather than 'lib'
10552
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10555
dynamic_linker='Win32 ld.exe'
10560
libname_spec='$name'
10561
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10562
library_names_spec='${libname}.dll.lib'
10566
sys_lib_search_path_spec=
10569
for lt_path in $LIB
10572
# Let DOS variable expansion print the short 8.3 style file name.
10573
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10574
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10577
# Convert to MSYS style.
10578
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10581
# Convert to unix form, then to dos form, then back to unix form
10582
# but this time dos style (no spaces!) so that the unix form looks
10583
# like /cygdrive/c/PROGRA~1:/cygdr...
10584
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10585
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10586
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10589
sys_lib_search_path_spec="$LIB"
10590
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10591
# It is most probably a Windows format PATH.
10592
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10594
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10596
# FIXME: find the short name or the path components, as spaces are
10597
# common. (e.g. "Program Files" -> "PROGRA~1")
10601
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10602
postinstall_cmds='base_file=`basename \${file}`~
10603
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10604
dldir=$destdir/`dirname \$dlpath`~
10605
test -d \$dldir || mkdir -p \$dldir~
10606
$install_prog $dir/$dlname \$dldir/$dlname'
10607
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10608
dlpath=$dir/\$dldll~
10610
shlibpath_overrides_runpath=yes
10611
dynamic_linker='Win32 link.exe'
10615
# Assume MSVC wrapper
10616
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10617
dynamic_linker='Win32 ld.exe'
10620
# FIXME: first we should search . and the directory the executable is in
10624
darwin* | rhapsody*)
10625
dynamic_linker="$host_os dyld"
10626
version_type=darwin
10629
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10630
soname_spec='${libname}${release}${major}$shared_ext'
10631
shlibpath_overrides_runpath=yes
10632
shlibpath_var=DYLD_LIBRARY_PATH
10633
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10635
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10636
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10640
version_type=linux # correct to gnu/linux during the next big refactor
10643
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10644
soname_spec='${libname}${release}${shared_ext}$major'
10645
shlibpath_var=LD_LIBRARY_PATH
10648
freebsd* | dragonfly*)
10649
# DragonFly does not have aout. When/if they implement a new
10650
# versioning mechanism, adjust this.
10651
if test -x /usr/bin/objformat; then
10652
objformat=`/usr/bin/objformat`
10655
freebsd[23].*) objformat=aout ;;
10656
*) objformat=elf ;;
10659
version_type=freebsd-$objformat
10660
case $version_type in
10662
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10671
shlibpath_var=LD_LIBRARY_PATH
10674
shlibpath_overrides_runpath=yes
10676
freebsd3.[01]* | freebsdelf3.[01]*)
10677
shlibpath_overrides_runpath=yes
10678
hardcode_into_libs=yes
10680
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10681
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10682
shlibpath_overrides_runpath=no
10683
hardcode_into_libs=yes
10685
*) # from 4.6 on, and DragonFly
10686
shlibpath_overrides_runpath=yes
10687
hardcode_into_libs=yes
10693
version_type=linux # correct to gnu/linux during the next big refactor
10696
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10697
soname_spec='${libname}${release}${shared_ext}$major'
10698
shlibpath_var=LD_LIBRARY_PATH
10699
shlibpath_overrides_runpath=no
10700
hardcode_into_libs=yes
10704
version_type=linux # correct to gnu/linux during the next big refactor
10707
dynamic_linker="$host_os runtime_loader"
10708
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10709
soname_spec='${libname}${release}${shared_ext}$major'
10710
shlibpath_var=LIBRARY_PATH
10711
shlibpath_overrides_runpath=yes
10712
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10713
hardcode_into_libs=yes
10716
hpux9* | hpux10* | hpux11*)
10717
# Give a soname corresponding to the major version so that dld.sl refuses to
10718
# link against other versions.
10725
hardcode_into_libs=yes
10726
dynamic_linker="$host_os dld.so"
10727
shlibpath_var=LD_LIBRARY_PATH
10728
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10729
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10730
soname_spec='${libname}${release}${shared_ext}$major'
10731
if test "X$HPUX_IA64_MODE" = X32; then
10732
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10734
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10736
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740
hardcode_into_libs=yes
10741
dynamic_linker="$host_os dld.sl"
10742
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10743
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10744
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745
soname_spec='${libname}${release}${shared_ext}$major'
10746
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10747
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10751
dynamic_linker="$host_os dld.sl"
10752
shlibpath_var=SHLIB_PATH
10753
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10754
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755
soname_spec='${libname}${release}${shared_ext}$major'
10758
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10759
postinstall_cmds='chmod 555 $lib'
10760
# or fails outright, so override atomically:
10761
install_override_mode=555
10765
version_type=linux # correct to gnu/linux during the next big refactor
10768
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10769
soname_spec='${libname}${release}${shared_ext}$major'
10770
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10771
shlibpath_var=LD_LIBRARY_PATH
10772
shlibpath_overrides_runpath=no
10773
hardcode_into_libs=yes
10776
irix5* | irix6* | nonstopux*)
10778
nonstopux*) version_type=nonstopux ;;
10780
if test "$lt_cv_prog_gnu_ld" = yes; then
10781
version_type=linux # correct to gnu/linux during the next big refactor
10788
soname_spec='${libname}${release}${shared_ext}$major'
10789
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10791
irix5* | nonstopux*)
10792
libsuff= shlibsuff=
10795
case $LD in # libtool.m4 will add one of these switches to LD
10796
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10797
libsuff= shlibsuff= libmagic=32-bit;;
10798
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10799
libsuff=32 shlibsuff=N32 libmagic=N32;;
10800
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10801
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10802
*) libsuff= shlibsuff= libmagic=never-match;;
10806
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10807
shlibpath_overrides_runpath=no
10808
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10809
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10810
hardcode_into_libs=yes
10813
# No shared lib support for Linux oldld, aout, or coff.
10814
linux*oldld* | linux*aout* | linux*coff*)
10818
# This must be glibc/ELF.
10819
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10820
version_type=linux # correct to gnu/linux during the next big refactor
10823
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10824
soname_spec='${libname}${release}${shared_ext}$major'
10825
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10826
shlibpath_var=LD_LIBRARY_PATH
10827
shlibpath_overrides_runpath=no
10829
# Some binutils ld are patched to set DT_RUNPATH
10830
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10831
$as_echo_n "(cached) " >&6
10833
lt_cv_shlibpath_overrides_runpath=no
10834
save_LDFLAGS=$LDFLAGS
10835
save_libdir=$libdir
10836
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10837
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10838
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10839
/* end confdefs.h. */
10849
if ac_fn_c_try_link "$LINENO"; then :
10850
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10851
lt_cv_shlibpath_overrides_runpath=yes
10854
rm -f core conftest.err conftest.$ac_objext \
10855
conftest$ac_exeext conftest.$ac_ext
10856
LDFLAGS=$save_LDFLAGS
10857
libdir=$save_libdir
10861
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10863
# This implies no fast_install, which is unacceptable.
10864
# Some rework will be needed to allow for fast_install
10865
# before this can be enabled.
10866
hardcode_into_libs=yes
10868
# Append ld.so.conf contents to the search path
10869
if test -f /etc/ld.so.conf; then
10870
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' ' '`
10871
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10874
# We used to test for /lib/ld.so.1 and disable shared libraries on
10875
# powerpc, because MkLinux only supported shared libraries with the
10876
# GNU dynamic linker. Since this was broken with cross compilers,
10877
# most powerpc-linux boxes support dynamic linking these days and
10878
# people can always --disable-shared, the test was removed, and we
10879
# assume the GNU/Linux dynamic linker is in use.
10880
dynamic_linker='GNU/Linux ld.so'
10887
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10888
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10889
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10890
dynamic_linker='NetBSD (a.out) ld.so'
10892
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10893
soname_spec='${libname}${release}${shared_ext}$major'
10894
dynamic_linker='NetBSD ld.elf_so'
10896
shlibpath_var=LD_LIBRARY_PATH
10897
shlibpath_overrides_runpath=yes
10898
hardcode_into_libs=yes
10902
version_type=linux # correct to gnu/linux during the next big refactor
10903
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10904
shlibpath_var=LD_LIBRARY_PATH
10905
shlibpath_overrides_runpath=yes
10912
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913
soname_spec='${libname}${release}${shared_ext}$major'
10914
shlibpath_var=LD_LIBRARY_PATH
10915
shlibpath_overrides_runpath=no
10916
hardcode_into_libs=yes
10917
dynamic_linker='ldqnx.so'
10922
sys_lib_dlsearch_path_spec="/usr/lib"
10924
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10926
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10927
*) need_version=no ;;
10929
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10930
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10931
shlibpath_var=LD_LIBRARY_PATH
10932
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10934
openbsd2.[89] | openbsd2.[89].*)
10935
shlibpath_overrides_runpath=no
10938
shlibpath_overrides_runpath=yes
10942
shlibpath_overrides_runpath=yes
10947
libname_spec='$name'
10950
library_names_spec='$libname${shared_ext} $libname.a'
10951
dynamic_linker='OS/2 ld.exe'
10952
shlibpath_var=LIBPATH
10955
osf3* | osf4* | osf5*)
10959
soname_spec='${libname}${release}${shared_ext}$major'
10960
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10961
shlibpath_var=LD_LIBRARY_PATH
10962
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10963
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10971
version_type=linux # correct to gnu/linux during the next big refactor
10974
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10975
soname_spec='${libname}${release}${shared_ext}$major'
10976
shlibpath_var=LD_LIBRARY_PATH
10977
shlibpath_overrides_runpath=yes
10978
hardcode_into_libs=yes
10979
# ldd complains unless libraries are executable
10980
postinstall_cmds='chmod +x $lib'
10985
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10986
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10987
shlibpath_var=LD_LIBRARY_PATH
10988
shlibpath_overrides_runpath=yes
10989
if test "$with_gnu_ld" = yes; then
10996
version_type=linux # correct to gnu/linux during the next big refactor
10997
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10998
soname_spec='${libname}${release}${shared_ext}$major'
10999
shlibpath_var=LD_LIBRARY_PATH
11000
case $host_vendor in
11002
shlibpath_overrides_runpath=no
11004
runpath_var=LD_RUN_PATH
11012
shlibpath_overrides_runpath=no
11013
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11019
if test -d /usr/nec ;then
11020
version_type=linux # correct to gnu/linux during the next big refactor
11021
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11022
soname_spec='$libname${shared_ext}.$major'
11023
shlibpath_var=LD_LIBRARY_PATH
11027
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11028
version_type=freebsd-elf
11031
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11032
soname_spec='${libname}${release}${shared_ext}$major'
11033
shlibpath_var=LD_LIBRARY_PATH
11034
shlibpath_overrides_runpath=yes
11035
hardcode_into_libs=yes
11036
if test "$with_gnu_ld" = yes; then
11037
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11039
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11042
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11046
sys_lib_dlsearch_path_spec='/usr/lib'
11050
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11051
version_type=linux # correct to gnu/linux during the next big refactor
11054
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11055
shlibpath_var=LD_LIBRARY_PATH
11056
shlibpath_overrides_runpath=no
11057
hardcode_into_libs=yes
11061
version_type=linux # correct to gnu/linux during the next big refactor
11062
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11063
soname_spec='${libname}${release}${shared_ext}$major'
11064
shlibpath_var=LD_LIBRARY_PATH
11071
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11072
$as_echo "$dynamic_linker" >&6; }
11073
test "$dynamic_linker" = no && can_build_shared=no
11075
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11076
if test "$GCC" = yes; then
11077
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11080
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11081
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11083
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11084
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11178
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11179
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11181
if test -n "$hardcode_libdir_flag_spec" ||
11182
test -n "$runpath_var" ||
11183
test "X$hardcode_automatic" = "Xyes" ; then
11185
# We can hardcode non-existent directories.
11186
if test "$hardcode_direct" != no &&
11187
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11188
# have to relink, otherwise we might link with an installed library
11189
# when we should be linking with a yet-to-be-installed one
11190
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11191
test "$hardcode_minus_L" != no; then
11192
# Linking always hardcodes the temporary library directory.
11193
hardcode_action=relink
11195
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11196
hardcode_action=immediate
11199
# We cannot hardcode anything, or else we can only hardcode existing
11201
hardcode_action=unsupported
11203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11204
$as_echo "$hardcode_action" >&6; }
11206
if test "$hardcode_action" = relink ||
11207
test "$inherit_rpath" = yes; then
11208
# Fast installation is not supported
11209
enable_fast_install=no
11210
elif test "$shlibpath_overrides_runpath" = yes ||
11211
test "$enable_shared" = no; then
11212
# Fast installation is not necessary
11213
enable_fast_install=needless
11221
if test "x$enable_dlopen" != xyes; then
11222
enable_dlopen=unknown
11223
enable_dlopen_self=unknown
11224
enable_dlopen_self_static=unknown
11231
lt_cv_dlopen="load_add_on"
11233
lt_cv_dlopen_self=yes
11236
mingw* | pw32* | cegcc*)
11237
lt_cv_dlopen="LoadLibrary"
11242
lt_cv_dlopen="dlopen"
11247
# if libdl is installed we need to link against it
11248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11249
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11250
if ${ac_cv_lib_dl_dlopen+:} false; then :
11251
$as_echo_n "(cached) " >&6
11253
ac_check_lib_save_LIBS=$LIBS
11255
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11256
/* end confdefs.h. */
11258
/* Override any GCC internal prototype to avoid an error.
11259
Use char because int might match the return type of a GCC
11260
builtin and then its argument prototype would still apply. */
11273
if ac_fn_c_try_link "$LINENO"; then :
11274
ac_cv_lib_dl_dlopen=yes
11276
ac_cv_lib_dl_dlopen=no
11278
rm -f core conftest.err conftest.$ac_objext \
11279
conftest$ac_exeext conftest.$ac_ext
11280
LIBS=$ac_check_lib_save_LIBS
11282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11283
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11284
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11285
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11288
lt_cv_dlopen="dyld"
11290
lt_cv_dlopen_self=yes
11297
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11298
if test "x$ac_cv_func_shl_load" = xyes; then :
11299
lt_cv_dlopen="shl_load"
11301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11302
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11303
if ${ac_cv_lib_dld_shl_load+:} false; then :
11304
$as_echo_n "(cached) " >&6
11306
ac_check_lib_save_LIBS=$LIBS
11308
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309
/* end confdefs.h. */
11311
/* Override any GCC internal prototype to avoid an error.
11312
Use char because int might match the return type of a GCC
11313
builtin and then its argument prototype would still apply. */
11321
return shl_load ();
11326
if ac_fn_c_try_link "$LINENO"; then :
11327
ac_cv_lib_dld_shl_load=yes
11329
ac_cv_lib_dld_shl_load=no
11331
rm -f core conftest.err conftest.$ac_objext \
11332
conftest$ac_exeext conftest.$ac_ext
11333
LIBS=$ac_check_lib_save_LIBS
11335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11336
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11337
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11338
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11340
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11341
if test "x$ac_cv_func_dlopen" = xyes; then :
11342
lt_cv_dlopen="dlopen"
11344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11345
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11346
if ${ac_cv_lib_dl_dlopen+:} false; then :
11347
$as_echo_n "(cached) " >&6
11349
ac_check_lib_save_LIBS=$LIBS
11351
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11352
/* end confdefs.h. */
11354
/* Override any GCC internal prototype to avoid an error.
11355
Use char because int might match the return type of a GCC
11356
builtin and then its argument prototype would still apply. */
11369
if ac_fn_c_try_link "$LINENO"; then :
11370
ac_cv_lib_dl_dlopen=yes
11372
ac_cv_lib_dl_dlopen=no
11374
rm -f core conftest.err conftest.$ac_objext \
11375
conftest$ac_exeext conftest.$ac_ext
11376
LIBS=$ac_check_lib_save_LIBS
11378
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11379
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11380
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11381
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11384
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11385
if ${ac_cv_lib_svld_dlopen+:} false; then :
11386
$as_echo_n "(cached) " >&6
11388
ac_check_lib_save_LIBS=$LIBS
11389
LIBS="-lsvld $LIBS"
11390
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391
/* end confdefs.h. */
11393
/* Override any GCC internal prototype to avoid an error.
11394
Use char because int might match the return type of a GCC
11395
builtin and then its argument prototype would still apply. */
11408
if ac_fn_c_try_link "$LINENO"; then :
11409
ac_cv_lib_svld_dlopen=yes
11411
ac_cv_lib_svld_dlopen=no
11413
rm -f core conftest.err conftest.$ac_objext \
11414
conftest$ac_exeext conftest.$ac_ext
11415
LIBS=$ac_check_lib_save_LIBS
11417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11418
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11419
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11420
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11423
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11424
if ${ac_cv_lib_dld_dld_link+:} false; then :
11425
$as_echo_n "(cached) " >&6
11427
ac_check_lib_save_LIBS=$LIBS
11429
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430
/* end confdefs.h. */
11432
/* Override any GCC internal prototype to avoid an error.
11433
Use char because int might match the return type of a GCC
11434
builtin and then its argument prototype would still apply. */
11442
return dld_link ();
11447
if ac_fn_c_try_link "$LINENO"; then :
11448
ac_cv_lib_dld_dld_link=yes
11450
ac_cv_lib_dld_dld_link=no
11452
rm -f core conftest.err conftest.$ac_objext \
11453
conftest$ac_exeext conftest.$ac_ext
11454
LIBS=$ac_check_lib_save_LIBS
11456
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11457
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11458
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11459
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11480
if test "x$lt_cv_dlopen" != xno; then
11486
case $lt_cv_dlopen in
11488
save_CPPFLAGS="$CPPFLAGS"
11489
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11491
save_LDFLAGS="$LDFLAGS"
11492
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11495
LIBS="$lt_cv_dlopen_libs $LIBS"
11497
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11498
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11499
if ${lt_cv_dlopen_self+:} false; then :
11500
$as_echo_n "(cached) " >&6
11502
if test "$cross_compiling" = yes; then :
11503
lt_cv_dlopen_self=cross
11505
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11506
lt_status=$lt_dlunknown
11507
cat > conftest.$ac_ext <<_LT_EOF
11508
#line $LINENO "configure"
11509
#include "confdefs.h"
11518
# define LT_DLGLOBAL RTLD_GLOBAL
11521
# define LT_DLGLOBAL DL_GLOBAL
11523
# define LT_DLGLOBAL 0
11527
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11528
find out it does not work in some platform. */
11529
#ifndef LT_DLLAZY_OR_NOW
11531
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11534
# define LT_DLLAZY_OR_NOW DL_LAZY
11537
# define LT_DLLAZY_OR_NOW RTLD_NOW
11540
# define LT_DLLAZY_OR_NOW DL_NOW
11542
# define LT_DLLAZY_OR_NOW 0
11549
/* When -fvisbility=hidden is used, assume the code has been annotated
11550
correspondingly for the symbols needed. */
11551
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11552
int fnord () __attribute__((visibility("default")));
11555
int fnord () { return 42; }
11558
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11559
int status = $lt_dlunknown;
11563
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11566
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11567
else puts (dlerror ());
11569
/* dlclose (self); */
11577
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11578
(eval $ac_link) 2>&5
11580
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11581
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11582
(./conftest; exit; ) >&5 2>/dev/null
11584
case x$lt_status in
11585
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11586
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11587
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11590
# compilation failed
11591
lt_cv_dlopen_self=no
11598
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11599
$as_echo "$lt_cv_dlopen_self" >&6; }
11601
if test "x$lt_cv_dlopen_self" = xyes; then
11602
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11603
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11604
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11605
if ${lt_cv_dlopen_self_static+:} false; then :
11606
$as_echo_n "(cached) " >&6
11608
if test "$cross_compiling" = yes; then :
11609
lt_cv_dlopen_self_static=cross
11611
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11612
lt_status=$lt_dlunknown
11613
cat > conftest.$ac_ext <<_LT_EOF
11614
#line $LINENO "configure"
11615
#include "confdefs.h"
11624
# define LT_DLGLOBAL RTLD_GLOBAL
11627
# define LT_DLGLOBAL DL_GLOBAL
11629
# define LT_DLGLOBAL 0
11633
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11634
find out it does not work in some platform. */
11635
#ifndef LT_DLLAZY_OR_NOW
11637
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11640
# define LT_DLLAZY_OR_NOW DL_LAZY
11643
# define LT_DLLAZY_OR_NOW RTLD_NOW
11646
# define LT_DLLAZY_OR_NOW DL_NOW
11648
# define LT_DLLAZY_OR_NOW 0
11655
/* When -fvisbility=hidden is used, assume the code has been annotated
11656
correspondingly for the symbols needed. */
11657
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11658
int fnord () __attribute__((visibility("default")));
11661
int fnord () { return 42; }
11664
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11665
int status = $lt_dlunknown;
11669
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11672
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11673
else puts (dlerror ());
11675
/* dlclose (self); */
11683
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11684
(eval $ac_link) 2>&5
11686
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11687
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11688
(./conftest; exit; ) >&5 2>/dev/null
11690
case x$lt_status in
11691
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11692
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11693
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11696
# compilation failed
11697
lt_cv_dlopen_self_static=no
11704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11705
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11708
CPPFLAGS="$save_CPPFLAGS"
11709
LDFLAGS="$save_LDFLAGS"
11714
case $lt_cv_dlopen_self in
11715
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11716
*) enable_dlopen_self=unknown ;;
11719
case $lt_cv_dlopen_self_static in
11720
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11721
*) enable_dlopen_self_static=unknown ;;
11743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11744
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11745
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11746
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11747
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11749
$as_echo "yes" >&6; }
11751
# FIXME - insert some real tests, host_os isn't really good enough
11754
if test -n "$STRIP" ; then
11755
striplib="$STRIP -x"
11756
old_striplib="$STRIP -S"
11757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11758
$as_echo "yes" >&6; }
11760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11761
$as_echo "no" >&6; }
11765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11766
$as_echo "no" >&6; }
11782
# Report which library types will actually be built
11783
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11784
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11785
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11786
$as_echo "$can_build_shared" >&6; }
11788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11789
$as_echo_n "checking whether to build shared libraries... " >&6; }
11790
test "$can_build_shared" = "no" && enable_shared=no
11792
# On AIX, shared libraries and static libraries use the same namespace, and
11793
# are all built from PIC.
11796
test "$enable_shared" = yes && enable_static=no
11797
if test -n "$RANLIB"; then
11798
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11799
postinstall_cmds='$RANLIB $lib'
11804
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11805
test "$enable_shared" = yes && enable_static=no
11809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11810
$as_echo "$enable_shared" >&6; }
11812
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11813
$as_echo_n "checking whether to build static libraries... " >&6; }
11814
# Make sure either enable_shared or enable_static is yes.
11815
test "$enable_shared" = yes || enable_static=yes
11816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11817
$as_echo "$enable_static" >&6; }
11824
ac_cpp='$CPP $CPPFLAGS'
11825
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11826
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11827
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11845
ac_config_commands="$ac_config_commands libtool"
11850
# Only expand once:
11860
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11861
if test -n "$ac_tool_prefix"; then
11862
# Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11863
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11865
$as_echo_n "checking for $ac_word... " >&6; }
11866
if ${ac_cv_path_PKG_CONFIG+:} false; then :
11867
$as_echo_n "(cached) " >&6
11869
case $PKG_CONFIG in
11871
ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11874
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11875
for as_dir in $PATH
11878
test -z "$as_dir" && as_dir=.
11879
for ac_exec_ext in '' $ac_executable_extensions; do
11880
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11881
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11882
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11892
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11893
if test -n "$PKG_CONFIG"; then
11894
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11895
$as_echo "$PKG_CONFIG" >&6; }
11897
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11898
$as_echo "no" >&6; }
11903
if test -z "$ac_cv_path_PKG_CONFIG"; then
11904
ac_pt_PKG_CONFIG=$PKG_CONFIG
11905
# Extract the first word of "pkg-config", so it can be a program name with args.
11906
set dummy pkg-config; ac_word=$2
11907
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11908
$as_echo_n "checking for $ac_word... " >&6; }
11909
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11910
$as_echo_n "(cached) " >&6
11912
case $ac_pt_PKG_CONFIG in
11914
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11917
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11918
for as_dir in $PATH
11921
test -z "$as_dir" && as_dir=.
11922
for ac_exec_ext in '' $ac_executable_extensions; do
11923
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11924
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11925
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11935
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11936
if test -n "$ac_pt_PKG_CONFIG"; then
11937
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11938
$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11940
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11941
$as_echo "no" >&6; }
11944
if test "x$ac_pt_PKG_CONFIG" = x; then
11947
case $cross_compiling:$ac_tool_warned in
11949
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11950
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11951
ac_tool_warned=yes ;;
11953
PKG_CONFIG=$ac_pt_PKG_CONFIG
11956
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11960
if test -n "$PKG_CONFIG"; then
11961
_pkg_min_version=0.9.0
11962
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11963
$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11964
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11966
$as_echo "yes" >&6; }
11968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11969
$as_echo "no" >&6; }
11974
ac_config_headers="$ac_config_headers config.h"
11978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
11979
$as_echo_n "checking whether NLS is requested... " >&6; }
11980
# Check whether --enable-nls was given.
11981
if test "${enable_nls+set}" = set; then :
11982
enableval=$enable_nls; USE_NLS=$enableval
11987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
11988
$as_echo "$USE_NLS" >&6; }
11993
case "$am__api_version" in
11995
as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12001
INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12002
INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12003
INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12004
if test -n "0.40.0"; then
12005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.0" >&5
12006
$as_echo_n "checking for intltool >= 0.40.0... " >&6; }
12007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12008
$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12009
test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12010
as_fn_error $? "Your intltool is too old. You need intltool 0.40.0 or later." "$LINENO" 5
12013
# Extract the first word of "intltool-update", so it can be a program name with args.
12014
set dummy intltool-update; ac_word=$2
12015
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12016
$as_echo_n "checking for $ac_word... " >&6; }
12017
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12018
$as_echo_n "(cached) " >&6
12020
case $INTLTOOL_UPDATE in
12022
ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12025
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12026
for as_dir in $PATH
12029
test -z "$as_dir" && as_dir=.
12030
for ac_exec_ext in '' $ac_executable_extensions; do
12031
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12032
ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12033
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12043
INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12044
if test -n "$INTLTOOL_UPDATE"; then
12045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12046
$as_echo "$INTLTOOL_UPDATE" >&6; }
12048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049
$as_echo "no" >&6; }
12053
# Extract the first word of "intltool-merge", so it can be a program name with args.
12054
set dummy intltool-merge; ac_word=$2
12055
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12056
$as_echo_n "checking for $ac_word... " >&6; }
12057
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12058
$as_echo_n "(cached) " >&6
12060
case $INTLTOOL_MERGE in
12062
ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12065
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12066
for as_dir in $PATH
12069
test -z "$as_dir" && as_dir=.
12070
for ac_exec_ext in '' $ac_executable_extensions; do
12071
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12072
ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12073
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12083
INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12084
if test -n "$INTLTOOL_MERGE"; then
12085
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12086
$as_echo "$INTLTOOL_MERGE" >&6; }
12088
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12089
$as_echo "no" >&6; }
12093
# Extract the first word of "intltool-extract", so it can be a program name with args.
12094
set dummy intltool-extract; ac_word=$2
12095
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12096
$as_echo_n "checking for $ac_word... " >&6; }
12097
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12098
$as_echo_n "(cached) " >&6
12100
case $INTLTOOL_EXTRACT in
12102
ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12105
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12106
for as_dir in $PATH
12109
test -z "$as_dir" && as_dir=.
12110
for ac_exec_ext in '' $ac_executable_extensions; do
12111
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12112
ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12113
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12123
INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12124
if test -n "$INTLTOOL_EXTRACT"; then
12125
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12126
$as_echo "$INTLTOOL_EXTRACT" >&6; }
12128
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12129
$as_echo "no" >&6; }
12133
if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12134
as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12137
if test -z "$AM_DEFAULT_VERBOSITY"; then
12138
AM_DEFAULT_VERBOSITY=1
12142
INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
12143
INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
12144
INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;'
12149
INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
12150
intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
12151
intltool__v_merge_options_0='-q'
12156
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 $< $@'
12157
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 $< $@'
12158
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 $< $@'
12159
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 $< $@'
12160
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 $< $@'
12161
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 $< $@'
12162
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 $< $@'
12163
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 $< $@'
12164
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 $< $@'
12165
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 $< $@'
12166
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 $< $@'
12167
if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
12168
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 $< $@'
12170
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'
12172
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 $< $@'
12173
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 $< $@'
12174
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 $< $@'
12175
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 $< $@'
12176
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 $< $@'
12177
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 $< $@'
12178
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 $< $@'
12276
# Check the gettext tools to make sure they are GNU
12277
# Extract the first word of "xgettext", so it can be a program name with args.
12278
set dummy xgettext; ac_word=$2
12279
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12280
$as_echo_n "checking for $ac_word... " >&6; }
12281
if ${ac_cv_path_XGETTEXT+:} false; then :
12282
$as_echo_n "(cached) " >&6
12286
ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12289
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12290
for as_dir in $PATH
12293
test -z "$as_dir" && as_dir=.
12294
for ac_exec_ext in '' $ac_executable_extensions; do
12295
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12296
ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12297
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12307
XGETTEXT=$ac_cv_path_XGETTEXT
12308
if test -n "$XGETTEXT"; then
12309
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12310
$as_echo "$XGETTEXT" >&6; }
12312
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12313
$as_echo "no" >&6; }
12317
# Extract the first word of "msgmerge", so it can be a program name with args.
12318
set dummy msgmerge; ac_word=$2
12319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12320
$as_echo_n "checking for $ac_word... " >&6; }
12321
if ${ac_cv_path_MSGMERGE+:} false; then :
12322
$as_echo_n "(cached) " >&6
12326
ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12329
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12330
for as_dir in $PATH
12333
test -z "$as_dir" && as_dir=.
12334
for ac_exec_ext in '' $ac_executable_extensions; do
12335
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12336
ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12337
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12347
MSGMERGE=$ac_cv_path_MSGMERGE
12348
if test -n "$MSGMERGE"; then
12349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12350
$as_echo "$MSGMERGE" >&6; }
12352
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12353
$as_echo "no" >&6; }
12357
# Extract the first word of "msgfmt", so it can be a program name with args.
12358
set dummy msgfmt; ac_word=$2
12359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12360
$as_echo_n "checking for $ac_word... " >&6; }
12361
if ${ac_cv_path_MSGFMT+:} false; then :
12362
$as_echo_n "(cached) " >&6
12366
ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12369
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12370
for as_dir in $PATH
12373
test -z "$as_dir" && as_dir=.
12374
for ac_exec_ext in '' $ac_executable_extensions; do
12375
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12376
ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12377
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12387
MSGFMT=$ac_cv_path_MSGFMT
12388
if test -n "$MSGFMT"; then
12389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12390
$as_echo "$MSGFMT" >&6; }
12392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12393
$as_echo "no" >&6; }
12397
# Extract the first word of "gmsgfmt", so it can be a program name with args.
12398
set dummy gmsgfmt; ac_word=$2
12399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12400
$as_echo_n "checking for $ac_word... " >&6; }
12401
if ${ac_cv_path_GMSGFMT+:} false; then :
12402
$as_echo_n "(cached) " >&6
12406
ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12409
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12410
for as_dir in $PATH
12413
test -z "$as_dir" && as_dir=.
12414
for ac_exec_ext in '' $ac_executable_extensions; do
12415
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12416
ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12417
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12424
test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12428
GMSGFMT=$ac_cv_path_GMSGFMT
12429
if test -n "$GMSGFMT"; then
12430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12431
$as_echo "$GMSGFMT" >&6; }
12433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12434
$as_echo "no" >&6; }
12438
if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12439
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12441
xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12442
mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12443
mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12444
if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12445
as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12448
# Extract the first word of "perl", so it can be a program name with args.
12449
set dummy perl; ac_word=$2
12450
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12451
$as_echo_n "checking for $ac_word... " >&6; }
12452
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12453
$as_echo_n "(cached) " >&6
12455
case $INTLTOOL_PERL in
12457
ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12460
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12461
for as_dir in $PATH
12464
test -z "$as_dir" && as_dir=.
12465
for ac_exec_ext in '' $ac_executable_extensions; do
12466
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12467
ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12468
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12478
INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12479
if test -n "$INTLTOOL_PERL"; then
12480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12481
$as_echo "$INTLTOOL_PERL" >&6; }
12483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12484
$as_echo "no" >&6; }
12488
if test -z "$INTLTOOL_PERL"; then
12489
as_fn_error $? "perl not found" "$LINENO" 5
12491
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12492
$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12493
$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12494
if test $? -ne 0; then
12495
as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12497
IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
12498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12499
$as_echo "$IT_PERL_VERSION" >&6; }
12501
if test "x" != "xno-xml"; then
12502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12503
$as_echo_n "checking for XML::Parser... " >&6; }
12504
if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12505
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12506
$as_echo "ok" >&6; }
12508
as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12512
# Substitute ALL_LINGUAS so we can use it in po/Makefile
12515
# Set DATADIRNAME correctly if it is not set yet
12516
# (copied from glib-gettext.m4)
12517
if test -z "$DATADIRNAME"; then
12518
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12519
/* end confdefs.h. */
12524
extern int _nl_msg_cat_cntr;
12525
return _nl_msg_cat_cntr
12530
if ac_fn_c_try_link "$LINENO"; then :
12535
ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12536
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12548
rm -f core conftest.err conftest.$ac_objext \
12549
conftest$ac_exeext conftest.$ac_ext
12558
GETTEXT_PACKAGE="${PACKAGE}"
12563
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12564
$as_echo_n "checking for DBUS... " >&6; }
12566
if test -n "$DBUS_CFLAGS"; then
12567
pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12568
elif test -n "$PKG_CONFIG"; then
12569
if test -n "$PKG_CONFIG" && \
12570
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12571
($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12573
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12574
test $ac_status = 0; }; then
12575
pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.0" 2>/dev/null`
12576
test "x$?" != "x0" && pkg_failed=yes
12583
if test -n "$DBUS_LIBS"; then
12584
pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12585
elif test -n "$PKG_CONFIG"; then
12586
if test -n "$PKG_CONFIG" && \
12587
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.0\""; } >&5
12588
($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0") 2>&5
12590
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12591
test $ac_status = 0; }; then
12592
pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.0" 2>/dev/null`
12593
test "x$?" != "x0" && pkg_failed=yes
12603
if test $pkg_failed = yes; then
12604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12605
$as_echo "no" >&6; }
12607
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12608
_pkg_short_errors_supported=yes
12610
_pkg_short_errors_supported=no
12612
if test $_pkg_short_errors_supported = yes; then
12613
DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
12615
DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.0" 2>&1`
12617
# Put the nasty error message in config.log where it belongs
12618
echo "$DBUS_PKG_ERRORS" >&5
12620
as_fn_error $? "Package requirements (dbus-1 >= 1.0) were not met:
12624
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12625
installed software in a non-standard prefix.
12627
Alternatively, you may set the environment variables DBUS_CFLAGS
12628
and DBUS_LIBS to avoid the need to call pkg-config.
12629
See the pkg-config man page for more details." "$LINENO" 5
12630
elif test $pkg_failed = untried; then
12631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12632
$as_echo "no" >&6; }
12633
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12634
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12635
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12636
is in your PATH or set the PKG_CONFIG environment variable to the full
12637
path to pkg-config.
12639
Alternatively, you may set the environment variables DBUS_CFLAGS
12640
and DBUS_LIBS to avoid the need to call pkg-config.
12641
See the pkg-config man page for more details.
12643
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12644
See \`config.log' for more details" "$LINENO" 5; }
12646
DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12647
DBUS_LIBS=$pkg_cv_DBUS_LIBS
12648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12649
$as_echo "yes" >&6; }
12657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
12658
$as_echo_n "checking for GLIB... " >&6; }
12660
if test -n "$GLIB_CFLAGS"; then
12661
pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
12662
elif test -n "$PKG_CONFIG"; then
12663
if test -n "$PKG_CONFIG" && \
12664
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36.0\""; } >&5
12665
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36.0") 2>&5
12667
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12668
test $ac_status = 0; }; then
12669
pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.36.0" 2>/dev/null`
12670
test "x$?" != "x0" && pkg_failed=yes
12677
if test -n "$GLIB_LIBS"; then
12678
pkg_cv_GLIB_LIBS="$GLIB_LIBS"
12679
elif test -n "$PKG_CONFIG"; then
12680
if test -n "$PKG_CONFIG" && \
12681
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.36.0\""; } >&5
12682
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.36.0") 2>&5
12684
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12685
test $ac_status = 0; }; then
12686
pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.36.0" 2>/dev/null`
12687
test "x$?" != "x0" && pkg_failed=yes
12697
if test $pkg_failed = yes; then
12698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12699
$as_echo "no" >&6; }
12701
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12702
_pkg_short_errors_supported=yes
12704
_pkg_short_errors_supported=no
12706
if test $_pkg_short_errors_supported = yes; then
12707
GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.36.0" 2>&1`
12709
GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.36.0" 2>&1`
12711
# Put the nasty error message in config.log where it belongs
12712
echo "$GLIB_PKG_ERRORS" >&5
12714
as_fn_error $? "Package requirements (glib-2.0 >= 2.36.0) were not met:
12718
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12719
installed software in a non-standard prefix.
12721
Alternatively, you may set the environment variables GLIB_CFLAGS
12722
and GLIB_LIBS to avoid the need to call pkg-config.
12723
See the pkg-config man page for more details." "$LINENO" 5
12724
elif test $pkg_failed = untried; then
12725
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12726
$as_echo "no" >&6; }
12727
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12728
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12729
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12730
is in your PATH or set the PKG_CONFIG environment variable to the full
12731
path to pkg-config.
12733
Alternatively, you may set the environment variables GLIB_CFLAGS
12734
and GLIB_LIBS to avoid the need to call pkg-config.
12735
See the pkg-config man page for more details.
12737
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12738
See \`config.log' for more details" "$LINENO" 5; }
12740
GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
12741
GLIB_LIBS=$pkg_cv_GLIB_LIBS
12742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12743
$as_echo "yes" >&6; }
12751
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOBJ" >&5
12752
$as_echo_n "checking for GOBJ... " >&6; }
12754
if test -n "$GOBJ_CFLAGS"; then
12755
pkg_cv_GOBJ_CFLAGS="$GOBJ_CFLAGS"
12756
elif test -n "$PKG_CONFIG"; then
12757
if test -n "$PKG_CONFIG" && \
12758
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12759
($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12761
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12762
test $ac_status = 0; }; then
12763
pkg_cv_GOBJ_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= 2.0.0" 2>/dev/null`
12764
test "x$?" != "x0" && pkg_failed=yes
12771
if test -n "$GOBJ_LIBS"; then
12772
pkg_cv_GOBJ_LIBS="$GOBJ_LIBS"
12773
elif test -n "$PKG_CONFIG"; then
12774
if test -n "$PKG_CONFIG" && \
12775
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= 2.0.0\""; } >&5
12776
($PKG_CONFIG --exists --print-errors "gobject-2.0 >= 2.0.0") 2>&5
12778
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12779
test $ac_status = 0; }; then
12780
pkg_cv_GOBJ_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= 2.0.0" 2>/dev/null`
12781
test "x$?" != "x0" && pkg_failed=yes
12791
if test $pkg_failed = yes; then
12792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12793
$as_echo "no" >&6; }
12795
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12796
_pkg_short_errors_supported=yes
12798
_pkg_short_errors_supported=no
12800
if test $_pkg_short_errors_supported = yes; then
12801
GOBJ_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1`
12803
GOBJ_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= 2.0.0" 2>&1`
12805
# Put the nasty error message in config.log where it belongs
12806
echo "$GOBJ_PKG_ERRORS" >&5
12808
as_fn_error $? "Package requirements (gobject-2.0 >= 2.0.0) were not met:
12812
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12813
installed software in a non-standard prefix.
12815
Alternatively, you may set the environment variables GOBJ_CFLAGS
12816
and GOBJ_LIBS to avoid the need to call pkg-config.
12817
See the pkg-config man page for more details." "$LINENO" 5
12818
elif test $pkg_failed = untried; then
12819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12820
$as_echo "no" >&6; }
12821
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12822
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12823
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12824
is in your PATH or set the PKG_CONFIG environment variable to the full
12825
path to pkg-config.
12827
Alternatively, you may set the environment variables GOBJ_CFLAGS
12828
and GOBJ_LIBS to avoid the need to call pkg-config.
12829
See the pkg-config man page for more details.
12831
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12832
See \`config.log' for more details" "$LINENO" 5; }
12834
GOBJ_CFLAGS=$pkg_cv_GOBJ_CFLAGS
12835
GOBJ_LIBS=$pkg_cv_GOBJ_LIBS
12836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12837
$as_echo "yes" >&6; }
12845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
12846
$as_echo_n "checking for GIO... " >&6; }
12848
if test -n "$GIO_CFLAGS"; then
12849
pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
12850
elif test -n "$PKG_CONFIG"; then
12851
if test -n "$PKG_CONFIG" && \
12852
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12853
($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12856
test $ac_status = 0; }; then
12857
pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.28" 2>/dev/null`
12858
test "x$?" != "x0" && pkg_failed=yes
12865
if test -n "$GIO_LIBS"; then
12866
pkg_cv_GIO_LIBS="$GIO_LIBS"
12867
elif test -n "$PKG_CONFIG"; then
12868
if test -n "$PKG_CONFIG" && \
12869
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.28\""; } >&5
12870
($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.28") 2>&5
12872
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12873
test $ac_status = 0; }; then
12874
pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.28" 2>/dev/null`
12875
test "x$?" != "x0" && pkg_failed=yes
12885
if test $pkg_failed = yes; then
12886
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12887
$as_echo "no" >&6; }
12889
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12890
_pkg_short_errors_supported=yes
12892
_pkg_short_errors_supported=no
12894
if test $_pkg_short_errors_supported = yes; then
12895
GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12897
GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gio-2.0 >= 2.28" 2>&1`
12899
# Put the nasty error message in config.log where it belongs
12900
echo "$GIO_PKG_ERRORS" >&5
12902
as_fn_error $? "Package requirements (gio-2.0 >= 2.28) were not met:
12906
Consider adjusting the PKG_CONFIG_PATH environment variable if you
12907
installed software in a non-standard prefix.
12909
Alternatively, you may set the environment variables GIO_CFLAGS
12910
and GIO_LIBS to avoid the need to call pkg-config.
12911
See the pkg-config man page for more details." "$LINENO" 5
12912
elif test $pkg_failed = untried; then
12913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12914
$as_echo "no" >&6; }
12915
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12916
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12917
as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
12918
is in your PATH or set the PKG_CONFIG environment variable to the full
12919
path to pkg-config.
12921
Alternatively, you may set the environment variables GIO_CFLAGS
12922
and GIO_LIBS to avoid the need to call pkg-config.
12923
See the pkg-config man page for more details.
12925
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12926
See \`config.log' for more details" "$LINENO" 5; }
12928
GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
12929
GIO_LIBS=$pkg_cv_GIO_LIBS
12930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12931
$as_echo "yes" >&6; }
12937
# --------------------------------------------------------------------
12938
# Find DL functionality
12940
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lc" >&5
12941
$as_echo_n "checking for dlopen in -lc... " >&6; }
12942
if ${ac_cv_lib_c_dlopen+:} false; then :
12943
$as_echo_n "(cached) " >&6
12945
ac_check_lib_save_LIBS=$LIBS
12947
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12948
/* end confdefs.h. */
12950
/* Override any GCC internal prototype to avoid an error.
12951
Use char because int might match the return type of a GCC
12952
builtin and then its argument prototype would still apply. */
12965
if ac_fn_c_try_link "$LINENO"; then :
12966
ac_cv_lib_c_dlopen=yes
12968
ac_cv_lib_c_dlopen=no
12970
rm -f core conftest.err conftest.$ac_objext \
12971
conftest$ac_exeext conftest.$ac_ext
12972
LIBS=$ac_check_lib_save_LIBS
12974
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_dlopen" >&5
12975
$as_echo "$ac_cv_lib_c_dlopen" >&6; }
12976
if test "x$ac_cv_lib_c_dlopen" = xyes; then :
12979
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12980
$as_echo_n "checking for dlopen in -ldl... " >&6; }
12981
if ${ac_cv_lib_dl_dlopen+:} false; then :
12982
$as_echo_n "(cached) " >&6
12984
ac_check_lib_save_LIBS=$LIBS
12986
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12987
/* end confdefs.h. */
12989
/* Override any GCC internal prototype to avoid an error.
12990
Use char because int might match the return type of a GCC
12991
builtin and then its argument prototype would still apply. */
13004
if ac_fn_c_try_link "$LINENO"; then :
13005
ac_cv_lib_dl_dlopen=yes
13007
ac_cv_lib_dl_dlopen=no
13009
rm -f core conftest.err conftest.$ac_objext \
13010
conftest$ac_exeext conftest.$ac_ext
13011
LIBS=$ac_check_lib_save_LIBS
13013
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13014
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13015
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13018
as_fn_error $? "Could not find a library with the dlopen function" "$LINENO" 5
13028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13029
$as_echo_n "checking for X... " >&6; }
13032
# Check whether --with-x was given.
13033
if test "${with_x+set}" = set; then :
13037
# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13038
if test "x$with_x" = xno; then
13039
# The user explicitly disabled X.
13042
case $x_includes,$x_libraries in #(
13043
*\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13044
*,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
13045
$as_echo_n "(cached) " >&6
13047
# One or both of the vars are not set, and there is no cached value.
13048
ac_x_includes=no ac_x_libraries=no
13049
rm -f -r conftest.dir
13050
if mkdir conftest.dir; then
13052
cat >Imakefile <<'_ACEOF'
13054
@echo incroot='${INCROOT}'
13056
@echo usrlibdir='${USRLIBDIR}'
13058
@echo libdir='${LIBDIR}'
13060
if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13061
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13062
for ac_var in incroot usrlibdir libdir; do
13063
eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13065
# Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13066
for ac_extension in a so sl dylib la dll; do
13067
if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13068
test -f "$ac_im_libdir/libX11.$ac_extension"; then
13069
ac_im_usrlibdir=$ac_im_libdir; break
13072
# Screen out bogus values from the imake configuration. They are
13073
# bogus both because they are the default anyway, and because
13074
# using them would break gcc on systems where it needs fixed includes.
13075
case $ac_im_incroot in
13076
/usr/include) ac_x_includes= ;;
13077
*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13079
case $ac_im_usrlibdir in
13080
/usr/lib | /usr/lib64 | /lib | /lib64) ;;
13081
*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13085
rm -f -r conftest.dir
13088
# Standard set of common directories for X headers.
13089
# Check X11 before X11Rn because it is often a symlink to the current release.
13103
/usr/local/X11/include
13104
/usr/local/X11R7/include
13105
/usr/local/X11R6/include
13106
/usr/local/X11R5/include
13107
/usr/local/X11R4/include
13109
/usr/local/include/X11
13110
/usr/local/include/X11R7
13111
/usr/local/include/X11R6
13112
/usr/local/include/X11R5
13113
/usr/local/include/X11R4
13117
/usr/XFree86/include/X11
13121
/usr/unsupported/include
13122
/usr/athena/include
13123
/usr/local/x11r5/include
13124
/usr/lpp/Xamples/include
13126
/usr/openwin/include
13127
/usr/openwin/share/include'
13129
if test "$ac_x_includes" = no; then
13130
# Guess where to find include files, by looking for Xlib.h.
13131
# First, try using that file with no special directory specified.
13132
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13133
/* end confdefs.h. */
13134
#include <X11/Xlib.h>
13136
if ac_fn_c_try_cpp "$LINENO"; then :
13137
# We can compile using X headers with no special include directory.
13140
for ac_dir in $ac_x_header_dirs; do
13141
if test -r "$ac_dir/X11/Xlib.h"; then
13142
ac_x_includes=$ac_dir
13147
rm -f conftest.err conftest.i conftest.$ac_ext
13148
fi # $ac_x_includes = no
13150
if test "$ac_x_libraries" = no; then
13151
# Check for the libraries.
13152
# See if we find them without any special options.
13153
# Don't add to $LIBS permanently.
13156
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13157
/* end confdefs.h. */
13158
#include <X11/Xlib.h>
13167
if ac_fn_c_try_link "$LINENO"; then :
13169
# We can link X programs with no special library path.
13173
for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13175
# Don't even attempt the hair of trying to link an X program!
13176
for ac_extension in a so sl dylib la dll; do
13177
if test -r "$ac_dir/libX11.$ac_extension"; then
13178
ac_x_libraries=$ac_dir
13184
rm -f core conftest.err conftest.$ac_objext \
13185
conftest$ac_exeext conftest.$ac_ext
13186
fi # $ac_x_libraries = no
13188
case $ac_x_includes,$ac_x_libraries in #(
13189
no,* | *,no | *\'*)
13190
# Didn't find X, or a directory has "'" in its name.
13191
ac_cv_have_x="have_x=no";; #(
13193
# Record where we found X for the cache.
13194
ac_cv_have_x="have_x=yes\
13195
ac_x_includes='$ac_x_includes'\
13196
ac_x_libraries='$ac_x_libraries'"
13202
eval "$ac_cv_have_x"
13205
if test "$have_x" != yes; then
13206
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13207
$as_echo "$have_x" >&6; }
13210
# If each of the values was on the command line, it overrides each guess.
13211
test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13212
test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13213
# Update the cache value to reflect the command line values.
13214
ac_cv_have_x="have_x=yes\
13215
ac_x_includes='$x_includes'\
13216
ac_x_libraries='$x_libraries'"
13217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13218
$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
13221
if test "$no_x" = yes; then
13222
# Not all programs may use this symbol, but it does not hurt to define it.
13224
$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
13226
X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13228
if test -n "$x_includes"; then
13229
X_CFLAGS="$X_CFLAGS -I$x_includes"
13232
# It would also be nice to do this for all -L options, not just this one.
13233
if test -n "$x_libraries"; then
13234
X_LIBS="$X_LIBS -L$x_libraries"
13235
# For Solaris; some versions of Sun CC require a space after -R and
13236
# others require no space. Words are not sufficient . . . .
13237
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13238
$as_echo_n "checking whether -R must be followed by a space... " >&6; }
13239
ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13240
ac_xsave_c_werror_flag=$ac_c_werror_flag
13241
ac_c_werror_flag=yes
13242
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13243
/* end confdefs.h. */
13253
if ac_fn_c_try_link "$LINENO"; then :
13254
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13255
$as_echo "no" >&6; }
13256
X_LIBS="$X_LIBS -R$x_libraries"
13258
LIBS="$ac_xsave_LIBS -R $x_libraries"
13259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13260
/* end confdefs.h. */
13270
if ac_fn_c_try_link "$LINENO"; then :
13271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13272
$as_echo "yes" >&6; }
13273
X_LIBS="$X_LIBS -R $x_libraries"
13275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13276
$as_echo "neither works" >&6; }
13278
rm -f core conftest.err conftest.$ac_objext \
13279
conftest$ac_exeext conftest.$ac_ext
13281
rm -f core conftest.err conftest.$ac_objext \
13282
conftest$ac_exeext conftest.$ac_ext
13283
ac_c_werror_flag=$ac_xsave_c_werror_flag
13284
LIBS=$ac_xsave_LIBS
13287
# Check for system-dependent libraries X programs must link with.
13288
# Do this before checking for the system-independent R6 libraries
13289
# (-lICE), since we may need -lsocket or whatever for X linking.
13291
if test "$ISC" = yes; then
13292
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13294
# Martyn Johnson says this is needed for Ultrix, if the X
13295
# libraries were built with DECnet support. And Karl Berry says
13296
# the Alpha needs dnet_stub (dnet does not exist).
13297
ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13298
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13299
/* end confdefs.h. */
13301
/* Override any GCC internal prototype to avoid an error.
13302
Use char because int might match the return type of a GCC
13303
builtin and then its argument prototype would still apply. */
13307
char XOpenDisplay ();
13311
return XOpenDisplay ();
13316
if ac_fn_c_try_link "$LINENO"; then :
13319
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13320
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
13321
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
13322
$as_echo_n "(cached) " >&6
13324
ac_check_lib_save_LIBS=$LIBS
13325
LIBS="-ldnet $LIBS"
13326
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13327
/* end confdefs.h. */
13329
/* Override any GCC internal prototype to avoid an error.
13330
Use char because int might match the return type of a GCC
13331
builtin and then its argument prototype would still apply. */
13339
return dnet_ntoa ();
13344
if ac_fn_c_try_link "$LINENO"; then :
13345
ac_cv_lib_dnet_dnet_ntoa=yes
13347
ac_cv_lib_dnet_dnet_ntoa=no
13349
rm -f core conftest.err conftest.$ac_objext \
13350
conftest$ac_exeext conftest.$ac_ext
13351
LIBS=$ac_check_lib_save_LIBS
13353
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13354
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13355
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
13356
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13359
if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13361
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13362
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
13363
$as_echo_n "(cached) " >&6
13365
ac_check_lib_save_LIBS=$LIBS
13366
LIBS="-ldnet_stub $LIBS"
13367
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13368
/* end confdefs.h. */
13370
/* Override any GCC internal prototype to avoid an error.
13371
Use char because int might match the return type of a GCC
13372
builtin and then its argument prototype would still apply. */
13380
return dnet_ntoa ();
13385
if ac_fn_c_try_link "$LINENO"; then :
13386
ac_cv_lib_dnet_stub_dnet_ntoa=yes
13388
ac_cv_lib_dnet_stub_dnet_ntoa=no
13390
rm -f core conftest.err conftest.$ac_objext \
13391
conftest$ac_exeext conftest.$ac_ext
13392
LIBS=$ac_check_lib_save_LIBS
13394
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13395
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13396
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
13397
X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13402
rm -f core conftest.err conftest.$ac_objext \
13403
conftest$ac_exeext conftest.$ac_ext
13404
LIBS="$ac_xsave_LIBS"
13406
# msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13407
# to get the SysV transport functions.
13408
# Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13410
# The nsl library prevents programs from opening the X display
13411
# on Irix 5.2, according to T.E. Dickey.
13412
# The functions gethostbyname, getservbyname, and inet_addr are
13413
# in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13414
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13415
if test "x$ac_cv_func_gethostbyname" = xyes; then :
13419
if test $ac_cv_func_gethostbyname = no; then
13420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13421
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
13422
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
13423
$as_echo_n "(cached) " >&6
13425
ac_check_lib_save_LIBS=$LIBS
13427
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13428
/* end confdefs.h. */
13430
/* Override any GCC internal prototype to avoid an error.
13431
Use char because int might match the return type of a GCC
13432
builtin and then its argument prototype would still apply. */
13436
char gethostbyname ();
13440
return gethostbyname ();
13445
if ac_fn_c_try_link "$LINENO"; then :
13446
ac_cv_lib_nsl_gethostbyname=yes
13448
ac_cv_lib_nsl_gethostbyname=no
13450
rm -f core conftest.err conftest.$ac_objext \
13451
conftest$ac_exeext conftest.$ac_ext
13452
LIBS=$ac_check_lib_save_LIBS
13454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13455
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
13456
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
13457
X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13460
if test $ac_cv_lib_nsl_gethostbyname = no; then
13461
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13462
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
13463
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
13464
$as_echo_n "(cached) " >&6
13466
ac_check_lib_save_LIBS=$LIBS
13468
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13469
/* end confdefs.h. */
13471
/* Override any GCC internal prototype to avoid an error.
13472
Use char because int might match the return type of a GCC
13473
builtin and then its argument prototype would still apply. */
13477
char gethostbyname ();
13481
return gethostbyname ();
13486
if ac_fn_c_try_link "$LINENO"; then :
13487
ac_cv_lib_bsd_gethostbyname=yes
13489
ac_cv_lib_bsd_gethostbyname=no
13491
rm -f core conftest.err conftest.$ac_objext \
13492
conftest$ac_exeext conftest.$ac_ext
13493
LIBS=$ac_check_lib_save_LIBS
13495
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
13496
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
13497
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
13498
X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
13504
# lieder@skyler.mavd.honeywell.com says without -lsocket,
13505
# socket/setsockopt and other routines are undefined under SCO ODT
13506
# 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13507
# on later versions), says Simon Leinen: it contains gethostby*
13508
# variants that don't use the name server (or something). -lsocket
13509
# must be given before -lnsl if both are needed. We assume that
13510
# if connect needs -lnsl, so does gethostbyname.
13511
ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
13512
if test "x$ac_cv_func_connect" = xyes; then :
13516
if test $ac_cv_func_connect = no; then
13517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
13518
$as_echo_n "checking for connect in -lsocket... " >&6; }
13519
if ${ac_cv_lib_socket_connect+:} false; then :
13520
$as_echo_n "(cached) " >&6
13522
ac_check_lib_save_LIBS=$LIBS
13523
LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
13524
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13525
/* end confdefs.h. */
13527
/* Override any GCC internal prototype to avoid an error.
13528
Use char because int might match the return type of a GCC
13529
builtin and then its argument prototype would still apply. */
13542
if ac_fn_c_try_link "$LINENO"; then :
13543
ac_cv_lib_socket_connect=yes
13545
ac_cv_lib_socket_connect=no
13547
rm -f core conftest.err conftest.$ac_objext \
13548
conftest$ac_exeext conftest.$ac_ext
13549
LIBS=$ac_check_lib_save_LIBS
13551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
13552
$as_echo "$ac_cv_lib_socket_connect" >&6; }
13553
if test "x$ac_cv_lib_socket_connect" = xyes; then :
13554
X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
13559
# Guillermo Gomez says -lposix is necessary on A/UX.
13560
ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
13561
if test "x$ac_cv_func_remove" = xyes; then :
13565
if test $ac_cv_func_remove = no; then
13566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
13567
$as_echo_n "checking for remove in -lposix... " >&6; }
13568
if ${ac_cv_lib_posix_remove+:} false; then :
13569
$as_echo_n "(cached) " >&6
13571
ac_check_lib_save_LIBS=$LIBS
13572
LIBS="-lposix $LIBS"
13573
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13574
/* end confdefs.h. */
13576
/* Override any GCC internal prototype to avoid an error.
13577
Use char because int might match the return type of a GCC
13578
builtin and then its argument prototype would still apply. */
13591
if ac_fn_c_try_link "$LINENO"; then :
13592
ac_cv_lib_posix_remove=yes
13594
ac_cv_lib_posix_remove=no
13596
rm -f core conftest.err conftest.$ac_objext \
13597
conftest$ac_exeext conftest.$ac_ext
13598
LIBS=$ac_check_lib_save_LIBS
13600
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
13601
$as_echo "$ac_cv_lib_posix_remove" >&6; }
13602
if test "x$ac_cv_lib_posix_remove" = xyes; then :
13603
X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
13608
# BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13609
ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
13610
if test "x$ac_cv_func_shmat" = xyes; then :
13614
if test $ac_cv_func_shmat = no; then
13615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
13616
$as_echo_n "checking for shmat in -lipc... " >&6; }
13617
if ${ac_cv_lib_ipc_shmat+:} false; then :
13618
$as_echo_n "(cached) " >&6
13620
ac_check_lib_save_LIBS=$LIBS
13622
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13623
/* end confdefs.h. */
13625
/* Override any GCC internal prototype to avoid an error.
13626
Use char because int might match the return type of a GCC
13627
builtin and then its argument prototype would still apply. */
13640
if ac_fn_c_try_link "$LINENO"; then :
13641
ac_cv_lib_ipc_shmat=yes
13643
ac_cv_lib_ipc_shmat=no
13645
rm -f core conftest.err conftest.$ac_objext \
13646
conftest$ac_exeext conftest.$ac_ext
13647
LIBS=$ac_check_lib_save_LIBS
13649
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
13650
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
13651
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
13652
X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
13658
# Check for libraries that X11R6 Xt/Xaw programs need.
13659
ac_save_LDFLAGS=$LDFLAGS
13660
test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
13661
# SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13662
# check for ICE first), but we must link in the order -lSM -lICE or
13663
# we get undefined symbols. So assume we have SM if we have ICE.
13664
# These have to be linked with before -lX11, unlike the other
13665
# libraries we check for below, so use a different variable.
13666
# John Interrante, Karl Berry
13667
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
13668
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
13669
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
13670
$as_echo_n "(cached) " >&6
13672
ac_check_lib_save_LIBS=$LIBS
13673
LIBS="-lICE $X_EXTRA_LIBS $LIBS"
13674
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675
/* end confdefs.h. */
13677
/* Override any GCC internal prototype to avoid an error.
13678
Use char because int might match the return type of a GCC
13679
builtin and then its argument prototype would still apply. */
13683
char IceConnectionNumber ();
13687
return IceConnectionNumber ();
13692
if ac_fn_c_try_link "$LINENO"; then :
13693
ac_cv_lib_ICE_IceConnectionNumber=yes
13695
ac_cv_lib_ICE_IceConnectionNumber=no
13697
rm -f core conftest.err conftest.$ac_objext \
13698
conftest$ac_exeext conftest.$ac_ext
13699
LIBS=$ac_check_lib_save_LIBS
13701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
13702
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
13703
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
13704
X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
13707
LDFLAGS=$ac_save_LDFLAGS
13712
# Check whether --enable-x11 was given.
13713
if test "${enable_x11+set}" = set; then :
13714
enableval=$enable_x11;
13720
if test x$no_x = xyes ; then
13721
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: X development libraries not found" >&5
13722
$as_echo "$as_me: WARNING: X development libraries not found" >&2;}
13731
elif test x$enable_x11 = xauto; then
13732
X_LIBS="$X_LIBS $X_PRE_LIBS -lX11 $X_EXTRA_LIBS"
13734
$as_echo "#define HAVE_X11 1" >>confdefs.h
13759
CPPFLAGS="$CPPFLAGS $X_CFLAGS"
13760
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTestFakeKeyEvent in -lXtst" >&5
13761
$as_echo_n "checking for XTestFakeKeyEvent in -lXtst... " >&6; }
13762
if ${ac_cv_lib_Xtst_XTestFakeKeyEvent+:} false; then :
13763
$as_echo_n "(cached) " >&6
13765
ac_check_lib_save_LIBS=$LIBS
13766
LIBS="-lXtst $X_LIBS $LIBS"
13767
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13768
/* end confdefs.h. */
13770
/* Override any GCC internal prototype to avoid an error.
13771
Use char because int might match the return type of a GCC
13772
builtin and then its argument prototype would still apply. */
13776
char XTestFakeKeyEvent ();
13780
return XTestFakeKeyEvent ();
13785
if ac_fn_c_try_link "$LINENO"; then :
13786
ac_cv_lib_Xtst_XTestFakeKeyEvent=yes
13788
ac_cv_lib_Xtst_XTestFakeKeyEvent=no
13790
rm -f core conftest.err conftest.$ac_objext \
13791
conftest$ac_exeext conftest.$ac_ext
13792
LIBS=$ac_check_lib_save_LIBS
13794
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xtst_XTestFakeKeyEvent" >&5
13795
$as_echo "$ac_cv_lib_Xtst_XTestFakeKeyEvent" >&6; }
13796
if test "x$ac_cv_lib_Xtst_XTestFakeKeyEvent" = xyes; then :
13800
as_fn_error $? "Couldn't find the Xtst library. Check config.log" "$LINENO" 5
13804
LIBS="$LIBS $save_LIBS"
13808
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
13809
$as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
13810
if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
13811
$as_echo_n "(cached) " >&6
13813
ac_check_lib_save_LIBS=$LIBS
13814
LIBS="-lX11 $X_LIBS $LIBS"
13815
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13816
/* end confdefs.h. */
13818
/* Override any GCC internal prototype to avoid an error.
13819
Use char because int might match the return type of a GCC
13820
builtin and then its argument prototype would still apply. */
13824
char XkbQueryExtension ();
13828
return XkbQueryExtension ();
13833
if ac_fn_c_try_link "$LINENO"; then :
13834
ac_cv_lib_X11_XkbQueryExtension=yes
13836
ac_cv_lib_X11_XkbQueryExtension=no
13838
rm -f core conftest.err conftest.$ac_objext \
13839
conftest$ac_exeext conftest.$ac_ext
13840
LIBS=$ac_check_lib_save_LIBS
13842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
13843
$as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
13844
if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
13850
if test "x$have_xkb" = "xmaybe"; then
13851
ac_fn_c_check_header_mongrel "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "$ac_includes_default"
13852
if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
13858
if test "x$have_xkb" = "xyes"; then
13860
$as_echo "#define HAVE_XKB /**/" >>confdefs.h
13863
LIBS="$LIBS $save_LIBS"
13867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
13868
$as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
13869
if ${ac_cv_lib_Xi_XOpenDevice+:} false; then :
13870
$as_echo_n "(cached) " >&6
13872
ac_check_lib_save_LIBS=$LIBS
13873
LIBS="-lXi $X_LIBS $LIBS"
13874
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875
/* end confdefs.h. */
13877
/* Override any GCC internal prototype to avoid an error.
13878
Use char because int might match the return type of a GCC
13879
builtin and then its argument prototype would still apply. */
13883
char XOpenDevice ();
13887
return XOpenDevice ();
13892
if ac_fn_c_try_link "$LINENO"; then :
13893
ac_cv_lib_Xi_XOpenDevice=yes
13895
ac_cv_lib_Xi_XOpenDevice=no
13897
rm -f core conftest.err conftest.$ac_objext \
13898
conftest$ac_exeext conftest.$ac_ext
13899
LIBS=$ac_check_lib_save_LIBS
13901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
13902
$as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
13903
if test "x$ac_cv_lib_Xi_XOpenDevice" = xyes; then :
13904
have_xinput="maybe"
13909
if test "x$have_xinput" = "xmaybe"; then
13911
LIBS="$LIBS $X_LIBS"
13912
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$ac_includes_default"
13913
if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes; then :
13920
if test "x$have_xinput" != "xyes"; then
13921
as_fn_error $? "Couldn't find the XInput library. Check config.log for details" "$LINENO" 5
13925
LIBS="$LIBS $save_LIBS"
13929
# Check whether --enable-xevie was given.
13930
if test "${enable_xevie+set}" = set; then :
13931
enableval=$enable_xevie; enable_xevie="$enableval"
13937
if test -z "$backend_set"; then
13938
enable_x11_backend=yes
13941
if test x$enable_xevie = xyes ; then
13943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieStart in -lXext" >&5
13944
$as_echo_n "checking for XevieStart in -lXext... " >&6; }
13945
if ${ac_cv_lib_Xext_XevieStart+:} false; then :
13946
$as_echo_n "(cached) " >&6
13948
ac_check_lib_save_LIBS=$LIBS
13949
LIBS="-lXext $X_LIBS $LIBS"
13950
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951
/* end confdefs.h. */
13953
/* Override any GCC internal prototype to avoid an error.
13954
Use char because int might match the return type of a GCC
13955
builtin and then its argument prototype would still apply. */
13959
char XevieStart ();
13963
return XevieStart ();
13968
if ac_fn_c_try_link "$LINENO"; then :
13969
ac_cv_lib_Xext_XevieStart=yes
13971
ac_cv_lib_Xext_XevieStart=no
13973
rm -f core conftest.err conftest.$ac_objext \
13974
conftest$ac_exeext conftest.$ac_ext
13975
LIBS=$ac_check_lib_save_LIBS
13977
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XevieStart" >&5
13978
$as_echo "$ac_cv_lib_Xext_XevieStart" >&6; }
13979
if test "x$ac_cv_lib_Xext_XevieStart" = xyes; then :
13986
if test "x$have_xevie" = "xyes"; then
13987
XEVIE_LIBS="-lXext"
13989
$as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
13992
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XevieQueryVersion in -lXevie" >&5
13993
$as_echo_n "checking for XevieQueryVersion in -lXevie... " >&6; }
13994
if ${ac_cv_lib_Xevie_XevieQueryVersion+:} false; then :
13995
$as_echo_n "(cached) " >&6
13997
ac_check_lib_save_LIBS=$LIBS
13998
LIBS="-lXevie $X_LIBS $LIBS"
13999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000
/* end confdefs.h. */
14002
/* Override any GCC internal prototype to avoid an error.
14003
Use char because int might match the return type of a GCC
14004
builtin and then its argument prototype would still apply. */
14008
char XevieQueryVersion ();
14012
return XevieQueryVersion ();
14017
if ac_fn_c_try_link "$LINENO"; then :
14018
ac_cv_lib_Xevie_XevieQueryVersion=yes
14020
ac_cv_lib_Xevie_XevieQueryVersion=no
14022
rm -f core conftest.err conftest.$ac_objext \
14023
conftest$ac_exeext conftest.$ac_ext
14024
LIBS=$ac_check_lib_save_LIBS
14026
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xevie_XevieQueryVersion" >&5
14027
$as_echo "$ac_cv_lib_Xevie_XevieQueryVersion" >&6; }
14028
if test "x$ac_cv_lib_Xevie_XevieQueryVersion" = xyes; then :
14032
if test "x$have_xevie" = "xmaybe"; then
14033
ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xevie.h" "ac_cv_header_X11_extensions_Xevie_h" "#include <X11/Xlib.h>
14036
if test "x$ac_cv_header_X11_extensions_Xevie_h" = xyes; then :
14041
if test "x$have_xevie" = "xyes"; then
14042
XEVIE_LIBS="-lXext -lXevie"
14044
$as_echo "#define HAVE_XEVIE /**/" >>confdefs.h
14051
LIBS="$LIBS $save_LIBS"
14054
# Check whether --with-dbus_daemondir was given.
14055
if test "${with_dbus_daemondir+set}" = set; then :
14056
withval=$with_dbus_daemondir; DBUS_DAEMON="$with_dbus_daemondir/dbus-daemon"
14058
# Extract the first word of "dbus-daemon", so it can be a program name with args.
14059
set dummy dbus-daemon; ac_word=$2
14060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14061
$as_echo_n "checking for $ac_word... " >&6; }
14062
if ${ac_cv_path_DBUS_DAEMON+:} false; then :
14063
$as_echo_n "(cached) " >&6
14065
case $DBUS_DAEMON in
14067
ac_cv_path_DBUS_DAEMON="$DBUS_DAEMON" # Let the user override the test with a path.
14070
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14071
for as_dir in $PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR/usr/sbin$PATH_SEPARATOR/libexec$PATH_SEPARATOR/usr/libexec$PATH_SEPARATOR/usr/local/bin$PATH_SEPARATOR/usr/pkg/bin
14074
test -z "$as_dir" && as_dir=.
14075
for ac_exec_ext in '' $ac_executable_extensions; do
14076
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14077
ac_cv_path_DBUS_DAEMON="$as_dir/$ac_word$ac_exec_ext"
14078
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14085
test -z "$ac_cv_path_DBUS_DAEMON" && ac_cv_path_DBUS_DAEMON="XXXDBUSDAEMONNOTFOUND"
14089
DBUS_DAEMON=$ac_cv_path_DBUS_DAEMON
14090
if test -n "$DBUS_DAEMON"; then
14091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_DAEMON" >&5
14092
$as_echo "$DBUS_DAEMON" >&6; }
14094
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14095
$as_echo "no" >&6; }
14102
if test "$DBUS_DAEMON" = "XXXDBUSDAEMONNOTFOUND"; then
14103
DBUS_DAEMON = "$bindir/dbus-daemon"
14104
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&5
14105
$as_echo "$as_me: WARNING: at-spi2 relies on dbus, and the dbus-daemon was not found" >&2;}
14106
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: we assume that it will be installed in \"$bindir\"" >&5
14107
$as_echo "$as_me: WARNING: we assume that it will be installed in \"$bindir\"" >&2;}
14112
# Check whether --with-dbus-services was given.
14113
if test "${with_dbus_services+set}" = set; then :
14114
withval=$with_dbus_services;
14117
if ! test -z "$with_dbus_services" ; then
14118
DBUS_SERVICES_DIR="$with_dbus_services"
14120
DBUS_SERVICES_DIR="$datadir/dbus-1/services"
14124
# Extract the first word of "glib-mkenums", so it can be a program name with args.
14125
set dummy glib-mkenums; ac_word=$2
14126
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14127
$as_echo_n "checking for $ac_word... " >&6; }
14128
if ${ac_cv_path_GLIB_MKENUMS+:} false; then :
14129
$as_echo_n "(cached) " >&6
14131
case $GLIB_MKENUMS in
14133
ac_cv_path_GLIB_MKENUMS="$GLIB_MKENUMS" # Let the user override the test with a path.
14136
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14137
for as_dir in $PATH
14140
test -z "$as_dir" && as_dir=.
14141
for ac_exec_ext in '' $ac_executable_extensions; do
14142
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14143
ac_cv_path_GLIB_MKENUMS="$as_dir/$ac_word$ac_exec_ext"
14144
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14154
GLIB_MKENUMS=$ac_cv_path_GLIB_MKENUMS
14155
if test -n "$GLIB_MKENUMS"; then
14156
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GLIB_MKENUMS" >&5
14157
$as_echo "$GLIB_MKENUMS" >&6; }
14159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14160
$as_echo "no" >&6; }
14168
# Check whether --enable-introspection was given.
14169
if test "${enable_introspection+set}" = set; then :
14170
enableval=$enable_introspection;
14172
enable_introspection=auto
14176
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
14177
$as_echo_n "checking for gobject-introspection... " >&6; }
14179
case $enable_introspection in #(
14181
found_introspection="no (disabled, use --enable-introspection to enable)"
14184
if test -n "$PKG_CONFIG" && \
14185
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
14186
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
14188
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14189
test $ac_status = 0; }; then
14192
as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
14194
if test -n "$PKG_CONFIG" && \
14195
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
14196
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
14198
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14199
test $ac_status = 0; }; then
14200
found_introspection=yes
14202
as_fn_error $? "You need to have gobject-introspection >= 0.9.6 installed to build at-spi2-core" "$LINENO" 5
14206
if test -n "$PKG_CONFIG" && \
14207
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.6\""; } >&5
14208
($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.6") 2>&5
14210
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14211
test $ac_status = 0; }; then
14212
found_introspection=yes
14214
found_introspection=no
14218
as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
14221
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
14222
$as_echo "$found_introspection" >&6; }
14224
INTROSPECTION_SCANNER=
14225
INTROSPECTION_COMPILER=
14226
INTROSPECTION_GENERATE=
14227
INTROSPECTION_GIRDIR=
14228
INTROSPECTION_TYPELIBDIR=
14229
if test "x$found_introspection" = "xyes"; then
14230
INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
14231
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
14232
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
14233
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
14234
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
14235
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
14236
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
14237
INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
14248
if test "x$found_introspection" = "xyes"; then
14249
HAVE_INTROSPECTION_TRUE=
14250
HAVE_INTROSPECTION_FALSE='#'
14252
HAVE_INTROSPECTION_TRUE='#'
14253
HAVE_INTROSPECTION_FALSE=
14261
orig_CPPFLAGS=$CPPFLAGS
14262
CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
14264
# The cast to long int works around a bug in the HP C Compiler,
14265
# see AC_CHECK_SIZEOF for more information.
14266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of char" >&5
14267
$as_echo_n "checking alignment of char... " >&6; }
14268
if ${ac_cv_alignof_char+:} false; then :
14269
$as_echo_n "(cached) " >&6
14271
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_char" "
14273
#include <stdlib.h>
14274
#define DBUS_API_SUBJECT_TO_CHANGE
14275
#include <dbus/dbus.h>
14276
typedef struct {char s1;} dbind_struct;
14277
typedef void *dbind_pointer;
14281
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14283
typedef struct { char x; char y; } ac__type_alignof_;"; then :
14286
if test "$ac_cv_type_char" = yes; then
14287
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14288
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14289
as_fn_error 77 "cannot compute alignment of char
14290
See \`config.log' for more details" "$LINENO" 5; }
14292
ac_cv_alignof_char=0
14297
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_char" >&5
14298
$as_echo "$ac_cv_alignof_char" >&6; }
14302
cat >>confdefs.h <<_ACEOF
14303
#define ALIGNOF_CHAR $ac_cv_alignof_char
14308
DBIND_ALIGNOF_CHAR=$ac_cv_alignof_char
14313
# The cast to long int works around a bug in the HP C Compiler,
14314
# see AC_CHECK_SIZEOF for more information.
14315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_bool_t" >&5
14316
$as_echo_n "checking alignment of dbus_bool_t... " >&6; }
14317
if ${ac_cv_alignof_dbus_bool_t+:} false; then :
14318
$as_echo_n "(cached) " >&6
14320
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_bool_t" "
14322
#include <stdlib.h>
14323
#define DBUS_API_SUBJECT_TO_CHANGE
14324
#include <dbus/dbus.h>
14325
typedef struct {char s1;} dbind_struct;
14326
typedef void *dbind_pointer;
14330
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14332
typedef struct { char x; dbus_bool_t y; } ac__type_alignof_;"; then :
14335
if test "$ac_cv_type_dbus_bool_t" = yes; then
14336
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14337
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14338
as_fn_error 77 "cannot compute alignment of dbus_bool_t
14339
See \`config.log' for more details" "$LINENO" 5; }
14341
ac_cv_alignof_dbus_bool_t=0
14346
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_bool_t" >&5
14347
$as_echo "$ac_cv_alignof_dbus_bool_t" >&6; }
14351
cat >>confdefs.h <<_ACEOF
14352
#define ALIGNOF_DBUS_BOOL_T $ac_cv_alignof_dbus_bool_t
14357
DBIND_ALIGNOF_DBUS_BOOL_T=$ac_cv_alignof_dbus_bool_t
14362
# The cast to long int works around a bug in the HP C Compiler,
14363
# see AC_CHECK_SIZEOF for more information.
14364
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int16_t" >&5
14365
$as_echo_n "checking alignment of dbus_int16_t... " >&6; }
14366
if ${ac_cv_alignof_dbus_int16_t+:} false; then :
14367
$as_echo_n "(cached) " >&6
14369
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_int16_t" "
14371
#include <stdlib.h>
14372
#define DBUS_API_SUBJECT_TO_CHANGE
14373
#include <dbus/dbus.h>
14374
typedef struct {char s1;} dbind_struct;
14375
typedef void *dbind_pointer;
14379
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14381
typedef struct { char x; dbus_int16_t y; } ac__type_alignof_;"; then :
14384
if test "$ac_cv_type_dbus_int16_t" = yes; then
14385
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14386
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14387
as_fn_error 77 "cannot compute alignment of dbus_int16_t
14388
See \`config.log' for more details" "$LINENO" 5; }
14390
ac_cv_alignof_dbus_int16_t=0
14395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int16_t" >&5
14396
$as_echo "$ac_cv_alignof_dbus_int16_t" >&6; }
14400
cat >>confdefs.h <<_ACEOF
14401
#define ALIGNOF_DBUS_INT16_T $ac_cv_alignof_dbus_int16_t
14406
DBIND_ALIGNOF_DBUS_INT16_T=$ac_cv_alignof_dbus_int16_t
14411
# The cast to long int works around a bug in the HP C Compiler,
14412
# see AC_CHECK_SIZEOF for more information.
14413
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int32_t" >&5
14414
$as_echo_n "checking alignment of dbus_int32_t... " >&6; }
14415
if ${ac_cv_alignof_dbus_int32_t+:} false; then :
14416
$as_echo_n "(cached) " >&6
14418
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_int32_t" "
14420
#include <stdlib.h>
14421
#define DBUS_API_SUBJECT_TO_CHANGE
14422
#include <dbus/dbus.h>
14423
typedef struct {char s1;} dbind_struct;
14424
typedef void *dbind_pointer;
14428
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14430
typedef struct { char x; dbus_int32_t y; } ac__type_alignof_;"; then :
14433
if test "$ac_cv_type_dbus_int32_t" = yes; then
14434
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14435
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14436
as_fn_error 77 "cannot compute alignment of dbus_int32_t
14437
See \`config.log' for more details" "$LINENO" 5; }
14439
ac_cv_alignof_dbus_int32_t=0
14444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int32_t" >&5
14445
$as_echo "$ac_cv_alignof_dbus_int32_t" >&6; }
14449
cat >>confdefs.h <<_ACEOF
14450
#define ALIGNOF_DBUS_INT32_T $ac_cv_alignof_dbus_int32_t
14455
DBIND_ALIGNOF_DBUS_INT32_T=$ac_cv_alignof_dbus_int32_t
14460
# The cast to long int works around a bug in the HP C Compiler,
14461
# see AC_CHECK_SIZEOF for more information.
14462
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbus_int64_t" >&5
14463
$as_echo_n "checking alignment of dbus_int64_t... " >&6; }
14464
if ${ac_cv_alignof_dbus_int64_t+:} false; then :
14465
$as_echo_n "(cached) " >&6
14467
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbus_int64_t" "
14469
#include <stdlib.h>
14470
#define DBUS_API_SUBJECT_TO_CHANGE
14471
#include <dbus/dbus.h>
14472
typedef struct {char s1;} dbind_struct;
14473
typedef void *dbind_pointer;
14477
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14479
typedef struct { char x; dbus_int64_t y; } ac__type_alignof_;"; then :
14482
if test "$ac_cv_type_dbus_int64_t" = yes; then
14483
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14484
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14485
as_fn_error 77 "cannot compute alignment of dbus_int64_t
14486
See \`config.log' for more details" "$LINENO" 5; }
14488
ac_cv_alignof_dbus_int64_t=0
14493
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbus_int64_t" >&5
14494
$as_echo "$ac_cv_alignof_dbus_int64_t" >&6; }
14498
cat >>confdefs.h <<_ACEOF
14499
#define ALIGNOF_DBUS_INT64_T $ac_cv_alignof_dbus_int64_t
14504
DBIND_ALIGNOF_DBUS_INT64_T=$ac_cv_alignof_dbus_int64_t
14509
# The cast to long int works around a bug in the HP C Compiler,
14510
# see AC_CHECK_SIZEOF for more information.
14511
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of double" >&5
14512
$as_echo_n "checking alignment of double... " >&6; }
14513
if ${ac_cv_alignof_double+:} false; then :
14514
$as_echo_n "(cached) " >&6
14516
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_double" "
14518
#include <stdlib.h>
14519
#define DBUS_API_SUBJECT_TO_CHANGE
14520
#include <dbus/dbus.h>
14521
typedef struct {char s1;} dbind_struct;
14522
typedef void *dbind_pointer;
14526
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14528
typedef struct { char x; double y; } ac__type_alignof_;"; then :
14531
if test "$ac_cv_type_double" = yes; then
14532
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14533
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14534
as_fn_error 77 "cannot compute alignment of double
14535
See \`config.log' for more details" "$LINENO" 5; }
14537
ac_cv_alignof_double=0
14542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_double" >&5
14543
$as_echo "$ac_cv_alignof_double" >&6; }
14547
cat >>confdefs.h <<_ACEOF
14548
#define ALIGNOF_DOUBLE $ac_cv_alignof_double
14553
DBIND_ALIGNOF_DOUBLE=$ac_cv_alignof_double
14558
# The cast to long int works around a bug in the HP C Compiler,
14559
# see AC_CHECK_SIZEOF for more information.
14560
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_pointer" >&5
14561
$as_echo_n "checking alignment of dbind_pointer... " >&6; }
14562
if ${ac_cv_alignof_dbind_pointer+:} false; then :
14563
$as_echo_n "(cached) " >&6
14565
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbind_pointer" "
14567
#include <stdlib.h>
14568
#define DBUS_API_SUBJECT_TO_CHANGE
14569
#include <dbus/dbus.h>
14570
typedef struct {char s1;} dbind_struct;
14571
typedef void *dbind_pointer;
14575
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14577
typedef struct { char x; dbind_pointer y; } ac__type_alignof_;"; then :
14580
if test "$ac_cv_type_dbind_pointer" = yes; then
14581
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14582
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14583
as_fn_error 77 "cannot compute alignment of dbind_pointer
14584
See \`config.log' for more details" "$LINENO" 5; }
14586
ac_cv_alignof_dbind_pointer=0
14591
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_pointer" >&5
14592
$as_echo "$ac_cv_alignof_dbind_pointer" >&6; }
14596
cat >>confdefs.h <<_ACEOF
14597
#define ALIGNOF_DBIND_POINTER $ac_cv_alignof_dbind_pointer
14602
DBIND_ALIGNOF_DBIND_POINTER=$ac_cv_alignof_dbind_pointer
14607
# The cast to long int works around a bug in the HP C Compiler,
14608
# see AC_CHECK_SIZEOF for more information.
14609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking alignment of dbind_struct" >&5
14610
$as_echo_n "checking alignment of dbind_struct... " >&6; }
14611
if ${ac_cv_alignof_dbind_struct+:} false; then :
14612
$as_echo_n "(cached) " >&6
14614
if ac_fn_c_compute_int "$LINENO" "(long int) offsetof (ac__type_alignof_, y)" "ac_cv_alignof_dbind_struct" "
14616
#include <stdlib.h>
14617
#define DBUS_API_SUBJECT_TO_CHANGE
14618
#include <dbus/dbus.h>
14619
typedef struct {char s1;} dbind_struct;
14620
typedef void *dbind_pointer;
14624
# define offsetof(type, member) ((char *) &((type *) 0)->member - (char *) 0)
14626
typedef struct { char x; dbind_struct y; } ac__type_alignof_;"; then :
14629
if test "$ac_cv_type_dbind_struct" = yes; then
14630
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14631
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14632
as_fn_error 77 "cannot compute alignment of dbind_struct
14633
See \`config.log' for more details" "$LINENO" 5; }
14635
ac_cv_alignof_dbind_struct=0
14640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_alignof_dbind_struct" >&5
14641
$as_echo "$ac_cv_alignof_dbind_struct" >&6; }
14645
cat >>confdefs.h <<_ACEOF
14646
#define ALIGNOF_DBIND_STRUCT $ac_cv_alignof_dbind_struct
14651
DBIND_ALIGNOF_DBIND_STRUCT=$ac_cv_alignof_dbind_struct
14659
gtk_doc_requires="gtk-doc >= 1.09"
14660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
14661
$as_echo_n "checking for gtk-doc... " >&6; }
14662
if test -n "$PKG_CONFIG" && \
14663
{ { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
14664
($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
14666
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14667
test $ac_status = 0; }; then
14672
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
14673
$as_echo "$have_gtk_doc" >&6; }
14675
if test "$have_gtk_doc" = "no"; then
14676
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
14677
You will not be able to create source packages with 'make dist'
14678
because $gtk_doc_requires is not found." >&5
14679
$as_echo "$as_me: WARNING:
14680
You will not be able to create source packages with 'make dist'
14681
because $gtk_doc_requires is not found." >&2;}
14684
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
14685
set dummy gtkdoc-check; ac_word=$2
14686
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14687
$as_echo_n "checking for $ac_word... " >&6; }
14688
if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
14689
$as_echo_n "(cached) " >&6
14691
if test -n "$GTKDOC_CHECK"; then
14692
ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
14694
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14695
for as_dir in $PATH
14698
test -z "$as_dir" && as_dir=.
14699
for ac_exec_ext in '' $ac_executable_extensions; do
14700
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14701
ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
14702
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14711
GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
14712
if test -n "$GTKDOC_CHECK"; then
14713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
14714
$as_echo "$GTKDOC_CHECK" >&6; }
14716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14717
$as_echo "no" >&6; }
14721
# Extract the first word of "gtkdoc-check", so it can be a program name with args.
14722
set dummy gtkdoc-check; ac_word=$2
14723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14724
$as_echo_n "checking for $ac_word... " >&6; }
14725
if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
14726
$as_echo_n "(cached) " >&6
14728
case $GTKDOC_CHECK_PATH in
14730
ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
14733
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14734
for as_dir in $PATH
14737
test -z "$as_dir" && as_dir=.
14738
for ac_exec_ext in '' $ac_executable_extensions; do
14739
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14740
ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
14741
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14751
GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
14752
if test -n "$GTKDOC_CHECK_PATH"; then
14753
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
14754
$as_echo "$GTKDOC_CHECK_PATH" >&6; }
14756
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14757
$as_echo "no" >&6; }
14761
for ac_prog in gtkdoc-rebase
14763
# Extract the first word of "$ac_prog", so it can be a program name with args.
14764
set dummy $ac_prog; ac_word=$2
14765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14766
$as_echo_n "checking for $ac_word... " >&6; }
14767
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
14768
$as_echo_n "(cached) " >&6
14770
case $GTKDOC_REBASE in
14772
ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
14775
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14776
for as_dir in $PATH
14779
test -z "$as_dir" && as_dir=.
14780
for ac_exec_ext in '' $ac_executable_extensions; do
14781
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14782
ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
14783
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14793
GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
14794
if test -n "$GTKDOC_REBASE"; then
14795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
14796
$as_echo "$GTKDOC_REBASE" >&6; }
14798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14799
$as_echo "no" >&6; }
14803
test -n "$GTKDOC_REBASE" && break
14805
test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
14807
# Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
14808
set dummy gtkdoc-mkpdf; ac_word=$2
14809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14810
$as_echo_n "checking for $ac_word... " >&6; }
14811
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
14812
$as_echo_n "(cached) " >&6
14814
case $GTKDOC_MKPDF in
14816
ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
14819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14820
for as_dir in $PATH
14823
test -z "$as_dir" && as_dir=.
14824
for ac_exec_ext in '' $ac_executable_extensions; do
14825
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14826
ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
14827
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14837
GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
14838
if test -n "$GTKDOC_MKPDF"; then
14839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
14840
$as_echo "$GTKDOC_MKPDF" >&6; }
14842
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14843
$as_echo "no" >&6; }
14849
# Check whether --with-html-dir was given.
14850
if test "${with_html_dir+set}" = set; then :
14851
withval=$with_html_dir;
14853
with_html_dir='${datadir}/gtk-doc/html'
14856
HTML_DIR="$with_html_dir"
14859
# Check whether --enable-gtk-doc was given.
14860
if test "${enable_gtk_doc+set}" = set; then :
14861
enableval=$enable_gtk_doc;
14867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
14868
$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
14869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
14870
$as_echo "$enable_gtk_doc" >&6; }
14872
if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
14874
You must have $gtk_doc_requires installed to build documentation for
14875
$PACKAGE_NAME. Please install gtk-doc or disable building the
14876
documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
14879
if test "x$PACKAGE_NAME" != "xglib"; then
14882
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
14883
$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
14885
if test -n "$GTKDOC_DEPS_CFLAGS"; then
14886
pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
14887
elif test -n "$PKG_CONFIG"; then
14888
if test -n "$PKG_CONFIG" && \
14889
{ { $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
14890
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14892
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14893
test $ac_status = 0; }; then
14894
pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14895
test "x$?" != "x0" && pkg_failed=yes
14902
if test -n "$GTKDOC_DEPS_LIBS"; then
14903
pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
14904
elif test -n "$PKG_CONFIG"; then
14905
if test -n "$PKG_CONFIG" && \
14906
{ { $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
14907
($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
14909
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14910
test $ac_status = 0; }; then
14911
pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
14912
test "x$?" != "x0" && pkg_failed=yes
14922
if test $pkg_failed = yes; then
14923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14924
$as_echo "no" >&6; }
14926
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14927
_pkg_short_errors_supported=yes
14929
_pkg_short_errors_supported=no
14931
if test $_pkg_short_errors_supported = yes; then
14932
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`
14934
GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
14936
# Put the nasty error message in config.log where it belongs
14937
echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
14940
elif test $pkg_failed = untried; then
14941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14942
$as_echo "no" >&6; }
14945
GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
14946
GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
14947
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14948
$as_echo "yes" >&6; }
14953
# Check whether --enable-gtk-doc-html was given.
14954
if test "${enable_gtk_doc_html+set}" = set; then :
14955
enableval=$enable_gtk_doc_html;
14957
enable_gtk_doc_html=yes
14960
# Check whether --enable-gtk-doc-pdf was given.
14961
if test "${enable_gtk_doc_pdf+set}" = set; then :
14962
enableval=$enable_gtk_doc_pdf;
14964
enable_gtk_doc_pdf=no
14968
if test -z "$GTKDOC_MKPDF"; then
14969
enable_gtk_doc_pdf=no
14972
if test -z "$AM_DEFAULT_VERBOSITY"; then
14973
AM_DEFAULT_VERBOSITY=1
14977
if test x$have_gtk_doc = xyes; then
14979
HAVE_GTK_DOC_FALSE='#'
14981
HAVE_GTK_DOC_TRUE='#'
14982
HAVE_GTK_DOC_FALSE=
14985
if test x$enable_gtk_doc = xyes; then
14986
ENABLE_GTK_DOC_TRUE=
14987
ENABLE_GTK_DOC_FALSE='#'
14989
ENABLE_GTK_DOC_TRUE='#'
14990
ENABLE_GTK_DOC_FALSE=
14993
if test x$enable_gtk_doc_html = xyes; then
14994
GTK_DOC_BUILD_HTML_TRUE=
14995
GTK_DOC_BUILD_HTML_FALSE='#'
14997
GTK_DOC_BUILD_HTML_TRUE='#'
14998
GTK_DOC_BUILD_HTML_FALSE=
15001
if test x$enable_gtk_doc_pdf = xyes; then
15002
GTK_DOC_BUILD_PDF_TRUE=
15003
GTK_DOC_BUILD_PDF_FALSE='#'
15005
GTK_DOC_BUILD_PDF_TRUE='#'
15006
GTK_DOC_BUILD_PDF_FALSE=
15009
if test -n "$LIBTOOL"; then
15010
GTK_DOC_USE_LIBTOOL_TRUE=
15011
GTK_DOC_USE_LIBTOOL_FALSE='#'
15013
GTK_DOC_USE_LIBTOOL_TRUE='#'
15014
GTK_DOC_USE_LIBTOOL_FALSE=
15017
if test -n "$GTKDOC_REBASE"; then
15018
GTK_DOC_USE_REBASE_TRUE=
15019
GTK_DOC_USE_REBASE_FALSE='#'
15021
GTK_DOC_USE_REBASE_TRUE='#'
15022
GTK_DOC_USE_REBASE_FALSE=
15027
if test "x$GCC" = xyes; then
15028
CFLAGS="$CFLAGS -Werror-implicit-function-declaration"
15030
CPPFLAGS=$orig_CPPFLAGS
15031
ac_config_files="$ac_config_files Makefile po/Makefile.in xml/Makefile dbind/Makefile dbind/dbind-config.h atspi/Makefile registryd/Makefile bus/Makefile doc/Makefile doc/libatspi/Makefile doc/libatspi/version.xml test/Makefile atspi-2.pc atspi-2-uninstalled.pc"
15034
cat >confcache <<\_ACEOF
15035
# This file is a shell script that caches the results of configure
15036
# tests run on this system so they can be shared between configure
15037
# scripts and configure runs, see configure's option --config-cache.
15038
# It is not useful on other systems. If it contains results you don't
15039
# want to keep, you may remove or edit it.
15041
# config.status only pays attention to the cache file if you give it
15042
# the --recheck option to rerun configure.
15044
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15045
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15046
# following values.
15050
# The following way of writing the cache mishandles newlines in values,
15051
# but we know of no workaround that is simple, portable, and efficient.
15052
# So, we kill variables containing newlines.
15053
# Ultrix sh set writes to stderr and can't be redirected directly,
15054
# and sets the high bit in the cache file unless we assign to the vars.
15056
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15057
eval ac_val=\$$ac_var
15061
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15062
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15065
_ | IFS | as_nl) ;; #(
15066
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15067
*) { eval $ac_var=; unset $ac_var;} ;;
15073
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15074
*${as_nl}ac_space=\ *)
15075
# `set' does not quote correctly, so add quotes: double-quote
15076
# substitution turns \\\\ into \\, and sed turns \\ into \.
15079
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15082
# `set' quotes correctly as required by POSIX, so do not add quotes.
15083
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15092
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15094
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15096
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15097
if test -w "$cache_file"; then
15098
if test "x$cache_file" != "x/dev/null"; then
15099
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15100
$as_echo "$as_me: updating cache $cache_file" >&6;}
15101
if test ! -f "$cache_file" || test -h "$cache_file"; then
15102
cat confcache >"$cache_file"
15104
case $cache_file in #(
15106
mv -f confcache "$cache_file"$$ &&
15107
mv -f "$cache_file"$$ "$cache_file" ;; #(
15109
mv -f confcache "$cache_file" ;;
15114
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15115
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15120
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15121
# Let make expand exec_prefix.
15122
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15124
DEFS=-DHAVE_CONFIG_H
15129
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15130
# 1. Remove the extension, and $U if already installed.
15131
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15132
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15133
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15134
# will be set to the directory where LIBOBJS objects are built.
15135
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15136
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15138
LIBOBJS=$ac_libobjs
15140
LTLIBOBJS=$ac_ltlibobjs
15143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15144
$as_echo_n "checking that generated files are newer than configure... " >&6; }
15145
if test -n "$am_sleep_pid"; then
15146
# Hide warnings about reused PIDs.
15147
wait $am_sleep_pid 2>/dev/null
15149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15150
$as_echo "done" >&6; }
15151
if test -n "$EXEEXT"; then
15153
am__EXEEXT_FALSE='#'
15155
am__EXEEXT_TRUE='#'
15159
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15160
as_fn_error $? "conditional \"AMDEP\" was never defined.
15161
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15163
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15164
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15165
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15168
ac_config_commands="$ac_config_commands po/stamp-it"
15171
if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
15172
as_fn_error $? "conditional \"USE_X11\" was never defined.
15173
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15175
if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
15176
as_fn_error $? "conditional \"USE_X11\" was never defined.
15177
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15179
if test -z "${USE_X11_TRUE}" && test -z "${USE_X11_FALSE}"; then
15180
as_fn_error $? "conditional \"USE_X11\" was never defined.
15181
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15183
if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
15184
as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
15185
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15187
if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
15188
as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
15189
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15191
if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
15192
as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
15193
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15195
if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
15196
as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
15197
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15199
if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
15200
as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
15201
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15203
if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
15204
as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
15205
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15207
if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
15208
as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
15209
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15212
: "${CONFIG_STATUS=./config.status}"
15214
ac_clean_files_save=$ac_clean_files
15215
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15216
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15217
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15219
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15221
# Generated by $as_me.
15222
# Run this file to recreate the current configuration.
15223
# Compiler output produced by configure, useful for debugging
15224
# configure, is in config.log if it exists.
15227
ac_cs_recheck=false
15230
SHELL=\${CONFIG_SHELL-$SHELL}
15233
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15234
## -------------------- ##
15235
## M4sh Initialization. ##
15236
## -------------------- ##
15238
# Be more Bourne compatible
15239
DUALCASE=1; export DUALCASE # for MKS sh
15240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15243
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15244
# is contrary to our usage. Disable this feature.
15245
alias -g '${1+"$@"}'='"$@"'
15246
setopt NO_GLOB_SUBST
15248
case `(set -o) 2>/dev/null` in #(
15260
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15261
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15262
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15263
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15264
# Prefer a ksh shell builtin over an external printf program on Solaris,
15265
# but without wasting forks for bash or zsh.
15266
if test -z "$BASH_VERSION$ZSH_VERSION" \
15267
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15268
as_echo='print -r --'
15269
as_echo_n='print -rn --'
15270
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15271
as_echo='printf %s\n'
15272
as_echo_n='printf %s'
15274
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15275
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15276
as_echo_n='/usr/ucb/echo -n'
15278
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15279
as_echo_n_body='eval
15283
expr "X$arg" : "X\\(.*\\)$as_nl";
15284
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15286
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15288
export as_echo_n_body
15289
as_echo_n='sh -c $as_echo_n_body as_echo'
15291
export as_echo_body
15292
as_echo='sh -c $as_echo_body as_echo'
15295
# The user is always right.
15296
if test "${PATH_SEPARATOR+set}" != set; then
15298
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15299
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15306
# We need space, tab and new line, in precisely that order. Quoting is
15307
# there to prevent editors from complaining about space-tab.
15308
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15309
# splitting by setting IFS to empty value.)
15312
# Find who we are. Look in the path if we contain no directory separator.
15315
*[\\/]* ) as_myself=$0 ;;
15316
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15317
for as_dir in $PATH
15320
test -z "$as_dir" && as_dir=.
15321
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15327
# We did not find ourselves, most probably we were run as `sh COMMAND'
15328
# in which case we are not to be found in the path.
15329
if test "x$as_myself" = x; then
15332
if test ! -f "$as_myself"; then
15333
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15337
# Unset variables that we do not need and which cause bugs (e.g. in
15338
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15339
# suppresses any "Segmentation fault" message there. '((' could
15340
# trigger a bug in pdksh 5.2.14.
15341
for as_var in BASH_ENV ENV MAIL MAILPATH
15342
do eval test x\${$as_var+set} = xset \
15343
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15356
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15359
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15360
# ----------------------------------------
15361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15363
# script with STATUS, using 1 if that was 0.
15366
as_status=$1; test $as_status -eq 0 && as_status=1
15368
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15371
$as_echo "$as_me: error: $2" >&2
15372
as_fn_exit $as_status
15376
# as_fn_set_status STATUS
15377
# -----------------------
15378
# Set $? to STATUS, without forking.
15379
as_fn_set_status ()
15382
} # as_fn_set_status
15384
# as_fn_exit STATUS
15385
# -----------------
15386
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15390
as_fn_set_status $1
15396
# Portably unset VAR.
15399
{ eval $1=; unset $1;}
15401
as_unset=as_fn_unset
15402
# as_fn_append VAR VALUE
15403
# ----------------------
15404
# Append the text in VALUE to the end of the definition contained in VAR. Take
15405
# advantage of any shell optimizations that allow amortized linear growth over
15406
# repeated appends, instead of the typical quadratic growth present in naive
15408
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15409
eval 'as_fn_append ()
15420
# as_fn_arith ARG...
15421
# ------------------
15422
# Perform arithmetic evaluation on the ARGs, and store the result in the
15423
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15424
# must be portable across $(()) and expr.
15425
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15426
eval 'as_fn_arith ()
15433
as_val=`expr "$@" || test $? -eq 1`
15438
if expr a : '\(a\)' >/dev/null 2>&1 &&
15439
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15445
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15446
as_basename=basename
15451
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15457
as_me=`$as_basename -- "$0" ||
15458
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15459
X"$0" : 'X\(//\)$' \| \
15460
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15462
sed '/^.*\/\([^/][^/]*\)\/*$/{
15476
# Avoid depending upon Character Ranges.
15477
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15478
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15479
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15480
as_cr_digits='0123456789'
15481
as_cr_alnum=$as_cr_Letters$as_cr_digits
15483
ECHO_C= ECHO_N= ECHO_T=
15484
case `echo -n x` in #(((((
15486
case `echo 'xy\c'` in
15487
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15489
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15496
rm -f conf$$ conf$$.exe conf$$.file
15497
if test -d conf$$.dir; then
15498
rm -f conf$$.dir/conf$$.file
15501
mkdir conf$$.dir 2>/dev/null
15503
if (echo >conf$$.file) 2>/dev/null; then
15504
if ln -s conf$$.file conf$$ 2>/dev/null; then
15506
# ... but there are two gotchas:
15507
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15508
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15509
# In both cases, we have to default to `cp -pR'.
15510
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15512
elif ln conf$$.file conf$$ 2>/dev/null; then
15520
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15521
rmdir conf$$.dir 2>/dev/null
15526
# Create "$as_dir" as a directory, including parents if necessary.
15531
-*) as_dir=./$as_dir;;
15533
test -d "$as_dir" || eval $as_mkdir_p || {
15537
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15538
*) as_qdir=$as_dir;;
15540
as_dirs="'$as_qdir' $as_dirs"
15541
as_dir=`$as_dirname -- "$as_dir" ||
15542
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15543
X"$as_dir" : 'X\(//\)[^/]' \| \
15544
X"$as_dir" : 'X\(//\)$' \| \
15545
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15546
$as_echo X"$as_dir" |
15547
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15551
/^X\(\/\/\)[^/].*/{
15564
test -d "$as_dir" && break
15566
test -z "$as_dirs" || eval "mkdir $as_dirs"
15567
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15571
if mkdir -p . 2>/dev/null; then
15572
as_mkdir_p='mkdir -p "$as_dir"'
15574
test -d ./-p && rmdir ./-p
15579
# as_fn_executable_p FILE
15580
# -----------------------
15581
# Test if FILE is an executable regular file.
15582
as_fn_executable_p ()
15584
test -f "$1" && test -x "$1"
15585
} # as_fn_executable_p
15586
as_test_x='test -x'
15587
as_executable_p=as_fn_executable_p
15589
# Sed expression to map a string onto a valid CPP name.
15590
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15592
# Sed expression to map a string onto a valid variable name.
15593
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15597
## ----------------------------------- ##
15598
## Main body of $CONFIG_STATUS script. ##
15599
## ----------------------------------- ##
15601
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15603
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15604
# Save the log message, to keep $0 and so on meaningful, and to
15605
# report actual input values of CONFIG_FILES etc. instead of their
15606
# values after options handling.
15608
This file was extended by at-spi2-core $as_me 2.18.3, which was
15609
generated by GNU Autoconf 2.69. Invocation command line was
15611
CONFIG_FILES = $CONFIG_FILES
15612
CONFIG_HEADERS = $CONFIG_HEADERS
15613
CONFIG_LINKS = $CONFIG_LINKS
15614
CONFIG_COMMANDS = $CONFIG_COMMANDS
15617
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15622
case $ac_config_files in *"
15623
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15626
case $ac_config_headers in *"
15627
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15631
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15632
# Files that config.status was made for.
15633
config_files="$ac_config_files"
15634
config_headers="$ac_config_headers"
15635
config_commands="$ac_config_commands"
15639
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15641
\`$as_me' instantiates files and other configuration actions
15642
from templates according to the current configuration. Unless the files
15643
and actions are specified as TAGs, all are instantiated by default.
15645
Usage: $0 [OPTION]... [TAG]...
15647
-h, --help print this help, then exit
15648
-V, --version print version number and configuration settings, then exit
15649
--config print configuration, then exit
15650
-q, --quiet, --silent
15651
do not print progress messages
15652
-d, --debug don't remove temporary files
15653
--recheck update $as_me by reconfiguring in the same conditions
15654
--file=FILE[:TEMPLATE]
15655
instantiate the configuration file FILE
15656
--header=FILE[:TEMPLATE]
15657
instantiate the configuration header FILE
15659
Configuration files:
15662
Configuration headers:
15665
Configuration commands:
15668
Report bugs to <accessibility-atspi@lists.linux-foundation.org>."
15671
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15672
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15674
at-spi2-core config.status 2.18.3
15675
configured by $0, generated by GNU Autoconf 2.69,
15676
with options \\"\$ac_cs_config\\"
15678
Copyright (C) 2012 Free Software Foundation, Inc.
15679
This config.status script is free software; the Free Software Foundation
15680
gives unlimited permission to copy, distribute and modify it."
15687
test -n "\$AWK" || AWK=awk
15690
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15691
# The default lists apply if the user does not specify any file.
15697
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15698
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15702
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15714
# Handling of the options.
15715
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15717
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15718
$as_echo "$ac_cs_version"; exit ;;
15719
--config | --confi | --conf | --con | --co | --c )
15720
$as_echo "$ac_cs_config"; exit ;;
15721
--debug | --debu | --deb | --de | --d | -d )
15723
--file | --fil | --fi | --f )
15726
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15727
'') as_fn_error $? "missing file argument" ;;
15729
as_fn_append CONFIG_FILES " '$ac_optarg'"
15730
ac_need_defaults=false;;
15731
--header | --heade | --head | --hea )
15734
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15736
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15737
ac_need_defaults=false;;
15739
# Conflict between --help and --header
15740
as_fn_error $? "ambiguous option: \`$1'
15741
Try \`$0 --help' for more information.";;
15742
--help | --hel | -h )
15743
$as_echo "$ac_cs_usage"; exit ;;
15744
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15745
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15748
# This is an error.
15749
-*) as_fn_error $? "unrecognized option: \`$1'
15750
Try \`$0 --help' for more information." ;;
15752
*) as_fn_append ac_config_targets " $1"
15753
ac_need_defaults=false ;;
15759
ac_configure_extra_args=
15761
if $ac_cs_silent; then
15763
ac_configure_extra_args="$ac_configure_extra_args --silent"
15767
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15768
if \$ac_cs_recheck; then
15769
set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15771
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15772
CONFIG_SHELL='$SHELL'
15773
export CONFIG_SHELL
15778
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15782
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15783
## Running $as_me. ##
15789
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15793
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15796
# The HP-UX ksh and POSIX shell print the target directory to stdout
15797
# if CDPATH is set.
15798
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15800
sed_quote_subst='$sed_quote_subst'
15801
double_quote_subst='$double_quote_subst'
15802
delay_variable_subst='$delay_variable_subst'
15803
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15804
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15805
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15806
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15807
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15808
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15809
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15810
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15811
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15812
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15813
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15814
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15815
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15816
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15817
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15818
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15819
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15820
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15821
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15822
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15823
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15824
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15825
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15826
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15827
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15828
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15829
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15830
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15831
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15832
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15833
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15834
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15835
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15836
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15837
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15838
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15839
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15840
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15841
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15842
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15843
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15844
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15845
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15846
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15847
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15848
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15849
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15850
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15851
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15852
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15853
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15854
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15855
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15856
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15857
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15858
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15859
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"`'
15860
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15861
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15862
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15863
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15864
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15865
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15866
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15867
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15868
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15869
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15870
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15871
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15872
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15873
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15874
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15875
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15876
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15877
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15878
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15879
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15880
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15881
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15882
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15883
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15884
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15885
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15886
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15887
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15888
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15889
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15890
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15891
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15892
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15893
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15894
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15895
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15896
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15897
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15898
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15899
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15900
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15901
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15902
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15903
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15904
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15905
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15906
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15907
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15908
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15909
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15910
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15911
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15912
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15913
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15914
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15915
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15916
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15917
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15918
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15919
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15920
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15921
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15922
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15923
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15924
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15925
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15926
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15927
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15928
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15929
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15930
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15931
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15932
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15935
LTCFLAGS='$LTCFLAGS'
15936
compiler='$compiler_DEFAULT'
15938
# A function that is used when there is no print builtin or printf.
15939
func_fallback_echo ()
15941
eval 'cat <<_LTECHO_EOF
15946
# Quote evaled strings.
15961
deplibs_check_method \
15966
sharedlib_from_linklib_cmd \
15969
archiver_list_spec \
15975
lt_cv_sys_global_symbol_pipe \
15976
lt_cv_sys_global_symbol_to_cdecl \
15977
lt_cv_sys_global_symbol_to_c_name_address \
15978
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15979
nm_file_list_spec \
15980
lt_prog_compiler_no_builtin_flag \
15981
lt_prog_compiler_pic \
15982
lt_prog_compiler_wl \
15983
lt_prog_compiler_static \
15984
lt_cv_prog_compiler_c_o \
15993
export_dynamic_flag_spec \
15994
whole_archive_flag_spec \
15995
compiler_needs_object \
15997
allow_undefined_flag \
15998
no_undefined_flag \
15999
hardcode_libdir_flag_spec \
16000
hardcode_libdir_separator \
16004
variables_saved_for_relink \
16006
library_names_spec \
16008
install_override_mode \
16012
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16013
*[\\\\\\\`\\"\\\$]*)
16014
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16017
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16022
# Double-quote double-evaled strings.
16023
for var in reload_cmds \
16024
old_postinstall_cmds \
16025
old_postuninstall_cmds \
16027
extract_expsyms_cmds \
16028
old_archive_from_new_cmds \
16029
old_archive_from_expsyms_cmds \
16031
archive_expsym_cmds \
16033
module_expsym_cmds \
16034
export_symbols_cmds \
16038
postuninstall_cmds \
16040
sys_lib_search_path_spec \
16041
sys_lib_dlsearch_path_spec; do
16042
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16043
*[\\\\\\\`\\"\\\$]*)
16044
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16047
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16052
ac_aux_dir='$ac_aux_dir'
16053
xsi_shell='$xsi_shell'
16054
lt_shell_append='$lt_shell_append'
16056
# See if we are running on zsh, and set the options which allow our
16057
# commands through without removal of \ escapes INIT.
16058
if test -n "\${ZSH_VERSION+set}" ; then
16059
setopt NO_GLOB_SUBST
16065
TIMESTAMP='$TIMESTAMP'
16074
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16076
# Handling of arguments.
16077
for ac_config_target in $ac_config_targets
16079
case $ac_config_target in
16080
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16081
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16082
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16083
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16084
"po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
16085
"xml/Makefile") CONFIG_FILES="$CONFIG_FILES xml/Makefile" ;;
16086
"dbind/Makefile") CONFIG_FILES="$CONFIG_FILES dbind/Makefile" ;;
16087
"dbind/dbind-config.h") CONFIG_FILES="$CONFIG_FILES dbind/dbind-config.h" ;;
16088
"atspi/Makefile") CONFIG_FILES="$CONFIG_FILES atspi/Makefile" ;;
16089
"registryd/Makefile") CONFIG_FILES="$CONFIG_FILES registryd/Makefile" ;;
16090
"bus/Makefile") CONFIG_FILES="$CONFIG_FILES bus/Makefile" ;;
16091
"doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16092
"doc/libatspi/Makefile") CONFIG_FILES="$CONFIG_FILES doc/libatspi/Makefile" ;;
16093
"doc/libatspi/version.xml") CONFIG_FILES="$CONFIG_FILES doc/libatspi/version.xml" ;;
16094
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16095
"atspi-2.pc") CONFIG_FILES="$CONFIG_FILES atspi-2.pc" ;;
16096
"atspi-2-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES atspi-2-uninstalled.pc" ;;
16097
"po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
16099
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16104
# If the user did not use the arguments to specify the items to instantiate,
16105
# then the envvar interface is used. Set only those that are not.
16106
# We use the long form for the default assignment because of an extremely
16107
# bizarre bug on SunOS 4.1.3.
16108
if $ac_need_defaults; then
16109
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16110
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16111
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16114
# Have a temporary directory for convenience. Make it in the build tree
16115
# simply because there is no reason against having it here, and in addition,
16116
# creating and moving files from /tmp can sometimes cause problems.
16117
# Hook for its removal unless debugging.
16118
# Note that there is a small window in which the directory will not be cleaned:
16119
# after its creation but before its name has been assigned to `$tmp'.
16123
trap 'exit_status=$?
16124
: "${ac_tmp:=$tmp}"
16125
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16127
trap 'as_fn_exit 1' 1 2 13 15
16129
# Create a (secure) tmp directory for tmp files.
16132
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16136
tmp=./conf$$-$RANDOM
16137
(umask 077 && mkdir "$tmp")
16138
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16141
# Set up the scripts for CONFIG_FILES section.
16142
# No need to generate them if there are no CONFIG_FILES.
16143
# This happens for instance with `./config.status config.h'.
16144
if test -n "$CONFIG_FILES"; then
16147
ac_cr=`echo X | tr X '\015'`
16148
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16149
# But we know of no other shell where ac_cr would be empty at this
16150
# point, so we can use a bashism as a fallback.
16151
if test "x$ac_cr" = x; then
16152
eval ac_cr=\$\'\\r\'
16154
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16155
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16158
ac_cs_awk_cr=$ac_cr
16161
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16166
echo "cat >conf$$subs.awk <<_ACEOF" &&
16167
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16169
} >conf$$subs.sh ||
16170
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16171
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16173
for ac_last_try in false false false false false :; do
16174
. ./conf$$subs.sh ||
16175
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16177
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16178
if test $ac_delim_n = $ac_delim_num; then
16180
elif $ac_last_try; then
16181
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16183
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16186
rm -f conf$$subs.sh
16188
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16189
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16193
s/^/S["/; s/!.*/"]=/
16203
s/\(.\{148\}\)..*/\1/
16205
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16210
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16217
s/\(.\{148\}\)..*/\1/
16219
s/["\\]/\\&/g; s/^/"/; s/$/"/
16223
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16228
' <conf$$subs.awk | sed '
16233
' >>$CONFIG_STATUS || ac_write_fail=1
16234
rm -f conf$$subs.awk
16235
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16237
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16238
for (key in S) S_is_set[key] = 1
16244
nfields = split(line, field, "@")
16246
len = length(field[1])
16247
for (i = 2; i < nfields; i++) {
16249
keylen = length(key)
16250
if (S_is_set[key]) {
16252
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16253
len += length(value) + length(field[++i])
16264
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16265
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16266
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16269
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16270
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16273
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16274
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16275
# trailing colons and then remove the whole line if VPATH becomes empty
16276
# (actually we leave an empty line to preserve line numbers).
16277
if test "x$srcdir" = x.; then
16278
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16296
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16297
fi # test -n "$CONFIG_FILES"
16299
# Set up the scripts for CONFIG_HEADERS section.
16300
# No need to generate them if there are no CONFIG_HEADERS.
16301
# This happens for instance with `./config.status Makefile'.
16302
if test -n "$CONFIG_HEADERS"; then
16303
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16307
# Transform confdefs.h into an awk script `defines.awk', embedded as
16308
# here-document in config.status, that substitutes the proper values into
16309
# config.h.in to produce config.h.
16311
# Create a delimiter string that does not exist in confdefs.h, to ease
16312
# handling of long lines.
16314
for ac_last_try in false false :; do
16315
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16316
if test -z "$ac_tt"; then
16318
elif $ac_last_try; then
16319
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16321
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16325
# For the awk script, D is an array of macro values keyed by name,
16326
# likewise P contains macro parameters if any. Preserve backslash
16327
# newline sequences.
16329
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16331
s/.\{148\}/&'"$ac_delim"'/g
16334
s/^[ ]*#[ ]*define[ ][ ]*/ /
16341
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16343
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16347
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16348
D["\1"]=" \3\\\\\\n"\\/p
16350
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16355
s/.\{148\}/&'"$ac_delim"'/g
16360
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16363
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16365
' <confdefs.h | sed '
16366
s/'"$ac_delim"'/"\\\
16367
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16369
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16370
for (key in D) D_is_set[key] = 1
16373
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16375
split(line, arg, " ")
16376
if (arg[1] == "#") {
16380
defundef = substr(arg[1], 2)
16383
split(mac1, mac2, "(") #)
16385
prefix = substr(line, 1, index(line, defundef) - 1)
16386
if (D_is_set[macro]) {
16387
# Preserve the white space surrounding the "#".
16388
print prefix "define", macro P[macro] D[macro]
16391
# Replace #undef with comments. This is necessary, for example,
16392
# in the case of _POSIX_SOURCE, which is predefined and required
16393
# on some systems where configure will not decide to define it.
16394
if (defundef == "undef") {
16395
print "/*", prefix defundef, macro, "*/"
16403
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16404
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16405
fi # test -n "$CONFIG_HEADERS"
16408
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16413
:[FHLC]) ac_mode=$ac_tag; continue;;
16415
case $ac_mode$ac_tag in
16417
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16418
:[FH]-) ac_tag=-:-;;
16419
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16436
-) ac_f="$ac_tmp/stdin";;
16437
*) # Look for the file first in the build tree, then in the source tree
16438
# (if the path is not absolute). The absolute path cannot be DOS-style,
16439
# because $ac_f cannot contain `:'.
16443
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16445
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16447
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16448
as_fn_append ac_file_inputs " '$ac_f'"
16451
# Let's still pretend it is `configure' which instantiates (i.e., don't
16452
# use $as_me), people would be surprised to read:
16453
# /* config.h. Generated by config.status. */
16454
configure_input='Generated from '`
16455
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16457
if test x"$ac_file" != x-; then
16458
configure_input="$ac_file. $configure_input"
16459
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16460
$as_echo "$as_me: creating $ac_file" >&6;}
16462
# Neutralize special characters interpreted by sed in replacement strings.
16463
case $configure_input in #(
16464
*\&* | *\|* | *\\* )
16465
ac_sed_conf_input=`$as_echo "$configure_input" |
16466
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16467
*) ac_sed_conf_input=$configure_input;;
16471
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16472
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16477
ac_dir=`$as_dirname -- "$ac_file" ||
16478
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16479
X"$ac_file" : 'X\(//\)[^/]' \| \
16480
X"$ac_file" : 'X\(//\)$' \| \
16481
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16482
$as_echo X"$ac_file" |
16483
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16487
/^X\(\/\/\)[^/].*/{
16500
as_dir="$ac_dir"; as_fn_mkdir_p
16504
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16506
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16507
# A ".." for each directory in $ac_dir_suffix.
16508
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16509
case $ac_top_builddir_sub in
16510
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16511
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16514
ac_abs_top_builddir=$ac_pwd
16515
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16516
# for backward compatibility:
16517
ac_top_builddir=$ac_top_build_prefix
16520
.) # We are building in place.
16522
ac_top_srcdir=$ac_top_builddir_sub
16523
ac_abs_top_srcdir=$ac_pwd ;;
16524
[\\/]* | ?:[\\/]* ) # Absolute name.
16525
ac_srcdir=$srcdir$ac_dir_suffix;
16526
ac_top_srcdir=$srcdir
16527
ac_abs_top_srcdir=$srcdir ;;
16528
*) # Relative name.
16529
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16530
ac_top_srcdir=$ac_top_build_prefix$srcdir
16531
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16533
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16543
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16544
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16546
ac_MKDIR_P=$MKDIR_P
16548
[\\/$]* | ?:[\\/]* ) ;;
16549
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16553
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16554
# If the template does not know about datarootdir, expand it.
16555
# FIXME: This hack should be removed a few years after 2.60.
16556
ac_datarootdir_hack=; ac_datarootdir_seen=
16567
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16568
*datarootdir*) ac_datarootdir_seen=yes;;
16569
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16570
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16571
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16573
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16574
ac_datarootdir_hack='
16575
s&@datadir@&$datadir&g
16576
s&@docdir@&$docdir&g
16577
s&@infodir@&$infodir&g
16578
s&@localedir@&$localedir&g
16579
s&@mandir@&$mandir&g
16580
s&\\\${datarootdir}&$datarootdir&g' ;;
16584
# Neutralize VPATH when `$srcdir' = `.'.
16585
# Shell code in configure.ac might set extrasub.
16586
# FIXME: do we really want to maintain this feature?
16587
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16588
ac_sed_extra="$ac_vpsub
16591
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16593
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16594
s|@configure_input@|$ac_sed_conf_input|;t t
16595
s&@top_builddir@&$ac_top_builddir_sub&;t t
16596
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16597
s&@srcdir@&$ac_srcdir&;t t
16598
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16599
s&@top_srcdir@&$ac_top_srcdir&;t t
16600
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16601
s&@builddir@&$ac_builddir&;t t
16602
s&@abs_builddir@&$ac_abs_builddir&;t t
16603
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16604
s&@INSTALL@&$ac_INSTALL&;t t
16605
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16606
$ac_datarootdir_hack
16608
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16609
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16611
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16612
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16613
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16614
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16615
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16616
which seems to be undefined. Please make sure it is defined" >&5
16617
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16618
which seems to be undefined. Please make sure it is defined" >&2;}
16620
rm -f "$ac_tmp/stdin"
16622
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16623
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16625
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16631
if test x"$ac_file" != x-; then
16633
$as_echo "/* $configure_input */" \
16634
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16635
} >"$ac_tmp/config.h" \
16636
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16637
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16638
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16639
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16642
mv "$ac_tmp/config.h" "$ac_file" \
16643
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16646
$as_echo "/* $configure_input */" \
16647
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16648
|| as_fn_error $? "could not create -" "$LINENO" 5
16650
# Compute "$ac_file"'s index in $config_headers.
16653
for _am_header in $config_headers :; do
16654
case $_am_header in
16655
$_am_arg | $_am_arg:* )
16658
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16661
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16662
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16663
X"$_am_arg" : 'X\(//\)[^/]' \| \
16664
X"$_am_arg" : 'X\(//\)$' \| \
16665
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16666
$as_echo X"$_am_arg" |
16667
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16671
/^X\(\/\/\)[^/].*/{
16683
s/.*/./; q'`/stamp-h$_am_stamp_count
16686
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16687
$as_echo "$as_me: executing $ac_file commands" >&6;}
16692
case $ac_file$ac_mode in
16693
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16694
# Older Autoconf quotes --file arguments for eval, but not when files
16695
# are listed without --file. Let's play safe and only enable the eval
16696
# if we detect the quoting.
16697
case $CONFIG_FILES in
16698
*\'*) eval set x "$CONFIG_FILES" ;;
16699
*) set x $CONFIG_FILES ;;
16704
# Strip MF so we end up with the name of the file.
16705
mf=`echo "$mf" | sed -e 's/:.*$//'`
16706
# Check whether this is an Automake generated Makefile or not.
16707
# We used to match only the files named 'Makefile.in', but
16708
# some people rename them; so instead we look at the file content.
16709
# Grep'ing the first line is not enough: some people post-process
16710
# each Makefile.in and add a new line on top of each file to say so.
16711
# Grep'ing the whole file is not good either: AIX grep has a line
16712
# limit of 2048, but all sed's we know have understand at least 4000.
16713
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16714
dirpart=`$as_dirname -- "$mf" ||
16715
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16716
X"$mf" : 'X\(//\)[^/]' \| \
16717
X"$mf" : 'X\(//\)$' \| \
16718
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16720
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16724
/^X\(\/\/\)[^/].*/{
16740
# Extract the definition of DEPDIR, am__include, and am__quote
16741
# from the Makefile without running 'make'.
16742
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16743
test -z "$DEPDIR" && continue
16744
am__include=`sed -n 's/^am__include = //p' < "$mf"`
16745
test -z "$am__include" && continue
16746
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16747
# Find all dependency output files, they are included files with
16748
# $(DEPDIR) in their names. We invoke sed twice because it is the
16749
# simplest approach to changing $(DEPDIR) to its actual value in the
16751
for file in `sed -n "
16752
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16753
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16754
# Make sure the directory exists.
16755
test -f "$dirpart/$file" && continue
16756
fdir=`$as_dirname -- "$file" ||
16757
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16758
X"$file" : 'X\(//\)[^/]' \| \
16759
X"$file" : 'X\(//\)$' \| \
16760
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16761
$as_echo X"$file" |
16762
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16766
/^X\(\/\/\)[^/].*/{
16779
as_dir=$dirpart/$fdir; as_fn_mkdir_p
16780
# echo "creating $dirpart/$file"
16781
echo '# dummy' > "$dirpart/$file"
16788
# See if we are running on zsh, and set the options which allow our
16789
# commands through without removal of \ escapes.
16790
if test -n "${ZSH_VERSION+set}" ; then
16791
setopt NO_GLOB_SUBST
16794
cfgfile="${ofile}T"
16795
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16798
cat <<_LT_EOF >> "$cfgfile"
16801
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
16802
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
16803
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16804
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16806
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
16807
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
16809
# Written by Gordon Matzigkeit, 1996
16811
# This file is part of GNU Libtool.
16813
# GNU Libtool is free software; you can redistribute it and/or
16814
# modify it under the terms of the GNU General Public License as
16815
# published by the Free Software Foundation; either version 2 of
16816
# the License, or (at your option) any later version.
16818
# As a special exception to the GNU General Public License,
16819
# if you distribute this file as part of a program or library that
16820
# is built using GNU Libtool, you may include this file under the
16821
# same distribution terms that you use for the rest of that program.
16823
# GNU Libtool is distributed in the hope that it will be useful,
16824
# but WITHOUT ANY WARRANTY; without even the implied warranty of
16825
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16826
# GNU General Public License for more details.
16828
# You should have received a copy of the GNU General Public License
16829
# along with GNU Libtool; see the file COPYING. If not, a copy
16830
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
16831
# obtained by writing to the Free Software Foundation, Inc.,
16832
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
16835
# The names of the tagged configurations supported by this script.
16838
# ### BEGIN LIBTOOL CONFIG
16840
# Which release of libtool.m4 was used?
16841
macro_version=$macro_version
16842
macro_revision=$macro_revision
16844
# Whether or not to build static libraries.
16845
build_old_libs=$enable_static
16847
# Whether or not to build shared libraries.
16848
build_libtool_libs=$enable_shared
16850
# What type of objects to build.
16853
# Whether or not to optimize for fast installation.
16854
fast_install=$enable_fast_install
16856
# Shell to use when invoking shell scripts.
16859
# An echo program that protects backslashes.
16862
# The PATH separator for the build system.
16863
PATH_SEPARATOR=$lt_PATH_SEPARATOR
16866
host_alias=$host_alias
16870
# The build system.
16871
build_alias=$build_alias
16875
# A sed program that does not truncate output.
16878
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16879
Xsed="\$SED -e 1s/^X//"
16881
# A grep program that handles long lines.
16887
# A literal string matcher.
16890
# A BSD- or MS-compatible name lister.
16893
# Whether we need soft or hard links.
16896
# What is the maximum length of a command?
16897
max_cmd_len=$max_cmd_len
16899
# Object file suffix (normally "o").
16902
# Executable file suffix (normally "").
16905
# whether the shell understands "unset".
16908
# turn spaces into newlines.
16911
# turn newlines into spaces.
16914
# convert \$build file names to \$host format.
16915
to_host_file_cmd=$lt_cv_to_host_file_cmd
16917
# convert \$build files to toolchain format.
16918
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16920
# An object symbol dumper.
16921
OBJDUMP=$lt_OBJDUMP
16923
# Method to check whether dependent libraries are shared objects.
16924
deplibs_check_method=$lt_deplibs_check_method
16926
# Command to use when deplibs_check_method = "file_magic".
16927
file_magic_cmd=$lt_file_magic_cmd
16929
# How to find potential files when deplibs_check_method = "file_magic".
16930
file_magic_glob=$lt_file_magic_glob
16932
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16933
want_nocaseglob=$lt_want_nocaseglob
16935
# DLL creation program.
16936
DLLTOOL=$lt_DLLTOOL
16938
# Command to associate shared and link libraries.
16939
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16944
# Flags to create an archive.
16945
AR_FLAGS=$lt_AR_FLAGS
16947
# How to feed a file listing to the archiver.
16948
archiver_list_spec=$lt_archiver_list_spec
16950
# A symbol stripping program.
16953
# Commands used to install an old-style archive.
16955
old_postinstall_cmds=$lt_old_postinstall_cmds
16956
old_postuninstall_cmds=$lt_old_postuninstall_cmds
16958
# Whether to use a lock for old archive extraction.
16959
lock_old_archive_extraction=$lock_old_archive_extraction
16964
# LTCC compiler flags.
16965
LTCFLAGS=$lt_CFLAGS
16967
# Take the output of nm and produce a listing of raw symbols and C names.
16968
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16970
# Transform the output of nm in a proper C declaration.
16971
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16973
# Transform the output of nm in a C name address pair.
16974
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16976
# Transform the output of nm in a C name address pair when lib prefix is needed.
16977
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16979
# Specify filename containing input files for \$NM.
16980
nm_file_list_spec=$lt_nm_file_list_spec
16982
# The root where to search for dependent libraries,and in which our libraries should be installed.
16983
lt_sysroot=$lt_sysroot
16985
# The name of the directory that contains temporary libtool files.
16988
# Used to examine libraries when file_magic_cmd begins with "file".
16989
MAGIC_CMD=$MAGIC_CMD
16991
# Must we lock files when doing compilation?
16992
need_locks=$lt_need_locks
16995
MANIFEST_TOOL=$lt_MANIFEST_TOOL
16997
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16998
DSYMUTIL=$lt_DSYMUTIL
17000
# Tool to change global to local symbols on Mac OS X.
17003
# Tool to manipulate fat objects and archives on Mac OS X.
17006
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17009
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17010
OTOOL64=$lt_OTOOL64
17012
# Old archive suffix (normally "a").
17015
# Shared library suffix (normally ".so").
17016
shrext_cmds=$lt_shrext_cmds
17018
# The commands to extract the exported symbol list from a shared archive.
17019
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17021
# Variables whose values should be saved in libtool wrapper scripts and
17022
# restored at link time.
17023
variables_saved_for_relink=$lt_variables_saved_for_relink
17025
# Do we need the "lib" prefix for modules?
17026
need_lib_prefix=$need_lib_prefix
17028
# Do we need a version for libraries?
17029
need_version=$need_version
17031
# Library versioning type.
17032
version_type=$version_type
17034
# Shared library runtime path variable.
17035
runpath_var=$runpath_var
17037
# Shared library path variable.
17038
shlibpath_var=$shlibpath_var
17040
# Is shlibpath searched before the hard-coded library search path?
17041
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17043
# Format of library name prefix.
17044
libname_spec=$lt_libname_spec
17046
# List of archive names. First name is the real one, the rest are links.
17047
# The last name is the one that the linker finds with -lNAME
17048
library_names_spec=$lt_library_names_spec
17050
# The coded name of the library, if different from the real name.
17051
soname_spec=$lt_soname_spec
17053
# Permission mode override for installation of shared libraries.
17054
install_override_mode=$lt_install_override_mode
17056
# Command to use after installation of a shared archive.
17057
postinstall_cmds=$lt_postinstall_cmds
17059
# Command to use after uninstallation of a shared archive.
17060
postuninstall_cmds=$lt_postuninstall_cmds
17062
# Commands used to finish a libtool library installation in a directory.
17063
finish_cmds=$lt_finish_cmds
17065
# As "finish_cmds", except a single script fragment to be evaled but
17067
finish_eval=$lt_finish_eval
17069
# Whether we should hardcode library paths into libraries.
17070
hardcode_into_libs=$hardcode_into_libs
17072
# Compile-time system search path for libraries.
17073
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17075
# Run-time system search path for libraries.
17076
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17078
# Whether dlopen is supported.
17079
dlopen_support=$enable_dlopen
17081
# Whether dlopen of programs is supported.
17082
dlopen_self=$enable_dlopen_self
17084
# Whether dlopen of statically linked programs is supported.
17085
dlopen_self_static=$enable_dlopen_self_static
17087
# Commands to strip libraries.
17088
old_striplib=$lt_old_striplib
17089
striplib=$lt_striplib
17092
# The linker used to build libraries.
17095
# How to create reloadable object files.
17096
reload_flag=$lt_reload_flag
17097
reload_cmds=$lt_reload_cmds
17099
# Commands used to build an old-style archive.
17100
old_archive_cmds=$lt_old_archive_cmds
17102
# A language specific compiler.
17105
# Is the compiler the GNU compiler?
17108
# Compiler flag to turn off builtin functions.
17109
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17111
# Additional compiler flags for building library objects.
17112
pic_flag=$lt_lt_prog_compiler_pic
17114
# How to pass a linker flag through the compiler.
17115
wl=$lt_lt_prog_compiler_wl
17117
# Compiler flag to prevent dynamic linking.
17118
link_static_flag=$lt_lt_prog_compiler_static
17120
# Does compiler simultaneously support -c and -o options?
17121
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17123
# Whether or not to add -lc for building shared libraries.
17124
build_libtool_need_lc=$archive_cmds_need_lc
17126
# Whether or not to disallow shared libs when runtime libs are static.
17127
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17129
# Compiler flag to allow reflexive dlopens.
17130
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17132
# Compiler flag to generate shared objects directly from archives.
17133
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17135
# Whether the compiler copes with passing no objects directly.
17136
compiler_needs_object=$lt_compiler_needs_object
17138
# Create an old-style archive from a shared archive.
17139
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17141
# Create a temporary old-style archive to link instead of a shared archive.
17142
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17144
# Commands used to build a shared archive.
17145
archive_cmds=$lt_archive_cmds
17146
archive_expsym_cmds=$lt_archive_expsym_cmds
17148
# Commands used to build a loadable module if different from building
17149
# a shared archive.
17150
module_cmds=$lt_module_cmds
17151
module_expsym_cmds=$lt_module_expsym_cmds
17153
# Whether we are building with GNU ld or not.
17154
with_gnu_ld=$lt_with_gnu_ld
17156
# Flag that allows shared libraries with undefined symbols to be built.
17157
allow_undefined_flag=$lt_allow_undefined_flag
17159
# Flag that enforces no undefined symbols.
17160
no_undefined_flag=$lt_no_undefined_flag
17162
# Flag to hardcode \$libdir into a binary during linking.
17163
# This must work even if \$libdir does not exist
17164
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17166
# Whether we need a single "-rpath" flag with a separated argument.
17167
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17169
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17170
# DIR into the resulting binary.
17171
hardcode_direct=$hardcode_direct
17173
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17174
# DIR into the resulting binary and the resulting library dependency is
17175
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17176
# library is relocated.
17177
hardcode_direct_absolute=$hardcode_direct_absolute
17179
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17180
# into the resulting binary.
17181
hardcode_minus_L=$hardcode_minus_L
17183
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17184
# into the resulting binary.
17185
hardcode_shlibpath_var=$hardcode_shlibpath_var
17187
# Set to "yes" if building a shared library automatically hardcodes DIR
17188
# into the library and all subsequent libraries and executables linked
17190
hardcode_automatic=$hardcode_automatic
17192
# Set to yes if linker adds runtime paths of dependent libraries
17193
# to runtime path list.
17194
inherit_rpath=$inherit_rpath
17196
# Whether libtool must link a program against all its dependency libraries.
17197
link_all_deplibs=$link_all_deplibs
17199
# Set to "yes" if exported symbols are required.
17200
always_export_symbols=$always_export_symbols
17202
# The commands to list exported symbols.
17203
export_symbols_cmds=$lt_export_symbols_cmds
17205
# Symbols that should not be listed in the preloaded symbols.
17206
exclude_expsyms=$lt_exclude_expsyms
17208
# Symbols that must always be exported.
17209
include_expsyms=$lt_include_expsyms
17211
# Commands necessary for linking programs (against libraries) with templates.
17212
prelink_cmds=$lt_prelink_cmds
17214
# Commands necessary for finishing linking programs.
17215
postlink_cmds=$lt_postlink_cmds
17217
# Specify filename containing input files.
17218
file_list_spec=$lt_file_list_spec
17220
# How to hardcode a shared library path into an executable.
17221
hardcode_action=$hardcode_action
17223
# ### END LIBTOOL CONFIG
17229
cat <<\_LT_EOF >> "$cfgfile"
17230
# AIX sometimes has problems with the GCC collect2 program. For some
17231
# reason, if we set the COLLECT_NAMES environment variable, the problems
17232
# vanish in a puff of smoke.
17233
if test "X${COLLECT_NAMES+set}" != Xset; then
17235
export COLLECT_NAMES
17242
ltmain="$ac_aux_dir/ltmain.sh"
17245
# We use sed instead of cat because bash on DJGPP gets confused if
17246
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17247
# text mode, it properly converts lines to CR/LF. This bash problem
17248
# is reportedly fixed, but why not run on old versions too?
17249
sed '$q' "$ltmain" >> "$cfgfile" \
17250
|| (rm -f "$cfgfile"; exit 1)
17252
if test x"$xsi_shell" = xyes; then
17253
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17257
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17258
\ * ) func_dirname_result="${3}" ;;\
17260
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17261
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17262
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17263
test 0 -eq $? || _lt_function_replace_fail=:
17266
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17269
\ func_basename_result="${1##*/}"\
17270
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17271
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17272
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17273
test 0 -eq $? || _lt_function_replace_fail=:
17276
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17277
func_dirname_and_basename ()\
17280
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17281
\ * ) func_dirname_result="${3}" ;;\
17283
\ func_basename_result="${1##*/}"\
17284
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17285
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17286
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17287
test 0 -eq $? || _lt_function_replace_fail=:
17290
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17293
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17294
\ # positional parameters, so assign one to ordinary parameter first.\
17295
\ func_stripname_result=${3}\
17296
\ func_stripname_result=${func_stripname_result#"${1}"}\
17297
\ func_stripname_result=${func_stripname_result%"${2}"}\
17298
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17299
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17300
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17301
test 0 -eq $? || _lt_function_replace_fail=:
17304
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17305
func_split_long_opt ()\
17307
\ func_split_long_opt_name=${1%%=*}\
17308
\ func_split_long_opt_arg=${1#*=}\
17309
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17310
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17311
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17312
test 0 -eq $? || _lt_function_replace_fail=:
17315
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17316
func_split_short_opt ()\
17318
\ func_split_short_opt_arg=${1#??}\
17319
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17320
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17321
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17322
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17323
test 0 -eq $? || _lt_function_replace_fail=:
17326
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17330
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17331
\ *) func_lo2o_result=${1} ;;\
17333
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17334
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17335
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17336
test 0 -eq $? || _lt_function_replace_fail=:
17339
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17342
func_xform_result=${1%.*}.lo\
17343
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17344
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17345
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17346
test 0 -eq $? || _lt_function_replace_fail=:
17349
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17352
func_arith_result=$(( $* ))\
17353
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17354
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17355
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17356
test 0 -eq $? || _lt_function_replace_fail=:
17359
sed -e '/^func_len ()$/,/^} # func_len /c\
17362
func_len_result=${#1}\
17363
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17364
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17365
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17366
test 0 -eq $? || _lt_function_replace_fail=:
17370
if test x"$lt_shell_append" = xyes; then
17371
sed -e '/^func_append ()$/,/^} # func_append /c\
17374
eval "${1}+=\\${2}"\
17375
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17376
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17377
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17378
test 0 -eq $? || _lt_function_replace_fail=:
17381
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17382
func_append_quoted ()\
17384
\ func_quote_for_eval "${2}"\
17385
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17386
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17387
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17388
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17389
test 0 -eq $? || _lt_function_replace_fail=:
17392
# Save a `func_append' function call where possible by direct use of '+='
17393
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17394
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17395
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17396
test 0 -eq $? || _lt_function_replace_fail=:
17398
# Save a `func_append' function call even when '+=' is not available
17399
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17400
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17401
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17402
test 0 -eq $? || _lt_function_replace_fail=:
17405
if test x"$_lt_function_replace_fail" = x":"; then
17406
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17407
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17411
mv -f "$cfgfile" "$ofile" ||
17412
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17417
if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
17418
as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
17420
rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
17425
'"s|^| $ac_top_srcdir/|" \
17426
"$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
17428
sed '/^POTFILES =/,/[^\\]$/ {
17432
' "po/Makefile.in" >"po/Makefile"
17433
rm -f "po/Makefile.tmp"
17434
mv "po/stamp-it.tmp" "po/stamp-it"
17443
ac_clean_files=$ac_clean_files_save
17445
test $ac_write_fail = 0 ||
17446
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17449
# configure is writing to config.log, and then calls config.status.
17450
# config.status does its own redirection, appending to config.log.
17451
# Unfortunately, on DOS this fails, as config.log is still kept open
17452
# by configure, so config.status won't be able to write to it; its
17453
# output is simply discarded. So we exec the FD to /dev/null,
17454
# effectively closing config.log, so it can be properly (re)opened and
17455
# appended to by config.status. When coming back to configure, we
17456
# need to make the FD available again.
17457
if test "$no_create" != yes; then
17459
ac_config_status_args=
17460
test "$silent" = yes &&
17461
ac_config_status_args="$ac_config_status_args --quiet"
17463
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17465
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17466
# would make configure fail if this is the last instruction.
17467
$ac_cs_success || as_fn_exit 1
17469
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17470
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17471
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}