2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for sqlite3cc 0.2dev.
5
# Report bugs to <tim@ed.am>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
PATH=/empty FPATH=/empty; export PATH FPATH
183
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185
test \$(( 1 + 1 )) = 2 || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and tim@ed.am about
250
$0: your system, including any error possibly output before
251
$0: this message. Then install a modern shell, or manually
252
$0: run the script under such a shell if you do have one."
258
SHELL=${CONFIG_SHELL-/bin/sh}
260
# Unset more variables known to interfere with behavior of common tools.
261
CLICOLOR_FORCE= GREP_OPTIONS=
262
unset CLICOLOR_FORCE GREP_OPTIONS
264
## --------------------- ##
265
## M4sh Shell Functions. ##
266
## --------------------- ##
269
# Portably unset VAR.
272
{ eval $1=; unset $1;}
276
# as_fn_set_status STATUS
277
# -----------------------
278
# Set $? to STATUS, without forking.
286
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
296
# Create "$as_dir" as a directory, including parents if necessary.
301
-*) as_dir=./$as_dir;;
303
test -d "$as_dir" || eval $as_mkdir_p || {
307
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
310
as_dirs="'$as_qdir' $as_dirs"
311
as_dir=`$as_dirname -- "$as_dir" ||
312
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
313
X"$as_dir" : 'X\(//\)[^/]' \| \
314
X"$as_dir" : 'X\(//\)$' \| \
315
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
316
$as_echo X"$as_dir" |
317
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
334
test -d "$as_dir" && break
336
test -z "$as_dirs" || eval "mkdir $as_dirs"
337
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
341
# as_fn_append VAR VALUE
342
# ----------------------
343
# Append the text in VALUE to the end of the definition contained in VAR. Take
344
# advantage of any shell optimizations that allow amortized linear growth over
345
# repeated appends, instead of the typical quadratic growth present in naive
347
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
348
eval 'as_fn_append ()
361
# Perform arithmetic evaluation on the ARGs, and store the result in the
362
# global $as_val. Take advantage of shells that can avoid forks. The arguments
363
# must be portable across $(()) and expr.
364
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
372
as_val=`expr "$@" || test $? -eq 1`
377
# as_fn_error STATUS ERROR [LINENO LOG_FD]
378
# ----------------------------------------
379
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
380
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
381
# script with STATUS, using 1 if that was 0.
384
as_status=$1; test $as_status -eq 0 && as_status=1
386
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
387
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389
$as_echo "$as_me: error: $2" >&2
390
as_fn_exit $as_status
393
if expr a : '\(a\)' >/dev/null 2>&1 &&
394
test "X`expr 00001 : '.*\(...\)'`" = X001; then
400
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
406
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
412
as_me=`$as_basename -- "$0" ||
413
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
414
X"$0" : 'X\(//\)$' \| \
415
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417
sed '/^.*\/\([^/][^/]*\)\/*$/{
431
# Avoid depending upon Character Ranges.
432
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
433
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
434
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
435
as_cr_digits='0123456789'
436
as_cr_alnum=$as_cr_Letters$as_cr_digits
439
as_lineno_1=$LINENO as_lineno_1a=$LINENO
440
as_lineno_2=$LINENO as_lineno_2a=$LINENO
441
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
442
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
443
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
455
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
459
chmod +x "$as_me.lineno" ||
460
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
# Don't try to exec as it changes $[0], causing all sort of problems
463
# (the dirname of $[0] is not the place where we might find the
464
# original and so on. Autoconf is especially sensitive to this).
466
# Exit status is that of the last command.
470
ECHO_C= ECHO_N= ECHO_T=
471
case `echo -n x` in #(((((
473
case `echo 'xy\c'` in
474
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
476
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
483
rm -f conf$$ conf$$.exe conf$$.file
484
if test -d conf$$.dir; then
485
rm -f conf$$.dir/conf$$.file
488
mkdir conf$$.dir 2>/dev/null
490
if (echo >conf$$.file) 2>/dev/null; then
491
if ln -s conf$$.file conf$$ 2>/dev/null; then
493
# ... but there are two gotchas:
494
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
495
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
496
# In both cases, we have to default to `cp -p'.
497
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499
elif ln conf$$.file conf$$ 2>/dev/null; then
507
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508
rmdir conf$$.dir 2>/dev/null
510
if mkdir -p . 2>/dev/null; then
511
as_mkdir_p='mkdir -p "$as_dir"'
513
test -d ./-p && rmdir ./-p
517
if test -x / >/dev/null 2>&1; then
520
if ls -dL / >/dev/null 2>&1; then
527
if test -d "$1"; then
533
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
534
???[sx]*):;;*)false;;esac;fi
538
as_executable_p=$as_test_x
540
# Sed expression to map a string onto a valid CPP name.
541
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
# Sed expression to map a string onto a valid variable name.
544
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
SHELL=${CONFIG_SHELL-/bin/sh}
549
test -n "$DJDIR" || exec 7<&0 </dev/null
553
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
554
# so uname gets run too.
555
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
ac_default_prefix=/usr/local
562
ac_config_libobj_dir=.
569
# Identity of this package.
570
PACKAGE_NAME='sqlite3cc'
571
PACKAGE_TARNAME='sqlite3cc'
572
PACKAGE_VERSION='0.2dev'
573
PACKAGE_STRING='sqlite3cc 0.2dev'
574
PACKAGE_BUGREPORT='tim@ed.am'
575
PACKAGE_URL='http://ed.am/dev/sqlite3cc'
577
ac_unique_file="src/command.cc"
578
# Factoring default headers for most tests.
579
ac_includes_default="\
581
#ifdef HAVE_SYS_TYPES_H
582
# include <sys/types.h>
584
#ifdef HAVE_SYS_STAT_H
585
# include <sys/stat.h>
591
# ifdef HAVE_STDLIB_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#ifdef HAVE_STRINGS_H
602
# include <strings.h>
604
#ifdef HAVE_INTTYPES_H
605
# include <inttypes.h>
614
ac_subst_vars='am__EXEEXT_FALSE
680
INSTALL_STRIP_PROGRAM
695
LIBSQLITE3CC_INTERFACE
723
program_transform_name
736
enable_option_checking
737
enable_dependency_tracking
746
ac_precious_vars='build_alias
761
# Initialize some variables set by options.
763
ac_init_version=false
764
ac_unrecognized_opts=
766
# The variables have the same names as the options, with
767
# dashes changed to underlines.
775
program_transform_name=s,x,x,
783
# Installation directory options.
784
# These are left unexpanded so users can "make install exec_prefix=/foo"
785
# and all the variables that are supposed to be based on exec_prefix
786
# by default will actually change.
787
# Use braces instead of parens because sh, perl, etc. also accept them.
788
# (The list follows the same order as the GNU Coding Standards.)
789
bindir='${exec_prefix}/bin'
790
sbindir='${exec_prefix}/sbin'
791
libexecdir='${exec_prefix}/libexec'
792
datarootdir='${prefix}/share'
793
datadir='${datarootdir}'
794
sysconfdir='${prefix}/etc'
795
sharedstatedir='${prefix}/com'
796
localstatedir='${prefix}/var'
797
includedir='${prefix}/include'
798
oldincludedir='/usr/include'
799
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
800
infodir='${datarootdir}/info'
805
libdir='${exec_prefix}/lib'
806
localedir='${datarootdir}/locale'
807
mandir='${datarootdir}/man'
813
# If the previous option needs an argument, assign it.
814
if test -n "$ac_prev"; then
815
eval $ac_prev=\$ac_option
821
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
826
# Accept the important Cygnus configure options, so we can diagnose typos.
828
case $ac_dashdash$ac_option in
832
-bindir | --bindir | --bindi | --bind | --bin | --bi)
834
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
837
-build | --build | --buil | --bui | --bu)
838
ac_prev=build_alias ;;
839
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
840
build_alias=$ac_optarg ;;
842
-cache-file | --cache-file | --cache-fil | --cache-fi \
843
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
844
ac_prev=cache_file ;;
845
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
846
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
847
cache_file=$ac_optarg ;;
850
cache_file=config.cache ;;
852
-datadir | --datadir | --datadi | --datad)
854
-datadir=* | --datadir=* | --datadi=* | --datad=*)
855
datadir=$ac_optarg ;;
857
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
858
| --dataroo | --dataro | --datar)
859
ac_prev=datarootdir ;;
860
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
861
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
862
datarootdir=$ac_optarg ;;
864
-disable-* | --disable-*)
865
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
866
# Reject names that are not valid shell variable names.
867
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868
as_fn_error $? "invalid feature name: $ac_useropt"
869
ac_useropt_orig=$ac_useropt
870
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
871
case $ac_user_opts in
875
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876
ac_unrecognized_sep=', ';;
878
eval enable_$ac_useropt=no ;;
880
-docdir | --docdir | --docdi | --doc | --do)
882
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
885
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
887
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
890
-enable-* | --enable-*)
891
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892
# Reject names that are not valid shell variable names.
893
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894
as_fn_error $? "invalid feature name: $ac_useropt"
895
ac_useropt_orig=$ac_useropt
896
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
897
case $ac_user_opts in
901
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
902
ac_unrecognized_sep=', ';;
904
eval enable_$ac_useropt=\$ac_optarg ;;
906
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
907
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
908
| --exec | --exe | --ex)
909
ac_prev=exec_prefix ;;
910
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
911
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
912
| --exec=* | --exe=* | --ex=*)
913
exec_prefix=$ac_optarg ;;
915
-gas | --gas | --ga | --g)
916
# Obsolete; use --with-gas.
919
-help | --help | --hel | --he | -h)
921
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
922
ac_init_help=recursive ;;
923
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
924
ac_init_help=short ;;
926
-host | --host | --hos | --ho)
927
ac_prev=host_alias ;;
928
-host=* | --host=* | --hos=* | --ho=*)
929
host_alias=$ac_optarg ;;
931
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
933
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
935
htmldir=$ac_optarg ;;
937
-includedir | --includedir | --includedi | --included | --include \
938
| --includ | --inclu | --incl | --inc)
939
ac_prev=includedir ;;
940
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
941
| --includ=* | --inclu=* | --incl=* | --inc=*)
942
includedir=$ac_optarg ;;
944
-infodir | --infodir | --infodi | --infod | --info | --inf)
946
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
947
infodir=$ac_optarg ;;
949
-libdir | --libdir | --libdi | --libd)
951
-libdir=* | --libdir=* | --libdi=* | --libd=*)
954
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
955
| --libexe | --libex | --libe)
956
ac_prev=libexecdir ;;
957
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
958
| --libexe=* | --libex=* | --libe=*)
959
libexecdir=$ac_optarg ;;
961
-localedir | --localedir | --localedi | --localed | --locale)
963
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
964
localedir=$ac_optarg ;;
966
-localstatedir | --localstatedir | --localstatedi | --localstated \
967
| --localstate | --localstat | --localsta | --localst | --locals)
968
ac_prev=localstatedir ;;
969
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
970
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
971
localstatedir=$ac_optarg ;;
973
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
975
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
979
# Obsolete; use --without-fp.
982
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
983
| --no-cr | --no-c | -n)
986
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
987
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
990
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
991
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
992
| --oldin | --oldi | --old | --ol | --o)
993
ac_prev=oldincludedir ;;
994
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
995
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
996
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
997
oldincludedir=$ac_optarg ;;
999
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1001
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1002
prefix=$ac_optarg ;;
1004
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1005
| --program-pre | --program-pr | --program-p)
1006
ac_prev=program_prefix ;;
1007
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1008
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1009
program_prefix=$ac_optarg ;;
1011
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1012
| --program-suf | --program-su | --program-s)
1013
ac_prev=program_suffix ;;
1014
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1015
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1016
program_suffix=$ac_optarg ;;
1018
-program-transform-name | --program-transform-name \
1019
| --program-transform-nam | --program-transform-na \
1020
| --program-transform-n | --program-transform- \
1021
| --program-transform | --program-transfor \
1022
| --program-transfo | --program-transf \
1023
| --program-trans | --program-tran \
1024
| --progr-tra | --program-tr | --program-t)
1025
ac_prev=program_transform_name ;;
1026
-program-transform-name=* | --program-transform-name=* \
1027
| --program-transform-nam=* | --program-transform-na=* \
1028
| --program-transform-n=* | --program-transform-=* \
1029
| --program-transform=* | --program-transfor=* \
1030
| --program-transfo=* | --program-transf=* \
1031
| --program-trans=* | --program-tran=* \
1032
| --progr-tra=* | --program-tr=* | --program-t=*)
1033
program_transform_name=$ac_optarg ;;
1035
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1037
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1038
pdfdir=$ac_optarg ;;
1040
-psdir | --psdir | --psdi | --psd | --ps)
1042
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1045
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046
| -silent | --silent | --silen | --sile | --sil)
1049
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1051
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1053
sbindir=$ac_optarg ;;
1055
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1056
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1057
| --sharedst | --shareds | --shared | --share | --shar \
1059
ac_prev=sharedstatedir ;;
1060
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1061
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1062
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1064
sharedstatedir=$ac_optarg ;;
1066
-site | --site | --sit)
1068
-site=* | --site=* | --sit=*)
1071
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1073
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1074
srcdir=$ac_optarg ;;
1076
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1077
| --syscon | --sysco | --sysc | --sys | --sy)
1078
ac_prev=sysconfdir ;;
1079
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1080
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1081
sysconfdir=$ac_optarg ;;
1083
-target | --target | --targe | --targ | --tar | --ta | --t)
1084
ac_prev=target_alias ;;
1085
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1086
target_alias=$ac_optarg ;;
1088
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1091
-version | --version | --versio | --versi | --vers | -V)
1092
ac_init_version=: ;;
1095
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1096
# Reject names that are not valid shell variable names.
1097
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098
as_fn_error $? "invalid package name: $ac_useropt"
1099
ac_useropt_orig=$ac_useropt
1100
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101
case $ac_user_opts in
1105
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1106
ac_unrecognized_sep=', ';;
1108
eval with_$ac_useropt=\$ac_optarg ;;
1110
-without-* | --without-*)
1111
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1112
# Reject names that are not valid shell variable names.
1113
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1114
as_fn_error $? "invalid package name: $ac_useropt"
1115
ac_useropt_orig=$ac_useropt
1116
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1117
case $ac_user_opts in
1121
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1122
ac_unrecognized_sep=', ';;
1124
eval with_$ac_useropt=no ;;
1127
# Obsolete; use --with-x.
1130
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131
| --x-incl | --x-inc | --x-in | --x-i)
1132
ac_prev=x_includes ;;
1133
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135
x_includes=$ac_optarg ;;
1137
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1138
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139
ac_prev=x_libraries ;;
1140
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142
x_libraries=$ac_optarg ;;
1144
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1145
Try \`$0 --help' for more information"
1149
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150
# Reject names that are not valid shell variable names.
1151
case $ac_envvar in #(
1152
'' | [0-9]* | *[!_$as_cr_alnum]* )
1153
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1155
eval $ac_envvar=\$ac_optarg
1156
export $ac_envvar ;;
1159
# FIXME: should be removed in autoconf 3.0.
1160
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1169
if test -n "$ac_prev"; then
1170
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171
as_fn_error $? "missing argument to $ac_option"
1174
if test -n "$ac_unrecognized_opts"; then
1175
case $enable_option_checking in
1177
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1178
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1182
# Check all directory arguments for consistency.
1183
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1184
datadir sysconfdir sharedstatedir localstatedir includedir \
1185
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1186
libdir localedir mandir
1188
eval ac_val=\$$ac_var
1189
# Remove trailing slashes.
1192
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1193
eval $ac_var=\$ac_val;;
1195
# Be sure to have absolute directory names.
1197
[\\/$]* | ?:[\\/]* ) continue;;
1198
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1200
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1203
# There might be people who depend on the old broken behavior: `$host'
1204
# used to hold the argument of --host etc.
1205
# FIXME: To remove some day.
1208
target=$target_alias
1210
# FIXME: To remove some day.
1211
if test "x$host_alias" != x; then
1212
if test "x$build_alias" = x; then
1213
cross_compiling=maybe
1214
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1215
If a cross compiler is detected then cross compile mode will be used" >&2
1216
elif test "x$build_alias" != "x$host_alias"; then
1222
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1224
test "$silent" = yes && exec 6>/dev/null
1227
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1228
ac_ls_di=`ls -di .` &&
1229
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1230
as_fn_error $? "working directory cannot be determined"
1231
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1232
as_fn_error $? "pwd does not report name of working directory"
1235
# Find the source files, if location was not specified.
1236
if test -z "$srcdir"; then
1237
ac_srcdir_defaulted=yes
1238
# Try the directory containing this script, then the parent directory.
1239
ac_confdir=`$as_dirname -- "$as_myself" ||
1240
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1241
X"$as_myself" : 'X\(//\)[^/]' \| \
1242
X"$as_myself" : 'X\(//\)$' \| \
1243
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1244
$as_echo X"$as_myself" |
1245
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1263
if test ! -r "$srcdir/$ac_unique_file"; then
1267
ac_srcdir_defaulted=no
1269
if test ! -r "$srcdir/$ac_unique_file"; then
1270
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1271
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1273
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1275
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1277
# When building in place, set srcdir=.
1278
if test "$ac_abs_confdir" = "$ac_pwd"; then
1281
# Remove unnecessary trailing slashes from srcdir.
1282
# Double slashes in file names in object file debugging info
1283
# mess up M-x gdb in Emacs.
1285
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1287
for ac_var in $ac_precious_vars; do
1288
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1289
eval ac_env_${ac_var}_value=\$${ac_var}
1290
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1291
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1295
# Report the --help message.
1297
if test "$ac_init_help" = "long"; then
1298
# Omit some internal or obsolete options to make the list less imposing.
1299
# This message is too long to be a string in the A/UX 3.1 sh.
1301
\`configure' configures sqlite3cc 0.2dev to adapt to many kinds of systems.
1303
Usage: $0 [OPTION]... [VAR=VALUE]...
1305
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1306
VAR=VALUE. See below for descriptions of some of the useful variables.
1308
Defaults for the options are specified in brackets.
1311
-h, --help display this help and exit
1312
--help=short display options specific to this package
1313
--help=recursive display the short help of all the included packages
1314
-V, --version display version information and exit
1315
-q, --quiet, --silent do not print \`checking ...' messages
1316
--cache-file=FILE cache test results in FILE [disabled]
1317
-C, --config-cache alias for \`--cache-file=config.cache'
1318
-n, --no-create do not create output files
1319
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1321
Installation directories:
1322
--prefix=PREFIX install architecture-independent files in PREFIX
1323
[$ac_default_prefix]
1324
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1327
By default, \`make install' will install all the files in
1328
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1329
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1330
for instance \`--prefix=\$HOME'.
1332
For better control, use the options below.
1334
Fine tuning of the installation directories:
1335
--bindir=DIR user executables [EPREFIX/bin]
1336
--sbindir=DIR system admin executables [EPREFIX/sbin]
1337
--libexecdir=DIR program executables [EPREFIX/libexec]
1338
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1339
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1340
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1341
--libdir=DIR object code libraries [EPREFIX/lib]
1342
--includedir=DIR C header files [PREFIX/include]
1343
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1344
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1345
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1346
--infodir=DIR info documentation [DATAROOTDIR/info]
1347
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1348
--mandir=DIR man documentation [DATAROOTDIR/man]
1349
--docdir=DIR documentation root [DATAROOTDIR/doc/sqlite3cc]
1350
--htmldir=DIR html documentation [DOCDIR]
1351
--dvidir=DIR dvi documentation [DOCDIR]
1352
--pdfdir=DIR pdf documentation [DOCDIR]
1353
--psdir=DIR ps documentation [DOCDIR]
1359
--program-prefix=PREFIX prepend PREFIX to installed program names
1360
--program-suffix=SUFFIX append SUFFIX to installed program names
1361
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1364
--build=BUILD configure for building on BUILD [guessed]
1365
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1369
if test -n "$ac_init_help"; then
1370
case $ac_init_help in
1371
short | recursive ) echo "Configuration of sqlite3cc 0.2dev:";;
1376
--disable-option-checking ignore unrecognized --enable/--with options
1377
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1378
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1379
--disable-dependency-tracking speeds up one-time build
1380
--enable-dependency-tracking do not reject slow dependency extractors
1381
--enable-shared[=PKGS] build shared libraries [default=yes]
1382
--enable-static[=PKGS] build static libraries [default=yes]
1383
--enable-fast-install[=PKGS]
1384
optimize for fast installation [default=yes]
1385
--disable-libtool-lock avoid locking (might break parallel builds)
1388
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1389
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1390
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1392
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1393
--with-sysroot=DIR Search for dependent libraries within DIR
1394
(or the compiler's sysroot if not specified).
1396
Some influential environment variables:
1397
CXX C++ compiler command
1398
CXXFLAGS C++ compiler flags
1399
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1400
nonstandard directory <lib dir>
1401
LIBS libraries to pass to the linker, e.g. -l<library>
1402
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1403
you have headers in a nonstandard directory <include dir>
1404
CC C compiler command
1405
CFLAGS C compiler flags
1407
CXXCPP C++ preprocessor
1409
Use these variables to override the choices made by `configure' or to help
1410
it to find libraries and programs with nonstandard names/locations.
1412
Report bugs to <tim@ed.am>.
1413
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>.
1418
if test "$ac_init_help" = "recursive"; then
1419
# If there are subdirs, report their specific --help.
1420
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1421
test -d "$ac_dir" ||
1422
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1427
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1429
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1430
# A ".." for each directory in $ac_dir_suffix.
1431
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1432
case $ac_top_builddir_sub in
1433
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1437
ac_abs_top_builddir=$ac_pwd
1438
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1439
# for backward compatibility:
1440
ac_top_builddir=$ac_top_build_prefix
1443
.) # We are building in place.
1445
ac_top_srcdir=$ac_top_builddir_sub
1446
ac_abs_top_srcdir=$ac_pwd ;;
1447
[\\/]* | ?:[\\/]* ) # Absolute name.
1448
ac_srcdir=$srcdir$ac_dir_suffix;
1449
ac_top_srcdir=$srcdir
1450
ac_abs_top_srcdir=$srcdir ;;
1452
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1453
ac_top_srcdir=$ac_top_build_prefix$srcdir
1454
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1456
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1458
cd "$ac_dir" || { ac_status=$?; continue; }
1459
# Check for guested configure.
1460
if test -f "$ac_srcdir/configure.gnu"; then
1462
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1463
elif test -f "$ac_srcdir/configure"; then
1465
$SHELL "$ac_srcdir/configure" --help=recursive
1467
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1469
cd "$ac_pwd" || { ac_status=$?; break; }
1473
test -n "$ac_init_help" && exit $ac_status
1474
if $ac_init_version; then
1476
sqlite3cc configure 0.2dev
1477
generated by GNU Autoconf 2.68
1479
Copyright (C) 2010 Free Software Foundation, Inc.
1480
This configure script is free software; the Free Software Foundation
1481
gives unlimited permission to copy, distribute and modify it.
1486
## ------------------------ ##
1487
## Autoconf initialization. ##
1488
## ------------------------ ##
1490
# ac_fn_cxx_try_compile LINENO
1491
# ----------------------------
1492
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1493
ac_fn_cxx_try_compile ()
1495
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496
rm -f conftest.$ac_objext
1497
if { { ac_try="$ac_compile"
1499
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1500
*) ac_try_echo=$ac_try;;
1502
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1503
$as_echo "$ac_try_echo"; } >&5
1504
(eval "$ac_compile") 2>conftest.err
1506
if test -s conftest.err; then
1507
grep -v '^ *+' conftest.err >conftest.er1
1508
cat conftest.er1 >&5
1509
mv -f conftest.er1 conftest.err
1511
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1512
test $ac_status = 0; } && {
1513
test -z "$ac_cxx_werror_flag" ||
1514
test ! -s conftest.err
1515
} && test -s conftest.$ac_objext; then :
1518
$as_echo "$as_me: failed program was:" >&5
1519
sed 's/^/| /' conftest.$ac_ext >&5
1523
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524
as_fn_set_status $ac_retval
1526
} # ac_fn_cxx_try_compile
1528
# ac_fn_c_try_compile LINENO
1529
# --------------------------
1530
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1531
ac_fn_c_try_compile ()
1533
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534
rm -f conftest.$ac_objext
1535
if { { ac_try="$ac_compile"
1537
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538
*) ac_try_echo=$ac_try;;
1540
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541
$as_echo "$ac_try_echo"; } >&5
1542
(eval "$ac_compile") 2>conftest.err
1544
if test -s conftest.err; then
1545
grep -v '^ *+' conftest.err >conftest.er1
1546
cat conftest.er1 >&5
1547
mv -f conftest.er1 conftest.err
1549
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550
test $ac_status = 0; } && {
1551
test -z "$ac_c_werror_flag" ||
1552
test ! -s conftest.err
1553
} && test -s conftest.$ac_objext; then :
1556
$as_echo "$as_me: failed program was:" >&5
1557
sed 's/^/| /' conftest.$ac_ext >&5
1561
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562
as_fn_set_status $ac_retval
1564
} # ac_fn_c_try_compile
1566
# ac_fn_c_try_link LINENO
1567
# -----------------------
1568
# Try to link conftest.$ac_ext, and return whether this succeeded.
1571
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572
rm -f conftest.$ac_objext conftest$ac_exeext
1573
if { { ac_try="$ac_link"
1575
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576
*) ac_try_echo=$ac_try;;
1578
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579
$as_echo "$ac_try_echo"; } >&5
1580
(eval "$ac_link") 2>conftest.err
1582
if test -s conftest.err; then
1583
grep -v '^ *+' conftest.err >conftest.er1
1584
cat conftest.er1 >&5
1585
mv -f conftest.er1 conftest.err
1587
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588
test $ac_status = 0; } && {
1589
test -z "$ac_c_werror_flag" ||
1590
test ! -s conftest.err
1591
} && test -s conftest$ac_exeext && {
1592
test "$cross_compiling" = yes ||
1593
$as_test_x conftest$ac_exeext
1597
$as_echo "$as_me: failed program was:" >&5
1598
sed 's/^/| /' conftest.$ac_ext >&5
1602
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1603
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1604
# interfere with the next link command; also delete a directory that is
1605
# left behind by Apple's compiler. We do this before executing the actions.
1606
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1607
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608
as_fn_set_status $ac_retval
1610
} # ac_fn_c_try_link
1612
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1613
# -------------------------------------------------------
1614
# Tests whether HEADER exists and can be compiled using the include files in
1615
# INCLUDES, setting the cache variable VAR accordingly.
1616
ac_fn_c_check_header_compile ()
1618
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1620
$as_echo_n "checking for $2... " >&6; }
1621
if eval \${$3+:} false; then :
1622
$as_echo_n "(cached) " >&6
1624
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1625
/* end confdefs.h. */
1629
if ac_fn_c_try_compile "$LINENO"; then :
1634
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1638
$as_echo "$ac_res" >&6; }
1639
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1641
} # ac_fn_c_check_header_compile
1643
# ac_fn_c_try_cpp LINENO
1644
# ----------------------
1645
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1648
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649
if { { ac_try="$ac_cpp conftest.$ac_ext"
1651
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1652
*) ac_try_echo=$ac_try;;
1654
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655
$as_echo "$ac_try_echo"; } >&5
1656
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1658
if test -s conftest.err; then
1659
grep -v '^ *+' conftest.err >conftest.er1
1660
cat conftest.er1 >&5
1661
mv -f conftest.er1 conftest.err
1663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664
test $ac_status = 0; } > conftest.i && {
1665
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1666
test ! -s conftest.err
1670
$as_echo "$as_me: failed program was:" >&5
1671
sed 's/^/| /' conftest.$ac_ext >&5
1675
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676
as_fn_set_status $ac_retval
1680
# ac_fn_c_try_run LINENO
1681
# ----------------------
1682
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1683
# that executables *can* be run.
1686
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687
if { { ac_try="$ac_link"
1689
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690
*) ac_try_echo=$ac_try;;
1692
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693
$as_echo "$ac_try_echo"; } >&5
1694
(eval "$ac_link") 2>&5
1696
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1698
{ { case "(($ac_try" in
1699
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700
*) ac_try_echo=$ac_try;;
1702
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703
$as_echo "$ac_try_echo"; } >&5
1704
(eval "$ac_try") 2>&5
1706
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707
test $ac_status = 0; }; }; then :
1710
$as_echo "$as_me: program exited with status $ac_status" >&5
1711
$as_echo "$as_me: failed program was:" >&5
1712
sed 's/^/| /' conftest.$ac_ext >&5
1714
ac_retval=$ac_status
1716
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718
as_fn_set_status $ac_retval
1722
# ac_fn_c_check_func LINENO FUNC VAR
1723
# ----------------------------------
1724
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1725
ac_fn_c_check_func ()
1727
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729
$as_echo_n "checking for $2... " >&6; }
1730
if eval \${$3+:} false; then :
1731
$as_echo_n "(cached) " >&6
1733
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734
/* end confdefs.h. */
1735
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1736
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1737
#define $2 innocuous_$2
1739
/* System header to define __stub macros and hopefully few prototypes,
1740
which can conflict with char $2 (); below.
1741
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1742
<limits.h> exists even on freestanding compilers. */
1745
# include <limits.h>
1747
# include <assert.h>
1752
/* Override any GCC internal prototype to avoid an error.
1753
Use char because int might match the return type of a GCC
1754
builtin and then its argument prototype would still apply. */
1759
/* The GNU C library defines this for functions which it implements
1760
to always fail with ENOSYS. Some functions are actually named
1761
something starting with __ and the normal name is an alias. */
1762
#if defined __stub_$2 || defined __stub___$2
1774
if ac_fn_c_try_link "$LINENO"; then :
1779
rm -f core conftest.err conftest.$ac_objext \
1780
conftest$ac_exeext conftest.$ac_ext
1783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784
$as_echo "$ac_res" >&6; }
1785
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787
} # ac_fn_c_check_func
1789
# ac_fn_cxx_try_cpp LINENO
1790
# ------------------------
1791
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1792
ac_fn_cxx_try_cpp ()
1794
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1795
if { { ac_try="$ac_cpp conftest.$ac_ext"
1797
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798
*) ac_try_echo=$ac_try;;
1800
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801
$as_echo "$ac_try_echo"; } >&5
1802
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804
if test -s conftest.err; then
1805
grep -v '^ *+' conftest.err >conftest.er1
1806
cat conftest.er1 >&5
1807
mv -f conftest.er1 conftest.err
1809
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810
test $ac_status = 0; } > conftest.i && {
1811
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1812
test ! -s conftest.err
1816
$as_echo "$as_me: failed program was:" >&5
1817
sed 's/^/| /' conftest.$ac_ext >&5
1821
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1822
as_fn_set_status $ac_retval
1824
} # ac_fn_cxx_try_cpp
1826
# ac_fn_cxx_try_link LINENO
1827
# -------------------------
1828
# Try to link conftest.$ac_ext, and return whether this succeeded.
1829
ac_fn_cxx_try_link ()
1831
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832
rm -f conftest.$ac_objext conftest$ac_exeext
1833
if { { ac_try="$ac_link"
1835
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1836
*) ac_try_echo=$ac_try;;
1838
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839
$as_echo "$ac_try_echo"; } >&5
1840
(eval "$ac_link") 2>conftest.err
1842
if test -s conftest.err; then
1843
grep -v '^ *+' conftest.err >conftest.er1
1844
cat conftest.er1 >&5
1845
mv -f conftest.er1 conftest.err
1847
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1848
test $ac_status = 0; } && {
1849
test -z "$ac_cxx_werror_flag" ||
1850
test ! -s conftest.err
1851
} && test -s conftest$ac_exeext && {
1852
test "$cross_compiling" = yes ||
1853
$as_test_x conftest$ac_exeext
1857
$as_echo "$as_me: failed program was:" >&5
1858
sed 's/^/| /' conftest.$ac_ext >&5
1862
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1863
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1864
# interfere with the next link command; also delete a directory that is
1865
# left behind by Apple's compiler. We do this before executing the actions.
1866
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1867
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1868
as_fn_set_status $ac_retval
1870
} # ac_fn_cxx_try_link
1872
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1873
# -------------------------------------------------------
1874
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1875
# the include files in INCLUDES and setting the cache variable VAR
1877
ac_fn_c_check_header_mongrel ()
1879
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880
if eval \${$3+:} false; then :
1881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882
$as_echo_n "checking for $2... " >&6; }
1883
if eval \${$3+:} false; then :
1884
$as_echo_n "(cached) " >&6
1887
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888
$as_echo "$ac_res" >&6; }
1890
# Is the header compilable?
1891
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1892
$as_echo_n "checking $2 usability... " >&6; }
1893
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894
/* end confdefs.h. */
1898
if ac_fn_c_try_compile "$LINENO"; then :
1899
ac_header_compiler=yes
1901
ac_header_compiler=no
1903
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1905
$as_echo "$ac_header_compiler" >&6; }
1907
# Is the header present?
1908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1909
$as_echo_n "checking $2 presence... " >&6; }
1910
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1911
/* end confdefs.h. */
1914
if ac_fn_c_try_cpp "$LINENO"; then :
1915
ac_header_preproc=yes
1917
ac_header_preproc=no
1919
rm -f conftest.err conftest.i conftest.$ac_ext
1920
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1921
$as_echo "$ac_header_preproc" >&6; }
1923
# So? What about this header?
1924
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1926
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1927
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1928
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1929
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1932
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1933
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1934
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1935
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1936
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1937
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1938
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1939
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1940
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1941
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1942
( $as_echo "## ------------------------ ##
1943
## Report this to tim@ed.am ##
1944
## ------------------------ ##"
1945
) | sed "s/^/$as_me: WARNING: /" >&2
1948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1949
$as_echo_n "checking for $2... " >&6; }
1950
if eval \${$3+:} false; then :
1951
$as_echo_n "(cached) " >&6
1953
eval "$3=\$ac_header_compiler"
1956
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1957
$as_echo "$ac_res" >&6; }
1959
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1961
} # ac_fn_c_check_header_mongrel
1962
cat >config.log <<_ACEOF
1963
This file contains any messages produced by compilers while
1964
running configure, to aid debugging if configure makes a mistake.
1966
It was created by sqlite3cc $as_me 0.2dev, which was
1967
generated by GNU Autoconf 2.68. Invocation command line was
1979
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1980
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1981
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1982
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1983
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1985
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1986
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1988
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1989
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1990
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1991
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1992
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1993
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1994
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1998
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002
test -z "$as_dir" && as_dir=.
2003
$as_echo "PATH: $as_dir"
2019
# Keep a trace of the command line.
2020
# Strip out --no-create and --no-recursion so they do not pile up.
2021
# Strip out --silent because we don't want to record it for future runs.
2022
# Also quote any args containing shell meta-characters.
2023
# Make two passes to allow for proper duplicate-argument suppression.
2027
ac_must_keep_next=false
2033
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2034
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2035
| -silent | --silent | --silen | --sile | --sil)
2038
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2041
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2043
as_fn_append ac_configure_args1 " '$ac_arg'"
2044
if test $ac_must_keep_next = true; then
2045
ac_must_keep_next=false # Got value, back to normal.
2048
*=* | --config-cache | -C | -disable-* | --disable-* \
2049
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2050
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2051
| -with-* | --with-* | -without-* | --without-* | --x)
2052
case "$ac_configure_args0 " in
2053
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2056
-* ) ac_must_keep_next=true ;;
2059
as_fn_append ac_configure_args " '$ac_arg'"
2064
{ ac_configure_args0=; unset ac_configure_args0;}
2065
{ ac_configure_args1=; unset ac_configure_args1;}
2067
# When interrupted or exit'd, cleanup temporary files, and complete
2068
# config.log. We remove comments because anyway the quotes in there
2069
# would cause problems or look ugly.
2070
# WARNING: Use '\'' to represent an apostrophe within the trap.
2071
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2072
trap 'exit_status=$?
2073
# Save into config.log some information that might help in debugging.
2077
$as_echo "## ---------------- ##
2078
## Cache variables. ##
2079
## ---------------- ##"
2081
# The following way of writing the cache mishandles newlines in values,
2083
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2084
eval ac_val=\$$ac_var
2088
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2089
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2092
_ | IFS | as_nl) ;; #(
2093
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2094
*) { eval $ac_var=; unset $ac_var;} ;;
2099
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2100
*${as_nl}ac_space=\ *)
2102
"s/'\''/'\''\\\\'\'''\''/g;
2103
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2106
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2113
$as_echo "## ----------------- ##
2114
## Output variables. ##
2115
## ----------------- ##"
2117
for ac_var in $ac_subst_vars
2119
eval ac_val=\$$ac_var
2121
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2123
$as_echo "$ac_var='\''$ac_val'\''"
2127
if test -n "$ac_subst_files"; then
2128
$as_echo "## ------------------- ##
2129
## File substitutions. ##
2130
## ------------------- ##"
2132
for ac_var in $ac_subst_files
2134
eval ac_val=\$$ac_var
2136
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2138
$as_echo "$ac_var='\''$ac_val'\''"
2143
if test -s confdefs.h; then
2144
$as_echo "## ----------- ##
2151
test "$ac_signal" != 0 &&
2152
$as_echo "$as_me: caught signal $ac_signal"
2153
$as_echo "$as_me: exit $exit_status"
2155
rm -f core *.core core.conftest.* &&
2156
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2159
for ac_signal in 1 2 13 15; do
2160
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2164
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2165
rm -f -r conftest* confdefs.h
2167
$as_echo "/* confdefs.h */" > confdefs.h
2169
# Predefined preprocessor variables.
2171
cat >>confdefs.h <<_ACEOF
2172
#define PACKAGE_NAME "$PACKAGE_NAME"
2175
cat >>confdefs.h <<_ACEOF
2176
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2179
cat >>confdefs.h <<_ACEOF
2180
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2183
cat >>confdefs.h <<_ACEOF
2184
#define PACKAGE_STRING "$PACKAGE_STRING"
2187
cat >>confdefs.h <<_ACEOF
2188
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2191
cat >>confdefs.h <<_ACEOF
2192
#define PACKAGE_URL "$PACKAGE_URL"
2196
# Let the site file select an alternate cache file if it wants to.
2197
# Prefer an explicitly selected file to automatically selected ones.
2200
if test -n "$CONFIG_SITE"; then
2201
# We do not want a PATH search for config.site.
2202
case $CONFIG_SITE in #((
2203
-*) ac_site_file1=./$CONFIG_SITE;;
2204
*/*) ac_site_file1=$CONFIG_SITE;;
2205
*) ac_site_file1=./$CONFIG_SITE;;
2207
elif test "x$prefix" != xNONE; then
2208
ac_site_file1=$prefix/share/config.site
2209
ac_site_file2=$prefix/etc/config.site
2211
ac_site_file1=$ac_default_prefix/share/config.site
2212
ac_site_file2=$ac_default_prefix/etc/config.site
2214
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2216
test "x$ac_site_file" = xNONE && continue
2217
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2218
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2219
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2220
sed 's/^/| /' "$ac_site_file" >&5
2222
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2223
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2224
as_fn_error $? "failed to load site script $ac_site_file
2225
See \`config.log' for more details" "$LINENO" 5; }
2229
if test -r "$cache_file"; then
2230
# Some versions of bash will fail to source /dev/null (special files
2231
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2232
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2233
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2234
$as_echo "$as_me: loading cache $cache_file" >&6;}
2236
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2237
*) . "./$cache_file";;
2241
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2242
$as_echo "$as_me: creating cache $cache_file" >&6;}
2246
# Check that the precious variables saved in the cache have kept the same
2248
ac_cache_corrupted=false
2249
for ac_var in $ac_precious_vars; do
2250
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2251
eval ac_new_set=\$ac_env_${ac_var}_set
2252
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2253
eval ac_new_val=\$ac_env_${ac_var}_value
2254
case $ac_old_set,$ac_new_set in
2256
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2257
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2258
ac_cache_corrupted=: ;;
2260
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2261
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2262
ac_cache_corrupted=: ;;
2265
if test "x$ac_old_val" != "x$ac_new_val"; then
2266
# differences in whitespace do not lead to failure.
2267
ac_old_val_w=`echo x $ac_old_val`
2268
ac_new_val_w=`echo x $ac_new_val`
2269
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2270
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2271
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2272
ac_cache_corrupted=:
2274
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2275
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2276
eval $ac_var=\$ac_old_val
2278
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2279
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2280
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2281
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2284
# Pass precious variables to config.status.
2285
if test "$ac_new_set" = set; then
2287
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2288
*) ac_arg=$ac_var=$ac_new_val ;;
2290
case " $ac_configure_args " in
2291
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2292
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2296
if $ac_cache_corrupted; then
2297
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2299
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2300
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2301
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2303
## -------------------- ##
2304
## Main body of script. ##
2305
## -------------------- ##
2308
ac_cpp='$CPP $CPPFLAGS'
2309
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2314
LIBSQLITE3CC_INTERFACE=0:0:0
2317
for ac_dir in build-aux "$srcdir"/build-aux; do
2318
if test -f "$ac_dir/install-sh"; then
2320
ac_install_sh="$ac_aux_dir/install-sh -c"
2322
elif test -f "$ac_dir/install.sh"; then
2324
ac_install_sh="$ac_aux_dir/install.sh -c"
2326
elif test -f "$ac_dir/shtool"; then
2328
ac_install_sh="$ac_aux_dir/shtool install -c"
2332
if test -z "$ac_aux_dir"; then
2333
as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2336
# These three variables are undocumented and unsupported,
2337
# and are intended to be withdrawn in a future Autoconf release.
2338
# They can cause serious problems if a builder's source tree is in a directory
2339
# whose full name contains unusual characters.
2340
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2341
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2342
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2346
am__api_version='1.11'
2348
# Find a good install program. We prefer a C program (faster),
2349
# so one script is as good as another. But avoid the broken or
2350
# incompatible versions:
2351
# SysV /etc/install, /usr/sbin/install
2352
# SunOS /usr/etc/install
2353
# IRIX /sbin/install
2355
# AmigaOS /C/install, which installs bootblocks on floppy discs
2356
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2357
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2358
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2359
# OS/2's system install, which has a completely different semantic
2360
# ./install, which can be erroneously created by make from ./install.sh.
2361
# Reject install programs that cannot install multiple files.
2362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2363
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2364
if test -z "$INSTALL"; then
2365
if ${ac_cv_path_install+:} false; then :
2366
$as_echo_n "(cached) " >&6
2368
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372
test -z "$as_dir" && as_dir=.
2373
# Account for people who put trailing slashes in PATH elements.
2374
case $as_dir/ in #((
2375
./ | .// | /[cC]/* | \
2376
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2377
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2380
# OSF1 and SCO ODT 3.0 have their own names for install.
2381
# Don't use installbsd from OSF since it installs stuff as root
2383
for ac_prog in ginstall scoinst install; do
2384
for ac_exec_ext in '' $ac_executable_extensions; do
2385
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2386
if test $ac_prog = install &&
2387
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2388
# AIX install. It has an incompatible calling convention.
2390
elif test $ac_prog = install &&
2391
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2392
# program-specific install script used by HP pwplus--don't use.
2395
rm -rf conftest.one conftest.two conftest.dir
2396
echo one > conftest.one
2397
echo two > conftest.two
2399
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2400
test -s conftest.one && test -s conftest.two &&
2401
test -s conftest.dir/conftest.one &&
2402
test -s conftest.dir/conftest.two
2404
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2417
rm -rf conftest.one conftest.two conftest.dir
2420
if test "${ac_cv_path_install+set}" = set; then
2421
INSTALL=$ac_cv_path_install
2423
# As a last resort, use the slow shell script. Don't cache a
2424
# value for INSTALL within a source directory, because that will
2425
# break other packages using the cache if that directory is
2426
# removed, or if the value is a relative name.
2427
INSTALL=$ac_install_sh
2430
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2431
$as_echo "$INSTALL" >&6; }
2433
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2434
# It thinks the first close brace ends the variable substitution.
2435
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2437
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2439
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2441
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2442
$as_echo_n "checking whether build environment is sane... " >&6; }
2445
echo timestamp > conftest.file
2446
# Reject unsafe characters in $srcdir or the absolute working directory
2447
# name. Accept space and tab only in the latter.
2451
*[\\\"\#\$\&\'\`$am_lf]*)
2452
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2455
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2456
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2459
# Do `set' in a subshell so we don't clobber the current shell's
2460
# arguments. Must try -L first in case configure is actually a
2461
# symlink; some systems play weird games with the mod time of symlinks
2462
# (eg FreeBSD returns the mod time of the symlink's containing
2465
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2466
if test "$*" = "X"; then
2468
set X `ls -t "$srcdir/configure" conftest.file`
2471
if test "$*" != "X $srcdir/configure conftest.file" \
2472
&& test "$*" != "X conftest.file $srcdir/configure"; then
2474
# If neither matched, then we have a broken ls. This can happen
2475
# if, for instance, CONFIG_SHELL is bash and it inherits a
2476
# broken ls alias from the environment. This has actually
2477
# happened. Such a system could not be considered "sane".
2478
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2479
alias in your environment" "$LINENO" 5
2482
test "$2" = conftest.file
2488
as_fn_error $? "newly created file is older than distributed files!
2489
Check your system clock" "$LINENO" 5
2491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2492
$as_echo "yes" >&6; }
2493
test "$program_prefix" != NONE &&
2494
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2495
# Use a double $ so make ignores it.
2496
test "$program_suffix" != NONE &&
2497
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2498
# Double any \ or $.
2499
# By default was `s,x,x', remove it if useless.
2500
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2501
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2503
# expand $ac_aux_dir to an absolute path
2504
am_aux_dir=`cd $ac_aux_dir && pwd`
2506
if test x"${MISSING+set}" != xset; then
2509
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2511
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2514
# Use eval to expand $SHELL
2515
if eval "$MISSING --run true"; then
2516
am_missing_run="$MISSING --run "
2519
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2520
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2523
if test x"${install_sh}" != xset; then
2526
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2528
install_sh="\${SHELL} $am_aux_dir/install-sh"
2532
# Installed binaries are usually stripped using `strip' when the user
2533
# run `make install-strip'. However `strip' might not be the right
2534
# tool to use in cross-compilation environments, therefore Automake
2535
# will honor the `STRIP' environment variable to overrule this program.
2536
if test "$cross_compiling" != no; then
2537
if test -n "$ac_tool_prefix"; then
2538
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2539
set dummy ${ac_tool_prefix}strip; ac_word=$2
2540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2541
$as_echo_n "checking for $ac_word... " >&6; }
2542
if ${ac_cv_prog_STRIP+:} false; then :
2543
$as_echo_n "(cached) " >&6
2545
if test -n "$STRIP"; then
2546
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2552
test -z "$as_dir" && as_dir=.
2553
for ac_exec_ext in '' $ac_executable_extensions; do
2554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2556
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2565
STRIP=$ac_cv_prog_STRIP
2566
if test -n "$STRIP"; then
2567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2568
$as_echo "$STRIP" >&6; }
2570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2571
$as_echo "no" >&6; }
2576
if test -z "$ac_cv_prog_STRIP"; then
2578
# Extract the first word of "strip", so it can be a program name with args.
2579
set dummy strip; ac_word=$2
2580
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2581
$as_echo_n "checking for $ac_word... " >&6; }
2582
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2583
$as_echo_n "(cached) " >&6
2585
if test -n "$ac_ct_STRIP"; then
2586
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2588
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592
test -z "$as_dir" && as_dir=.
2593
for ac_exec_ext in '' $ac_executable_extensions; do
2594
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2595
ac_cv_prog_ac_ct_STRIP="strip"
2596
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2605
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2606
if test -n "$ac_ct_STRIP"; then
2607
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2608
$as_echo "$ac_ct_STRIP" >&6; }
2610
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2611
$as_echo "no" >&6; }
2614
if test "x$ac_ct_STRIP" = x; then
2617
case $cross_compiling:$ac_tool_warned in
2619
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2620
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2621
ac_tool_warned=yes ;;
2626
STRIP="$ac_cv_prog_STRIP"
2630
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2632
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2633
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2634
if test -z "$MKDIR_P"; then
2635
if ${ac_cv_path_mkdir+:} false; then :
2636
$as_echo_n "(cached) " >&6
2638
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2639
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2642
test -z "$as_dir" && as_dir=.
2643
for ac_prog in mkdir gmkdir; do
2644
for ac_exec_ext in '' $ac_executable_extensions; do
2645
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2646
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2647
'mkdir (GNU coreutils) '* | \
2648
'mkdir (coreutils) '* | \
2649
'mkdir (fileutils) '4.1*)
2650
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2660
test -d ./--version && rmdir ./--version
2661
if test "${ac_cv_path_mkdir+set}" = set; then
2662
MKDIR_P="$ac_cv_path_mkdir -p"
2664
# As a last resort, use the slow shell script. Don't cache a
2665
# value for MKDIR_P within a source directory, because that will
2666
# break other packages using the cache if that directory is
2667
# removed, or if the value is a relative name.
2668
MKDIR_P="$ac_install_sh -d"
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2672
$as_echo "$MKDIR_P" >&6; }
2676
[\\/$]* | ?:[\\/]*) ;;
2677
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2680
for ac_prog in gawk mawk nawk awk
2682
# Extract the first word of "$ac_prog", so it can be a program name with args.
2683
set dummy $ac_prog; ac_word=$2
2684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2685
$as_echo_n "checking for $ac_word... " >&6; }
2686
if ${ac_cv_prog_AWK+:} false; then :
2687
$as_echo_n "(cached) " >&6
2689
if test -n "$AWK"; then
2690
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2692
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2696
test -z "$as_dir" && as_dir=.
2697
for ac_exec_ext in '' $ac_executable_extensions; do
2698
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2699
ac_cv_prog_AWK="$ac_prog"
2700
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710
if test -n "$AWK"; then
2711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2712
$as_echo "$AWK" >&6; }
2714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2715
$as_echo "no" >&6; }
2719
test -n "$AWK" && break
2722
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2723
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2725
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2726
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2727
$as_echo_n "(cached) " >&6
2729
cat >conftest.make <<\_ACEOF
2732
@echo '@@@%%%=$(MAKE)=@@@%%%'
2734
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2735
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2737
eval ac_cv_prog_make_${ac_make}_set=yes;;
2739
eval ac_cv_prog_make_${ac_make}_set=no;;
2743
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2745
$as_echo "yes" >&6; }
2748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2749
$as_echo "no" >&6; }
2750
SET_MAKE="MAKE=${MAKE-make}"
2753
rm -rf .tst 2>/dev/null
2754
mkdir .tst 2>/dev/null
2755
if test -d .tst; then
2760
rmdir .tst 2>/dev/null
2762
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2763
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2764
# is not polluted with repeated "-I."
2765
am__isrc=' -I$(srcdir)'
2766
# test to see if srcdir already configured
2767
if test -f $srcdir/config.status; then
2768
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2772
# test whether we have cygpath
2773
if test -z "$CYGPATH_W"; then
2774
if (cygpath --version) >/dev/null 2>/dev/null; then
2775
CYGPATH_W='cygpath -w'
2782
# Define the identity of the package.
2787
cat >>confdefs.h <<_ACEOF
2788
#define PACKAGE "$PACKAGE"
2792
cat >>confdefs.h <<_ACEOF
2793
#define VERSION "$VERSION"
2796
# Some tools Automake needs.
2798
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2801
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2804
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2807
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2810
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2812
# We need awk for the "check" target. The system "awk" is bad on
2814
# Always define AMTAR for backward compatibility. Yes, it's still used
2815
# in the wild :-( We should find a proper way to deprecate it ...
2818
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2825
ac_config_headers="$ac_config_headers config.h"
2828
# checks for programs.
2830
ac_cpp='$CXXCPP $CPPFLAGS'
2831
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2832
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2833
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2834
if test -z "$CXX"; then
2835
if test -n "$CCC"; then
2838
if test -n "$ac_tool_prefix"; then
2839
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2841
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2842
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2843
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844
$as_echo_n "checking for $ac_word... " >&6; }
2845
if ${ac_cv_prog_CXX+:} false; then :
2846
$as_echo_n "(cached) " >&6
2848
if test -n "$CXX"; then
2849
ac_cv_prog_CXX="$CXX" # Let the user override the test.
2851
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2855
test -z "$as_dir" && as_dir=.
2856
for ac_exec_ext in '' $ac_executable_extensions; do
2857
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2859
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869
if test -n "$CXX"; then
2870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
2871
$as_echo "$CXX" >&6; }
2873
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874
$as_echo "no" >&6; }
2878
test -n "$CXX" && break
2881
if test -z "$CXX"; then
2883
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2885
# Extract the first word of "$ac_prog", so it can be a program name with args.
2886
set dummy $ac_prog; ac_word=$2
2887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888
$as_echo_n "checking for $ac_word... " >&6; }
2889
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
2890
$as_echo_n "(cached) " >&6
2892
if test -n "$ac_ct_CXX"; then
2893
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2895
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2899
test -z "$as_dir" && as_dir=.
2900
for ac_exec_ext in '' $ac_executable_extensions; do
2901
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902
ac_cv_prog_ac_ct_CXX="$ac_prog"
2903
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2913
if test -n "$ac_ct_CXX"; then
2914
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
2915
$as_echo "$ac_ct_CXX" >&6; }
2917
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918
$as_echo "no" >&6; }
2922
test -n "$ac_ct_CXX" && break
2925
if test "x$ac_ct_CXX" = x; then
2928
case $cross_compiling:$ac_tool_warned in
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2931
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932
ac_tool_warned=yes ;;
2940
# Provide some information about the compiler.
2941
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
2944
for ac_option in --version -v -V -qversion; do
2945
{ { ac_try="$ac_compiler $ac_option >&5"
2947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948
*) ac_try_echo=$ac_try;;
2950
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951
$as_echo "$ac_try_echo"; } >&5
2952
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2954
if test -s conftest.err; then
2956
... rest of stderr output deleted ...
2957
10q' conftest.err >conftest.er1
2958
cat conftest.er1 >&5
2960
rm -f conftest.er1 conftest.err
2961
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2962
test $ac_status = 0; }
2965
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2966
/* end confdefs.h. */
2976
ac_clean_files_save=$ac_clean_files
2977
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2978
# Try to create an executable without -o first, disregard a.out.
2979
# It will help us diagnose broken compilers, and finding out an intuition
2981
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
2982
$as_echo_n "checking whether the C++ compiler works... " >&6; }
2983
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2985
# The possible output files:
2986
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2989
for ac_file in $ac_files
2992
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2993
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2998
if { { ac_try="$ac_link_default"
3000
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3001
*) ac_try_echo=$ac_try;;
3003
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3004
$as_echo "$ac_try_echo"; } >&5
3005
(eval "$ac_link_default") 2>&5
3007
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3008
test $ac_status = 0; }; then :
3009
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3010
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3011
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3012
# so that the user can short-circuit this test for compilers unknown to
3014
for ac_file in $ac_files ''
3016
test -f "$ac_file" || continue
3018
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3021
# We found the default executable, but exeext='' is most
3025
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3027
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3029
# We set ac_cv_exeext here because the later test for it is not
3030
# safe: cross compilers may not add the suffix if given an `-o'
3031
# argument, so we may need to know it at that point already.
3032
# Even if this section looks crufty: it has the advantage of
3039
test "$ac_cv_exeext" = no && ac_cv_exeext=
3044
if test -z "$ac_file"; then :
3045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046
$as_echo "no" >&6; }
3047
$as_echo "$as_me: failed program was:" >&5
3048
sed 's/^/| /' conftest.$ac_ext >&5
3050
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3051
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3052
as_fn_error 77 "C++ compiler cannot create executables
3053
See \`config.log' for more details" "$LINENO" 5; }
3055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3056
$as_echo "yes" >&6; }
3058
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3059
$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3060
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3061
$as_echo "$ac_file" >&6; }
3062
ac_exeext=$ac_cv_exeext
3064
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3065
ac_clean_files=$ac_clean_files_save
3066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3067
$as_echo_n "checking for suffix of executables... " >&6; }
3068
if { { ac_try="$ac_link"
3070
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071
*) ac_try_echo=$ac_try;;
3073
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074
$as_echo "$ac_try_echo"; } >&5
3075
(eval "$ac_link") 2>&5
3077
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078
test $ac_status = 0; }; then :
3079
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3080
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3081
# work properly (i.e., refer to `conftest.exe'), while it won't with
3083
for ac_file in conftest.exe conftest conftest.*; do
3084
test -f "$ac_file" || continue
3086
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3087
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3093
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3094
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3095
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3096
See \`config.log' for more details" "$LINENO" 5; }
3098
rm -f conftest conftest$ac_cv_exeext
3099
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3100
$as_echo "$ac_cv_exeext" >&6; }
3102
rm -f conftest.$ac_ext
3103
EXEEXT=$ac_cv_exeext
3105
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3106
/* end confdefs.h. */
3111
FILE *f = fopen ("conftest.out", "w");
3112
return ferror (f) || fclose (f) != 0;
3118
ac_clean_files="$ac_clean_files conftest.out"
3119
# Check that the compiler produces executables we can run. If not, either
3120
# the compiler is broken, or we cross compile.
3121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3122
$as_echo_n "checking whether we are cross compiling... " >&6; }
3123
if test "$cross_compiling" != yes; then
3124
{ { ac_try="$ac_link"
3126
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127
*) ac_try_echo=$ac_try;;
3129
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130
$as_echo "$ac_try_echo"; } >&5
3131
(eval "$ac_link") 2>&5
3133
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134
test $ac_status = 0; }
3135
if { ac_try='./conftest$ac_cv_exeext'
3136
{ { case "(($ac_try" in
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3141
$as_echo "$ac_try_echo"; } >&5
3142
(eval "$ac_try") 2>&5
3144
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3145
test $ac_status = 0; }; }; then
3148
if test "$cross_compiling" = maybe; then
3151
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3152
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3153
as_fn_error $? "cannot run C++ compiled programs.
3154
If you meant to cross compile, use \`--host'.
3155
See \`config.log' for more details" "$LINENO" 5; }
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3160
$as_echo "$cross_compiling" >&6; }
3162
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3163
ac_clean_files=$ac_clean_files_save
3164
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3165
$as_echo_n "checking for suffix of object files... " >&6; }
3166
if ${ac_cv_objext+:} false; then :
3167
$as_echo_n "(cached) " >&6
3169
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3170
/* end confdefs.h. */
3180
rm -f conftest.o conftest.obj
3181
if { { ac_try="$ac_compile"
3183
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3184
*) ac_try_echo=$ac_try;;
3186
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3187
$as_echo "$ac_try_echo"; } >&5
3188
(eval "$ac_compile") 2>&5
3190
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3191
test $ac_status = 0; }; then :
3192
for ac_file in conftest.o conftest.obj conftest.*; do
3193
test -f "$ac_file" || continue;
3195
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3196
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3201
$as_echo "$as_me: failed program was:" >&5
3202
sed 's/^/| /' conftest.$ac_ext >&5
3204
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3205
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3206
as_fn_error $? "cannot compute suffix of object files: cannot compile
3207
See \`config.log' for more details" "$LINENO" 5; }
3209
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3212
$as_echo "$ac_cv_objext" >&6; }
3213
OBJEXT=$ac_cv_objext
3215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3216
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3217
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3218
$as_echo_n "(cached) " >&6
3220
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221
/* end confdefs.h. */
3234
if ac_fn_cxx_try_compile "$LINENO"; then :
3239
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3240
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3243
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3244
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3245
if test $ac_compiler_gnu = yes; then
3250
ac_test_CXXFLAGS=${CXXFLAGS+set}
3251
ac_save_CXXFLAGS=$CXXFLAGS
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3253
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3254
if ${ac_cv_prog_cxx_g+:} false; then :
3255
$as_echo_n "(cached) " >&6
3257
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3258
ac_cxx_werror_flag=yes
3261
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3262
/* end confdefs.h. */
3272
if ac_fn_cxx_try_compile "$LINENO"; then :
3273
ac_cv_prog_cxx_g=yes
3276
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277
/* end confdefs.h. */
3287
if ac_fn_cxx_try_compile "$LINENO"; then :
3290
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3292
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293
/* end confdefs.h. */
3303
if ac_fn_cxx_try_compile "$LINENO"; then :
3304
ac_cv_prog_cxx_g=yes
3306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3311
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3313
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3314
$as_echo "$ac_cv_prog_cxx_g" >&6; }
3315
if test "$ac_test_CXXFLAGS" = set; then
3316
CXXFLAGS=$ac_save_CXXFLAGS
3317
elif test $ac_cv_prog_cxx_g = yes; then
3318
if test "$GXX" = yes; then
3324
if test "$GXX" = yes; then
3331
ac_cpp='$CPP $CPPFLAGS'
3332
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3335
DEPDIR="${am__leading_dot}deps"
3337
ac_config_commands="$ac_config_commands depfiles"
3340
am_make=${MAKE-make}
3341
cat > confinc << 'END'
3343
@echo this is the am__doit target
3346
# If we don't find an include directive, just comment out the code.
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3348
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3352
# First try GNU make style include.
3353
echo "include confinc" > confmf
3354
# Ignore all kinds of additional output from `make'.
3355
case `$am_make -s -f confmf 2> /dev/null` in #(
3356
*the\ am__doit\ target*)
3362
# Now try BSD make style include.
3363
if test "$am__include" = "#"; then
3364
echo '.include "confinc"' > confmf
3365
case `$am_make -s -f confmf 2> /dev/null` in #(
3366
*the\ am__doit\ target*)
3367
am__include=.include
3375
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3376
$as_echo "$_am_result" >&6; }
3377
rm -f confinc confmf
3379
# Check whether --enable-dependency-tracking was given.
3380
if test "${enable_dependency_tracking+set}" = set; then :
3381
enableval=$enable_dependency_tracking;
3384
if test "x$enable_dependency_tracking" != xno; then
3385
am_depcomp="$ac_aux_dir/depcomp"
3389
if test "x$enable_dependency_tracking" != xno; then
3399
depcc="$CXX" am_compiler_list=
3401
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3402
$as_echo_n "checking dependency style of $depcc... " >&6; }
3403
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3404
$as_echo_n "(cached) " >&6
3406
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3407
# We make a subdir and do the tests there. Otherwise we can end up
3408
# making bogus files that we don't know about and never remove. For
3409
# instance it was reported that on HP-UX the gcc test will end up
3410
# making a dummy file named `D' -- because `-MD' means `put the output
3414
# Copy depcomp to subdir because otherwise we won't find it if we're
3415
# using a relative directory.
3416
cp "$am_depcomp" conftest.dir
3418
# We will build objects and dependencies in a subdirectory because
3419
# it helps to detect inapplicable dependency modes. For instance
3420
# both Tru64's cc and ICC support -MD to output dependencies as a
3421
# side effect of compilation, but ICC will put the dependencies in
3422
# the current directory while Tru64 will put them in the object
3426
am_cv_CXX_dependencies_compiler_type=none
3427
if test "$am_compiler_list" = ""; then
3428
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431
case " $depcc " in #(
3432
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3435
for depmode in $am_compiler_list; do
3436
# Setup a source with many dependencies, because some compilers
3437
# like to wrap large dependency lists on column 80 (with \), and
3438
# we should not choose a depcomp mode which is confused by this.
3440
# We need to recreate these files for each test, as the compiler may
3441
# overwrite some of them when testing with obscure command lines.
3442
# This happens at least with the AIX C compiler.
3444
for i in 1 2 3 4 5 6; do
3445
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3446
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3447
# Solaris 8's {/usr,}/bin/sh.
3448
touch sub/conftst$i.h
3450
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3452
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3453
# mode. It turns out that the SunPro C++ compiler does not properly
3454
# handle `-M -o', and we need to detect this. Also, some Intel
3455
# versions had trouble with output in subdirs
3456
am__obj=sub/conftest.${OBJEXT-o}
3457
am__minus_obj="-o $am__obj"
3460
# This depmode causes a compiler race in universal mode.
3461
test "$am__universal" = false || continue
3464
# after this tag, mechanisms are not by side-effect, so they'll
3465
# only be used when explicitly requested
3466
if test "x$enable_dependency_tracking" = xyes; then
3472
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3473
# This compiler won't grok `-c -o', but also, the minuso test has
3474
# not run yet. These depmodes are late enough in the game, and
3475
# so weak that their functioning should not be impacted.
3476
am__obj=conftest.${OBJEXT-o}
3481
if depmode=$depmode \
3482
source=sub/conftest.c object=$am__obj \
3483
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3484
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3485
>/dev/null 2>conftest.err &&
3486
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3487
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3488
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3489
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3490
# icc doesn't choke on unknown options, it will just issue warnings
3491
# or remarks (even with -Werror). So we grep stderr for any message
3492
# that says an option was ignored or not supported.
3493
# When given -MP, icc 7.0 and 7.1 complain thusly:
3494
# icc: Command line warning: ignoring option '-M'; no argument required
3495
# The diagnosis changed in icc 8.0:
3496
# icc: Command line remark: option '-MP' not supported
3497
if (grep 'ignoring option' conftest.err ||
3498
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3499
am_cv_CXX_dependencies_compiler_type=$depmode
3508
am_cv_CXX_dependencies_compiler_type=none
3512
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3513
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3514
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3517
test "x$enable_dependency_tracking" != xno \
3518
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3519
am__fastdepCXX_TRUE=
3520
am__fastdepCXX_FALSE='#'
3522
am__fastdepCXX_TRUE='#'
3523
am__fastdepCXX_FALSE=
3529
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3530
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3535
macro_version='2.4.2'
3536
macro_revision='1.3337'
3550
ltmain="$ac_aux_dir/ltmain.sh"
3552
# Make sure we can run config.sub.
3553
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3554
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3556
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3557
$as_echo_n "checking build system type... " >&6; }
3558
if ${ac_cv_build+:} false; then :
3559
$as_echo_n "(cached) " >&6
3561
ac_build_alias=$build_alias
3562
test "x$ac_build_alias" = x &&
3563
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3564
test "x$ac_build_alias" = x &&
3565
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3566
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3567
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3571
$as_echo "$ac_cv_build" >&6; }
3572
case $ac_cv_build in
3574
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3577
ac_save_IFS=$IFS; IFS='-'
3583
# Remember, the first character of IFS is used to create $*,
3584
# except with old shells:
3587
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3591
$as_echo_n "checking host system type... " >&6; }
3592
if ${ac_cv_host+:} false; then :
3593
$as_echo_n "(cached) " >&6
3595
if test "x$host_alias" = x; then
3596
ac_cv_host=$ac_cv_build
3598
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3599
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3603
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3604
$as_echo "$ac_cv_host" >&6; }
3607
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3610
ac_save_IFS=$IFS; IFS='-'
3616
# Remember, the first character of IFS is used to create $*,
3617
# except with old shells:
3620
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3623
# Backslashify metacharacters that are still active within
3624
# double-quoted strings.
3625
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3627
# Same as above, but do not quote variable references.
3628
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3630
# Sed substitution to delay expansion of an escaped shell variable in a
3631
# double_quote_subst'ed string.
3632
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3634
# Sed substitution to delay expansion of an escaped single quote.
3635
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3637
# Sed substitution to avoid accidental globbing in evaled expressions
3638
no_glob_subst='s/\*/\\\*/g'
3640
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3641
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3642
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3644
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3645
$as_echo_n "checking how to print strings... " >&6; }
3646
# Test print first, because it will be a builtin if present.
3647
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3648
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3650
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3653
# Use this function as a fallback that always works.
3654
func_fallback_echo ()
3656
eval 'cat <<_LTECHO_EOF
3660
ECHO='func_fallback_echo'
3663
# func_echo_all arg...
3664
# Invoke $ECHO with all args, space-separated.
3671
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3672
$as_echo "printf" >&6; } ;;
3673
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3674
$as_echo "print -r" >&6; } ;;
3675
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3676
$as_echo "cat" >&6; } ;;
3693
ac_cpp='$CPP $CPPFLAGS'
3694
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697
if test -n "$ac_tool_prefix"; then
3698
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3700
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701
$as_echo_n "checking for $ac_word... " >&6; }
3702
if ${ac_cv_prog_CC+:} false; then :
3703
$as_echo_n "(cached) " >&6
3705
if test -n "$CC"; then
3706
ac_cv_prog_CC="$CC" # Let the user override the test.
3708
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712
test -z "$as_dir" && as_dir=.
3713
for ac_exec_ext in '' $ac_executable_extensions; do
3714
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3716
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726
if test -n "$CC"; then
3727
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728
$as_echo "$CC" >&6; }
3730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731
$as_echo "no" >&6; }
3736
if test -z "$ac_cv_prog_CC"; then
3738
# Extract the first word of "gcc", so it can be a program name with args.
3739
set dummy gcc; ac_word=$2
3740
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741
$as_echo_n "checking for $ac_word... " >&6; }
3742
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3743
$as_echo_n "(cached) " >&6
3745
if test -n "$ac_ct_CC"; then
3746
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3748
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3752
test -z "$as_dir" && as_dir=.
3753
for ac_exec_ext in '' $ac_executable_extensions; do
3754
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3755
ac_cv_prog_ac_ct_CC="gcc"
3756
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3766
if test -n "$ac_ct_CC"; then
3767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768
$as_echo "$ac_ct_CC" >&6; }
3770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771
$as_echo "no" >&6; }
3774
if test "x$ac_ct_CC" = x; then
3777
case $cross_compiling:$ac_tool_warned in
3779
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781
ac_tool_warned=yes ;;
3789
if test -z "$CC"; then
3790
if test -n "$ac_tool_prefix"; then
3791
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792
set dummy ${ac_tool_prefix}cc; ac_word=$2
3793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794
$as_echo_n "checking for $ac_word... " >&6; }
3795
if ${ac_cv_prog_CC+:} false; then :
3796
$as_echo_n "(cached) " >&6
3798
if test -n "$CC"; then
3799
ac_cv_prog_CC="$CC" # Let the user override the test.
3801
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805
test -z "$as_dir" && as_dir=.
3806
for ac_exec_ext in '' $ac_executable_extensions; do
3807
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3808
ac_cv_prog_CC="${ac_tool_prefix}cc"
3809
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819
if test -n "$CC"; then
3820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821
$as_echo "$CC" >&6; }
3823
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824
$as_echo "no" >&6; }
3830
if test -z "$CC"; then
3831
# Extract the first word of "cc", so it can be a program name with args.
3832
set dummy cc; ac_word=$2
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834
$as_echo_n "checking for $ac_word... " >&6; }
3835
if ${ac_cv_prog_CC+:} false; then :
3836
$as_echo_n "(cached) " >&6
3838
if test -n "$CC"; then
3839
ac_cv_prog_CC="$CC" # Let the user override the test.
3842
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846
test -z "$as_dir" && as_dir=.
3847
for ac_exec_ext in '' $ac_executable_extensions; do
3848
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850
ac_prog_rejected=yes
3854
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861
if test $ac_prog_rejected = yes; then
3862
# We found a bogon in the path, so make sure we never use it.
3863
set dummy $ac_cv_prog_CC
3865
if test $# != 0; then
3866
# We chose a different compiler from the bogus one.
3867
# However, it has the same basename, so the bogon will be chosen
3868
# first if we set CC to just the basename; use the full file name.
3870
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3876
if test -n "$CC"; then
3877
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878
$as_echo "$CC" >&6; }
3880
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881
$as_echo "no" >&6; }
3886
if test -z "$CC"; then
3887
if test -n "$ac_tool_prefix"; then
3888
for ac_prog in cl.exe
3890
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3892
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893
$as_echo_n "checking for $ac_word... " >&6; }
3894
if ${ac_cv_prog_CC+:} false; then :
3895
$as_echo_n "(cached) " >&6
3897
if test -n "$CC"; then
3898
ac_cv_prog_CC="$CC" # Let the user override the test.
3900
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3904
test -z "$as_dir" && as_dir=.
3905
for ac_exec_ext in '' $ac_executable_extensions; do
3906
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3907
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3908
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918
if test -n "$CC"; then
3919
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920
$as_echo "$CC" >&6; }
3922
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923
$as_echo "no" >&6; }
3927
test -n "$CC" && break
3930
if test -z "$CC"; then
3932
for ac_prog in cl.exe
3934
# Extract the first word of "$ac_prog", so it can be a program name with args.
3935
set dummy $ac_prog; ac_word=$2
3936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937
$as_echo_n "checking for $ac_word... " >&6; }
3938
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3939
$as_echo_n "(cached) " >&6
3941
if test -n "$ac_ct_CC"; then
3942
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3948
test -z "$as_dir" && as_dir=.
3949
for ac_exec_ext in '' $ac_executable_extensions; do
3950
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951
ac_cv_prog_ac_ct_CC="$ac_prog"
3952
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3962
if test -n "$ac_ct_CC"; then
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964
$as_echo "$ac_ct_CC" >&6; }
3966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967
$as_echo "no" >&6; }
3971
test -n "$ac_ct_CC" && break
3974
if test "x$ac_ct_CC" = x; then
3977
case $cross_compiling:$ac_tool_warned in
3979
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981
ac_tool_warned=yes ;;
3990
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992
as_fn_error $? "no acceptable C compiler found in \$PATH
3993
See \`config.log' for more details" "$LINENO" 5; }
3995
# Provide some information about the compiler.
3996
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3999
for ac_option in --version -v -V -qversion; do
4000
{ { ac_try="$ac_compiler $ac_option >&5"
4002
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4003
*) ac_try_echo=$ac_try;;
4005
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006
$as_echo "$ac_try_echo"; } >&5
4007
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
4009
if test -s conftest.err; then
4011
... rest of stderr output deleted ...
4012
10q' conftest.err >conftest.er1
4013
cat conftest.er1 >&5
4015
rm -f conftest.er1 conftest.err
4016
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017
test $ac_status = 0; }
4020
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4021
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4022
if ${ac_cv_c_compiler_gnu+:} false; then :
4023
$as_echo_n "(cached) " >&6
4025
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4026
/* end confdefs.h. */
4039
if ac_fn_c_try_compile "$LINENO"; then :
4044
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4045
ac_cv_c_compiler_gnu=$ac_compiler_gnu
4048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4049
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4050
if test $ac_compiler_gnu = yes; then
4055
ac_test_CFLAGS=${CFLAGS+set}
4056
ac_save_CFLAGS=$CFLAGS
4057
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4058
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4059
if ${ac_cv_prog_cc_g+:} false; then :
4060
$as_echo_n "(cached) " >&6
4062
ac_save_c_werror_flag=$ac_c_werror_flag
4063
ac_c_werror_flag=yes
4066
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4067
/* end confdefs.h. */
4077
if ac_fn_c_try_compile "$LINENO"; then :
4081
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4082
/* end confdefs.h. */
4092
if ac_fn_c_try_compile "$LINENO"; then :
4095
ac_c_werror_flag=$ac_save_c_werror_flag
4097
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098
/* end confdefs.h. */
4108
if ac_fn_c_try_compile "$LINENO"; then :
4111
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4113
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4115
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4116
ac_c_werror_flag=$ac_save_c_werror_flag
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4119
$as_echo "$ac_cv_prog_cc_g" >&6; }
4120
if test "$ac_test_CFLAGS" = set; then
4121
CFLAGS=$ac_save_CFLAGS
4122
elif test $ac_cv_prog_cc_g = yes; then
4123
if test "$GCC" = yes; then
4129
if test "$GCC" = yes; then
4135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4136
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4137
if ${ac_cv_prog_cc_c89+:} false; then :
4138
$as_echo_n "(cached) " >&6
4140
ac_cv_prog_cc_c89=no
4142
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143
/* end confdefs.h. */
4146
#include <sys/types.h>
4147
#include <sys/stat.h>
4148
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4149
struct buf { int x; };
4150
FILE * (*rcsopen) (struct buf *, struct stat *, int);
4151
static char *e (p, i)
4157
static char *f (char * (*g) (char **, int), char **p, ...)
4162
s = g (p, va_arg (v,int));
4167
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4168
function prototypes and stuff, but not '\xHH' hex character constants.
4169
These don't provoke an error unfortunately, instead are silently treated
4170
as 'x'. The following induces an error, until -std is added to get
4171
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4172
array size at least. It's necessary to write '\x00'==0 to get something
4173
that's true only with -std. */
4174
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4176
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4177
inside strings and character constants. */
4179
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4181
int test (int i, double x);
4182
struct s1 {int (*f) (int a);};
4183
struct s2 {int (*f) (double a);};
4184
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4190
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4195
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4196
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4198
CC="$ac_save_CC $ac_arg"
4199
if ac_fn_c_try_compile "$LINENO"; then :
4200
ac_cv_prog_cc_c89=$ac_arg
4202
rm -f core conftest.err conftest.$ac_objext
4203
test "x$ac_cv_prog_cc_c89" != "xno" && break
4205
rm -f conftest.$ac_ext
4210
case "x$ac_cv_prog_cc_c89" in
4212
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4213
$as_echo "none needed" >&6; } ;;
4215
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4216
$as_echo "unsupported" >&6; } ;;
4218
CC="$CC $ac_cv_prog_cc_c89"
4219
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4220
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4222
if test "x$ac_cv_prog_cc_c89" != xno; then :
4227
ac_cpp='$CPP $CPPFLAGS'
4228
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4229
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4230
ac_compiler_gnu=$ac_cv_c_compiler_gnu
4232
depcc="$CC" am_compiler_list=
4234
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4235
$as_echo_n "checking dependency style of $depcc... " >&6; }
4236
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4237
$as_echo_n "(cached) " >&6
4239
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4240
# We make a subdir and do the tests there. Otherwise we can end up
4241
# making bogus files that we don't know about and never remove. For
4242
# instance it was reported that on HP-UX the gcc test will end up
4243
# making a dummy file named `D' -- because `-MD' means `put the output
4247
# Copy depcomp to subdir because otherwise we won't find it if we're
4248
# using a relative directory.
4249
cp "$am_depcomp" conftest.dir
4251
# We will build objects and dependencies in a subdirectory because
4252
# it helps to detect inapplicable dependency modes. For instance
4253
# both Tru64's cc and ICC support -MD to output dependencies as a
4254
# side effect of compilation, but ICC will put the dependencies in
4255
# the current directory while Tru64 will put them in the object
4259
am_cv_CC_dependencies_compiler_type=none
4260
if test "$am_compiler_list" = ""; then
4261
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4264
case " $depcc " in #(
4265
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4268
for depmode in $am_compiler_list; do
4269
# Setup a source with many dependencies, because some compilers
4270
# like to wrap large dependency lists on column 80 (with \), and
4271
# we should not choose a depcomp mode which is confused by this.
4273
# We need to recreate these files for each test, as the compiler may
4274
# overwrite some of them when testing with obscure command lines.
4275
# This happens at least with the AIX C compiler.
4277
for i in 1 2 3 4 5 6; do
4278
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4279
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4280
# Solaris 8's {/usr,}/bin/sh.
4281
touch sub/conftst$i.h
4283
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4285
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4286
# mode. It turns out that the SunPro C++ compiler does not properly
4287
# handle `-M -o', and we need to detect this. Also, some Intel
4288
# versions had trouble with output in subdirs
4289
am__obj=sub/conftest.${OBJEXT-o}
4290
am__minus_obj="-o $am__obj"
4293
# This depmode causes a compiler race in universal mode.
4294
test "$am__universal" = false || continue
4297
# after this tag, mechanisms are not by side-effect, so they'll
4298
# only be used when explicitly requested
4299
if test "x$enable_dependency_tracking" = xyes; then
4305
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4306
# This compiler won't grok `-c -o', but also, the minuso test has
4307
# not run yet. These depmodes are late enough in the game, and
4308
# so weak that their functioning should not be impacted.
4309
am__obj=conftest.${OBJEXT-o}
4314
if depmode=$depmode \
4315
source=sub/conftest.c object=$am__obj \
4316
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4317
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4318
>/dev/null 2>conftest.err &&
4319
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4320
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4321
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4322
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4323
# icc doesn't choke on unknown options, it will just issue warnings
4324
# or remarks (even with -Werror). So we grep stderr for any message
4325
# that says an option was ignored or not supported.
4326
# When given -MP, icc 7.0 and 7.1 complain thusly:
4327
# icc: Command line warning: ignoring option '-M'; no argument required
4328
# The diagnosis changed in icc 8.0:
4329
# icc: Command line remark: option '-MP' not supported
4330
if (grep 'ignoring option' conftest.err ||
4331
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4332
am_cv_CC_dependencies_compiler_type=$depmode
4341
am_cv_CC_dependencies_compiler_type=none
4345
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4346
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4347
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4350
test "x$enable_dependency_tracking" != xno \
4351
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4353
am__fastdepCC_FALSE='#'
4355
am__fastdepCC_TRUE='#'
4356
am__fastdepCC_FALSE=
4360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4361
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4362
if ${ac_cv_path_SED+:} false; then :
4363
$as_echo_n "(cached) " >&6
4365
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4366
for ac_i in 1 2 3 4 5 6 7; do
4367
ac_script="$ac_script$as_nl$ac_script"
4369
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4370
{ ac_script=; unset ac_script;}
4371
if test -z "$SED"; then
4372
ac_path_SED_found=false
4373
# Loop through the user's path and test for each of PROGNAME-LIST
4374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4378
test -z "$as_dir" && as_dir=.
4379
for ac_prog in sed gsed; do
4380
for ac_exec_ext in '' $ac_executable_extensions; do
4381
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4382
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4383
# Check for GNU ac_path_SED and select it if it is found.
4384
# Check for GNU $ac_path_SED
4385
case `"$ac_path_SED" --version 2>&1` in
4387
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4390
$as_echo_n 0123456789 >"conftest.in"
4393
cat "conftest.in" "conftest.in" >"conftest.tmp"
4394
mv "conftest.tmp" "conftest.in"
4395
cp "conftest.in" "conftest.nl"
4396
$as_echo '' >> "conftest.nl"
4397
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4398
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4399
as_fn_arith $ac_count + 1 && ac_count=$as_val
4400
if test $ac_count -gt ${ac_path_SED_max-0}; then
4401
# Best one so far, save it but keep looking for a better one
4402
ac_cv_path_SED="$ac_path_SED"
4403
ac_path_SED_max=$ac_count
4405
# 10*(2^10) chars as input seems more than enough
4406
test $ac_count -gt 10 && break
4408
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4411
$ac_path_SED_found && break 3
4416
if test -z "$ac_cv_path_SED"; then
4417
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4425
$as_echo "$ac_cv_path_SED" >&6; }
4426
SED="$ac_cv_path_SED"
4429
test -z "$SED" && SED=sed
4430
Xsed="$SED -e 1s/^X//"
4442
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4443
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4444
if ${ac_cv_path_GREP+:} false; then :
4445
$as_echo_n "(cached) " >&6
4447
if test -z "$GREP"; then
4448
ac_path_GREP_found=false
4449
# Loop through the user's path and test for each of PROGNAME-LIST
4450
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4454
test -z "$as_dir" && as_dir=.
4455
for ac_prog in grep ggrep; do
4456
for ac_exec_ext in '' $ac_executable_extensions; do
4457
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4458
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4459
# Check for GNU ac_path_GREP and select it if it is found.
4460
# Check for GNU $ac_path_GREP
4461
case `"$ac_path_GREP" --version 2>&1` in
4463
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4466
$as_echo_n 0123456789 >"conftest.in"
4469
cat "conftest.in" "conftest.in" >"conftest.tmp"
4470
mv "conftest.tmp" "conftest.in"
4471
cp "conftest.in" "conftest.nl"
4472
$as_echo 'GREP' >> "conftest.nl"
4473
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4474
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4475
as_fn_arith $ac_count + 1 && ac_count=$as_val
4476
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4477
# Best one so far, save it but keep looking for a better one
4478
ac_cv_path_GREP="$ac_path_GREP"
4479
ac_path_GREP_max=$ac_count
4481
# 10*(2^10) chars as input seems more than enough
4482
test $ac_count -gt 10 && break
4484
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4487
$ac_path_GREP_found && break 3
4492
if test -z "$ac_cv_path_GREP"; then
4493
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4496
ac_cv_path_GREP=$GREP
4500
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4501
$as_echo "$ac_cv_path_GREP" >&6; }
4502
GREP="$ac_cv_path_GREP"
4505
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4506
$as_echo_n "checking for egrep... " >&6; }
4507
if ${ac_cv_path_EGREP+:} false; then :
4508
$as_echo_n "(cached) " >&6
4510
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4511
then ac_cv_path_EGREP="$GREP -E"
4513
if test -z "$EGREP"; then
4514
ac_path_EGREP_found=false
4515
# Loop through the user's path and test for each of PROGNAME-LIST
4516
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4520
test -z "$as_dir" && as_dir=.
4521
for ac_prog in egrep; do
4522
for ac_exec_ext in '' $ac_executable_extensions; do
4523
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4524
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4525
# Check for GNU ac_path_EGREP and select it if it is found.
4526
# Check for GNU $ac_path_EGREP
4527
case `"$ac_path_EGREP" --version 2>&1` in
4529
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4532
$as_echo_n 0123456789 >"conftest.in"
4535
cat "conftest.in" "conftest.in" >"conftest.tmp"
4536
mv "conftest.tmp" "conftest.in"
4537
cp "conftest.in" "conftest.nl"
4538
$as_echo 'EGREP' >> "conftest.nl"
4539
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4540
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4541
as_fn_arith $ac_count + 1 && ac_count=$as_val
4542
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4543
# Best one so far, save it but keep looking for a better one
4544
ac_cv_path_EGREP="$ac_path_EGREP"
4545
ac_path_EGREP_max=$ac_count
4547
# 10*(2^10) chars as input seems more than enough
4548
test $ac_count -gt 10 && break
4550
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4553
$ac_path_EGREP_found && break 3
4558
if test -z "$ac_cv_path_EGREP"; then
4559
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562
ac_cv_path_EGREP=$EGREP
4567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4568
$as_echo "$ac_cv_path_EGREP" >&6; }
4569
EGREP="$ac_cv_path_EGREP"
4572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4573
$as_echo_n "checking for fgrep... " >&6; }
4574
if ${ac_cv_path_FGREP+:} false; then :
4575
$as_echo_n "(cached) " >&6
4577
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4578
then ac_cv_path_FGREP="$GREP -F"
4580
if test -z "$FGREP"; then
4581
ac_path_FGREP_found=false
4582
# Loop through the user's path and test for each of PROGNAME-LIST
4583
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4584
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4587
test -z "$as_dir" && as_dir=.
4588
for ac_prog in fgrep; do
4589
for ac_exec_ext in '' $ac_executable_extensions; do
4590
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4591
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4592
# Check for GNU ac_path_FGREP and select it if it is found.
4593
# Check for GNU $ac_path_FGREP
4594
case `"$ac_path_FGREP" --version 2>&1` in
4596
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4599
$as_echo_n 0123456789 >"conftest.in"
4602
cat "conftest.in" "conftest.in" >"conftest.tmp"
4603
mv "conftest.tmp" "conftest.in"
4604
cp "conftest.in" "conftest.nl"
4605
$as_echo 'FGREP' >> "conftest.nl"
4606
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4607
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4608
as_fn_arith $ac_count + 1 && ac_count=$as_val
4609
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4610
# Best one so far, save it but keep looking for a better one
4611
ac_cv_path_FGREP="$ac_path_FGREP"
4612
ac_path_FGREP_max=$ac_count
4614
# 10*(2^10) chars as input seems more than enough
4615
test $ac_count -gt 10 && break
4617
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4620
$ac_path_FGREP_found && break 3
4625
if test -z "$ac_cv_path_FGREP"; then
4626
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4629
ac_cv_path_FGREP=$FGREP
4634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4635
$as_echo "$ac_cv_path_FGREP" >&6; }
4636
FGREP="$ac_cv_path_FGREP"
4639
test -z "$GREP" && GREP=grep
4659
# Check whether --with-gnu-ld was given.
4660
if test "${with_gnu_ld+set}" = set; then :
4661
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4667
if test "$GCC" = yes; then
4668
# Check if gcc -print-prog-name=ld gives a path.
4669
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4670
$as_echo_n "checking for ld used by $CC... " >&6; }
4673
# gcc leaves a trailing carriage return which upsets mingw
4674
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4676
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4679
# Accept absolute paths.
4681
re_direlt='/[^/][^/]*/\.\./'
4682
# Canonicalize the pathname of ld
4683
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4684
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4685
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4687
test -z "$LD" && LD="$ac_prog"
4690
# If it fails, then pretend we aren't using GCC.
4694
# If it is relative, then search for the first ld in PATH.
4698
elif test "$with_gnu_ld" = yes; then
4699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4700
$as_echo_n "checking for GNU ld... " >&6; }
4702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4703
$as_echo_n "checking for non-GNU ld... " >&6; }
4705
if ${lt_cv_path_LD+:} false; then :
4706
$as_echo_n "(cached) " >&6
4708
if test -z "$LD"; then
4709
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4710
for ac_dir in $PATH; do
4712
test -z "$ac_dir" && ac_dir=.
4713
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4714
lt_cv_path_LD="$ac_dir/$ac_prog"
4715
# Check to see if the program is GNU ld. I'd rather use --version,
4716
# but apparently some variants of GNU ld only accept -v.
4717
# Break only if it was the GNU/non-GNU ld that we prefer.
4718
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4719
*GNU* | *'with BFD'*)
4720
test "$with_gnu_ld" != no && break
4723
test "$with_gnu_ld" != yes && break
4730
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4735
if test -n "$LD"; then
4736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4737
$as_echo "$LD" >&6; }
4739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740
$as_echo "no" >&6; }
4742
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4743
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4744
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4745
if ${lt_cv_prog_gnu_ld+:} false; then :
4746
$as_echo_n "(cached) " >&6
4748
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4749
case `$LD -v 2>&1 </dev/null` in
4750
*GNU* | *'with BFD'*)
4751
lt_cv_prog_gnu_ld=yes
4754
lt_cv_prog_gnu_ld=no
4758
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4759
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4760
with_gnu_ld=$lt_cv_prog_gnu_ld
4770
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4771
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4772
if ${lt_cv_path_NM+:} false; then :
4773
$as_echo_n "(cached) " >&6
4775
if test -n "$NM"; then
4776
# Let the user override the test.
4779
lt_nm_to_check="${ac_tool_prefix}nm"
4780
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4781
lt_nm_to_check="$lt_nm_to_check nm"
4783
for lt_tmp_nm in $lt_nm_to_check; do
4784
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4785
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4787
test -z "$ac_dir" && ac_dir=.
4788
tmp_nm="$ac_dir/$lt_tmp_nm"
4789
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4790
# Check to see if the nm accepts a BSD-compat flag.
4791
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4792
# nm: unknown option "B" ignored
4793
# Tru64's nm complains that /dev/null is an invalid object file
4794
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4795
*/dev/null* | *'Invalid file or object type'*)
4796
lt_cv_path_NM="$tmp_nm -B"
4800
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4802
lt_cv_path_NM="$tmp_nm -p"
4806
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4807
continue # so that we can try to find one that supports BSD flags
4816
: ${lt_cv_path_NM=no}
4819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4820
$as_echo "$lt_cv_path_NM" >&6; }
4821
if test "$lt_cv_path_NM" != "no"; then
4824
# Didn't find any BSD compatible name lister, look for dumpbin.
4825
if test -n "$DUMPBIN"; then :
4826
# Let the user override the test.
4828
if test -n "$ac_tool_prefix"; then
4829
for ac_prog in dumpbin "link -dump"
4831
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4832
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4833
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834
$as_echo_n "checking for $ac_word... " >&6; }
4835
if ${ac_cv_prog_DUMPBIN+:} false; then :
4836
$as_echo_n "(cached) " >&6
4838
if test -n "$DUMPBIN"; then
4839
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4841
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4845
test -z "$as_dir" && as_dir=.
4846
for ac_exec_ext in '' $ac_executable_extensions; do
4847
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4849
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858
DUMPBIN=$ac_cv_prog_DUMPBIN
4859
if test -n "$DUMPBIN"; then
4860
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4861
$as_echo "$DUMPBIN" >&6; }
4863
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864
$as_echo "no" >&6; }
4868
test -n "$DUMPBIN" && break
4871
if test -z "$DUMPBIN"; then
4872
ac_ct_DUMPBIN=$DUMPBIN
4873
for ac_prog in dumpbin "link -dump"
4875
# Extract the first word of "$ac_prog", so it can be a program name with args.
4876
set dummy $ac_prog; ac_word=$2
4877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878
$as_echo_n "checking for $ac_word... " >&6; }
4879
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4880
$as_echo_n "(cached) " >&6
4882
if test -n "$ac_ct_DUMPBIN"; then
4883
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4885
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4889
test -z "$as_dir" && as_dir=.
4890
for ac_exec_ext in '' $ac_executable_extensions; do
4891
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4893
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4903
if test -n "$ac_ct_DUMPBIN"; then
4904
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4905
$as_echo "$ac_ct_DUMPBIN" >&6; }
4907
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908
$as_echo "no" >&6; }
4912
test -n "$ac_ct_DUMPBIN" && break
4915
if test "x$ac_ct_DUMPBIN" = x; then
4918
case $cross_compiling:$ac_tool_warned in
4920
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4921
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4922
ac_tool_warned=yes ;;
4924
DUMPBIN=$ac_ct_DUMPBIN
4928
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4930
DUMPBIN="$DUMPBIN -symbols"
4938
if test "$DUMPBIN" != ":"; then
4942
test -z "$NM" && NM=nm
4949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4950
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4951
if ${lt_cv_nm_interface+:} false; then :
4952
$as_echo_n "(cached) " >&6
4954
lt_cv_nm_interface="BSD nm"
4955
echo "int some_variable = 0;" > conftest.$ac_ext
4956
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4957
(eval "$ac_compile" 2>conftest.err)
4958
cat conftest.err >&5
4959
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4960
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4961
cat conftest.err >&5
4962
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4963
cat conftest.out >&5
4964
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4965
lt_cv_nm_interface="MS dumpbin"
4969
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4970
$as_echo "$lt_cv_nm_interface" >&6; }
4972
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4973
$as_echo_n "checking whether ln -s works... " >&6; }
4975
if test "$LN_S" = "ln -s"; then
4976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4977
$as_echo "yes" >&6; }
4979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4980
$as_echo "no, using $LN_S" >&6; }
4983
# find the maximum length of command line arguments
4984
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4985
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4986
if ${lt_cv_sys_max_cmd_len+:} false; then :
4987
$as_echo_n "(cached) " >&6
4994
# On DJGPP, this test can blow up pretty badly due to problems in libc
4995
# (any single argument exceeding 2000 bytes causes a buffer overrun
4996
# during glob expansion). Even if it were fixed, the result of this
4997
# check would be larger than it should be.
4998
lt_cv_sys_max_cmd_len=12288; # 12K is about right
5002
# Under GNU Hurd, this test is not required because there is
5003
# no limit to the length of command line arguments.
5004
# Libtool will interpret -1 as no limit whatsoever
5005
lt_cv_sys_max_cmd_len=-1;
5008
cygwin* | mingw* | cegcc*)
5009
# On Win9x/ME, this test blows up -- it succeeds, but takes
5010
# about 5 minutes as the teststring grows exponentially.
5011
# Worse, since 9x/ME are not pre-emptively multitasking,
5012
# you end up with a "frozen" computer, even though with patience
5013
# the test eventually succeeds (with a max line length of 256k).
5014
# Instead, let's just punt: use the minimum linelength reported by
5015
# all of the supported platforms: 8192 (on NT/2K/XP).
5016
lt_cv_sys_max_cmd_len=8192;
5020
# On MiNT this can take a long time and run out of memory.
5021
lt_cv_sys_max_cmd_len=8192;
5025
# On AmigaOS with pdksh, this test takes hours, literally.
5026
# So we just punt and use a minimum line length of 8192.
5027
lt_cv_sys_max_cmd_len=8192;
5030
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5031
# This has been around since 386BSD, at least. Likely further.
5032
if test -x /sbin/sysctl; then
5033
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5034
elif test -x /usr/sbin/sysctl; then
5035
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5037
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5039
# And add a safety zone
5040
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5041
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5045
# We know the value 262144 and hardcode it with a safety zone (like BSD)
5046
lt_cv_sys_max_cmd_len=196608
5050
# The test takes a long time on OS/2.
5051
lt_cv_sys_max_cmd_len=8192
5055
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5056
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5057
# nice to cause kernel panics so lets avoid the loop below.
5058
# First set a reasonable default.
5059
lt_cv_sys_max_cmd_len=16384
5061
if test -x /sbin/sysconfig; then
5062
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5063
*1*) lt_cv_sys_max_cmd_len=-1 ;;
5068
lt_cv_sys_max_cmd_len=102400
5070
sysv5* | sco5v6* | sysv4.2uw2*)
5071
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5072
if test -n "$kargmax"; then
5073
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5075
lt_cv_sys_max_cmd_len=32768
5079
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5080
if test -n "$lt_cv_sys_max_cmd_len"; then
5081
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5082
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5084
# Make teststring a little bigger before we do anything with it.
5085
# a 1K string should be a reasonable start.
5086
for i in 1 2 3 4 5 6 7 8 ; do
5087
teststring=$teststring$teststring
5089
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5090
# If test is not a shell built-in, we'll probably end up computing a
5091
# maximum length that is only half of the actual maximum length, but
5093
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5094
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
5095
test $i != 17 # 1/2 MB should be enough
5098
teststring=$teststring$teststring
5100
# Only check the string length outside the loop.
5101
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5103
# Add a significant safety factor because C++ compilers can tack on
5104
# massive amounts of additional arguments before passing them to the
5105
# linker. It appears as though 1/2 is a usable value.
5106
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5113
if test -n $lt_cv_sys_max_cmd_len ; then
5114
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5115
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5118
$as_echo "none" >&6; }
5120
max_cmd_len=$lt_cv_sys_max_cmd_len
5131
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5132
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5133
# Try some XSI features
5136
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5138
&& eval 'test $(( 1 + 1 )) -eq 2 \
5139
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5141
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5142
$as_echo "$xsi_shell" >&6; }
5145
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5146
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5148
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5150
&& lt_shell_append=yes
5151
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5152
$as_echo "$lt_shell_append" >&6; }
5155
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5165
# test EBCDIC or ASCII
5166
case `echo X|tr X '\101'` in
5167
A) # ASCII based system
5168
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5169
lt_SP2NL='tr \040 \012'
5170
lt_NL2SP='tr \015\012 \040\040'
5172
*) # EBCDIC based system
5173
lt_SP2NL='tr \100 \n'
5174
lt_NL2SP='tr \r\n \100\100'
5186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5187
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5188
if ${lt_cv_to_host_file_cmd+:} false; then :
5189
$as_echo_n "(cached) " >&6
5194
*-*-mingw* ) # actually msys
5195
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5198
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5200
* ) # otherwise, assume *nix
5201
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5207
*-*-mingw* ) # actually msys
5208
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5211
lt_cv_to_host_file_cmd=func_convert_file_noop
5213
* ) # otherwise, assume *nix
5214
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5218
* ) # unhandled hosts (and "normal" native builds)
5219
lt_cv_to_host_file_cmd=func_convert_file_noop
5225
to_host_file_cmd=$lt_cv_to_host_file_cmd
5226
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5227
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5233
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5234
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5235
if ${lt_cv_to_tool_file_cmd+:} false; then :
5236
$as_echo_n "(cached) " >&6
5238
#assume ordinary cross tools, or native build.
5239
lt_cv_to_tool_file_cmd=func_convert_file_noop
5243
*-*-mingw* ) # actually msys
5244
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5252
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5253
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5254
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5261
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5262
if ${lt_cv_ld_reload_flag+:} false; then :
5263
$as_echo_n "(cached) " >&6
5265
lt_cv_ld_reload_flag='-r'
5267
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5268
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5269
reload_flag=$lt_cv_ld_reload_flag
5270
case $reload_flag in
5272
*) reload_flag=" $reload_flag" ;;
5274
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5276
cygwin* | mingw* | pw32* | cegcc*)
5277
if test "$GCC" != yes; then
5282
if test "$GCC" = yes; then
5283
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5285
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5298
if test -n "$ac_tool_prefix"; then
5299
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5300
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5301
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5302
$as_echo_n "checking for $ac_word... " >&6; }
5303
if ${ac_cv_prog_OBJDUMP+:} false; then :
5304
$as_echo_n "(cached) " >&6
5306
if test -n "$OBJDUMP"; then
5307
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5313
test -z "$as_dir" && as_dir=.
5314
for ac_exec_ext in '' $ac_executable_extensions; do
5315
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5317
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5326
OBJDUMP=$ac_cv_prog_OBJDUMP
5327
if test -n "$OBJDUMP"; then
5328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5329
$as_echo "$OBJDUMP" >&6; }
5331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5332
$as_echo "no" >&6; }
5337
if test -z "$ac_cv_prog_OBJDUMP"; then
5338
ac_ct_OBJDUMP=$OBJDUMP
5339
# Extract the first word of "objdump", so it can be a program name with args.
5340
set dummy objdump; ac_word=$2
5341
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5342
$as_echo_n "checking for $ac_word... " >&6; }
5343
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5344
$as_echo_n "(cached) " >&6
5346
if test -n "$ac_ct_OBJDUMP"; then
5347
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5349
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5353
test -z "$as_dir" && as_dir=.
5354
for ac_exec_ext in '' $ac_executable_extensions; do
5355
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5357
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5366
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5367
if test -n "$ac_ct_OBJDUMP"; then
5368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5369
$as_echo "$ac_ct_OBJDUMP" >&6; }
5371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5372
$as_echo "no" >&6; }
5375
if test "x$ac_ct_OBJDUMP" = x; then
5378
case $cross_compiling:$ac_tool_warned in
5380
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5381
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5382
ac_tool_warned=yes ;;
5384
OBJDUMP=$ac_ct_OBJDUMP
5387
OBJDUMP="$ac_cv_prog_OBJDUMP"
5390
test -z "$OBJDUMP" && OBJDUMP=objdump
5400
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5401
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5402
if ${lt_cv_deplibs_check_method+:} false; then :
5403
$as_echo_n "(cached) " >&6
5405
lt_cv_file_magic_cmd='$MAGIC_CMD'
5406
lt_cv_file_magic_test_file=
5407
lt_cv_deplibs_check_method='unknown'
5408
# Need to set the preceding variable on all platforms that support
5409
# interlibrary dependencies.
5410
# 'none' -- dependencies not supported.
5411
# `unknown' -- same as none, but documents that we really don't know.
5412
# 'pass_all' -- all dependencies passed with no checks.
5413
# 'test_compile' -- check by making test program.
5414
# 'file_magic [[regex]]' -- check by looking for files in library path
5415
# which responds to the $file_magic_cmd with a given extended regex.
5416
# If you have `file' or equivalent on your system and you're not sure
5417
# whether `pass_all' will *always* work, you probably want this one.
5421
lt_cv_deplibs_check_method=pass_all
5425
lt_cv_deplibs_check_method=pass_all
5429
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5430
lt_cv_file_magic_cmd='/usr/bin/file -L'
5431
lt_cv_file_magic_test_file=/shlib/libc.so
5435
# func_win32_libid is a shell function defined in ltmain.sh
5436
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5437
lt_cv_file_magic_cmd='func_win32_libid'
5441
# Base MSYS/MinGW do not provide the 'file' command needed by
5442
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5443
# unless we find 'file', for example because we are cross-compiling.
5444
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5445
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5446
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5447
lt_cv_file_magic_cmd='func_win32_libid'
5449
# Keep this pattern in sync with the one in func_win32_libid.
5450
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5451
lt_cv_file_magic_cmd='$OBJDUMP -f'
5456
# use the weaker test based on 'objdump'. See mingw*.
5457
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5458
lt_cv_file_magic_cmd='$OBJDUMP -f'
5461
darwin* | rhapsody*)
5462
lt_cv_deplibs_check_method=pass_all
5465
freebsd* | dragonfly*)
5466
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5469
# Not sure whether the presence of OpenBSD here was a mistake.
5470
# Let's accept both of them until this is cleared up.
5471
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5472
lt_cv_file_magic_cmd=/usr/bin/file
5473
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5477
lt_cv_deplibs_check_method=pass_all
5482
lt_cv_deplibs_check_method=pass_all
5486
lt_cv_deplibs_check_method=pass_all
5489
hpux10.20* | hpux11*)
5490
lt_cv_file_magic_cmd=/usr/bin/file
5493
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5494
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5497
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]'
5498
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5501
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5502
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5508
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5509
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5512
irix5* | irix6* | nonstopux*)
5514
*-32|*"-32 ") libmagic=32-bit;;
5515
*-n32|*"-n32 ") libmagic=N32;;
5516
*-64|*"-64 ") libmagic=64-bit;;
5517
*) libmagic=never-match;;
5519
lt_cv_deplibs_check_method=pass_all
5522
# This must be glibc/ELF.
5523
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5524
lt_cv_deplibs_check_method=pass_all
5527
netbsd* | netbsdelf*-gnu)
5528
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5529
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5531
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5536
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5537
lt_cv_file_magic_cmd=/usr/bin/file
5538
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5542
lt_cv_deplibs_check_method=pass_all
5546
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5547
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5549
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5553
osf3* | osf4* | osf5*)
5554
lt_cv_deplibs_check_method=pass_all
5558
lt_cv_deplibs_check_method=pass_all
5562
lt_cv_deplibs_check_method=pass_all
5565
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5566
lt_cv_deplibs_check_method=pass_all
5570
case $host_vendor in
5572
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]'
5573
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5576
lt_cv_deplibs_check_method=pass_all
5579
lt_cv_file_magic_cmd='/bin/file'
5580
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5583
lt_cv_file_magic_cmd='/bin/file'
5584
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5585
lt_cv_file_magic_test_file=/lib/libc.so
5588
lt_cv_deplibs_check_method=pass_all
5591
lt_cv_deplibs_check_method=pass_all
5597
lt_cv_deplibs_check_method=pass_all
5602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5603
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5607
if test "$build" = "$host"; then
5610
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5613
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5619
file_magic_cmd=$lt_cv_file_magic_cmd
5620
deplibs_check_method=$lt_cv_deplibs_check_method
5621
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5644
if test -n "$ac_tool_prefix"; then
5645
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5646
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5647
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5648
$as_echo_n "checking for $ac_word... " >&6; }
5649
if ${ac_cv_prog_DLLTOOL+:} false; then :
5650
$as_echo_n "(cached) " >&6
5652
if test -n "$DLLTOOL"; then
5653
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5655
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659
test -z "$as_dir" && as_dir=.
5660
for ac_exec_ext in '' $ac_executable_extensions; do
5661
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5662
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5663
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5672
DLLTOOL=$ac_cv_prog_DLLTOOL
5673
if test -n "$DLLTOOL"; then
5674
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5675
$as_echo "$DLLTOOL" >&6; }
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5678
$as_echo "no" >&6; }
5683
if test -z "$ac_cv_prog_DLLTOOL"; then
5684
ac_ct_DLLTOOL=$DLLTOOL
5685
# Extract the first word of "dlltool", so it can be a program name with args.
5686
set dummy dlltool; ac_word=$2
5687
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5688
$as_echo_n "checking for $ac_word... " >&6; }
5689
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5690
$as_echo_n "(cached) " >&6
5692
if test -n "$ac_ct_DLLTOOL"; then
5693
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5695
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699
test -z "$as_dir" && as_dir=.
5700
for ac_exec_ext in '' $ac_executable_extensions; do
5701
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5703
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5712
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5713
if test -n "$ac_ct_DLLTOOL"; then
5714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5715
$as_echo "$ac_ct_DLLTOOL" >&6; }
5717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718
$as_echo "no" >&6; }
5721
if test "x$ac_ct_DLLTOOL" = x; then
5724
case $cross_compiling:$ac_tool_warned in
5726
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5727
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5728
ac_tool_warned=yes ;;
5730
DLLTOOL=$ac_ct_DLLTOOL
5733
DLLTOOL="$ac_cv_prog_DLLTOOL"
5736
test -z "$DLLTOOL" && DLLTOOL=dlltool
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5748
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5749
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5750
$as_echo_n "(cached) " >&6
5752
lt_cv_sharedlib_from_linklib_cmd='unknown'
5755
cygwin* | mingw* | pw32* | cegcc*)
5756
# two different shell functions defined in ltmain.sh
5757
# decide which to use based on capabilities of $DLLTOOL
5758
case `$DLLTOOL --help 2>&1` in
5759
*--identify-strict*)
5760
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5763
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5768
# fallback: assume linklib IS sharedlib
5769
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5775
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5776
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5777
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5786
if test -n "$ac_tool_prefix"; then
5789
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5790
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792
$as_echo_n "checking for $ac_word... " >&6; }
5793
if ${ac_cv_prog_AR+:} false; then :
5794
$as_echo_n "(cached) " >&6
5796
if test -n "$AR"; then
5797
ac_cv_prog_AR="$AR" # Let the user override the test.
5799
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5803
test -z "$as_dir" && as_dir=.
5804
for ac_exec_ext in '' $ac_executable_extensions; do
5805
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5806
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5807
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5817
if test -n "$AR"; then
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5819
$as_echo "$AR" >&6; }
5821
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822
$as_echo "no" >&6; }
5826
test -n "$AR" && break
5829
if test -z "$AR"; then
5833
# Extract the first word of "$ac_prog", so it can be a program name with args.
5834
set dummy $ac_prog; ac_word=$2
5835
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5836
$as_echo_n "checking for $ac_word... " >&6; }
5837
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5838
$as_echo_n "(cached) " >&6
5840
if test -n "$ac_ct_AR"; then
5841
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5843
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5847
test -z "$as_dir" && as_dir=.
5848
for ac_exec_ext in '' $ac_executable_extensions; do
5849
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5850
ac_cv_prog_ac_ct_AR="$ac_prog"
5851
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5860
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5861
if test -n "$ac_ct_AR"; then
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5863
$as_echo "$ac_ct_AR" >&6; }
5865
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5866
$as_echo "no" >&6; }
5870
test -n "$ac_ct_AR" && break
5873
if test "x$ac_ct_AR" = x; then
5876
case $cross_compiling:$ac_tool_warned in
5878
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5879
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5880
ac_tool_warned=yes ;;
5899
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5900
$as_echo_n "checking for archiver @FILE support... " >&6; }
5901
if ${lt_cv_ar_at_file+:} false; then :
5902
$as_echo_n "(cached) " >&6
5905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5906
/* end confdefs.h. */
5916
if ac_fn_c_try_compile "$LINENO"; then :
5917
echo conftest.$ac_objext > conftest.lst
5918
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5919
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5920
(eval $lt_ar_try) 2>&5
5922
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5923
test $ac_status = 0; }
5924
if test "$ac_status" -eq 0; then
5925
# Ensure the archiver fails upon bogus file names.
5926
rm -f conftest.$ac_objext libconftest.a
5927
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5928
(eval $lt_ar_try) 2>&5
5930
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5931
test $ac_status = 0; }
5932
if test "$ac_status" -ne 0; then
5936
rm -f conftest.* libconftest.a
5939
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5942
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5943
$as_echo "$lt_cv_ar_at_file" >&6; }
5945
if test "x$lt_cv_ar_at_file" = xno; then
5948
archiver_list_spec=$lt_cv_ar_at_file
5957
if test -n "$ac_tool_prefix"; then
5958
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5959
set dummy ${ac_tool_prefix}strip; ac_word=$2
5960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5961
$as_echo_n "checking for $ac_word... " >&6; }
5962
if ${ac_cv_prog_STRIP+:} false; then :
5963
$as_echo_n "(cached) " >&6
5965
if test -n "$STRIP"; then
5966
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5972
test -z "$as_dir" && as_dir=.
5973
for ac_exec_ext in '' $ac_executable_extensions; do
5974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5975
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5976
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5985
STRIP=$ac_cv_prog_STRIP
5986
if test -n "$STRIP"; then
5987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5988
$as_echo "$STRIP" >&6; }
5990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5991
$as_echo "no" >&6; }
5996
if test -z "$ac_cv_prog_STRIP"; then
5998
# Extract the first word of "strip", so it can be a program name with args.
5999
set dummy strip; ac_word=$2
6000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001
$as_echo_n "checking for $ac_word... " >&6; }
6002
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6003
$as_echo_n "(cached) " >&6
6005
if test -n "$ac_ct_STRIP"; then
6006
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012
test -z "$as_dir" && as_dir=.
6013
for ac_exec_ext in '' $ac_executable_extensions; do
6014
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015
ac_cv_prog_ac_ct_STRIP="strip"
6016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6025
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6026
if test -n "$ac_ct_STRIP"; then
6027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6028
$as_echo "$ac_ct_STRIP" >&6; }
6030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031
$as_echo "no" >&6; }
6034
if test "x$ac_ct_STRIP" = x; then
6037
case $cross_compiling:$ac_tool_warned in
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6040
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6041
ac_tool_warned=yes ;;
6046
STRIP="$ac_cv_prog_STRIP"
6049
test -z "$STRIP" && STRIP=:
6056
if test -n "$ac_tool_prefix"; then
6057
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6058
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060
$as_echo_n "checking for $ac_word... " >&6; }
6061
if ${ac_cv_prog_RANLIB+:} false; then :
6062
$as_echo_n "(cached) " >&6
6064
if test -n "$RANLIB"; then
6065
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6067
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6071
test -z "$as_dir" && as_dir=.
6072
for ac_exec_ext in '' $ac_executable_extensions; do
6073
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6074
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6075
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6084
RANLIB=$ac_cv_prog_RANLIB
6085
if test -n "$RANLIB"; then
6086
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6087
$as_echo "$RANLIB" >&6; }
6089
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090
$as_echo "no" >&6; }
6095
if test -z "$ac_cv_prog_RANLIB"; then
6096
ac_ct_RANLIB=$RANLIB
6097
# Extract the first word of "ranlib", so it can be a program name with args.
6098
set dummy ranlib; ac_word=$2
6099
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100
$as_echo_n "checking for $ac_word... " >&6; }
6101
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6102
$as_echo_n "(cached) " >&6
6104
if test -n "$ac_ct_RANLIB"; then
6105
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6107
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6111
test -z "$as_dir" && as_dir=.
6112
for ac_exec_ext in '' $ac_executable_extensions; do
6113
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114
ac_cv_prog_ac_ct_RANLIB="ranlib"
6115
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6125
if test -n "$ac_ct_RANLIB"; then
6126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6127
$as_echo "$ac_ct_RANLIB" >&6; }
6129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130
$as_echo "no" >&6; }
6133
if test "x$ac_ct_RANLIB" = x; then
6136
case $cross_compiling:$ac_tool_warned in
6138
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6139
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6140
ac_tool_warned=yes ;;
6142
RANLIB=$ac_ct_RANLIB
6145
RANLIB="$ac_cv_prog_RANLIB"
6148
test -z "$RANLIB" && RANLIB=:
6155
# Determine commands to create old-style static archives.
6156
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6157
old_postinstall_cmds='chmod 644 $oldlib'
6158
old_postuninstall_cmds=
6160
if test -n "$RANLIB"; then
6163
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6166
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6169
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6174
lock_old_archive_extraction=yes ;;
6176
lock_old_archive_extraction=no ;;
6217
# If no C compiler was specified, use CC.
6220
# If no C compiler flags were specified, use CFLAGS.
6221
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6223
# Allow CC to be a program name with arguments.
6227
# Check for command to grab the raw symbol name followed by C symbol from nm.
6228
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6229
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6230
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6231
$as_echo_n "(cached) " >&6
6234
# These are sane defaults that work on at least a few old systems.
6235
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
6237
# Character class describing NM global symbol codes.
6238
symcode='[BCDEGRST]'
6240
# Regexp to match symbols that can be accessed directly from C.
6241
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6243
# Define system-specific variables.
6248
cygwin* | mingw* | pw32* | cegcc*)
6249
symcode='[ABCDGISTW]'
6252
if test "$host_cpu" = ia64; then
6253
symcode='[ABCDEGRST]'
6257
symcode='[BCDEGRST]'
6260
symcode='[BCDEGQRST]'
6271
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6279
# If we're using GNU nm, then use its standard symbol codes.
6280
case `$NM -V 2>&1` in
6281
*GNU* | *'with BFD'*)
6282
symcode='[ABCDGIRSTW]' ;;
6285
# Transform an extracted symbol line into a proper C declaration.
6286
# Some systems (esp. on ia64) link data and code symbols differently,
6287
# so use this general approach.
6288
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6290
# Transform an extracted symbol line into symbol name and symbol address
6291
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6292
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'"
6294
# Handle CRLF in mingw tool chain
6298
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6302
# Try without a prefix underscore, then with it.
6303
for ac_symprfx in "" "_"; do
6305
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6306
symxfrm="\\1 $ac_symprfx\\2 \\2"
6308
# Write the raw and C identifiers.
6309
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6310
# Fake it for dumpbin and say T for any non-static function
6311
# and D for any global variable.
6312
# Also find C++ and __fastcall symbols from MSVC++,
6313
# which start with @ or ?.
6314
lt_cv_sys_global_symbol_pipe="$AWK '"\
6315
" {last_section=section; section=\$ 3};"\
6316
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6317
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6318
" \$ 0!~/External *\|/{next};"\
6319
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6320
" {if(hide[section]) next};"\
6321
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6322
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6323
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6324
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6325
" ' prfx=^$ac_symprfx"
6327
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6329
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6331
# Check to see that the pipe works correctly.
6335
cat > conftest.$ac_ext <<_LT_EOF
6340
void nm_test_func(void);
6341
void nm_test_func(void){}
6345
int main(){nm_test_var='a';nm_test_func();return(0);}
6348
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6349
(eval $ac_compile) 2>&5
6351
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6352
test $ac_status = 0; }; then
6353
# Now try to grab the symbols.
6355
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6356
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6358
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6359
test $ac_status = 0; } && test -s "$nlist"; then
6360
# Try sorting and uniquifying the output.
6361
if sort "$nlist" | uniq > "$nlist"T; then
6362
mv -f "$nlist"T "$nlist"
6367
# Make sure that we snagged all the symbols we need.
6368
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6369
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6370
cat <<_LT_EOF > conftest.$ac_ext
6371
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6372
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6373
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6374
relocations are performed -- see ld's documentation on pseudo-relocs. */
6375
# define LT_DLSYM_CONST
6376
#elif defined(__osf__)
6377
/* This system does not cope well with relocations in const data. */
6378
# define LT_DLSYM_CONST
6380
# define LT_DLSYM_CONST const
6388
# Now generate the symbol file.
6389
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6391
cat <<_LT_EOF >> conftest.$ac_ext
6393
/* The mapping between symbol names and symbols. */
6394
LT_DLSYM_CONST struct {
6398
lt__PROGRAM__LTX_preloaded_symbols[] =
6400
{ "@PROGRAM@", (void *) 0 },
6402
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6403
cat <<\_LT_EOF >> conftest.$ac_ext
6407
/* This works around a problem in FreeBSD linker */
6408
#ifdef FREEBSD_WORKAROUND
6409
static const void *lt_preloaded_setup() {
6410
return lt__PROGRAM__LTX_preloaded_symbols;
6418
# Now try linking the two files.
6419
mv conftest.$ac_objext conftstm.$ac_objext
6420
lt_globsym_save_LIBS=$LIBS
6421
lt_globsym_save_CFLAGS=$CFLAGS
6422
LIBS="conftstm.$ac_objext"
6423
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6424
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6425
(eval $ac_link) 2>&5
6427
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6428
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6431
LIBS=$lt_globsym_save_LIBS
6432
CFLAGS=$lt_globsym_save_CFLAGS
6434
echo "cannot find nm_test_func in $nlist" >&5
6437
echo "cannot find nm_test_var in $nlist" >&5
6440
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6443
echo "$progname: failed program was:" >&5
6444
cat conftest.$ac_ext >&5
6446
rm -rf conftest* conftst*
6448
# Do not use the global_symbol_pipe unless it works.
6449
if test "$pipe_works" = yes; then
6452
lt_cv_sys_global_symbol_pipe=
6458
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6459
lt_cv_sys_global_symbol_to_cdecl=
6461
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6462
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6463
$as_echo "failed" >&6; }
6465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6466
$as_echo "ok" >&6; }
6469
# Response file support.
6470
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6471
nm_file_list_spec='@'
6472
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6473
nm_file_list_spec='@'
6502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6503
$as_echo_n "checking for sysroot... " >&6; }
6505
# Check whether --with-sysroot was given.
6506
if test "${with_sysroot+set}" = set; then :
6507
withval=$with_sysroot;
6514
case ${with_sysroot} in #(
6516
if test "$GCC" = yes; then
6517
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6521
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6527
$as_echo "${with_sysroot}" >&6; }
6528
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6532
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6533
$as_echo "${lt_sysroot:-no}" >&6; }
6539
# Check whether --enable-libtool-lock was given.
6540
if test "${enable_libtool_lock+set}" = set; then :
6541
enableval=$enable_libtool_lock;
6544
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6546
# Some flags need to be propagated to the compiler or linker for good
6550
# Find out which ABI we are using.
6551
echo 'int i;' > conftest.$ac_ext
6552
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6553
(eval $ac_compile) 2>&5
6555
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6556
test $ac_status = 0; }; then
6557
case `/usr/bin/file conftest.$ac_objext` in
6569
# Find out which ABI we are using.
6570
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6571
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6572
(eval $ac_compile) 2>&5
6574
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6575
test $ac_status = 0; }; then
6576
if test "$lt_cv_prog_gnu_ld" = yes; then
6577
case `/usr/bin/file conftest.$ac_objext` in
6579
LD="${LD-ld} -melf32bsmip"
6582
LD="${LD-ld} -melf32bmipn32"
6585
LD="${LD-ld} -melf64bmip"
6589
case `/usr/bin/file conftest.$ac_objext` in
6605
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6606
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6607
# Find out which ABI we are using.
6608
echo 'int i;' > conftest.$ac_ext
6609
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6610
(eval $ac_compile) 2>&5
6612
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6613
test $ac_status = 0; }; then
6614
case `/usr/bin/file conftest.o` in
6617
x86_64-*kfreebsd*-gnu)
6618
LD="${LD-ld} -m elf_i386_fbsd"
6621
LD="${LD-ld} -m elf_i386"
6623
ppc64-*linux*|powerpc64-*linux*)
6624
LD="${LD-ld} -m elf32ppclinux"
6627
LD="${LD-ld} -m elf_s390"
6630
LD="${LD-ld} -m elf32_sparc"
6636
x86_64-*kfreebsd*-gnu)
6637
LD="${LD-ld} -m elf_x86_64_fbsd"
6640
LD="${LD-ld} -m elf_x86_64"
6642
ppc*-*linux*|powerpc*-*linux*)
6643
LD="${LD-ld} -m elf64ppc"
6645
s390*-*linux*|s390*-*tpf*)
6646
LD="${LD-ld} -m elf64_s390"
6649
LD="${LD-ld} -m elf64_sparc"
6659
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6660
SAVE_CFLAGS="$CFLAGS"
6661
CFLAGS="$CFLAGS -belf"
6662
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6663
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6664
if ${lt_cv_cc_needs_belf+:} false; then :
6665
$as_echo_n "(cached) " >&6
6668
ac_cpp='$CPP $CPPFLAGS'
6669
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6670
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6671
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6673
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674
/* end confdefs.h. */
6684
if ac_fn_c_try_link "$LINENO"; then :
6685
lt_cv_cc_needs_belf=yes
6687
lt_cv_cc_needs_belf=no
6689
rm -f core conftest.err conftest.$ac_objext \
6690
conftest$ac_exeext conftest.$ac_ext
6692
ac_cpp='$CPP $CPPFLAGS'
6693
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6694
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6695
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6698
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6699
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6700
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6701
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6702
CFLAGS="$SAVE_CFLAGS"
6706
# Find out which ABI we are using.
6707
echo 'int i;' > conftest.$ac_ext
6708
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6709
(eval $ac_compile) 2>&5
6711
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6712
test $ac_status = 0; }; then
6713
case `/usr/bin/file conftest.o` in
6715
case $lt_cv_prog_gnu_ld in
6719
LD="${LD-ld} -m elf_x86_64"
6722
LD="${LD-ld} -m elf64_sparc"
6725
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6726
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6731
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6743
need_locks="$enable_libtool_lock"
6745
if test -n "$ac_tool_prefix"; then
6746
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6747
set dummy ${ac_tool_prefix}mt; ac_word=$2
6748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749
$as_echo_n "checking for $ac_word... " >&6; }
6750
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6751
$as_echo_n "(cached) " >&6
6753
if test -n "$MANIFEST_TOOL"; then
6754
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6756
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6760
test -z "$as_dir" && as_dir=.
6761
for ac_exec_ext in '' $ac_executable_extensions; do
6762
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6764
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6773
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6774
if test -n "$MANIFEST_TOOL"; then
6775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6776
$as_echo "$MANIFEST_TOOL" >&6; }
6778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779
$as_echo "no" >&6; }
6784
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6785
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6786
# Extract the first word of "mt", so it can be a program name with args.
6787
set dummy mt; ac_word=$2
6788
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6789
$as_echo_n "checking for $ac_word... " >&6; }
6790
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6791
$as_echo_n "(cached) " >&6
6793
if test -n "$ac_ct_MANIFEST_TOOL"; then
6794
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6796
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6800
test -z "$as_dir" && as_dir=.
6801
for ac_exec_ext in '' $ac_executable_extensions; do
6802
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6803
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6804
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6813
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6814
if test -n "$ac_ct_MANIFEST_TOOL"; then
6815
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6816
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6819
$as_echo "no" >&6; }
6822
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6825
case $cross_compiling:$ac_tool_warned in
6827
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6828
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6829
ac_tool_warned=yes ;;
6831
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6834
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6837
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6839
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6840
if ${lt_cv_path_mainfest_tool+:} false; then :
6841
$as_echo_n "(cached) " >&6
6843
lt_cv_path_mainfest_tool=no
6844
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6845
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6846
cat conftest.err >&5
6847
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6848
lt_cv_path_mainfest_tool=yes
6852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6853
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6854
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6864
rhapsody* | darwin*)
6865
if test -n "$ac_tool_prefix"; then
6866
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6867
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6868
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869
$as_echo_n "checking for $ac_word... " >&6; }
6870
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6871
$as_echo_n "(cached) " >&6
6873
if test -n "$DSYMUTIL"; then
6874
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6876
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6880
test -z "$as_dir" && as_dir=.
6881
for ac_exec_ext in '' $ac_executable_extensions; do
6882
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6884
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6893
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6894
if test -n "$DSYMUTIL"; then
6895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6896
$as_echo "$DSYMUTIL" >&6; }
6898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899
$as_echo "no" >&6; }
6904
if test -z "$ac_cv_prog_DSYMUTIL"; then
6905
ac_ct_DSYMUTIL=$DSYMUTIL
6906
# Extract the first word of "dsymutil", so it can be a program name with args.
6907
set dummy dsymutil; ac_word=$2
6908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909
$as_echo_n "checking for $ac_word... " >&6; }
6910
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6911
$as_echo_n "(cached) " >&6
6913
if test -n "$ac_ct_DSYMUTIL"; then
6914
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6916
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6920
test -z "$as_dir" && as_dir=.
6921
for ac_exec_ext in '' $ac_executable_extensions; do
6922
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6924
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6934
if test -n "$ac_ct_DSYMUTIL"; then
6935
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6936
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939
$as_echo "no" >&6; }
6942
if test "x$ac_ct_DSYMUTIL" = x; then
6945
case $cross_compiling:$ac_tool_warned in
6947
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949
ac_tool_warned=yes ;;
6951
DSYMUTIL=$ac_ct_DSYMUTIL
6954
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6957
if test -n "$ac_tool_prefix"; then
6958
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6959
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6960
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961
$as_echo_n "checking for $ac_word... " >&6; }
6962
if ${ac_cv_prog_NMEDIT+:} false; then :
6963
$as_echo_n "(cached) " >&6
6965
if test -n "$NMEDIT"; then
6966
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6968
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6972
test -z "$as_dir" && as_dir=.
6973
for ac_exec_ext in '' $ac_executable_extensions; do
6974
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6976
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6985
NMEDIT=$ac_cv_prog_NMEDIT
6986
if test -n "$NMEDIT"; then
6987
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6988
$as_echo "$NMEDIT" >&6; }
6990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991
$as_echo "no" >&6; }
6996
if test -z "$ac_cv_prog_NMEDIT"; then
6997
ac_ct_NMEDIT=$NMEDIT
6998
# Extract the first word of "nmedit", so it can be a program name with args.
6999
set dummy nmedit; ac_word=$2
7000
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001
$as_echo_n "checking for $ac_word... " >&6; }
7002
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7003
$as_echo_n "(cached) " >&6
7005
if test -n "$ac_ct_NMEDIT"; then
7006
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7008
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7012
test -z "$as_dir" && as_dir=.
7013
for ac_exec_ext in '' $ac_executable_extensions; do
7014
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015
ac_cv_prog_ac_ct_NMEDIT="nmedit"
7016
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7025
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7026
if test -n "$ac_ct_NMEDIT"; then
7027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7028
$as_echo "$ac_ct_NMEDIT" >&6; }
7030
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031
$as_echo "no" >&6; }
7034
if test "x$ac_ct_NMEDIT" = x; then
7037
case $cross_compiling:$ac_tool_warned in
7039
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041
ac_tool_warned=yes ;;
7043
NMEDIT=$ac_ct_NMEDIT
7046
NMEDIT="$ac_cv_prog_NMEDIT"
7049
if test -n "$ac_tool_prefix"; then
7050
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7051
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7052
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053
$as_echo_n "checking for $ac_word... " >&6; }
7054
if ${ac_cv_prog_LIPO+:} false; then :
7055
$as_echo_n "(cached) " >&6
7057
if test -n "$LIPO"; then
7058
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7060
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7064
test -z "$as_dir" && as_dir=.
7065
for ac_exec_ext in '' $ac_executable_extensions; do
7066
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7068
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7077
LIPO=$ac_cv_prog_LIPO
7078
if test -n "$LIPO"; then
7079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7080
$as_echo "$LIPO" >&6; }
7082
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083
$as_echo "no" >&6; }
7088
if test -z "$ac_cv_prog_LIPO"; then
7090
# Extract the first word of "lipo", so it can be a program name with args.
7091
set dummy lipo; ac_word=$2
7092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093
$as_echo_n "checking for $ac_word... " >&6; }
7094
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7095
$as_echo_n "(cached) " >&6
7097
if test -n "$ac_ct_LIPO"; then
7098
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7104
test -z "$as_dir" && as_dir=.
7105
for ac_exec_ext in '' $ac_executable_extensions; do
7106
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107
ac_cv_prog_ac_ct_LIPO="lipo"
7108
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7117
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7118
if test -n "$ac_ct_LIPO"; then
7119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7120
$as_echo "$ac_ct_LIPO" >&6; }
7122
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123
$as_echo "no" >&6; }
7126
if test "x$ac_ct_LIPO" = x; then
7129
case $cross_compiling:$ac_tool_warned in
7131
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7132
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7133
ac_tool_warned=yes ;;
7138
LIPO="$ac_cv_prog_LIPO"
7141
if test -n "$ac_tool_prefix"; then
7142
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7143
set dummy ${ac_tool_prefix}otool; ac_word=$2
7144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145
$as_echo_n "checking for $ac_word... " >&6; }
7146
if ${ac_cv_prog_OTOOL+:} false; then :
7147
$as_echo_n "(cached) " >&6
7149
if test -n "$OTOOL"; then
7150
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7152
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156
test -z "$as_dir" && as_dir=.
7157
for ac_exec_ext in '' $ac_executable_extensions; do
7158
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7160
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7169
OTOOL=$ac_cv_prog_OTOOL
7170
if test -n "$OTOOL"; then
7171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7172
$as_echo "$OTOOL" >&6; }
7174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175
$as_echo "no" >&6; }
7180
if test -z "$ac_cv_prog_OTOOL"; then
7182
# Extract the first word of "otool", so it can be a program name with args.
7183
set dummy otool; ac_word=$2
7184
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185
$as_echo_n "checking for $ac_word... " >&6; }
7186
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7187
$as_echo_n "(cached) " >&6
7189
if test -n "$ac_ct_OTOOL"; then
7190
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196
test -z "$as_dir" && as_dir=.
7197
for ac_exec_ext in '' $ac_executable_extensions; do
7198
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199
ac_cv_prog_ac_ct_OTOOL="otool"
7200
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7209
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7210
if test -n "$ac_ct_OTOOL"; then
7211
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7212
$as_echo "$ac_ct_OTOOL" >&6; }
7214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215
$as_echo "no" >&6; }
7218
if test "x$ac_ct_OTOOL" = x; then
7221
case $cross_compiling:$ac_tool_warned in
7223
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7224
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7225
ac_tool_warned=yes ;;
7230
OTOOL="$ac_cv_prog_OTOOL"
7233
if test -n "$ac_tool_prefix"; then
7234
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7235
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7236
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7237
$as_echo_n "checking for $ac_word... " >&6; }
7238
if ${ac_cv_prog_OTOOL64+:} false; then :
7239
$as_echo_n "(cached) " >&6
7241
if test -n "$OTOOL64"; then
7242
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7244
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248
test -z "$as_dir" && as_dir=.
7249
for ac_exec_ext in '' $ac_executable_extensions; do
7250
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7252
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7261
OTOOL64=$ac_cv_prog_OTOOL64
7262
if test -n "$OTOOL64"; then
7263
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7264
$as_echo "$OTOOL64" >&6; }
7266
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7267
$as_echo "no" >&6; }
7272
if test -z "$ac_cv_prog_OTOOL64"; then
7273
ac_ct_OTOOL64=$OTOOL64
7274
# Extract the first word of "otool64", so it can be a program name with args.
7275
set dummy otool64; ac_word=$2
7276
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7277
$as_echo_n "checking for $ac_word... " >&6; }
7278
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7279
$as_echo_n "(cached) " >&6
7281
if test -n "$ac_ct_OTOOL64"; then
7282
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7284
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7288
test -z "$as_dir" && as_dir=.
7289
for ac_exec_ext in '' $ac_executable_extensions; do
7290
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7291
ac_cv_prog_ac_ct_OTOOL64="otool64"
7292
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7302
if test -n "$ac_ct_OTOOL64"; then
7303
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7304
$as_echo "$ac_ct_OTOOL64" >&6; }
7306
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7307
$as_echo "no" >&6; }
7310
if test "x$ac_ct_OTOOL64" = x; then
7313
case $cross_compiling:$ac_tool_warned in
7315
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7316
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7317
ac_tool_warned=yes ;;
7319
OTOOL64=$ac_ct_OTOOL64
7322
OTOOL64="$ac_cv_prog_OTOOL64"
7351
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7352
$as_echo_n "checking for -single_module linker flag... " >&6; }
7353
if ${lt_cv_apple_cc_single_mod+:} false; then :
7354
$as_echo_n "(cached) " >&6
7356
lt_cv_apple_cc_single_mod=no
7357
if test -z "${LT_MULTI_MODULE}"; then
7358
# By default we will add the -single_module flag. You can override
7359
# by either setting the environment variable LT_MULTI_MODULE
7360
# non-empty at configure time, or by adding -multi_module to the
7362
rm -rf libconftest.dylib*
7363
echo "int foo(void){return 1;}" > conftest.c
7364
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7365
-dynamiclib -Wl,-single_module conftest.c" >&5
7366
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7367
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7369
# If there is a non-empty error log, and "single_module"
7370
# appears in it, assume the flag caused a linker warning
7371
if test -s conftest.err && $GREP single_module conftest.err; then
7372
cat conftest.err >&5
7373
# Otherwise, if the output was created with a 0 exit code from
7374
# the compiler, it worked.
7375
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7376
lt_cv_apple_cc_single_mod=yes
7378
cat conftest.err >&5
7380
rm -rf libconftest.dylib*
7384
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7385
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7387
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7388
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7389
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7390
$as_echo_n "(cached) " >&6
7392
lt_cv_ld_exported_symbols_list=no
7393
save_LDFLAGS=$LDFLAGS
7394
echo "_main" > conftest.sym
7395
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7396
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7397
/* end confdefs.h. */
7407
if ac_fn_c_try_link "$LINENO"; then :
7408
lt_cv_ld_exported_symbols_list=yes
7410
lt_cv_ld_exported_symbols_list=no
7412
rm -f core conftest.err conftest.$ac_objext \
7413
conftest$ac_exeext conftest.$ac_ext
7414
LDFLAGS="$save_LDFLAGS"
7417
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7418
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7420
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7421
$as_echo_n "checking for -force_load linker flag... " >&6; }
7422
if ${lt_cv_ld_force_load+:} false; then :
7423
$as_echo_n "(cached) " >&6
7425
lt_cv_ld_force_load=no
7426
cat > conftest.c << _LT_EOF
7427
int forced_loaded() { return 2;}
7429
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7430
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7431
echo "$AR cru libconftest.a conftest.o" >&5
7432
$AR cru libconftest.a conftest.o 2>&5
7433
echo "$RANLIB libconftest.a" >&5
7434
$RANLIB libconftest.a 2>&5
7435
cat > conftest.c << _LT_EOF
7436
int main() { return 0;}
7438
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7439
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7441
if test -s conftest.err && $GREP force_load conftest.err; then
7442
cat conftest.err >&5
7443
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7444
lt_cv_ld_force_load=yes
7446
cat conftest.err >&5
7448
rm -f conftest.err libconftest.a conftest conftest.c
7449
rm -rf conftest.dSYM
7452
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7453
$as_echo "$lt_cv_ld_force_load" >&6; }
7455
rhapsody* | darwin1.[012])
7456
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7458
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7459
darwin*) # darwin 5.x on
7460
# if running on 10.5 or later, the deployment target defaults
7461
# to the OS version, if on x86, and 10.4, the deployment
7462
# target defaults to 10.4. Don't you love it?
7463
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7464
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7465
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7467
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7469
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7473
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7474
_lt_dar_single_mod='$single_module'
7476
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7477
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7479
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7481
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7482
_lt_dsymutil='~$DSYMUTIL $lib || :'
7490
ac_cpp='$CPP $CPPFLAGS'
7491
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7492
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7493
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7494
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7495
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7496
# On Suns, sometimes $CPP names a directory.
7497
if test -n "$CPP" && test -d "$CPP"; then
7500
if test -z "$CPP"; then
7501
if ${ac_cv_prog_CPP+:} false; then :
7502
$as_echo_n "(cached) " >&6
7504
# Double quotes because CPP needs to be expanded
7505
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7508
for ac_c_preproc_warn_flag in '' yes
7510
# Use a header file that comes with gcc, so configuring glibc
7511
# with a fresh cross-compiler works.
7512
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7513
# <limits.h> exists even on freestanding compilers.
7514
# On the NeXT, cc -E runs the code through the compiler's parser,
7515
# not just through cpp. "Syntax error" is here to catch this case.
7516
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7517
/* end confdefs.h. */
7519
# include <limits.h>
7521
# include <assert.h>
7525
if ac_fn_c_try_cpp "$LINENO"; then :
7528
# Broken: fails on valid input.
7531
rm -f conftest.err conftest.i conftest.$ac_ext
7533
# OK, works on sane cases. Now check whether nonexistent headers
7534
# can be detected and how.
7535
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7536
/* end confdefs.h. */
7537
#include <ac_nonexistent.h>
7539
if ac_fn_c_try_cpp "$LINENO"; then :
7540
# Broken: success on invalid input.
7543
# Passes both tests.
7547
rm -f conftest.err conftest.i conftest.$ac_ext
7550
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7551
rm -f conftest.i conftest.err conftest.$ac_ext
7552
if $ac_preproc_ok; then :
7564
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7565
$as_echo "$CPP" >&6; }
7567
for ac_c_preproc_warn_flag in '' yes
7569
# Use a header file that comes with gcc, so configuring glibc
7570
# with a fresh cross-compiler works.
7571
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7572
# <limits.h> exists even on freestanding compilers.
7573
# On the NeXT, cc -E runs the code through the compiler's parser,
7574
# not just through cpp. "Syntax error" is here to catch this case.
7575
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7576
/* end confdefs.h. */
7578
# include <limits.h>
7580
# include <assert.h>
7584
if ac_fn_c_try_cpp "$LINENO"; then :
7587
# Broken: fails on valid input.
7590
rm -f conftest.err conftest.i conftest.$ac_ext
7592
# OK, works on sane cases. Now check whether nonexistent headers
7593
# can be detected and how.
7594
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595
/* end confdefs.h. */
7596
#include <ac_nonexistent.h>
7598
if ac_fn_c_try_cpp "$LINENO"; then :
7599
# Broken: success on invalid input.
7602
# Passes both tests.
7606
rm -f conftest.err conftest.i conftest.$ac_ext
7609
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7610
rm -f conftest.i conftest.err conftest.$ac_ext
7611
if $ac_preproc_ok; then :
7614
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7615
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7616
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7617
See \`config.log' for more details" "$LINENO" 5; }
7621
ac_cpp='$CPP $CPPFLAGS'
7622
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7623
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7624
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7627
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7628
$as_echo_n "checking for ANSI C header files... " >&6; }
7629
if ${ac_cv_header_stdc+:} false; then :
7630
$as_echo_n "(cached) " >&6
7632
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7633
/* end confdefs.h. */
7647
if ac_fn_c_try_compile "$LINENO"; then :
7648
ac_cv_header_stdc=yes
7650
ac_cv_header_stdc=no
7652
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7654
if test $ac_cv_header_stdc = yes; then
7655
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7656
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7657
/* end confdefs.h. */
7661
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7662
$EGREP "memchr" >/dev/null 2>&1; then :
7665
ac_cv_header_stdc=no
7671
if test $ac_cv_header_stdc = yes; then
7672
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7673
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674
/* end confdefs.h. */
7678
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7679
$EGREP "free" >/dev/null 2>&1; then :
7682
ac_cv_header_stdc=no
7688
if test $ac_cv_header_stdc = yes; then
7689
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7690
if test "$cross_compiling" = yes; then :
7693
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7694
/* end confdefs.h. */
7697
#if ((' ' & 0x0FF) == 0x020)
7698
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7699
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7701
# define ISLOWER(c) \
7702
(('a' <= (c) && (c) <= 'i') \
7703
|| ('j' <= (c) && (c) <= 'r') \
7704
|| ('s' <= (c) && (c) <= 'z'))
7705
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7708
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7713
for (i = 0; i < 256; i++)
7714
if (XOR (islower (i), ISLOWER (i))
7715
|| toupper (i) != TOUPPER (i))
7720
if ac_fn_c_try_run "$LINENO"; then :
7723
ac_cv_header_stdc=no
7725
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7726
conftest.$ac_objext conftest.beam conftest.$ac_ext
7731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7732
$as_echo "$ac_cv_header_stdc" >&6; }
7733
if test $ac_cv_header_stdc = yes; then
7735
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7739
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7740
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7741
inttypes.h stdint.h unistd.h
7743
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7744
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7746
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7747
cat >>confdefs.h <<_ACEOF
7748
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7756
for ac_header in dlfcn.h
7758
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7760
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7761
cat >>confdefs.h <<_ACEOF
7762
#define HAVE_DLFCN_H 1
7772
func_stripname_cnf ()
7775
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
7776
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7778
} # func_stripname_cnf
7794
# Check whether --enable-shared was given.
7795
if test "${enable_shared+set}" = set; then :
7796
enableval=$enable_shared; p=${PACKAGE-default}
7798
yes) enable_shared=yes ;;
7799
no) enable_shared=no ;;
7802
# Look at the argument we got. We use all the common list separators.
7803
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7804
for pkg in $enableval; do
7806
if test "X$pkg" = "X$p"; then
7825
# Check whether --enable-static was given.
7826
if test "${enable_static+set}" = set; then :
7827
enableval=$enable_static; p=${PACKAGE-default}
7829
yes) enable_static=yes ;;
7830
no) enable_static=no ;;
7833
# Look at the argument we got. We use all the common list separators.
7834
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7835
for pkg in $enableval; do
7837
if test "X$pkg" = "X$p"; then
7857
# Check whether --with-pic was given.
7858
if test "${with_pic+set}" = set; then :
7859
withval=$with_pic; lt_p=${PACKAGE-default}
7861
yes|no) pic_mode=$withval ;;
7864
# Look at the argument we got. We use all the common list separators.
7865
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7866
for lt_pkg in $withval; do
7868
if test "X$lt_pkg" = "X$lt_p"; then
7880
test -z "$pic_mode" && pic_mode=default
7888
# Check whether --enable-fast-install was given.
7889
if test "${enable_fast_install+set}" = set; then :
7890
enableval=$enable_fast_install; p=${PACKAGE-default}
7892
yes) enable_fast_install=yes ;;
7893
no) enable_fast_install=no ;;
7895
enable_fast_install=no
7896
# Look at the argument we got. We use all the common list separators.
7897
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7898
for pkg in $enableval; do
7900
if test "X$pkg" = "X$p"; then
7901
enable_fast_install=yes
7908
enable_fast_install=yes
7921
# This can be used to rebuild libtool when needed
7922
LIBTOOL_DEPS="$ltmain"
7924
# Always use our own libtool.
7925
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7956
test -z "$LN_S" && LN_S="ln -s"
7971
if test -n "${ZSH_VERSION+set}" ; then
7972
setopt NO_GLOB_SUBST
7975
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7976
$as_echo_n "checking for objdir... " >&6; }
7977
if ${lt_cv_objdir+:} false; then :
7978
$as_echo_n "(cached) " >&6
7980
rm -f .libs 2>/dev/null
7981
mkdir .libs 2>/dev/null
7982
if test -d .libs; then
7985
# MS-DOS does not allow filenames that begin with a dot.
7988
rmdir .libs 2>/dev/null
7990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7991
$as_echo "$lt_cv_objdir" >&6; }
7992
objdir=$lt_cv_objdir
7998
cat >>confdefs.h <<_ACEOF
7999
#define LT_OBJDIR "$lt_cv_objdir/"
8007
# AIX sometimes has problems with the GCC collect2 program. For some
8008
# reason, if we set the COLLECT_NAMES environment variable, the problems
8009
# vanish in a puff of smoke.
8010
if test "X${COLLECT_NAMES+set}" != Xset; then
8012
export COLLECT_NAMES
8019
can_build_shared=yes
8021
# All known linkers require a `.a' archive for static linking (except MSVC,
8022
# which needs '.lib').
8025
with_gnu_ld="$lt_cv_prog_gnu_ld"
8028
old_CFLAGS="$CFLAGS"
8030
# Set sane defaults for various variables
8031
test -z "$CC" && CC=cc
8032
test -z "$LTCC" && LTCC=$CC
8033
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8034
test -z "$LD" && LD=ld
8035
test -z "$ac_objext" && ac_objext=o
8037
for cc_temp in $compiler""; do
8039
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8040
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8045
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8048
# Only perform the check for file, if the check method requires it
8049
test -z "$MAGIC_CMD" && MAGIC_CMD=file
8050
case $deplibs_check_method in
8052
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8054
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8055
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8056
$as_echo_n "(cached) " >&6
8060
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8063
lt_save_MAGIC_CMD="$MAGIC_CMD"
8064
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8065
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8066
for ac_dir in $ac_dummy; do
8068
test -z "$ac_dir" && ac_dir=.
8069
if test -f $ac_dir/${ac_tool_prefix}file; then
8070
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8071
if test -n "$file_magic_test_file"; then
8072
case $deplibs_check_method in
8074
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8075
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8076
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8077
$EGREP "$file_magic_regex" > /dev/null; then
8082
*** Warning: the command libtool uses to detect shared libraries,
8083
*** $file_magic_cmd, produces output that libtool cannot recognize.
8084
*** The result is that libtool may fail to recognize shared libraries
8085
*** as such. This will affect the creation of libtool libraries that
8086
*** depend on shared libraries, but programs linked with such libtool
8087
*** libraries will work regardless of this problem. Nevertheless, you
8088
*** may want to report the problem to your system manager and/or to
8089
*** bug-libtool@gnu.org
8099
MAGIC_CMD="$lt_save_MAGIC_CMD"
8104
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8105
if test -n "$MAGIC_CMD"; then
8106
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8107
$as_echo "$MAGIC_CMD" >&6; }
8109
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8110
$as_echo "no" >&6; }
8117
if test -z "$lt_cv_path_MAGIC_CMD"; then
8118
if test -n "$ac_tool_prefix"; then
8119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8120
$as_echo_n "checking for file... " >&6; }
8121
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8122
$as_echo_n "(cached) " >&6
8126
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8129
lt_save_MAGIC_CMD="$MAGIC_CMD"
8130
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8131
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8132
for ac_dir in $ac_dummy; do
8134
test -z "$ac_dir" && ac_dir=.
8135
if test -f $ac_dir/file; then
8136
lt_cv_path_MAGIC_CMD="$ac_dir/file"
8137
if test -n "$file_magic_test_file"; then
8138
case $deplibs_check_method in
8140
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8141
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8142
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8143
$EGREP "$file_magic_regex" > /dev/null; then
8148
*** Warning: the command libtool uses to detect shared libraries,
8149
*** $file_magic_cmd, produces output that libtool cannot recognize.
8150
*** The result is that libtool may fail to recognize shared libraries
8151
*** as such. This will affect the creation of libtool libraries that
8152
*** depend on shared libraries, but programs linked with such libtool
8153
*** libraries will work regardless of this problem. Nevertheless, you
8154
*** may want to report the problem to your system manager and/or to
8155
*** bug-libtool@gnu.org
8165
MAGIC_CMD="$lt_save_MAGIC_CMD"
8170
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8171
if test -n "$MAGIC_CMD"; then
8172
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8173
$as_echo "$MAGIC_CMD" >&6; }
8175
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176
$as_echo "no" >&6; }
8189
# Use C for the default configuration in the libtool script
8193
ac_cpp='$CPP $CPPFLAGS'
8194
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8195
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8196
ac_compiler_gnu=$ac_cv_c_compiler_gnu
8199
# Source file extension for C test sources.
8202
# Object file extension for compiled C test sources.
8206
# Code to be used in simple compile tests
8207
lt_simple_compile_test_code="int some_variable = 0;"
8209
# Code to be used in simple link tests
8210
lt_simple_link_test_code='int main(){return(0);}'
8218
# If no C compiler was specified, use CC.
8221
# If no C compiler flags were specified, use CFLAGS.
8222
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8224
# Allow CC to be a program name with arguments.
8227
# Save the default compiler, since it gets overwritten when the other
8228
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8229
compiler_DEFAULT=$CC
8231
# save warnings/boilerplate of simple test code
8232
ac_outfile=conftest.$ac_objext
8233
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8234
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8235
_lt_compiler_boilerplate=`cat conftest.err`
8238
ac_outfile=conftest.$ac_objext
8239
echo "$lt_simple_link_test_code" >conftest.$ac_ext
8240
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8241
_lt_linker_boilerplate=`cat conftest.err`
8246
## There is no encapsulation within the following macros, do not change
8247
## the running order or otherwise move them around unless you know exactly
8248
## what you are doing...
8249
if test -n "$compiler"; then
8251
lt_prog_compiler_no_builtin_flag=
8253
if test "$GCC" = yes; then
8254
case $cc_basename in
8256
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8258
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8262
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8263
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8264
$as_echo_n "(cached) " >&6
8266
lt_cv_prog_compiler_rtti_exceptions=no
8267
ac_outfile=conftest.$ac_objext
8268
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8269
lt_compiler_flag="-fno-rtti -fno-exceptions"
8270
# Insert the option either (1) after the last *FLAGS variable, or
8271
# (2) before a word containing "conftest.", or (3) at the end.
8272
# Note that $ac_compile itself does not contain backslashes and begins
8273
# with a dollar sign (not a hyphen), so the echo should work correctly.
8274
# The option is referenced via a variable to avoid confusing sed.
8275
lt_compile=`echo "$ac_compile" | $SED \
8276
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8277
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8278
-e 's:$: $lt_compiler_flag:'`
8279
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8280
(eval "$lt_compile" 2>conftest.err)
8282
cat conftest.err >&5
8283
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284
if (exit $ac_status) && test -s "$ac_outfile"; then
8285
# The compiler can only warn and ignore the option if not recognized
8286
# So say no if there are warnings other than the usual output.
8287
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8288
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8289
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8290
lt_cv_prog_compiler_rtti_exceptions=yes
8296
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8297
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8299
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8300
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8312
lt_prog_compiler_wl=
8313
lt_prog_compiler_pic=
8314
lt_prog_compiler_static=
8317
if test "$GCC" = yes; then
8318
lt_prog_compiler_wl='-Wl,'
8319
lt_prog_compiler_static='-static'
8323
# All AIX code is PIC.
8324
if test "$host_cpu" = ia64; then
8325
# AIX 5 now supports IA64 processor
8326
lt_prog_compiler_static='-Bstatic'
8333
# see comment about AmigaOS4 .so support
8334
lt_prog_compiler_pic='-fPIC'
8337
# FIXME: we need at least 68020 code to build shared libraries, but
8338
# adding the `-m68020' flag to GCC prevents building anything better,
8340
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8345
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8346
# PIC is the default for these OSes.
8349
mingw* | cygwin* | pw32* | os2* | cegcc*)
8350
# This hack is so that the source file can tell whether it is being
8351
# built for inclusion in a dll (and should export symbols for example).
8352
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8353
# (--disable-auto-import) libraries
8354
lt_prog_compiler_pic='-DDLL_EXPORT'
8357
darwin* | rhapsody*)
8358
# PIC is the default on this platform
8359
# Common symbols not allowed in MH_DYLIB files
8360
lt_prog_compiler_pic='-fno-common'
8364
# PIC is the default for Haiku.
8365
# The "-static" flag exists, but is broken.
8366
lt_prog_compiler_static=
8370
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8371
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8372
# sets the default TLS model and affects inlining.
8378
lt_prog_compiler_pic='-fPIC'
8384
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8385
# Instead, we relocate shared libraries at runtime.
8389
# Just because we use GCC doesn't mean we suddenly get shared libraries
8390
# on systems that don't support them.
8391
lt_prog_compiler_can_build_shared=no
8396
# QNX uses GNU C++, but need to define -shared option too, otherwise
8398
lt_prog_compiler_pic='-fPIC -shared'
8402
if test -d /usr/nec; then
8403
lt_prog_compiler_pic=-Kconform_pic
8408
lt_prog_compiler_pic='-fPIC'
8412
case $cc_basename in
8413
nvcc*) # Cuda Compiler Driver 2.2
8414
lt_prog_compiler_wl='-Xlinker '
8415
if test -n "$lt_prog_compiler_pic"; then
8416
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8421
# PORTME Check for flag to pass linker flags through the system compiler.
8424
lt_prog_compiler_wl='-Wl,'
8425
if test "$host_cpu" = ia64; then
8426
# AIX 5 now supports IA64 processor
8427
lt_prog_compiler_static='-Bstatic'
8429
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8433
mingw* | cygwin* | pw32* | os2* | cegcc*)
8434
# This hack is so that the source file can tell whether it is being
8435
# built for inclusion in a dll (and should export symbols for example).
8436
lt_prog_compiler_pic='-DDLL_EXPORT'
8439
hpux9* | hpux10* | hpux11*)
8440
lt_prog_compiler_wl='-Wl,'
8441
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8448
lt_prog_compiler_pic='+Z'
8451
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8452
lt_prog_compiler_static='${wl}-a ${wl}archive'
8455
irix5* | irix6* | nonstopux*)
8456
lt_prog_compiler_wl='-Wl,'
8457
# PIC (with -KPIC) is the default.
8458
lt_prog_compiler_static='-non_shared'
8461
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8462
case $cc_basename in
8463
# old Intel for x86_64 which still supported -KPIC.
8465
lt_prog_compiler_wl='-Wl,'
8466
lt_prog_compiler_pic='-KPIC'
8467
lt_prog_compiler_static='-static'
8469
# icc used to be incompatible with GCC.
8470
# ICC 10 doesn't accept -KPIC any more.
8472
lt_prog_compiler_wl='-Wl,'
8473
lt_prog_compiler_pic='-fPIC'
8474
lt_prog_compiler_static='-static'
8476
# Lahey Fortran 8.1.
8478
lt_prog_compiler_wl='-Wl,'
8479
lt_prog_compiler_pic='--shared'
8480
lt_prog_compiler_static='--static'
8483
# NAG Fortran compiler
8484
lt_prog_compiler_wl='-Wl,-Wl,,'
8485
lt_prog_compiler_pic='-PIC'
8486
lt_prog_compiler_static='-Bstatic'
8488
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8489
# Portland Group compilers (*not* the Pentium gcc compiler,
8490
# which looks to be a dead project)
8491
lt_prog_compiler_wl='-Wl,'
8492
lt_prog_compiler_pic='-fpic'
8493
lt_prog_compiler_static='-Bstatic'
8496
lt_prog_compiler_wl='-Wl,'
8497
# All Alpha code is PIC.
8498
lt_prog_compiler_static='-non_shared'
8500
xl* | bgxl* | bgf* | mpixl*)
8501
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8502
lt_prog_compiler_wl='-Wl,'
8503
lt_prog_compiler_pic='-qpic'
8504
lt_prog_compiler_static='-qstaticlink'
8507
case `$CC -V 2>&1 | sed 5q` in
8508
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8509
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8510
lt_prog_compiler_pic='-KPIC'
8511
lt_prog_compiler_static='-Bstatic'
8512
lt_prog_compiler_wl=''
8514
*Sun\ F* | *Sun*Fortran*)
8515
lt_prog_compiler_pic='-KPIC'
8516
lt_prog_compiler_static='-Bstatic'
8517
lt_prog_compiler_wl='-Qoption ld '
8521
lt_prog_compiler_pic='-KPIC'
8522
lt_prog_compiler_static='-Bstatic'
8523
lt_prog_compiler_wl='-Wl,'
8525
*Intel*\ [CF]*Compiler*)
8526
lt_prog_compiler_wl='-Wl,'
8527
lt_prog_compiler_pic='-fPIC'
8528
lt_prog_compiler_static='-static'
8531
lt_prog_compiler_wl='-Wl,'
8532
lt_prog_compiler_pic='-fpic'
8533
lt_prog_compiler_static='-Bstatic'
8541
lt_prog_compiler_pic='-KPIC'
8542
lt_prog_compiler_static='-Bstatic'
8546
# QNX uses GNU C++, but need to define -shared option too, otherwise
8548
lt_prog_compiler_pic='-fPIC -shared'
8551
osf3* | osf4* | osf5*)
8552
lt_prog_compiler_wl='-Wl,'
8553
# All OSF/1 code is PIC.
8554
lt_prog_compiler_static='-non_shared'
8558
lt_prog_compiler_static='-non_shared'
8562
lt_prog_compiler_pic='-KPIC'
8563
lt_prog_compiler_static='-Bstatic'
8564
case $cc_basename in
8565
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8566
lt_prog_compiler_wl='-Qoption ld ';;
8568
lt_prog_compiler_wl='-Wl,';;
8573
lt_prog_compiler_wl='-Qoption ld '
8574
lt_prog_compiler_pic='-PIC'
8575
lt_prog_compiler_static='-Bstatic'
8578
sysv4 | sysv4.2uw2* | sysv4.3*)
8579
lt_prog_compiler_wl='-Wl,'
8580
lt_prog_compiler_pic='-KPIC'
8581
lt_prog_compiler_static='-Bstatic'
8585
if test -d /usr/nec ;then
8586
lt_prog_compiler_pic='-Kconform_pic'
8587
lt_prog_compiler_static='-Bstatic'
8591
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8592
lt_prog_compiler_wl='-Wl,'
8593
lt_prog_compiler_pic='-KPIC'
8594
lt_prog_compiler_static='-Bstatic'
8598
lt_prog_compiler_wl='-Wl,'
8599
lt_prog_compiler_can_build_shared=no
8603
lt_prog_compiler_pic='-pic'
8604
lt_prog_compiler_static='-Bstatic'
8608
lt_prog_compiler_can_build_shared=no
8614
# For platforms which do not support PIC, -DPIC is meaningless:
8616
lt_prog_compiler_pic=
8619
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625
if ${lt_cv_prog_compiler_pic+:} false; then :
8626
$as_echo_n "(cached) " >&6
8628
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8630
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8631
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8632
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8635
# Check to make sure the PIC flag actually works.
8637
if test -n "$lt_prog_compiler_pic"; then
8638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8639
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8640
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8641
$as_echo_n "(cached) " >&6
8643
lt_cv_prog_compiler_pic_works=no
8644
ac_outfile=conftest.$ac_objext
8645
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8646
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8647
# Insert the option either (1) after the last *FLAGS variable, or
8648
# (2) before a word containing "conftest.", or (3) at the end.
8649
# Note that $ac_compile itself does not contain backslashes and begins
8650
# with a dollar sign (not a hyphen), so the echo should work correctly.
8651
# The option is referenced via a variable to avoid confusing sed.
8652
lt_compile=`echo "$ac_compile" | $SED \
8653
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8654
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8655
-e 's:$: $lt_compiler_flag:'`
8656
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8657
(eval "$lt_compile" 2>conftest.err)
8659
cat conftest.err >&5
8660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661
if (exit $ac_status) && test -s "$ac_outfile"; then
8662
# The compiler can only warn and ignore the option if not recognized
8663
# So say no if there are warnings other than the usual output.
8664
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8665
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8667
lt_cv_prog_compiler_pic_works=yes
8673
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8674
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8676
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8677
case $lt_prog_compiler_pic in
8679
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8682
lt_prog_compiler_pic=
8683
lt_prog_compiler_can_build_shared=no
8699
# Check to make sure the static flag actually works.
8701
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8703
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8704
if ${lt_cv_prog_compiler_static_works+:} false; then :
8705
$as_echo_n "(cached) " >&6
8707
lt_cv_prog_compiler_static_works=no
8708
save_LDFLAGS="$LDFLAGS"
8709
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8710
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8711
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8712
# The linker can only warn and ignore the option if not recognized
8713
# So say no if there are warnings
8714
if test -s conftest.err; then
8715
# Append any errors to the config.log.
8716
cat conftest.err 1>&5
8717
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8718
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8719
if diff conftest.exp conftest.er2 >/dev/null; then
8720
lt_cv_prog_compiler_static_works=yes
8723
lt_cv_prog_compiler_static_works=yes
8727
LDFLAGS="$save_LDFLAGS"
8730
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8731
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8733
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8736
lt_prog_compiler_static=
8745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8746
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8747
if ${lt_cv_prog_compiler_c_o+:} false; then :
8748
$as_echo_n "(cached) " >&6
8750
lt_cv_prog_compiler_c_o=no
8751
$RM -r conftest 2>/dev/null
8755
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8757
lt_compiler_flag="-o out/conftest2.$ac_objext"
8758
# Insert the option either (1) after the last *FLAGS variable, or
8759
# (2) before a word containing "conftest.", or (3) at the end.
8760
# Note that $ac_compile itself does not contain backslashes and begins
8761
# with a dollar sign (not a hyphen), so the echo should work correctly.
8762
lt_compile=`echo "$ac_compile" | $SED \
8763
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765
-e 's:$: $lt_compiler_flag:'`
8766
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8767
(eval "$lt_compile" 2>out/conftest.err)
8769
cat out/conftest.err >&5
8770
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8773
# The compiler can only warn and ignore the option if not recognized
8774
# So say no if there are warnings
8775
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8776
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8777
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8778
lt_cv_prog_compiler_c_o=yes
8783
# SGI C++ compiler will create directory out/ii_files/ for
8784
# template instantiation
8785
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8786
$RM out/* && rmdir out
8792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8793
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8800
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8801
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8802
if ${lt_cv_prog_compiler_c_o+:} false; then :
8803
$as_echo_n "(cached) " >&6
8805
lt_cv_prog_compiler_c_o=no
8806
$RM -r conftest 2>/dev/null
8810
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8812
lt_compiler_flag="-o out/conftest2.$ac_objext"
8813
# Insert the option either (1) after the last *FLAGS variable, or
8814
# (2) before a word containing "conftest.", or (3) at the end.
8815
# Note that $ac_compile itself does not contain backslashes and begins
8816
# with a dollar sign (not a hyphen), so the echo should work correctly.
8817
lt_compile=`echo "$ac_compile" | $SED \
8818
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8819
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8820
-e 's:$: $lt_compiler_flag:'`
8821
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8822
(eval "$lt_compile" 2>out/conftest.err)
8824
cat out/conftest.err >&5
8825
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8828
# The compiler can only warn and ignore the option if not recognized
8829
# So say no if there are warnings
8830
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8831
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8832
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8833
lt_cv_prog_compiler_c_o=yes
8838
# SGI C++ compiler will create directory out/ii_files/ for
8839
# template instantiation
8840
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8841
$RM out/* && rmdir out
8847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8848
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8853
hard_links="nottested"
8854
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8855
# do not overwrite the value of need_locks provided by the user
8856
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8857
$as_echo_n "checking if we can lock with hard links... " >&6; }
8860
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8862
ln conftest.a conftest.b 2>&5 || hard_links=no
8863
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8864
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8865
$as_echo "$hard_links" >&6; }
8866
if test "$hard_links" = no; then
8867
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8868
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8881
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8884
allow_undefined_flag=
8885
always_export_symbols=no
8887
archive_expsym_cmds=
8888
compiler_needs_object=no
8889
enable_shared_with_static_runtimes=no
8890
export_dynamic_flag_spec=
8891
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8892
hardcode_automatic=no
8894
hardcode_direct_absolute=no
8895
hardcode_libdir_flag_spec=
8896
hardcode_libdir_separator=
8898
hardcode_shlibpath_var=unsupported
8900
link_all_deplibs=unknown
8903
old_archive_from_new_cmds=
8904
old_archive_from_expsyms_cmds=
8905
thread_safe_flag_spec=
8906
whole_archive_flag_spec=
8907
# include_expsyms should be a list of space-separated symbols to be *always*
8908
# included in the symbol list
8910
# exclude_expsyms can be an extended regexp of symbols to exclude
8911
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8912
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8913
# as well as any symbol that contains `d'.
8914
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8915
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8916
# platforms (ab)use it in PIC code, but their linkers get confused if
8917
# the symbol is explicitly referenced. Since portable code cannot
8918
# rely on this symbol name, it's probably fine to never include it in
8919
# preloaded symbol tables.
8920
# Exclude shared library initialization/finalization symbols.
8921
extract_expsyms_cmds=
8924
cygwin* | mingw* | pw32* | cegcc*)
8925
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8926
# When not using gcc, we currently assume that we are using
8927
# Microsoft Visual C++.
8928
if test "$GCC" != yes; then
8933
# we just hope/assume this is gcc and not c89 (= MSVC++)
8939
linux* | k*bsd*-gnu | gnu*)
8946
# On some targets, GNU ld is compatible enough with the native linker
8947
# that we're better off using the native interface for both.
8948
lt_use_gnu_ld_interface=no
8949
if test "$with_gnu_ld" = yes; then
8952
# The AIX port of GNU ld has always aspired to compatibility
8953
# with the native linker. However, as the warning in the GNU ld
8954
# block says, versions before 2.19.5* couldn't really create working
8955
# shared libraries, regardless of the interface used.
8956
case `$LD -v 2>&1` in
8957
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8958
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8959
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8961
lt_use_gnu_ld_interface=yes
8966
lt_use_gnu_ld_interface=yes
8971
if test "$lt_use_gnu_ld_interface" = yes; then
8972
# If archive_cmds runs LD, not CC, wlarc should be empty
8975
# Set some defaults for GNU ld with shared library support. These
8976
# are reset later if shared libraries are not supported. Putting them
8977
# here allows them to be overridden if necessary.
8978
runpath_var=LD_RUN_PATH
8979
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8980
export_dynamic_flag_spec='${wl}--export-dynamic'
8981
# ancient GNU ld didn't support --whole-archive et. al.
8982
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8983
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8985
whole_archive_flag_spec=
8987
supports_anon_versioning=no
8988
case `$LD -v 2>&1` in
8989
*GNU\ gold*) supports_anon_versioning=yes ;;
8990
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8991
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8992
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8993
*\ 2.11.*) ;; # other 2.11 versions
8994
*) supports_anon_versioning=yes ;;
8997
# See if GNU ld supports shared libraries.
9000
# On AIX/PPC, the GNU linker is very broken
9001
if test "$host_cpu" != ia64; then
9005
*** Warning: the GNU linker, at least up to release 2.19, is reported
9006
*** to be unable to reliably create shared libraries on AIX.
9007
*** Therefore, libtool is disabling shared libraries support. If you
9008
*** really care for shared libraries, you may want to install binutils
9009
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9010
*** You will then need to restart the configuration process.
9019
# see comment about AmigaOS4 .so support
9020
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9021
archive_expsym_cmds=''
9024
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9025
hardcode_libdir_flag_spec='-L$libdir'
9026
hardcode_minus_L=yes
9032
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9033
allow_undefined_flag=unsupported
9034
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9035
# support --undefined. This deserves some investigation. FIXME
9036
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9042
cygwin* | mingw* | pw32* | cegcc*)
9043
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9044
# as there is no search path for DLLs.
9045
hardcode_libdir_flag_spec='-L$libdir'
9046
export_dynamic_flag_spec='${wl}--export-all-symbols'
9047
allow_undefined_flag=unsupported
9048
always_export_symbols=no
9049
enable_shared_with_static_runtimes=yes
9050
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9051
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9053
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9054
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9055
# If the export-symbols file already is a .def file (1st line
9056
# is EXPORTS), use it as is; otherwise, prepend...
9057
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9058
cp $export_symbols $output_objdir/$soname.def;
9060
echo EXPORTS > $output_objdir/$soname.def;
9061
cat $export_symbols >> $output_objdir/$soname.def;
9063
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9070
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9071
link_all_deplibs=yes
9076
hardcode_shlibpath_var=no
9077
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9078
export_dynamic_flag_spec='${wl}-E'
9079
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9080
# Instead, shared libraries are loaded at an image base (0x10000000 by
9081
# default) and relocated if they conflict, which is a slow very memory
9082
# consuming and fragmenting process. To avoid this, we pick a random,
9083
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9084
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
9085
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9086
archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9089
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9091
if test "$host_os" = linux-dietlibc; then
9092
case $cc_basename in
9093
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9096
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9097
&& test "$tmp_diet" = no
9099
tmp_addflag=' $pic_flag'
9100
tmp_sharedflag='-shared'
9101
case $cc_basename,$host_cpu in
9102
pgcc*) # Portland Group C compiler
9103
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9104
tmp_addflag=' $pic_flag'
9106
pgf77* | pgf90* | pgf95* | pgfortran*)
9107
# Portland Group f77 and f90 compilers
9108
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9109
tmp_addflag=' $pic_flag -Mnomain' ;;
9110
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9111
tmp_addflag=' -i_dynamic' ;;
9112
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9113
tmp_addflag=' -i_dynamic -nofor_main' ;;
9114
ifc* | ifort*) # Intel Fortran compiler
9115
tmp_addflag=' -nofor_main' ;;
9116
lf95*) # Lahey Fortran 8.1
9117
whole_archive_flag_spec=
9118
tmp_sharedflag='--shared' ;;
9119
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9120
tmp_sharedflag='-qmkshrobj'
9122
nvcc*) # Cuda Compiler Driver 2.2
9123
whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9124
compiler_needs_object=yes
9127
case `$CC -V 2>&1 | sed 5q` in
9128
*Sun\ C*) # Sun C 5.9
9129
whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9130
compiler_needs_object=yes
9131
tmp_sharedflag='-G' ;;
9132
*Sun\ F*) # Sun Fortran 8.3
9133
tmp_sharedflag='-G' ;;
9135
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9137
if test "x$supports_anon_versioning" = xyes; then
9138
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9139
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9140
echo "local: *; };" >> $output_objdir/$libname.ver~
9141
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9144
case $cc_basename in
9145
xlf* | bgf* | bgxlf* | mpixlf*)
9146
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9147
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9148
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9149
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9150
if test "x$supports_anon_versioning" = xyes; then
9151
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9152
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9153
echo "local: *; };" >> $output_objdir/$libname.ver~
9154
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9163
netbsd* | netbsdelf*-gnu)
9164
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9165
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9168
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9169
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9174
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9178
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9179
*** create shared libraries on Solaris systems. Therefore, libtool
9180
*** is disabling shared libraries support. We urge you to upgrade GNU
9181
*** binutils to release 2.9.1 or newer. Another option is to modify
9182
*** your PATH or compiler configuration so that the native linker is
9183
*** used, and then restart.
9186
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9187
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9188
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9194
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9195
case `$LD -v 2>&1` in
9196
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9200
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9201
*** reliably create shared libraries on SCO systems. Therefore, libtool
9202
*** is disabling shared libraries support. We urge you to upgrade GNU
9203
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9204
*** your PATH or compiler configuration so that the native linker is
9205
*** used, and then restart.
9210
# For security reasons, it is highly recommended that you always
9211
# use absolute paths for naming shared libraries, and exclude the
9212
# DT_RUNPATH tag from executables and libraries. But doing so
9213
# requires that you compile everything twice, which is a pain.
9214
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9215
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9216
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9217
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9226
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9229
hardcode_shlibpath_var=no
9233
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9234
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9235
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9242
if test "$ld_shlibs" = no; then
9244
hardcode_libdir_flag_spec=
9245
export_dynamic_flag_spec=
9246
whole_archive_flag_spec=
9249
# PORTME fill in a description of your system's linker (not GNU ld)
9252
allow_undefined_flag=unsupported
9253
always_export_symbols=yes
9254
archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9255
# Note: this linker hardcodes the directories in LIBPATH if there
9256
# are no directories specified by -L.
9257
hardcode_minus_L=yes
9258
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9259
# Neither direct hardcoding nor static linking is supported with a
9261
hardcode_direct=unsupported
9266
if test "$host_cpu" = ia64; then
9267
# On IA64, the linker does run time linking by default, so we don't
9268
# have to do anything special.
9269
aix_use_runtimelinking=no
9270
exp_sym_flag='-Bexport'
9273
# If we're using GNU nm, then we don't want the "-C" option.
9274
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9275
# Also, AIX nm treats weak defined symbols like other global
9276
# defined symbols, whereas GNU nm marks them as "W".
9277
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9278
export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9280
export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9282
aix_use_runtimelinking=no
9284
# Test if we are trying to use run time linking or normal
9285
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9286
# need to do runtime linking.
9287
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9288
for ld_flag in $LDFLAGS; do
9289
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9290
aix_use_runtimelinking=yes
9297
exp_sym_flag='-bexport'
9298
no_entry_flag='-bnoentry'
9301
# When large executables or shared objects are built, AIX ld can
9302
# have problems creating the table of contents. If linking a library
9303
# or program results in "error TOC overflow" add -mminimal-toc to
9304
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9305
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9309
hardcode_direct_absolute=yes
9310
hardcode_libdir_separator=':'
9311
link_all_deplibs=yes
9312
file_list_spec='${wl}-f,'
9314
if test "$GCC" = yes; then
9315
case $host_os in aix4.[012]|aix4.[012].*)
9316
# We only want to do this on AIX 4.2 and lower, the check
9317
# below for broken collect2 doesn't work under 4.3+
9318
collect2name=`${CC} -print-prog-name=collect2`
9319
if test -f "$collect2name" &&
9320
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9322
# We have reworked collect2
9325
# We have old collect2
9326
hardcode_direct=unsupported
9327
# It fails to find uninstalled libraries when the uninstalled
9328
# path is not listed in the libpath. Setting hardcode_minus_L
9329
# to unsupported forces relinking
9330
hardcode_minus_L=yes
9331
hardcode_libdir_flag_spec='-L$libdir'
9332
hardcode_libdir_separator=
9336
shared_flag='-shared'
9337
if test "$aix_use_runtimelinking" = yes; then
9338
shared_flag="$shared_flag "'${wl}-G'
9343
if test "$host_cpu" = ia64; then
9344
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9345
# chokes on -Wl,-G. The following line is correct:
9348
if test "$aix_use_runtimelinking" = yes; then
9349
shared_flag='${wl}-G'
9351
shared_flag='${wl}-bM:SRE'
9356
export_dynamic_flag_spec='${wl}-bexpall'
9357
# It seems that -bexpall does not export symbols beginning with
9358
# underscore (_), so it is better to generate a list of symbols to export.
9359
always_export_symbols=yes
9360
if test "$aix_use_runtimelinking" = yes; then
9361
# Warning - without using the other runtime loading flags (-brtl),
9362
# -berok will link without error, but may produce a broken library.
9363
allow_undefined_flag='-berok'
9364
# Determine the default libpath from the value encoded in an
9366
if test "${lt_cv_aix_libpath+set}" = set; then
9367
aix_libpath=$lt_cv_aix_libpath
9369
if ${lt_cv_aix_libpath_+:} false; then :
9370
$as_echo_n "(cached) " >&6
9372
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9373
/* end confdefs.h. */
9383
if ac_fn_c_try_link "$LINENO"; then :
9385
lt_aix_libpath_sed='
9386
/Import File Strings/,/^$/ {
9388
s/^0 *\([^ ]*\) *$/\1/
9392
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9393
# Check for a 64-bit object if we didn't find anything.
9394
if test -z "$lt_cv_aix_libpath_"; then
9395
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9398
rm -f core conftest.err conftest.$ac_objext \
9399
conftest$ac_exeext conftest.$ac_ext
9400
if test -z "$lt_cv_aix_libpath_"; then
9401
lt_cv_aix_libpath_="/usr/lib:/lib"
9406
aix_libpath=$lt_cv_aix_libpath_
9409
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9410
archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9412
if test "$host_cpu" = ia64; then
9413
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9414
allow_undefined_flag="-z nodefs"
9415
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9417
# Determine the default libpath from the value encoded in an
9419
if test "${lt_cv_aix_libpath+set}" = set; then
9420
aix_libpath=$lt_cv_aix_libpath
9422
if ${lt_cv_aix_libpath_+:} false; then :
9423
$as_echo_n "(cached) " >&6
9425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9426
/* end confdefs.h. */
9436
if ac_fn_c_try_link "$LINENO"; then :
9438
lt_aix_libpath_sed='
9439
/Import File Strings/,/^$/ {
9441
s/^0 *\([^ ]*\) *$/\1/
9445
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9446
# Check for a 64-bit object if we didn't find anything.
9447
if test -z "$lt_cv_aix_libpath_"; then
9448
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9451
rm -f core conftest.err conftest.$ac_objext \
9452
conftest$ac_exeext conftest.$ac_ext
9453
if test -z "$lt_cv_aix_libpath_"; then
9454
lt_cv_aix_libpath_="/usr/lib:/lib"
9459
aix_libpath=$lt_cv_aix_libpath_
9462
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9463
# Warning - without using the other run time loading flags,
9464
# -berok will link without error, but may produce a broken library.
9465
no_undefined_flag=' ${wl}-bernotok'
9466
allow_undefined_flag=' ${wl}-berok'
9467
if test "$with_gnu_ld" = yes; then
9468
# We only use this code for GNU lds that support --whole-archive.
9469
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9471
# Exported symbols can be pulled into shared objects from archives
9472
whole_archive_flag_spec='$convenience'
9474
archive_cmds_need_lc=yes
9475
# This is similar to how AIX traditionally builds its shared libraries.
9476
archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9484
# see comment about AmigaOS4 .so support
9485
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9486
archive_expsym_cmds=''
9489
archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9490
hardcode_libdir_flag_spec='-L$libdir'
9491
hardcode_minus_L=yes
9497
export_dynamic_flag_spec=-rdynamic
9500
cygwin* | mingw* | pw32* | cegcc*)
9501
# When not using gcc, we currently assume that we are using
9502
# Microsoft Visual C++.
9503
# hardcode_libdir_flag_spec is actually meaningless, as there is
9504
# no search path for DLLs.
9505
case $cc_basename in
9508
hardcode_libdir_flag_spec=' '
9509
allow_undefined_flag=unsupported
9510
always_export_symbols=yes
9512
# Tell ltmain to make .lib files, not .a files.
9514
# Tell ltmain to make .dll files, not .so files.
9516
# FIXME: Setting linknames here is a bad hack.
9517
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9518
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9519
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9521
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9523
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9525
# The linker will not automatically build a static lib if we build a DLL.
9526
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9527
enable_shared_with_static_runtimes=yes
9528
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9529
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9531
old_postinstall_cmds='chmod 644 $oldlib'
9532
postlink_cmds='lt_outputfile="@OUTPUT@"~
9533
lt_tool_outputfile="@TOOL_OUTPUT@"~
9534
case $lt_outputfile in
9537
lt_outputfile="$lt_outputfile.exe"
9538
lt_tool_outputfile="$lt_tool_outputfile.exe"
9541
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9542
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9543
$RM "$lt_outputfile.manifest";
9547
# Assume MSVC wrapper
9548
hardcode_libdir_flag_spec=' '
9549
allow_undefined_flag=unsupported
9550
# Tell ltmain to make .lib files, not .a files.
9552
# Tell ltmain to make .dll files, not .so files.
9554
# FIXME: Setting linknames here is a bad hack.
9555
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9556
# The linker will automatically build a .lib file if we build a DLL.
9557
old_archive_from_new_cmds='true'
9558
# FIXME: Should let the user specify the lib program.
9559
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9560
enable_shared_with_static_runtimes=yes
9565
darwin* | rhapsody*)
9568
archive_cmds_need_lc=no
9570
hardcode_automatic=yes
9571
hardcode_shlibpath_var=unsupported
9572
if test "$lt_cv_ld_force_load" = "yes"; then
9573
whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9576
whole_archive_flag_spec=''
9578
link_all_deplibs=yes
9579
allow_undefined_flag="$_lt_dar_allow_undefined"
9580
case $cc_basename in
9581
ifort*) _lt_dar_can_shared=yes ;;
9582
*) _lt_dar_can_shared=$GCC ;;
9584
if test "$_lt_dar_can_shared" = "yes"; then
9585
output_verbose_link_cmd=func_echo_all
9586
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9587
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9588
archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9589
module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9598
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9599
hardcode_libdir_flag_spec='-L$libdir'
9600
hardcode_shlibpath_var=no
9603
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9604
# support. Future versions do this automatically, but an explicit c++rt0.o
9605
# does not break anything, and helps significantly (at the cost of a little
9608
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9609
hardcode_libdir_flag_spec='-R$libdir'
9611
hardcode_shlibpath_var=no
9614
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9616
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9618
hardcode_minus_L=yes
9619
hardcode_shlibpath_var=no
9622
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9623
freebsd* | dragonfly*)
9624
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9625
hardcode_libdir_flag_spec='-R$libdir'
9627
hardcode_shlibpath_var=no
9631
if test "$GCC" = yes; then
9632
archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9634
archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9636
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637
hardcode_libdir_separator=:
9640
# hardcode_minus_L: Not really in the search PATH,
9641
# but as the default location of the library.
9642
hardcode_minus_L=yes
9643
export_dynamic_flag_spec='${wl}-E'
9647
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9648
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9650
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9652
if test "$with_gnu_ld" = no; then
9653
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9654
hardcode_libdir_separator=:
9656
hardcode_direct_absolute=yes
9657
export_dynamic_flag_spec='${wl}-E'
9658
# hardcode_minus_L: Not really in the search PATH,
9659
# but as the default location of the library.
9660
hardcode_minus_L=yes
9665
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9668
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9671
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9674
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9680
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9683
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9687
# Older versions of the 11.00 compiler do not understand -b yet
9688
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9690
$as_echo_n "checking if $CC understands -b... " >&6; }
9691
if ${lt_cv_prog_compiler__b+:} false; then :
9692
$as_echo_n "(cached) " >&6
9694
lt_cv_prog_compiler__b=no
9695
save_LDFLAGS="$LDFLAGS"
9696
LDFLAGS="$LDFLAGS -b"
9697
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9698
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9699
# The linker can only warn and ignore the option if not recognized
9700
# So say no if there are warnings
9701
if test -s conftest.err; then
9702
# Append any errors to the config.log.
9703
cat conftest.err 1>&5
9704
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9705
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9706
if diff conftest.exp conftest.er2 >/dev/null; then
9707
lt_cv_prog_compiler__b=yes
9710
lt_cv_prog_compiler__b=yes
9714
LDFLAGS="$save_LDFLAGS"
9717
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9718
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9720
if test x"$lt_cv_prog_compiler__b" = xyes; then
9721
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9723
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9729
if test "$with_gnu_ld" = no; then
9730
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9731
hardcode_libdir_separator=:
9736
hardcode_shlibpath_var=no
9740
hardcode_direct_absolute=yes
9741
export_dynamic_flag_spec='${wl}-E'
9743
# hardcode_minus_L: Not really in the search PATH,
9744
# but as the default location of the library.
9745
hardcode_minus_L=yes
9751
irix5* | irix6* | nonstopux*)
9752
if test "$GCC" = yes; then
9753
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9754
# Try to use the -exported_symbol ld option, if it does not
9755
# work, assume that -exports_file does not work either and
9756
# implicitly export all symbols.
9757
# This should be the same for all languages, so no per-tag cache variable.
9758
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9759
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9760
if ${lt_cv_irix_exported_symbol+:} false; then :
9761
$as_echo_n "(cached) " >&6
9763
save_LDFLAGS="$LDFLAGS"
9764
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9765
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9766
/* end confdefs.h. */
9767
int foo (void) { return 0; }
9769
if ac_fn_c_try_link "$LINENO"; then :
9770
lt_cv_irix_exported_symbol=yes
9772
lt_cv_irix_exported_symbol=no
9774
rm -f core conftest.err conftest.$ac_objext \
9775
conftest$ac_exeext conftest.$ac_ext
9776
LDFLAGS="$save_LDFLAGS"
9778
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9779
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9780
if test "$lt_cv_irix_exported_symbol" = yes; then
9781
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9784
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9785
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9787
archive_cmds_need_lc='no'
9788
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9789
hardcode_libdir_separator=:
9791
link_all_deplibs=yes
9794
netbsd* | netbsdelf*-gnu)
9795
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9796
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9798
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9800
hardcode_libdir_flag_spec='-R$libdir'
9802
hardcode_shlibpath_var=no
9806
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9809
hardcode_libdir_separator=:
9810
hardcode_shlibpath_var=no
9817
if test -f /usr/libexec/ld.so; then
9819
hardcode_shlibpath_var=no
9820
hardcode_direct_absolute=yes
9821
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9822
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9823
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9824
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9825
export_dynamic_flag_spec='${wl}-E'
9828
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9829
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9830
hardcode_libdir_flag_spec='-R$libdir'
9833
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9834
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9844
hardcode_libdir_flag_spec='-L$libdir'
9845
hardcode_minus_L=yes
9846
allow_undefined_flag=unsupported
9847
archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9848
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9852
if test "$GCC" = yes; then
9853
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9854
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9856
allow_undefined_flag=' -expect_unresolved \*'
9857
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9859
archive_cmds_need_lc='no'
9860
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9861
hardcode_libdir_separator=:
9864
osf4* | osf5*) # as osf3* with the addition of -msym flag
9865
if test "$GCC" = yes; then
9866
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9867
archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9868
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870
allow_undefined_flag=' -expect_unresolved \*'
9871
archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9872
archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9873
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9875
# Both c and cxx compiler support -rpath directly
9876
hardcode_libdir_flag_spec='-rpath $libdir'
9878
archive_cmds_need_lc='no'
9879
hardcode_libdir_separator=:
9883
no_undefined_flag=' -z defs'
9884
if test "$GCC" = yes; then
9886
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9887
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9888
$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9890
case `$CC -V 2>&1` in
9893
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9894
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9895
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9899
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9900
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9901
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9905
hardcode_libdir_flag_spec='-R$libdir'
9906
hardcode_shlibpath_var=no
9908
solaris2.[0-5] | solaris2.[0-5].*) ;;
9910
# The compiler driver will combine and reorder linker options,
9911
# but understands `-z linker_flag'. GCC discards it without `$wl',
9912
# but is careful enough not to reorder.
9913
# Supported since Solaris 2.6 (maybe 2.5.1?)
9914
if test "$GCC" = yes; then
9915
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9917
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9921
link_all_deplibs=yes
9925
if test "x$host_vendor" = xsequent; then
9926
# Use $CC to link under sequent, because it throws in some extra .o
9927
# files that make .init and .fini sections work.
9928
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9930
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9932
hardcode_libdir_flag_spec='-L$libdir'
9934
hardcode_minus_L=yes
9935
hardcode_shlibpath_var=no
9939
case $host_vendor in
9941
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9942
hardcode_direct=yes # is this really true???
9945
## LD is ld it makes a PLAMLIB
9946
## CC just makes a GrossModule.
9947
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9948
reload_cmds='$CC -r -o $output$reload_objs'
9952
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9956
runpath_var='LD_RUN_PATH'
9957
hardcode_shlibpath_var=no
9961
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9962
hardcode_shlibpath_var=no
9963
export_dynamic_flag_spec='-Bexport'
9967
if test -d /usr/nec; then
9968
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9969
hardcode_shlibpath_var=no
9970
runpath_var=LD_RUN_PATH
9971
hardcode_runpath_var=yes
9976
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9977
no_undefined_flag='${wl}-z,text'
9978
archive_cmds_need_lc=no
9979
hardcode_shlibpath_var=no
9980
runpath_var='LD_RUN_PATH'
9982
if test "$GCC" = yes; then
9983
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9984
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9987
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9991
sysv5* | sco3.2v5* | sco5v6*)
9992
# Note: We can NOT use -z defs as we might desire, because we do not
9993
# link with -lc, and that would cause any symbols used from libc to
9994
# always be unresolved, which means just about no library would
9995
# ever link correctly. If we're not using GNU ld we use -z text
9996
# though, which does catch some bad symbols but isn't as heavy-handed
9998
no_undefined_flag='${wl}-z,text'
9999
allow_undefined_flag='${wl}-z,nodefs'
10000
archive_cmds_need_lc=no
10001
hardcode_shlibpath_var=no
10002
hardcode_libdir_flag_spec='${wl}-R,$libdir'
10003
hardcode_libdir_separator=':'
10004
link_all_deplibs=yes
10005
export_dynamic_flag_spec='${wl}-Bexport'
10006
runpath_var='LD_RUN_PATH'
10008
if test "$GCC" = yes; then
10009
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10010
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10012
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10013
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10018
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10019
hardcode_libdir_flag_spec='-L$libdir'
10020
hardcode_shlibpath_var=no
10028
if test x$host_vendor = xsni; then
10030
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10031
export_dynamic_flag_spec='${wl}-Blargedynsym'
10037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10038
$as_echo "$ld_shlibs" >&6; }
10039
test "$ld_shlibs" = no && can_build_shared=no
10041
with_gnu_ld=$with_gnu_ld
10058
# Do we need to explicitly link libc?
10060
case "x$archive_cmds_need_lc" in
10062
# Assume -lc should be added
10063
archive_cmds_need_lc=yes
10065
if test "$enable_shared" = yes && test "$GCC" = yes; then
10066
case $archive_cmds in
10068
# FIXME: we may have to deal with multi-command sequences.
10071
# Test whether the compiler implicitly links with -lc since on some
10072
# systems, -lgcc has to come before -lc. If gcc already passes -lc
10073
# to ld, don't add -lc before -lgcc.
10074
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10075
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10076
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10077
$as_echo_n "(cached) " >&6
10080
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10082
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10083
(eval $ac_compile) 2>&5
10085
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10086
test $ac_status = 0; } 2>conftest.err; then
10089
libobjs=conftest.$ac_objext
10091
wl=$lt_prog_compiler_wl
10092
pic_flag=$lt_prog_compiler_pic
10098
lt_save_allow_undefined_flag=$allow_undefined_flag
10099
allow_undefined_flag=
10100
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10101
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10103
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10104
test $ac_status = 0; }
10106
lt_cv_archive_cmds_need_lc=no
10108
lt_cv_archive_cmds_need_lc=yes
10110
allow_undefined_flag=$lt_save_allow_undefined_flag
10112
cat conftest.err 1>&5
10117
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10118
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10119
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10277
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10278
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10280
if test "$GCC" = yes; then
10282
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10283
*) lt_awk_arg="/^libraries:/" ;;
10286
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10287
*) lt_sed_strip_eq="s,=/,/,g" ;;
10289
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10290
case $lt_search_path_spec in
10292
# if the path contains ";" then we assume it to be the separator
10293
# otherwise default to the standard path separator (i.e. ":") - it is
10294
# assumed that no part of a normal pathname contains ";" but that should
10295
# okay in the real world where ";" in dirpaths is itself problematic.
10296
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10299
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10302
# Ok, now we have the path, separated by spaces, we can step through it
10303
# and add multilib dir if necessary.
10304
lt_tmp_lt_search_path_spec=
10305
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10306
for lt_sys_path in $lt_search_path_spec; do
10307
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10308
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10310
test -d "$lt_sys_path" && \
10311
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10314
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10315
BEGIN {RS=" "; FS="/|\n";} {
10318
for (lt_i = NF; lt_i > 0; lt_i--) {
10319
if ($lt_i != "" && $lt_i != ".") {
10320
if ($lt_i == "..") {
10323
if (lt_count == 0) {
10324
lt_foo="/" $lt_i lt_foo;
10331
if (lt_foo != "") { lt_freq[lt_foo]++; }
10332
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10334
# AWK program above erroneously prepends '/' to C:/dos/paths
10337
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10338
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10340
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10342
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10344
library_names_spec=
10345
libname_spec='lib$name'
10349
postuninstall_cmds=
10353
shlibpath_overrides_runpath=unknown
10355
dynamic_linker="$host_os ld.so"
10356
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10357
need_lib_prefix=unknown
10358
hardcode_into_libs=no
10360
# when you set need_version to no, make sure it does not cause -set_version
10361
# flags to be left without arguments
10362
need_version=unknown
10366
version_type=linux # correct to gnu/linux during the next big refactor
10367
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10368
shlibpath_var=LIBPATH
10370
# AIX 3 has no versioning support, so we append a major version to the name.
10371
soname_spec='${libname}${release}${shared_ext}$major'
10375
version_type=linux # correct to gnu/linux during the next big refactor
10378
hardcode_into_libs=yes
10379
if test "$host_cpu" = ia64; then
10380
# AIX 5 supports IA64
10381
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10382
shlibpath_var=LD_LIBRARY_PATH
10384
# With GCC up to 2.95.x, collect2 would create an import file
10385
# for dependence libraries. The import file would start with
10386
# the line `#! .'. This would cause the generated library to
10387
# depend on `.', always an invalid library. This was fixed in
10388
# development snapshots of GCC prior to 3.0.
10390
aix4 | aix4.[01] | aix4.[01].*)
10391
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10393
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10396
can_build_shared=no
10400
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10401
# soname into executable. Probably we can add versioning support to
10402
# collect2, so additional links can be useful in future.
10403
if test "$aix_use_runtimelinking" = yes; then
10404
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10405
# instead of lib<name>.a to let people know that these are not
10406
# typical AIX shared libraries.
10407
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10409
# We preserve .a as extension for shared libraries through AIX4.2
10410
# and later when we are not doing run time linking.
10411
library_names_spec='${libname}${release}.a $libname.a'
10412
soname_spec='${libname}${release}${shared_ext}$major'
10414
shlibpath_var=LIBPATH
10421
# Since July 2007 AmigaOS4 officially supports .so libraries.
10422
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10423
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10426
library_names_spec='$libname.ixlibrary $libname.a'
10427
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10428
finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10434
library_names_spec='${libname}${shared_ext}'
10435
dynamic_linker="$host_os ld.so"
10436
shlibpath_var=LIBRARY_PATH
10440
version_type=linux # correct to gnu/linux during the next big refactor
10442
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10443
soname_spec='${libname}${release}${shared_ext}$major'
10444
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10445
shlibpath_var=LD_LIBRARY_PATH
10446
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10447
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10448
# the default ld.so.conf also contains /usr/contrib/lib and
10449
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10450
# libtool to hard-code these into programs
10453
cygwin* | mingw* | pw32* | cegcc*)
10454
version_type=windows
10459
case $GCC,$cc_basename in
10462
library_names_spec='$libname.dll.a'
10463
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10464
postinstall_cmds='base_file=`basename \${file}`~
10465
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10466
dldir=$destdir/`dirname \$dlpath`~
10467
test -d \$dldir || mkdir -p \$dldir~
10468
$install_prog $dir/$dlname \$dldir/$dlname~
10469
chmod a+x \$dldir/$dlname~
10470
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10471
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10473
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10474
dlpath=$dir/\$dldll~
10476
shlibpath_overrides_runpath=yes
10480
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10481
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10483
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10486
# MinGW DLLs use traditional 'lib' prefix
10487
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10490
# pw32 DLLs use 'pw' prefix rather than 'lib'
10491
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10494
dynamic_linker='Win32 ld.exe'
10499
libname_spec='$name'
10500
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10501
library_names_spec='${libname}.dll.lib'
10505
sys_lib_search_path_spec=
10508
for lt_path in $LIB
10511
# Let DOS variable expansion print the short 8.3 style file name.
10512
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10513
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10516
# Convert to MSYS style.
10517
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10520
# Convert to unix form, then to dos form, then back to unix form
10521
# but this time dos style (no spaces!) so that the unix form looks
10522
# like /cygdrive/c/PROGRA~1:/cygdr...
10523
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10524
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10525
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10528
sys_lib_search_path_spec="$LIB"
10529
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10530
# It is most probably a Windows format PATH.
10531
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10533
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10535
# FIXME: find the short name or the path components, as spaces are
10536
# common. (e.g. "Program Files" -> "PROGRA~1")
10540
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10541
postinstall_cmds='base_file=`basename \${file}`~
10542
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10543
dldir=$destdir/`dirname \$dlpath`~
10544
test -d \$dldir || mkdir -p \$dldir~
10545
$install_prog $dir/$dlname \$dldir/$dlname'
10546
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10547
dlpath=$dir/\$dldll~
10549
shlibpath_overrides_runpath=yes
10550
dynamic_linker='Win32 link.exe'
10554
# Assume MSVC wrapper
10555
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10556
dynamic_linker='Win32 ld.exe'
10559
# FIXME: first we should search . and the directory the executable is in
10563
darwin* | rhapsody*)
10564
dynamic_linker="$host_os dyld"
10565
version_type=darwin
10568
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10569
soname_spec='${libname}${release}${major}$shared_ext'
10570
shlibpath_overrides_runpath=yes
10571
shlibpath_var=DYLD_LIBRARY_PATH
10572
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10574
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10575
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10579
version_type=linux # correct to gnu/linux during the next big refactor
10582
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10583
soname_spec='${libname}${release}${shared_ext}$major'
10584
shlibpath_var=LD_LIBRARY_PATH
10587
freebsd* | dragonfly*)
10588
# DragonFly does not have aout. When/if they implement a new
10589
# versioning mechanism, adjust this.
10590
if test -x /usr/bin/objformat; then
10591
objformat=`/usr/bin/objformat`
10594
freebsd[23].*) objformat=aout ;;
10595
*) objformat=elf ;;
10598
version_type=freebsd-$objformat
10599
case $version_type in
10601
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10606
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10610
shlibpath_var=LD_LIBRARY_PATH
10613
shlibpath_overrides_runpath=yes
10615
freebsd3.[01]* | freebsdelf3.[01]*)
10616
shlibpath_overrides_runpath=yes
10617
hardcode_into_libs=yes
10619
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10620
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10621
shlibpath_overrides_runpath=no
10622
hardcode_into_libs=yes
10624
*) # from 4.6 on, and DragonFly
10625
shlibpath_overrides_runpath=yes
10626
hardcode_into_libs=yes
10632
version_type=linux # correct to gnu/linux during the next big refactor
10635
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10636
soname_spec='${libname}${release}${shared_ext}$major'
10637
shlibpath_var=LD_LIBRARY_PATH
10638
shlibpath_overrides_runpath=no
10639
hardcode_into_libs=yes
10643
version_type=linux # correct to gnu/linux during the next big refactor
10646
dynamic_linker="$host_os runtime_loader"
10647
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10648
soname_spec='${libname}${release}${shared_ext}$major'
10649
shlibpath_var=LIBRARY_PATH
10650
shlibpath_overrides_runpath=yes
10651
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10652
hardcode_into_libs=yes
10655
hpux9* | hpux10* | hpux11*)
10656
# Give a soname corresponding to the major version so that dld.sl refuses to
10657
# link against other versions.
10664
hardcode_into_libs=yes
10665
dynamic_linker="$host_os dld.so"
10666
shlibpath_var=LD_LIBRARY_PATH
10667
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10668
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10669
soname_spec='${libname}${release}${shared_ext}$major'
10670
if test "X$HPUX_IA64_MODE" = X32; then
10671
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10673
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10675
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10679
hardcode_into_libs=yes
10680
dynamic_linker="$host_os dld.sl"
10681
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10682
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10683
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684
soname_spec='${libname}${release}${shared_ext}$major'
10685
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10686
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10690
dynamic_linker="$host_os dld.sl"
10691
shlibpath_var=SHLIB_PATH
10692
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10693
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10694
soname_spec='${libname}${release}${shared_ext}$major'
10697
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10698
postinstall_cmds='chmod 555 $lib'
10699
# or fails outright, so override atomically:
10700
install_override_mode=555
10704
version_type=linux # correct to gnu/linux during the next big refactor
10707
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10708
soname_spec='${libname}${release}${shared_ext}$major'
10709
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10710
shlibpath_var=LD_LIBRARY_PATH
10711
shlibpath_overrides_runpath=no
10712
hardcode_into_libs=yes
10715
irix5* | irix6* | nonstopux*)
10717
nonstopux*) version_type=nonstopux ;;
10719
if test "$lt_cv_prog_gnu_ld" = yes; then
10720
version_type=linux # correct to gnu/linux during the next big refactor
10727
soname_spec='${libname}${release}${shared_ext}$major'
10728
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10730
irix5* | nonstopux*)
10731
libsuff= shlibsuff=
10734
case $LD in # libtool.m4 will add one of these switches to LD
10735
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10736
libsuff= shlibsuff= libmagic=32-bit;;
10737
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10738
libsuff=32 shlibsuff=N32 libmagic=N32;;
10739
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10740
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10741
*) libsuff= shlibsuff= libmagic=never-match;;
10745
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10746
shlibpath_overrides_runpath=no
10747
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10748
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10749
hardcode_into_libs=yes
10752
# No shared lib support for Linux oldld, aout, or coff.
10753
linux*oldld* | linux*aout* | linux*coff*)
10757
# This must be glibc/ELF.
10758
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10759
version_type=linux # correct to gnu/linux during the next big refactor
10762
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763
soname_spec='${libname}${release}${shared_ext}$major'
10764
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10765
shlibpath_var=LD_LIBRARY_PATH
10766
shlibpath_overrides_runpath=no
10768
# Some binutils ld are patched to set DT_RUNPATH
10769
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10770
$as_echo_n "(cached) " >&6
10772
lt_cv_shlibpath_overrides_runpath=no
10773
save_LDFLAGS=$LDFLAGS
10774
save_libdir=$libdir
10775
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10776
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10778
/* end confdefs.h. */
10788
if ac_fn_c_try_link "$LINENO"; then :
10789
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10790
lt_cv_shlibpath_overrides_runpath=yes
10793
rm -f core conftest.err conftest.$ac_objext \
10794
conftest$ac_exeext conftest.$ac_ext
10795
LDFLAGS=$save_LDFLAGS
10796
libdir=$save_libdir
10800
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10802
# This implies no fast_install, which is unacceptable.
10803
# Some rework will be needed to allow for fast_install
10804
# before this can be enabled.
10805
hardcode_into_libs=yes
10807
# Append ld.so.conf contents to the search path
10808
if test -f /etc/ld.so.conf; then
10809
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10810
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10813
# We used to test for /lib/ld.so.1 and disable shared libraries on
10814
# powerpc, because MkLinux only supported shared libraries with the
10815
# GNU dynamic linker. Since this was broken with cross compilers,
10816
# most powerpc-linux boxes support dynamic linking these days and
10817
# people can always --disable-shared, the test was removed, and we
10818
# assume the GNU/Linux dynamic linker is in use.
10819
dynamic_linker='GNU/Linux ld.so'
10826
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827
soname_spec='${libname}${release}${shared_ext}$major'
10828
shlibpath_var=LD_LIBRARY_PATH
10829
shlibpath_overrides_runpath=no
10830
hardcode_into_libs=yes
10831
dynamic_linker='NetBSD ld.elf_so'
10838
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10839
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10840
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10841
dynamic_linker='NetBSD (a.out) ld.so'
10843
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10844
soname_spec='${libname}${release}${shared_ext}$major'
10845
dynamic_linker='NetBSD ld.elf_so'
10847
shlibpath_var=LD_LIBRARY_PATH
10848
shlibpath_overrides_runpath=yes
10849
hardcode_into_libs=yes
10853
version_type=linux # correct to gnu/linux during the next big refactor
10854
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10855
shlibpath_var=LD_LIBRARY_PATH
10856
shlibpath_overrides_runpath=yes
10863
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10864
soname_spec='${libname}${release}${shared_ext}$major'
10865
shlibpath_var=LD_LIBRARY_PATH
10866
shlibpath_overrides_runpath=no
10867
hardcode_into_libs=yes
10868
dynamic_linker='ldqnx.so'
10873
sys_lib_dlsearch_path_spec="/usr/lib"
10875
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10877
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10878
*) need_version=no ;;
10880
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10881
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10882
shlibpath_var=LD_LIBRARY_PATH
10883
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10885
openbsd2.[89] | openbsd2.[89].*)
10886
shlibpath_overrides_runpath=no
10889
shlibpath_overrides_runpath=yes
10893
shlibpath_overrides_runpath=yes
10898
libname_spec='$name'
10901
library_names_spec='$libname${shared_ext} $libname.a'
10902
dynamic_linker='OS/2 ld.exe'
10903
shlibpath_var=LIBPATH
10906
osf3* | osf4* | osf5*)
10910
soname_spec='${libname}${release}${shared_ext}$major'
10911
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10912
shlibpath_var=LD_LIBRARY_PATH
10913
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10914
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10922
version_type=linux # correct to gnu/linux during the next big refactor
10925
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10926
soname_spec='${libname}${release}${shared_ext}$major'
10927
shlibpath_var=LD_LIBRARY_PATH
10928
shlibpath_overrides_runpath=yes
10929
hardcode_into_libs=yes
10930
# ldd complains unless libraries are executable
10931
postinstall_cmds='chmod +x $lib'
10936
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10937
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10938
shlibpath_var=LD_LIBRARY_PATH
10939
shlibpath_overrides_runpath=yes
10940
if test "$with_gnu_ld" = yes; then
10947
version_type=linux # correct to gnu/linux during the next big refactor
10948
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10949
soname_spec='${libname}${release}${shared_ext}$major'
10950
shlibpath_var=LD_LIBRARY_PATH
10951
case $host_vendor in
10953
shlibpath_overrides_runpath=no
10955
runpath_var=LD_RUN_PATH
10963
shlibpath_overrides_runpath=no
10964
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10970
if test -d /usr/nec ;then
10971
version_type=linux # correct to gnu/linux during the next big refactor
10972
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10973
soname_spec='$libname${shared_ext}.$major'
10974
shlibpath_var=LD_LIBRARY_PATH
10978
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10979
version_type=freebsd-elf
10982
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10983
soname_spec='${libname}${release}${shared_ext}$major'
10984
shlibpath_var=LD_LIBRARY_PATH
10985
shlibpath_overrides_runpath=yes
10986
hardcode_into_libs=yes
10987
if test "$with_gnu_ld" = yes; then
10988
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10990
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10993
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10997
sys_lib_dlsearch_path_spec='/usr/lib'
11001
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11002
version_type=linux # correct to gnu/linux during the next big refactor
11005
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11006
shlibpath_var=LD_LIBRARY_PATH
11007
shlibpath_overrides_runpath=no
11008
hardcode_into_libs=yes
11012
version_type=linux # correct to gnu/linux during the next big refactor
11013
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11014
soname_spec='${libname}${release}${shared_ext}$major'
11015
shlibpath_var=LD_LIBRARY_PATH
11022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11023
$as_echo "$dynamic_linker" >&6; }
11024
test "$dynamic_linker" = no && can_build_shared=no
11026
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11027
if test "$GCC" = yes; then
11028
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11031
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11032
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11034
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11035
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11129
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11130
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11132
if test -n "$hardcode_libdir_flag_spec" ||
11133
test -n "$runpath_var" ||
11134
test "X$hardcode_automatic" = "Xyes" ; then
11136
# We can hardcode non-existent directories.
11137
if test "$hardcode_direct" != no &&
11138
# If the only mechanism to avoid hardcoding is shlibpath_var, we
11139
# have to relink, otherwise we might link with an installed library
11140
# when we should be linking with a yet-to-be-installed one
11141
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11142
test "$hardcode_minus_L" != no; then
11143
# Linking always hardcodes the temporary library directory.
11144
hardcode_action=relink
11146
# We can link without hardcoding, and we can hardcode nonexisting dirs.
11147
hardcode_action=immediate
11150
# We cannot hardcode anything, or else we can only hardcode existing
11152
hardcode_action=unsupported
11154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11155
$as_echo "$hardcode_action" >&6; }
11157
if test "$hardcode_action" = relink ||
11158
test "$inherit_rpath" = yes; then
11159
# Fast installation is not supported
11160
enable_fast_install=no
11161
elif test "$shlibpath_overrides_runpath" = yes ||
11162
test "$enable_shared" = no; then
11163
# Fast installation is not necessary
11164
enable_fast_install=needless
11172
if test "x$enable_dlopen" != xyes; then
11173
enable_dlopen=unknown
11174
enable_dlopen_self=unknown
11175
enable_dlopen_self_static=unknown
11182
lt_cv_dlopen="load_add_on"
11184
lt_cv_dlopen_self=yes
11187
mingw* | pw32* | cegcc*)
11188
lt_cv_dlopen="LoadLibrary"
11193
lt_cv_dlopen="dlopen"
11198
# if libdl is installed we need to link against it
11199
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11200
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11201
if ${ac_cv_lib_dl_dlopen+:} false; then :
11202
$as_echo_n "(cached) " >&6
11204
ac_check_lib_save_LIBS=$LIBS
11206
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11207
/* end confdefs.h. */
11209
/* Override any GCC internal prototype to avoid an error.
11210
Use char because int might match the return type of a GCC
11211
builtin and then its argument prototype would still apply. */
11224
if ac_fn_c_try_link "$LINENO"; then :
11225
ac_cv_lib_dl_dlopen=yes
11227
ac_cv_lib_dl_dlopen=no
11229
rm -f core conftest.err conftest.$ac_objext \
11230
conftest$ac_exeext conftest.$ac_ext
11231
LIBS=$ac_check_lib_save_LIBS
11233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11234
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11235
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11236
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11239
lt_cv_dlopen="dyld"
11241
lt_cv_dlopen_self=yes
11248
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11249
if test "x$ac_cv_func_shl_load" = xyes; then :
11250
lt_cv_dlopen="shl_load"
11252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11253
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11254
if ${ac_cv_lib_dld_shl_load+:} false; then :
11255
$as_echo_n "(cached) " >&6
11257
ac_check_lib_save_LIBS=$LIBS
11259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11260
/* end confdefs.h. */
11262
/* Override any GCC internal prototype to avoid an error.
11263
Use char because int might match the return type of a GCC
11264
builtin and then its argument prototype would still apply. */
11272
return shl_load ();
11277
if ac_fn_c_try_link "$LINENO"; then :
11278
ac_cv_lib_dld_shl_load=yes
11280
ac_cv_lib_dld_shl_load=no
11282
rm -f core conftest.err conftest.$ac_objext \
11283
conftest$ac_exeext conftest.$ac_ext
11284
LIBS=$ac_check_lib_save_LIBS
11286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11287
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11288
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11289
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11291
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11292
if test "x$ac_cv_func_dlopen" = xyes; then :
11293
lt_cv_dlopen="dlopen"
11295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11296
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11297
if ${ac_cv_lib_dl_dlopen+:} false; then :
11298
$as_echo_n "(cached) " >&6
11300
ac_check_lib_save_LIBS=$LIBS
11302
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11303
/* end confdefs.h. */
11305
/* Override any GCC internal prototype to avoid an error.
11306
Use char because int might match the return type of a GCC
11307
builtin and then its argument prototype would still apply. */
11320
if ac_fn_c_try_link "$LINENO"; then :
11321
ac_cv_lib_dl_dlopen=yes
11323
ac_cv_lib_dl_dlopen=no
11325
rm -f core conftest.err conftest.$ac_objext \
11326
conftest$ac_exeext conftest.$ac_ext
11327
LIBS=$ac_check_lib_save_LIBS
11329
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11330
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11331
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11332
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11334
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11335
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11336
if ${ac_cv_lib_svld_dlopen+:} false; then :
11337
$as_echo_n "(cached) " >&6
11339
ac_check_lib_save_LIBS=$LIBS
11340
LIBS="-lsvld $LIBS"
11341
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11342
/* end confdefs.h. */
11344
/* Override any GCC internal prototype to avoid an error.
11345
Use char because int might match the return type of a GCC
11346
builtin and then its argument prototype would still apply. */
11359
if ac_fn_c_try_link "$LINENO"; then :
11360
ac_cv_lib_svld_dlopen=yes
11362
ac_cv_lib_svld_dlopen=no
11364
rm -f core conftest.err conftest.$ac_objext \
11365
conftest$ac_exeext conftest.$ac_ext
11366
LIBS=$ac_check_lib_save_LIBS
11368
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11369
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11370
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11371
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11374
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11375
if ${ac_cv_lib_dld_dld_link+:} false; then :
11376
$as_echo_n "(cached) " >&6
11378
ac_check_lib_save_LIBS=$LIBS
11380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381
/* end confdefs.h. */
11383
/* Override any GCC internal prototype to avoid an error.
11384
Use char because int might match the return type of a GCC
11385
builtin and then its argument prototype would still apply. */
11393
return dld_link ();
11398
if ac_fn_c_try_link "$LINENO"; then :
11399
ac_cv_lib_dld_dld_link=yes
11401
ac_cv_lib_dld_dld_link=no
11403
rm -f core conftest.err conftest.$ac_objext \
11404
conftest$ac_exeext conftest.$ac_ext
11405
LIBS=$ac_check_lib_save_LIBS
11407
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11408
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11409
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11410
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11431
if test "x$lt_cv_dlopen" != xno; then
11437
case $lt_cv_dlopen in
11439
save_CPPFLAGS="$CPPFLAGS"
11440
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11442
save_LDFLAGS="$LDFLAGS"
11443
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11446
LIBS="$lt_cv_dlopen_libs $LIBS"
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11449
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11450
if ${lt_cv_dlopen_self+:} false; then :
11451
$as_echo_n "(cached) " >&6
11453
if test "$cross_compiling" = yes; then :
11454
lt_cv_dlopen_self=cross
11456
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11457
lt_status=$lt_dlunknown
11458
cat > conftest.$ac_ext <<_LT_EOF
11459
#line $LINENO "configure"
11460
#include "confdefs.h"
11469
# define LT_DLGLOBAL RTLD_GLOBAL
11472
# define LT_DLGLOBAL DL_GLOBAL
11474
# define LT_DLGLOBAL 0
11478
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11479
find out it does not work in some platform. */
11480
#ifndef LT_DLLAZY_OR_NOW
11482
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11485
# define LT_DLLAZY_OR_NOW DL_LAZY
11488
# define LT_DLLAZY_OR_NOW RTLD_NOW
11491
# define LT_DLLAZY_OR_NOW DL_NOW
11493
# define LT_DLLAZY_OR_NOW 0
11500
/* When -fvisbility=hidden is used, assume the code has been annotated
11501
correspondingly for the symbols needed. */
11502
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11503
int fnord () __attribute__((visibility("default")));
11506
int fnord () { return 42; }
11509
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11510
int status = $lt_dlunknown;
11514
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11517
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11518
else puts (dlerror ());
11520
/* dlclose (self); */
11528
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11529
(eval $ac_link) 2>&5
11531
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11532
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11533
(./conftest; exit; ) >&5 2>/dev/null
11535
case x$lt_status in
11536
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11537
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11538
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11541
# compilation failed
11542
lt_cv_dlopen_self=no
11549
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11550
$as_echo "$lt_cv_dlopen_self" >&6; }
11552
if test "x$lt_cv_dlopen_self" = xyes; then
11553
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11555
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11556
if ${lt_cv_dlopen_self_static+:} false; then :
11557
$as_echo_n "(cached) " >&6
11559
if test "$cross_compiling" = yes; then :
11560
lt_cv_dlopen_self_static=cross
11562
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11563
lt_status=$lt_dlunknown
11564
cat > conftest.$ac_ext <<_LT_EOF
11565
#line $LINENO "configure"
11566
#include "confdefs.h"
11575
# define LT_DLGLOBAL RTLD_GLOBAL
11578
# define LT_DLGLOBAL DL_GLOBAL
11580
# define LT_DLGLOBAL 0
11584
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11585
find out it does not work in some platform. */
11586
#ifndef LT_DLLAZY_OR_NOW
11588
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11591
# define LT_DLLAZY_OR_NOW DL_LAZY
11594
# define LT_DLLAZY_OR_NOW RTLD_NOW
11597
# define LT_DLLAZY_OR_NOW DL_NOW
11599
# define LT_DLLAZY_OR_NOW 0
11606
/* When -fvisbility=hidden is used, assume the code has been annotated
11607
correspondingly for the symbols needed. */
11608
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11609
int fnord () __attribute__((visibility("default")));
11612
int fnord () { return 42; }
11615
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11616
int status = $lt_dlunknown;
11620
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11623
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11624
else puts (dlerror ());
11626
/* dlclose (self); */
11634
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11635
(eval $ac_link) 2>&5
11637
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11638
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11639
(./conftest; exit; ) >&5 2>/dev/null
11641
case x$lt_status in
11642
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11643
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11644
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11647
# compilation failed
11648
lt_cv_dlopen_self_static=no
11655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11656
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11659
CPPFLAGS="$save_CPPFLAGS"
11660
LDFLAGS="$save_LDFLAGS"
11665
case $lt_cv_dlopen_self in
11666
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11667
*) enable_dlopen_self=unknown ;;
11670
case $lt_cv_dlopen_self_static in
11671
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11672
*) enable_dlopen_self_static=unknown ;;
11694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11695
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11696
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11697
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11698
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11700
$as_echo "yes" >&6; }
11702
# FIXME - insert some real tests, host_os isn't really good enough
11705
if test -n "$STRIP" ; then
11706
striplib="$STRIP -x"
11707
old_striplib="$STRIP -S"
11708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11709
$as_echo "yes" >&6; }
11711
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11712
$as_echo "no" >&6; }
11716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11717
$as_echo "no" >&6; }
11733
# Report which library types will actually be built
11734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11735
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11737
$as_echo "$can_build_shared" >&6; }
11739
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11740
$as_echo_n "checking whether to build shared libraries... " >&6; }
11741
test "$can_build_shared" = "no" && enable_shared=no
11743
# On AIX, shared libraries and static libraries use the same namespace, and
11744
# are all built from PIC.
11747
test "$enable_shared" = yes && enable_static=no
11748
if test -n "$RANLIB"; then
11749
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11750
postinstall_cmds='$RANLIB $lib'
11755
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11756
test "$enable_shared" = yes && enable_static=no
11760
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11761
$as_echo "$enable_shared" >&6; }
11763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11764
$as_echo_n "checking whether to build static libraries... " >&6; }
11765
# Make sure either enable_shared or enable_static is yes.
11766
test "$enable_shared" = yes || enable_static=yes
11767
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11768
$as_echo "$enable_static" >&6; }
11775
ac_cpp='$CPP $CPPFLAGS'
11776
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11777
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11778
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11782
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11783
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11784
(test "X$CXX" != "Xg++"))) ; then
11786
ac_cpp='$CXXCPP $CPPFLAGS'
11787
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11790
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11791
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11792
if test -z "$CXXCPP"; then
11793
if ${ac_cv_prog_CXXCPP+:} false; then :
11794
$as_echo_n "(cached) " >&6
11796
# Double quotes because CXXCPP needs to be expanded
11797
for CXXCPP in "$CXX -E" "/lib/cpp"
11799
ac_preproc_ok=false
11800
for ac_cxx_preproc_warn_flag in '' yes
11802
# Use a header file that comes with gcc, so configuring glibc
11803
# with a fresh cross-compiler works.
11804
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11805
# <limits.h> exists even on freestanding compilers.
11806
# On the NeXT, cc -E runs the code through the compiler's parser,
11807
# not just through cpp. "Syntax error" is here to catch this case.
11808
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11809
/* end confdefs.h. */
11811
# include <limits.h>
11813
# include <assert.h>
11817
if ac_fn_cxx_try_cpp "$LINENO"; then :
11820
# Broken: fails on valid input.
11823
rm -f conftest.err conftest.i conftest.$ac_ext
11825
# OK, works on sane cases. Now check whether nonexistent headers
11826
# can be detected and how.
11827
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828
/* end confdefs.h. */
11829
#include <ac_nonexistent.h>
11831
if ac_fn_cxx_try_cpp "$LINENO"; then :
11832
# Broken: success on invalid input.
11835
# Passes both tests.
11839
rm -f conftest.err conftest.i conftest.$ac_ext
11842
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11843
rm -f conftest.i conftest.err conftest.$ac_ext
11844
if $ac_preproc_ok; then :
11849
ac_cv_prog_CXXCPP=$CXXCPP
11852
CXXCPP=$ac_cv_prog_CXXCPP
11854
ac_cv_prog_CXXCPP=$CXXCPP
11856
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11857
$as_echo "$CXXCPP" >&6; }
11858
ac_preproc_ok=false
11859
for ac_cxx_preproc_warn_flag in '' yes
11861
# Use a header file that comes with gcc, so configuring glibc
11862
# with a fresh cross-compiler works.
11863
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11864
# <limits.h> exists even on freestanding compilers.
11865
# On the NeXT, cc -E runs the code through the compiler's parser,
11866
# not just through cpp. "Syntax error" is here to catch this case.
11867
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11868
/* end confdefs.h. */
11870
# include <limits.h>
11872
# include <assert.h>
11876
if ac_fn_cxx_try_cpp "$LINENO"; then :
11879
# Broken: fails on valid input.
11882
rm -f conftest.err conftest.i conftest.$ac_ext
11884
# OK, works on sane cases. Now check whether nonexistent headers
11885
# can be detected and how.
11886
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11887
/* end confdefs.h. */
11888
#include <ac_nonexistent.h>
11890
if ac_fn_cxx_try_cpp "$LINENO"; then :
11891
# Broken: success on invalid input.
11894
# Passes both tests.
11898
rm -f conftest.err conftest.i conftest.$ac_ext
11901
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11902
rm -f conftest.i conftest.err conftest.$ac_ext
11903
if $ac_preproc_ok; then :
11906
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11907
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11908
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
11909
See \`config.log' for more details" "$LINENO" 5; }
11913
ac_cpp='$CPP $CPPFLAGS'
11914
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11919
_lt_caught_CXX_error=yes
11923
ac_cpp='$CXXCPP $CPPFLAGS'
11924
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11925
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11926
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928
archive_cmds_need_lc_CXX=no
11929
allow_undefined_flag_CXX=
11930
always_export_symbols_CXX=no
11931
archive_expsym_cmds_CXX=
11932
compiler_needs_object_CXX=no
11933
export_dynamic_flag_spec_CXX=
11934
hardcode_direct_CXX=no
11935
hardcode_direct_absolute_CXX=no
11936
hardcode_libdir_flag_spec_CXX=
11937
hardcode_libdir_separator_CXX=
11938
hardcode_minus_L_CXX=no
11939
hardcode_shlibpath_var_CXX=unsupported
11940
hardcode_automatic_CXX=no
11941
inherit_rpath_CXX=no
11943
module_expsym_cmds_CXX=
11944
link_all_deplibs_CXX=unknown
11945
old_archive_cmds_CXX=$old_archive_cmds
11946
reload_flag_CXX=$reload_flag
11947
reload_cmds_CXX=$reload_cmds
11948
no_undefined_flag_CXX=
11949
whole_archive_flag_spec_CXX=
11950
enable_shared_with_static_runtimes_CXX=no
11952
# Source file extension for C++ test sources.
11955
# Object file extension for compiled C++ test sources.
11959
# No sense in running all these tests if we already determined that
11960
# the CXX compiler isn't working. Some variables (like enable_shared)
11961
# are currently assumed to apply to all compilers on this platform,
11962
# and will be corrupted by setting them based on a non-working compiler.
11963
if test "$_lt_caught_CXX_error" != yes; then
11964
# Code to be used in simple compile tests
11965
lt_simple_compile_test_code="int some_variable = 0;"
11967
# Code to be used in simple link tests
11968
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11970
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11977
# If no C compiler was specified, use CC.
11980
# If no C compiler flags were specified, use CFLAGS.
11981
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11983
# Allow CC to be a program name with arguments.
11987
# save warnings/boilerplate of simple test code
11988
ac_outfile=conftest.$ac_objext
11989
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11990
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11991
_lt_compiler_boilerplate=`cat conftest.err`
11994
ac_outfile=conftest.$ac_objext
11995
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11996
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11997
_lt_linker_boilerplate=`cat conftest.err`
12001
# Allow CC to be a program name with arguments.
12003
lt_save_CFLAGS=$CFLAGS
12007
lt_save_with_gnu_ld=$with_gnu_ld
12008
lt_save_path_LD=$lt_cv_path_LD
12009
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12010
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12012
$as_unset lt_cv_prog_gnu_ld
12014
if test -n "${lt_cv_path_LDCXX+set}"; then
12015
lt_cv_path_LD=$lt_cv_path_LDCXX
12017
$as_unset lt_cv_path_LD
12019
test -z "${LDCXX+set}" || LD=$LDCXX
12024
for cc_temp in $compiler""; do
12026
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12027
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12032
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12035
if test -n "$compiler"; then
12036
# We don't want -fno-exception when compiling C++ code, so set the
12037
# no_builtin_flag separately
12038
if test "$GXX" = yes; then
12039
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12041
lt_prog_compiler_no_builtin_flag_CXX=
12044
if test "$GXX" = yes; then
12045
# Set up default GNU C++ configuration
12049
# Check whether --with-gnu-ld was given.
12050
if test "${with_gnu_ld+set}" = set; then :
12051
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12057
if test "$GCC" = yes; then
12058
# Check if gcc -print-prog-name=ld gives a path.
12059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12060
$as_echo_n "checking for ld used by $CC... " >&6; }
12063
# gcc leaves a trailing carriage return which upsets mingw
12064
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12066
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12069
# Accept absolute paths.
12071
re_direlt='/[^/][^/]*/\.\./'
12072
# Canonicalize the pathname of ld
12073
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12074
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12075
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12077
test -z "$LD" && LD="$ac_prog"
12080
# If it fails, then pretend we aren't using GCC.
12084
# If it is relative, then search for the first ld in PATH.
12085
with_gnu_ld=unknown
12088
elif test "$with_gnu_ld" = yes; then
12089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12090
$as_echo_n "checking for GNU ld... " >&6; }
12092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12093
$as_echo_n "checking for non-GNU ld... " >&6; }
12095
if ${lt_cv_path_LD+:} false; then :
12096
$as_echo_n "(cached) " >&6
12098
if test -z "$LD"; then
12099
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12100
for ac_dir in $PATH; do
12102
test -z "$ac_dir" && ac_dir=.
12103
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12104
lt_cv_path_LD="$ac_dir/$ac_prog"
12105
# Check to see if the program is GNU ld. I'd rather use --version,
12106
# but apparently some variants of GNU ld only accept -v.
12107
# Break only if it was the GNU/non-GNU ld that we prefer.
12108
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12109
*GNU* | *'with BFD'*)
12110
test "$with_gnu_ld" != no && break
12113
test "$with_gnu_ld" != yes && break
12120
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12124
LD="$lt_cv_path_LD"
12125
if test -n "$LD"; then
12126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12127
$as_echo "$LD" >&6; }
12129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12130
$as_echo "no" >&6; }
12132
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12134
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12135
if ${lt_cv_prog_gnu_ld+:} false; then :
12136
$as_echo_n "(cached) " >&6
12138
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12139
case `$LD -v 2>&1 </dev/null` in
12140
*GNU* | *'with BFD'*)
12141
lt_cv_prog_gnu_ld=yes
12144
lt_cv_prog_gnu_ld=no
12148
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12149
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12150
with_gnu_ld=$lt_cv_prog_gnu_ld
12158
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12159
# archiving commands below assume that GNU ld is being used.
12160
if test "$with_gnu_ld" = yes; then
12161
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12162
archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12164
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12165
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12167
# If archive_cmds runs LD, not CC, wlarc should be empty
12168
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12169
# investigate it a little bit more. (MM)
12172
# ancient GNU ld didn't support --whole-archive et. al.
12173
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12174
$GREP 'no-whole-archive' > /dev/null; then
12175
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12177
whole_archive_flag_spec_CXX=
12183
# A generic and very simple default shared library creation
12184
# command for GNU C++ for the case where it uses the native
12185
# linker, instead of GNU ld. If possible, this setting should
12186
# overridden to take advantage of the native linker features on
12187
# the platform it is being used on.
12188
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12191
# Commands to make compiler produce verbose output that lists
12192
# what "hidden" libraries, object files and flags are used when
12193
# linking a shared library.
12194
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12202
# PORTME: fill in a description of your system's C++ link characteristics
12203
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12204
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12208
# FIXME: insert proper C++ library support
12212
if test "$host_cpu" = ia64; then
12213
# On IA64, the linker does run time linking by default, so we don't
12214
# have to do anything special.
12215
aix_use_runtimelinking=no
12216
exp_sym_flag='-Bexport'
12219
aix_use_runtimelinking=no
12221
# Test if we are trying to use run time linking or normal
12222
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12223
# need to do runtime linking.
12224
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12225
for ld_flag in $LDFLAGS; do
12228
aix_use_runtimelinking=yes
12236
exp_sym_flag='-bexport'
12237
no_entry_flag='-bnoentry'
12240
# When large executables or shared objects are built, AIX ld can
12241
# have problems creating the table of contents. If linking a library
12242
# or program results in "error TOC overflow" add -mminimal-toc to
12243
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12244
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12246
archive_cmds_CXX=''
12247
hardcode_direct_CXX=yes
12248
hardcode_direct_absolute_CXX=yes
12249
hardcode_libdir_separator_CXX=':'
12250
link_all_deplibs_CXX=yes
12251
file_list_spec_CXX='${wl}-f,'
12253
if test "$GXX" = yes; then
12254
case $host_os in aix4.[012]|aix4.[012].*)
12255
# We only want to do this on AIX 4.2 and lower, the check
12256
# below for broken collect2 doesn't work under 4.3+
12257
collect2name=`${CC} -print-prog-name=collect2`
12258
if test -f "$collect2name" &&
12259
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12261
# We have reworked collect2
12264
# We have old collect2
12265
hardcode_direct_CXX=unsupported
12266
# It fails to find uninstalled libraries when the uninstalled
12267
# path is not listed in the libpath. Setting hardcode_minus_L
12268
# to unsupported forces relinking
12269
hardcode_minus_L_CXX=yes
12270
hardcode_libdir_flag_spec_CXX='-L$libdir'
12271
hardcode_libdir_separator_CXX=
12274
shared_flag='-shared'
12275
if test "$aix_use_runtimelinking" = yes; then
12276
shared_flag="$shared_flag "'${wl}-G'
12280
if test "$host_cpu" = ia64; then
12281
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12282
# chokes on -Wl,-G. The following line is correct:
12285
if test "$aix_use_runtimelinking" = yes; then
12286
shared_flag='${wl}-G'
12288
shared_flag='${wl}-bM:SRE'
12293
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12294
# It seems that -bexpall does not export symbols beginning with
12295
# underscore (_), so it is better to generate a list of symbols to
12297
always_export_symbols_CXX=yes
12298
if test "$aix_use_runtimelinking" = yes; then
12299
# Warning - without using the other runtime loading flags (-brtl),
12300
# -berok will link without error, but may produce a broken library.
12301
allow_undefined_flag_CXX='-berok'
12302
# Determine the default libpath from the value encoded in an empty
12304
if test "${lt_cv_aix_libpath+set}" = set; then
12305
aix_libpath=$lt_cv_aix_libpath
12307
if ${lt_cv_aix_libpath__CXX+:} false; then :
12308
$as_echo_n "(cached) " >&6
12310
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12311
/* end confdefs.h. */
12321
if ac_fn_cxx_try_link "$LINENO"; then :
12323
lt_aix_libpath_sed='
12324
/Import File Strings/,/^$/ {
12326
s/^0 *\([^ ]*\) *$/\1/
12330
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12331
# Check for a 64-bit object if we didn't find anything.
12332
if test -z "$lt_cv_aix_libpath__CXX"; then
12333
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12336
rm -f core conftest.err conftest.$ac_objext \
12337
conftest$ac_exeext conftest.$ac_ext
12338
if test -z "$lt_cv_aix_libpath__CXX"; then
12339
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12344
aix_libpath=$lt_cv_aix_libpath__CXX
12347
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12349
archive_expsym_cmds_CXX='$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"
12351
if test "$host_cpu" = ia64; then
12352
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12353
allow_undefined_flag_CXX="-z nodefs"
12354
archive_expsym_cmds_CXX="\$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"
12356
# Determine the default libpath from the value encoded in an
12357
# empty executable.
12358
if test "${lt_cv_aix_libpath+set}" = set; then
12359
aix_libpath=$lt_cv_aix_libpath
12361
if ${lt_cv_aix_libpath__CXX+:} false; then :
12362
$as_echo_n "(cached) " >&6
12364
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365
/* end confdefs.h. */
12375
if ac_fn_cxx_try_link "$LINENO"; then :
12377
lt_aix_libpath_sed='
12378
/Import File Strings/,/^$/ {
12380
s/^0 *\([^ ]*\) *$/\1/
12384
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12385
# Check for a 64-bit object if we didn't find anything.
12386
if test -z "$lt_cv_aix_libpath__CXX"; then
12387
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12390
rm -f core conftest.err conftest.$ac_objext \
12391
conftest$ac_exeext conftest.$ac_ext
12392
if test -z "$lt_cv_aix_libpath__CXX"; then
12393
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12398
aix_libpath=$lt_cv_aix_libpath__CXX
12401
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12402
# Warning - without using the other run time loading flags,
12403
# -berok will link without error, but may produce a broken library.
12404
no_undefined_flag_CXX=' ${wl}-bernotok'
12405
allow_undefined_flag_CXX=' ${wl}-berok'
12406
if test "$with_gnu_ld" = yes; then
12407
# We only use this code for GNU lds that support --whole-archive.
12408
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12410
# Exported symbols can be pulled into shared objects from archives
12411
whole_archive_flag_spec_CXX='$convenience'
12413
archive_cmds_need_lc_CXX=yes
12414
# This is similar to how AIX traditionally builds its shared
12416
archive_expsym_cmds_CXX="\$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'
12422
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12423
allow_undefined_flag_CXX=unsupported
12424
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12425
# support --undefined. This deserves some investigation. FIXME
12426
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12433
case $cc_basename in
12435
# FIXME: insert proper C++ library support
12441
cygwin* | mingw* | pw32* | cegcc*)
12442
case $GXX,$cc_basename in
12445
# hardcode_libdir_flag_spec is actually meaningless, as there is
12446
# no search path for DLLs.
12447
hardcode_libdir_flag_spec_CXX=' '
12448
allow_undefined_flag_CXX=unsupported
12449
always_export_symbols_CXX=yes
12450
file_list_spec_CXX='@'
12451
# Tell ltmain to make .lib files, not .a files.
12453
# Tell ltmain to make .dll files, not .so files.
12455
# FIXME: Setting linknames here is a bad hack.
12456
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12457
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12458
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12460
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12462
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12464
# The linker will not automatically build a static lib if we build a DLL.
12465
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12466
enable_shared_with_static_runtimes_CXX=yes
12468
old_postinstall_cmds_CXX='chmod 644 $oldlib'
12469
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12470
lt_tool_outputfile="@TOOL_OUTPUT@"~
12471
case $lt_outputfile in
12474
lt_outputfile="$lt_outputfile.exe"
12475
lt_tool_outputfile="$lt_tool_outputfile.exe"
12478
func_to_tool_file "$lt_outputfile"~
12479
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12480
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12481
$RM "$lt_outputfile.manifest";
12486
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12487
# as there is no search path for DLLs.
12488
hardcode_libdir_flag_spec_CXX='-L$libdir'
12489
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12490
allow_undefined_flag_CXX=unsupported
12491
always_export_symbols_CXX=no
12492
enable_shared_with_static_runtimes_CXX=yes
12494
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12495
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12496
# If the export-symbols file already is a .def file (1st line
12497
# is EXPORTS), use it as is; otherwise, prepend...
12498
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12499
cp $export_symbols $output_objdir/$soname.def;
12501
echo EXPORTS > $output_objdir/$soname.def;
12502
cat $export_symbols >> $output_objdir/$soname.def;
12504
$CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12511
darwin* | rhapsody*)
12514
archive_cmds_need_lc_CXX=no
12515
hardcode_direct_CXX=no
12516
hardcode_automatic_CXX=yes
12517
hardcode_shlibpath_var_CXX=unsupported
12518
if test "$lt_cv_ld_force_load" = "yes"; then
12519
whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12522
whole_archive_flag_spec_CXX=''
12524
link_all_deplibs_CXX=yes
12525
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12526
case $cc_basename in
12527
ifort*) _lt_dar_can_shared=yes ;;
12528
*) _lt_dar_can_shared=$GCC ;;
12530
if test "$_lt_dar_can_shared" = "yes"; then
12531
output_verbose_link_cmd=func_echo_all
12532
archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12533
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12534
archive_expsym_cmds_CXX="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}"
12535
module_expsym_cmds_CXX="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}"
12536
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12537
archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12538
archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12548
case $cc_basename in
12550
# FIXME: insert proper C++ library support
12554
# Green Hills C++ Compiler
12555
# FIXME: insert proper C++ library support
12559
# FIXME: insert proper C++ library support
12566
# C++ shared libraries reported to be fairly broken before
12572
archive_cmds_need_lc_CXX=no
12575
freebsd* | dragonfly*)
12576
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12585
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12586
link_all_deplibs_CXX=yes
12590
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12591
hardcode_libdir_separator_CXX=:
12592
export_dynamic_flag_spec_CXX='${wl}-E'
12593
hardcode_direct_CXX=yes
12594
hardcode_minus_L_CXX=yes # Not in the search PATH,
12595
# but as the default
12596
# location of the library.
12598
case $cc_basename in
12600
# FIXME: insert proper C++ library support
12604
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12605
# Commands to make compiler produce verbose output that lists
12606
# what "hidden" libraries, object files and flags are used when
12607
# linking a shared library.
12609
# There doesn't appear to be a way to prevent this compiler from
12610
# explicitly linking system object files so we need to strip them
12611
# from the output so that they don't get included in the library
12613
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12616
if test "$GXX" = yes; then
12617
archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12619
# FIXME: insert proper C++ library support
12627
if test $with_gnu_ld = no; then
12628
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12629
hardcode_libdir_separator_CXX=:
12635
export_dynamic_flag_spec_CXX='${wl}-E'
12641
hardcode_direct_CXX=no
12642
hardcode_shlibpath_var_CXX=no
12645
hardcode_direct_CXX=yes
12646
hardcode_direct_absolute_CXX=yes
12647
hardcode_minus_L_CXX=yes # Not in the search PATH,
12648
# but as the default
12649
# location of the library.
12653
case $cc_basename in
12655
# FIXME: insert proper C++ library support
12661
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12667
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670
# Commands to make compiler produce verbose output that lists
12671
# what "hidden" libraries, object files and flags are used when
12672
# linking a shared library.
12674
# There doesn't appear to be a way to prevent this compiler from
12675
# explicitly linking system object files so we need to strip them
12676
# from the output so that they don't get included in the library
12678
output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12681
if test "$GXX" = yes; then
12682
if test $with_gnu_ld = no; then
12685
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12688
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12691
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12696
# FIXME: insert proper C++ library support
12704
hardcode_direct_CXX=no
12705
hardcode_shlibpath_var_CXX=no
12706
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12707
export_dynamic_flag_spec_CXX='${wl}-E'
12708
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12709
# Instead, shared libraries are loaded at an image base (0x10000000 by
12710
# default) and relocated if they conflict, which is a slow very memory
12711
# consuming and fragmenting process. To avoid this, we pick a random,
12712
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12713
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12714
archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12715
archive_expsym_cmds_CXX='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'
12718
case $cc_basename in
12721
archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12723
# Archives containing C++ object files must be created using
12724
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12725
# necessary to make sure instantiated templates are included
12727
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12730
if test "$GXX" = yes; then
12731
if test "$with_gnu_ld" = no; then
12732
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
12734
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12737
link_all_deplibs_CXX=yes
12740
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12741
hardcode_libdir_separator_CXX=:
12742
inherit_rpath_CXX=yes
12745
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12746
case $cc_basename in
12748
# Kuck and Associates, Inc. (KAI) C++ Compiler
12750
# KCC will only create a shared library if the output file
12751
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12752
# to its proper name (with version) after linking.
12753
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12754
archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12755
# Commands to make compiler produce verbose output that lists
12756
# what "hidden" libraries, object files and flags are used when
12757
# linking a shared library.
12759
# There doesn't appear to be a way to prevent this compiler from
12760
# explicitly linking system object files so we need to strip them
12761
# from the output so that they don't get included in the library
12763
output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12765
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12766
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12768
# Archives containing C++ object files must be created using
12769
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12770
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12775
# version 8.0 and above of icpc choke on multiply defined symbols
12776
# if we add $predep_objects and $postdep_objects, however 7.1 and
12777
# earlier do not add the objects themselves.
12778
case `$CC -V 2>&1` in
12780
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12781
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12783
*) # Version 8.0 or newer
12786
ia64*) tmp_idyn=' -i_dynamic';;
12788
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12789
archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12792
archive_cmds_need_lc_CXX=no
12793
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12794
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12795
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12798
# Portland Group C++ compiler
12800
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12801
prelink_cmds_CXX='tpldir=Template.dir~
12803
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12804
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12805
old_archive_cmds_CXX='tpldir=Template.dir~
12807
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12808
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12810
archive_cmds_CXX='tpldir=Template.dir~
12812
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12813
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12814
archive_expsym_cmds_CXX='tpldir=Template.dir~
12816
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12817
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12819
*) # Version 6 and above use weak symbols
12820
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12825
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12826
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12827
whole_archive_flag_spec_CXX='${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'
12831
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12832
archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12834
runpath_var=LD_RUN_PATH
12835
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12836
hardcode_libdir_separator_CXX=:
12838
# Commands to make compiler produce verbose output that lists
12839
# what "hidden" libraries, object files and flags are used when
12840
# linking a shared library.
12842
# There doesn't appear to be a way to prevent this compiler from
12843
# explicitly linking system object files so we need to strip them
12844
# from the output so that they don't get included in the library
12846
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12848
xl* | mpixl* | bgxl*)
12849
# IBM XL 8.0 on PPC, with GNU ld
12850
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12851
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12852
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853
if test "x$supports_anon_versioning" = xyes; then
12854
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12855
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12856
echo "local: *; };" >> $output_objdir/$libname.ver~
12857
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12861
case `$CC -V 2>&1 | sed 5q` in
12864
no_undefined_flag_CXX=' -zdefs'
12865
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12866
archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12867
hardcode_libdir_flag_spec_CXX='-R$libdir'
12868
whole_archive_flag_spec_CXX='${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'
12869
compiler_needs_object_CXX=yes
12871
# Not sure whether something based on
12872
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12874
output_verbose_link_cmd='func_echo_all'
12876
# Archives containing C++ object files must be created using
12877
# "CC -xar", where "CC" is the Sun C++ compiler. This is
12878
# necessary to make sure instantiated templates are included
12880
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12888
# FIXME: insert proper C++ library support
12893
# FIXME: insert proper C++ library support
12898
case $cc_basename in
12900
# FIXME: insert proper C++ library support
12904
# FIXME: insert proper C++ library support
12911
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12912
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12914
hardcode_libdir_flag_spec_CXX='-R$libdir'
12915
hardcode_direct_CXX=yes
12916
hardcode_shlibpath_var_CXX=no
12918
# Workaround some broken pre-1.5 toolchains
12919
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12927
# C++ shared libraries are fairly broken
12932
if test -f /usr/libexec/ld.so; then
12933
hardcode_direct_CXX=yes
12934
hardcode_shlibpath_var_CXX=no
12935
hardcode_direct_absolute_CXX=yes
12936
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12937
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12938
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12939
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12940
export_dynamic_flag_spec_CXX='${wl}-E'
12941
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12943
output_verbose_link_cmd=func_echo_all
12949
osf3* | osf4* | osf5*)
12950
case $cc_basename in
12952
# Kuck and Associates, Inc. (KAI) C++ Compiler
12954
# KCC will only create a shared library if the output file
12955
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12956
# to its proper name (with version) after linking.
12957
archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12959
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12960
hardcode_libdir_separator_CXX=:
12962
# Archives containing C++ object files must be created using
12963
# the KAI C++ compiler.
12965
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12966
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12970
# Rational C++ 2.4.1
12971
# FIXME: insert proper C++ library support
12977
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12978
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12979
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982
allow_undefined_flag_CXX=' -expect_unresolved \*'
12983
archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12984
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12985
echo "-hidden">> $lib.exp~
12986
$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12988
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992
hardcode_libdir_separator_CXX=:
12994
# Commands to make compiler produce verbose output that lists
12995
# what "hidden" libraries, object files and flags are used when
12996
# linking a shared library.
12998
# There doesn't appear to be a way to prevent this compiler from
12999
# explicitly linking system object files so we need to strip them
13000
# from the output so that they don't get included in the library
13002
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13005
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13006
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009
archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13012
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13016
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13017
hardcode_libdir_separator_CXX=:
13019
# Commands to make compiler produce verbose output that lists
13020
# what "hidden" libraries, object files and flags are used when
13021
# linking a shared library.
13022
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13025
# FIXME: insert proper C++ library support
13033
# FIXME: insert proper C++ library support
13038
case $cc_basename in
13041
# FIXME: insert proper C++ library support
13046
# FIXME: insert proper C++ library support
13050
# FIXME: insert proper C++ library support
13057
case $cc_basename in
13059
# Sun C++ 4.2, 5.x and Centerline C++
13060
archive_cmds_need_lc_CXX=yes
13061
no_undefined_flag_CXX=' -zdefs'
13062
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13063
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13064
$CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13066
hardcode_libdir_flag_spec_CXX='-R$libdir'
13067
hardcode_shlibpath_var_CXX=no
13069
solaris2.[0-5] | solaris2.[0-5].*) ;;
13071
# The compiler driver will combine and reorder linker options,
13072
# but understands `-z linker_flag'.
13073
# Supported since Solaris 2.6 (maybe 2.5.1?)
13074
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13077
link_all_deplibs_CXX=yes
13079
output_verbose_link_cmd='func_echo_all'
13081
# Archives containing C++ object files must be created using
13082
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13083
# necessary to make sure instantiated templates are included
13085
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13088
# Green Hills C++ Compiler
13089
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13091
# The C++ compiler must be used to create the archive.
13092
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13095
# GNU C++ compiler with Solaris linker
13096
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13097
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13098
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13099
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103
# Commands to make compiler produce verbose output that lists
13104
# what "hidden" libraries, object files and flags are used when
13105
# linking a shared library.
13106
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13108
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13110
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13111
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13112
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13114
# Commands to make compiler produce verbose output that lists
13115
# what "hidden" libraries, object files and flags are used when
13116
# linking a shared library.
13117
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13120
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13122
solaris2.[0-5] | solaris2.[0-5].*) ;;
13124
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13132
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13133
no_undefined_flag_CXX='${wl}-z,text'
13134
archive_cmds_need_lc_CXX=no
13135
hardcode_shlibpath_var_CXX=no
13136
runpath_var='LD_RUN_PATH'
13138
case $cc_basename in
13140
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13141
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13145
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13150
sysv5* | sco3.2v5* | sco5v6*)
13151
# Note: We can NOT use -z defs as we might desire, because we do not
13152
# link with -lc, and that would cause any symbols used from libc to
13153
# always be unresolved, which means just about no library would
13154
# ever link correctly. If we're not using GNU ld we use -z text
13155
# though, which does catch some bad symbols but isn't as heavy-handed
13157
no_undefined_flag_CXX='${wl}-z,text'
13158
allow_undefined_flag_CXX='${wl}-z,nodefs'
13159
archive_cmds_need_lc_CXX=no
13160
hardcode_shlibpath_var_CXX=no
13161
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13162
hardcode_libdir_separator_CXX=':'
13163
link_all_deplibs_CXX=yes
13164
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13165
runpath_var='LD_RUN_PATH'
13167
case $cc_basename in
13169
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13170
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13171
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13172
'"$old_archive_cmds_CXX"
13173
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13174
'"$reload_cmds_CXX"
13177
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13178
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13184
case $cc_basename in
13186
# NonStop-UX NCC 3.20
13187
# FIXME: insert proper C++ library support
13191
# FIXME: insert proper C++ library support
13198
# FIXME: insert proper C++ library support
13203
# FIXME: insert proper C++ library support
13208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13209
$as_echo "$ld_shlibs_CXX" >&6; }
13210
test "$ld_shlibs_CXX" = no && can_build_shared=no
13216
## There is no encapsulation within the following macros, do not change
13217
## the running order or otherwise move them around unless you know exactly
13218
## what you are doing...
13219
# Dependencies to place before and after the object being linked:
13220
predep_objects_CXX=
13221
postdep_objects_CXX=
13224
compiler_lib_search_path_CXX=
13226
cat > conftest.$ac_ext <<_LT_EOF
13230
Foo (void) { a = 0; }
13237
_lt_libdeps_save_CFLAGS=$CFLAGS
13238
case "$CC $CFLAGS " in #(
13239
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13240
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13241
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13244
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13245
(eval $ac_compile) 2>&5
13247
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13248
test $ac_status = 0; }; then
13249
# Parse the compiler output and extract the necessary
13250
# objects, libraries and library flags.
13252
# Sentinel used to keep track of whether or not we are before
13253
# the conftest object file.
13254
pre_test_object_deps_done=no
13256
for p in `eval "$output_verbose_link_cmd"`; do
13257
case ${prev}${p} in
13260
# Some compilers place space between "-{L,R}" and the path.
13261
# Remove the space.
13262
if test $p = "-L" ||
13263
test $p = "-R"; then
13268
# Expand the sysroot to ease extracting the directories later.
13269
if test -z "$prev"; then
13271
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13272
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13273
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13277
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13279
if test "$pre_test_object_deps_done" = no; then
13282
# Internal compiler library paths should come after those
13283
# provided the user. The postdeps already come after the
13284
# user supplied libs so there is no need to process them.
13285
if test -z "$compiler_lib_search_path_CXX"; then
13286
compiler_lib_search_path_CXX="${prev}${p}"
13288
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13291
# The "-l" case would never come before the object being
13292
# linked, so don't bother handling this case.
13295
if test -z "$postdeps_CXX"; then
13296
postdeps_CXX="${prev}${p}"
13298
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13304
*.lto.$objext) ;; # Ignore GCC LTO objects
13306
# This assumes that the test object file only shows up
13307
# once in the compiler output.
13308
if test "$p" = "conftest.$objext"; then
13309
pre_test_object_deps_done=yes
13313
if test "$pre_test_object_deps_done" = no; then
13314
if test -z "$predep_objects_CXX"; then
13315
predep_objects_CXX="$p"
13317
predep_objects_CXX="$predep_objects_CXX $p"
13320
if test -z "$postdep_objects_CXX"; then
13321
postdep_objects_CXX="$p"
13323
postdep_objects_CXX="$postdep_objects_CXX $p"
13328
*) ;; # Ignore the rest.
13336
echo "libtool.m4: error: problem compiling CXX test program"
13339
$RM -f confest.$objext
13340
CFLAGS=$_lt_libdeps_save_CFLAGS
13342
# PORTME: override above test on systems where it is broken
13345
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13346
# hack all around it, let's just trust "g++" to DTRT.
13347
predep_objects_CXX=
13348
postdep_objects_CXX=
13353
case `$CC -V 2>&1 | sed 5q` in
13357
# The more standards-conforming stlport4 library is
13358
# incompatible with the Cstd library. Avoid specifying
13359
# it if it's in CXXFLAGS. Ignore libCrun as
13360
# -library=stlport4 depends on it.
13361
case " $CXX $CXXFLAGS " in
13362
*" -library=stlport4 "*)
13363
solaris_use_stlport4=yes
13367
if test "$solaris_use_stlport4" != yes; then
13368
postdeps_CXX='-library=Cstd -library=Crun'
13375
case $cc_basename in
13377
# The more standards-conforming stlport4 library is
13378
# incompatible with the Cstd library. Avoid specifying
13379
# it if it's in CXXFLAGS. Ignore libCrun as
13380
# -library=stlport4 depends on it.
13381
case " $CXX $CXXFLAGS " in
13382
*" -library=stlport4 "*)
13383
solaris_use_stlport4=yes
13387
# Adding this requires a known-good setup of shared libraries for
13388
# Sun compiler versions before 5.6, else PIC objects from an old
13389
# archive will be linked into the output, leading to subtle bugs.
13390
if test "$solaris_use_stlport4" != yes; then
13391
postdeps_CXX='-library=Cstd -library=Crun'
13399
case " $postdeps_CXX " in
13400
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13402
compiler_lib_search_dirs_CXX=
13403
if test -n "${compiler_lib_search_path_CXX}"; then
13404
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13437
lt_prog_compiler_wl_CXX=
13438
lt_prog_compiler_pic_CXX=
13439
lt_prog_compiler_static_CXX=
13442
# C++ specific cases for pic, static, wl, etc.
13443
if test "$GXX" = yes; then
13444
lt_prog_compiler_wl_CXX='-Wl,'
13445
lt_prog_compiler_static_CXX='-static'
13449
# All AIX code is PIC.
13450
if test "$host_cpu" = ia64; then
13451
# AIX 5 now supports IA64 processor
13452
lt_prog_compiler_static_CXX='-Bstatic'
13459
# see comment about AmigaOS4 .so support
13460
lt_prog_compiler_pic_CXX='-fPIC'
13463
# FIXME: we need at least 68020 code to build shared libraries, but
13464
# adding the `-m68020' flag to GCC prevents building anything better,
13466
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13471
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13472
# PIC is the default for these OSes.
13474
mingw* | cygwin* | os2* | pw32* | cegcc*)
13475
# This hack is so that the source file can tell whether it is being
13476
# built for inclusion in a dll (and should export symbols for example).
13477
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13478
# (--disable-auto-import) libraries
13479
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13481
darwin* | rhapsody*)
13482
# PIC is the default on this platform
13483
# Common symbols not allowed in MH_DYLIB files
13484
lt_prog_compiler_pic_CXX='-fno-common'
13487
# DJGPP does not support shared libraries at all
13488
lt_prog_compiler_pic_CXX=
13491
# PIC is the default for Haiku.
13492
# The "-static" flag exists, but is broken.
13493
lt_prog_compiler_static_CXX=
13496
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13497
# Instead, we relocate shared libraries at runtime.
13500
if test -d /usr/nec; then
13501
lt_prog_compiler_pic_CXX=-Kconform_pic
13505
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13506
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13507
# sets the default TLS model and affects inlining.
13512
lt_prog_compiler_pic_CXX='-fPIC'
13517
# QNX uses GNU C++, but need to define -shared option too, otherwise
13518
# it will coredump.
13519
lt_prog_compiler_pic_CXX='-fPIC -shared'
13522
lt_prog_compiler_pic_CXX='-fPIC'
13528
# All AIX code is PIC.
13529
if test "$host_cpu" = ia64; then
13530
# AIX 5 now supports IA64 processor
13531
lt_prog_compiler_static_CXX='-Bstatic'
13533
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13537
case $cc_basename in
13539
# Green Hills C++ Compiler
13540
# _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13544
mingw* | cygwin* | os2* | pw32* | cegcc*)
13545
# This hack is so that the source file can tell whether it is being
13546
# built for inclusion in a dll (and should export symbols for example).
13547
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13550
case $cc_basename in
13552
lt_prog_compiler_pic_CXX='-KPIC'
13555
# Green Hills C++ Compiler
13556
lt_prog_compiler_pic_CXX='-pic'
13562
freebsd* | dragonfly*)
13563
# FreeBSD uses GNU C++
13565
hpux9* | hpux10* | hpux11*)
13566
case $cc_basename in
13568
lt_prog_compiler_wl_CXX='-Wl,'
13569
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13570
if test "$host_cpu" != ia64; then
13571
lt_prog_compiler_pic_CXX='+Z'
13575
lt_prog_compiler_wl_CXX='-Wl,'
13576
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13582
lt_prog_compiler_pic_CXX='+Z'
13591
# This is c89, which is MS Visual C++ (no shared libs)
13592
# Anyone wants to do a port?
13594
irix5* | irix6* | nonstopux*)
13595
case $cc_basename in
13597
lt_prog_compiler_wl_CXX='-Wl,'
13598
lt_prog_compiler_static_CXX='-non_shared'
13599
# CC pic flag -KPIC is the default.
13605
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13606
case $cc_basename in
13609
lt_prog_compiler_wl_CXX='--backend -Wl,'
13610
lt_prog_compiler_pic_CXX='-fPIC'
13613
# old Intel C++ for x86_64 which still supported -KPIC.
13614
lt_prog_compiler_wl_CXX='-Wl,'
13615
lt_prog_compiler_pic_CXX='-KPIC'
13616
lt_prog_compiler_static_CXX='-static'
13619
# Intel C++, used to be incompatible with GCC.
13620
# ICC 10 doesn't accept -KPIC any more.
13621
lt_prog_compiler_wl_CXX='-Wl,'
13622
lt_prog_compiler_pic_CXX='-fPIC'
13623
lt_prog_compiler_static_CXX='-static'
13626
# Portland Group C++ compiler
13627
lt_prog_compiler_wl_CXX='-Wl,'
13628
lt_prog_compiler_pic_CXX='-fpic'
13629
lt_prog_compiler_static_CXX='-Bstatic'
13633
# Make sure the PIC flag is empty. It appears that all Alpha
13634
# Linux and Compaq Tru64 Unix objects are PIC.
13635
lt_prog_compiler_pic_CXX=
13636
lt_prog_compiler_static_CXX='-non_shared'
13638
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13639
# IBM XL 8.0, 9.0 on PPC and BlueGene
13640
lt_prog_compiler_wl_CXX='-Wl,'
13641
lt_prog_compiler_pic_CXX='-qpic'
13642
lt_prog_compiler_static_CXX='-qstaticlink'
13645
case `$CC -V 2>&1 | sed 5q` in
13648
lt_prog_compiler_pic_CXX='-KPIC'
13649
lt_prog_compiler_static_CXX='-Bstatic'
13650
lt_prog_compiler_wl_CXX='-Qoption ld '
13661
case $cc_basename in
13663
lt_prog_compiler_pic_CXX='-W c,exportall'
13669
netbsd* | netbsdelf*-gnu)
13672
# QNX uses GNU C++, but need to define -shared option too, otherwise
13673
# it will coredump.
13674
lt_prog_compiler_pic_CXX='-fPIC -shared'
13676
osf3* | osf4* | osf5*)
13677
case $cc_basename in
13679
lt_prog_compiler_wl_CXX='--backend -Wl,'
13682
# Rational C++ 2.4.1
13683
lt_prog_compiler_pic_CXX='-pic'
13686
# Digital/Compaq C++
13687
lt_prog_compiler_wl_CXX='-Wl,'
13688
# Make sure the PIC flag is empty. It appears that all Alpha
13689
# Linux and Compaq Tru64 Unix objects are PIC.
13690
lt_prog_compiler_pic_CXX=
13691
lt_prog_compiler_static_CXX='-non_shared'
13700
case $cc_basename in
13702
# Sun C++ 4.2, 5.x and Centerline C++
13703
lt_prog_compiler_pic_CXX='-KPIC'
13704
lt_prog_compiler_static_CXX='-Bstatic'
13705
lt_prog_compiler_wl_CXX='-Qoption ld '
13708
# Green Hills C++ Compiler
13709
lt_prog_compiler_pic_CXX='-PIC'
13716
case $cc_basename in
13719
lt_prog_compiler_pic_CXX='-pic'
13720
lt_prog_compiler_static_CXX='-Bstatic'
13724
lt_prog_compiler_pic_CXX='-pic'
13730
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13731
case $cc_basename in
13733
lt_prog_compiler_wl_CXX='-Wl,'
13734
lt_prog_compiler_pic_CXX='-KPIC'
13735
lt_prog_compiler_static_CXX='-Bstatic'
13740
case $cc_basename in
13742
# NonStop-UX NCC 3.20
13743
lt_prog_compiler_pic_CXX='-KPIC'
13752
lt_prog_compiler_can_build_shared_CXX=no
13758
# For platforms which do not support PIC, -DPIC is meaningless:
13760
lt_prog_compiler_pic_CXX=
13763
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13767
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13768
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13769
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13770
$as_echo_n "(cached) " >&6
13772
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13775
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13776
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13779
# Check to make sure the PIC flag actually works.
13781
if test -n "$lt_prog_compiler_pic_CXX"; then
13782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13783
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13784
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13785
$as_echo_n "(cached) " >&6
13787
lt_cv_prog_compiler_pic_works_CXX=no
13788
ac_outfile=conftest.$ac_objext
13789
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13790
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13791
# Insert the option either (1) after the last *FLAGS variable, or
13792
# (2) before a word containing "conftest.", or (3) at the end.
13793
# Note that $ac_compile itself does not contain backslashes and begins
13794
# with a dollar sign (not a hyphen), so the echo should work correctly.
13795
# The option is referenced via a variable to avoid confusing sed.
13796
lt_compile=`echo "$ac_compile" | $SED \
13797
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13798
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13799
-e 's:$: $lt_compiler_flag:'`
13800
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13801
(eval "$lt_compile" 2>conftest.err)
13803
cat conftest.err >&5
13804
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805
if (exit $ac_status) && test -s "$ac_outfile"; then
13806
# The compiler can only warn and ignore the option if not recognized
13807
# So say no if there are warnings other than the usual output.
13808
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13809
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13810
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13811
lt_cv_prog_compiler_pic_works_CXX=yes
13817
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13818
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13820
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13821
case $lt_prog_compiler_pic_CXX in
13823
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13826
lt_prog_compiler_pic_CXX=
13827
lt_prog_compiler_can_build_shared_CXX=no
13837
# Check to make sure the static flag actually works.
13839
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13840
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13841
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13842
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13843
$as_echo_n "(cached) " >&6
13845
lt_cv_prog_compiler_static_works_CXX=no
13846
save_LDFLAGS="$LDFLAGS"
13847
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13848
echo "$lt_simple_link_test_code" > conftest.$ac_ext
13849
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13850
# The linker can only warn and ignore the option if not recognized
13851
# So say no if there are warnings
13852
if test -s conftest.err; then
13853
# Append any errors to the config.log.
13854
cat conftest.err 1>&5
13855
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13856
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13857
if diff conftest.exp conftest.er2 >/dev/null; then
13858
lt_cv_prog_compiler_static_works_CXX=yes
13861
lt_cv_prog_compiler_static_works_CXX=yes
13865
LDFLAGS="$save_LDFLAGS"
13868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13869
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13871
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13874
lt_prog_compiler_static_CXX=
13880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13881
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13882
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13883
$as_echo_n "(cached) " >&6
13885
lt_cv_prog_compiler_c_o_CXX=no
13886
$RM -r conftest 2>/dev/null
13890
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13892
lt_compiler_flag="-o out/conftest2.$ac_objext"
13893
# Insert the option either (1) after the last *FLAGS variable, or
13894
# (2) before a word containing "conftest.", or (3) at the end.
13895
# Note that $ac_compile itself does not contain backslashes and begins
13896
# with a dollar sign (not a hyphen), so the echo should work correctly.
13897
lt_compile=`echo "$ac_compile" | $SED \
13898
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13899
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13900
-e 's:$: $lt_compiler_flag:'`
13901
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13902
(eval "$lt_compile" 2>out/conftest.err)
13904
cat out/conftest.err >&5
13905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13908
# The compiler can only warn and ignore the option if not recognized
13909
# So say no if there are warnings
13910
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13911
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13912
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13913
lt_cv_prog_compiler_c_o_CXX=yes
13918
# SGI C++ compiler will create directory out/ii_files/ for
13919
# template instantiation
13920
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13921
$RM out/* && rmdir out
13927
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13928
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13933
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13934
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13935
$as_echo_n "(cached) " >&6
13937
lt_cv_prog_compiler_c_o_CXX=no
13938
$RM -r conftest 2>/dev/null
13942
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13944
lt_compiler_flag="-o out/conftest2.$ac_objext"
13945
# Insert the option either (1) after the last *FLAGS variable, or
13946
# (2) before a word containing "conftest.", or (3) at the end.
13947
# Note that $ac_compile itself does not contain backslashes and begins
13948
# with a dollar sign (not a hyphen), so the echo should work correctly.
13949
lt_compile=`echo "$ac_compile" | $SED \
13950
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13951
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13952
-e 's:$: $lt_compiler_flag:'`
13953
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13954
(eval "$lt_compile" 2>out/conftest.err)
13956
cat out/conftest.err >&5
13957
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13958
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13960
# The compiler can only warn and ignore the option if not recognized
13961
# So say no if there are warnings
13962
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13963
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13964
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13965
lt_cv_prog_compiler_c_o_CXX=yes
13970
# SGI C++ compiler will create directory out/ii_files/ for
13971
# template instantiation
13972
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13973
$RM out/* && rmdir out
13979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13980
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13985
hard_links="nottested"
13986
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13987
# do not overwrite the value of need_locks provided by the user
13988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13989
$as_echo_n "checking if we can lock with hard links... " >&6; }
13992
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13994
ln conftest.a conftest.b 2>&5 || hard_links=no
13995
ln conftest.a conftest.b 2>/dev/null && hard_links=no
13996
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13997
$as_echo "$hard_links" >&6; }
13998
if test "$hard_links" = no; then
13999
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14000
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14010
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14012
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14013
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14016
# If we're using GNU nm, then we don't want the "-C" option.
14017
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14018
# Also, AIX nm treats weak defined symbols like other global defined
14019
# symbols, whereas GNU nm marks them as "W".
14020
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14021
export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14023
export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14027
export_symbols_cmds_CXX="$ltdll_cmds"
14029
cygwin* | mingw* | cegcc*)
14030
case $cc_basename in
14032
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14035
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14036
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14040
linux* | k*bsd*-gnu | gnu*)
14041
link_all_deplibs_CXX=no
14044
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14048
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14049
$as_echo "$ld_shlibs_CXX" >&6; }
14050
test "$ld_shlibs_CXX" = no && can_build_shared=no
14052
with_gnu_ld_CXX=$with_gnu_ld
14060
# Do we need to explicitly link libc?
14062
case "x$archive_cmds_need_lc_CXX" in
14064
# Assume -lc should be added
14065
archive_cmds_need_lc_CXX=yes
14067
if test "$enable_shared" = yes && test "$GCC" = yes; then
14068
case $archive_cmds_CXX in
14070
# FIXME: we may have to deal with multi-command sequences.
14073
# Test whether the compiler implicitly links with -lc since on some
14074
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14075
# to ld, don't add -lc before -lgcc.
14076
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14077
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14078
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14079
$as_echo_n "(cached) " >&6
14082
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14084
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14085
(eval $ac_compile) 2>&5
14087
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14088
test $ac_status = 0; } 2>conftest.err; then
14091
libobjs=conftest.$ac_objext
14093
wl=$lt_prog_compiler_wl_CXX
14094
pic_flag=$lt_prog_compiler_pic_CXX
14100
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14101
allow_undefined_flag_CXX=
14102
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14103
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14105
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14106
test $ac_status = 0; }
14108
lt_cv_archive_cmds_need_lc_CXX=no
14110
lt_cv_archive_cmds_need_lc_CXX=yes
14112
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14114
cat conftest.err 1>&5
14119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14120
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14121
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14189
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14190
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14192
library_names_spec=
14193
libname_spec='lib$name'
14197
postuninstall_cmds=
14201
shlibpath_overrides_runpath=unknown
14203
dynamic_linker="$host_os ld.so"
14204
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14205
need_lib_prefix=unknown
14206
hardcode_into_libs=no
14208
# when you set need_version to no, make sure it does not cause -set_version
14209
# flags to be left without arguments
14210
need_version=unknown
14214
version_type=linux # correct to gnu/linux during the next big refactor
14215
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14216
shlibpath_var=LIBPATH
14218
# AIX 3 has no versioning support, so we append a major version to the name.
14219
soname_spec='${libname}${release}${shared_ext}$major'
14223
version_type=linux # correct to gnu/linux during the next big refactor
14226
hardcode_into_libs=yes
14227
if test "$host_cpu" = ia64; then
14228
# AIX 5 supports IA64
14229
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14230
shlibpath_var=LD_LIBRARY_PATH
14232
# With GCC up to 2.95.x, collect2 would create an import file
14233
# for dependence libraries. The import file would start with
14234
# the line `#! .'. This would cause the generated library to
14235
# depend on `.', always an invalid library. This was fixed in
14236
# development snapshots of GCC prior to 3.0.
14238
aix4 | aix4.[01] | aix4.[01].*)
14239
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14241
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14244
can_build_shared=no
14248
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14249
# soname into executable. Probably we can add versioning support to
14250
# collect2, so additional links can be useful in future.
14251
if test "$aix_use_runtimelinking" = yes; then
14252
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14253
# instead of lib<name>.a to let people know that these are not
14254
# typical AIX shared libraries.
14255
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14257
# We preserve .a as extension for shared libraries through AIX4.2
14258
# and later when we are not doing run time linking.
14259
library_names_spec='${libname}${release}.a $libname.a'
14260
soname_spec='${libname}${release}${shared_ext}$major'
14262
shlibpath_var=LIBPATH
14269
# Since July 2007 AmigaOS4 officially supports .so libraries.
14270
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14271
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14274
library_names_spec='$libname.ixlibrary $libname.a'
14275
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14276
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'
14282
library_names_spec='${libname}${shared_ext}'
14283
dynamic_linker="$host_os ld.so"
14284
shlibpath_var=LIBRARY_PATH
14288
version_type=linux # correct to gnu/linux during the next big refactor
14290
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14291
soname_spec='${libname}${release}${shared_ext}$major'
14292
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14293
shlibpath_var=LD_LIBRARY_PATH
14294
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14295
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14296
# the default ld.so.conf also contains /usr/contrib/lib and
14297
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14298
# libtool to hard-code these into programs
14301
cygwin* | mingw* | pw32* | cegcc*)
14302
version_type=windows
14307
case $GCC,$cc_basename in
14310
library_names_spec='$libname.dll.a'
14311
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14312
postinstall_cmds='base_file=`basename \${file}`~
14313
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14314
dldir=$destdir/`dirname \$dlpath`~
14315
test -d \$dldir || mkdir -p \$dldir~
14316
$install_prog $dir/$dlname \$dldir/$dlname~
14317
chmod a+x \$dldir/$dlname~
14318
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14319
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14321
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14322
dlpath=$dir/\$dldll~
14324
shlibpath_overrides_runpath=yes
14328
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14329
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14333
# MinGW DLLs use traditional 'lib' prefix
14334
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14337
# pw32 DLLs use 'pw' prefix rather than 'lib'
14338
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14341
dynamic_linker='Win32 ld.exe'
14346
libname_spec='$name'
14347
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14348
library_names_spec='${libname}.dll.lib'
14352
sys_lib_search_path_spec=
14355
for lt_path in $LIB
14358
# Let DOS variable expansion print the short 8.3 style file name.
14359
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14360
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14363
# Convert to MSYS style.
14364
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14367
# Convert to unix form, then to dos form, then back to unix form
14368
# but this time dos style (no spaces!) so that the unix form looks
14369
# like /cygdrive/c/PROGRA~1:/cygdr...
14370
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14371
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14372
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14375
sys_lib_search_path_spec="$LIB"
14376
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14377
# It is most probably a Windows format PATH.
14378
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14380
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14382
# FIXME: find the short name or the path components, as spaces are
14383
# common. (e.g. "Program Files" -> "PROGRA~1")
14387
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14388
postinstall_cmds='base_file=`basename \${file}`~
14389
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14390
dldir=$destdir/`dirname \$dlpath`~
14391
test -d \$dldir || mkdir -p \$dldir~
14392
$install_prog $dir/$dlname \$dldir/$dlname'
14393
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14394
dlpath=$dir/\$dldll~
14396
shlibpath_overrides_runpath=yes
14397
dynamic_linker='Win32 link.exe'
14401
# Assume MSVC wrapper
14402
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14403
dynamic_linker='Win32 ld.exe'
14406
# FIXME: first we should search . and the directory the executable is in
14410
darwin* | rhapsody*)
14411
dynamic_linker="$host_os dyld"
14412
version_type=darwin
14415
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14416
soname_spec='${libname}${release}${major}$shared_ext'
14417
shlibpath_overrides_runpath=yes
14418
shlibpath_var=DYLD_LIBRARY_PATH
14419
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14421
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14425
version_type=linux # correct to gnu/linux during the next big refactor
14428
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14429
soname_spec='${libname}${release}${shared_ext}$major'
14430
shlibpath_var=LD_LIBRARY_PATH
14433
freebsd* | dragonfly*)
14434
# DragonFly does not have aout. When/if they implement a new
14435
# versioning mechanism, adjust this.
14436
if test -x /usr/bin/objformat; then
14437
objformat=`/usr/bin/objformat`
14440
freebsd[23].*) objformat=aout ;;
14441
*) objformat=elf ;;
14444
version_type=freebsd-$objformat
14445
case $version_type in
14447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14452
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14456
shlibpath_var=LD_LIBRARY_PATH
14459
shlibpath_overrides_runpath=yes
14461
freebsd3.[01]* | freebsdelf3.[01]*)
14462
shlibpath_overrides_runpath=yes
14463
hardcode_into_libs=yes
14465
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14466
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14467
shlibpath_overrides_runpath=no
14468
hardcode_into_libs=yes
14470
*) # from 4.6 on, and DragonFly
14471
shlibpath_overrides_runpath=yes
14472
hardcode_into_libs=yes
14478
version_type=linux # correct to gnu/linux during the next big refactor
14481
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14482
soname_spec='${libname}${release}${shared_ext}$major'
14483
shlibpath_var=LD_LIBRARY_PATH
14484
shlibpath_overrides_runpath=no
14485
hardcode_into_libs=yes
14489
version_type=linux # correct to gnu/linux during the next big refactor
14492
dynamic_linker="$host_os runtime_loader"
14493
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14494
soname_spec='${libname}${release}${shared_ext}$major'
14495
shlibpath_var=LIBRARY_PATH
14496
shlibpath_overrides_runpath=yes
14497
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14498
hardcode_into_libs=yes
14501
hpux9* | hpux10* | hpux11*)
14502
# Give a soname corresponding to the major version so that dld.sl refuses to
14503
# link against other versions.
14510
hardcode_into_libs=yes
14511
dynamic_linker="$host_os dld.so"
14512
shlibpath_var=LD_LIBRARY_PATH
14513
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14514
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515
soname_spec='${libname}${release}${shared_ext}$major'
14516
if test "X$HPUX_IA64_MODE" = X32; then
14517
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14519
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14521
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14525
hardcode_into_libs=yes
14526
dynamic_linker="$host_os dld.sl"
14527
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14528
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14529
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14530
soname_spec='${libname}${release}${shared_ext}$major'
14531
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14532
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14536
dynamic_linker="$host_os dld.sl"
14537
shlibpath_var=SHLIB_PATH
14538
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540
soname_spec='${libname}${release}${shared_ext}$major'
14543
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14544
postinstall_cmds='chmod 555 $lib'
14545
# or fails outright, so override atomically:
14546
install_override_mode=555
14550
version_type=linux # correct to gnu/linux during the next big refactor
14553
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14554
soname_spec='${libname}${release}${shared_ext}$major'
14555
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14556
shlibpath_var=LD_LIBRARY_PATH
14557
shlibpath_overrides_runpath=no
14558
hardcode_into_libs=yes
14561
irix5* | irix6* | nonstopux*)
14563
nonstopux*) version_type=nonstopux ;;
14565
if test "$lt_cv_prog_gnu_ld" = yes; then
14566
version_type=linux # correct to gnu/linux during the next big refactor
14573
soname_spec='${libname}${release}${shared_ext}$major'
14574
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14576
irix5* | nonstopux*)
14577
libsuff= shlibsuff=
14580
case $LD in # libtool.m4 will add one of these switches to LD
14581
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14582
libsuff= shlibsuff= libmagic=32-bit;;
14583
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14584
libsuff=32 shlibsuff=N32 libmagic=N32;;
14585
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14586
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14587
*) libsuff= shlibsuff= libmagic=never-match;;
14591
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14592
shlibpath_overrides_runpath=no
14593
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14594
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14595
hardcode_into_libs=yes
14598
# No shared lib support for Linux oldld, aout, or coff.
14599
linux*oldld* | linux*aout* | linux*coff*)
14603
# This must be glibc/ELF.
14604
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14605
version_type=linux # correct to gnu/linux during the next big refactor
14608
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14609
soname_spec='${libname}${release}${shared_ext}$major'
14610
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14611
shlibpath_var=LD_LIBRARY_PATH
14612
shlibpath_overrides_runpath=no
14614
# Some binutils ld are patched to set DT_RUNPATH
14615
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14616
$as_echo_n "(cached) " >&6
14618
lt_cv_shlibpath_overrides_runpath=no
14619
save_LDFLAGS=$LDFLAGS
14620
save_libdir=$libdir
14621
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14622
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14623
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14624
/* end confdefs.h. */
14634
if ac_fn_cxx_try_link "$LINENO"; then :
14635
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14636
lt_cv_shlibpath_overrides_runpath=yes
14639
rm -f core conftest.err conftest.$ac_objext \
14640
conftest$ac_exeext conftest.$ac_ext
14641
LDFLAGS=$save_LDFLAGS
14642
libdir=$save_libdir
14646
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14648
# This implies no fast_install, which is unacceptable.
14649
# Some rework will be needed to allow for fast_install
14650
# before this can be enabled.
14651
hardcode_into_libs=yes
14653
# Append ld.so.conf contents to the search path
14654
if test -f /etc/ld.so.conf; then
14655
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' ' '`
14656
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14659
# We used to test for /lib/ld.so.1 and disable shared libraries on
14660
# powerpc, because MkLinux only supported shared libraries with the
14661
# GNU dynamic linker. Since this was broken with cross compilers,
14662
# most powerpc-linux boxes support dynamic linking these days and
14663
# people can always --disable-shared, the test was removed, and we
14664
# assume the GNU/Linux dynamic linker is in use.
14665
dynamic_linker='GNU/Linux ld.so'
14672
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14673
soname_spec='${libname}${release}${shared_ext}$major'
14674
shlibpath_var=LD_LIBRARY_PATH
14675
shlibpath_overrides_runpath=no
14676
hardcode_into_libs=yes
14677
dynamic_linker='NetBSD ld.elf_so'
14684
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14685
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14686
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14687
dynamic_linker='NetBSD (a.out) ld.so'
14689
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14690
soname_spec='${libname}${release}${shared_ext}$major'
14691
dynamic_linker='NetBSD ld.elf_so'
14693
shlibpath_var=LD_LIBRARY_PATH
14694
shlibpath_overrides_runpath=yes
14695
hardcode_into_libs=yes
14699
version_type=linux # correct to gnu/linux during the next big refactor
14700
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14701
shlibpath_var=LD_LIBRARY_PATH
14702
shlibpath_overrides_runpath=yes
14709
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14710
soname_spec='${libname}${release}${shared_ext}$major'
14711
shlibpath_var=LD_LIBRARY_PATH
14712
shlibpath_overrides_runpath=no
14713
hardcode_into_libs=yes
14714
dynamic_linker='ldqnx.so'
14719
sys_lib_dlsearch_path_spec="/usr/lib"
14721
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14723
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14724
*) need_version=no ;;
14726
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14727
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14728
shlibpath_var=LD_LIBRARY_PATH
14729
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14731
openbsd2.[89] | openbsd2.[89].*)
14732
shlibpath_overrides_runpath=no
14735
shlibpath_overrides_runpath=yes
14739
shlibpath_overrides_runpath=yes
14744
libname_spec='$name'
14747
library_names_spec='$libname${shared_ext} $libname.a'
14748
dynamic_linker='OS/2 ld.exe'
14749
shlibpath_var=LIBPATH
14752
osf3* | osf4* | osf5*)
14756
soname_spec='${libname}${release}${shared_ext}$major'
14757
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758
shlibpath_var=LD_LIBRARY_PATH
14759
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14760
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14768
version_type=linux # correct to gnu/linux during the next big refactor
14771
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14772
soname_spec='${libname}${release}${shared_ext}$major'
14773
shlibpath_var=LD_LIBRARY_PATH
14774
shlibpath_overrides_runpath=yes
14775
hardcode_into_libs=yes
14776
# ldd complains unless libraries are executable
14777
postinstall_cmds='chmod +x $lib'
14782
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14783
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14784
shlibpath_var=LD_LIBRARY_PATH
14785
shlibpath_overrides_runpath=yes
14786
if test "$with_gnu_ld" = yes; then
14793
version_type=linux # correct to gnu/linux during the next big refactor
14794
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14795
soname_spec='${libname}${release}${shared_ext}$major'
14796
shlibpath_var=LD_LIBRARY_PATH
14797
case $host_vendor in
14799
shlibpath_overrides_runpath=no
14801
runpath_var=LD_RUN_PATH
14809
shlibpath_overrides_runpath=no
14810
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14816
if test -d /usr/nec ;then
14817
version_type=linux # correct to gnu/linux during the next big refactor
14818
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14819
soname_spec='$libname${shared_ext}.$major'
14820
shlibpath_var=LD_LIBRARY_PATH
14824
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14825
version_type=freebsd-elf
14828
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14829
soname_spec='${libname}${release}${shared_ext}$major'
14830
shlibpath_var=LD_LIBRARY_PATH
14831
shlibpath_overrides_runpath=yes
14832
hardcode_into_libs=yes
14833
if test "$with_gnu_ld" = yes; then
14834
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14836
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14839
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14843
sys_lib_dlsearch_path_spec='/usr/lib'
14847
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14848
version_type=linux # correct to gnu/linux during the next big refactor
14851
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14852
shlibpath_var=LD_LIBRARY_PATH
14853
shlibpath_overrides_runpath=no
14854
hardcode_into_libs=yes
14858
version_type=linux # correct to gnu/linux during the next big refactor
14859
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14860
soname_spec='${libname}${release}${shared_ext}$major'
14861
shlibpath_var=LD_LIBRARY_PATH
14868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14869
$as_echo "$dynamic_linker" >&6; }
14870
test "$dynamic_linker" = no && can_build_shared=no
14872
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14873
if test "$GCC" = yes; then
14874
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14877
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14878
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14880
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14881
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14922
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14923
hardcode_action_CXX=
14924
if test -n "$hardcode_libdir_flag_spec_CXX" ||
14925
test -n "$runpath_var_CXX" ||
14926
test "X$hardcode_automatic_CXX" = "Xyes" ; then
14928
# We can hardcode non-existent directories.
14929
if test "$hardcode_direct_CXX" != no &&
14930
# If the only mechanism to avoid hardcoding is shlibpath_var, we
14931
# have to relink, otherwise we might link with an installed library
14932
# when we should be linking with a yet-to-be-installed one
14933
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14934
test "$hardcode_minus_L_CXX" != no; then
14935
# Linking always hardcodes the temporary library directory.
14936
hardcode_action_CXX=relink
14938
# We can link without hardcoding, and we can hardcode nonexisting dirs.
14939
hardcode_action_CXX=immediate
14942
# We cannot hardcode anything, or else we can only hardcode existing
14944
hardcode_action_CXX=unsupported
14946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14947
$as_echo "$hardcode_action_CXX" >&6; }
14949
if test "$hardcode_action_CXX" = relink ||
14950
test "$inherit_rpath_CXX" = yes; then
14951
# Fast installation is not supported
14952
enable_fast_install=no
14953
elif test "$shlibpath_overrides_runpath" = yes ||
14954
test "$enable_shared" = no; then
14955
# Fast installation is not necessary
14956
enable_fast_install=needless
14965
fi # test -n "$compiler"
14968
CFLAGS=$lt_save_CFLAGS
14972
with_gnu_ld=$lt_save_with_gnu_ld
14973
lt_cv_path_LDCXX=$lt_cv_path_LD
14974
lt_cv_path_LD=$lt_save_path_LD
14975
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14976
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14977
fi # test "$_lt_caught_CXX_error" != yes
14980
ac_cpp='$CPP $CPPFLAGS'
14981
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14982
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14983
ac_compiler_gnu=$ac_cv_c_compiler_gnu
14999
ac_config_commands="$ac_config_commands libtool"
15004
# Only expand once:
15008
# checks for libraries.
15009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_filesystem-mt" >&5
15010
$as_echo_n "checking for main in -lboost_filesystem-mt... " >&6; }
15011
if ${ac_cv_lib_boost_filesystem_mt_main+:} false; then :
15012
$as_echo_n "(cached) " >&6
15014
ac_check_lib_save_LIBS=$LIBS
15015
LIBS="-lboost_filesystem-mt $LIBS"
15016
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15017
/* end confdefs.h. */
15028
if ac_fn_c_try_link "$LINENO"; then :
15029
ac_cv_lib_boost_filesystem_mt_main=yes
15031
ac_cv_lib_boost_filesystem_mt_main=no
15033
rm -f core conftest.err conftest.$ac_objext \
15034
conftest$ac_exeext conftest.$ac_ext
15035
LIBS=$ac_check_lib_save_LIBS
15037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_filesystem_mt_main" >&5
15038
$as_echo "$ac_cv_lib_boost_filesystem_mt_main" >&6; }
15039
if test "x$ac_cv_lib_boost_filesystem_mt_main" = xyes; then :
15040
cat >>confdefs.h <<_ACEOF
15041
#define HAVE_LIBBOOST_FILESYSTEM_MT 1
15044
LIBS="-lboost_filesystem-mt $LIBS"
15047
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&5
15048
$as_echo "$as_me: WARNING: Unable to find Boost Filesystem library - the library tests may not compile!" >&2;}
15051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lboost_thread-mt" >&5
15052
$as_echo_n "checking for main in -lboost_thread-mt... " >&6; }
15053
if ${ac_cv_lib_boost_thread_mt_main+:} false; then :
15054
$as_echo_n "(cached) " >&6
15056
ac_check_lib_save_LIBS=$LIBS
15057
LIBS="-lboost_thread-mt $LIBS"
15058
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15059
/* end confdefs.h. */
15070
if ac_fn_c_try_link "$LINENO"; then :
15071
ac_cv_lib_boost_thread_mt_main=yes
15073
ac_cv_lib_boost_thread_mt_main=no
15075
rm -f core conftest.err conftest.$ac_objext \
15076
conftest$ac_exeext conftest.$ac_ext
15077
LIBS=$ac_check_lib_save_LIBS
15079
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_boost_thread_mt_main" >&5
15080
$as_echo "$ac_cv_lib_boost_thread_mt_main" >&6; }
15081
if test "x$ac_cv_lib_boost_thread_mt_main" = xyes; then :
15082
cat >>confdefs.h <<_ACEOF
15083
#define HAVE_LIBBOOST_THREAD_MT 1
15086
LIBS="-lboost_thread-mt $LIBS"
15089
as_fn_error $? "Unable to find Boost Thread library" "$LINENO" 5
15092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_initialize in -lsqlite3" >&5
15093
$as_echo_n "checking for sqlite3_initialize in -lsqlite3... " >&6; }
15094
if ${ac_cv_lib_sqlite3_sqlite3_initialize+:} false; then :
15095
$as_echo_n "(cached) " >&6
15097
ac_check_lib_save_LIBS=$LIBS
15098
LIBS="-lsqlite3 $LIBS"
15099
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15100
/* end confdefs.h. */
15102
/* Override any GCC internal prototype to avoid an error.
15103
Use char because int might match the return type of a GCC
15104
builtin and then its argument prototype would still apply. */
15108
char sqlite3_initialize ();
15112
return sqlite3_initialize ();
15117
if ac_fn_c_try_link "$LINENO"; then :
15118
ac_cv_lib_sqlite3_sqlite3_initialize=yes
15120
ac_cv_lib_sqlite3_sqlite3_initialize=no
15122
rm -f core conftest.err conftest.$ac_objext \
15123
conftest$ac_exeext conftest.$ac_ext
15124
LIBS=$ac_check_lib_save_LIBS
15126
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_initialize" >&5
15127
$as_echo "$ac_cv_lib_sqlite3_sqlite3_initialize" >&6; }
15128
if test "x$ac_cv_lib_sqlite3_sqlite3_initialize" = xyes; then :
15129
cat >>confdefs.h <<_ACEOF
15130
#define HAVE_LIBSQLITE3 1
15133
LIBS="-lsqlite3 $LIBS"
15136
as_fn_error $? "Unable to find SQLite3 library" "$LINENO" 5
15140
# checks for header files.
15141
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
15142
$as_echo_n "checking for ANSI C header files... " >&6; }
15143
if ${ac_cv_header_stdc+:} false; then :
15144
$as_echo_n "(cached) " >&6
15146
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15147
/* end confdefs.h. */
15148
#include <stdlib.h>
15149
#include <stdarg.h>
15150
#include <string.h>
15161
if ac_fn_c_try_compile "$LINENO"; then :
15162
ac_cv_header_stdc=yes
15164
ac_cv_header_stdc=no
15166
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15168
if test $ac_cv_header_stdc = yes; then
15169
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15170
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171
/* end confdefs.h. */
15172
#include <string.h>
15175
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15176
$EGREP "memchr" >/dev/null 2>&1; then :
15179
ac_cv_header_stdc=no
15185
if test $ac_cv_header_stdc = yes; then
15186
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15187
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188
/* end confdefs.h. */
15189
#include <stdlib.h>
15192
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15193
$EGREP "free" >/dev/null 2>&1; then :
15196
ac_cv_header_stdc=no
15202
if test $ac_cv_header_stdc = yes; then
15203
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15204
if test "$cross_compiling" = yes; then :
15207
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15208
/* end confdefs.h. */
15210
#include <stdlib.h>
15211
#if ((' ' & 0x0FF) == 0x020)
15212
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15213
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15215
# define ISLOWER(c) \
15216
(('a' <= (c) && (c) <= 'i') \
15217
|| ('j' <= (c) && (c) <= 'r') \
15218
|| ('s' <= (c) && (c) <= 'z'))
15219
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
15222
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15227
for (i = 0; i < 256; i++)
15228
if (XOR (islower (i), ISLOWER (i))
15229
|| toupper (i) != TOUPPER (i))
15234
if ac_fn_c_try_run "$LINENO"; then :
15237
ac_cv_header_stdc=no
15239
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15240
conftest.$ac_objext conftest.beam conftest.$ac_ext
15245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
15246
$as_echo "$ac_cv_header_stdc" >&6; }
15247
if test $ac_cv_header_stdc = yes; then
15249
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
15253
for ac_header in string.h
15255
ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
15256
if test "x$ac_cv_header_string_h" = xyes; then :
15257
cat >>confdefs.h <<_ACEOF
15258
#define HAVE_STRING_H 1
15266
# checks for typedefs, structures, and compiler characteristics.
15268
# checks for library functions.
15270
ac_config_files="$ac_config_files Makefile src/Makefile include/Makefile test/Makefile"
15272
cat >confcache <<\_ACEOF
15273
# This file is a shell script that caches the results of configure
15274
# tests run on this system so they can be shared between configure
15275
# scripts and configure runs, see configure's option --config-cache.
15276
# It is not useful on other systems. If it contains results you don't
15277
# want to keep, you may remove or edit it.
15279
# config.status only pays attention to the cache file if you give it
15280
# the --recheck option to rerun configure.
15282
# `ac_cv_env_foo' variables (set or unset) will be overridden when
15283
# loading this file, other *unset* `ac_cv_foo' will be assigned the
15284
# following values.
15288
# The following way of writing the cache mishandles newlines in values,
15289
# but we know of no workaround that is simple, portable, and efficient.
15290
# So, we kill variables containing newlines.
15291
# Ultrix sh set writes to stderr and can't be redirected directly,
15292
# and sets the high bit in the cache file unless we assign to the vars.
15294
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15295
eval ac_val=\$$ac_var
15299
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15300
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15303
_ | IFS | as_nl) ;; #(
15304
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
15305
*) { eval $ac_var=; unset $ac_var;} ;;
15311
case $as_nl`(ac_space=' '; set) 2>&1` in #(
15312
*${as_nl}ac_space=\ *)
15313
# `set' does not quote correctly, so add quotes: double-quote
15314
# substitution turns \\\\ into \\, and sed turns \\ into \.
15317
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15320
# `set' quotes correctly as required by POSIX, so do not add quotes.
15321
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15330
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15332
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15334
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15335
if test -w "$cache_file"; then
15336
if test "x$cache_file" != "x/dev/null"; then
15337
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15338
$as_echo "$as_me: updating cache $cache_file" >&6;}
15339
if test ! -f "$cache_file" || test -h "$cache_file"; then
15340
cat confcache >"$cache_file"
15342
case $cache_file in #(
15344
mv -f confcache "$cache_file"$$ &&
15345
mv -f "$cache_file"$$ "$cache_file" ;; #(
15347
mv -f confcache "$cache_file" ;;
15352
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15353
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15358
test "x$prefix" = xNONE && prefix=$ac_default_prefix
15359
# Let make expand exec_prefix.
15360
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15362
DEFS=-DHAVE_CONFIG_H
15367
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15368
# 1. Remove the extension, and $U if already installed.
15369
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15370
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15371
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15372
# will be set to the directory where LIBOBJS objects are built.
15373
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15374
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15376
LIBOBJS=$ac_libobjs
15378
LTLIBOBJS=$ac_ltlibobjs
15381
if test -n "$EXEEXT"; then
15383
am__EXEEXT_FALSE='#'
15385
am__EXEEXT_TRUE='#'
15389
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15390
as_fn_error $? "conditional \"AMDEP\" was never defined.
15391
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15393
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
15394
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
15395
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15397
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15398
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15399
Usually this means the macro was only invoked conditionally." "$LINENO" 5
15402
: "${CONFIG_STATUS=./config.status}"
15404
ac_clean_files_save=$ac_clean_files
15405
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15406
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15407
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15409
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15411
# Generated by $as_me.
15412
# Run this file to recreate the current configuration.
15413
# Compiler output produced by configure, useful for debugging
15414
# configure, is in config.log if it exists.
15417
ac_cs_recheck=false
15420
SHELL=\${CONFIG_SHELL-$SHELL}
15423
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15424
## -------------------- ##
15425
## M4sh Initialization. ##
15426
## -------------------- ##
15428
# Be more Bourne compatible
15429
DUALCASE=1; export DUALCASE # for MKS sh
15430
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15433
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15434
# is contrary to our usage. Disable this feature.
15435
alias -g '${1+"$@"}'='"$@"'
15436
setopt NO_GLOB_SUBST
15438
case `(set -o) 2>/dev/null` in #(
15450
# Printing a long string crashes Solaris 7 /usr/bin/printf.
15451
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15452
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15453
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15454
# Prefer a ksh shell builtin over an external printf program on Solaris,
15455
# but without wasting forks for bash or zsh.
15456
if test -z "$BASH_VERSION$ZSH_VERSION" \
15457
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15458
as_echo='print -r --'
15459
as_echo_n='print -rn --'
15460
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15461
as_echo='printf %s\n'
15462
as_echo_n='printf %s'
15464
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15465
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15466
as_echo_n='/usr/ucb/echo -n'
15468
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15469
as_echo_n_body='eval
15473
expr "X$arg" : "X\\(.*\\)$as_nl";
15474
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15476
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15478
export as_echo_n_body
15479
as_echo_n='sh -c $as_echo_n_body as_echo'
15481
export as_echo_body
15482
as_echo='sh -c $as_echo_body as_echo'
15485
# The user is always right.
15486
if test "${PATH_SEPARATOR+set}" != set; then
15488
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15489
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15496
# We need space, tab and new line, in precisely that order. Quoting is
15497
# there to prevent editors from complaining about space-tab.
15498
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15499
# splitting by setting IFS to empty value.)
15502
# Find who we are. Look in the path if we contain no directory separator.
15505
*[\\/]* ) as_myself=$0 ;;
15506
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15507
for as_dir in $PATH
15510
test -z "$as_dir" && as_dir=.
15511
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15517
# We did not find ourselves, most probably we were run as `sh COMMAND'
15518
# in which case we are not to be found in the path.
15519
if test "x$as_myself" = x; then
15522
if test ! -f "$as_myself"; then
15523
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15527
# Unset variables that we do not need and which cause bugs (e.g. in
15528
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15529
# suppresses any "Segmentation fault" message there. '((' could
15530
# trigger a bug in pdksh 5.2.14.
15531
for as_var in BASH_ENV ENV MAIL MAILPATH
15532
do eval test x\${$as_var+set} = xset \
15533
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15546
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15549
# as_fn_error STATUS ERROR [LINENO LOG_FD]
15550
# ----------------------------------------
15551
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15552
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15553
# script with STATUS, using 1 if that was 0.
15556
as_status=$1; test $as_status -eq 0 && as_status=1
15558
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15559
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15561
$as_echo "$as_me: error: $2" >&2
15562
as_fn_exit $as_status
15566
# as_fn_set_status STATUS
15567
# -----------------------
15568
# Set $? to STATUS, without forking.
15569
as_fn_set_status ()
15572
} # as_fn_set_status
15574
# as_fn_exit STATUS
15575
# -----------------
15576
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15580
as_fn_set_status $1
15586
# Portably unset VAR.
15589
{ eval $1=; unset $1;}
15591
as_unset=as_fn_unset
15592
# as_fn_append VAR VALUE
15593
# ----------------------
15594
# Append the text in VALUE to the end of the definition contained in VAR. Take
15595
# advantage of any shell optimizations that allow amortized linear growth over
15596
# repeated appends, instead of the typical quadratic growth present in naive
15598
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15599
eval 'as_fn_append ()
15610
# as_fn_arith ARG...
15611
# ------------------
15612
# Perform arithmetic evaluation on the ARGs, and store the result in the
15613
# global $as_val. Take advantage of shells that can avoid forks. The arguments
15614
# must be portable across $(()) and expr.
15615
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15616
eval 'as_fn_arith ()
15623
as_val=`expr "$@" || test $? -eq 1`
15628
if expr a : '\(a\)' >/dev/null 2>&1 &&
15629
test "X`expr 00001 : '.*\(...\)'`" = X001; then
15635
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15636
as_basename=basename
15641
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15647
as_me=`$as_basename -- "$0" ||
15648
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15649
X"$0" : 'X\(//\)$' \| \
15650
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15652
sed '/^.*\/\([^/][^/]*\)\/*$/{
15666
# Avoid depending upon Character Ranges.
15667
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15668
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15669
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15670
as_cr_digits='0123456789'
15671
as_cr_alnum=$as_cr_Letters$as_cr_digits
15673
ECHO_C= ECHO_N= ECHO_T=
15674
case `echo -n x` in #(((((
15676
case `echo 'xy\c'` in
15677
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
15679
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
15686
rm -f conf$$ conf$$.exe conf$$.file
15687
if test -d conf$$.dir; then
15688
rm -f conf$$.dir/conf$$.file
15691
mkdir conf$$.dir 2>/dev/null
15693
if (echo >conf$$.file) 2>/dev/null; then
15694
if ln -s conf$$.file conf$$ 2>/dev/null; then
15696
# ... but there are two gotchas:
15697
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15698
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15699
# In both cases, we have to default to `cp -p'.
15700
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15702
elif ln conf$$.file conf$$ 2>/dev/null; then
15710
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15711
rmdir conf$$.dir 2>/dev/null
15716
# Create "$as_dir" as a directory, including parents if necessary.
15721
-*) as_dir=./$as_dir;;
15723
test -d "$as_dir" || eval $as_mkdir_p || {
15727
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15728
*) as_qdir=$as_dir;;
15730
as_dirs="'$as_qdir' $as_dirs"
15731
as_dir=`$as_dirname -- "$as_dir" ||
15732
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15733
X"$as_dir" : 'X\(//\)[^/]' \| \
15734
X"$as_dir" : 'X\(//\)$' \| \
15735
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15736
$as_echo X"$as_dir" |
15737
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15741
/^X\(\/\/\)[^/].*/{
15754
test -d "$as_dir" && break
15756
test -z "$as_dirs" || eval "mkdir $as_dirs"
15757
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15761
if mkdir -p . 2>/dev/null; then
15762
as_mkdir_p='mkdir -p "$as_dir"'
15764
test -d ./-p && rmdir ./-p
15768
if test -x / >/dev/null 2>&1; then
15769
as_test_x='test -x'
15771
if ls -dL / >/dev/null 2>&1; then
15778
if test -d "$1"; then
15784
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15785
???[sx]*):;;*)false;;esac;fi
15789
as_executable_p=$as_test_x
15791
# Sed expression to map a string onto a valid CPP name.
15792
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15794
# Sed expression to map a string onto a valid variable name.
15795
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15799
## ----------------------------------- ##
15800
## Main body of $CONFIG_STATUS script. ##
15801
## ----------------------------------- ##
15803
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15805
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15806
# Save the log message, to keep $0 and so on meaningful, and to
15807
# report actual input values of CONFIG_FILES etc. instead of their
15808
# values after options handling.
15810
This file was extended by sqlite3cc $as_me 0.2dev, which was
15811
generated by GNU Autoconf 2.68. Invocation command line was
15813
CONFIG_FILES = $CONFIG_FILES
15814
CONFIG_HEADERS = $CONFIG_HEADERS
15815
CONFIG_LINKS = $CONFIG_LINKS
15816
CONFIG_COMMANDS = $CONFIG_COMMANDS
15819
on `(hostname || uname -n) 2>/dev/null | sed 1q`
15824
case $ac_config_files in *"
15825
"*) set x $ac_config_files; shift; ac_config_files=$*;;
15828
case $ac_config_headers in *"
15829
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15833
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15834
# Files that config.status was made for.
15835
config_files="$ac_config_files"
15836
config_headers="$ac_config_headers"
15837
config_commands="$ac_config_commands"
15841
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15843
\`$as_me' instantiates files and other configuration actions
15844
from templates according to the current configuration. Unless the files
15845
and actions are specified as TAGs, all are instantiated by default.
15847
Usage: $0 [OPTION]... [TAG]...
15849
-h, --help print this help, then exit
15850
-V, --version print version number and configuration settings, then exit
15851
--config print configuration, then exit
15852
-q, --quiet, --silent
15853
do not print progress messages
15854
-d, --debug don't remove temporary files
15855
--recheck update $as_me by reconfiguring in the same conditions
15856
--file=FILE[:TEMPLATE]
15857
instantiate the configuration file FILE
15858
--header=FILE[:TEMPLATE]
15859
instantiate the configuration header FILE
15861
Configuration files:
15864
Configuration headers:
15867
Configuration commands:
15870
Report bugs to <tim@ed.am>.
15871
sqlite3cc home page: <http://ed.am/dev/sqlite3cc>."
15874
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15875
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15877
sqlite3cc config.status 0.2dev
15878
configured by $0, generated by GNU Autoconf 2.68,
15879
with options \\"\$ac_cs_config\\"
15881
Copyright (C) 2010 Free Software Foundation, Inc.
15882
This config.status script is free software; the Free Software Foundation
15883
gives unlimited permission to copy, distribute and modify it."
15890
test -n "\$AWK" || AWK=awk
15893
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15894
# The default lists apply if the user does not specify any file.
15900
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15901
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15905
ac_option=`expr "X$1" : 'X\([^=]*\)='`
15917
# Handling of the options.
15918
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15920
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15921
$as_echo "$ac_cs_version"; exit ;;
15922
--config | --confi | --conf | --con | --co | --c )
15923
$as_echo "$ac_cs_config"; exit ;;
15924
--debug | --debu | --deb | --de | --d | -d )
15926
--file | --fil | --fi | --f )
15929
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15930
'') as_fn_error $? "missing file argument" ;;
15932
as_fn_append CONFIG_FILES " '$ac_optarg'"
15933
ac_need_defaults=false;;
15934
--header | --heade | --head | --hea )
15937
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15939
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15940
ac_need_defaults=false;;
15942
# Conflict between --help and --header
15943
as_fn_error $? "ambiguous option: \`$1'
15944
Try \`$0 --help' for more information.";;
15945
--help | --hel | -h )
15946
$as_echo "$ac_cs_usage"; exit ;;
15947
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
15948
| -silent | --silent | --silen | --sile | --sil | --si | --s)
15951
# This is an error.
15952
-*) as_fn_error $? "unrecognized option: \`$1'
15953
Try \`$0 --help' for more information." ;;
15955
*) as_fn_append ac_config_targets " $1"
15956
ac_need_defaults=false ;;
15962
ac_configure_extra_args=
15964
if $ac_cs_silent; then
15966
ac_configure_extra_args="$ac_configure_extra_args --silent"
15970
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15971
if \$ac_cs_recheck; then
15972
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15974
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15975
CONFIG_SHELL='$SHELL'
15976
export CONFIG_SHELL
15981
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15985
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15986
## Running $as_me. ##
15992
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15996
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15999
# The HP-UX ksh and POSIX shell print the target directory to stdout
16000
# if CDPATH is set.
16001
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16003
sed_quote_subst='$sed_quote_subst'
16004
double_quote_subst='$double_quote_subst'
16005
delay_variable_subst='$delay_variable_subst'
16006
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16007
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16008
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16009
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16010
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16011
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16012
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16013
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16014
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16015
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16016
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16017
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16018
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16019
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16020
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16021
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16022
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16023
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16024
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16025
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16026
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16027
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16028
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16029
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16030
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16031
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16032
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16033
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16034
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16035
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16036
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16037
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16038
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16039
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16040
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16041
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16042
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16043
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16044
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16045
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16046
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16047
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16048
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16049
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16050
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16051
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16052
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16053
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16054
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16055
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16056
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16057
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16058
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16059
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16060
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16061
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16062
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"`'
16063
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16064
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16065
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16066
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16067
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16068
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16069
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16070
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16071
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16072
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16073
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16074
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16075
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16076
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16077
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16078
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16079
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16080
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16081
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16082
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16083
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16084
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16085
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16086
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16087
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16088
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16089
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16090
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16091
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16092
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16093
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16094
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16095
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16096
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16097
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16098
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16099
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16100
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16101
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16102
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16103
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16104
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16105
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16106
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16107
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16108
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16109
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16110
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16111
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16112
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16113
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16114
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16115
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16116
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16117
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16118
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16119
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16120
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16121
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16122
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16123
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16124
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16125
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16126
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16127
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16128
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16129
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16130
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16131
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16132
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16133
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16134
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16135
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16136
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16137
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16138
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16139
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16140
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16141
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16142
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16143
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16144
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16145
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16146
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16147
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16148
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16149
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16150
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16151
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16152
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16153
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16154
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16155
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16156
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16157
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16158
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16159
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16160
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16161
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16162
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16163
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16164
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16165
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16166
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16167
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16168
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16169
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16170
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16171
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16172
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16173
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16174
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16175
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16176
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16177
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16178
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16179
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16180
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16181
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16182
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16183
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16184
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16185
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16186
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16187
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16188
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16189
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16192
LTCFLAGS='$LTCFLAGS'
16193
compiler='$compiler_DEFAULT'
16195
# A function that is used when there is no print builtin or printf.
16196
func_fallback_echo ()
16198
eval 'cat <<_LTECHO_EOF
16203
# Quote evaled strings.
16218
deplibs_check_method \
16223
sharedlib_from_linklib_cmd \
16226
archiver_list_spec \
16232
lt_cv_sys_global_symbol_pipe \
16233
lt_cv_sys_global_symbol_to_cdecl \
16234
lt_cv_sys_global_symbol_to_c_name_address \
16235
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16236
nm_file_list_spec \
16237
lt_prog_compiler_no_builtin_flag \
16238
lt_prog_compiler_pic \
16239
lt_prog_compiler_wl \
16240
lt_prog_compiler_static \
16241
lt_cv_prog_compiler_c_o \
16250
export_dynamic_flag_spec \
16251
whole_archive_flag_spec \
16252
compiler_needs_object \
16254
allow_undefined_flag \
16255
no_undefined_flag \
16256
hardcode_libdir_flag_spec \
16257
hardcode_libdir_separator \
16261
variables_saved_for_relink \
16263
library_names_spec \
16265
install_override_mode \
16269
compiler_lib_search_dirs \
16274
compiler_lib_search_path \
16278
lt_prog_compiler_no_builtin_flag_CXX \
16279
lt_prog_compiler_pic_CXX \
16280
lt_prog_compiler_wl_CXX \
16281
lt_prog_compiler_static_CXX \
16282
lt_cv_prog_compiler_c_o_CXX \
16283
export_dynamic_flag_spec_CXX \
16284
whole_archive_flag_spec_CXX \
16285
compiler_needs_object_CXX \
16287
allow_undefined_flag_CXX \
16288
no_undefined_flag_CXX \
16289
hardcode_libdir_flag_spec_CXX \
16290
hardcode_libdir_separator_CXX \
16291
exclude_expsyms_CXX \
16292
include_expsyms_CXX \
16293
file_list_spec_CXX \
16294
compiler_lib_search_dirs_CXX \
16295
predep_objects_CXX \
16296
postdep_objects_CXX \
16299
compiler_lib_search_path_CXX; do
16300
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16301
*[\\\\\\\`\\"\\\$]*)
16302
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
16305
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16310
# Double-quote double-evaled strings.
16311
for var in reload_cmds \
16312
old_postinstall_cmds \
16313
old_postuninstall_cmds \
16315
extract_expsyms_cmds \
16316
old_archive_from_new_cmds \
16317
old_archive_from_expsyms_cmds \
16319
archive_expsym_cmds \
16321
module_expsym_cmds \
16322
export_symbols_cmds \
16326
postuninstall_cmds \
16328
sys_lib_search_path_spec \
16329
sys_lib_dlsearch_path_spec \
16331
old_archive_cmds_CXX \
16332
old_archive_from_new_cmds_CXX \
16333
old_archive_from_expsyms_cmds_CXX \
16335
archive_expsym_cmds_CXX \
16337
module_expsym_cmds_CXX \
16338
export_symbols_cmds_CXX \
16340
postlink_cmds_CXX; do
16341
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
16342
*[\\\\\\\`\\"\\\$]*)
16343
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
16346
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
16351
ac_aux_dir='$ac_aux_dir'
16352
xsi_shell='$xsi_shell'
16353
lt_shell_append='$lt_shell_append'
16355
# See if we are running on zsh, and set the options which allow our
16356
# commands through without removal of \ escapes INIT.
16357
if test -n "\${ZSH_VERSION+set}" ; then
16358
setopt NO_GLOB_SUBST
16364
TIMESTAMP='$TIMESTAMP'
16375
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16377
# Handling of arguments.
16378
for ac_config_target in $ac_config_targets
16380
case $ac_config_target in
16381
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
16382
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16383
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16384
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16385
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16386
"include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16387
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16389
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16394
# If the user did not use the arguments to specify the items to instantiate,
16395
# then the envvar interface is used. Set only those that are not.
16396
# We use the long form for the default assignment because of an extremely
16397
# bizarre bug on SunOS 4.1.3.
16398
if $ac_need_defaults; then
16399
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16400
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
16401
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16404
# Have a temporary directory for convenience. Make it in the build tree
16405
# simply because there is no reason against having it here, and in addition,
16406
# creating and moving files from /tmp can sometimes cause problems.
16407
# Hook for its removal unless debugging.
16408
# Note that there is a small window in which the directory will not be cleaned:
16409
# after its creation but before its name has been assigned to `$tmp'.
16413
trap 'exit_status=$?
16414
: "${ac_tmp:=$tmp}"
16415
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16417
trap 'as_fn_exit 1' 1 2 13 15
16419
# Create a (secure) tmp directory for tmp files.
16422
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16426
tmp=./conf$$-$RANDOM
16427
(umask 077 && mkdir "$tmp")
16428
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16431
# Set up the scripts for CONFIG_FILES section.
16432
# No need to generate them if there are no CONFIG_FILES.
16433
# This happens for instance with `./config.status config.h'.
16434
if test -n "$CONFIG_FILES"; then
16437
ac_cr=`echo X | tr X '\015'`
16438
# On cygwin, bash can eat \r inside `` if the user requested igncr.
16439
# But we know of no other shell where ac_cr would be empty at this
16440
# point, so we can use a bashism as a fallback.
16441
if test "x$ac_cr" = x; then
16442
eval ac_cr=\$\'\\r\'
16444
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16445
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16448
ac_cs_awk_cr=$ac_cr
16451
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16456
echo "cat >conf$$subs.awk <<_ACEOF" &&
16457
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16459
} >conf$$subs.sh ||
16460
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16461
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16463
for ac_last_try in false false false false false :; do
16464
. ./conf$$subs.sh ||
16465
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16467
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16468
if test $ac_delim_n = $ac_delim_num; then
16470
elif $ac_last_try; then
16471
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16473
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16476
rm -f conf$$subs.sh
16478
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16479
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16483
s/^/S["/; s/!.*/"]=/
16493
s/\(.\{148\}\)..*/\1/
16495
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16500
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16507
s/\(.\{148\}\)..*/\1/
16509
s/["\\]/\\&/g; s/^/"/; s/$/"/
16513
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16518
' <conf$$subs.awk | sed '
16523
' >>$CONFIG_STATUS || ac_write_fail=1
16524
rm -f conf$$subs.awk
16525
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16527
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16528
for (key in S) S_is_set[key] = 1
16534
nfields = split(line, field, "@")
16536
len = length(field[1])
16537
for (i = 2; i < nfields; i++) {
16539
keylen = length(key)
16540
if (S_is_set[key]) {
16542
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16543
len += length(value) + length(field[++i])
16554
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16555
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16556
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16559
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16560
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16563
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16564
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16565
# trailing colons and then remove the whole line if VPATH becomes empty
16566
# (actually we leave an empty line to preserve line numbers).
16567
if test "x$srcdir" = x.; then
16568
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16586
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16587
fi # test -n "$CONFIG_FILES"
16589
# Set up the scripts for CONFIG_HEADERS section.
16590
# No need to generate them if there are no CONFIG_HEADERS.
16591
# This happens for instance with `./config.status Makefile'.
16592
if test -n "$CONFIG_HEADERS"; then
16593
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
16597
# Transform confdefs.h into an awk script `defines.awk', embedded as
16598
# here-document in config.status, that substitutes the proper values into
16599
# config.h.in to produce config.h.
16601
# Create a delimiter string that does not exist in confdefs.h, to ease
16602
# handling of long lines.
16604
for ac_last_try in false false :; do
16605
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
16606
if test -z "$ac_tt"; then
16608
elif $ac_last_try; then
16609
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
16611
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16615
# For the awk script, D is an array of macro values keyed by name,
16616
# likewise P contains macro parameters if any. Preserve backslash
16617
# newline sequences.
16619
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16621
s/.\{148\}/&'"$ac_delim"'/g
16624
s/^[ ]*#[ ]*define[ ][ ]*/ /
16631
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16633
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
16637
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
16638
D["\1"]=" \3\\\\\\n"\\/p
16640
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
16645
s/.\{148\}/&'"$ac_delim"'/g
16650
s/["\\]/\\&/g; s/^/"/; s/$/"/p
16653
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
16655
' <confdefs.h | sed '
16656
s/'"$ac_delim"'/"\\\
16657
"/g' >>$CONFIG_STATUS || ac_write_fail=1
16659
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16660
for (key in D) D_is_set[key] = 1
16663
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16665
split(line, arg, " ")
16666
if (arg[1] == "#") {
16670
defundef = substr(arg[1], 2)
16673
split(mac1, mac2, "(") #)
16675
prefix = substr(line, 1, index(line, defundef) - 1)
16676
if (D_is_set[macro]) {
16677
# Preserve the white space surrounding the "#".
16678
print prefix "define", macro P[macro] D[macro]
16681
# Replace #undef with comments. This is necessary, for example,
16682
# in the case of _POSIX_SOURCE, which is predefined and required
16683
# on some systems where configure will not decide to define it.
16684
if (defundef == "undef") {
16685
print "/*", prefix defundef, macro, "*/"
16693
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16694
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
16695
fi # test -n "$CONFIG_HEADERS"
16698
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
16703
:[FHLC]) ac_mode=$ac_tag; continue;;
16705
case $ac_mode$ac_tag in
16707
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16708
:[FH]-) ac_tag=-:-;;
16709
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16726
-) ac_f="$ac_tmp/stdin";;
16727
*) # Look for the file first in the build tree, then in the source tree
16728
# (if the path is not absolute). The absolute path cannot be DOS-style,
16729
# because $ac_f cannot contain `:'.
16733
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16735
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16737
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16738
as_fn_append ac_file_inputs " '$ac_f'"
16741
# Let's still pretend it is `configure' which instantiates (i.e., don't
16742
# use $as_me), people would be surprised to read:
16743
# /* config.h. Generated by config.status. */
16744
configure_input='Generated from '`
16745
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16747
if test x"$ac_file" != x-; then
16748
configure_input="$ac_file. $configure_input"
16749
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16750
$as_echo "$as_me: creating $ac_file" >&6;}
16752
# Neutralize special characters interpreted by sed in replacement strings.
16753
case $configure_input in #(
16754
*\&* | *\|* | *\\* )
16755
ac_sed_conf_input=`$as_echo "$configure_input" |
16756
sed 's/[\\\\&|]/\\\\&/g'`;; #(
16757
*) ac_sed_conf_input=$configure_input;;
16761
*:-:* | *:-) cat >"$ac_tmp/stdin" \
16762
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16767
ac_dir=`$as_dirname -- "$ac_file" ||
16768
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16769
X"$ac_file" : 'X\(//\)[^/]' \| \
16770
X"$ac_file" : 'X\(//\)$' \| \
16771
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16772
$as_echo X"$ac_file" |
16773
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16777
/^X\(\/\/\)[^/].*/{
16790
as_dir="$ac_dir"; as_fn_mkdir_p
16794
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16796
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16797
# A ".." for each directory in $ac_dir_suffix.
16798
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16799
case $ac_top_builddir_sub in
16800
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16801
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16804
ac_abs_top_builddir=$ac_pwd
16805
ac_abs_builddir=$ac_pwd$ac_dir_suffix
16806
# for backward compatibility:
16807
ac_top_builddir=$ac_top_build_prefix
16810
.) # We are building in place.
16812
ac_top_srcdir=$ac_top_builddir_sub
16813
ac_abs_top_srcdir=$ac_pwd ;;
16814
[\\/]* | ?:[\\/]* ) # Absolute name.
16815
ac_srcdir=$srcdir$ac_dir_suffix;
16816
ac_top_srcdir=$srcdir
16817
ac_abs_top_srcdir=$srcdir ;;
16818
*) # Relative name.
16819
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16820
ac_top_srcdir=$ac_top_build_prefix$srcdir
16821
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16823
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16833
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16834
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16836
ac_MKDIR_P=$MKDIR_P
16838
[\\/$]* | ?:[\\/]* ) ;;
16839
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16843
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16844
# If the template does not know about datarootdir, expand it.
16845
# FIXME: This hack should be removed a few years after 2.60.
16846
ac_datarootdir_hack=; ac_datarootdir_seen=
16857
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16858
*datarootdir*) ac_datarootdir_seen=yes;;
16859
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16860
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16861
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16863
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16864
ac_datarootdir_hack='
16865
s&@datadir@&$datadir&g
16866
s&@docdir@&$docdir&g
16867
s&@infodir@&$infodir&g
16868
s&@localedir@&$localedir&g
16869
s&@mandir@&$mandir&g
16870
s&\\\${datarootdir}&$datarootdir&g' ;;
16874
# Neutralize VPATH when `$srcdir' = `.'.
16875
# Shell code in configure.ac might set extrasub.
16876
# FIXME: do we really want to maintain this feature?
16877
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16878
ac_sed_extra="$ac_vpsub
16881
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16883
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16884
s|@configure_input@|$ac_sed_conf_input|;t t
16885
s&@top_builddir@&$ac_top_builddir_sub&;t t
16886
s&@top_build_prefix@&$ac_top_build_prefix&;t t
16887
s&@srcdir@&$ac_srcdir&;t t
16888
s&@abs_srcdir@&$ac_abs_srcdir&;t t
16889
s&@top_srcdir@&$ac_top_srcdir&;t t
16890
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16891
s&@builddir@&$ac_builddir&;t t
16892
s&@abs_builddir@&$ac_abs_builddir&;t t
16893
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16894
s&@INSTALL@&$ac_INSTALL&;t t
16895
s&@MKDIR_P@&$ac_MKDIR_P&;t t
16896
$ac_datarootdir_hack
16898
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16899
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16901
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16902
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16903
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16904
"$ac_tmp/out"`; test -z "$ac_out"; } &&
16905
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16906
which seems to be undefined. Please make sure it is defined" >&5
16907
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16908
which seems to be undefined. Please make sure it is defined" >&2;}
16910
rm -f "$ac_tmp/stdin"
16912
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16913
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16915
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16921
if test x"$ac_file" != x-; then
16923
$as_echo "/* $configure_input */" \
16924
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16925
} >"$ac_tmp/config.h" \
16926
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16927
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16928
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16929
$as_echo "$as_me: $ac_file is unchanged" >&6;}
16932
mv "$ac_tmp/config.h" "$ac_file" \
16933
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16936
$as_echo "/* $configure_input */" \
16937
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16938
|| as_fn_error $? "could not create -" "$LINENO" 5
16940
# Compute "$ac_file"'s index in $config_headers.
16943
for _am_header in $config_headers :; do
16944
case $_am_header in
16945
$_am_arg | $_am_arg:* )
16948
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
16951
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16952
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16953
X"$_am_arg" : 'X\(//\)[^/]' \| \
16954
X"$_am_arg" : 'X\(//\)$' \| \
16955
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16956
$as_echo X"$_am_arg" |
16957
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16961
/^X\(\/\/\)[^/].*/{
16973
s/.*/./; q'`/stamp-h$_am_stamp_count
16976
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16977
$as_echo "$as_me: executing $ac_file commands" >&6;}
16982
case $ac_file$ac_mode in
16983
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16984
# Autoconf 2.62 quotes --file arguments for eval, but not when files
16985
# are listed without --file. Let's play safe and only enable the eval
16986
# if we detect the quoting.
16987
case $CONFIG_FILES in
16988
*\'*) eval set x "$CONFIG_FILES" ;;
16989
*) set x $CONFIG_FILES ;;
16994
# Strip MF so we end up with the name of the file.
16995
mf=`echo "$mf" | sed -e 's/:.*$//'`
16996
# Check whether this is an Automake generated Makefile or not.
16997
# We used to match only the files named `Makefile.in', but
16998
# some people rename them; so instead we look at the file content.
16999
# Grep'ing the first line is not enough: some people post-process
17000
# each Makefile.in and add a new line on top of each file to say so.
17001
# Grep'ing the whole file is not good either: AIX grep has a line
17002
# limit of 2048, but all sed's we know have understand at least 4000.
17003
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17004
dirpart=`$as_dirname -- "$mf" ||
17005
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17006
X"$mf" : 'X\(//\)[^/]' \| \
17007
X"$mf" : 'X\(//\)$' \| \
17008
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17010
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17014
/^X\(\/\/\)[^/].*/{
17030
# Extract the definition of DEPDIR, am__include, and am__quote
17031
# from the Makefile without running `make'.
17032
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17033
test -z "$DEPDIR" && continue
17034
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17035
test -z "am__include" && continue
17036
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17037
# When using ansi2knr, U may be empty or an underscore; expand it
17038
U=`sed -n 's/^U = //p' < "$mf"`
17039
# Find all dependency output files, they are included files with
17040
# $(DEPDIR) in their names. We invoke sed twice because it is the
17041
# simplest approach to changing $(DEPDIR) to its actual value in the
17043
for file in `sed -n "
17044
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17045
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17046
# Make sure the directory exists.
17047
test -f "$dirpart/$file" && continue
17048
fdir=`$as_dirname -- "$file" ||
17049
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17050
X"$file" : 'X\(//\)[^/]' \| \
17051
X"$file" : 'X\(//\)$' \| \
17052
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17053
$as_echo X"$file" |
17054
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17058
/^X\(\/\/\)[^/].*/{
17071
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17072
# echo "creating $dirpart/$file"
17073
echo '# dummy' > "$dirpart/$file"
17080
# See if we are running on zsh, and set the options which allow our
17081
# commands through without removal of \ escapes.
17082
if test -n "${ZSH_VERSION+set}" ; then
17083
setopt NO_GLOB_SUBST
17086
cfgfile="${ofile}T"
17087
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17090
cat <<_LT_EOF >> "$cfgfile"
17093
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17094
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17095
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17096
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17098
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17099
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17101
# Written by Gordon Matzigkeit, 1996
17103
# This file is part of GNU Libtool.
17105
# GNU Libtool is free software; you can redistribute it and/or
17106
# modify it under the terms of the GNU General Public License as
17107
# published by the Free Software Foundation; either version 2 of
17108
# the License, or (at your option) any later version.
17110
# As a special exception to the GNU General Public License,
17111
# if you distribute this file as part of a program or library that
17112
# is built using GNU Libtool, you may include this file under the
17113
# same distribution terms that you use for the rest of that program.
17115
# GNU Libtool is distributed in the hope that it will be useful,
17116
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17117
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17118
# GNU General Public License for more details.
17120
# You should have received a copy of the GNU General Public License
17121
# along with GNU Libtool; see the file COPYING. If not, a copy
17122
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17123
# obtained by writing to the Free Software Foundation, Inc.,
17124
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17127
# The names of the tagged configurations supported by this script.
17128
available_tags="CXX "
17130
# ### BEGIN LIBTOOL CONFIG
17132
# Which release of libtool.m4 was used?
17133
macro_version=$macro_version
17134
macro_revision=$macro_revision
17136
# Whether or not to build shared libraries.
17137
build_libtool_libs=$enable_shared
17139
# Whether or not to build static libraries.
17140
build_old_libs=$enable_static
17142
# What type of objects to build.
17145
# Whether or not to optimize for fast installation.
17146
fast_install=$enable_fast_install
17148
# Shell to use when invoking shell scripts.
17151
# An echo program that protects backslashes.
17154
# The PATH separator for the build system.
17155
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17158
host_alias=$host_alias
17162
# The build system.
17163
build_alias=$build_alias
17167
# A sed program that does not truncate output.
17170
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17171
Xsed="\$SED -e 1s/^X//"
17173
# A grep program that handles long lines.
17179
# A literal string matcher.
17182
# A BSD- or MS-compatible name lister.
17185
# Whether we need soft or hard links.
17188
# What is the maximum length of a command?
17189
max_cmd_len=$max_cmd_len
17191
# Object file suffix (normally "o").
17194
# Executable file suffix (normally "").
17197
# whether the shell understands "unset".
17200
# turn spaces into newlines.
17203
# turn newlines into spaces.
17206
# convert \$build file names to \$host format.
17207
to_host_file_cmd=$lt_cv_to_host_file_cmd
17209
# convert \$build files to toolchain format.
17210
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17212
# An object symbol dumper.
17213
OBJDUMP=$lt_OBJDUMP
17215
# Method to check whether dependent libraries are shared objects.
17216
deplibs_check_method=$lt_deplibs_check_method
17218
# Command to use when deplibs_check_method = "file_magic".
17219
file_magic_cmd=$lt_file_magic_cmd
17221
# How to find potential files when deplibs_check_method = "file_magic".
17222
file_magic_glob=$lt_file_magic_glob
17224
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17225
want_nocaseglob=$lt_want_nocaseglob
17227
# DLL creation program.
17228
DLLTOOL=$lt_DLLTOOL
17230
# Command to associate shared and link libraries.
17231
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17236
# Flags to create an archive.
17237
AR_FLAGS=$lt_AR_FLAGS
17239
# How to feed a file listing to the archiver.
17240
archiver_list_spec=$lt_archiver_list_spec
17242
# A symbol stripping program.
17245
# Commands used to install an old-style archive.
17247
old_postinstall_cmds=$lt_old_postinstall_cmds
17248
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17250
# Whether to use a lock for old archive extraction.
17251
lock_old_archive_extraction=$lock_old_archive_extraction
17256
# LTCC compiler flags.
17257
LTCFLAGS=$lt_CFLAGS
17259
# Take the output of nm and produce a listing of raw symbols and C names.
17260
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17262
# Transform the output of nm in a proper C declaration.
17263
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17265
# Transform the output of nm in a C name address pair.
17266
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17268
# Transform the output of nm in a C name address pair when lib prefix is needed.
17269
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
17271
# Specify filename containing input files for \$NM.
17272
nm_file_list_spec=$lt_nm_file_list_spec
17274
# The root where to search for dependent libraries,and in which our libraries should be installed.
17275
lt_sysroot=$lt_sysroot
17277
# The name of the directory that contains temporary libtool files.
17280
# Used to examine libraries when file_magic_cmd begins with "file".
17281
MAGIC_CMD=$MAGIC_CMD
17283
# Must we lock files when doing compilation?
17284
need_locks=$lt_need_locks
17287
MANIFEST_TOOL=$lt_MANIFEST_TOOL
17289
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
17290
DSYMUTIL=$lt_DSYMUTIL
17292
# Tool to change global to local symbols on Mac OS X.
17295
# Tool to manipulate fat objects and archives on Mac OS X.
17298
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
17301
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
17302
OTOOL64=$lt_OTOOL64
17304
# Old archive suffix (normally "a").
17307
# Shared library suffix (normally ".so").
17308
shrext_cmds=$lt_shrext_cmds
17310
# The commands to extract the exported symbol list from a shared archive.
17311
extract_expsyms_cmds=$lt_extract_expsyms_cmds
17313
# Variables whose values should be saved in libtool wrapper scripts and
17314
# restored at link time.
17315
variables_saved_for_relink=$lt_variables_saved_for_relink
17317
# Do we need the "lib" prefix for modules?
17318
need_lib_prefix=$need_lib_prefix
17320
# Do we need a version for libraries?
17321
need_version=$need_version
17323
# Library versioning type.
17324
version_type=$version_type
17326
# Shared library runtime path variable.
17327
runpath_var=$runpath_var
17329
# Shared library path variable.
17330
shlibpath_var=$shlibpath_var
17332
# Is shlibpath searched before the hard-coded library search path?
17333
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17335
# Format of library name prefix.
17336
libname_spec=$lt_libname_spec
17338
# List of archive names. First name is the real one, the rest are links.
17339
# The last name is the one that the linker finds with -lNAME
17340
library_names_spec=$lt_library_names_spec
17342
# The coded name of the library, if different from the real name.
17343
soname_spec=$lt_soname_spec
17345
# Permission mode override for installation of shared libraries.
17346
install_override_mode=$lt_install_override_mode
17348
# Command to use after installation of a shared archive.
17349
postinstall_cmds=$lt_postinstall_cmds
17351
# Command to use after uninstallation of a shared archive.
17352
postuninstall_cmds=$lt_postuninstall_cmds
17354
# Commands used to finish a libtool library installation in a directory.
17355
finish_cmds=$lt_finish_cmds
17357
# As "finish_cmds", except a single script fragment to be evaled but
17359
finish_eval=$lt_finish_eval
17361
# Whether we should hardcode library paths into libraries.
17362
hardcode_into_libs=$hardcode_into_libs
17364
# Compile-time system search path for libraries.
17365
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17367
# Run-time system search path for libraries.
17368
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17370
# Whether dlopen is supported.
17371
dlopen_support=$enable_dlopen
17373
# Whether dlopen of programs is supported.
17374
dlopen_self=$enable_dlopen_self
17376
# Whether dlopen of statically linked programs is supported.
17377
dlopen_self_static=$enable_dlopen_self_static
17379
# Commands to strip libraries.
17380
old_striplib=$lt_old_striplib
17381
striplib=$lt_striplib
17384
# The linker used to build libraries.
17387
# How to create reloadable object files.
17388
reload_flag=$lt_reload_flag
17389
reload_cmds=$lt_reload_cmds
17391
# Commands used to build an old-style archive.
17392
old_archive_cmds=$lt_old_archive_cmds
17394
# A language specific compiler.
17397
# Is the compiler the GNU compiler?
17400
# Compiler flag to turn off builtin functions.
17401
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
17403
# Additional compiler flags for building library objects.
17404
pic_flag=$lt_lt_prog_compiler_pic
17406
# How to pass a linker flag through the compiler.
17407
wl=$lt_lt_prog_compiler_wl
17409
# Compiler flag to prevent dynamic linking.
17410
link_static_flag=$lt_lt_prog_compiler_static
17412
# Does compiler simultaneously support -c and -o options?
17413
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
17415
# Whether or not to add -lc for building shared libraries.
17416
build_libtool_need_lc=$archive_cmds_need_lc
17418
# Whether or not to disallow shared libs when runtime libs are static.
17419
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
17421
# Compiler flag to allow reflexive dlopens.
17422
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
17424
# Compiler flag to generate shared objects directly from archives.
17425
whole_archive_flag_spec=$lt_whole_archive_flag_spec
17427
# Whether the compiler copes with passing no objects directly.
17428
compiler_needs_object=$lt_compiler_needs_object
17430
# Create an old-style archive from a shared archive.
17431
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
17433
# Create a temporary old-style archive to link instead of a shared archive.
17434
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
17436
# Commands used to build a shared archive.
17437
archive_cmds=$lt_archive_cmds
17438
archive_expsym_cmds=$lt_archive_expsym_cmds
17440
# Commands used to build a loadable module if different from building
17441
# a shared archive.
17442
module_cmds=$lt_module_cmds
17443
module_expsym_cmds=$lt_module_expsym_cmds
17445
# Whether we are building with GNU ld or not.
17446
with_gnu_ld=$lt_with_gnu_ld
17448
# Flag that allows shared libraries with undefined symbols to be built.
17449
allow_undefined_flag=$lt_allow_undefined_flag
17451
# Flag that enforces no undefined symbols.
17452
no_undefined_flag=$lt_no_undefined_flag
17454
# Flag to hardcode \$libdir into a binary during linking.
17455
# This must work even if \$libdir does not exist
17456
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
17458
# Whether we need a single "-rpath" flag with a separated argument.
17459
hardcode_libdir_separator=$lt_hardcode_libdir_separator
17461
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17462
# DIR into the resulting binary.
17463
hardcode_direct=$hardcode_direct
17465
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17466
# DIR into the resulting binary and the resulting library dependency is
17467
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17468
# library is relocated.
17469
hardcode_direct_absolute=$hardcode_direct_absolute
17471
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17472
# into the resulting binary.
17473
hardcode_minus_L=$hardcode_minus_L
17475
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17476
# into the resulting binary.
17477
hardcode_shlibpath_var=$hardcode_shlibpath_var
17479
# Set to "yes" if building a shared library automatically hardcodes DIR
17480
# into the library and all subsequent libraries and executables linked
17482
hardcode_automatic=$hardcode_automatic
17484
# Set to yes if linker adds runtime paths of dependent libraries
17485
# to runtime path list.
17486
inherit_rpath=$inherit_rpath
17488
# Whether libtool must link a program against all its dependency libraries.
17489
link_all_deplibs=$link_all_deplibs
17491
# Set to "yes" if exported symbols are required.
17492
always_export_symbols=$always_export_symbols
17494
# The commands to list exported symbols.
17495
export_symbols_cmds=$lt_export_symbols_cmds
17497
# Symbols that should not be listed in the preloaded symbols.
17498
exclude_expsyms=$lt_exclude_expsyms
17500
# Symbols that must always be exported.
17501
include_expsyms=$lt_include_expsyms
17503
# Commands necessary for linking programs (against libraries) with templates.
17504
prelink_cmds=$lt_prelink_cmds
17506
# Commands necessary for finishing linking programs.
17507
postlink_cmds=$lt_postlink_cmds
17509
# Specify filename containing input files.
17510
file_list_spec=$lt_file_list_spec
17512
# How to hardcode a shared library path into an executable.
17513
hardcode_action=$hardcode_action
17515
# The directories searched by this compiler when creating a shared library.
17516
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
17518
# Dependencies to place before and after the objects being linked to
17519
# create a shared library.
17520
predep_objects=$lt_predep_objects
17521
postdep_objects=$lt_postdep_objects
17522
predeps=$lt_predeps
17523
postdeps=$lt_postdeps
17525
# The library search path used internally by the compiler when linking
17526
# a shared library.
17527
compiler_lib_search_path=$lt_compiler_lib_search_path
17529
# ### END LIBTOOL CONFIG
17535
cat <<\_LT_EOF >> "$cfgfile"
17536
# AIX sometimes has problems with the GCC collect2 program. For some
17537
# reason, if we set the COLLECT_NAMES environment variable, the problems
17538
# vanish in a puff of smoke.
17539
if test "X${COLLECT_NAMES+set}" != Xset; then
17541
export COLLECT_NAMES
17548
ltmain="$ac_aux_dir/ltmain.sh"
17551
# We use sed instead of cat because bash on DJGPP gets confused if
17552
# if finds mixed CR/LF and LF-only lines. Since sed operates in
17553
# text mode, it properly converts lines to CR/LF. This bash problem
17554
# is reportedly fixed, but why not run on old versions too?
17555
sed '$q' "$ltmain" >> "$cfgfile" \
17556
|| (rm -f "$cfgfile"; exit 1)
17558
if test x"$xsi_shell" = xyes; then
17559
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
17563
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17564
\ * ) func_dirname_result="${3}" ;;\
17566
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
17567
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17568
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17569
test 0 -eq $? || _lt_function_replace_fail=:
17572
sed -e '/^func_basename ()$/,/^} # func_basename /c\
17575
\ func_basename_result="${1##*/}"\
17576
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
17577
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17578
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17579
test 0 -eq $? || _lt_function_replace_fail=:
17582
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
17583
func_dirname_and_basename ()\
17586
\ */*) func_dirname_result="${1%/*}${2}" ;;\
17587
\ * ) func_dirname_result="${3}" ;;\
17589
\ func_basename_result="${1##*/}"\
17590
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
17591
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17592
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17593
test 0 -eq $? || _lt_function_replace_fail=:
17596
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
17599
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
17600
\ # positional parameters, so assign one to ordinary parameter first.\
17601
\ func_stripname_result=${3}\
17602
\ func_stripname_result=${func_stripname_result#"${1}"}\
17603
\ func_stripname_result=${func_stripname_result%"${2}"}\
17604
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
17605
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17606
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17607
test 0 -eq $? || _lt_function_replace_fail=:
17610
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
17611
func_split_long_opt ()\
17613
\ func_split_long_opt_name=${1%%=*}\
17614
\ func_split_long_opt_arg=${1#*=}\
17615
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
17616
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17617
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17618
test 0 -eq $? || _lt_function_replace_fail=:
17621
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
17622
func_split_short_opt ()\
17624
\ func_split_short_opt_arg=${1#??}\
17625
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
17626
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
17627
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17628
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17629
test 0 -eq $? || _lt_function_replace_fail=:
17632
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
17636
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
17637
\ *) func_lo2o_result=${1} ;;\
17639
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
17640
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17641
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17642
test 0 -eq $? || _lt_function_replace_fail=:
17645
sed -e '/^func_xform ()$/,/^} # func_xform /c\
17648
func_xform_result=${1%.*}.lo\
17649
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
17650
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17651
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17652
test 0 -eq $? || _lt_function_replace_fail=:
17655
sed -e '/^func_arith ()$/,/^} # func_arith /c\
17658
func_arith_result=$(( $* ))\
17659
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
17660
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17661
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17662
test 0 -eq $? || _lt_function_replace_fail=:
17665
sed -e '/^func_len ()$/,/^} # func_len /c\
17668
func_len_result=${#1}\
17669
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
17670
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17671
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17672
test 0 -eq $? || _lt_function_replace_fail=:
17676
if test x"$lt_shell_append" = xyes; then
17677
sed -e '/^func_append ()$/,/^} # func_append /c\
17680
eval "${1}+=\\${2}"\
17681
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
17682
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17683
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17684
test 0 -eq $? || _lt_function_replace_fail=:
17687
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
17688
func_append_quoted ()\
17690
\ func_quote_for_eval "${2}"\
17691
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
17692
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
17693
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17694
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17695
test 0 -eq $? || _lt_function_replace_fail=:
17698
# Save a `func_append' function call where possible by direct use of '+='
17699
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
17700
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17701
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17702
test 0 -eq $? || _lt_function_replace_fail=:
17704
# Save a `func_append' function call even when '+=' is not available
17705
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
17706
&& mv -f "$cfgfile.tmp" "$cfgfile" \
17707
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
17708
test 0 -eq $? || _lt_function_replace_fail=:
17711
if test x"$_lt_function_replace_fail" = x":"; then
17712
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
17713
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
17717
mv -f "$cfgfile" "$ofile" ||
17718
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17722
cat <<_LT_EOF >> "$ofile"
17724
# ### BEGIN LIBTOOL TAG CONFIG: CXX
17726
# The linker used to build libraries.
17729
# How to create reloadable object files.
17730
reload_flag=$lt_reload_flag_CXX
17731
reload_cmds=$lt_reload_cmds_CXX
17733
# Commands used to build an old-style archive.
17734
old_archive_cmds=$lt_old_archive_cmds_CXX
17736
# A language specific compiler.
17737
CC=$lt_compiler_CXX
17739
# Is the compiler the GNU compiler?
17742
# Compiler flag to turn off builtin functions.
17743
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
17745
# Additional compiler flags for building library objects.
17746
pic_flag=$lt_lt_prog_compiler_pic_CXX
17748
# How to pass a linker flag through the compiler.
17749
wl=$lt_lt_prog_compiler_wl_CXX
17751
# Compiler flag to prevent dynamic linking.
17752
link_static_flag=$lt_lt_prog_compiler_static_CXX
17754
# Does compiler simultaneously support -c and -o options?
17755
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
17757
# Whether or not to add -lc for building shared libraries.
17758
build_libtool_need_lc=$archive_cmds_need_lc_CXX
17760
# Whether or not to disallow shared libs when runtime libs are static.
17761
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
17763
# Compiler flag to allow reflexive dlopens.
17764
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
17766
# Compiler flag to generate shared objects directly from archives.
17767
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
17769
# Whether the compiler copes with passing no objects directly.
17770
compiler_needs_object=$lt_compiler_needs_object_CXX
17772
# Create an old-style archive from a shared archive.
17773
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
17775
# Create a temporary old-style archive to link instead of a shared archive.
17776
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
17778
# Commands used to build a shared archive.
17779
archive_cmds=$lt_archive_cmds_CXX
17780
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
17782
# Commands used to build a loadable module if different from building
17783
# a shared archive.
17784
module_cmds=$lt_module_cmds_CXX
17785
module_expsym_cmds=$lt_module_expsym_cmds_CXX
17787
# Whether we are building with GNU ld or not.
17788
with_gnu_ld=$lt_with_gnu_ld_CXX
17790
# Flag that allows shared libraries with undefined symbols to be built.
17791
allow_undefined_flag=$lt_allow_undefined_flag_CXX
17793
# Flag that enforces no undefined symbols.
17794
no_undefined_flag=$lt_no_undefined_flag_CXX
17796
# Flag to hardcode \$libdir into a binary during linking.
17797
# This must work even if \$libdir does not exist
17798
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
17800
# Whether we need a single "-rpath" flag with a separated argument.
17801
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
17803
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17804
# DIR into the resulting binary.
17805
hardcode_direct=$hardcode_direct_CXX
17807
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
17808
# DIR into the resulting binary and the resulting library dependency is
17809
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
17810
# library is relocated.
17811
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
17813
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
17814
# into the resulting binary.
17815
hardcode_minus_L=$hardcode_minus_L_CXX
17817
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
17818
# into the resulting binary.
17819
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
17821
# Set to "yes" if building a shared library automatically hardcodes DIR
17822
# into the library and all subsequent libraries and executables linked
17824
hardcode_automatic=$hardcode_automatic_CXX
17826
# Set to yes if linker adds runtime paths of dependent libraries
17827
# to runtime path list.
17828
inherit_rpath=$inherit_rpath_CXX
17830
# Whether libtool must link a program against all its dependency libraries.
17831
link_all_deplibs=$link_all_deplibs_CXX
17833
# Set to "yes" if exported symbols are required.
17834
always_export_symbols=$always_export_symbols_CXX
17836
# The commands to list exported symbols.
17837
export_symbols_cmds=$lt_export_symbols_cmds_CXX
17839
# Symbols that should not be listed in the preloaded symbols.
17840
exclude_expsyms=$lt_exclude_expsyms_CXX
17842
# Symbols that must always be exported.
17843
include_expsyms=$lt_include_expsyms_CXX
17845
# Commands necessary for linking programs (against libraries) with templates.
17846
prelink_cmds=$lt_prelink_cmds_CXX
17848
# Commands necessary for finishing linking programs.
17849
postlink_cmds=$lt_postlink_cmds_CXX
17851
# Specify filename containing input files.
17852
file_list_spec=$lt_file_list_spec_CXX
17854
# How to hardcode a shared library path into an executable.
17855
hardcode_action=$hardcode_action_CXX
17857
# The directories searched by this compiler when creating a shared library.
17858
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
17860
# Dependencies to place before and after the objects being linked to
17861
# create a shared library.
17862
predep_objects=$lt_predep_objects_CXX
17863
postdep_objects=$lt_postdep_objects_CXX
17864
predeps=$lt_predeps_CXX
17865
postdeps=$lt_postdeps_CXX
17867
# The library search path used internally by the compiler when linking
17868
# a shared library.
17869
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
17871
# ### END LIBTOOL TAG CONFIG: CXX
17882
ac_clean_files=$ac_clean_files_save
17884
test $ac_write_fail = 0 ||
17885
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17888
# configure is writing to config.log, and then calls config.status.
17889
# config.status does its own redirection, appending to config.log.
17890
# Unfortunately, on DOS this fails, as config.log is still kept open
17891
# by configure, so config.status won't be able to write to it; its
17892
# output is simply discarded. So we exec the FD to /dev/null,
17893
# effectively closing config.log, so it can be properly (re)opened and
17894
# appended to by config.status. When coming back to configure, we
17895
# need to make the FD available again.
17896
if test "$no_create" != yes; then
17898
ac_config_status_args=
17899
test "$silent" = yes &&
17900
ac_config_status_args="$ac_config_status_args --quiet"
17902
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17904
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
17905
# would make configure fail if this is the last instruction.
17906
$ac_cs_success || as_fn_exit 1
17908
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17909
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17910
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}