2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for Kernel device emulation 1.0.9.1.
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11
# This configure script is free software; the Free Software Foundation
12
# gives unlimited permission to copy, distribute and modify it.
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
17
# Be more Bourne compatible
18
DUALCASE=1; export DUALCASE # for MKS sh
19
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23
# is contrary to our usage. Disable this feature.
24
alias -g '${1+"$@"}'='"$@"'
27
case `(set -o) 2>/dev/null` in #(
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
74
# The user is always right.
75
if test "${PATH_SEPARATOR+set}" != set; then
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85
# We need space, tab and new line, in precisely that order. Quoting is
86
# there to prevent editors from complaining about space-tab.
87
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88
# splitting by setting IFS to empty value.)
91
# Find who we are. Look in the path if we contain no directory separator.
94
*[\\/]* ) as_myself=$0 ;;
95
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99
test -z "$as_dir" && as_dir=.
100
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106
# We did not find ourselves, most probably we were run as `sh COMMAND'
107
# in which case we are not to be found in the path.
108
if test "x$as_myself" = x; then
111
if test ! -f "$as_myself"; then
112
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116
# Unset variables that we do not need and which cause bugs (e.g. in
117
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118
# suppresses any "Segmentation fault" message there. '((' could
119
# trigger a bug in pdksh 5.2.14.
120
for as_var in BASH_ENV ENV MAIL MAILPATH
121
do eval test x\${$as_var+set} = xset \
122
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
if test "x$CONFIG_SHELL" = x; then
138
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142
# is contrary to our usage. Disable this feature.
143
alias -g '\${1+\"\$@\"}'='\"\$@\"'
146
case \`(set -o) 2>/dev/null\` in #(
154
as_required="as_fn_return () { (exit \$1); }
155
as_fn_success () { as_fn_return 0; }
156
as_fn_failure () { as_fn_return 1; }
157
as_fn_ret_success () { return 0; }
158
as_fn_ret_failure () { return 1; }
161
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
exitcode=1; echo positional parameters were not saved.
170
test x\$exitcode = x0 || exit 1"
171
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
177
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
178
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
179
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
180
PATH=/empty FPATH=/empty; export PATH FPATH
181
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
182
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
183
test \$(( 1 + 1 )) = 2 || exit 1"
184
if (eval "$as_required") 2>/dev/null; then :
189
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
194
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197
test -z "$as_dir" && as_dir=.
201
for as_base in sh bash ksh sh5; do
202
# Try only shells that exist, to save several forks.
203
as_shell=$as_dir/$as_base
204
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
206
CONFIG_SHELL=$as_shell as_have_required=yes
207
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
215
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
216
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
217
CONFIG_SHELL=$SHELL as_have_required=yes
222
if test "x$CONFIG_SHELL" != x; then :
223
# We cannot yet assume a decent shell, so we have to provide a
224
# neutralization value for shells without unset; and this also
225
# works around shells that cannot unset nonexistent variables.
226
# Preserve -v and -x to the replacement shell.
229
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232
*v*x* | *x*v* ) as_opts=-vx ;;
237
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240
if test x$as_have_required = xno; then :
241
$as_echo "$0: This script requires a shell more modern than all"
242
$as_echo "$0: the shells that I found on your system."
243
if test x${ZSH_VERSION+set} = xset ; then
244
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
245
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
247
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
248
$0: including any error possibly output before this
249
$0: message. Then install a modern shell, or manually run
250
$0: the script under such a shell if you do have one."
256
SHELL=${CONFIG_SHELL-/bin/sh}
258
# Unset more variables known to interfere with behavior of common tools.
259
CLICOLOR_FORCE= GREP_OPTIONS=
260
unset CLICOLOR_FORCE GREP_OPTIONS
262
## --------------------- ##
263
## M4sh Shell Functions. ##
264
## --------------------- ##
267
# Portably unset VAR.
270
{ eval $1=; unset $1;}
274
# as_fn_set_status STATUS
275
# -----------------------
276
# Set $? to STATUS, without forking.
284
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
294
# Create "$as_dir" as a directory, including parents if necessary.
299
-*) as_dir=./$as_dir;;
301
test -d "$as_dir" || eval $as_mkdir_p || {
305
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
308
as_dirs="'$as_qdir' $as_dirs"
309
as_dir=`$as_dirname -- "$as_dir" ||
310
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
311
X"$as_dir" : 'X\(//\)[^/]' \| \
312
X"$as_dir" : 'X\(//\)$' \| \
313
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
314
$as_echo X"$as_dir" |
315
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
332
test -d "$as_dir" && break
334
test -z "$as_dirs" || eval "mkdir $as_dirs"
335
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
# as_fn_append VAR VALUE
340
# ----------------------
341
# Append the text in VALUE to the end of the definition contained in VAR. Take
342
# advantage of any shell optimizations that allow amortized linear growth over
343
# repeated appends, instead of the typical quadratic growth present in naive
345
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
346
eval 'as_fn_append ()
359
# Perform arithmetic evaluation on the ARGs, and store the result in the
360
# global $as_val. Take advantage of shells that can avoid forks. The arguments
361
# must be portable across $(()) and expr.
362
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
370
as_val=`expr "$@" || test $? -eq 1`
375
# as_fn_error STATUS ERROR [LINENO LOG_FD]
376
# ----------------------------------------
377
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
378
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
379
# script with STATUS, using 1 if that was 0.
382
as_status=$1; test $as_status -eq 0 && as_status=1
384
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
385
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
387
$as_echo "$as_me: error: $2" >&2
388
as_fn_exit $as_status
391
if expr a : '\(a\)' >/dev/null 2>&1 &&
392
test "X`expr 00001 : '.*\(...\)'`" = X001; then
398
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
404
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
410
as_me=`$as_basename -- "$0" ||
411
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
412
X"$0" : 'X\(//\)$' \| \
413
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
415
sed '/^.*\/\([^/][^/]*\)\/*$/{
429
# Avoid depending upon Character Ranges.
430
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
431
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
432
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
433
as_cr_digits='0123456789'
434
as_cr_alnum=$as_cr_Letters$as_cr_digits
437
as_lineno_1=$LINENO as_lineno_1a=$LINENO
438
as_lineno_2=$LINENO as_lineno_2a=$LINENO
439
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
440
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
441
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
453
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457
chmod +x "$as_me.lineno" ||
458
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
460
# Don't try to exec as it changes $[0], causing all sort of problems
461
# (the dirname of $[0] is not the place where we might find the
462
# original and so on. Autoconf is especially sensitive to this).
464
# Exit status is that of the last command.
468
ECHO_C= ECHO_N= ECHO_T=
469
case `echo -n x` in #(((((
471
case `echo 'xy\c'` in
472
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
474
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
481
rm -f conf$$ conf$$.exe conf$$.file
482
if test -d conf$$.dir; then
483
rm -f conf$$.dir/conf$$.file
486
mkdir conf$$.dir 2>/dev/null
488
if (echo >conf$$.file) 2>/dev/null; then
489
if ln -s conf$$.file conf$$ 2>/dev/null; then
491
# ... but there are two gotchas:
492
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
493
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
494
# In both cases, we have to default to `cp -p'.
495
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
497
elif ln conf$$.file conf$$ 2>/dev/null; then
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
508
if mkdir -p . 2>/dev/null; then
509
as_mkdir_p='mkdir -p "$as_dir"'
511
test -d ./-p && rmdir ./-p
515
if test -x / >/dev/null 2>&1; then
518
if ls -dL / >/dev/null 2>&1; then
525
if test -d "$1"; then
531
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
532
???[sx]*):;;*)false;;esac;fi
536
as_executable_p=$as_test_x
538
# Sed expression to map a string onto a valid CPP name.
539
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
541
# Sed expression to map a string onto a valid variable name.
542
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
544
SHELL=${CONFIG_SHELL-/bin/sh}
547
test -n "$DJDIR" || exec 7<&0 </dev/null
551
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
552
# so uname gets run too.
553
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
558
ac_default_prefix=/usr/local
560
ac_config_libobj_dir=.
567
# Identity of this package.
568
PACKAGE_NAME='Kernel device emulation'
569
PACKAGE_TARNAME='evemu'
570
PACKAGE_VERSION='1.0.9.1'
571
PACKAGE_STRING='Kernel device emulation 1.0.9.1'
575
ac_unique_file="Makefile.am"
576
# Factoring default headers for most tests.
577
ac_includes_default="\
579
#ifdef HAVE_SYS_TYPES_H
580
# include <sys/types.h>
582
#ifdef HAVE_SYS_STAT_H
583
# include <sys/stat.h>
589
# ifdef HAVE_STDLIB_H
594
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599
#ifdef HAVE_STRINGS_H
600
# include <strings.h>
602
#ifdef HAVE_INTTYPES_H
603
# include <inttypes.h>
612
ac_subst_vars='am__EXEEXT_FALSE
686
MAINTAINER_MODE_FALSE
700
INSTALL_STRIP_PROGRAM
742
program_transform_name
755
enable_option_checking
757
enable_maintainer_mode
762
enable_dependency_tracking
767
ac_precious_vars='build_alias
785
# Initialize some variables set by options.
787
ac_init_version=false
788
ac_unrecognized_opts=
790
# The variables have the same names as the options, with
791
# dashes changed to underlines.
799
program_transform_name=s,x,x,
807
# Installation directory options.
808
# These are left unexpanded so users can "make install exec_prefix=/foo"
809
# and all the variables that are supposed to be based on exec_prefix
810
# by default will actually change.
811
# Use braces instead of parens because sh, perl, etc. also accept them.
812
# (The list follows the same order as the GNU Coding Standards.)
813
bindir='${exec_prefix}/bin'
814
sbindir='${exec_prefix}/sbin'
815
libexecdir='${exec_prefix}/libexec'
816
datarootdir='${prefix}/share'
817
datadir='${datarootdir}'
818
sysconfdir='${prefix}/etc'
819
sharedstatedir='${prefix}/com'
820
localstatedir='${prefix}/var'
821
includedir='${prefix}/include'
822
oldincludedir='/usr/include'
823
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
824
infodir='${datarootdir}/info'
829
libdir='${exec_prefix}/lib'
830
localedir='${datarootdir}/locale'
831
mandir='${datarootdir}/man'
837
# If the previous option needs an argument, assign it.
838
if test -n "$ac_prev"; then
839
eval $ac_prev=\$ac_option
845
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850
# Accept the important Cygnus configure options, so we can diagnose typos.
852
case $ac_dashdash$ac_option in
856
-bindir | --bindir | --bindi | --bind | --bin | --bi)
858
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
861
-build | --build | --buil | --bui | --bu)
862
ac_prev=build_alias ;;
863
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
864
build_alias=$ac_optarg ;;
866
-cache-file | --cache-file | --cache-fil | --cache-fi \
867
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
868
ac_prev=cache_file ;;
869
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
870
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
871
cache_file=$ac_optarg ;;
874
cache_file=config.cache ;;
876
-datadir | --datadir | --datadi | --datad)
878
-datadir=* | --datadir=* | --datadi=* | --datad=*)
879
datadir=$ac_optarg ;;
881
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
882
| --dataroo | --dataro | --datar)
883
ac_prev=datarootdir ;;
884
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
885
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
886
datarootdir=$ac_optarg ;;
888
-disable-* | --disable-*)
889
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
890
# Reject names that are not valid shell variable names.
891
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
892
as_fn_error $? "invalid feature name: $ac_useropt"
893
ac_useropt_orig=$ac_useropt
894
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
895
case $ac_user_opts in
899
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
900
ac_unrecognized_sep=', ';;
902
eval enable_$ac_useropt=no ;;
904
-docdir | --docdir | --docdi | --doc | --do)
906
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
909
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
914
-enable-* | --enable-*)
915
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916
# Reject names that are not valid shell variable names.
917
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
918
as_fn_error $? "invalid feature name: $ac_useropt"
919
ac_useropt_orig=$ac_useropt
920
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
921
case $ac_user_opts in
925
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
926
ac_unrecognized_sep=', ';;
928
eval enable_$ac_useropt=\$ac_optarg ;;
930
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
931
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
932
| --exec | --exe | --ex)
933
ac_prev=exec_prefix ;;
934
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
935
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
936
| --exec=* | --exe=* | --ex=*)
937
exec_prefix=$ac_optarg ;;
939
-gas | --gas | --ga | --g)
940
# Obsolete; use --with-gas.
943
-help | --help | --hel | --he | -h)
945
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
946
ac_init_help=recursive ;;
947
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
948
ac_init_help=short ;;
950
-host | --host | --hos | --ho)
951
ac_prev=host_alias ;;
952
-host=* | --host=* | --hos=* | --ho=*)
953
host_alias=$ac_optarg ;;
955
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
957
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
959
htmldir=$ac_optarg ;;
961
-includedir | --includedir | --includedi | --included | --include \
962
| --includ | --inclu | --incl | --inc)
963
ac_prev=includedir ;;
964
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
965
| --includ=* | --inclu=* | --incl=* | --inc=*)
966
includedir=$ac_optarg ;;
968
-infodir | --infodir | --infodi | --infod | --info | --inf)
970
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
971
infodir=$ac_optarg ;;
973
-libdir | --libdir | --libdi | --libd)
975
-libdir=* | --libdir=* | --libdi=* | --libd=*)
978
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
979
| --libexe | --libex | --libe)
980
ac_prev=libexecdir ;;
981
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
982
| --libexe=* | --libex=* | --libe=*)
983
libexecdir=$ac_optarg ;;
985
-localedir | --localedir | --localedi | --localed | --locale)
987
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
988
localedir=$ac_optarg ;;
990
-localstatedir | --localstatedir | --localstatedi | --localstated \
991
| --localstate | --localstat | --localsta | --localst | --locals)
992
ac_prev=localstatedir ;;
993
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
994
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
995
localstatedir=$ac_optarg ;;
997
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
999
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000
mandir=$ac_optarg ;;
1002
-nfp | --nfp | --nf)
1003
# Obsolete; use --without-fp.
1006
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
1007
| --no-cr | --no-c | -n)
1010
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
1011
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1015
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1016
| --oldin | --oldi | --old | --ol | --o)
1017
ac_prev=oldincludedir ;;
1018
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1019
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1020
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1021
oldincludedir=$ac_optarg ;;
1023
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1025
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1026
prefix=$ac_optarg ;;
1028
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1029
| --program-pre | --program-pr | --program-p)
1030
ac_prev=program_prefix ;;
1031
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1032
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1033
program_prefix=$ac_optarg ;;
1035
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1036
| --program-suf | --program-su | --program-s)
1037
ac_prev=program_suffix ;;
1038
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1039
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1040
program_suffix=$ac_optarg ;;
1042
-program-transform-name | --program-transform-name \
1043
| --program-transform-nam | --program-transform-na \
1044
| --program-transform-n | --program-transform- \
1045
| --program-transform | --program-transfor \
1046
| --program-transfo | --program-transf \
1047
| --program-trans | --program-tran \
1048
| --progr-tra | --program-tr | --program-t)
1049
ac_prev=program_transform_name ;;
1050
-program-transform-name=* | --program-transform-name=* \
1051
| --program-transform-nam=* | --program-transform-na=* \
1052
| --program-transform-n=* | --program-transform-=* \
1053
| --program-transform=* | --program-transfor=* \
1054
| --program-transfo=* | --program-transf=* \
1055
| --program-trans=* | --program-tran=* \
1056
| --progr-tra=* | --program-tr=* | --program-t=*)
1057
program_transform_name=$ac_optarg ;;
1059
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1061
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1062
pdfdir=$ac_optarg ;;
1064
-psdir | --psdir | --psdi | --psd | --ps)
1066
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1069
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1070
| -silent | --silent | --silen | --sile | --sil)
1073
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1075
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1077
sbindir=$ac_optarg ;;
1079
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1080
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1081
| --sharedst | --shareds | --shared | --share | --shar \
1083
ac_prev=sharedstatedir ;;
1084
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1085
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1086
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1088
sharedstatedir=$ac_optarg ;;
1090
-site | --site | --sit)
1092
-site=* | --site=* | --sit=*)
1095
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1097
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1098
srcdir=$ac_optarg ;;
1100
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1101
| --syscon | --sysco | --sysc | --sys | --sy)
1102
ac_prev=sysconfdir ;;
1103
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1104
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1105
sysconfdir=$ac_optarg ;;
1107
-target | --target | --targe | --targ | --tar | --ta | --t)
1108
ac_prev=target_alias ;;
1109
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1110
target_alias=$ac_optarg ;;
1112
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1115
-version | --version | --versio | --versi | --vers | -V)
1116
ac_init_version=: ;;
1119
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1120
# Reject names that are not valid shell variable names.
1121
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122
as_fn_error $? "invalid package name: $ac_useropt"
1123
ac_useropt_orig=$ac_useropt
1124
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125
case $ac_user_opts in
1129
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1130
ac_unrecognized_sep=', ';;
1132
eval with_$ac_useropt=\$ac_optarg ;;
1134
-without-* | --without-*)
1135
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1136
# Reject names that are not valid shell variable names.
1137
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1138
as_fn_error $? "invalid package name: $ac_useropt"
1139
ac_useropt_orig=$ac_useropt
1140
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1141
case $ac_user_opts in
1145
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1146
ac_unrecognized_sep=', ';;
1148
eval with_$ac_useropt=no ;;
1151
# Obsolete; use --with-x.
1154
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1155
| --x-incl | --x-inc | --x-in | --x-i)
1156
ac_prev=x_includes ;;
1157
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1158
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1159
x_includes=$ac_optarg ;;
1161
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1162
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1163
ac_prev=x_libraries ;;
1164
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1165
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1166
x_libraries=$ac_optarg ;;
1168
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1169
Try \`$0 --help' for more information"
1173
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1174
# Reject names that are not valid shell variable names.
1175
case $ac_envvar in #(
1176
'' | [0-9]* | *[!_$as_cr_alnum]* )
1177
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1179
eval $ac_envvar=\$ac_optarg
1180
export $ac_envvar ;;
1183
# FIXME: should be removed in autoconf 3.0.
1184
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1185
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1186
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1187
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1193
if test -n "$ac_prev"; then
1194
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1195
as_fn_error $? "missing argument to $ac_option"
1198
if test -n "$ac_unrecognized_opts"; then
1199
case $enable_option_checking in
1201
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1202
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1206
# Check all directory arguments for consistency.
1207
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208
datadir sysconfdir sharedstatedir localstatedir includedir \
1209
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210
libdir localedir mandir
1212
eval ac_val=\$$ac_var
1213
# Remove trailing slashes.
1216
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1217
eval $ac_var=\$ac_val;;
1219
# Be sure to have absolute directory names.
1221
[\\/$]* | ?:[\\/]* ) continue;;
1222
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1224
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1227
# There might be people who depend on the old broken behavior: `$host'
1228
# used to hold the argument of --host etc.
1229
# FIXME: To remove some day.
1232
target=$target_alias
1234
# FIXME: To remove some day.
1235
if test "x$host_alias" != x; then
1236
if test "x$build_alias" = x; then
1237
cross_compiling=maybe
1238
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1239
If a cross compiler is detected then cross compile mode will be used" >&2
1240
elif test "x$build_alias" != "x$host_alias"; then
1246
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1248
test "$silent" = yes && exec 6>/dev/null
1251
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1252
ac_ls_di=`ls -di .` &&
1253
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1254
as_fn_error $? "working directory cannot be determined"
1255
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1256
as_fn_error $? "pwd does not report name of working directory"
1259
# Find the source files, if location was not specified.
1260
if test -z "$srcdir"; then
1261
ac_srcdir_defaulted=yes
1262
# Try the directory containing this script, then the parent directory.
1263
ac_confdir=`$as_dirname -- "$as_myself" ||
1264
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1265
X"$as_myself" : 'X\(//\)[^/]' \| \
1266
X"$as_myself" : 'X\(//\)$' \| \
1267
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1268
$as_echo X"$as_myself" |
1269
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1287
if test ! -r "$srcdir/$ac_unique_file"; then
1291
ac_srcdir_defaulted=no
1293
if test ! -r "$srcdir/$ac_unique_file"; then
1294
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1295
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1297
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1299
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1301
# When building in place, set srcdir=.
1302
if test "$ac_abs_confdir" = "$ac_pwd"; then
1305
# Remove unnecessary trailing slashes from srcdir.
1306
# Double slashes in file names in object file debugging info
1307
# mess up M-x gdb in Emacs.
1309
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1311
for ac_var in $ac_precious_vars; do
1312
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1313
eval ac_env_${ac_var}_value=\$${ac_var}
1314
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1315
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1319
# Report the --help message.
1321
if test "$ac_init_help" = "long"; then
1322
# Omit some internal or obsolete options to make the list less imposing.
1323
# This message is too long to be a string in the A/UX 3.1 sh.
1325
\`configure' configures Kernel device emulation 1.0.9.1 to adapt to many kinds of systems.
1327
Usage: $0 [OPTION]... [VAR=VALUE]...
1329
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1330
VAR=VALUE. See below for descriptions of some of the useful variables.
1332
Defaults for the options are specified in brackets.
1335
-h, --help display this help and exit
1336
--help=short display options specific to this package
1337
--help=recursive display the short help of all the included packages
1338
-V, --version display version information and exit
1339
-q, --quiet, --silent do not print \`checking ...' messages
1340
--cache-file=FILE cache test results in FILE [disabled]
1341
-C, --config-cache alias for \`--cache-file=config.cache'
1342
-n, --no-create do not create output files
1343
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1345
Installation directories:
1346
--prefix=PREFIX install architecture-independent files in PREFIX
1347
[$ac_default_prefix]
1348
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1351
By default, \`make install' will install all the files in
1352
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1353
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1354
for instance \`--prefix=\$HOME'.
1356
For better control, use the options below.
1358
Fine tuning of the installation directories:
1359
--bindir=DIR user executables [EPREFIX/bin]
1360
--sbindir=DIR system admin executables [EPREFIX/sbin]
1361
--libexecdir=DIR program executables [EPREFIX/libexec]
1362
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1363
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1364
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1365
--libdir=DIR object code libraries [EPREFIX/lib]
1366
--includedir=DIR C header files [PREFIX/include]
1367
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1368
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1369
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1370
--infodir=DIR info documentation [DATAROOTDIR/info]
1371
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1372
--mandir=DIR man documentation [DATAROOTDIR/man]
1373
--docdir=DIR documentation root [DATAROOTDIR/doc/evemu]
1374
--htmldir=DIR html documentation [DOCDIR]
1375
--dvidir=DIR dvi documentation [DOCDIR]
1376
--pdfdir=DIR pdf documentation [DOCDIR]
1377
--psdir=DIR ps documentation [DOCDIR]
1383
--program-prefix=PREFIX prepend PREFIX to installed program names
1384
--program-suffix=SUFFIX append SUFFIX to installed program names
1385
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1388
--build=BUILD configure for building on BUILD [guessed]
1389
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1393
if test -n "$ac_init_help"; then
1394
case $ac_init_help in
1395
short | recursive ) echo "Configuration of Kernel device emulation 1.0.9.1:";;
1400
--disable-option-checking ignore unrecognized --enable/--with options
1401
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1402
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1403
--enable-silent-rules less verbose build output (undo: `make V=1')
1404
--disable-silent-rules verbose build output (undo: `make V=0')
1405
--disable-maintainer-mode disable make rules and dependencies not useful
1406
(and sometimes confusing) to the casual installer
1407
--enable-shared[=PKGS] build shared libraries [default=yes]
1408
--enable-static[=PKGS] build static libraries [default=yes]
1409
--enable-fast-install[=PKGS]
1410
optimize for fast installation [default=yes]
1411
--disable-dependency-tracking speeds up one-time build
1412
--enable-dependency-tracking do not reject slow dependency extractors
1413
--disable-libtool-lock avoid locking (might break parallel builds)
1416
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1417
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1418
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1420
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1421
--with-sysroot=DIR Search for dependent libraries within DIR
1422
(or the compiler's sysroot if not specified).
1424
Some influential environment variables:
1425
CC C compiler command
1426
CFLAGS C compiler flags
1427
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1428
nonstandard directory <lib dir>
1429
LIBS libraries to pass to the linker, e.g. -l<library>
1430
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1431
you have headers in a nonstandard directory <include dir>
1433
CXX C++ compiler command
1434
CXXFLAGS C++ compiler flags
1435
CXXCPP C++ preprocessor
1436
PYTHON the Python interpreter
1437
XMLTO Path to xmlto command
1438
ASCIIDOC Path to asciidoc command
1440
Use these variables to override the choices made by `configure' or to help
1441
it to find libraries and programs with nonstandard names/locations.
1443
Report bugs to the package provider.
1448
if test "$ac_init_help" = "recursive"; then
1449
# If there are subdirs, report their specific --help.
1450
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1451
test -d "$ac_dir" ||
1452
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1457
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1459
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1460
# A ".." for each directory in $ac_dir_suffix.
1461
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1462
case $ac_top_builddir_sub in
1463
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1464
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1467
ac_abs_top_builddir=$ac_pwd
1468
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1469
# for backward compatibility:
1470
ac_top_builddir=$ac_top_build_prefix
1473
.) # We are building in place.
1475
ac_top_srcdir=$ac_top_builddir_sub
1476
ac_abs_top_srcdir=$ac_pwd ;;
1477
[\\/]* | ?:[\\/]* ) # Absolute name.
1478
ac_srcdir=$srcdir$ac_dir_suffix;
1479
ac_top_srcdir=$srcdir
1480
ac_abs_top_srcdir=$srcdir ;;
1482
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1483
ac_top_srcdir=$ac_top_build_prefix$srcdir
1484
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1486
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1488
cd "$ac_dir" || { ac_status=$?; continue; }
1489
# Check for guested configure.
1490
if test -f "$ac_srcdir/configure.gnu"; then
1492
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1493
elif test -f "$ac_srcdir/configure"; then
1495
$SHELL "$ac_srcdir/configure" --help=recursive
1497
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1499
cd "$ac_pwd" || { ac_status=$?; break; }
1503
test -n "$ac_init_help" && exit $ac_status
1504
if $ac_init_version; then
1506
Kernel device emulation configure 1.0.9.1
1507
generated by GNU Autoconf 2.68
1509
Copyright (C) 2010 Free Software Foundation, Inc.
1510
This configure script is free software; the Free Software Foundation
1511
gives unlimited permission to copy, distribute and modify it.
1516
## ------------------------ ##
1517
## Autoconf initialization. ##
1518
## ------------------------ ##
1520
# ac_fn_c_try_compile LINENO
1521
# --------------------------
1522
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1523
ac_fn_c_try_compile ()
1525
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1526
rm -f conftest.$ac_objext
1527
if { { ac_try="$ac_compile"
1529
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1530
*) ac_try_echo=$ac_try;;
1532
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1533
$as_echo "$ac_try_echo"; } >&5
1534
(eval "$ac_compile") 2>conftest.err
1536
if test -s conftest.err; then
1537
grep -v '^ *+' conftest.err >conftest.er1
1538
cat conftest.er1 >&5
1539
mv -f conftest.er1 conftest.err
1541
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1542
test $ac_status = 0; } && {
1543
test -z "$ac_c_werror_flag" ||
1544
test ! -s conftest.err
1545
} && test -s conftest.$ac_objext; then :
1548
$as_echo "$as_me: failed program was:" >&5
1549
sed 's/^/| /' conftest.$ac_ext >&5
1553
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1554
as_fn_set_status $ac_retval
1556
} # ac_fn_c_try_compile
1558
# ac_fn_c_try_link LINENO
1559
# -----------------------
1560
# Try to link conftest.$ac_ext, and return whether this succeeded.
1563
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1564
rm -f conftest.$ac_objext conftest$ac_exeext
1565
if { { ac_try="$ac_link"
1567
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1568
*) ac_try_echo=$ac_try;;
1570
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1571
$as_echo "$ac_try_echo"; } >&5
1572
(eval "$ac_link") 2>conftest.err
1574
if test -s conftest.err; then
1575
grep -v '^ *+' conftest.err >conftest.er1
1576
cat conftest.er1 >&5
1577
mv -f conftest.er1 conftest.err
1579
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580
test $ac_status = 0; } && {
1581
test -z "$ac_c_werror_flag" ||
1582
test ! -s conftest.err
1583
} && test -s conftest$ac_exeext && {
1584
test "$cross_compiling" = yes ||
1585
$as_test_x conftest$ac_exeext
1589
$as_echo "$as_me: failed program was:" >&5
1590
sed 's/^/| /' conftest.$ac_ext >&5
1594
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1595
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1596
# interfere with the next link command; also delete a directory that is
1597
# left behind by Apple's compiler. We do this before executing the actions.
1598
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1599
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600
as_fn_set_status $ac_retval
1602
} # ac_fn_c_try_link
1604
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1605
# -------------------------------------------------------
1606
# Tests whether HEADER exists and can be compiled using the include files in
1607
# INCLUDES, setting the cache variable VAR accordingly.
1608
ac_fn_c_check_header_compile ()
1610
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1612
$as_echo_n "checking for $2... " >&6; }
1613
if eval \${$3+:} false; then :
1614
$as_echo_n "(cached) " >&6
1616
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1617
/* end confdefs.h. */
1621
if ac_fn_c_try_compile "$LINENO"; then :
1626
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1629
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1630
$as_echo "$ac_res" >&6; }
1631
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1633
} # ac_fn_c_check_header_compile
1635
# ac_fn_c_try_cpp LINENO
1636
# ----------------------
1637
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1640
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641
if { { ac_try="$ac_cpp conftest.$ac_ext"
1643
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1644
*) ac_try_echo=$ac_try;;
1646
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1647
$as_echo "$ac_try_echo"; } >&5
1648
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1650
if test -s conftest.err; then
1651
grep -v '^ *+' conftest.err >conftest.er1
1652
cat conftest.er1 >&5
1653
mv -f conftest.er1 conftest.err
1655
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1656
test $ac_status = 0; } > conftest.i && {
1657
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1658
test ! -s conftest.err
1662
$as_echo "$as_me: failed program was:" >&5
1663
sed 's/^/| /' conftest.$ac_ext >&5
1667
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1668
as_fn_set_status $ac_retval
1672
# ac_fn_c_try_run LINENO
1673
# ----------------------
1674
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1675
# that executables *can* be run.
1678
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1679
if { { ac_try="$ac_link"
1681
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1682
*) ac_try_echo=$ac_try;;
1684
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1685
$as_echo "$ac_try_echo"; } >&5
1686
(eval "$ac_link") 2>&5
1688
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1690
{ { case "(($ac_try" in
1691
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1692
*) ac_try_echo=$ac_try;;
1694
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1695
$as_echo "$ac_try_echo"; } >&5
1696
(eval "$ac_try") 2>&5
1698
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699
test $ac_status = 0; }; }; then :
1702
$as_echo "$as_me: program exited with status $ac_status" >&5
1703
$as_echo "$as_me: failed program was:" >&5
1704
sed 's/^/| /' conftest.$ac_ext >&5
1706
ac_retval=$ac_status
1708
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710
as_fn_set_status $ac_retval
1714
# ac_fn_c_check_func LINENO FUNC VAR
1715
# ----------------------------------
1716
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1717
ac_fn_c_check_func ()
1719
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721
$as_echo_n "checking for $2... " >&6; }
1722
if eval \${$3+:} false; then :
1723
$as_echo_n "(cached) " >&6
1725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1726
/* end confdefs.h. */
1727
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1728
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1729
#define $2 innocuous_$2
1731
/* System header to define __stub macros and hopefully few prototypes,
1732
which can conflict with char $2 (); below.
1733
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1734
<limits.h> exists even on freestanding compilers. */
1737
# include <limits.h>
1739
# include <assert.h>
1744
/* Override any GCC internal prototype to avoid an error.
1745
Use char because int might match the return type of a GCC
1746
builtin and then its argument prototype would still apply. */
1751
/* The GNU C library defines this for functions which it implements
1752
to always fail with ENOSYS. Some functions are actually named
1753
something starting with __ and the normal name is an alias. */
1754
#if defined __stub_$2 || defined __stub___$2
1766
if ac_fn_c_try_link "$LINENO"; then :
1771
rm -f core conftest.err conftest.$ac_objext \
1772
conftest$ac_exeext conftest.$ac_ext
1775
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776
$as_echo "$ac_res" >&6; }
1777
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1779
} # ac_fn_c_check_func
1781
# ac_fn_cxx_try_compile LINENO
1782
# ----------------------------
1783
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1784
ac_fn_cxx_try_compile ()
1786
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1787
rm -f conftest.$ac_objext
1788
if { { ac_try="$ac_compile"
1790
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1791
*) ac_try_echo=$ac_try;;
1793
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1794
$as_echo "$ac_try_echo"; } >&5
1795
(eval "$ac_compile") 2>conftest.err
1797
if test -s conftest.err; then
1798
grep -v '^ *+' conftest.err >conftest.er1
1799
cat conftest.er1 >&5
1800
mv -f conftest.er1 conftest.err
1802
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803
test $ac_status = 0; } && {
1804
test -z "$ac_cxx_werror_flag" ||
1805
test ! -s conftest.err
1806
} && test -s conftest.$ac_objext; then :
1809
$as_echo "$as_me: failed program was:" >&5
1810
sed 's/^/| /' conftest.$ac_ext >&5
1814
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1815
as_fn_set_status $ac_retval
1817
} # ac_fn_cxx_try_compile
1819
# ac_fn_cxx_try_cpp LINENO
1820
# ------------------------
1821
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1822
ac_fn_cxx_try_cpp ()
1824
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825
if { { ac_try="$ac_cpp conftest.$ac_ext"
1827
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828
*) ac_try_echo=$ac_try;;
1830
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831
$as_echo "$ac_try_echo"; } >&5
1832
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1834
if test -s conftest.err; then
1835
grep -v '^ *+' conftest.err >conftest.er1
1836
cat conftest.er1 >&5
1837
mv -f conftest.er1 conftest.err
1839
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840
test $ac_status = 0; } > conftest.i && {
1841
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1842
test ! -s conftest.err
1846
$as_echo "$as_me: failed program was:" >&5
1847
sed 's/^/| /' conftest.$ac_ext >&5
1851
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1852
as_fn_set_status $ac_retval
1854
} # ac_fn_cxx_try_cpp
1856
# ac_fn_cxx_try_link LINENO
1857
# -------------------------
1858
# Try to link conftest.$ac_ext, and return whether this succeeded.
1859
ac_fn_cxx_try_link ()
1861
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862
rm -f conftest.$ac_objext conftest$ac_exeext
1863
if { { ac_try="$ac_link"
1865
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1866
*) ac_try_echo=$ac_try;;
1868
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869
$as_echo "$ac_try_echo"; } >&5
1870
(eval "$ac_link") 2>conftest.err
1872
if test -s conftest.err; then
1873
grep -v '^ *+' conftest.err >conftest.er1
1874
cat conftest.er1 >&5
1875
mv -f conftest.er1 conftest.err
1877
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878
test $ac_status = 0; } && {
1879
test -z "$ac_cxx_werror_flag" ||
1880
test ! -s conftest.err
1881
} && test -s conftest$ac_exeext && {
1882
test "$cross_compiling" = yes ||
1883
$as_test_x conftest$ac_exeext
1887
$as_echo "$as_me: failed program was:" >&5
1888
sed 's/^/| /' conftest.$ac_ext >&5
1892
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1893
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1894
# interfere with the next link command; also delete a directory that is
1895
# left behind by Apple's compiler. We do this before executing the actions.
1896
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1897
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898
as_fn_set_status $ac_retval
1900
} # ac_fn_cxx_try_link
1901
cat >config.log <<_ACEOF
1902
This file contains any messages produced by compilers while
1903
running configure, to aid debugging if configure makes a mistake.
1905
It was created by Kernel device emulation $as_me 1.0.9.1, which was
1906
generated by GNU Autoconf 2.68. Invocation command line was
1918
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1919
uname -m = `(uname -m) 2>/dev/null || echo unknown`
1920
uname -r = `(uname -r) 2>/dev/null || echo unknown`
1921
uname -s = `(uname -s) 2>/dev/null || echo unknown`
1922
uname -v = `(uname -v) 2>/dev/null || echo unknown`
1924
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1925
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1927
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1928
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1929
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1930
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1931
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1932
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1933
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1937
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1941
test -z "$as_dir" && as_dir=.
1942
$as_echo "PATH: $as_dir"
1958
# Keep a trace of the command line.
1959
# Strip out --no-create and --no-recursion so they do not pile up.
1960
# Strip out --silent because we don't want to record it for future runs.
1961
# Also quote any args containing shell meta-characters.
1962
# Make two passes to allow for proper duplicate-argument suppression.
1966
ac_must_keep_next=false
1972
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1973
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1974
| -silent | --silent | --silen | --sile | --sil)
1977
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1980
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1982
as_fn_append ac_configure_args1 " '$ac_arg'"
1983
if test $ac_must_keep_next = true; then
1984
ac_must_keep_next=false # Got value, back to normal.
1987
*=* | --config-cache | -C | -disable-* | --disable-* \
1988
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1989
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1990
| -with-* | --with-* | -without-* | --without-* | --x)
1991
case "$ac_configure_args0 " in
1992
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1995
-* ) ac_must_keep_next=true ;;
1998
as_fn_append ac_configure_args " '$ac_arg'"
2003
{ ac_configure_args0=; unset ac_configure_args0;}
2004
{ ac_configure_args1=; unset ac_configure_args1;}
2006
# When interrupted or exit'd, cleanup temporary files, and complete
2007
# config.log. We remove comments because anyway the quotes in there
2008
# would cause problems or look ugly.
2009
# WARNING: Use '\'' to represent an apostrophe within the trap.
2010
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2011
trap 'exit_status=$?
2012
# Save into config.log some information that might help in debugging.
2016
$as_echo "## ---------------- ##
2017
## Cache variables. ##
2018
## ---------------- ##"
2020
# The following way of writing the cache mishandles newlines in values,
2022
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2023
eval ac_val=\$$ac_var
2027
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2028
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2031
_ | IFS | as_nl) ;; #(
2032
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2033
*) { eval $ac_var=; unset $ac_var;} ;;
2038
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2039
*${as_nl}ac_space=\ *)
2041
"s/'\''/'\''\\\\'\'''\''/g;
2042
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2045
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2052
$as_echo "## ----------------- ##
2053
## Output variables. ##
2054
## ----------------- ##"
2056
for ac_var in $ac_subst_vars
2058
eval ac_val=\$$ac_var
2060
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2062
$as_echo "$ac_var='\''$ac_val'\''"
2066
if test -n "$ac_subst_files"; then
2067
$as_echo "## ------------------- ##
2068
## File substitutions. ##
2069
## ------------------- ##"
2071
for ac_var in $ac_subst_files
2073
eval ac_val=\$$ac_var
2075
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2077
$as_echo "$ac_var='\''$ac_val'\''"
2082
if test -s confdefs.h; then
2083
$as_echo "## ----------- ##
2090
test "$ac_signal" != 0 &&
2091
$as_echo "$as_me: caught signal $ac_signal"
2092
$as_echo "$as_me: exit $exit_status"
2094
rm -f core *.core core.conftest.* &&
2095
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2098
for ac_signal in 1 2 13 15; do
2099
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2103
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2104
rm -f -r conftest* confdefs.h
2106
$as_echo "/* confdefs.h */" > confdefs.h
2108
# Predefined preprocessor variables.
2110
cat >>confdefs.h <<_ACEOF
2111
#define PACKAGE_NAME "$PACKAGE_NAME"
2114
cat >>confdefs.h <<_ACEOF
2115
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2118
cat >>confdefs.h <<_ACEOF
2119
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2122
cat >>confdefs.h <<_ACEOF
2123
#define PACKAGE_STRING "$PACKAGE_STRING"
2126
cat >>confdefs.h <<_ACEOF
2127
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2130
cat >>confdefs.h <<_ACEOF
2131
#define PACKAGE_URL "$PACKAGE_URL"
2135
# Let the site file select an alternate cache file if it wants to.
2136
# Prefer an explicitly selected file to automatically selected ones.
2139
if test -n "$CONFIG_SITE"; then
2140
# We do not want a PATH search for config.site.
2141
case $CONFIG_SITE in #((
2142
-*) ac_site_file1=./$CONFIG_SITE;;
2143
*/*) ac_site_file1=$CONFIG_SITE;;
2144
*) ac_site_file1=./$CONFIG_SITE;;
2146
elif test "x$prefix" != xNONE; then
2147
ac_site_file1=$prefix/share/config.site
2148
ac_site_file2=$prefix/etc/config.site
2150
ac_site_file1=$ac_default_prefix/share/config.site
2151
ac_site_file2=$ac_default_prefix/etc/config.site
2153
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2155
test "x$ac_site_file" = xNONE && continue
2156
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2157
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2158
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2159
sed 's/^/| /' "$ac_site_file" >&5
2161
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2162
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2163
as_fn_error $? "failed to load site script $ac_site_file
2164
See \`config.log' for more details" "$LINENO" 5; }
2168
if test -r "$cache_file"; then
2169
# Some versions of bash will fail to source /dev/null (special files
2170
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2171
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2172
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2173
$as_echo "$as_me: loading cache $cache_file" >&6;}
2175
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2176
*) . "./$cache_file";;
2180
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2181
$as_echo "$as_me: creating cache $cache_file" >&6;}
2185
# Check that the precious variables saved in the cache have kept the same
2187
ac_cache_corrupted=false
2188
for ac_var in $ac_precious_vars; do
2189
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2190
eval ac_new_set=\$ac_env_${ac_var}_set
2191
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2192
eval ac_new_val=\$ac_env_${ac_var}_value
2193
case $ac_old_set,$ac_new_set in
2195
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2196
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2197
ac_cache_corrupted=: ;;
2199
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2200
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2201
ac_cache_corrupted=: ;;
2204
if test "x$ac_old_val" != "x$ac_new_val"; then
2205
# differences in whitespace do not lead to failure.
2206
ac_old_val_w=`echo x $ac_old_val`
2207
ac_new_val_w=`echo x $ac_new_val`
2208
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2209
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2210
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2211
ac_cache_corrupted=:
2213
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2214
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2215
eval $ac_var=\$ac_old_val
2217
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2218
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2219
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2220
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2223
# Pass precious variables to config.status.
2224
if test "$ac_new_set" = set; then
2226
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2227
*) ac_arg=$ac_var=$ac_new_val ;;
2229
case " $ac_configure_args " in
2230
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2231
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2235
if $ac_cache_corrupted; then
2236
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2237
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2238
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2239
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2240
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2242
## -------------------- ##
2243
## Main body of script. ##
2244
## -------------------- ##
2247
ac_cpp='$CPP $CPPFLAGS'
2248
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2249
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2250
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2254
ac_config_headers="$ac_config_headers config.h"
2257
for ac_dir in config-aux "$srcdir"/config-aux; do
2258
if test -f "$ac_dir/install-sh"; then
2260
ac_install_sh="$ac_aux_dir/install-sh -c"
2262
elif test -f "$ac_dir/install.sh"; then
2264
ac_install_sh="$ac_aux_dir/install.sh -c"
2266
elif test -f "$ac_dir/shtool"; then
2268
ac_install_sh="$ac_aux_dir/shtool install -c"
2272
if test -z "$ac_aux_dir"; then
2273
as_fn_error $? "cannot find install-sh, install.sh, or shtool in config-aux \"$srcdir\"/config-aux" "$LINENO" 5
2276
# These three variables are undocumented and unsupported,
2277
# and are intended to be withdrawn in a future Autoconf release.
2278
# They can cause serious problems if a builder's source tree is in a directory
2279
# whose full name contains unusual characters.
2280
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2281
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2282
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2286
# Initialize Automake
2287
am__api_version='1.11'
2289
# Find a good install program. We prefer a C program (faster),
2290
# so one script is as good as another. But avoid the broken or
2291
# incompatible versions:
2292
# SysV /etc/install, /usr/sbin/install
2293
# SunOS /usr/etc/install
2294
# IRIX /sbin/install
2296
# AmigaOS /C/install, which installs bootblocks on floppy discs
2297
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2298
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2299
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2300
# OS/2's system install, which has a completely different semantic
2301
# ./install, which can be erroneously created by make from ./install.sh.
2302
# Reject install programs that cannot install multiple files.
2303
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2304
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2305
if test -z "$INSTALL"; then
2306
if ${ac_cv_path_install+:} false; then :
2307
$as_echo_n "(cached) " >&6
2309
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313
test -z "$as_dir" && as_dir=.
2314
# Account for people who put trailing slashes in PATH elements.
2315
case $as_dir/ in #((
2316
./ | .// | /[cC]/* | \
2317
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2318
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2321
# OSF1 and SCO ODT 3.0 have their own names for install.
2322
# Don't use installbsd from OSF since it installs stuff as root
2324
for ac_prog in ginstall scoinst install; do
2325
for ac_exec_ext in '' $ac_executable_extensions; do
2326
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2327
if test $ac_prog = install &&
2328
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2329
# AIX install. It has an incompatible calling convention.
2331
elif test $ac_prog = install &&
2332
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2333
# program-specific install script used by HP pwplus--don't use.
2336
rm -rf conftest.one conftest.two conftest.dir
2337
echo one > conftest.one
2338
echo two > conftest.two
2340
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2341
test -s conftest.one && test -s conftest.two &&
2342
test -s conftest.dir/conftest.one &&
2343
test -s conftest.dir/conftest.two
2345
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2358
rm -rf conftest.one conftest.two conftest.dir
2361
if test "${ac_cv_path_install+set}" = set; then
2362
INSTALL=$ac_cv_path_install
2364
# As a last resort, use the slow shell script. Don't cache a
2365
# value for INSTALL within a source directory, because that will
2366
# break other packages using the cache if that directory is
2367
# removed, or if the value is a relative name.
2368
INSTALL=$ac_install_sh
2371
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2372
$as_echo "$INSTALL" >&6; }
2374
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2375
# It thinks the first close brace ends the variable substitution.
2376
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2378
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2380
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2383
$as_echo_n "checking whether build environment is sane... " >&6; }
2386
echo timestamp > conftest.file
2387
# Reject unsafe characters in $srcdir or the absolute working directory
2388
# name. Accept space and tab only in the latter.
2392
*[\\\"\#\$\&\'\`$am_lf]*)
2393
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2396
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2397
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2400
# Do `set' in a subshell so we don't clobber the current shell's
2401
# arguments. Must try -L first in case configure is actually a
2402
# symlink; some systems play weird games with the mod time of symlinks
2403
# (eg FreeBSD returns the mod time of the symlink's containing
2406
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2407
if test "$*" = "X"; then
2409
set X `ls -t "$srcdir/configure" conftest.file`
2412
if test "$*" != "X $srcdir/configure conftest.file" \
2413
&& test "$*" != "X conftest.file $srcdir/configure"; then
2415
# If neither matched, then we have a broken ls. This can happen
2416
# if, for instance, CONFIG_SHELL is bash and it inherits a
2417
# broken ls alias from the environment. This has actually
2418
# happened. Such a system could not be considered "sane".
2419
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2420
alias in your environment" "$LINENO" 5
2423
test "$2" = conftest.file
2429
as_fn_error $? "newly created file is older than distributed files!
2430
Check your system clock" "$LINENO" 5
2432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2433
$as_echo "yes" >&6; }
2434
test "$program_prefix" != NONE &&
2435
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2436
# Use a double $ so make ignores it.
2437
test "$program_suffix" != NONE &&
2438
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2439
# Double any \ or $.
2440
# By default was `s,x,x', remove it if useless.
2441
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2442
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2444
# expand $ac_aux_dir to an absolute path
2445
am_aux_dir=`cd $ac_aux_dir && pwd`
2447
if test x"${MISSING+set}" != xset; then
2450
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2452
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2455
# Use eval to expand $SHELL
2456
if eval "$MISSING --run true"; then
2457
am_missing_run="$MISSING --run "
2460
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2461
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2464
if test x"${install_sh}" != xset; then
2467
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2469
install_sh="\${SHELL} $am_aux_dir/install-sh"
2473
# Installed binaries are usually stripped using `strip' when the user
2474
# run `make install-strip'. However `strip' might not be the right
2475
# tool to use in cross-compilation environments, therefore Automake
2476
# will honor the `STRIP' environment variable to overrule this program.
2477
if test "$cross_compiling" != no; then
2478
if test -n "$ac_tool_prefix"; then
2479
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2480
set dummy ${ac_tool_prefix}strip; ac_word=$2
2481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2482
$as_echo_n "checking for $ac_word... " >&6; }
2483
if ${ac_cv_prog_STRIP+:} false; then :
2484
$as_echo_n "(cached) " >&6
2486
if test -n "$STRIP"; then
2487
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2489
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493
test -z "$as_dir" && as_dir=.
2494
for ac_exec_ext in '' $ac_executable_extensions; do
2495
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2496
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2497
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2506
STRIP=$ac_cv_prog_STRIP
2507
if test -n "$STRIP"; then
2508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2509
$as_echo "$STRIP" >&6; }
2511
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512
$as_echo "no" >&6; }
2517
if test -z "$ac_cv_prog_STRIP"; then
2519
# Extract the first word of "strip", so it can be a program name with args.
2520
set dummy strip; ac_word=$2
2521
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2522
$as_echo_n "checking for $ac_word... " >&6; }
2523
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2524
$as_echo_n "(cached) " >&6
2526
if test -n "$ac_ct_STRIP"; then
2527
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533
test -z "$as_dir" && as_dir=.
2534
for ac_exec_ext in '' $ac_executable_extensions; do
2535
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2536
ac_cv_prog_ac_ct_STRIP="strip"
2537
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2546
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2547
if test -n "$ac_ct_STRIP"; then
2548
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2549
$as_echo "$ac_ct_STRIP" >&6; }
2551
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2552
$as_echo "no" >&6; }
2555
if test "x$ac_ct_STRIP" = x; then
2558
case $cross_compiling:$ac_tool_warned in
2560
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2561
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2562
ac_tool_warned=yes ;;
2567
STRIP="$ac_cv_prog_STRIP"
2571
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2573
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2574
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2575
if test -z "$MKDIR_P"; then
2576
if ${ac_cv_path_mkdir+:} false; then :
2577
$as_echo_n "(cached) " >&6
2579
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2580
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2583
test -z "$as_dir" && as_dir=.
2584
for ac_prog in mkdir gmkdir; do
2585
for ac_exec_ext in '' $ac_executable_extensions; do
2586
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2587
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2588
'mkdir (GNU coreutils) '* | \
2589
'mkdir (coreutils) '* | \
2590
'mkdir (fileutils) '4.1*)
2591
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2601
test -d ./--version && rmdir ./--version
2602
if test "${ac_cv_path_mkdir+set}" = set; then
2603
MKDIR_P="$ac_cv_path_mkdir -p"
2605
# As a last resort, use the slow shell script. Don't cache a
2606
# value for MKDIR_P within a source directory, because that will
2607
# break other packages using the cache if that directory is
2608
# removed, or if the value is a relative name.
2609
MKDIR_P="$ac_install_sh -d"
2612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2613
$as_echo "$MKDIR_P" >&6; }
2617
[\\/$]* | ?:[\\/]*) ;;
2618
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2621
for ac_prog in gawk mawk nawk awk
2623
# Extract the first word of "$ac_prog", so it can be a program name with args.
2624
set dummy $ac_prog; ac_word=$2
2625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626
$as_echo_n "checking for $ac_word... " >&6; }
2627
if ${ac_cv_prog_AWK+:} false; then :
2628
$as_echo_n "(cached) " >&6
2630
if test -n "$AWK"; then
2631
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2633
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637
test -z "$as_dir" && as_dir=.
2638
for ac_exec_ext in '' $ac_executable_extensions; do
2639
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640
ac_cv_prog_AWK="$ac_prog"
2641
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2651
if test -n "$AWK"; then
2652
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2653
$as_echo "$AWK" >&6; }
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656
$as_echo "no" >&6; }
2660
test -n "$AWK" && break
2663
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2664
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2666
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2667
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2668
$as_echo_n "(cached) " >&6
2670
cat >conftest.make <<\_ACEOF
2673
@echo '@@@%%%=$(MAKE)=@@@%%%'
2675
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2676
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2678
eval ac_cv_prog_make_${ac_make}_set=yes;;
2680
eval ac_cv_prog_make_${ac_make}_set=no;;
2684
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2685
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2686
$as_echo "yes" >&6; }
2689
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690
$as_echo "no" >&6; }
2691
SET_MAKE="MAKE=${MAKE-make}"
2694
rm -rf .tst 2>/dev/null
2695
mkdir .tst 2>/dev/null
2696
if test -d .tst; then
2701
rmdir .tst 2>/dev/null
2703
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2704
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2705
# is not polluted with repeated "-I."
2706
am__isrc=' -I$(srcdir)'
2707
# test to see if srcdir already configured
2708
if test -f $srcdir/config.status; then
2709
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2713
# test whether we have cygpath
2714
if test -z "$CYGPATH_W"; then
2715
if (cygpath --version) >/dev/null 2>/dev/null; then
2716
CYGPATH_W='cygpath -w'
2723
# Define the identity of the package.
2728
cat >>confdefs.h <<_ACEOF
2729
#define PACKAGE "$PACKAGE"
2733
cat >>confdefs.h <<_ACEOF
2734
#define VERSION "$VERSION"
2737
# Some tools Automake needs.
2739
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2742
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2745
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2748
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2751
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2753
# We need awk for the "check" target. The system "awk" is bad on
2755
# Always define AMTAR for backward compatibility. Yes, it's still used
2756
# in the wild :-( We should find a proper way to deprecate it ...
2759
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2765
# Check whether --enable-silent-rules was given.
2766
if test "${enable_silent_rules+set}" = set; then :
2767
enableval=$enable_silent_rules;
2770
case $enable_silent_rules in
2771
yes) AM_DEFAULT_VERBOSITY=0;;
2772
no) AM_DEFAULT_VERBOSITY=1;;
2773
*) AM_DEFAULT_VERBOSITY=0;;
2775
am_make=${MAKE-make}
2776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2777
$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2778
if ${am_cv_make_support_nested_variables+:} false; then :
2779
$as_echo_n "(cached) " >&6
2781
if $as_echo 'TRUE=$(BAR$(V))
2787
.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2788
am_cv_make_support_nested_variables=yes
2790
am_cv_make_support_nested_variables=no
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2794
$as_echo "$am_cv_make_support_nested_variables" >&6; }
2795
if test $am_cv_make_support_nested_variables = yes; then
2797
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2799
AM_V=$AM_DEFAULT_VERBOSITY
2800
AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2806
$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2807
# Check whether --enable-maintainer-mode was given.
2808
if test "${enable_maintainer_mode+set}" = set; then :
2809
enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2811
USE_MAINTAINER_MODE=yes
2814
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2815
$as_echo "$USE_MAINTAINER_MODE" >&6; }
2816
if test $USE_MAINTAINER_MODE = yes; then
2817
MAINTAINER_MODE_TRUE=
2818
MAINTAINER_MODE_FALSE='#'
2820
MAINTAINER_MODE_TRUE='#'
2821
MAINTAINER_MODE_FALSE=
2824
MAINT=$MAINTAINER_MODE_TRUE
2831
# Initialize libtool
2834
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2835
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2840
macro_version='2.4.2'
2841
macro_revision='1.3337'
2855
ltmain="$ac_aux_dir/ltmain.sh"
2857
# Make sure we can run config.sub.
2858
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2859
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2861
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2862
$as_echo_n "checking build system type... " >&6; }
2863
if ${ac_cv_build+:} false; then :
2864
$as_echo_n "(cached) " >&6
2866
ac_build_alias=$build_alias
2867
test "x$ac_build_alias" = x &&
2868
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2869
test "x$ac_build_alias" = x &&
2870
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2871
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2872
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2876
$as_echo "$ac_cv_build" >&6; }
2877
case $ac_cv_build in
2879
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2882
ac_save_IFS=$IFS; IFS='-'
2888
# Remember, the first character of IFS is used to create $*,
2889
# except with old shells:
2892
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2895
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2896
$as_echo_n "checking host system type... " >&6; }
2897
if ${ac_cv_host+:} false; then :
2898
$as_echo_n "(cached) " >&6
2900
if test "x$host_alias" = x; then
2901
ac_cv_host=$ac_cv_build
2903
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2904
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2909
$as_echo "$ac_cv_host" >&6; }
2912
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2915
ac_save_IFS=$IFS; IFS='-'
2921
# Remember, the first character of IFS is used to create $*,
2922
# except with old shells:
2925
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2928
# Backslashify metacharacters that are still active within
2929
# double-quoted strings.
2930
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
2932
# Same as above, but do not quote variable references.
2933
double_quote_subst='s/\(["`\\]\)/\\\1/g'
2935
# Sed substitution to delay expansion of an escaped shell variable in a
2936
# double_quote_subst'ed string.
2937
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2939
# Sed substitution to delay expansion of an escaped single quote.
2940
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2942
# Sed substitution to avoid accidental globbing in evaled expressions
2943
no_glob_subst='s/\*/\\\*/g'
2945
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2946
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
2947
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
2949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
2950
$as_echo_n "checking how to print strings... " >&6; }
2951
# Test print first, because it will be a builtin if present.
2952
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
2953
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
2955
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
2958
# Use this function as a fallback that always works.
2959
func_fallback_echo ()
2961
eval 'cat <<_LTECHO_EOF
2965
ECHO='func_fallback_echo'
2968
# func_echo_all arg...
2969
# Invoke $ECHO with all args, space-separated.
2976
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
2977
$as_echo "printf" >&6; } ;;
2978
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
2979
$as_echo "print -r" >&6; } ;;
2980
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
2981
$as_echo "cat" >&6; } ;;
2997
DEPDIR="${am__leading_dot}deps"
2999
ac_config_commands="$ac_config_commands depfiles"
3002
am_make=${MAKE-make}
3003
cat > confinc << 'END'
3005
@echo this is the am__doit target
3008
# If we don't find an include directive, just comment out the code.
3009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3010
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3014
# First try GNU make style include.
3015
echo "include confinc" > confmf
3016
# Ignore all kinds of additional output from `make'.
3017
case `$am_make -s -f confmf 2> /dev/null` in #(
3018
*the\ am__doit\ target*)
3024
# Now try BSD make style include.
3025
if test "$am__include" = "#"; then
3026
echo '.include "confinc"' > confmf
3027
case `$am_make -s -f confmf 2> /dev/null` in #(
3028
*the\ am__doit\ target*)
3029
am__include=.include
3037
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3038
$as_echo "$_am_result" >&6; }
3039
rm -f confinc confmf
3041
# Check whether --enable-dependency-tracking was given.
3042
if test "${enable_dependency_tracking+set}" = set; then :
3043
enableval=$enable_dependency_tracking;
3046
if test "x$enable_dependency_tracking" != xno; then
3047
am_depcomp="$ac_aux_dir/depcomp"
3051
if test "x$enable_dependency_tracking" != xno; then
3061
ac_cpp='$CPP $CPPFLAGS'
3062
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3063
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3064
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3065
if test -n "$ac_tool_prefix"; then
3066
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3067
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3068
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3069
$as_echo_n "checking for $ac_word... " >&6; }
3070
if ${ac_cv_prog_CC+:} false; then :
3071
$as_echo_n "(cached) " >&6
3073
if test -n "$CC"; then
3074
ac_cv_prog_CC="$CC" # Let the user override the test.
3076
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3080
test -z "$as_dir" && as_dir=.
3081
for ac_exec_ext in '' $ac_executable_extensions; do
3082
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3083
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3084
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094
if test -n "$CC"; then
3095
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3096
$as_echo "$CC" >&6; }
3098
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3099
$as_echo "no" >&6; }
3104
if test -z "$ac_cv_prog_CC"; then
3106
# Extract the first word of "gcc", so it can be a program name with args.
3107
set dummy gcc; ac_word=$2
3108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109
$as_echo_n "checking for $ac_word... " >&6; }
3110
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3111
$as_echo_n "(cached) " >&6
3113
if test -n "$ac_ct_CC"; then
3114
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3116
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3120
test -z "$as_dir" && as_dir=.
3121
for ac_exec_ext in '' $ac_executable_extensions; do
3122
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123
ac_cv_prog_ac_ct_CC="gcc"
3124
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3133
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3134
if test -n "$ac_ct_CC"; then
3135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3136
$as_echo "$ac_ct_CC" >&6; }
3138
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139
$as_echo "no" >&6; }
3142
if test "x$ac_ct_CC" = x; then
3145
case $cross_compiling:$ac_tool_warned in
3147
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3148
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3149
ac_tool_warned=yes ;;
3157
if test -z "$CC"; then
3158
if test -n "$ac_tool_prefix"; then
3159
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3160
set dummy ${ac_tool_prefix}cc; ac_word=$2
3161
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3162
$as_echo_n "checking for $ac_word... " >&6; }
3163
if ${ac_cv_prog_CC+:} false; then :
3164
$as_echo_n "(cached) " >&6
3166
if test -n "$CC"; then
3167
ac_cv_prog_CC="$CC" # Let the user override the test.
3169
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173
test -z "$as_dir" && as_dir=.
3174
for ac_exec_ext in '' $ac_executable_extensions; do
3175
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3176
ac_cv_prog_CC="${ac_tool_prefix}cc"
3177
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3187
if test -n "$CC"; then
3188
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3189
$as_echo "$CC" >&6; }
3191
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3192
$as_echo "no" >&6; }
3198
if test -z "$CC"; then
3199
# Extract the first word of "cc", so it can be a program name with args.
3200
set dummy cc; ac_word=$2
3201
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3202
$as_echo_n "checking for $ac_word... " >&6; }
3203
if ${ac_cv_prog_CC+:} false; then :
3204
$as_echo_n "(cached) " >&6
3206
if test -n "$CC"; then
3207
ac_cv_prog_CC="$CC" # Let the user override the test.
3210
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3214
test -z "$as_dir" && as_dir=.
3215
for ac_exec_ext in '' $ac_executable_extensions; do
3216
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3217
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3218
ac_prog_rejected=yes
3222
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3229
if test $ac_prog_rejected = yes; then
3230
# We found a bogon in the path, so make sure we never use it.
3231
set dummy $ac_cv_prog_CC
3233
if test $# != 0; then
3234
# We chose a different compiler from the bogus one.
3235
# However, it has the same basename, so the bogon will be chosen
3236
# first if we set CC to just the basename; use the full file name.
3238
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3244
if test -n "$CC"; then
3245
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3246
$as_echo "$CC" >&6; }
3248
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3249
$as_echo "no" >&6; }
3254
if test -z "$CC"; then
3255
if test -n "$ac_tool_prefix"; then
3256
for ac_prog in cl.exe
3258
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3259
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3261
$as_echo_n "checking for $ac_word... " >&6; }
3262
if ${ac_cv_prog_CC+:} false; then :
3263
$as_echo_n "(cached) " >&6
3265
if test -n "$CC"; then
3266
ac_cv_prog_CC="$CC" # Let the user override the test.
3268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3272
test -z "$as_dir" && as_dir=.
3273
for ac_exec_ext in '' $ac_executable_extensions; do
3274
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3275
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3276
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286
if test -n "$CC"; then
3287
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3288
$as_echo "$CC" >&6; }
3290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3291
$as_echo "no" >&6; }
3295
test -n "$CC" && break
3298
if test -z "$CC"; then
3300
for ac_prog in cl.exe
3302
# Extract the first word of "$ac_prog", so it can be a program name with args.
3303
set dummy $ac_prog; ac_word=$2
3304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3305
$as_echo_n "checking for $ac_word... " >&6; }
3306
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3307
$as_echo_n "(cached) " >&6
3309
if test -n "$ac_ct_CC"; then
3310
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3312
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3316
test -z "$as_dir" && as_dir=.
3317
for ac_exec_ext in '' $ac_executable_extensions; do
3318
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3319
ac_cv_prog_ac_ct_CC="$ac_prog"
3320
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3329
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3330
if test -n "$ac_ct_CC"; then
3331
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3332
$as_echo "$ac_ct_CC" >&6; }
3334
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335
$as_echo "no" >&6; }
3339
test -n "$ac_ct_CC" && break
3342
if test "x$ac_ct_CC" = x; then
3345
case $cross_compiling:$ac_tool_warned in
3347
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349
ac_tool_warned=yes ;;
3358
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3359
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3360
as_fn_error $? "no acceptable C compiler found in \$PATH
3361
See \`config.log' for more details" "$LINENO" 5; }
3363
# Provide some information about the compiler.
3364
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3367
for ac_option in --version -v -V -qversion; do
3368
{ { ac_try="$ac_compiler $ac_option >&5"
3370
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3371
*) ac_try_echo=$ac_try;;
3373
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374
$as_echo "$ac_try_echo"; } >&5
3375
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3377
if test -s conftest.err; then
3379
... rest of stderr output deleted ...
3380
10q' conftest.err >conftest.er1
3381
cat conftest.er1 >&5
3383
rm -f conftest.er1 conftest.err
3384
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385
test $ac_status = 0; }
3388
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3389
/* end confdefs.h. */
3399
ac_clean_files_save=$ac_clean_files
3400
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3401
# Try to create an executable without -o first, disregard a.out.
3402
# It will help us diagnose broken compilers, and finding out an intuition
3404
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3405
$as_echo_n "checking whether the C compiler works... " >&6; }
3406
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3408
# The possible output files:
3409
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3412
for ac_file in $ac_files
3415
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3416
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3421
if { { ac_try="$ac_link_default"
3423
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3424
*) ac_try_echo=$ac_try;;
3426
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427
$as_echo "$ac_try_echo"; } >&5
3428
(eval "$ac_link_default") 2>&5
3430
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431
test $ac_status = 0; }; then :
3432
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3433
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3434
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3435
# so that the user can short-circuit this test for compilers unknown to
3437
for ac_file in $ac_files ''
3439
test -f "$ac_file" || continue
3441
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3444
# We found the default executable, but exeext='' is most
3448
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3450
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3452
# We set ac_cv_exeext here because the later test for it is not
3453
# safe: cross compilers may not add the suffix if given an `-o'
3454
# argument, so we may need to know it at that point already.
3455
# Even if this section looks crufty: it has the advantage of
3462
test "$ac_cv_exeext" = no && ac_cv_exeext=
3467
if test -z "$ac_file"; then :
3468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469
$as_echo "no" >&6; }
3470
$as_echo "$as_me: failed program was:" >&5
3471
sed 's/^/| /' conftest.$ac_ext >&5
3473
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3474
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3475
as_fn_error 77 "C compiler cannot create executables
3476
See \`config.log' for more details" "$LINENO" 5; }
3478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3479
$as_echo "yes" >&6; }
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3482
$as_echo_n "checking for C compiler default output file name... " >&6; }
3483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3484
$as_echo "$ac_file" >&6; }
3485
ac_exeext=$ac_cv_exeext
3487
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3488
ac_clean_files=$ac_clean_files_save
3489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3490
$as_echo_n "checking for suffix of executables... " >&6; }
3491
if { { ac_try="$ac_link"
3493
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494
*) ac_try_echo=$ac_try;;
3496
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3497
$as_echo "$ac_try_echo"; } >&5
3498
(eval "$ac_link") 2>&5
3500
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3501
test $ac_status = 0; }; then :
3502
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3503
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3504
# work properly (i.e., refer to `conftest.exe'), while it won't with
3506
for ac_file in conftest.exe conftest conftest.*; do
3507
test -f "$ac_file" || continue
3509
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3510
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3516
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3517
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3518
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3519
See \`config.log' for more details" "$LINENO" 5; }
3521
rm -f conftest conftest$ac_cv_exeext
3522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3523
$as_echo "$ac_cv_exeext" >&6; }
3525
rm -f conftest.$ac_ext
3526
EXEEXT=$ac_cv_exeext
3528
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529
/* end confdefs.h. */
3534
FILE *f = fopen ("conftest.out", "w");
3535
return ferror (f) || fclose (f) != 0;
3541
ac_clean_files="$ac_clean_files conftest.out"
3542
# Check that the compiler produces executables we can run. If not, either
3543
# the compiler is broken, or we cross compile.
3544
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3545
$as_echo_n "checking whether we are cross compiling... " >&6; }
3546
if test "$cross_compiling" != yes; then
3547
{ { ac_try="$ac_link"
3549
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550
*) ac_try_echo=$ac_try;;
3552
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553
$as_echo "$ac_try_echo"; } >&5
3554
(eval "$ac_link") 2>&5
3556
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3557
test $ac_status = 0; }
3558
if { ac_try='./conftest$ac_cv_exeext'
3559
{ { case "(($ac_try" in
3560
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3561
*) ac_try_echo=$ac_try;;
3563
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3564
$as_echo "$ac_try_echo"; } >&5
3565
(eval "$ac_try") 2>&5
3567
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3568
test $ac_status = 0; }; }; then
3571
if test "$cross_compiling" = maybe; then
3574
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3575
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3576
as_fn_error $? "cannot run C compiled programs.
3577
If you meant to cross compile, use \`--host'.
3578
See \`config.log' for more details" "$LINENO" 5; }
3582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3583
$as_echo "$cross_compiling" >&6; }
3585
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3586
ac_clean_files=$ac_clean_files_save
3587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3588
$as_echo_n "checking for suffix of object files... " >&6; }
3589
if ${ac_cv_objext+:} false; then :
3590
$as_echo_n "(cached) " >&6
3592
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3593
/* end confdefs.h. */
3603
rm -f conftest.o conftest.obj
3604
if { { ac_try="$ac_compile"
3606
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3607
*) ac_try_echo=$ac_try;;
3609
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3610
$as_echo "$ac_try_echo"; } >&5
3611
(eval "$ac_compile") 2>&5
3613
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3614
test $ac_status = 0; }; then :
3615
for ac_file in conftest.o conftest.obj conftest.*; do
3616
test -f "$ac_file" || continue;
3618
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3619
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3624
$as_echo "$as_me: failed program was:" >&5
3625
sed 's/^/| /' conftest.$ac_ext >&5
3627
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3628
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3629
as_fn_error $? "cannot compute suffix of object files: cannot compile
3630
See \`config.log' for more details" "$LINENO" 5; }
3632
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3634
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3635
$as_echo "$ac_cv_objext" >&6; }
3636
OBJEXT=$ac_cv_objext
3638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3639
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3640
if ${ac_cv_c_compiler_gnu+:} false; then :
3641
$as_echo_n "(cached) " >&6
3643
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644
/* end confdefs.h. */
3657
if ac_fn_c_try_compile "$LINENO"; then :
3662
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3663
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3666
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3667
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3668
if test $ac_compiler_gnu = yes; then
3673
ac_test_CFLAGS=${CFLAGS+set}
3674
ac_save_CFLAGS=$CFLAGS
3675
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3676
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3677
if ${ac_cv_prog_cc_g+:} false; then :
3678
$as_echo_n "(cached) " >&6
3680
ac_save_c_werror_flag=$ac_c_werror_flag
3681
ac_c_werror_flag=yes
3684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3685
/* end confdefs.h. */
3695
if ac_fn_c_try_compile "$LINENO"; then :
3699
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3700
/* end confdefs.h. */
3710
if ac_fn_c_try_compile "$LINENO"; then :
3713
ac_c_werror_flag=$ac_save_c_werror_flag
3715
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716
/* end confdefs.h. */
3726
if ac_fn_c_try_compile "$LINENO"; then :
3729
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3731
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3733
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3734
ac_c_werror_flag=$ac_save_c_werror_flag
3736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3737
$as_echo "$ac_cv_prog_cc_g" >&6; }
3738
if test "$ac_test_CFLAGS" = set; then
3739
CFLAGS=$ac_save_CFLAGS
3740
elif test $ac_cv_prog_cc_g = yes; then
3741
if test "$GCC" = yes; then
3747
if test "$GCC" = yes; then
3753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3754
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3755
if ${ac_cv_prog_cc_c89+:} false; then :
3756
$as_echo_n "(cached) " >&6
3758
ac_cv_prog_cc_c89=no
3760
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761
/* end confdefs.h. */
3764
#include <sys/types.h>
3765
#include <sys/stat.h>
3766
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3767
struct buf { int x; };
3768
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3769
static char *e (p, i)
3775
static char *f (char * (*g) (char **, int), char **p, ...)
3780
s = g (p, va_arg (v,int));
3785
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3786
function prototypes and stuff, but not '\xHH' hex character constants.
3787
These don't provoke an error unfortunately, instead are silently treated
3788
as 'x'. The following induces an error, until -std is added to get
3789
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3790
array size at least. It's necessary to write '\x00'==0 to get something
3791
that's true only with -std. */
3792
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3794
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3795
inside strings and character constants. */
3797
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3799
int test (int i, double x);
3800
struct s1 {int (*f) (int a);};
3801
struct s2 {int (*f) (double a);};
3802
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3808
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3813
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3814
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3816
CC="$ac_save_CC $ac_arg"
3817
if ac_fn_c_try_compile "$LINENO"; then :
3818
ac_cv_prog_cc_c89=$ac_arg
3820
rm -f core conftest.err conftest.$ac_objext
3821
test "x$ac_cv_prog_cc_c89" != "xno" && break
3823
rm -f conftest.$ac_ext
3828
case "x$ac_cv_prog_cc_c89" in
3830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3831
$as_echo "none needed" >&6; } ;;
3833
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3834
$as_echo "unsupported" >&6; } ;;
3836
CC="$CC $ac_cv_prog_cc_c89"
3837
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3838
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3840
if test "x$ac_cv_prog_cc_c89" != xno; then :
3845
ac_cpp='$CPP $CPPFLAGS'
3846
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3847
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3848
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3850
depcc="$CC" am_compiler_list=
3852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3853
$as_echo_n "checking dependency style of $depcc... " >&6; }
3854
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3855
$as_echo_n "(cached) " >&6
3857
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3858
# We make a subdir and do the tests there. Otherwise we can end up
3859
# making bogus files that we don't know about and never remove. For
3860
# instance it was reported that on HP-UX the gcc test will end up
3861
# making a dummy file named `D' -- because `-MD' means `put the output
3865
# Copy depcomp to subdir because otherwise we won't find it if we're
3866
# using a relative directory.
3867
cp "$am_depcomp" conftest.dir
3869
# We will build objects and dependencies in a subdirectory because
3870
# it helps to detect inapplicable dependency modes. For instance
3871
# both Tru64's cc and ICC support -MD to output dependencies as a
3872
# side effect of compilation, but ICC will put the dependencies in
3873
# the current directory while Tru64 will put them in the object
3877
am_cv_CC_dependencies_compiler_type=none
3878
if test "$am_compiler_list" = ""; then
3879
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3882
case " $depcc " in #(
3883
*\ -arch\ *\ -arch\ *) am__universal=true ;;
3886
for depmode in $am_compiler_list; do
3887
# Setup a source with many dependencies, because some compilers
3888
# like to wrap large dependency lists on column 80 (with \), and
3889
# we should not choose a depcomp mode which is confused by this.
3891
# We need to recreate these files for each test, as the compiler may
3892
# overwrite some of them when testing with obscure command lines.
3893
# This happens at least with the AIX C compiler.
3895
for i in 1 2 3 4 5 6; do
3896
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3897
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3898
# Solaris 8's {/usr,}/bin/sh.
3899
touch sub/conftst$i.h
3901
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3903
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3904
# mode. It turns out that the SunPro C++ compiler does not properly
3905
# handle `-M -o', and we need to detect this. Also, some Intel
3906
# versions had trouble with output in subdirs
3907
am__obj=sub/conftest.${OBJEXT-o}
3908
am__minus_obj="-o $am__obj"
3911
# This depmode causes a compiler race in universal mode.
3912
test "$am__universal" = false || continue
3915
# after this tag, mechanisms are not by side-effect, so they'll
3916
# only be used when explicitly requested
3917
if test "x$enable_dependency_tracking" = xyes; then
3923
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3924
# This compiler won't grok `-c -o', but also, the minuso test has
3925
# not run yet. These depmodes are late enough in the game, and
3926
# so weak that their functioning should not be impacted.
3927
am__obj=conftest.${OBJEXT-o}
3932
if depmode=$depmode \
3933
source=sub/conftest.c object=$am__obj \
3934
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3935
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3936
>/dev/null 2>conftest.err &&
3937
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3938
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3939
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3940
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3941
# icc doesn't choke on unknown options, it will just issue warnings
3942
# or remarks (even with -Werror). So we grep stderr for any message
3943
# that says an option was ignored or not supported.
3944
# When given -MP, icc 7.0 and 7.1 complain thusly:
3945
# icc: Command line warning: ignoring option '-M'; no argument required
3946
# The diagnosis changed in icc 8.0:
3947
# icc: Command line remark: option '-MP' not supported
3948
if (grep 'ignoring option' conftest.err ||
3949
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3950
am_cv_CC_dependencies_compiler_type=$depmode
3959
am_cv_CC_dependencies_compiler_type=none
3963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3964
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3965
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3968
test "x$enable_dependency_tracking" != xno \
3969
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3971
am__fastdepCC_FALSE='#'
3973
am__fastdepCC_TRUE='#'
3974
am__fastdepCC_FALSE=
3978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
3979
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
3980
if ${ac_cv_path_SED+:} false; then :
3981
$as_echo_n "(cached) " >&6
3983
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
3984
for ac_i in 1 2 3 4 5 6 7; do
3985
ac_script="$ac_script$as_nl$ac_script"
3987
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
3988
{ ac_script=; unset ac_script;}
3989
if test -z "$SED"; then
3990
ac_path_SED_found=false
3991
# Loop through the user's path and test for each of PROGNAME-LIST
3992
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3996
test -z "$as_dir" && as_dir=.
3997
for ac_prog in sed gsed; do
3998
for ac_exec_ext in '' $ac_executable_extensions; do
3999
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4000
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4001
# Check for GNU ac_path_SED and select it if it is found.
4002
# Check for GNU $ac_path_SED
4003
case `"$ac_path_SED" --version 2>&1` in
4005
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4008
$as_echo_n 0123456789 >"conftest.in"
4011
cat "conftest.in" "conftest.in" >"conftest.tmp"
4012
mv "conftest.tmp" "conftest.in"
4013
cp "conftest.in" "conftest.nl"
4014
$as_echo '' >> "conftest.nl"
4015
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4016
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4017
as_fn_arith $ac_count + 1 && ac_count=$as_val
4018
if test $ac_count -gt ${ac_path_SED_max-0}; then
4019
# Best one so far, save it but keep looking for a better one
4020
ac_cv_path_SED="$ac_path_SED"
4021
ac_path_SED_max=$ac_count
4023
# 10*(2^10) chars as input seems more than enough
4024
test $ac_count -gt 10 && break
4026
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4029
$ac_path_SED_found && break 3
4034
if test -z "$ac_cv_path_SED"; then
4035
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4043
$as_echo "$ac_cv_path_SED" >&6; }
4044
SED="$ac_cv_path_SED"
4047
test -z "$SED" && SED=sed
4048
Xsed="$SED -e 1s/^X//"
4060
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4061
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4062
if ${ac_cv_path_GREP+:} false; then :
4063
$as_echo_n "(cached) " >&6
4065
if test -z "$GREP"; then
4066
ac_path_GREP_found=false
4067
# Loop through the user's path and test for each of PROGNAME-LIST
4068
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4072
test -z "$as_dir" && as_dir=.
4073
for ac_prog in grep ggrep; do
4074
for ac_exec_ext in '' $ac_executable_extensions; do
4075
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4076
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4077
# Check for GNU ac_path_GREP and select it if it is found.
4078
# Check for GNU $ac_path_GREP
4079
case `"$ac_path_GREP" --version 2>&1` in
4081
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4084
$as_echo_n 0123456789 >"conftest.in"
4087
cat "conftest.in" "conftest.in" >"conftest.tmp"
4088
mv "conftest.tmp" "conftest.in"
4089
cp "conftest.in" "conftest.nl"
4090
$as_echo 'GREP' >> "conftest.nl"
4091
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4092
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4093
as_fn_arith $ac_count + 1 && ac_count=$as_val
4094
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4095
# Best one so far, save it but keep looking for a better one
4096
ac_cv_path_GREP="$ac_path_GREP"
4097
ac_path_GREP_max=$ac_count
4099
# 10*(2^10) chars as input seems more than enough
4100
test $ac_count -gt 10 && break
4102
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4105
$ac_path_GREP_found && break 3
4110
if test -z "$ac_cv_path_GREP"; then
4111
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4114
ac_cv_path_GREP=$GREP
4118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4119
$as_echo "$ac_cv_path_GREP" >&6; }
4120
GREP="$ac_cv_path_GREP"
4123
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4124
$as_echo_n "checking for egrep... " >&6; }
4125
if ${ac_cv_path_EGREP+:} false; then :
4126
$as_echo_n "(cached) " >&6
4128
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4129
then ac_cv_path_EGREP="$GREP -E"
4131
if test -z "$EGREP"; then
4132
ac_path_EGREP_found=false
4133
# Loop through the user's path and test for each of PROGNAME-LIST
4134
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4138
test -z "$as_dir" && as_dir=.
4139
for ac_prog in egrep; do
4140
for ac_exec_ext in '' $ac_executable_extensions; do
4141
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4142
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4143
# Check for GNU ac_path_EGREP and select it if it is found.
4144
# Check for GNU $ac_path_EGREP
4145
case `"$ac_path_EGREP" --version 2>&1` in
4147
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4150
$as_echo_n 0123456789 >"conftest.in"
4153
cat "conftest.in" "conftest.in" >"conftest.tmp"
4154
mv "conftest.tmp" "conftest.in"
4155
cp "conftest.in" "conftest.nl"
4156
$as_echo 'EGREP' >> "conftest.nl"
4157
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4158
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4159
as_fn_arith $ac_count + 1 && ac_count=$as_val
4160
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4161
# Best one so far, save it but keep looking for a better one
4162
ac_cv_path_EGREP="$ac_path_EGREP"
4163
ac_path_EGREP_max=$ac_count
4165
# 10*(2^10) chars as input seems more than enough
4166
test $ac_count -gt 10 && break
4168
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4171
$ac_path_EGREP_found && break 3
4176
if test -z "$ac_cv_path_EGREP"; then
4177
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4180
ac_cv_path_EGREP=$EGREP
4185
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4186
$as_echo "$ac_cv_path_EGREP" >&6; }
4187
EGREP="$ac_cv_path_EGREP"
4190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4191
$as_echo_n "checking for fgrep... " >&6; }
4192
if ${ac_cv_path_FGREP+:} false; then :
4193
$as_echo_n "(cached) " >&6
4195
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4196
then ac_cv_path_FGREP="$GREP -F"
4198
if test -z "$FGREP"; then
4199
ac_path_FGREP_found=false
4200
# Loop through the user's path and test for each of PROGNAME-LIST
4201
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4202
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4205
test -z "$as_dir" && as_dir=.
4206
for ac_prog in fgrep; do
4207
for ac_exec_ext in '' $ac_executable_extensions; do
4208
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4209
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4210
# Check for GNU ac_path_FGREP and select it if it is found.
4211
# Check for GNU $ac_path_FGREP
4212
case `"$ac_path_FGREP" --version 2>&1` in
4214
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4217
$as_echo_n 0123456789 >"conftest.in"
4220
cat "conftest.in" "conftest.in" >"conftest.tmp"
4221
mv "conftest.tmp" "conftest.in"
4222
cp "conftest.in" "conftest.nl"
4223
$as_echo 'FGREP' >> "conftest.nl"
4224
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4225
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4226
as_fn_arith $ac_count + 1 && ac_count=$as_val
4227
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4228
# Best one so far, save it but keep looking for a better one
4229
ac_cv_path_FGREP="$ac_path_FGREP"
4230
ac_path_FGREP_max=$ac_count
4232
# 10*(2^10) chars as input seems more than enough
4233
test $ac_count -gt 10 && break
4235
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4238
$ac_path_FGREP_found && break 3
4243
if test -z "$ac_cv_path_FGREP"; then
4244
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4247
ac_cv_path_FGREP=$FGREP
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4253
$as_echo "$ac_cv_path_FGREP" >&6; }
4254
FGREP="$ac_cv_path_FGREP"
4257
test -z "$GREP" && GREP=grep
4277
# Check whether --with-gnu-ld was given.
4278
if test "${with_gnu_ld+set}" = set; then :
4279
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4285
if test "$GCC" = yes; then
4286
# Check if gcc -print-prog-name=ld gives a path.
4287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4288
$as_echo_n "checking for ld used by $CC... " >&6; }
4291
# gcc leaves a trailing carriage return which upsets mingw
4292
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4294
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4297
# Accept absolute paths.
4299
re_direlt='/[^/][^/]*/\.\./'
4300
# Canonicalize the pathname of ld
4301
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4302
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4303
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4305
test -z "$LD" && LD="$ac_prog"
4308
# If it fails, then pretend we aren't using GCC.
4312
# If it is relative, then search for the first ld in PATH.
4316
elif test "$with_gnu_ld" = yes; then
4317
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4318
$as_echo_n "checking for GNU ld... " >&6; }
4320
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4321
$as_echo_n "checking for non-GNU ld... " >&6; }
4323
if ${lt_cv_path_LD+:} false; then :
4324
$as_echo_n "(cached) " >&6
4326
if test -z "$LD"; then
4327
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4328
for ac_dir in $PATH; do
4330
test -z "$ac_dir" && ac_dir=.
4331
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4332
lt_cv_path_LD="$ac_dir/$ac_prog"
4333
# Check to see if the program is GNU ld. I'd rather use --version,
4334
# but apparently some variants of GNU ld only accept -v.
4335
# Break only if it was the GNU/non-GNU ld that we prefer.
4336
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4337
*GNU* | *'with BFD'*)
4338
test "$with_gnu_ld" != no && break
4341
test "$with_gnu_ld" != yes && break
4348
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4353
if test -n "$LD"; then
4354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4355
$as_echo "$LD" >&6; }
4357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4358
$as_echo "no" >&6; }
4360
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4362
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4363
if ${lt_cv_prog_gnu_ld+:} false; then :
4364
$as_echo_n "(cached) " >&6
4366
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4367
case `$LD -v 2>&1 </dev/null` in
4368
*GNU* | *'with BFD'*)
4369
lt_cv_prog_gnu_ld=yes
4372
lt_cv_prog_gnu_ld=no
4376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4377
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4378
with_gnu_ld=$lt_cv_prog_gnu_ld
4388
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4389
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4390
if ${lt_cv_path_NM+:} false; then :
4391
$as_echo_n "(cached) " >&6
4393
if test -n "$NM"; then
4394
# Let the user override the test.
4397
lt_nm_to_check="${ac_tool_prefix}nm"
4398
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4399
lt_nm_to_check="$lt_nm_to_check nm"
4401
for lt_tmp_nm in $lt_nm_to_check; do
4402
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4403
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4405
test -z "$ac_dir" && ac_dir=.
4406
tmp_nm="$ac_dir/$lt_tmp_nm"
4407
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4408
# Check to see if the nm accepts a BSD-compat flag.
4409
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4410
# nm: unknown option "B" ignored
4411
# Tru64's nm complains that /dev/null is an invalid object file
4412
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4413
*/dev/null* | *'Invalid file or object type'*)
4414
lt_cv_path_NM="$tmp_nm -B"
4418
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4420
lt_cv_path_NM="$tmp_nm -p"
4424
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4425
continue # so that we can try to find one that supports BSD flags
4434
: ${lt_cv_path_NM=no}
4437
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4438
$as_echo "$lt_cv_path_NM" >&6; }
4439
if test "$lt_cv_path_NM" != "no"; then
4442
# Didn't find any BSD compatible name lister, look for dumpbin.
4443
if test -n "$DUMPBIN"; then :
4444
# Let the user override the test.
4446
if test -n "$ac_tool_prefix"; then
4447
for ac_prog in dumpbin "link -dump"
4449
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4450
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4452
$as_echo_n "checking for $ac_word... " >&6; }
4453
if ${ac_cv_prog_DUMPBIN+:} false; then :
4454
$as_echo_n "(cached) " >&6
4456
if test -n "$DUMPBIN"; then
4457
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4459
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4463
test -z "$as_dir" && as_dir=.
4464
for ac_exec_ext in '' $ac_executable_extensions; do
4465
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4466
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4467
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4476
DUMPBIN=$ac_cv_prog_DUMPBIN
4477
if test -n "$DUMPBIN"; then
4478
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4479
$as_echo "$DUMPBIN" >&6; }
4481
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4482
$as_echo "no" >&6; }
4486
test -n "$DUMPBIN" && break
4489
if test -z "$DUMPBIN"; then
4490
ac_ct_DUMPBIN=$DUMPBIN
4491
for ac_prog in dumpbin "link -dump"
4493
# Extract the first word of "$ac_prog", so it can be a program name with args.
4494
set dummy $ac_prog; ac_word=$2
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496
$as_echo_n "checking for $ac_word... " >&6; }
4497
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4498
$as_echo_n "(cached) " >&6
4500
if test -n "$ac_ct_DUMPBIN"; then
4501
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4503
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507
test -z "$as_dir" && as_dir=.
4508
for ac_exec_ext in '' $ac_executable_extensions; do
4509
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4511
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4521
if test -n "$ac_ct_DUMPBIN"; then
4522
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4523
$as_echo "$ac_ct_DUMPBIN" >&6; }
4525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526
$as_echo "no" >&6; }
4530
test -n "$ac_ct_DUMPBIN" && break
4533
if test "x$ac_ct_DUMPBIN" = x; then
4536
case $cross_compiling:$ac_tool_warned in
4538
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4539
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4540
ac_tool_warned=yes ;;
4542
DUMPBIN=$ac_ct_DUMPBIN
4546
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4548
DUMPBIN="$DUMPBIN -symbols"
4556
if test "$DUMPBIN" != ":"; then
4560
test -z "$NM" && NM=nm
4567
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4568
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4569
if ${lt_cv_nm_interface+:} false; then :
4570
$as_echo_n "(cached) " >&6
4572
lt_cv_nm_interface="BSD nm"
4573
echo "int some_variable = 0;" > conftest.$ac_ext
4574
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4575
(eval "$ac_compile" 2>conftest.err)
4576
cat conftest.err >&5
4577
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4578
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4579
cat conftest.err >&5
4580
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4581
cat conftest.out >&5
4582
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4583
lt_cv_nm_interface="MS dumpbin"
4587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4588
$as_echo "$lt_cv_nm_interface" >&6; }
4590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4591
$as_echo_n "checking whether ln -s works... " >&6; }
4593
if test "$LN_S" = "ln -s"; then
4594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4595
$as_echo "yes" >&6; }
4597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4598
$as_echo "no, using $LN_S" >&6; }
4601
# find the maximum length of command line arguments
4602
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4603
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4604
if ${lt_cv_sys_max_cmd_len+:} false; then :
4605
$as_echo_n "(cached) " >&6
4612
# On DJGPP, this test can blow up pretty badly due to problems in libc
4613
# (any single argument exceeding 2000 bytes causes a buffer overrun
4614
# during glob expansion). Even if it were fixed, the result of this
4615
# check would be larger than it should be.
4616
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4620
# Under GNU Hurd, this test is not required because there is
4621
# no limit to the length of command line arguments.
4622
# Libtool will interpret -1 as no limit whatsoever
4623
lt_cv_sys_max_cmd_len=-1;
4626
cygwin* | mingw* | cegcc*)
4627
# On Win9x/ME, this test blows up -- it succeeds, but takes
4628
# about 5 minutes as the teststring grows exponentially.
4629
# Worse, since 9x/ME are not pre-emptively multitasking,
4630
# you end up with a "frozen" computer, even though with patience
4631
# the test eventually succeeds (with a max line length of 256k).
4632
# Instead, let's just punt: use the minimum linelength reported by
4633
# all of the supported platforms: 8192 (on NT/2K/XP).
4634
lt_cv_sys_max_cmd_len=8192;
4638
# On MiNT this can take a long time and run out of memory.
4639
lt_cv_sys_max_cmd_len=8192;
4643
# On AmigaOS with pdksh, this test takes hours, literally.
4644
# So we just punt and use a minimum line length of 8192.
4645
lt_cv_sys_max_cmd_len=8192;
4648
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4649
# This has been around since 386BSD, at least. Likely further.
4650
if test -x /sbin/sysctl; then
4651
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4652
elif test -x /usr/sbin/sysctl; then
4653
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4655
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4657
# And add a safety zone
4658
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4659
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4663
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4664
lt_cv_sys_max_cmd_len=196608
4668
# The test takes a long time on OS/2.
4669
lt_cv_sys_max_cmd_len=8192
4673
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4674
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4675
# nice to cause kernel panics so lets avoid the loop below.
4676
# First set a reasonable default.
4677
lt_cv_sys_max_cmd_len=16384
4679
if test -x /sbin/sysconfig; then
4680
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4681
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4686
lt_cv_sys_max_cmd_len=102400
4688
sysv5* | sco5v6* | sysv4.2uw2*)
4689
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4690
if test -n "$kargmax"; then
4691
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4693
lt_cv_sys_max_cmd_len=32768
4697
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4698
if test -n "$lt_cv_sys_max_cmd_len"; then
4699
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4700
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4702
# Make teststring a little bigger before we do anything with it.
4703
# a 1K string should be a reasonable start.
4704
for i in 1 2 3 4 5 6 7 8 ; do
4705
teststring=$teststring$teststring
4707
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4708
# If test is not a shell built-in, we'll probably end up computing a
4709
# maximum length that is only half of the actual maximum length, but
4711
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4712
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
4713
test $i != 17 # 1/2 MB should be enough
4716
teststring=$teststring$teststring
4718
# Only check the string length outside the loop.
4719
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4721
# Add a significant safety factor because C++ compilers can tack on
4722
# massive amounts of additional arguments before passing them to the
4723
# linker. It appears as though 1/2 is a usable value.
4724
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4731
if test -n $lt_cv_sys_max_cmd_len ; then
4732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4733
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4736
$as_echo "none" >&6; }
4738
max_cmd_len=$lt_cv_sys_max_cmd_len
4749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4750
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4751
# Try some XSI features
4754
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4756
&& eval 'test $(( 1 + 1 )) -eq 2 \
4757
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4760
$as_echo "$xsi_shell" >&6; }
4763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4764
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4766
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4768
&& lt_shell_append=yes
4769
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4770
$as_echo "$lt_shell_append" >&6; }
4773
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4783
# test EBCDIC or ASCII
4784
case `echo X|tr X '\101'` in
4785
A) # ASCII based system
4786
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4787
lt_SP2NL='tr \040 \012'
4788
lt_NL2SP='tr \015\012 \040\040'
4790
*) # EBCDIC based system
4791
lt_SP2NL='tr \100 \n'
4792
lt_NL2SP='tr \r\n \100\100'
4804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4805
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4806
if ${lt_cv_to_host_file_cmd+:} false; then :
4807
$as_echo_n "(cached) " >&6
4812
*-*-mingw* ) # actually msys
4813
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4816
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4818
* ) # otherwise, assume *nix
4819
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4825
*-*-mingw* ) # actually msys
4826
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4829
lt_cv_to_host_file_cmd=func_convert_file_noop
4831
* ) # otherwise, assume *nix
4832
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4836
* ) # unhandled hosts (and "normal" native builds)
4837
lt_cv_to_host_file_cmd=func_convert_file_noop
4843
to_host_file_cmd=$lt_cv_to_host_file_cmd
4844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4845
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4852
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4853
if ${lt_cv_to_tool_file_cmd+:} false; then :
4854
$as_echo_n "(cached) " >&6
4856
#assume ordinary cross tools, or native build.
4857
lt_cv_to_tool_file_cmd=func_convert_file_noop
4861
*-*-mingw* ) # actually msys
4862
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4870
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4872
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4878
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4879
$as_echo_n "checking for $LD option to reload object files... " >&6; }
4880
if ${lt_cv_ld_reload_flag+:} false; then :
4881
$as_echo_n "(cached) " >&6
4883
lt_cv_ld_reload_flag='-r'
4885
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
4886
$as_echo "$lt_cv_ld_reload_flag" >&6; }
4887
reload_flag=$lt_cv_ld_reload_flag
4888
case $reload_flag in
4890
*) reload_flag=" $reload_flag" ;;
4892
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4894
cygwin* | mingw* | pw32* | cegcc*)
4895
if test "$GCC" != yes; then
4900
if test "$GCC" = yes; then
4901
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4903
reload_cmds='$LD$reload_flag -o $output$reload_objs'
4916
if test -n "$ac_tool_prefix"; then
4917
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4918
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4919
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4920
$as_echo_n "checking for $ac_word... " >&6; }
4921
if ${ac_cv_prog_OBJDUMP+:} false; then :
4922
$as_echo_n "(cached) " >&6
4924
if test -n "$OBJDUMP"; then
4925
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931
test -z "$as_dir" && as_dir=.
4932
for ac_exec_ext in '' $ac_executable_extensions; do
4933
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4935
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4944
OBJDUMP=$ac_cv_prog_OBJDUMP
4945
if test -n "$OBJDUMP"; then
4946
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4947
$as_echo "$OBJDUMP" >&6; }
4949
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4950
$as_echo "no" >&6; }
4955
if test -z "$ac_cv_prog_OBJDUMP"; then
4956
ac_ct_OBJDUMP=$OBJDUMP
4957
# Extract the first word of "objdump", so it can be a program name with args.
4958
set dummy objdump; ac_word=$2
4959
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4960
$as_echo_n "checking for $ac_word... " >&6; }
4961
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4962
$as_echo_n "(cached) " >&6
4964
if test -n "$ac_ct_OBJDUMP"; then
4965
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4967
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971
test -z "$as_dir" && as_dir=.
4972
for ac_exec_ext in '' $ac_executable_extensions; do
4973
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974
ac_cv_prog_ac_ct_OBJDUMP="objdump"
4975
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4985
if test -n "$ac_ct_OBJDUMP"; then
4986
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4987
$as_echo "$ac_ct_OBJDUMP" >&6; }
4989
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4990
$as_echo "no" >&6; }
4993
if test "x$ac_ct_OBJDUMP" = x; then
4996
case $cross_compiling:$ac_tool_warned in
4998
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000
ac_tool_warned=yes ;;
5002
OBJDUMP=$ac_ct_OBJDUMP
5005
OBJDUMP="$ac_cv_prog_OBJDUMP"
5008
test -z "$OBJDUMP" && OBJDUMP=objdump
5018
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5019
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5020
if ${lt_cv_deplibs_check_method+:} false; then :
5021
$as_echo_n "(cached) " >&6
5023
lt_cv_file_magic_cmd='$MAGIC_CMD'
5024
lt_cv_file_magic_test_file=
5025
lt_cv_deplibs_check_method='unknown'
5026
# Need to set the preceding variable on all platforms that support
5027
# interlibrary dependencies.
5028
# 'none' -- dependencies not supported.
5029
# `unknown' -- same as none, but documents that we really don't know.
5030
# 'pass_all' -- all dependencies passed with no checks.
5031
# 'test_compile' -- check by making test program.
5032
# 'file_magic [[regex]]' -- check by looking for files in library path
5033
# which responds to the $file_magic_cmd with a given extended regex.
5034
# If you have `file' or equivalent on your system and you're not sure
5035
# whether `pass_all' will *always* work, you probably want this one.
5039
lt_cv_deplibs_check_method=pass_all
5043
lt_cv_deplibs_check_method=pass_all
5047
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5048
lt_cv_file_magic_cmd='/usr/bin/file -L'
5049
lt_cv_file_magic_test_file=/shlib/libc.so
5053
# func_win32_libid is a shell function defined in ltmain.sh
5054
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5055
lt_cv_file_magic_cmd='func_win32_libid'
5059
# Base MSYS/MinGW do not provide the 'file' command needed by
5060
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5061
# unless we find 'file', for example because we are cross-compiling.
5062
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5063
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5064
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5065
lt_cv_file_magic_cmd='func_win32_libid'
5067
# Keep this pattern in sync with the one in func_win32_libid.
5068
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5069
lt_cv_file_magic_cmd='$OBJDUMP -f'
5074
# use the weaker test based on 'objdump'. See mingw*.
5075
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5076
lt_cv_file_magic_cmd='$OBJDUMP -f'
5079
darwin* | rhapsody*)
5080
lt_cv_deplibs_check_method=pass_all
5083
freebsd* | dragonfly*)
5084
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5087
# Not sure whether the presence of OpenBSD here was a mistake.
5088
# Let's accept both of them until this is cleared up.
5089
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5090
lt_cv_file_magic_cmd=/usr/bin/file
5091
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5095
lt_cv_deplibs_check_method=pass_all
5100
lt_cv_deplibs_check_method=pass_all
5104
lt_cv_deplibs_check_method=pass_all
5107
hpux10.20* | hpux11*)
5108
lt_cv_file_magic_cmd=/usr/bin/file
5111
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5112
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5115
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]'
5116
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5119
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5120
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5126
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5127
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5130
irix5* | irix6* | nonstopux*)
5132
*-32|*"-32 ") libmagic=32-bit;;
5133
*-n32|*"-n32 ") libmagic=N32;;
5134
*-64|*"-64 ") libmagic=64-bit;;
5135
*) libmagic=never-match;;
5137
lt_cv_deplibs_check_method=pass_all
5140
# This must be glibc/ELF.
5141
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5142
lt_cv_deplibs_check_method=pass_all
5145
netbsd* | netbsdelf*-gnu)
5146
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5147
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5149
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5154
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5155
lt_cv_file_magic_cmd=/usr/bin/file
5156
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5160
lt_cv_deplibs_check_method=pass_all
5164
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5165
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5167
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5171
osf3* | osf4* | osf5*)
5172
lt_cv_deplibs_check_method=pass_all
5176
lt_cv_deplibs_check_method=pass_all
5180
lt_cv_deplibs_check_method=pass_all
5183
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5184
lt_cv_deplibs_check_method=pass_all
5188
case $host_vendor in
5190
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]'
5191
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5194
lt_cv_deplibs_check_method=pass_all
5197
lt_cv_file_magic_cmd='/bin/file'
5198
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5201
lt_cv_file_magic_cmd='/bin/file'
5202
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5203
lt_cv_file_magic_test_file=/lib/libc.so
5206
lt_cv_deplibs_check_method=pass_all
5209
lt_cv_deplibs_check_method=pass_all
5215
lt_cv_deplibs_check_method=pass_all
5220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5221
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5225
if test "$build" = "$host"; then
5228
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5231
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5237
file_magic_cmd=$lt_cv_file_magic_cmd
5238
deplibs_check_method=$lt_cv_deplibs_check_method
5239
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5262
if test -n "$ac_tool_prefix"; then
5263
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5264
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5265
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266
$as_echo_n "checking for $ac_word... " >&6; }
5267
if ${ac_cv_prog_DLLTOOL+:} false; then :
5268
$as_echo_n "(cached) " >&6
5270
if test -n "$DLLTOOL"; then
5271
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5273
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5277
test -z "$as_dir" && as_dir=.
5278
for ac_exec_ext in '' $ac_executable_extensions; do
5279
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5281
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290
DLLTOOL=$ac_cv_prog_DLLTOOL
5291
if test -n "$DLLTOOL"; then
5292
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5293
$as_echo "$DLLTOOL" >&6; }
5295
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296
$as_echo "no" >&6; }
5301
if test -z "$ac_cv_prog_DLLTOOL"; then
5302
ac_ct_DLLTOOL=$DLLTOOL
5303
# Extract the first word of "dlltool", so it can be a program name with args.
5304
set dummy dlltool; ac_word=$2
5305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306
$as_echo_n "checking for $ac_word... " >&6; }
5307
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5308
$as_echo_n "(cached) " >&6
5310
if test -n "$ac_ct_DLLTOOL"; then
5311
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5313
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5317
test -z "$as_dir" && as_dir=.
5318
for ac_exec_ext in '' $ac_executable_extensions; do
5319
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5320
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5321
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5330
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5331
if test -n "$ac_ct_DLLTOOL"; then
5332
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5333
$as_echo "$ac_ct_DLLTOOL" >&6; }
5335
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336
$as_echo "no" >&6; }
5339
if test "x$ac_ct_DLLTOOL" = x; then
5342
case $cross_compiling:$ac_tool_warned in
5344
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346
ac_tool_warned=yes ;;
5348
DLLTOOL=$ac_ct_DLLTOOL
5351
DLLTOOL="$ac_cv_prog_DLLTOOL"
5354
test -z "$DLLTOOL" && DLLTOOL=dlltool
5365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5366
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5367
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5368
$as_echo_n "(cached) " >&6
5370
lt_cv_sharedlib_from_linklib_cmd='unknown'
5373
cygwin* | mingw* | pw32* | cegcc*)
5374
# two different shell functions defined in ltmain.sh
5375
# decide which to use based on capabilities of $DLLTOOL
5376
case `$DLLTOOL --help 2>&1` in
5377
*--identify-strict*)
5378
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5381
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5386
# fallback: assume linklib IS sharedlib
5387
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5393
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5394
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5395
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5404
if test -n "$ac_tool_prefix"; then
5407
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5408
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5410
$as_echo_n "checking for $ac_word... " >&6; }
5411
if ${ac_cv_prog_AR+:} false; then :
5412
$as_echo_n "(cached) " >&6
5414
if test -n "$AR"; then
5415
ac_cv_prog_AR="$AR" # Let the user override the test.
5417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421
test -z "$as_dir" && as_dir=.
5422
for ac_exec_ext in '' $ac_executable_extensions; do
5423
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5425
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435
if test -n "$AR"; then
5436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5437
$as_echo "$AR" >&6; }
5439
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5440
$as_echo "no" >&6; }
5444
test -n "$AR" && break
5447
if test -z "$AR"; then
5451
# Extract the first word of "$ac_prog", so it can be a program name with args.
5452
set dummy $ac_prog; ac_word=$2
5453
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5454
$as_echo_n "checking for $ac_word... " >&6; }
5455
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5456
$as_echo_n "(cached) " >&6
5458
if test -n "$ac_ct_AR"; then
5459
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5461
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465
test -z "$as_dir" && as_dir=.
5466
for ac_exec_ext in '' $ac_executable_extensions; do
5467
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5468
ac_cv_prog_ac_ct_AR="$ac_prog"
5469
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5478
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5479
if test -n "$ac_ct_AR"; then
5480
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5481
$as_echo "$ac_ct_AR" >&6; }
5483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5484
$as_echo "no" >&6; }
5488
test -n "$ac_ct_AR" && break
5491
if test "x$ac_ct_AR" = x; then
5494
case $cross_compiling:$ac_tool_warned in
5496
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5497
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5498
ac_tool_warned=yes ;;
5517
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5518
$as_echo_n "checking for archiver @FILE support... " >&6; }
5519
if ${lt_cv_ar_at_file+:} false; then :
5520
$as_echo_n "(cached) " >&6
5523
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5524
/* end confdefs.h. */
5534
if ac_fn_c_try_compile "$LINENO"; then :
5535
echo conftest.$ac_objext > conftest.lst
5536
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5537
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5538
(eval $lt_ar_try) 2>&5
5540
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5541
test $ac_status = 0; }
5542
if test "$ac_status" -eq 0; then
5543
# Ensure the archiver fails upon bogus file names.
5544
rm -f conftest.$ac_objext libconftest.a
5545
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5546
(eval $lt_ar_try) 2>&5
5548
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5549
test $ac_status = 0; }
5550
if test "$ac_status" -ne 0; then
5554
rm -f conftest.* libconftest.a
5557
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5560
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5561
$as_echo "$lt_cv_ar_at_file" >&6; }
5563
if test "x$lt_cv_ar_at_file" = xno; then
5566
archiver_list_spec=$lt_cv_ar_at_file
5575
if test -n "$ac_tool_prefix"; then
5576
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5577
set dummy ${ac_tool_prefix}strip; ac_word=$2
5578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5579
$as_echo_n "checking for $ac_word... " >&6; }
5580
if ${ac_cv_prog_STRIP+:} false; then :
5581
$as_echo_n "(cached) " >&6
5583
if test -n "$STRIP"; then
5584
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5590
test -z "$as_dir" && as_dir=.
5591
for ac_exec_ext in '' $ac_executable_extensions; do
5592
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5594
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5603
STRIP=$ac_cv_prog_STRIP
5604
if test -n "$STRIP"; then
5605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5606
$as_echo "$STRIP" >&6; }
5608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5609
$as_echo "no" >&6; }
5614
if test -z "$ac_cv_prog_STRIP"; then
5616
# Extract the first word of "strip", so it can be a program name with args.
5617
set dummy strip; ac_word=$2
5618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5619
$as_echo_n "checking for $ac_word... " >&6; }
5620
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5621
$as_echo_n "(cached) " >&6
5623
if test -n "$ac_ct_STRIP"; then
5624
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5630
test -z "$as_dir" && as_dir=.
5631
for ac_exec_ext in '' $ac_executable_extensions; do
5632
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5633
ac_cv_prog_ac_ct_STRIP="strip"
5634
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5643
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5644
if test -n "$ac_ct_STRIP"; then
5645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5646
$as_echo "$ac_ct_STRIP" >&6; }
5648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5649
$as_echo "no" >&6; }
5652
if test "x$ac_ct_STRIP" = x; then
5655
case $cross_compiling:$ac_tool_warned in
5657
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5658
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5659
ac_tool_warned=yes ;;
5664
STRIP="$ac_cv_prog_STRIP"
5667
test -z "$STRIP" && STRIP=:
5674
if test -n "$ac_tool_prefix"; then
5675
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5676
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5678
$as_echo_n "checking for $ac_word... " >&6; }
5679
if ${ac_cv_prog_RANLIB+:} false; then :
5680
$as_echo_n "(cached) " >&6
5682
if test -n "$RANLIB"; then
5683
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5685
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5689
test -z "$as_dir" && as_dir=.
5690
for ac_exec_ext in '' $ac_executable_extensions; do
5691
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5692
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5693
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702
RANLIB=$ac_cv_prog_RANLIB
5703
if test -n "$RANLIB"; then
5704
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5705
$as_echo "$RANLIB" >&6; }
5707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5708
$as_echo "no" >&6; }
5713
if test -z "$ac_cv_prog_RANLIB"; then
5714
ac_ct_RANLIB=$RANLIB
5715
# Extract the first word of "ranlib", so it can be a program name with args.
5716
set dummy ranlib; ac_word=$2
5717
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718
$as_echo_n "checking for $ac_word... " >&6; }
5719
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5720
$as_echo_n "(cached) " >&6
5722
if test -n "$ac_ct_RANLIB"; then
5723
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5725
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729
test -z "$as_dir" && as_dir=.
5730
for ac_exec_ext in '' $ac_executable_extensions; do
5731
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732
ac_cv_prog_ac_ct_RANLIB="ranlib"
5733
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5742
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5743
if test -n "$ac_ct_RANLIB"; then
5744
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5745
$as_echo "$ac_ct_RANLIB" >&6; }
5747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748
$as_echo "no" >&6; }
5751
if test "x$ac_ct_RANLIB" = x; then
5754
case $cross_compiling:$ac_tool_warned in
5756
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5757
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5758
ac_tool_warned=yes ;;
5760
RANLIB=$ac_ct_RANLIB
5763
RANLIB="$ac_cv_prog_RANLIB"
5766
test -z "$RANLIB" && RANLIB=:
5773
# Determine commands to create old-style static archives.
5774
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5775
old_postinstall_cmds='chmod 644 $oldlib'
5776
old_postuninstall_cmds=
5778
if test -n "$RANLIB"; then
5781
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5784
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5787
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5792
lock_old_archive_extraction=yes ;;
5794
lock_old_archive_extraction=no ;;
5835
# If no C compiler was specified, use CC.
5838
# If no C compiler flags were specified, use CFLAGS.
5839
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5841
# Allow CC to be a program name with arguments.
5845
# Check for command to grab the raw symbol name followed by C symbol from nm.
5846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5847
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5848
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5849
$as_echo_n "(cached) " >&6
5852
# These are sane defaults that work on at least a few old systems.
5853
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5855
# Character class describing NM global symbol codes.
5856
symcode='[BCDEGRST]'
5858
# Regexp to match symbols that can be accessed directly from C.
5859
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5861
# Define system-specific variables.
5866
cygwin* | mingw* | pw32* | cegcc*)
5867
symcode='[ABCDGISTW]'
5870
if test "$host_cpu" = ia64; then
5871
symcode='[ABCDEGRST]'
5875
symcode='[BCDEGRST]'
5878
symcode='[BCDEGQRST]'
5889
sysv5* | sco5v6* | unixware* | OpenUNIX*)
5897
# If we're using GNU nm, then use its standard symbol codes.
5898
case `$NM -V 2>&1` in
5899
*GNU* | *'with BFD'*)
5900
symcode='[ABCDGIRSTW]' ;;
5903
# Transform an extracted symbol line into a proper C declaration.
5904
# Some systems (esp. on ia64) link data and code symbols differently,
5905
# so use this general approach.
5906
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5908
# Transform an extracted symbol line into symbol name and symbol address
5909
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5910
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'"
5912
# Handle CRLF in mingw tool chain
5916
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5920
# Try without a prefix underscore, then with it.
5921
for ac_symprfx in "" "_"; do
5923
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5924
symxfrm="\\1 $ac_symprfx\\2 \\2"
5926
# Write the raw and C identifiers.
5927
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5928
# Fake it for dumpbin and say T for any non-static function
5929
# and D for any global variable.
5930
# Also find C++ and __fastcall symbols from MSVC++,
5931
# which start with @ or ?.
5932
lt_cv_sys_global_symbol_pipe="$AWK '"\
5933
" {last_section=section; section=\$ 3};"\
5934
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
5935
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5936
" \$ 0!~/External *\|/{next};"\
5937
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5938
" {if(hide[section]) next};"\
5939
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5940
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5941
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
5942
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5943
" ' prfx=^$ac_symprfx"
5945
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5947
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
5949
# Check to see that the pipe works correctly.
5953
cat > conftest.$ac_ext <<_LT_EOF
5958
void nm_test_func(void);
5959
void nm_test_func(void){}
5963
int main(){nm_test_var='a';nm_test_func();return(0);}
5966
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
5967
(eval $ac_compile) 2>&5
5969
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5970
test $ac_status = 0; }; then
5971
# Now try to grab the symbols.
5973
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
5974
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
5976
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5977
test $ac_status = 0; } && test -s "$nlist"; then
5978
# Try sorting and uniquifying the output.
5979
if sort "$nlist" | uniq > "$nlist"T; then
5980
mv -f "$nlist"T "$nlist"
5985
# Make sure that we snagged all the symbols we need.
5986
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5987
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5988
cat <<_LT_EOF > conftest.$ac_ext
5989
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
5990
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
5991
/* DATA imports from DLLs on WIN32 con't be const, because runtime
5992
relocations are performed -- see ld's documentation on pseudo-relocs. */
5993
# define LT_DLSYM_CONST
5994
#elif defined(__osf__)
5995
/* This system does not cope well with relocations in const data. */
5996
# define LT_DLSYM_CONST
5998
# define LT_DLSYM_CONST const
6006
# Now generate the symbol file.
6007
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6009
cat <<_LT_EOF >> conftest.$ac_ext
6011
/* The mapping between symbol names and symbols. */
6012
LT_DLSYM_CONST struct {
6016
lt__PROGRAM__LTX_preloaded_symbols[] =
6018
{ "@PROGRAM@", (void *) 0 },
6020
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6021
cat <<\_LT_EOF >> conftest.$ac_ext
6025
/* This works around a problem in FreeBSD linker */
6026
#ifdef FREEBSD_WORKAROUND
6027
static const void *lt_preloaded_setup() {
6028
return lt__PROGRAM__LTX_preloaded_symbols;
6036
# Now try linking the two files.
6037
mv conftest.$ac_objext conftstm.$ac_objext
6038
lt_globsym_save_LIBS=$LIBS
6039
lt_globsym_save_CFLAGS=$CFLAGS
6040
LIBS="conftstm.$ac_objext"
6041
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6042
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6043
(eval $ac_link) 2>&5
6045
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6046
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6049
LIBS=$lt_globsym_save_LIBS
6050
CFLAGS=$lt_globsym_save_CFLAGS
6052
echo "cannot find nm_test_func in $nlist" >&5
6055
echo "cannot find nm_test_var in $nlist" >&5
6058
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6061
echo "$progname: failed program was:" >&5
6062
cat conftest.$ac_ext >&5
6064
rm -rf conftest* conftst*
6066
# Do not use the global_symbol_pipe unless it works.
6067
if test "$pipe_works" = yes; then
6070
lt_cv_sys_global_symbol_pipe=
6076
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6077
lt_cv_sys_global_symbol_to_cdecl=
6079
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6081
$as_echo "failed" >&6; }
6083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6084
$as_echo "ok" >&6; }
6087
# Response file support.
6088
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6089
nm_file_list_spec='@'
6090
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6091
nm_file_list_spec='@'
6120
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6121
$as_echo_n "checking for sysroot... " >&6; }
6123
# Check whether --with-sysroot was given.
6124
if test "${with_sysroot+set}" = set; then :
6125
withval=$with_sysroot;
6132
case ${with_sysroot} in #(
6134
if test "$GCC" = yes; then
6135
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6139
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6145
$as_echo "${with_sysroot}" >&6; }
6146
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6150
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6151
$as_echo "${lt_sysroot:-no}" >&6; }
6157
# Check whether --enable-libtool-lock was given.
6158
if test "${enable_libtool_lock+set}" = set; then :
6159
enableval=$enable_libtool_lock;
6162
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6164
# Some flags need to be propagated to the compiler or linker for good
6168
# Find out which ABI we are using.
6169
echo 'int i;' > conftest.$ac_ext
6170
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6171
(eval $ac_compile) 2>&5
6173
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6174
test $ac_status = 0; }; then
6175
case `/usr/bin/file conftest.$ac_objext` in
6187
# Find out which ABI we are using.
6188
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6189
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6190
(eval $ac_compile) 2>&5
6192
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193
test $ac_status = 0; }; then
6194
if test "$lt_cv_prog_gnu_ld" = yes; then
6195
case `/usr/bin/file conftest.$ac_objext` in
6197
LD="${LD-ld} -melf32bsmip"
6200
LD="${LD-ld} -melf32bmipn32"
6203
LD="${LD-ld} -melf64bmip"
6207
case `/usr/bin/file conftest.$ac_objext` in
6223
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6224
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6225
# Find out which ABI we are using.
6226
echo 'int i;' > conftest.$ac_ext
6227
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6228
(eval $ac_compile) 2>&5
6230
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6231
test $ac_status = 0; }; then
6232
case `/usr/bin/file conftest.o` in
6235
x86_64-*kfreebsd*-gnu)
6236
LD="${LD-ld} -m elf_i386_fbsd"
6239
LD="${LD-ld} -m elf_i386"
6241
ppc64-*linux*|powerpc64-*linux*)
6242
LD="${LD-ld} -m elf32ppclinux"
6245
LD="${LD-ld} -m elf_s390"
6248
LD="${LD-ld} -m elf32_sparc"
6254
x86_64-*kfreebsd*-gnu)
6255
LD="${LD-ld} -m elf_x86_64_fbsd"
6258
LD="${LD-ld} -m elf_x86_64"
6260
ppc*-*linux*|powerpc*-*linux*)
6261
LD="${LD-ld} -m elf64ppc"
6263
s390*-*linux*|s390*-*tpf*)
6264
LD="${LD-ld} -m elf64_s390"
6267
LD="${LD-ld} -m elf64_sparc"
6277
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6278
SAVE_CFLAGS="$CFLAGS"
6279
CFLAGS="$CFLAGS -belf"
6280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6281
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6282
if ${lt_cv_cc_needs_belf+:} false; then :
6283
$as_echo_n "(cached) " >&6
6286
ac_cpp='$CPP $CPPFLAGS'
6287
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6288
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6289
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292
/* end confdefs.h. */
6302
if ac_fn_c_try_link "$LINENO"; then :
6303
lt_cv_cc_needs_belf=yes
6305
lt_cv_cc_needs_belf=no
6307
rm -f core conftest.err conftest.$ac_objext \
6308
conftest$ac_exeext conftest.$ac_ext
6310
ac_cpp='$CPP $CPPFLAGS'
6311
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6312
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6313
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6317
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6318
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6319
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6320
CFLAGS="$SAVE_CFLAGS"
6324
# Find out which ABI we are using.
6325
echo 'int i;' > conftest.$ac_ext
6326
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6327
(eval $ac_compile) 2>&5
6329
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6330
test $ac_status = 0; }; then
6331
case `/usr/bin/file conftest.o` in
6333
case $lt_cv_prog_gnu_ld in
6337
LD="${LD-ld} -m elf_x86_64"
6340
LD="${LD-ld} -m elf64_sparc"
6343
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6344
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6349
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6361
need_locks="$enable_libtool_lock"
6363
if test -n "$ac_tool_prefix"; then
6364
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6365
set dummy ${ac_tool_prefix}mt; ac_word=$2
6366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6367
$as_echo_n "checking for $ac_word... " >&6; }
6368
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6369
$as_echo_n "(cached) " >&6
6371
if test -n "$MANIFEST_TOOL"; then
6372
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6374
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6378
test -z "$as_dir" && as_dir=.
6379
for ac_exec_ext in '' $ac_executable_extensions; do
6380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6381
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6382
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6391
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6392
if test -n "$MANIFEST_TOOL"; then
6393
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6394
$as_echo "$MANIFEST_TOOL" >&6; }
6396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6397
$as_echo "no" >&6; }
6402
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6403
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6404
# Extract the first word of "mt", so it can be a program name with args.
6405
set dummy mt; ac_word=$2
6406
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6407
$as_echo_n "checking for $ac_word... " >&6; }
6408
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6409
$as_echo_n "(cached) " >&6
6411
if test -n "$ac_ct_MANIFEST_TOOL"; then
6412
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6414
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6418
test -z "$as_dir" && as_dir=.
6419
for ac_exec_ext in '' $ac_executable_extensions; do
6420
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6421
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6422
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6431
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6432
if test -n "$ac_ct_MANIFEST_TOOL"; then
6433
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6434
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437
$as_echo "no" >&6; }
6440
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6443
case $cross_compiling:$ac_tool_warned in
6445
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6446
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6447
ac_tool_warned=yes ;;
6449
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6452
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6455
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6456
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6457
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6458
if ${lt_cv_path_mainfest_tool+:} false; then :
6459
$as_echo_n "(cached) " >&6
6461
lt_cv_path_mainfest_tool=no
6462
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6463
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6464
cat conftest.err >&5
6465
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6466
lt_cv_path_mainfest_tool=yes
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6471
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6472
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6482
rhapsody* | darwin*)
6483
if test -n "$ac_tool_prefix"; then
6484
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6485
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6486
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487
$as_echo_n "checking for $ac_word... " >&6; }
6488
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6489
$as_echo_n "(cached) " >&6
6491
if test -n "$DSYMUTIL"; then
6492
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6494
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498
test -z "$as_dir" && as_dir=.
6499
for ac_exec_ext in '' $ac_executable_extensions; do
6500
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6501
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6502
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6512
if test -n "$DSYMUTIL"; then
6513
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6514
$as_echo "$DSYMUTIL" >&6; }
6516
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517
$as_echo "no" >&6; }
6522
if test -z "$ac_cv_prog_DSYMUTIL"; then
6523
ac_ct_DSYMUTIL=$DSYMUTIL
6524
# Extract the first word of "dsymutil", so it can be a program name with args.
6525
set dummy dsymutil; ac_word=$2
6526
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527
$as_echo_n "checking for $ac_word... " >&6; }
6528
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6529
$as_echo_n "(cached) " >&6
6531
if test -n "$ac_ct_DSYMUTIL"; then
6532
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6534
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6538
test -z "$as_dir" && as_dir=.
6539
for ac_exec_ext in '' $ac_executable_extensions; do
6540
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6541
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6542
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6551
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6552
if test -n "$ac_ct_DSYMUTIL"; then
6553
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6554
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6556
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6557
$as_echo "no" >&6; }
6560
if test "x$ac_ct_DSYMUTIL" = x; then
6563
case $cross_compiling:$ac_tool_warned in
6565
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6566
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6567
ac_tool_warned=yes ;;
6569
DSYMUTIL=$ac_ct_DSYMUTIL
6572
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6575
if test -n "$ac_tool_prefix"; then
6576
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6577
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6579
$as_echo_n "checking for $ac_word... " >&6; }
6580
if ${ac_cv_prog_NMEDIT+:} false; then :
6581
$as_echo_n "(cached) " >&6
6583
if test -n "$NMEDIT"; then
6584
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6586
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6590
test -z "$as_dir" && as_dir=.
6591
for ac_exec_ext in '' $ac_executable_extensions; do
6592
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6593
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6594
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6603
NMEDIT=$ac_cv_prog_NMEDIT
6604
if test -n "$NMEDIT"; then
6605
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6606
$as_echo "$NMEDIT" >&6; }
6608
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6609
$as_echo "no" >&6; }
6614
if test -z "$ac_cv_prog_NMEDIT"; then
6615
ac_ct_NMEDIT=$NMEDIT
6616
# Extract the first word of "nmedit", so it can be a program name with args.
6617
set dummy nmedit; ac_word=$2
6618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6619
$as_echo_n "checking for $ac_word... " >&6; }
6620
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6621
$as_echo_n "(cached) " >&6
6623
if test -n "$ac_ct_NMEDIT"; then
6624
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6626
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630
test -z "$as_dir" && as_dir=.
6631
for ac_exec_ext in '' $ac_executable_extensions; do
6632
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6633
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6634
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6644
if test -n "$ac_ct_NMEDIT"; then
6645
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6646
$as_echo "$ac_ct_NMEDIT" >&6; }
6648
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6649
$as_echo "no" >&6; }
6652
if test "x$ac_ct_NMEDIT" = x; then
6655
case $cross_compiling:$ac_tool_warned in
6657
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6658
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6659
ac_tool_warned=yes ;;
6661
NMEDIT=$ac_ct_NMEDIT
6664
NMEDIT="$ac_cv_prog_NMEDIT"
6667
if test -n "$ac_tool_prefix"; then
6668
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6669
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6670
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6671
$as_echo_n "checking for $ac_word... " >&6; }
6672
if ${ac_cv_prog_LIPO+:} false; then :
6673
$as_echo_n "(cached) " >&6
6675
if test -n "$LIPO"; then
6676
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6678
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6682
test -z "$as_dir" && as_dir=.
6683
for ac_exec_ext in '' $ac_executable_extensions; do
6684
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6685
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6686
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695
LIPO=$ac_cv_prog_LIPO
6696
if test -n "$LIPO"; then
6697
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6698
$as_echo "$LIPO" >&6; }
6700
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6701
$as_echo "no" >&6; }
6706
if test -z "$ac_cv_prog_LIPO"; then
6708
# Extract the first word of "lipo", so it can be a program name with args.
6709
set dummy lipo; ac_word=$2
6710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6711
$as_echo_n "checking for $ac_word... " >&6; }
6712
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6713
$as_echo_n "(cached) " >&6
6715
if test -n "$ac_ct_LIPO"; then
6716
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6718
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6722
test -z "$as_dir" && as_dir=.
6723
for ac_exec_ext in '' $ac_executable_extensions; do
6724
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6725
ac_cv_prog_ac_ct_LIPO="lipo"
6726
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6735
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6736
if test -n "$ac_ct_LIPO"; then
6737
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6738
$as_echo "$ac_ct_LIPO" >&6; }
6740
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6741
$as_echo "no" >&6; }
6744
if test "x$ac_ct_LIPO" = x; then
6747
case $cross_compiling:$ac_tool_warned in
6749
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6750
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6751
ac_tool_warned=yes ;;
6756
LIPO="$ac_cv_prog_LIPO"
6759
if test -n "$ac_tool_prefix"; then
6760
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6761
set dummy ${ac_tool_prefix}otool; ac_word=$2
6762
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763
$as_echo_n "checking for $ac_word... " >&6; }
6764
if ${ac_cv_prog_OTOOL+:} false; then :
6765
$as_echo_n "(cached) " >&6
6767
if test -n "$OTOOL"; then
6768
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6770
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6774
test -z "$as_dir" && as_dir=.
6775
for ac_exec_ext in '' $ac_executable_extensions; do
6776
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6777
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6778
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6787
OTOOL=$ac_cv_prog_OTOOL
6788
if test -n "$OTOOL"; then
6789
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6790
$as_echo "$OTOOL" >&6; }
6792
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793
$as_echo "no" >&6; }
6798
if test -z "$ac_cv_prog_OTOOL"; then
6800
# Extract the first word of "otool", so it can be a program name with args.
6801
set dummy otool; ac_word=$2
6802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6803
$as_echo_n "checking for $ac_word... " >&6; }
6804
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6805
$as_echo_n "(cached) " >&6
6807
if test -n "$ac_ct_OTOOL"; then
6808
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6810
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6814
test -z "$as_dir" && as_dir=.
6815
for ac_exec_ext in '' $ac_executable_extensions; do
6816
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6817
ac_cv_prog_ac_ct_OTOOL="otool"
6818
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6827
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6828
if test -n "$ac_ct_OTOOL"; then
6829
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6830
$as_echo "$ac_ct_OTOOL" >&6; }
6832
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6833
$as_echo "no" >&6; }
6836
if test "x$ac_ct_OTOOL" = x; then
6839
case $cross_compiling:$ac_tool_warned in
6841
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6842
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6843
ac_tool_warned=yes ;;
6848
OTOOL="$ac_cv_prog_OTOOL"
6851
if test -n "$ac_tool_prefix"; then
6852
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6853
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6854
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855
$as_echo_n "checking for $ac_word... " >&6; }
6856
if ${ac_cv_prog_OTOOL64+:} false; then :
6857
$as_echo_n "(cached) " >&6
6859
if test -n "$OTOOL64"; then
6860
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6862
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866
test -z "$as_dir" && as_dir=.
6867
for ac_exec_ext in '' $ac_executable_extensions; do
6868
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6869
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6870
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6879
OTOOL64=$ac_cv_prog_OTOOL64
6880
if test -n "$OTOOL64"; then
6881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
6882
$as_echo "$OTOOL64" >&6; }
6884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885
$as_echo "no" >&6; }
6890
if test -z "$ac_cv_prog_OTOOL64"; then
6891
ac_ct_OTOOL64=$OTOOL64
6892
# Extract the first word of "otool64", so it can be a program name with args.
6893
set dummy otool64; ac_word=$2
6894
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6895
$as_echo_n "checking for $ac_word... " >&6; }
6896
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
6897
$as_echo_n "(cached) " >&6
6899
if test -n "$ac_ct_OTOOL64"; then
6900
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6902
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6906
test -z "$as_dir" && as_dir=.
6907
for ac_exec_ext in '' $ac_executable_extensions; do
6908
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6909
ac_cv_prog_ac_ct_OTOOL64="otool64"
6910
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6919
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6920
if test -n "$ac_ct_OTOOL64"; then
6921
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
6922
$as_echo "$ac_ct_OTOOL64" >&6; }
6924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6925
$as_echo "no" >&6; }
6928
if test "x$ac_ct_OTOOL64" = x; then
6931
case $cross_compiling:$ac_tool_warned in
6933
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6934
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6935
ac_tool_warned=yes ;;
6937
OTOOL64=$ac_ct_OTOOL64
6940
OTOOL64="$ac_cv_prog_OTOOL64"
6969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
6970
$as_echo_n "checking for -single_module linker flag... " >&6; }
6971
if ${lt_cv_apple_cc_single_mod+:} false; then :
6972
$as_echo_n "(cached) " >&6
6974
lt_cv_apple_cc_single_mod=no
6975
if test -z "${LT_MULTI_MODULE}"; then
6976
# By default we will add the -single_module flag. You can override
6977
# by either setting the environment variable LT_MULTI_MODULE
6978
# non-empty at configure time, or by adding -multi_module to the
6980
rm -rf libconftest.dylib*
6981
echo "int foo(void){return 1;}" > conftest.c
6982
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6983
-dynamiclib -Wl,-single_module conftest.c" >&5
6984
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6985
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6987
# If there is a non-empty error log, and "single_module"
6988
# appears in it, assume the flag caused a linker warning
6989
if test -s conftest.err && $GREP single_module conftest.err; then
6990
cat conftest.err >&5
6991
# Otherwise, if the output was created with a 0 exit code from
6992
# the compiler, it worked.
6993
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
6994
lt_cv_apple_cc_single_mod=yes
6996
cat conftest.err >&5
6998
rm -rf libconftest.dylib*
7002
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7003
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7005
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7006
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7007
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7008
$as_echo_n "(cached) " >&6
7010
lt_cv_ld_exported_symbols_list=no
7011
save_LDFLAGS=$LDFLAGS
7012
echo "_main" > conftest.sym
7013
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7014
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7015
/* end confdefs.h. */
7025
if ac_fn_c_try_link "$LINENO"; then :
7026
lt_cv_ld_exported_symbols_list=yes
7028
lt_cv_ld_exported_symbols_list=no
7030
rm -f core conftest.err conftest.$ac_objext \
7031
conftest$ac_exeext conftest.$ac_ext
7032
LDFLAGS="$save_LDFLAGS"
7035
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7036
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7039
$as_echo_n "checking for -force_load linker flag... " >&6; }
7040
if ${lt_cv_ld_force_load+:} false; then :
7041
$as_echo_n "(cached) " >&6
7043
lt_cv_ld_force_load=no
7044
cat > conftest.c << _LT_EOF
7045
int forced_loaded() { return 2;}
7047
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7048
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7049
echo "$AR cru libconftest.a conftest.o" >&5
7050
$AR cru libconftest.a conftest.o 2>&5
7051
echo "$RANLIB libconftest.a" >&5
7052
$RANLIB libconftest.a 2>&5
7053
cat > conftest.c << _LT_EOF
7054
int main() { return 0;}
7056
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7057
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7059
if test -s conftest.err && $GREP force_load conftest.err; then
7060
cat conftest.err >&5
7061
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7062
lt_cv_ld_force_load=yes
7064
cat conftest.err >&5
7066
rm -f conftest.err libconftest.a conftest conftest.c
7067
rm -rf conftest.dSYM
7070
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7071
$as_echo "$lt_cv_ld_force_load" >&6; }
7073
rhapsody* | darwin1.[012])
7074
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7076
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7077
darwin*) # darwin 5.x on
7078
# if running on 10.5 or later, the deployment target defaults
7079
# to the OS version, if on x86, and 10.4, the deployment
7080
# target defaults to 10.4. Don't you love it?
7081
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7082
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7083
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7085
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7087
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7091
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7092
_lt_dar_single_mod='$single_module'
7094
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7095
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7097
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7099
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7100
_lt_dsymutil='~$DSYMUTIL $lib || :'
7108
ac_cpp='$CPP $CPPFLAGS'
7109
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7110
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7111
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7113
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7114
# On Suns, sometimes $CPP names a directory.
7115
if test -n "$CPP" && test -d "$CPP"; then
7118
if test -z "$CPP"; then
7119
if ${ac_cv_prog_CPP+:} false; then :
7120
$as_echo_n "(cached) " >&6
7122
# Double quotes because CPP needs to be expanded
7123
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7126
for ac_c_preproc_warn_flag in '' yes
7128
# Use a header file that comes with gcc, so configuring glibc
7129
# with a fresh cross-compiler works.
7130
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7131
# <limits.h> exists even on freestanding compilers.
7132
# On the NeXT, cc -E runs the code through the compiler's parser,
7133
# not just through cpp. "Syntax error" is here to catch this case.
7134
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7135
/* end confdefs.h. */
7137
# include <limits.h>
7139
# include <assert.h>
7143
if ac_fn_c_try_cpp "$LINENO"; then :
7146
# Broken: fails on valid input.
7149
rm -f conftest.err conftest.i conftest.$ac_ext
7151
# OK, works on sane cases. Now check whether nonexistent headers
7152
# can be detected and how.
7153
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7154
/* end confdefs.h. */
7155
#include <ac_nonexistent.h>
7157
if ac_fn_c_try_cpp "$LINENO"; then :
7158
# Broken: success on invalid input.
7161
# Passes both tests.
7165
rm -f conftest.err conftest.i conftest.$ac_ext
7168
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7169
rm -f conftest.i conftest.err conftest.$ac_ext
7170
if $ac_preproc_ok; then :
7182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7183
$as_echo "$CPP" >&6; }
7185
for ac_c_preproc_warn_flag in '' yes
7187
# Use a header file that comes with gcc, so configuring glibc
7188
# with a fresh cross-compiler works.
7189
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7190
# <limits.h> exists even on freestanding compilers.
7191
# On the NeXT, cc -E runs the code through the compiler's parser,
7192
# not just through cpp. "Syntax error" is here to catch this case.
7193
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194
/* end confdefs.h. */
7196
# include <limits.h>
7198
# include <assert.h>
7202
if ac_fn_c_try_cpp "$LINENO"; then :
7205
# Broken: fails on valid input.
7208
rm -f conftest.err conftest.i conftest.$ac_ext
7210
# OK, works on sane cases. Now check whether nonexistent headers
7211
# can be detected and how.
7212
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7213
/* end confdefs.h. */
7214
#include <ac_nonexistent.h>
7216
if ac_fn_c_try_cpp "$LINENO"; then :
7217
# Broken: success on invalid input.
7220
# Passes both tests.
7224
rm -f conftest.err conftest.i conftest.$ac_ext
7227
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7228
rm -f conftest.i conftest.err conftest.$ac_ext
7229
if $ac_preproc_ok; then :
7232
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7233
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7234
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7235
See \`config.log' for more details" "$LINENO" 5; }
7239
ac_cpp='$CPP $CPPFLAGS'
7240
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7241
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7242
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7246
$as_echo_n "checking for ANSI C header files... " >&6; }
7247
if ${ac_cv_header_stdc+:} false; then :
7248
$as_echo_n "(cached) " >&6
7250
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7251
/* end confdefs.h. */
7265
if ac_fn_c_try_compile "$LINENO"; then :
7266
ac_cv_header_stdc=yes
7268
ac_cv_header_stdc=no
7270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7272
if test $ac_cv_header_stdc = yes; then
7273
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7274
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7275
/* end confdefs.h. */
7279
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7280
$EGREP "memchr" >/dev/null 2>&1; then :
7283
ac_cv_header_stdc=no
7289
if test $ac_cv_header_stdc = yes; then
7290
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7291
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7292
/* end confdefs.h. */
7296
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7297
$EGREP "free" >/dev/null 2>&1; then :
7300
ac_cv_header_stdc=no
7306
if test $ac_cv_header_stdc = yes; then
7307
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7308
if test "$cross_compiling" = yes; then :
7311
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7312
/* end confdefs.h. */
7315
#if ((' ' & 0x0FF) == 0x020)
7316
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7317
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7319
# define ISLOWER(c) \
7320
(('a' <= (c) && (c) <= 'i') \
7321
|| ('j' <= (c) && (c) <= 'r') \
7322
|| ('s' <= (c) && (c) <= 'z'))
7323
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7326
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7331
for (i = 0; i < 256; i++)
7332
if (XOR (islower (i), ISLOWER (i))
7333
|| toupper (i) != TOUPPER (i))
7338
if ac_fn_c_try_run "$LINENO"; then :
7341
ac_cv_header_stdc=no
7343
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7344
conftest.$ac_objext conftest.beam conftest.$ac_ext
7349
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7350
$as_echo "$ac_cv_header_stdc" >&6; }
7351
if test $ac_cv_header_stdc = yes; then
7353
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7357
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7358
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7359
inttypes.h stdint.h unistd.h
7361
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7362
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7364
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7365
cat >>confdefs.h <<_ACEOF
7366
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7374
for ac_header in dlfcn.h
7376
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7378
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7379
cat >>confdefs.h <<_ACEOF
7380
#define HAVE_DLFCN_H 1
7401
# Check whether --enable-shared was given.
7402
if test "${enable_shared+set}" = set; then :
7403
enableval=$enable_shared; p=${PACKAGE-default}
7405
yes) enable_shared=yes ;;
7406
no) enable_shared=no ;;
7409
# Look at the argument we got. We use all the common list separators.
7410
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7411
for pkg in $enableval; do
7413
if test "X$pkg" = "X$p"; then
7432
# Check whether --enable-static was given.
7433
if test "${enable_static+set}" = set; then :
7434
enableval=$enable_static; p=${PACKAGE-default}
7436
yes) enable_static=yes ;;
7437
no) enable_static=no ;;
7440
# Look at the argument we got. We use all the common list separators.
7441
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7442
for pkg in $enableval; do
7444
if test "X$pkg" = "X$p"; then
7464
# Check whether --with-pic was given.
7465
if test "${with_pic+set}" = set; then :
7466
withval=$with_pic; lt_p=${PACKAGE-default}
7468
yes|no) pic_mode=$withval ;;
7471
# Look at the argument we got. We use all the common list separators.
7472
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7473
for lt_pkg in $withval; do
7475
if test "X$lt_pkg" = "X$lt_p"; then
7487
test -z "$pic_mode" && pic_mode=default
7495
# Check whether --enable-fast-install was given.
7496
if test "${enable_fast_install+set}" = set; then :
7497
enableval=$enable_fast_install; p=${PACKAGE-default}
7499
yes) enable_fast_install=yes ;;
7500
no) enable_fast_install=no ;;
7502
enable_fast_install=no
7503
# Look at the argument we got. We use all the common list separators.
7504
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7505
for pkg in $enableval; do
7507
if test "X$pkg" = "X$p"; then
7508
enable_fast_install=yes
7515
enable_fast_install=yes
7528
# This can be used to rebuild libtool when needed
7529
LIBTOOL_DEPS="$ltmain"
7531
# Always use our own libtool.
7532
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7563
test -z "$LN_S" && LN_S="ln -s"
7578
if test -n "${ZSH_VERSION+set}" ; then
7579
setopt NO_GLOB_SUBST
7582
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7583
$as_echo_n "checking for objdir... " >&6; }
7584
if ${lt_cv_objdir+:} false; then :
7585
$as_echo_n "(cached) " >&6
7587
rm -f .libs 2>/dev/null
7588
mkdir .libs 2>/dev/null
7589
if test -d .libs; then
7592
# MS-DOS does not allow filenames that begin with a dot.
7595
rmdir .libs 2>/dev/null
7597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7598
$as_echo "$lt_cv_objdir" >&6; }
7599
objdir=$lt_cv_objdir
7605
cat >>confdefs.h <<_ACEOF
7606
#define LT_OBJDIR "$lt_cv_objdir/"
7614
# AIX sometimes has problems with the GCC collect2 program. For some
7615
# reason, if we set the COLLECT_NAMES environment variable, the problems
7616
# vanish in a puff of smoke.
7617
if test "X${COLLECT_NAMES+set}" != Xset; then
7619
export COLLECT_NAMES
7626
can_build_shared=yes
7628
# All known linkers require a `.a' archive for static linking (except MSVC,
7629
# which needs '.lib').
7632
with_gnu_ld="$lt_cv_prog_gnu_ld"
7635
old_CFLAGS="$CFLAGS"
7637
# Set sane defaults for various variables
7638
test -z "$CC" && CC=cc
7639
test -z "$LTCC" && LTCC=$CC
7640
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7641
test -z "$LD" && LD=ld
7642
test -z "$ac_objext" && ac_objext=o
7644
for cc_temp in $compiler""; do
7646
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7647
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7652
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7655
# Only perform the check for file, if the check method requires it
7656
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7657
case $deplibs_check_method in
7659
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7661
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7662
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7663
$as_echo_n "(cached) " >&6
7667
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7670
lt_save_MAGIC_CMD="$MAGIC_CMD"
7671
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7672
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7673
for ac_dir in $ac_dummy; do
7675
test -z "$ac_dir" && ac_dir=.
7676
if test -f $ac_dir/${ac_tool_prefix}file; then
7677
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7678
if test -n "$file_magic_test_file"; then
7679
case $deplibs_check_method in
7681
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7682
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7683
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7684
$EGREP "$file_magic_regex" > /dev/null; then
7689
*** Warning: the command libtool uses to detect shared libraries,
7690
*** $file_magic_cmd, produces output that libtool cannot recognize.
7691
*** The result is that libtool may fail to recognize shared libraries
7692
*** as such. This will affect the creation of libtool libraries that
7693
*** depend on shared libraries, but programs linked with such libtool
7694
*** libraries will work regardless of this problem. Nevertheless, you
7695
*** may want to report the problem to your system manager and/or to
7696
*** bug-libtool@gnu.org
7706
MAGIC_CMD="$lt_save_MAGIC_CMD"
7711
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7712
if test -n "$MAGIC_CMD"; then
7713
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7714
$as_echo "$MAGIC_CMD" >&6; }
7716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7717
$as_echo "no" >&6; }
7724
if test -z "$lt_cv_path_MAGIC_CMD"; then
7725
if test -n "$ac_tool_prefix"; then
7726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7727
$as_echo_n "checking for file... " >&6; }
7728
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7729
$as_echo_n "(cached) " >&6
7733
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7736
lt_save_MAGIC_CMD="$MAGIC_CMD"
7737
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7738
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7739
for ac_dir in $ac_dummy; do
7741
test -z "$ac_dir" && ac_dir=.
7742
if test -f $ac_dir/file; then
7743
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7744
if test -n "$file_magic_test_file"; then
7745
case $deplibs_check_method in
7747
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7748
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7749
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7750
$EGREP "$file_magic_regex" > /dev/null; then
7755
*** Warning: the command libtool uses to detect shared libraries,
7756
*** $file_magic_cmd, produces output that libtool cannot recognize.
7757
*** The result is that libtool may fail to recognize shared libraries
7758
*** as such. This will affect the creation of libtool libraries that
7759
*** depend on shared libraries, but programs linked with such libtool
7760
*** libraries will work regardless of this problem. Nevertheless, you
7761
*** may want to report the problem to your system manager and/or to
7762
*** bug-libtool@gnu.org
7772
MAGIC_CMD="$lt_save_MAGIC_CMD"
7777
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7778
if test -n "$MAGIC_CMD"; then
7779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7780
$as_echo "$MAGIC_CMD" >&6; }
7782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7783
$as_echo "no" >&6; }
7796
# Use C for the default configuration in the libtool script
7800
ac_cpp='$CPP $CPPFLAGS'
7801
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7802
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7803
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7806
# Source file extension for C test sources.
7809
# Object file extension for compiled C test sources.
7813
# Code to be used in simple compile tests
7814
lt_simple_compile_test_code="int some_variable = 0;"
7816
# Code to be used in simple link tests
7817
lt_simple_link_test_code='int main(){return(0);}'
7825
# If no C compiler was specified, use CC.
7828
# If no C compiler flags were specified, use CFLAGS.
7829
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7831
# Allow CC to be a program name with arguments.
7834
# Save the default compiler, since it gets overwritten when the other
7835
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7836
compiler_DEFAULT=$CC
7838
# save warnings/boilerplate of simple test code
7839
ac_outfile=conftest.$ac_objext
7840
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7841
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7842
_lt_compiler_boilerplate=`cat conftest.err`
7845
ac_outfile=conftest.$ac_objext
7846
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7847
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7848
_lt_linker_boilerplate=`cat conftest.err`
7852
if test -n "$compiler"; then
7854
lt_prog_compiler_no_builtin_flag=
7856
if test "$GCC" = yes; then
7857
case $cc_basename in
7859
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7861
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7864
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7865
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7866
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7867
$as_echo_n "(cached) " >&6
7869
lt_cv_prog_compiler_rtti_exceptions=no
7870
ac_outfile=conftest.$ac_objext
7871
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7872
lt_compiler_flag="-fno-rtti -fno-exceptions"
7873
# Insert the option either (1) after the last *FLAGS variable, or
7874
# (2) before a word containing "conftest.", or (3) at the end.
7875
# Note that $ac_compile itself does not contain backslashes and begins
7876
# with a dollar sign (not a hyphen), so the echo should work correctly.
7877
# The option is referenced via a variable to avoid confusing sed.
7878
lt_compile=`echo "$ac_compile" | $SED \
7879
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7880
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7881
-e 's:$: $lt_compiler_flag:'`
7882
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7883
(eval "$lt_compile" 2>conftest.err)
7885
cat conftest.err >&5
7886
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887
if (exit $ac_status) && test -s "$ac_outfile"; then
7888
# The compiler can only warn and ignore the option if not recognized
7889
# So say no if there are warnings other than the usual output.
7890
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7891
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7892
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7893
lt_cv_prog_compiler_rtti_exceptions=yes
7899
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7900
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7902
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7903
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7915
lt_prog_compiler_wl=
7916
lt_prog_compiler_pic=
7917
lt_prog_compiler_static=
7920
if test "$GCC" = yes; then
7921
lt_prog_compiler_wl='-Wl,'
7922
lt_prog_compiler_static='-static'
7926
# All AIX code is PIC.
7927
if test "$host_cpu" = ia64; then
7928
# AIX 5 now supports IA64 processor
7929
lt_prog_compiler_static='-Bstatic'
7936
# see comment about AmigaOS4 .so support
7937
lt_prog_compiler_pic='-fPIC'
7940
# FIXME: we need at least 68020 code to build shared libraries, but
7941
# adding the `-m68020' flag to GCC prevents building anything better,
7943
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7948
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7949
# PIC is the default for these OSes.
7952
mingw* | cygwin* | pw32* | os2* | cegcc*)
7953
# This hack is so that the source file can tell whether it is being
7954
# built for inclusion in a dll (and should export symbols for example).
7955
# Although the cygwin gcc ignores -fPIC, still need this for old-style
7956
# (--disable-auto-import) libraries
7957
lt_prog_compiler_pic='-DDLL_EXPORT'
7960
darwin* | rhapsody*)
7961
# PIC is the default on this platform
7962
# Common symbols not allowed in MH_DYLIB files
7963
lt_prog_compiler_pic='-fno-common'
7967
# PIC is the default for Haiku.
7968
# The "-static" flag exists, but is broken.
7969
lt_prog_compiler_static=
7973
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7974
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7975
# sets the default TLS model and affects inlining.
7981
lt_prog_compiler_pic='-fPIC'
7987
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
7988
# Instead, we relocate shared libraries at runtime.
7992
# Just because we use GCC doesn't mean we suddenly get shared libraries
7993
# on systems that don't support them.
7994
lt_prog_compiler_can_build_shared=no
7999
# QNX uses GNU C++, but need to define -shared option too, otherwise
8001
lt_prog_compiler_pic='-fPIC -shared'
8005
if test -d /usr/nec; then
8006
lt_prog_compiler_pic=-Kconform_pic
8011
lt_prog_compiler_pic='-fPIC'
8015
case $cc_basename in
8016
nvcc*) # Cuda Compiler Driver 2.2
8017
lt_prog_compiler_wl='-Xlinker '
8018
if test -n "$lt_prog_compiler_pic"; then
8019
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8024
# PORTME Check for flag to pass linker flags through the system compiler.
8027
lt_prog_compiler_wl='-Wl,'
8028
if test "$host_cpu" = ia64; then
8029
# AIX 5 now supports IA64 processor
8030
lt_prog_compiler_static='-Bstatic'
8032
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8036
mingw* | cygwin* | pw32* | os2* | cegcc*)
8037
# This hack is so that the source file can tell whether it is being
8038
# built for inclusion in a dll (and should export symbols for example).
8039
lt_prog_compiler_pic='-DDLL_EXPORT'
8042
hpux9* | hpux10* | hpux11*)
8043
lt_prog_compiler_wl='-Wl,'
8044
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8051
lt_prog_compiler_pic='+Z'
8054
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8055
lt_prog_compiler_static='${wl}-a ${wl}archive'
8058
irix5* | irix6* | nonstopux*)
8059
lt_prog_compiler_wl='-Wl,'
8060
# PIC (with -KPIC) is the default.
8061
lt_prog_compiler_static='-non_shared'
8064
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8065
case $cc_basename in
8066
# old Intel for x86_64 which still supported -KPIC.
8068
lt_prog_compiler_wl='-Wl,'
8069
lt_prog_compiler_pic='-KPIC'
8070
lt_prog_compiler_static='-static'
8072
# icc used to be incompatible with GCC.
8073
# ICC 10 doesn't accept -KPIC any more.
8075
lt_prog_compiler_wl='-Wl,'
8076
lt_prog_compiler_pic='-fPIC'
8077
lt_prog_compiler_static='-static'
8079
# Lahey Fortran 8.1.
8081
lt_prog_compiler_wl='-Wl,'
8082
lt_prog_compiler_pic='--shared'
8083
lt_prog_compiler_static='--static'
8086
# NAG Fortran compiler
8087
lt_prog_compiler_wl='-Wl,-Wl,,'
8088
lt_prog_compiler_pic='-PIC'
8089
lt_prog_compiler_static='-Bstatic'
8091
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8092
# Portland Group compilers (*not* the Pentium gcc compiler,
8093
# which looks to be a dead project)
8094
lt_prog_compiler_wl='-Wl,'
8095
lt_prog_compiler_pic='-fpic'
8096
lt_prog_compiler_static='-Bstatic'
8099
lt_prog_compiler_wl='-Wl,'
8100
# All Alpha code is PIC.
8101
lt_prog_compiler_static='-non_shared'
8103
xl* | bgxl* | bgf* | mpixl*)
8104
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8105
lt_prog_compiler_wl='-Wl,'
8106
lt_prog_compiler_pic='-qpic'
8107
lt_prog_compiler_static='-qstaticlink'
8110
case `$CC -V 2>&1 | sed 5q` in
8111
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8112
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8113
lt_prog_compiler_pic='-KPIC'
8114
lt_prog_compiler_static='-Bstatic'
8115
lt_prog_compiler_wl=''
8117
*Sun\ F* | *Sun*Fortran*)
8118
lt_prog_compiler_pic='-KPIC'
8119
lt_prog_compiler_static='-Bstatic'
8120
lt_prog_compiler_wl='-Qoption ld '
8124
lt_prog_compiler_pic='-KPIC'
8125
lt_prog_compiler_static='-Bstatic'
8126
lt_prog_compiler_wl='-Wl,'
8128
*Intel*\ [CF]*Compiler*)
8129
lt_prog_compiler_wl='-Wl,'
8130
lt_prog_compiler_pic='-fPIC'
8131
lt_prog_compiler_static='-static'
8134
lt_prog_compiler_wl='-Wl,'
8135
lt_prog_compiler_pic='-fpic'
8136
lt_prog_compiler_static='-Bstatic'
8144
lt_prog_compiler_pic='-KPIC'
8145
lt_prog_compiler_static='-Bstatic'
8149
# QNX uses GNU C++, but need to define -shared option too, otherwise
8151
lt_prog_compiler_pic='-fPIC -shared'
8154
osf3* | osf4* | osf5*)
8155
lt_prog_compiler_wl='-Wl,'
8156
# All OSF/1 code is PIC.
8157
lt_prog_compiler_static='-non_shared'
8161
lt_prog_compiler_static='-non_shared'
8165
lt_prog_compiler_pic='-KPIC'
8166
lt_prog_compiler_static='-Bstatic'
8167
case $cc_basename in
8168
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8169
lt_prog_compiler_wl='-Qoption ld ';;
8171
lt_prog_compiler_wl='-Wl,';;
8176
lt_prog_compiler_wl='-Qoption ld '
8177
lt_prog_compiler_pic='-PIC'
8178
lt_prog_compiler_static='-Bstatic'
8181
sysv4 | sysv4.2uw2* | sysv4.3*)
8182
lt_prog_compiler_wl='-Wl,'
8183
lt_prog_compiler_pic='-KPIC'
8184
lt_prog_compiler_static='-Bstatic'
8188
if test -d /usr/nec ;then
8189
lt_prog_compiler_pic='-Kconform_pic'
8190
lt_prog_compiler_static='-Bstatic'
8194
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8195
lt_prog_compiler_wl='-Wl,'
8196
lt_prog_compiler_pic='-KPIC'
8197
lt_prog_compiler_static='-Bstatic'
8201
lt_prog_compiler_wl='-Wl,'
8202
lt_prog_compiler_can_build_shared=no
8206
lt_prog_compiler_pic='-pic'
8207
lt_prog_compiler_static='-Bstatic'
8211
lt_prog_compiler_can_build_shared=no
8217
# For platforms which do not support PIC, -DPIC is meaningless:
8219
lt_prog_compiler_pic=
8222
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8226
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8227
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8228
if ${lt_cv_prog_compiler_pic+:} false; then :
8229
$as_echo_n "(cached) " >&6
8231
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8233
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8234
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8235
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8238
# Check to make sure the PIC flag actually works.
8240
if test -n "$lt_prog_compiler_pic"; then
8241
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8242
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8243
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8244
$as_echo_n "(cached) " >&6
8246
lt_cv_prog_compiler_pic_works=no
8247
ac_outfile=conftest.$ac_objext
8248
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8249
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8250
# Insert the option either (1) after the last *FLAGS variable, or
8251
# (2) before a word containing "conftest.", or (3) at the end.
8252
# Note that $ac_compile itself does not contain backslashes and begins
8253
# with a dollar sign (not a hyphen), so the echo should work correctly.
8254
# The option is referenced via a variable to avoid confusing sed.
8255
lt_compile=`echo "$ac_compile" | $SED \
8256
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8257
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8258
-e 's:$: $lt_compiler_flag:'`
8259
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8260
(eval "$lt_compile" 2>conftest.err)
8262
cat conftest.err >&5
8263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264
if (exit $ac_status) && test -s "$ac_outfile"; then
8265
# The compiler can only warn and ignore the option if not recognized
8266
# So say no if there are warnings other than the usual output.
8267
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8268
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8269
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8270
lt_cv_prog_compiler_pic_works=yes
8276
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8277
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8279
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8280
case $lt_prog_compiler_pic in
8282
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8285
lt_prog_compiler_pic=
8286
lt_prog_compiler_can_build_shared=no
8302
# Check to make sure the static flag actually works.
8304
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8306
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8307
if ${lt_cv_prog_compiler_static_works+:} false; then :
8308
$as_echo_n "(cached) " >&6
8310
lt_cv_prog_compiler_static_works=no
8311
save_LDFLAGS="$LDFLAGS"
8312
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8313
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8314
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8315
# The linker can only warn and ignore the option if not recognized
8316
# So say no if there are warnings
8317
if test -s conftest.err; then
8318
# Append any errors to the config.log.
8319
cat conftest.err 1>&5
8320
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8321
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8322
if diff conftest.exp conftest.er2 >/dev/null; then
8323
lt_cv_prog_compiler_static_works=yes
8326
lt_cv_prog_compiler_static_works=yes
8330
LDFLAGS="$save_LDFLAGS"
8333
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8334
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8336
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8339
lt_prog_compiler_static=
8348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8349
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8350
if ${lt_cv_prog_compiler_c_o+:} false; then :
8351
$as_echo_n "(cached) " >&6
8353
lt_cv_prog_compiler_c_o=no
8354
$RM -r conftest 2>/dev/null
8358
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8360
lt_compiler_flag="-o out/conftest2.$ac_objext"
8361
# Insert the option either (1) after the last *FLAGS variable, or
8362
# (2) before a word containing "conftest.", or (3) at the end.
8363
# Note that $ac_compile itself does not contain backslashes and begins
8364
# with a dollar sign (not a hyphen), so the echo should work correctly.
8365
lt_compile=`echo "$ac_compile" | $SED \
8366
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8367
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8368
-e 's:$: $lt_compiler_flag:'`
8369
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8370
(eval "$lt_compile" 2>out/conftest.err)
8372
cat out/conftest.err >&5
8373
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8376
# The compiler can only warn and ignore the option if not recognized
8377
# So say no if there are warnings
8378
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8379
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8380
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8381
lt_cv_prog_compiler_c_o=yes
8386
# SGI C++ compiler will create directory out/ii_files/ for
8387
# template instantiation
8388
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8389
$RM out/* && rmdir out
8395
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8396
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8404
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8405
if ${lt_cv_prog_compiler_c_o+:} false; then :
8406
$as_echo_n "(cached) " >&6
8408
lt_cv_prog_compiler_c_o=no
8409
$RM -r conftest 2>/dev/null
8413
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8415
lt_compiler_flag="-o out/conftest2.$ac_objext"
8416
# Insert the option either (1) after the last *FLAGS variable, or
8417
# (2) before a word containing "conftest.", or (3) at the end.
8418
# Note that $ac_compile itself does not contain backslashes and begins
8419
# with a dollar sign (not a hyphen), so the echo should work correctly.
8420
lt_compile=`echo "$ac_compile" | $SED \
8421
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8422
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8423
-e 's:$: $lt_compiler_flag:'`
8424
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8425
(eval "$lt_compile" 2>out/conftest.err)
8427
cat out/conftest.err >&5
8428
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8431
# The compiler can only warn and ignore the option if not recognized
8432
# So say no if there are warnings
8433
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8434
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8435
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8436
lt_cv_prog_compiler_c_o=yes
8441
# SGI C++ compiler will create directory out/ii_files/ for
8442
# template instantiation
8443
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8444
$RM out/* && rmdir out
8450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8451
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8456
hard_links="nottested"
8457
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8458
# do not overwrite the value of need_locks provided by the user
8459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8460
$as_echo_n "checking if we can lock with hard links... " >&6; }
8463
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8465
ln conftest.a conftest.b 2>&5 || hard_links=no
8466
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8468
$as_echo "$hard_links" >&6; }
8469
if test "$hard_links" = no; then
8470
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8471
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8484
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8487
allow_undefined_flag=
8488
always_export_symbols=no
8490
archive_expsym_cmds=
8491
compiler_needs_object=no
8492
enable_shared_with_static_runtimes=no
8493
export_dynamic_flag_spec=
8494
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8495
hardcode_automatic=no
8497
hardcode_direct_absolute=no
8498
hardcode_libdir_flag_spec=
8499
hardcode_libdir_separator=
8501
hardcode_shlibpath_var=unsupported
8503
link_all_deplibs=unknown
8506
old_archive_from_new_cmds=
8507
old_archive_from_expsyms_cmds=
8508
thread_safe_flag_spec=
8509
whole_archive_flag_spec=
8510
# include_expsyms should be a list of space-separated symbols to be *always*
8511
# included in the symbol list
8513
# exclude_expsyms can be an extended regexp of symbols to exclude
8514
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8515
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8516
# as well as any symbol that contains `d'.
8517
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8518
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8519
# platforms (ab)use it in PIC code, but their linkers get confused if
8520
# the symbol is explicitly referenced. Since portable code cannot
8521
# rely on this symbol name, it's probably fine to never include it in
8522
# preloaded symbol tables.
8523
# Exclude shared library initialization/finalization symbols.
8524
extract_expsyms_cmds=
8527
cygwin* | mingw* | pw32* | cegcc*)
8528
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8529
# When not using gcc, we currently assume that we are using
8530
# Microsoft Visual C++.
8531
if test "$GCC" != yes; then
8536
# we just hope/assume this is gcc and not c89 (= MSVC++)
8542
linux* | k*bsd*-gnu | gnu*)
8549
# On some targets, GNU ld is compatible enough with the native linker
8550
# that we're better off using the native interface for both.
8551
lt_use_gnu_ld_interface=no
8552
if test "$with_gnu_ld" = yes; then
8555
# The AIX port of GNU ld has always aspired to compatibility
8556
# with the native linker. However, as the warning in the GNU ld
8557
# block says, versions before 2.19.5* couldn't really create working
8558
# shared libraries, regardless of the interface used.
8559
case `$LD -v 2>&1` in
8560
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8561
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8562
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8564
lt_use_gnu_ld_interface=yes
8569
lt_use_gnu_ld_interface=yes
8574
if test "$lt_use_gnu_ld_interface" = yes; then
8575
# If archive_cmds runs LD, not CC, wlarc should be empty
8578
# Set some defaults for GNU ld with shared library support. These
8579
# are reset later if shared libraries are not supported. Putting them
8580
# here allows them to be overridden if necessary.
8581
runpath_var=LD_RUN_PATH
8582
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8583
export_dynamic_flag_spec='${wl}--export-dynamic'
8584
# ancient GNU ld didn't support --whole-archive et. al.
8585
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8586
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8588
whole_archive_flag_spec=
8590
supports_anon_versioning=no
8591
case `$LD -v 2>&1` in
8592
*GNU\ gold*) supports_anon_versioning=yes ;;
8593
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8594
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8595
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8596
*\ 2.11.*) ;; # other 2.11 versions
8597
*) supports_anon_versioning=yes ;;
8600
# See if GNU ld supports shared libraries.
8603
# On AIX/PPC, the GNU linker is very broken
8604
if test "$host_cpu" != ia64; then
8608
*** Warning: the GNU linker, at least up to release 2.19, is reported
8609
*** to be unable to reliably create shared libraries on AIX.
8610
*** Therefore, libtool is disabling shared libraries support. If you
8611
*** really care for shared libraries, you may want to install binutils
8612
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8613
*** You will then need to restart the configuration process.
8622
# see comment about AmigaOS4 .so support
8623
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8624
archive_expsym_cmds=''
8627
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)'
8628
hardcode_libdir_flag_spec='-L$libdir'
8629
hardcode_minus_L=yes
8635
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8636
allow_undefined_flag=unsupported
8637
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8638
# support --undefined. This deserves some investigation. FIXME
8639
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8645
cygwin* | mingw* | pw32* | cegcc*)
8646
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8647
# as there is no search path for DLLs.
8648
hardcode_libdir_flag_spec='-L$libdir'
8649
export_dynamic_flag_spec='${wl}--export-all-symbols'
8650
allow_undefined_flag=unsupported
8651
always_export_symbols=no
8652
enable_shared_with_static_runtimes=yes
8653
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'
8654
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8656
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8657
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8658
# If the export-symbols file already is a .def file (1st line
8659
# is EXPORTS), use it as is; otherwise, prepend...
8660
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8661
cp $export_symbols $output_objdir/$soname.def;
8663
echo EXPORTS > $output_objdir/$soname.def;
8664
cat $export_symbols >> $output_objdir/$soname.def;
8666
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8673
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8674
link_all_deplibs=yes
8679
hardcode_shlibpath_var=no
8680
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8681
export_dynamic_flag_spec='${wl}-E'
8682
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8683
# Instead, shared libraries are loaded at an image base (0x10000000 by
8684
# default) and relocated if they conflict, which is a slow very memory
8685
# consuming and fragmenting process. To avoid this, we pick a random,
8686
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8687
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8688
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8689
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'
8692
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8694
if test "$host_os" = linux-dietlibc; then
8695
case $cc_basename in
8696
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8699
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8700
&& test "$tmp_diet" = no
8702
tmp_addflag=' $pic_flag'
8703
tmp_sharedflag='-shared'
8704
case $cc_basename,$host_cpu in
8705
pgcc*) # Portland Group C compiler
8706
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'
8707
tmp_addflag=' $pic_flag'
8709
pgf77* | pgf90* | pgf95* | pgfortran*)
8710
# Portland Group f77 and f90 compilers
8711
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'
8712
tmp_addflag=' $pic_flag -Mnomain' ;;
8713
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8714
tmp_addflag=' -i_dynamic' ;;
8715
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8716
tmp_addflag=' -i_dynamic -nofor_main' ;;
8717
ifc* | ifort*) # Intel Fortran compiler
8718
tmp_addflag=' -nofor_main' ;;
8719
lf95*) # Lahey Fortran 8.1
8720
whole_archive_flag_spec=
8721
tmp_sharedflag='--shared' ;;
8722
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8723
tmp_sharedflag='-qmkshrobj'
8725
nvcc*) # Cuda Compiler Driver 2.2
8726
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'
8727
compiler_needs_object=yes
8730
case `$CC -V 2>&1 | sed 5q` in
8731
*Sun\ C*) # Sun C 5.9
8732
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'
8733
compiler_needs_object=yes
8734
tmp_sharedflag='-G' ;;
8735
*Sun\ F*) # Sun Fortran 8.3
8736
tmp_sharedflag='-G' ;;
8738
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8740
if test "x$supports_anon_versioning" = xyes; then
8741
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8742
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8743
echo "local: *; };" >> $output_objdir/$libname.ver~
8744
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8747
case $cc_basename in
8748
xlf* | bgf* | bgxlf* | mpixlf*)
8749
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8750
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8751
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8752
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8753
if test "x$supports_anon_versioning" = xyes; then
8754
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8755
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8756
echo "local: *; };" >> $output_objdir/$libname.ver~
8757
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8766
netbsd* | netbsdelf*-gnu)
8767
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8768
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8771
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8772
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8777
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8781
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8782
*** create shared libraries on Solaris systems. Therefore, libtool
8783
*** is disabling shared libraries support. We urge you to upgrade GNU
8784
*** binutils to release 2.9.1 or newer. Another option is to modify
8785
*** your PATH or compiler configuration so that the native linker is
8786
*** used, and then restart.
8789
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8790
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8791
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8797
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8798
case `$LD -v 2>&1` in
8799
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8803
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8804
*** reliably create shared libraries on SCO systems. Therefore, libtool
8805
*** is disabling shared libraries support. We urge you to upgrade GNU
8806
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8807
*** your PATH or compiler configuration so that the native linker is
8808
*** used, and then restart.
8813
# For security reasons, it is highly recommended that you always
8814
# use absolute paths for naming shared libraries, and exclude the
8815
# DT_RUNPATH tag from executables and libraries. But doing so
8816
# requires that you compile everything twice, which is a pain.
8817
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8818
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8819
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8820
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8829
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8832
hardcode_shlibpath_var=no
8836
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8837
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8838
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8845
if test "$ld_shlibs" = no; then
8847
hardcode_libdir_flag_spec=
8848
export_dynamic_flag_spec=
8849
whole_archive_flag_spec=
8852
# PORTME fill in a description of your system's linker (not GNU ld)
8855
allow_undefined_flag=unsupported
8856
always_export_symbols=yes
8857
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'
8858
# Note: this linker hardcodes the directories in LIBPATH if there
8859
# are no directories specified by -L.
8860
hardcode_minus_L=yes
8861
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8862
# Neither direct hardcoding nor static linking is supported with a
8864
hardcode_direct=unsupported
8869
if test "$host_cpu" = ia64; then
8870
# On IA64, the linker does run time linking by default, so we don't
8871
# have to do anything special.
8872
aix_use_runtimelinking=no
8873
exp_sym_flag='-Bexport'
8876
# If we're using GNU nm, then we don't want the "-C" option.
8877
# -C means demangle to AIX nm, but means don't demangle with GNU nm
8878
# Also, AIX nm treats weak defined symbols like other global
8879
# defined symbols, whereas GNU nm marks them as "W".
8880
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8881
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'
8883
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'
8885
aix_use_runtimelinking=no
8887
# Test if we are trying to use run time linking or normal
8888
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8889
# need to do runtime linking.
8890
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8891
for ld_flag in $LDFLAGS; do
8892
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8893
aix_use_runtimelinking=yes
8900
exp_sym_flag='-bexport'
8901
no_entry_flag='-bnoentry'
8904
# When large executables or shared objects are built, AIX ld can
8905
# have problems creating the table of contents. If linking a library
8906
# or program results in "error TOC overflow" add -mminimal-toc to
8907
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8908
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8912
hardcode_direct_absolute=yes
8913
hardcode_libdir_separator=':'
8914
link_all_deplibs=yes
8915
file_list_spec='${wl}-f,'
8917
if test "$GCC" = yes; then
8918
case $host_os in aix4.[012]|aix4.[012].*)
8919
# We only want to do this on AIX 4.2 and lower, the check
8920
# below for broken collect2 doesn't work under 4.3+
8921
collect2name=`${CC} -print-prog-name=collect2`
8922
if test -f "$collect2name" &&
8923
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8925
# We have reworked collect2
8928
# We have old collect2
8929
hardcode_direct=unsupported
8930
# It fails to find uninstalled libraries when the uninstalled
8931
# path is not listed in the libpath. Setting hardcode_minus_L
8932
# to unsupported forces relinking
8933
hardcode_minus_L=yes
8934
hardcode_libdir_flag_spec='-L$libdir'
8935
hardcode_libdir_separator=
8939
shared_flag='-shared'
8940
if test "$aix_use_runtimelinking" = yes; then
8941
shared_flag="$shared_flag "'${wl}-G'
8946
if test "$host_cpu" = ia64; then
8947
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8948
# chokes on -Wl,-G. The following line is correct:
8951
if test "$aix_use_runtimelinking" = yes; then
8952
shared_flag='${wl}-G'
8954
shared_flag='${wl}-bM:SRE'
8959
export_dynamic_flag_spec='${wl}-bexpall'
8960
# It seems that -bexpall does not export symbols beginning with
8961
# underscore (_), so it is better to generate a list of symbols to export.
8962
always_export_symbols=yes
8963
if test "$aix_use_runtimelinking" = yes; then
8964
# Warning - without using the other runtime loading flags (-brtl),
8965
# -berok will link without error, but may produce a broken library.
8966
allow_undefined_flag='-berok'
8967
# Determine the default libpath from the value encoded in an
8969
if test "${lt_cv_aix_libpath+set}" = set; then
8970
aix_libpath=$lt_cv_aix_libpath
8972
if ${lt_cv_aix_libpath_+:} false; then :
8973
$as_echo_n "(cached) " >&6
8975
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8976
/* end confdefs.h. */
8986
if ac_fn_c_try_link "$LINENO"; then :
8988
lt_aix_libpath_sed='
8989
/Import File Strings/,/^$/ {
8991
s/^0 *\([^ ]*\) *$/\1/
8995
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8996
# Check for a 64-bit object if we didn't find anything.
8997
if test -z "$lt_cv_aix_libpath_"; then
8998
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9001
rm -f core conftest.err conftest.$ac_objext \
9002
conftest$ac_exeext conftest.$ac_ext
9003
if test -z "$lt_cv_aix_libpath_"; then
9004
lt_cv_aix_libpath_="/usr/lib:/lib"
9009
aix_libpath=$lt_cv_aix_libpath_
9012
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9013
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"
9015
if test "$host_cpu" = ia64; then
9016
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9017
allow_undefined_flag="-z nodefs"
9018
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"
9020
# Determine the default libpath from the value encoded in an
9022
if test "${lt_cv_aix_libpath+set}" = set; then
9023
aix_libpath=$lt_cv_aix_libpath
9025
if ${lt_cv_aix_libpath_+:} false; then :
9026
$as_echo_n "(cached) " >&6
9028
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9029
/* end confdefs.h. */
9039
if ac_fn_c_try_link "$LINENO"; then :
9041
lt_aix_libpath_sed='
9042
/Import File Strings/,/^$/ {
9044
s/^0 *\([^ ]*\) *$/\1/
9048
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9049
# Check for a 64-bit object if we didn't find anything.
9050
if test -z "$lt_cv_aix_libpath_"; then
9051
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9054
rm -f core conftest.err conftest.$ac_objext \
9055
conftest$ac_exeext conftest.$ac_ext
9056
if test -z "$lt_cv_aix_libpath_"; then
9057
lt_cv_aix_libpath_="/usr/lib:/lib"
9062
aix_libpath=$lt_cv_aix_libpath_
9065
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9066
# Warning - without using the other run time loading flags,
9067
# -berok will link without error, but may produce a broken library.
9068
no_undefined_flag=' ${wl}-bernotok'
9069
allow_undefined_flag=' ${wl}-berok'
9070
if test "$with_gnu_ld" = yes; then
9071
# We only use this code for GNU lds that support --whole-archive.
9072
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9074
# Exported symbols can be pulled into shared objects from archives
9075
whole_archive_flag_spec='$convenience'
9077
archive_cmds_need_lc=yes
9078
# This is similar to how AIX traditionally builds its shared libraries.
9079
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'
9087
# see comment about AmigaOS4 .so support
9088
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9089
archive_expsym_cmds=''
9092
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)'
9093
hardcode_libdir_flag_spec='-L$libdir'
9094
hardcode_minus_L=yes
9100
export_dynamic_flag_spec=-rdynamic
9103
cygwin* | mingw* | pw32* | cegcc*)
9104
# When not using gcc, we currently assume that we are using
9105
# Microsoft Visual C++.
9106
# hardcode_libdir_flag_spec is actually meaningless, as there is
9107
# no search path for DLLs.
9108
case $cc_basename in
9111
hardcode_libdir_flag_spec=' '
9112
allow_undefined_flag=unsupported
9113
always_export_symbols=yes
9115
# Tell ltmain to make .lib files, not .a files.
9117
# Tell ltmain to make .dll files, not .so files.
9119
# FIXME: Setting linknames here is a bad hack.
9120
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9121
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9122
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9124
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9126
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9128
# The linker will not automatically build a static lib if we build a DLL.
9129
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9130
enable_shared_with_static_runtimes=yes
9131
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9132
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9134
old_postinstall_cmds='chmod 644 $oldlib'
9135
postlink_cmds='lt_outputfile="@OUTPUT@"~
9136
lt_tool_outputfile="@TOOL_OUTPUT@"~
9137
case $lt_outputfile in
9140
lt_outputfile="$lt_outputfile.exe"
9141
lt_tool_outputfile="$lt_tool_outputfile.exe"
9144
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9145
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9146
$RM "$lt_outputfile.manifest";
9150
# Assume MSVC wrapper
9151
hardcode_libdir_flag_spec=' '
9152
allow_undefined_flag=unsupported
9153
# Tell ltmain to make .lib files, not .a files.
9155
# Tell ltmain to make .dll files, not .so files.
9157
# FIXME: Setting linknames here is a bad hack.
9158
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9159
# The linker will automatically build a .lib file if we build a DLL.
9160
old_archive_from_new_cmds='true'
9161
# FIXME: Should let the user specify the lib program.
9162
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9163
enable_shared_with_static_runtimes=yes
9168
darwin* | rhapsody*)
9171
archive_cmds_need_lc=no
9173
hardcode_automatic=yes
9174
hardcode_shlibpath_var=unsupported
9175
if test "$lt_cv_ld_force_load" = "yes"; then
9176
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\"`'
9179
whole_archive_flag_spec=''
9181
link_all_deplibs=yes
9182
allow_undefined_flag="$_lt_dar_allow_undefined"
9183
case $cc_basename in
9184
ifort*) _lt_dar_can_shared=yes ;;
9185
*) _lt_dar_can_shared=$GCC ;;
9187
if test "$_lt_dar_can_shared" = "yes"; then
9188
output_verbose_link_cmd=func_echo_all
9189
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9190
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9191
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}"
9192
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}"
9201
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9202
hardcode_libdir_flag_spec='-L$libdir'
9203
hardcode_shlibpath_var=no
9206
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9207
# support. Future versions do this automatically, but an explicit c++rt0.o
9208
# does not break anything, and helps significantly (at the cost of a little
9211
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9212
hardcode_libdir_flag_spec='-R$libdir'
9214
hardcode_shlibpath_var=no
9217
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9219
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9221
hardcode_minus_L=yes
9222
hardcode_shlibpath_var=no
9225
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9226
freebsd* | dragonfly*)
9227
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9228
hardcode_libdir_flag_spec='-R$libdir'
9230
hardcode_shlibpath_var=no
9234
if test "$GCC" = yes; then
9235
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'
9237
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'
9239
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9240
hardcode_libdir_separator=:
9243
# hardcode_minus_L: Not really in the search PATH,
9244
# but as the default location of the library.
9245
hardcode_minus_L=yes
9246
export_dynamic_flag_spec='${wl}-E'
9250
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9251
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9253
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9255
if test "$with_gnu_ld" = no; then
9256
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9257
hardcode_libdir_separator=:
9259
hardcode_direct_absolute=yes
9260
export_dynamic_flag_spec='${wl}-E'
9261
# hardcode_minus_L: Not really in the search PATH,
9262
# but as the default location of the library.
9263
hardcode_minus_L=yes
9268
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9271
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9274
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9277
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9283
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9286
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9290
# Older versions of the 11.00 compiler do not understand -b yet
9291
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9292
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9293
$as_echo_n "checking if $CC understands -b... " >&6; }
9294
if ${lt_cv_prog_compiler__b+:} false; then :
9295
$as_echo_n "(cached) " >&6
9297
lt_cv_prog_compiler__b=no
9298
save_LDFLAGS="$LDFLAGS"
9299
LDFLAGS="$LDFLAGS -b"
9300
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9301
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9302
# The linker can only warn and ignore the option if not recognized
9303
# So say no if there are warnings
9304
if test -s conftest.err; then
9305
# Append any errors to the config.log.
9306
cat conftest.err 1>&5
9307
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9308
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9309
if diff conftest.exp conftest.er2 >/dev/null; then
9310
lt_cv_prog_compiler__b=yes
9313
lt_cv_prog_compiler__b=yes
9317
LDFLAGS="$save_LDFLAGS"
9320
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9321
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9323
if test x"$lt_cv_prog_compiler__b" = xyes; then
9324
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9326
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9332
if test "$with_gnu_ld" = no; then
9333
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9334
hardcode_libdir_separator=:
9339
hardcode_shlibpath_var=no
9343
hardcode_direct_absolute=yes
9344
export_dynamic_flag_spec='${wl}-E'
9346
# hardcode_minus_L: Not really in the search PATH,
9347
# but as the default location of the library.
9348
hardcode_minus_L=yes
9354
irix5* | irix6* | nonstopux*)
9355
if test "$GCC" = yes; then
9356
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'
9357
# Try to use the -exported_symbol ld option, if it does not
9358
# work, assume that -exports_file does not work either and
9359
# implicitly export all symbols.
9360
# This should be the same for all languages, so no per-tag cache variable.
9361
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9362
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9363
if ${lt_cv_irix_exported_symbol+:} false; then :
9364
$as_echo_n "(cached) " >&6
9366
save_LDFLAGS="$LDFLAGS"
9367
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9368
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9369
/* end confdefs.h. */
9370
int foo (void) { return 0; }
9372
if ac_fn_c_try_link "$LINENO"; then :
9373
lt_cv_irix_exported_symbol=yes
9375
lt_cv_irix_exported_symbol=no
9377
rm -f core conftest.err conftest.$ac_objext \
9378
conftest$ac_exeext conftest.$ac_ext
9379
LDFLAGS="$save_LDFLAGS"
9381
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9382
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9383
if test "$lt_cv_irix_exported_symbol" = yes; then
9384
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'
9387
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'
9388
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'
9390
archive_cmds_need_lc='no'
9391
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9392
hardcode_libdir_separator=:
9394
link_all_deplibs=yes
9397
netbsd* | netbsdelf*-gnu)
9398
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9399
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9401
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9403
hardcode_libdir_flag_spec='-R$libdir'
9405
hardcode_shlibpath_var=no
9409
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9411
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9412
hardcode_libdir_separator=:
9413
hardcode_shlibpath_var=no
9420
if test -f /usr/libexec/ld.so; then
9422
hardcode_shlibpath_var=no
9423
hardcode_direct_absolute=yes
9424
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9425
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9426
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9427
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9428
export_dynamic_flag_spec='${wl}-E'
9431
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9432
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9433
hardcode_libdir_flag_spec='-R$libdir'
9436
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9437
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9447
hardcode_libdir_flag_spec='-L$libdir'
9448
hardcode_minus_L=yes
9449
allow_undefined_flag=unsupported
9450
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'
9451
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9455
if test "$GCC" = yes; then
9456
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9457
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'
9459
allow_undefined_flag=' -expect_unresolved \*'
9460
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'
9462
archive_cmds_need_lc='no'
9463
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9464
hardcode_libdir_separator=:
9467
osf4* | osf5*) # as osf3* with the addition of -msym flag
9468
if test "$GCC" = yes; then
9469
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9470
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'
9471
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9473
allow_undefined_flag=' -expect_unresolved \*'
9474
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'
9475
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~
9476
$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'
9478
# Both c and cxx compiler support -rpath directly
9479
hardcode_libdir_flag_spec='-rpath $libdir'
9481
archive_cmds_need_lc='no'
9482
hardcode_libdir_separator=:
9486
no_undefined_flag=' -z defs'
9487
if test "$GCC" = yes; then
9489
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9490
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9491
$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'
9493
case `$CC -V 2>&1` in
9496
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9497
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9498
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9502
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9503
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9504
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9508
hardcode_libdir_flag_spec='-R$libdir'
9509
hardcode_shlibpath_var=no
9511
solaris2.[0-5] | solaris2.[0-5].*) ;;
9513
# The compiler driver will combine and reorder linker options,
9514
# but understands `-z linker_flag'. GCC discards it without `$wl',
9515
# but is careful enough not to reorder.
9516
# Supported since Solaris 2.6 (maybe 2.5.1?)
9517
if test "$GCC" = yes; then
9518
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9520
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9524
link_all_deplibs=yes
9528
if test "x$host_vendor" = xsequent; then
9529
# Use $CC to link under sequent, because it throws in some extra .o
9530
# files that make .init and .fini sections work.
9531
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9533
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9535
hardcode_libdir_flag_spec='-L$libdir'
9537
hardcode_minus_L=yes
9538
hardcode_shlibpath_var=no
9542
case $host_vendor in
9544
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9545
hardcode_direct=yes # is this really true???
9548
## LD is ld it makes a PLAMLIB
9549
## CC just makes a GrossModule.
9550
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9551
reload_cmds='$CC -r -o $output$reload_objs'
9555
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9556
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9559
runpath_var='LD_RUN_PATH'
9560
hardcode_shlibpath_var=no
9564
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9565
hardcode_shlibpath_var=no
9566
export_dynamic_flag_spec='-Bexport'
9570
if test -d /usr/nec; then
9571
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9572
hardcode_shlibpath_var=no
9573
runpath_var=LD_RUN_PATH
9574
hardcode_runpath_var=yes
9579
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9580
no_undefined_flag='${wl}-z,text'
9581
archive_cmds_need_lc=no
9582
hardcode_shlibpath_var=no
9583
runpath_var='LD_RUN_PATH'
9585
if test "$GCC" = yes; then
9586
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9587
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9589
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9590
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9594
sysv5* | sco3.2v5* | sco5v6*)
9595
# Note: We can NOT use -z defs as we might desire, because we do not
9596
# link with -lc, and that would cause any symbols used from libc to
9597
# always be unresolved, which means just about no library would
9598
# ever link correctly. If we're not using GNU ld we use -z text
9599
# though, which does catch some bad symbols but isn't as heavy-handed
9601
no_undefined_flag='${wl}-z,text'
9602
allow_undefined_flag='${wl}-z,nodefs'
9603
archive_cmds_need_lc=no
9604
hardcode_shlibpath_var=no
9605
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9606
hardcode_libdir_separator=':'
9607
link_all_deplibs=yes
9608
export_dynamic_flag_spec='${wl}-Bexport'
9609
runpath_var='LD_RUN_PATH'
9611
if test "$GCC" = yes; then
9612
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9613
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9615
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9616
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9621
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9622
hardcode_libdir_flag_spec='-L$libdir'
9623
hardcode_shlibpath_var=no
9631
if test x$host_vendor = xsni; then
9633
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9634
export_dynamic_flag_spec='${wl}-Blargedynsym'
9640
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9641
$as_echo "$ld_shlibs" >&6; }
9642
test "$ld_shlibs" = no && can_build_shared=no
9644
with_gnu_ld=$with_gnu_ld
9661
# Do we need to explicitly link libc?
9663
case "x$archive_cmds_need_lc" in
9665
# Assume -lc should be added
9666
archive_cmds_need_lc=yes
9668
if test "$enable_shared" = yes && test "$GCC" = yes; then
9669
case $archive_cmds in
9671
# FIXME: we may have to deal with multi-command sequences.
9674
# Test whether the compiler implicitly links with -lc since on some
9675
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9676
# to ld, don't add -lc before -lgcc.
9677
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9678
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9679
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9680
$as_echo_n "(cached) " >&6
9683
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9685
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9686
(eval $ac_compile) 2>&5
9688
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9689
test $ac_status = 0; } 2>conftest.err; then
9692
libobjs=conftest.$ac_objext
9694
wl=$lt_prog_compiler_wl
9695
pic_flag=$lt_prog_compiler_pic
9701
lt_save_allow_undefined_flag=$allow_undefined_flag
9702
allow_undefined_flag=
9703
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9704
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9706
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9707
test $ac_status = 0; }
9709
lt_cv_archive_cmds_need_lc=no
9711
lt_cv_archive_cmds_need_lc=yes
9713
allow_undefined_flag=$lt_save_allow_undefined_flag
9715
cat conftest.err 1>&5
9720
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9721
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9722
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9880
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9881
$as_echo_n "checking dynamic linker characteristics... " >&6; }
9883
if test "$GCC" = yes; then
9885
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9886
*) lt_awk_arg="/^libraries:/" ;;
9889
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9890
*) lt_sed_strip_eq="s,=/,/,g" ;;
9892
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9893
case $lt_search_path_spec in
9895
# if the path contains ";" then we assume it to be the separator
9896
# otherwise default to the standard path separator (i.e. ":") - it is
9897
# assumed that no part of a normal pathname contains ";" but that should
9898
# okay in the real world where ";" in dirpaths is itself problematic.
9899
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9902
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9905
# Ok, now we have the path, separated by spaces, we can step through it
9906
# and add multilib dir if necessary.
9907
lt_tmp_lt_search_path_spec=
9908
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9909
for lt_sys_path in $lt_search_path_spec; do
9910
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9911
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9913
test -d "$lt_sys_path" && \
9914
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9917
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9918
BEGIN {RS=" "; FS="/|\n";} {
9921
for (lt_i = NF; lt_i > 0; lt_i--) {
9922
if ($lt_i != "" && $lt_i != ".") {
9923
if ($lt_i == "..") {
9926
if (lt_count == 0) {
9927
lt_foo="/" $lt_i lt_foo;
9934
if (lt_foo != "") { lt_freq[lt_foo]++; }
9935
if (lt_freq[lt_foo] == 1) { print lt_foo; }
9937
# AWK program above erroneously prepends '/' to C:/dos/paths
9940
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9941
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
9943
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9945
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9948
libname_spec='lib$name'
9956
shlibpath_overrides_runpath=unknown
9958
dynamic_linker="$host_os ld.so"
9959
sys_lib_dlsearch_path_spec="/lib /usr/lib"
9960
need_lib_prefix=unknown
9961
hardcode_into_libs=no
9963
# when you set need_version to no, make sure it does not cause -set_version
9964
# flags to be left without arguments
9965
need_version=unknown
9969
version_type=linux # correct to gnu/linux during the next big refactor
9970
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9971
shlibpath_var=LIBPATH
9973
# AIX 3 has no versioning support, so we append a major version to the name.
9974
soname_spec='${libname}${release}${shared_ext}$major'
9978
version_type=linux # correct to gnu/linux during the next big refactor
9981
hardcode_into_libs=yes
9982
if test "$host_cpu" = ia64; then
9983
# AIX 5 supports IA64
9984
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9985
shlibpath_var=LD_LIBRARY_PATH
9987
# With GCC up to 2.95.x, collect2 would create an import file
9988
# for dependence libraries. The import file would start with
9989
# the line `#! .'. This would cause the generated library to
9990
# depend on `.', always an invalid library. This was fixed in
9991
# development snapshots of GCC prior to 3.0.
9993
aix4 | aix4.[01] | aix4.[01].*)
9994
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9996
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10003
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10004
# soname into executable. Probably we can add versioning support to
10005
# collect2, so additional links can be useful in future.
10006
if test "$aix_use_runtimelinking" = yes; then
10007
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10008
# instead of lib<name>.a to let people know that these are not
10009
# typical AIX shared libraries.
10010
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10012
# We preserve .a as extension for shared libraries through AIX4.2
10013
# and later when we are not doing run time linking.
10014
library_names_spec='${libname}${release}.a $libname.a'
10015
soname_spec='${libname}${release}${shared_ext}$major'
10017
shlibpath_var=LIBPATH
10024
# Since July 2007 AmigaOS4 officially supports .so libraries.
10025
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10026
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10029
library_names_spec='$libname.ixlibrary $libname.a'
10030
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10031
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'
10037
library_names_spec='${libname}${shared_ext}'
10038
dynamic_linker="$host_os ld.so"
10039
shlibpath_var=LIBRARY_PATH
10043
version_type=linux # correct to gnu/linux during the next big refactor
10045
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046
soname_spec='${libname}${release}${shared_ext}$major'
10047
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10048
shlibpath_var=LD_LIBRARY_PATH
10049
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10050
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10051
# the default ld.so.conf also contains /usr/contrib/lib and
10052
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10053
# libtool to hard-code these into programs
10056
cygwin* | mingw* | pw32* | cegcc*)
10057
version_type=windows
10062
case $GCC,$cc_basename in
10065
library_names_spec='$libname.dll.a'
10066
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10067
postinstall_cmds='base_file=`basename \${file}`~
10068
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10069
dldir=$destdir/`dirname \$dlpath`~
10070
test -d \$dldir || mkdir -p \$dldir~
10071
$install_prog $dir/$dlname \$dldir/$dlname~
10072
chmod a+x \$dldir/$dlname~
10073
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10074
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10076
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10077
dlpath=$dir/\$dldll~
10079
shlibpath_overrides_runpath=yes
10083
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10084
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10086
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10089
# MinGW DLLs use traditional 'lib' prefix
10090
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10093
# pw32 DLLs use 'pw' prefix rather than 'lib'
10094
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10097
dynamic_linker='Win32 ld.exe'
10102
libname_spec='$name'
10103
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10104
library_names_spec='${libname}.dll.lib'
10108
sys_lib_search_path_spec=
10111
for lt_path in $LIB
10114
# Let DOS variable expansion print the short 8.3 style file name.
10115
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10116
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10119
# Convert to MSYS style.
10120
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10123
# Convert to unix form, then to dos form, then back to unix form
10124
# but this time dos style (no spaces!) so that the unix form looks
10125
# like /cygdrive/c/PROGRA~1:/cygdr...
10126
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10127
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10128
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10131
sys_lib_search_path_spec="$LIB"
10132
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10133
# It is most probably a Windows format PATH.
10134
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10136
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10138
# FIXME: find the short name or the path components, as spaces are
10139
# common. (e.g. "Program Files" -> "PROGRA~1")
10143
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10144
postinstall_cmds='base_file=`basename \${file}`~
10145
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10146
dldir=$destdir/`dirname \$dlpath`~
10147
test -d \$dldir || mkdir -p \$dldir~
10148
$install_prog $dir/$dlname \$dldir/$dlname'
10149
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10150
dlpath=$dir/\$dldll~
10152
shlibpath_overrides_runpath=yes
10153
dynamic_linker='Win32 link.exe'
10157
# Assume MSVC wrapper
10158
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10159
dynamic_linker='Win32 ld.exe'
10162
# FIXME: first we should search . and the directory the executable is in
10166
darwin* | rhapsody*)
10167
dynamic_linker="$host_os dyld"
10168
version_type=darwin
10171
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10172
soname_spec='${libname}${release}${major}$shared_ext'
10173
shlibpath_overrides_runpath=yes
10174
shlibpath_var=DYLD_LIBRARY_PATH
10175
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10177
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10178
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10182
version_type=linux # correct to gnu/linux during the next big refactor
10185
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10186
soname_spec='${libname}${release}${shared_ext}$major'
10187
shlibpath_var=LD_LIBRARY_PATH
10190
freebsd* | dragonfly*)
10191
# DragonFly does not have aout. When/if they implement a new
10192
# versioning mechanism, adjust this.
10193
if test -x /usr/bin/objformat; then
10194
objformat=`/usr/bin/objformat`
10197
freebsd[23].*) objformat=aout ;;
10198
*) objformat=elf ;;
10201
version_type=freebsd-$objformat
10202
case $version_type in
10204
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10209
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10213
shlibpath_var=LD_LIBRARY_PATH
10216
shlibpath_overrides_runpath=yes
10218
freebsd3.[01]* | freebsdelf3.[01]*)
10219
shlibpath_overrides_runpath=yes
10220
hardcode_into_libs=yes
10222
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10223
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10224
shlibpath_overrides_runpath=no
10225
hardcode_into_libs=yes
10227
*) # from 4.6 on, and DragonFly
10228
shlibpath_overrides_runpath=yes
10229
hardcode_into_libs=yes
10235
version_type=linux # correct to gnu/linux during the next big refactor
10238
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10239
soname_spec='${libname}${release}${shared_ext}$major'
10240
shlibpath_var=LD_LIBRARY_PATH
10241
shlibpath_overrides_runpath=no
10242
hardcode_into_libs=yes
10246
version_type=linux # correct to gnu/linux during the next big refactor
10249
dynamic_linker="$host_os runtime_loader"
10250
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10251
soname_spec='${libname}${release}${shared_ext}$major'
10252
shlibpath_var=LIBRARY_PATH
10253
shlibpath_overrides_runpath=yes
10254
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10255
hardcode_into_libs=yes
10258
hpux9* | hpux10* | hpux11*)
10259
# Give a soname corresponding to the major version so that dld.sl refuses to
10260
# link against other versions.
10267
hardcode_into_libs=yes
10268
dynamic_linker="$host_os dld.so"
10269
shlibpath_var=LD_LIBRARY_PATH
10270
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10271
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10272
soname_spec='${libname}${release}${shared_ext}$major'
10273
if test "X$HPUX_IA64_MODE" = X32; then
10274
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10276
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10278
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10282
hardcode_into_libs=yes
10283
dynamic_linker="$host_os dld.sl"
10284
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10285
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10286
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10287
soname_spec='${libname}${release}${shared_ext}$major'
10288
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10289
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10293
dynamic_linker="$host_os dld.sl"
10294
shlibpath_var=SHLIB_PATH
10295
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10297
soname_spec='${libname}${release}${shared_ext}$major'
10300
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10301
postinstall_cmds='chmod 555 $lib'
10302
# or fails outright, so override atomically:
10303
install_override_mode=555
10307
version_type=linux # correct to gnu/linux during the next big refactor
10310
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10311
soname_spec='${libname}${release}${shared_ext}$major'
10312
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10313
shlibpath_var=LD_LIBRARY_PATH
10314
shlibpath_overrides_runpath=no
10315
hardcode_into_libs=yes
10318
irix5* | irix6* | nonstopux*)
10320
nonstopux*) version_type=nonstopux ;;
10322
if test "$lt_cv_prog_gnu_ld" = yes; then
10323
version_type=linux # correct to gnu/linux during the next big refactor
10330
soname_spec='${libname}${release}${shared_ext}$major'
10331
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10333
irix5* | nonstopux*)
10334
libsuff= shlibsuff=
10337
case $LD in # libtool.m4 will add one of these switches to LD
10338
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10339
libsuff= shlibsuff= libmagic=32-bit;;
10340
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10341
libsuff=32 shlibsuff=N32 libmagic=N32;;
10342
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10343
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10344
*) libsuff= shlibsuff= libmagic=never-match;;
10348
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10349
shlibpath_overrides_runpath=no
10350
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10351
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10352
hardcode_into_libs=yes
10355
# No shared lib support for Linux oldld, aout, or coff.
10356
linux*oldld* | linux*aout* | linux*coff*)
10360
# This must be glibc/ELF.
10361
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10362
version_type=linux # correct to gnu/linux during the next big refactor
10365
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10366
soname_spec='${libname}${release}${shared_ext}$major'
10367
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10368
shlibpath_var=LD_LIBRARY_PATH
10369
shlibpath_overrides_runpath=no
10371
# Some binutils ld are patched to set DT_RUNPATH
10372
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10373
$as_echo_n "(cached) " >&6
10375
lt_cv_shlibpath_overrides_runpath=no
10376
save_LDFLAGS=$LDFLAGS
10377
save_libdir=$libdir
10378
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10379
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10380
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10381
/* end confdefs.h. */
10391
if ac_fn_c_try_link "$LINENO"; then :
10392
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10393
lt_cv_shlibpath_overrides_runpath=yes
10396
rm -f core conftest.err conftest.$ac_objext \
10397
conftest$ac_exeext conftest.$ac_ext
10398
LDFLAGS=$save_LDFLAGS
10399
libdir=$save_libdir
10403
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10405
# This implies no fast_install, which is unacceptable.
10406
# Some rework will be needed to allow for fast_install
10407
# before this can be enabled.
10408
hardcode_into_libs=yes
10410
# Append ld.so.conf contents to the search path
10411
if test -f /etc/ld.so.conf; then
10412
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' ' '`
10413
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10416
# We used to test for /lib/ld.so.1 and disable shared libraries on
10417
# powerpc, because MkLinux only supported shared libraries with the
10418
# GNU dynamic linker. Since this was broken with cross compilers,
10419
# most powerpc-linux boxes support dynamic linking these days and
10420
# people can always --disable-shared, the test was removed, and we
10421
# assume the GNU/Linux dynamic linker is in use.
10422
dynamic_linker='GNU/Linux ld.so'
10429
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10430
soname_spec='${libname}${release}${shared_ext}$major'
10431
shlibpath_var=LD_LIBRARY_PATH
10432
shlibpath_overrides_runpath=no
10433
hardcode_into_libs=yes
10434
dynamic_linker='NetBSD ld.elf_so'
10441
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10442
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10443
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10444
dynamic_linker='NetBSD (a.out) ld.so'
10446
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10447
soname_spec='${libname}${release}${shared_ext}$major'
10448
dynamic_linker='NetBSD ld.elf_so'
10450
shlibpath_var=LD_LIBRARY_PATH
10451
shlibpath_overrides_runpath=yes
10452
hardcode_into_libs=yes
10456
version_type=linux # correct to gnu/linux during the next big refactor
10457
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10458
shlibpath_var=LD_LIBRARY_PATH
10459
shlibpath_overrides_runpath=yes
10466
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10467
soname_spec='${libname}${release}${shared_ext}$major'
10468
shlibpath_var=LD_LIBRARY_PATH
10469
shlibpath_overrides_runpath=no
10470
hardcode_into_libs=yes
10471
dynamic_linker='ldqnx.so'
10476
sys_lib_dlsearch_path_spec="/usr/lib"
10478
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10480
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10481
*) need_version=no ;;
10483
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10484
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10485
shlibpath_var=LD_LIBRARY_PATH
10486
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10488
openbsd2.[89] | openbsd2.[89].*)
10489
shlibpath_overrides_runpath=no
10492
shlibpath_overrides_runpath=yes
10496
shlibpath_overrides_runpath=yes
10501
libname_spec='$name'
10504
library_names_spec='$libname${shared_ext} $libname.a'
10505
dynamic_linker='OS/2 ld.exe'
10506
shlibpath_var=LIBPATH
10509
osf3* | osf4* | osf5*)
10513
soname_spec='${libname}${release}${shared_ext}$major'
10514
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10515
shlibpath_var=LD_LIBRARY_PATH
10516
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10517
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10525
version_type=linux # correct to gnu/linux during the next big refactor
10528
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529
soname_spec='${libname}${release}${shared_ext}$major'
10530
shlibpath_var=LD_LIBRARY_PATH
10531
shlibpath_overrides_runpath=yes
10532
hardcode_into_libs=yes
10533
# ldd complains unless libraries are executable
10534
postinstall_cmds='chmod +x $lib'
10539
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10540
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10541
shlibpath_var=LD_LIBRARY_PATH
10542
shlibpath_overrides_runpath=yes
10543
if test "$with_gnu_ld" = yes; then
10550
version_type=linux # correct to gnu/linux during the next big refactor
10551
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10552
soname_spec='${libname}${release}${shared_ext}$major'
10553
shlibpath_var=LD_LIBRARY_PATH
10554
case $host_vendor in
10556
shlibpath_overrides_runpath=no
10558
runpath_var=LD_RUN_PATH
10566
shlibpath_overrides_runpath=no
10567
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10573
if test -d /usr/nec ;then
10574
version_type=linux # correct to gnu/linux during the next big refactor
10575
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10576
soname_spec='$libname${shared_ext}.$major'
10577
shlibpath_var=LD_LIBRARY_PATH
10581
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10582
version_type=freebsd-elf
10585
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10586
soname_spec='${libname}${release}${shared_ext}$major'
10587
shlibpath_var=LD_LIBRARY_PATH
10588
shlibpath_overrides_runpath=yes
10589
hardcode_into_libs=yes
10590
if test "$with_gnu_ld" = yes; then
10591
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10593
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10596
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10600
sys_lib_dlsearch_path_spec='/usr/lib'
10604
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10605
version_type=linux # correct to gnu/linux during the next big refactor
10608
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10609
shlibpath_var=LD_LIBRARY_PATH
10610
shlibpath_overrides_runpath=no
10611
hardcode_into_libs=yes
10615
version_type=linux # correct to gnu/linux during the next big refactor
10616
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617
soname_spec='${libname}${release}${shared_ext}$major'
10618
shlibpath_var=LD_LIBRARY_PATH
10625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10626
$as_echo "$dynamic_linker" >&6; }
10627
test "$dynamic_linker" = no && can_build_shared=no
10629
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10630
if test "$GCC" = yes; then
10631
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10634
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10635
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10637
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10638
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10733
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10735
if test -n "$hardcode_libdir_flag_spec" ||
10736
test -n "$runpath_var" ||
10737
test "X$hardcode_automatic" = "Xyes" ; then
10739
# We can hardcode non-existent directories.
10740
if test "$hardcode_direct" != no &&
10741
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10742
# have to relink, otherwise we might link with an installed library
10743
# when we should be linking with a yet-to-be-installed one
10744
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10745
test "$hardcode_minus_L" != no; then
10746
# Linking always hardcodes the temporary library directory.
10747
hardcode_action=relink
10749
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10750
hardcode_action=immediate
10753
# We cannot hardcode anything, or else we can only hardcode existing
10755
hardcode_action=unsupported
10757
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10758
$as_echo "$hardcode_action" >&6; }
10760
if test "$hardcode_action" = relink ||
10761
test "$inherit_rpath" = yes; then
10762
# Fast installation is not supported
10763
enable_fast_install=no
10764
elif test "$shlibpath_overrides_runpath" = yes ||
10765
test "$enable_shared" = no; then
10766
# Fast installation is not necessary
10767
enable_fast_install=needless
10775
if test "x$enable_dlopen" != xyes; then
10776
enable_dlopen=unknown
10777
enable_dlopen_self=unknown
10778
enable_dlopen_self_static=unknown
10785
lt_cv_dlopen="load_add_on"
10787
lt_cv_dlopen_self=yes
10790
mingw* | pw32* | cegcc*)
10791
lt_cv_dlopen="LoadLibrary"
10796
lt_cv_dlopen="dlopen"
10801
# if libdl is installed we need to link against it
10802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10803
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10804
if ${ac_cv_lib_dl_dlopen+:} false; then :
10805
$as_echo_n "(cached) " >&6
10807
ac_check_lib_save_LIBS=$LIBS
10809
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10810
/* end confdefs.h. */
10812
/* Override any GCC internal prototype to avoid an error.
10813
Use char because int might match the return type of a GCC
10814
builtin and then its argument prototype would still apply. */
10827
if ac_fn_c_try_link "$LINENO"; then :
10828
ac_cv_lib_dl_dlopen=yes
10830
ac_cv_lib_dl_dlopen=no
10832
rm -f core conftest.err conftest.$ac_objext \
10833
conftest$ac_exeext conftest.$ac_ext
10834
LIBS=$ac_check_lib_save_LIBS
10836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10837
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10838
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10839
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10842
lt_cv_dlopen="dyld"
10844
lt_cv_dlopen_self=yes
10851
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10852
if test "x$ac_cv_func_shl_load" = xyes; then :
10853
lt_cv_dlopen="shl_load"
10855
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10856
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10857
if ${ac_cv_lib_dld_shl_load+:} false; then :
10858
$as_echo_n "(cached) " >&6
10860
ac_check_lib_save_LIBS=$LIBS
10862
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863
/* end confdefs.h. */
10865
/* Override any GCC internal prototype to avoid an error.
10866
Use char because int might match the return type of a GCC
10867
builtin and then its argument prototype would still apply. */
10875
return shl_load ();
10880
if ac_fn_c_try_link "$LINENO"; then :
10881
ac_cv_lib_dld_shl_load=yes
10883
ac_cv_lib_dld_shl_load=no
10885
rm -f core conftest.err conftest.$ac_objext \
10886
conftest$ac_exeext conftest.$ac_ext
10887
LIBS=$ac_check_lib_save_LIBS
10889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10890
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10891
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10892
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10894
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10895
if test "x$ac_cv_func_dlopen" = xyes; then :
10896
lt_cv_dlopen="dlopen"
10898
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10899
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10900
if ${ac_cv_lib_dl_dlopen+:} false; then :
10901
$as_echo_n "(cached) " >&6
10903
ac_check_lib_save_LIBS=$LIBS
10905
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10906
/* end confdefs.h. */
10908
/* Override any GCC internal prototype to avoid an error.
10909
Use char because int might match the return type of a GCC
10910
builtin and then its argument prototype would still apply. */
10923
if ac_fn_c_try_link "$LINENO"; then :
10924
ac_cv_lib_dl_dlopen=yes
10926
ac_cv_lib_dl_dlopen=no
10928
rm -f core conftest.err conftest.$ac_objext \
10929
conftest$ac_exeext conftest.$ac_ext
10930
LIBS=$ac_check_lib_save_LIBS
10932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10933
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10934
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10935
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10937
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10938
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10939
if ${ac_cv_lib_svld_dlopen+:} false; then :
10940
$as_echo_n "(cached) " >&6
10942
ac_check_lib_save_LIBS=$LIBS
10943
LIBS="-lsvld $LIBS"
10944
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10945
/* end confdefs.h. */
10947
/* Override any GCC internal prototype to avoid an error.
10948
Use char because int might match the return type of a GCC
10949
builtin and then its argument prototype would still apply. */
10962
if ac_fn_c_try_link "$LINENO"; then :
10963
ac_cv_lib_svld_dlopen=yes
10965
ac_cv_lib_svld_dlopen=no
10967
rm -f core conftest.err conftest.$ac_objext \
10968
conftest$ac_exeext conftest.$ac_ext
10969
LIBS=$ac_check_lib_save_LIBS
10971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10972
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10973
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10974
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10976
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10977
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10978
if ${ac_cv_lib_dld_dld_link+:} false; then :
10979
$as_echo_n "(cached) " >&6
10981
ac_check_lib_save_LIBS=$LIBS
10983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10984
/* end confdefs.h. */
10986
/* Override any GCC internal prototype to avoid an error.
10987
Use char because int might match the return type of a GCC
10988
builtin and then its argument prototype would still apply. */
10996
return dld_link ();
11001
if ac_fn_c_try_link "$LINENO"; then :
11002
ac_cv_lib_dld_dld_link=yes
11004
ac_cv_lib_dld_dld_link=no
11006
rm -f core conftest.err conftest.$ac_objext \
11007
conftest$ac_exeext conftest.$ac_ext
11008
LIBS=$ac_check_lib_save_LIBS
11010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11011
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11012
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11013
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11034
if test "x$lt_cv_dlopen" != xno; then
11040
case $lt_cv_dlopen in
11042
save_CPPFLAGS="$CPPFLAGS"
11043
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11045
save_LDFLAGS="$LDFLAGS"
11046
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11049
LIBS="$lt_cv_dlopen_libs $LIBS"
11051
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11052
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11053
if ${lt_cv_dlopen_self+:} false; then :
11054
$as_echo_n "(cached) " >&6
11056
if test "$cross_compiling" = yes; then :
11057
lt_cv_dlopen_self=cross
11059
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11060
lt_status=$lt_dlunknown
11061
cat > conftest.$ac_ext <<_LT_EOF
11062
#line $LINENO "configure"
11063
#include "confdefs.h"
11072
# define LT_DLGLOBAL RTLD_GLOBAL
11075
# define LT_DLGLOBAL DL_GLOBAL
11077
# define LT_DLGLOBAL 0
11081
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11082
find out it does not work in some platform. */
11083
#ifndef LT_DLLAZY_OR_NOW
11085
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11088
# define LT_DLLAZY_OR_NOW DL_LAZY
11091
# define LT_DLLAZY_OR_NOW RTLD_NOW
11094
# define LT_DLLAZY_OR_NOW DL_NOW
11096
# define LT_DLLAZY_OR_NOW 0
11103
/* When -fvisbility=hidden is used, assume the code has been annotated
11104
correspondingly for the symbols needed. */
11105
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11106
int fnord () __attribute__((visibility("default")));
11109
int fnord () { return 42; }
11112
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11113
int status = $lt_dlunknown;
11117
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11120
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11121
else puts (dlerror ());
11123
/* dlclose (self); */
11131
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11132
(eval $ac_link) 2>&5
11134
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11135
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11136
(./conftest; exit; ) >&5 2>/dev/null
11138
case x$lt_status in
11139
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11140
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11141
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11144
# compilation failed
11145
lt_cv_dlopen_self=no
11152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11153
$as_echo "$lt_cv_dlopen_self" >&6; }
11155
if test "x$lt_cv_dlopen_self" = xyes; then
11156
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11158
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11159
if ${lt_cv_dlopen_self_static+:} false; then :
11160
$as_echo_n "(cached) " >&6
11162
if test "$cross_compiling" = yes; then :
11163
lt_cv_dlopen_self_static=cross
11165
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11166
lt_status=$lt_dlunknown
11167
cat > conftest.$ac_ext <<_LT_EOF
11168
#line $LINENO "configure"
11169
#include "confdefs.h"
11178
# define LT_DLGLOBAL RTLD_GLOBAL
11181
# define LT_DLGLOBAL DL_GLOBAL
11183
# define LT_DLGLOBAL 0
11187
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11188
find out it does not work in some platform. */
11189
#ifndef LT_DLLAZY_OR_NOW
11191
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11194
# define LT_DLLAZY_OR_NOW DL_LAZY
11197
# define LT_DLLAZY_OR_NOW RTLD_NOW
11200
# define LT_DLLAZY_OR_NOW DL_NOW
11202
# define LT_DLLAZY_OR_NOW 0
11209
/* When -fvisbility=hidden is used, assume the code has been annotated
11210
correspondingly for the symbols needed. */
11211
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11212
int fnord () __attribute__((visibility("default")));
11215
int fnord () { return 42; }
11218
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11219
int status = $lt_dlunknown;
11223
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11226
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11227
else puts (dlerror ());
11229
/* dlclose (self); */
11237
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11238
(eval $ac_link) 2>&5
11240
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11241
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11242
(./conftest; exit; ) >&5 2>/dev/null
11244
case x$lt_status in
11245
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11246
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11247
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11250
# compilation failed
11251
lt_cv_dlopen_self_static=no
11258
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11259
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11262
CPPFLAGS="$save_CPPFLAGS"
11263
LDFLAGS="$save_LDFLAGS"
11268
case $lt_cv_dlopen_self in
11269
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11270
*) enable_dlopen_self=unknown ;;
11273
case $lt_cv_dlopen_self_static in
11274
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11275
*) enable_dlopen_self_static=unknown ;;
11297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11298
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11299
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11300
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11301
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11302
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11303
$as_echo "yes" >&6; }
11305
# FIXME - insert some real tests, host_os isn't really good enough
11308
if test -n "$STRIP" ; then
11309
striplib="$STRIP -x"
11310
old_striplib="$STRIP -S"
11311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11312
$as_echo "yes" >&6; }
11314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11315
$as_echo "no" >&6; }
11319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11320
$as_echo "no" >&6; }
11336
# Report which library types will actually be built
11337
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11338
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11340
$as_echo "$can_build_shared" >&6; }
11342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11343
$as_echo_n "checking whether to build shared libraries... " >&6; }
11344
test "$can_build_shared" = "no" && enable_shared=no
11346
# On AIX, shared libraries and static libraries use the same namespace, and
11347
# are all built from PIC.
11350
test "$enable_shared" = yes && enable_static=no
11351
if test -n "$RANLIB"; then
11352
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11353
postinstall_cmds='$RANLIB $lib'
11358
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11359
test "$enable_shared" = yes && enable_static=no
11363
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11364
$as_echo "$enable_shared" >&6; }
11366
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11367
$as_echo_n "checking whether to build static libraries... " >&6; }
11368
# Make sure either enable_shared or enable_static is yes.
11369
test "$enable_shared" = yes || enable_static=yes
11370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11371
$as_echo "$enable_static" >&6; }
11378
ac_cpp='$CPP $CPPFLAGS'
11379
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11380
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11381
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11399
ac_config_commands="$ac_config_commands libtool"
11404
# Only expand once:
11408
# Checks for programs.
11410
ac_cpp='$CPP $CPPFLAGS'
11411
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11412
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11413
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11414
if test -n "$ac_tool_prefix"; then
11415
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11416
set dummy ${ac_tool_prefix}gcc; ac_word=$2
11417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11418
$as_echo_n "checking for $ac_word... " >&6; }
11419
if ${ac_cv_prog_CC+:} false; then :
11420
$as_echo_n "(cached) " >&6
11422
if test -n "$CC"; then
11423
ac_cv_prog_CC="$CC" # Let the user override the test.
11425
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11426
for as_dir in $PATH
11429
test -z "$as_dir" && as_dir=.
11430
for ac_exec_ext in '' $ac_executable_extensions; do
11431
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11432
ac_cv_prog_CC="${ac_tool_prefix}gcc"
11433
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11443
if test -n "$CC"; then
11444
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11445
$as_echo "$CC" >&6; }
11447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11448
$as_echo "no" >&6; }
11453
if test -z "$ac_cv_prog_CC"; then
11455
# Extract the first word of "gcc", so it can be a program name with args.
11456
set dummy gcc; ac_word=$2
11457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11458
$as_echo_n "checking for $ac_word... " >&6; }
11459
if ${ac_cv_prog_ac_ct_CC+:} false; then :
11460
$as_echo_n "(cached) " >&6
11462
if test -n "$ac_ct_CC"; then
11463
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11465
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11466
for as_dir in $PATH
11469
test -z "$as_dir" && as_dir=.
11470
for ac_exec_ext in '' $ac_executable_extensions; do
11471
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11472
ac_cv_prog_ac_ct_CC="gcc"
11473
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11482
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11483
if test -n "$ac_ct_CC"; then
11484
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11485
$as_echo "$ac_ct_CC" >&6; }
11487
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11488
$as_echo "no" >&6; }
11491
if test "x$ac_ct_CC" = x; then
11494
case $cross_compiling:$ac_tool_warned in
11496
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11497
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11498
ac_tool_warned=yes ;;
11503
CC="$ac_cv_prog_CC"
11506
if test -z "$CC"; then
11507
if test -n "$ac_tool_prefix"; then
11508
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11509
set dummy ${ac_tool_prefix}cc; ac_word=$2
11510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11511
$as_echo_n "checking for $ac_word... " >&6; }
11512
if ${ac_cv_prog_CC+:} false; then :
11513
$as_echo_n "(cached) " >&6
11515
if test -n "$CC"; then
11516
ac_cv_prog_CC="$CC" # Let the user override the test.
11518
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11519
for as_dir in $PATH
11522
test -z "$as_dir" && as_dir=.
11523
for ac_exec_ext in '' $ac_executable_extensions; do
11524
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11525
ac_cv_prog_CC="${ac_tool_prefix}cc"
11526
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11536
if test -n "$CC"; then
11537
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11538
$as_echo "$CC" >&6; }
11540
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11541
$as_echo "no" >&6; }
11547
if test -z "$CC"; then
11548
# Extract the first word of "cc", so it can be a program name with args.
11549
set dummy cc; ac_word=$2
11550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11551
$as_echo_n "checking for $ac_word... " >&6; }
11552
if ${ac_cv_prog_CC+:} false; then :
11553
$as_echo_n "(cached) " >&6
11555
if test -n "$CC"; then
11556
ac_cv_prog_CC="$CC" # Let the user override the test.
11558
ac_prog_rejected=no
11559
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11560
for as_dir in $PATH
11563
test -z "$as_dir" && as_dir=.
11564
for ac_exec_ext in '' $ac_executable_extensions; do
11565
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11566
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11567
ac_prog_rejected=yes
11571
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11578
if test $ac_prog_rejected = yes; then
11579
# We found a bogon in the path, so make sure we never use it.
11580
set dummy $ac_cv_prog_CC
11582
if test $# != 0; then
11583
# We chose a different compiler from the bogus one.
11584
# However, it has the same basename, so the bogon will be chosen
11585
# first if we set CC to just the basename; use the full file name.
11587
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11593
if test -n "$CC"; then
11594
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11595
$as_echo "$CC" >&6; }
11597
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11598
$as_echo "no" >&6; }
11603
if test -z "$CC"; then
11604
if test -n "$ac_tool_prefix"; then
11605
for ac_prog in cl.exe
11607
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11608
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11609
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11610
$as_echo_n "checking for $ac_word... " >&6; }
11611
if ${ac_cv_prog_CC+:} false; then :
11612
$as_echo_n "(cached) " >&6
11614
if test -n "$CC"; then
11615
ac_cv_prog_CC="$CC" # Let the user override the test.
11617
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11618
for as_dir in $PATH
11621
test -z "$as_dir" && as_dir=.
11622
for ac_exec_ext in '' $ac_executable_extensions; do
11623
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11624
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11625
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11635
if test -n "$CC"; then
11636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
11637
$as_echo "$CC" >&6; }
11639
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11640
$as_echo "no" >&6; }
11644
test -n "$CC" && break
11647
if test -z "$CC"; then
11649
for ac_prog in cl.exe
11651
# Extract the first word of "$ac_prog", so it can be a program name with args.
11652
set dummy $ac_prog; ac_word=$2
11653
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11654
$as_echo_n "checking for $ac_word... " >&6; }
11655
if ${ac_cv_prog_ac_ct_CC+:} false; then :
11656
$as_echo_n "(cached) " >&6
11658
if test -n "$ac_ct_CC"; then
11659
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11661
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11662
for as_dir in $PATH
11665
test -z "$as_dir" && as_dir=.
11666
for ac_exec_ext in '' $ac_executable_extensions; do
11667
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11668
ac_cv_prog_ac_ct_CC="$ac_prog"
11669
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11678
ac_ct_CC=$ac_cv_prog_ac_ct_CC
11679
if test -n "$ac_ct_CC"; then
11680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
11681
$as_echo "$ac_ct_CC" >&6; }
11683
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11684
$as_echo "no" >&6; }
11688
test -n "$ac_ct_CC" && break
11691
if test "x$ac_ct_CC" = x; then
11694
case $cross_compiling:$ac_tool_warned in
11696
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11697
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11698
ac_tool_warned=yes ;;
11707
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11708
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11709
as_fn_error $? "no acceptable C compiler found in \$PATH
11710
See \`config.log' for more details" "$LINENO" 5; }
11712
# Provide some information about the compiler.
11713
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
11716
for ac_option in --version -v -V -qversion; do
11717
{ { ac_try="$ac_compiler $ac_option >&5"
11718
case "(($ac_try" in
11719
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11720
*) ac_try_echo=$ac_try;;
11722
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11723
$as_echo "$ac_try_echo"; } >&5
11724
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11726
if test -s conftest.err; then
11728
... rest of stderr output deleted ...
11729
10q' conftest.err >conftest.er1
11730
cat conftest.er1 >&5
11732
rm -f conftest.er1 conftest.err
11733
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11734
test $ac_status = 0; }
11737
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
11738
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
11739
if ${ac_cv_c_compiler_gnu+:} false; then :
11740
$as_echo_n "(cached) " >&6
11742
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11743
/* end confdefs.h. */
11756
if ac_fn_c_try_compile "$LINENO"; then :
11757
ac_compiler_gnu=yes
11761
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11762
ac_cv_c_compiler_gnu=$ac_compiler_gnu
11765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
11766
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
11767
if test $ac_compiler_gnu = yes; then
11772
ac_test_CFLAGS=${CFLAGS+set}
11773
ac_save_CFLAGS=$CFLAGS
11774
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
11775
$as_echo_n "checking whether $CC accepts -g... " >&6; }
11776
if ${ac_cv_prog_cc_g+:} false; then :
11777
$as_echo_n "(cached) " >&6
11779
ac_save_c_werror_flag=$ac_c_werror_flag
11780
ac_c_werror_flag=yes
11783
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11784
/* end confdefs.h. */
11794
if ac_fn_c_try_compile "$LINENO"; then :
11795
ac_cv_prog_cc_g=yes
11798
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11799
/* end confdefs.h. */
11809
if ac_fn_c_try_compile "$LINENO"; then :
11812
ac_c_werror_flag=$ac_save_c_werror_flag
11814
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11815
/* end confdefs.h. */
11825
if ac_fn_c_try_compile "$LINENO"; then :
11826
ac_cv_prog_cc_g=yes
11828
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11830
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11832
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11833
ac_c_werror_flag=$ac_save_c_werror_flag
11835
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
11836
$as_echo "$ac_cv_prog_cc_g" >&6; }
11837
if test "$ac_test_CFLAGS" = set; then
11838
CFLAGS=$ac_save_CFLAGS
11839
elif test $ac_cv_prog_cc_g = yes; then
11840
if test "$GCC" = yes; then
11846
if test "$GCC" = yes; then
11852
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
11853
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
11854
if ${ac_cv_prog_cc_c89+:} false; then :
11855
$as_echo_n "(cached) " >&6
11857
ac_cv_prog_cc_c89=no
11859
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860
/* end confdefs.h. */
11861
#include <stdarg.h>
11863
#include <sys/types.h>
11864
#include <sys/stat.h>
11865
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
11866
struct buf { int x; };
11867
FILE * (*rcsopen) (struct buf *, struct stat *, int);
11868
static char *e (p, i)
11874
static char *f (char * (*g) (char **, int), char **p, ...)
11879
s = g (p, va_arg (v,int));
11884
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
11885
function prototypes and stuff, but not '\xHH' hex character constants.
11886
These don't provoke an error unfortunately, instead are silently treated
11887
as 'x'. The following induces an error, until -std is added to get
11888
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
11889
array size at least. It's necessary to write '\x00'==0 to get something
11890
that's true only with -std. */
11891
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
11893
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
11894
inside strings and character constants. */
11896
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
11898
int test (int i, double x);
11899
struct s1 {int (*f) (int a);};
11900
struct s2 {int (*f) (double a);};
11901
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
11907
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
11912
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
11913
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
11915
CC="$ac_save_CC $ac_arg"
11916
if ac_fn_c_try_compile "$LINENO"; then :
11917
ac_cv_prog_cc_c89=$ac_arg
11919
rm -f core conftest.err conftest.$ac_objext
11920
test "x$ac_cv_prog_cc_c89" != "xno" && break
11922
rm -f conftest.$ac_ext
11927
case "x$ac_cv_prog_cc_c89" in
11929
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
11930
$as_echo "none needed" >&6; } ;;
11932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
11933
$as_echo "unsupported" >&6; } ;;
11935
CC="$CC $ac_cv_prog_cc_c89"
11936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
11937
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
11939
if test "x$ac_cv_prog_cc_c89" != xno; then :
11944
ac_cpp='$CPP $CPPFLAGS'
11945
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11946
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11947
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949
depcc="$CC" am_compiler_list=
11951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11952
$as_echo_n "checking dependency style of $depcc... " >&6; }
11953
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
11954
$as_echo_n "(cached) " >&6
11956
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11957
# We make a subdir and do the tests there. Otherwise we can end up
11958
# making bogus files that we don't know about and never remove. For
11959
# instance it was reported that on HP-UX the gcc test will end up
11960
# making a dummy file named `D' -- because `-MD' means `put the output
11962
rm -rf conftest.dir
11964
# Copy depcomp to subdir because otherwise we won't find it if we're
11965
# using a relative directory.
11966
cp "$am_depcomp" conftest.dir
11968
# We will build objects and dependencies in a subdirectory because
11969
# it helps to detect inapplicable dependency modes. For instance
11970
# both Tru64's cc and ICC support -MD to output dependencies as a
11971
# side effect of compilation, but ICC will put the dependencies in
11972
# the current directory while Tru64 will put them in the object
11976
am_cv_CC_dependencies_compiler_type=none
11977
if test "$am_compiler_list" = ""; then
11978
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11980
am__universal=false
11981
case " $depcc " in #(
11982
*\ -arch\ *\ -arch\ *) am__universal=true ;;
11985
for depmode in $am_compiler_list; do
11986
# Setup a source with many dependencies, because some compilers
11987
# like to wrap large dependency lists on column 80 (with \), and
11988
# we should not choose a depcomp mode which is confused by this.
11990
# We need to recreate these files for each test, as the compiler may
11991
# overwrite some of them when testing with obscure command lines.
11992
# This happens at least with the AIX C compiler.
11994
for i in 1 2 3 4 5 6; do
11995
echo '#include "conftst'$i'.h"' >> sub/conftest.c
11996
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11997
# Solaris 8's {/usr,}/bin/sh.
11998
touch sub/conftst$i.h
12000
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12002
# We check with `-c' and `-o' for the sake of the "dashmstdout"
12003
# mode. It turns out that the SunPro C++ compiler does not properly
12004
# handle `-M -o', and we need to detect this. Also, some Intel
12005
# versions had trouble with output in subdirs
12006
am__obj=sub/conftest.${OBJEXT-o}
12007
am__minus_obj="-o $am__obj"
12010
# This depmode causes a compiler race in universal mode.
12011
test "$am__universal" = false || continue
12014
# after this tag, mechanisms are not by side-effect, so they'll
12015
# only be used when explicitly requested
12016
if test "x$enable_dependency_tracking" = xyes; then
12022
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12023
# This compiler won't grok `-c -o', but also, the minuso test has
12024
# not run yet. These depmodes are late enough in the game, and
12025
# so weak that their functioning should not be impacted.
12026
am__obj=conftest.${OBJEXT-o}
12031
if depmode=$depmode \
12032
source=sub/conftest.c object=$am__obj \
12033
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12034
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12035
>/dev/null 2>conftest.err &&
12036
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12037
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12038
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12039
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12040
# icc doesn't choke on unknown options, it will just issue warnings
12041
# or remarks (even with -Werror). So we grep stderr for any message
12042
# that says an option was ignored or not supported.
12043
# When given -MP, icc 7.0 and 7.1 complain thusly:
12044
# icc: Command line warning: ignoring option '-M'; no argument required
12045
# The diagnosis changed in icc 8.0:
12046
# icc: Command line remark: option '-MP' not supported
12047
if (grep 'ignoring option' conftest.err ||
12048
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12049
am_cv_CC_dependencies_compiler_type=$depmode
12056
rm -rf conftest.dir
12058
am_cv_CC_dependencies_compiler_type=none
12062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12063
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12064
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12067
test "x$enable_dependency_tracking" != xno \
12068
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12069
am__fastdepCC_TRUE=
12070
am__fastdepCC_FALSE='#'
12072
am__fastdepCC_TRUE='#'
12073
am__fastdepCC_FALSE=
12078
ac_cpp='$CXXCPP $CPPFLAGS'
12079
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12080
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12081
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12082
if test -z "$CXX"; then
12083
if test -n "$CCC"; then
12086
if test -n "$ac_tool_prefix"; then
12087
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12089
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12090
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12092
$as_echo_n "checking for $ac_word... " >&6; }
12093
if ${ac_cv_prog_CXX+:} false; then :
12094
$as_echo_n "(cached) " >&6
12096
if test -n "$CXX"; then
12097
ac_cv_prog_CXX="$CXX" # Let the user override the test.
12099
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12100
for as_dir in $PATH
12103
test -z "$as_dir" && as_dir=.
12104
for ac_exec_ext in '' $ac_executable_extensions; do
12105
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12106
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
12107
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12116
CXX=$ac_cv_prog_CXX
12117
if test -n "$CXX"; then
12118
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
12119
$as_echo "$CXX" >&6; }
12121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12122
$as_echo "no" >&6; }
12126
test -n "$CXX" && break
12129
if test -z "$CXX"; then
12131
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
12133
# Extract the first word of "$ac_prog", so it can be a program name with args.
12134
set dummy $ac_prog; ac_word=$2
12135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12136
$as_echo_n "checking for $ac_word... " >&6; }
12137
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
12138
$as_echo_n "(cached) " >&6
12140
if test -n "$ac_ct_CXX"; then
12141
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
12143
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12144
for as_dir in $PATH
12147
test -z "$as_dir" && as_dir=.
12148
for ac_exec_ext in '' $ac_executable_extensions; do
12149
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12150
ac_cv_prog_ac_ct_CXX="$ac_prog"
12151
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12160
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
12161
if test -n "$ac_ct_CXX"; then
12162
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
12163
$as_echo "$ac_ct_CXX" >&6; }
12165
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12166
$as_echo "no" >&6; }
12170
test -n "$ac_ct_CXX" && break
12173
if test "x$ac_ct_CXX" = x; then
12176
case $cross_compiling:$ac_tool_warned in
12178
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12179
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12180
ac_tool_warned=yes ;;
12188
# Provide some information about the compiler.
12189
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
12192
for ac_option in --version -v -V -qversion; do
12193
{ { ac_try="$ac_compiler $ac_option >&5"
12194
case "(($ac_try" in
12195
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12196
*) ac_try_echo=$ac_try;;
12198
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12199
$as_echo "$ac_try_echo"; } >&5
12200
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
12202
if test -s conftest.err; then
12204
... rest of stderr output deleted ...
12205
10q' conftest.err >conftest.er1
12206
cat conftest.er1 >&5
12208
rm -f conftest.er1 conftest.err
12209
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12210
test $ac_status = 0; }
12213
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
12214
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
12215
if ${ac_cv_cxx_compiler_gnu+:} false; then :
12216
$as_echo_n "(cached) " >&6
12218
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12219
/* end confdefs.h. */
12232
if ac_fn_cxx_try_compile "$LINENO"; then :
12233
ac_compiler_gnu=yes
12237
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12238
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
12241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
12242
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
12243
if test $ac_compiler_gnu = yes; then
12248
ac_test_CXXFLAGS=${CXXFLAGS+set}
12249
ac_save_CXXFLAGS=$CXXFLAGS
12250
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
12251
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
12252
if ${ac_cv_prog_cxx_g+:} false; then :
12253
$as_echo_n "(cached) " >&6
12255
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
12256
ac_cxx_werror_flag=yes
12257
ac_cv_prog_cxx_g=no
12259
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260
/* end confdefs.h. */
12270
if ac_fn_cxx_try_compile "$LINENO"; then :
12271
ac_cv_prog_cxx_g=yes
12274
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12275
/* end confdefs.h. */
12285
if ac_fn_cxx_try_compile "$LINENO"; then :
12288
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12290
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12291
/* end confdefs.h. */
12301
if ac_fn_cxx_try_compile "$LINENO"; then :
12302
ac_cv_prog_cxx_g=yes
12304
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12306
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12308
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12309
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
12311
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
12312
$as_echo "$ac_cv_prog_cxx_g" >&6; }
12313
if test "$ac_test_CXXFLAGS" = set; then
12314
CXXFLAGS=$ac_save_CXXFLAGS
12315
elif test $ac_cv_prog_cxx_g = yes; then
12316
if test "$GXX" = yes; then
12322
if test "$GXX" = yes; then
12329
ac_cpp='$CPP $CPPFLAGS'
12330
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12331
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12332
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12334
depcc="$CXX" am_compiler_list=
12336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12337
$as_echo_n "checking dependency style of $depcc... " >&6; }
12338
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
12339
$as_echo_n "(cached) " >&6
12341
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12342
# We make a subdir and do the tests there. Otherwise we can end up
12343
# making bogus files that we don't know about and never remove. For
12344
# instance it was reported that on HP-UX the gcc test will end up
12345
# making a dummy file named `D' -- because `-MD' means `put the output
12347
rm -rf conftest.dir
12349
# Copy depcomp to subdir because otherwise we won't find it if we're
12350
# using a relative directory.
12351
cp "$am_depcomp" conftest.dir
12353
# We will build objects and dependencies in a subdirectory because
12354
# it helps to detect inapplicable dependency modes. For instance
12355
# both Tru64's cc and ICC support -MD to output dependencies as a
12356
# side effect of compilation, but ICC will put the dependencies in
12357
# the current directory while Tru64 will put them in the object
12361
am_cv_CXX_dependencies_compiler_type=none
12362
if test "$am_compiler_list" = ""; then
12363
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12365
am__universal=false
12366
case " $depcc " in #(
12367
*\ -arch\ *\ -arch\ *) am__universal=true ;;
12370
for depmode in $am_compiler_list; do
12371
# Setup a source with many dependencies, because some compilers
12372
# like to wrap large dependency lists on column 80 (with \), and
12373
# we should not choose a depcomp mode which is confused by this.
12375
# We need to recreate these files for each test, as the compiler may
12376
# overwrite some of them when testing with obscure command lines.
12377
# This happens at least with the AIX C compiler.
12379
for i in 1 2 3 4 5 6; do
12380
echo '#include "conftst'$i'.h"' >> sub/conftest.c
12381
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
12382
# Solaris 8's {/usr,}/bin/sh.
12383
touch sub/conftst$i.h
12385
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12387
# We check with `-c' and `-o' for the sake of the "dashmstdout"
12388
# mode. It turns out that the SunPro C++ compiler does not properly
12389
# handle `-M -o', and we need to detect this. Also, some Intel
12390
# versions had trouble with output in subdirs
12391
am__obj=sub/conftest.${OBJEXT-o}
12392
am__minus_obj="-o $am__obj"
12395
# This depmode causes a compiler race in universal mode.
12396
test "$am__universal" = false || continue
12399
# after this tag, mechanisms are not by side-effect, so they'll
12400
# only be used when explicitly requested
12401
if test "x$enable_dependency_tracking" = xyes; then
12407
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12408
# This compiler won't grok `-c -o', but also, the minuso test has
12409
# not run yet. These depmodes are late enough in the game, and
12410
# so weak that their functioning should not be impacted.
12411
am__obj=conftest.${OBJEXT-o}
12416
if depmode=$depmode \
12417
source=sub/conftest.c object=$am__obj \
12418
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12419
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12420
>/dev/null 2>conftest.err &&
12421
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12422
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12423
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12424
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12425
# icc doesn't choke on unknown options, it will just issue warnings
12426
# or remarks (even with -Werror). So we grep stderr for any message
12427
# that says an option was ignored or not supported.
12428
# When given -MP, icc 7.0 and 7.1 complain thusly:
12429
# icc: Command line warning: ignoring option '-M'; no argument required
12430
# The diagnosis changed in icc 8.0:
12431
# icc: Command line remark: option '-MP' not supported
12432
if (grep 'ignoring option' conftest.err ||
12433
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12434
am_cv_CXX_dependencies_compiler_type=$depmode
12441
rm -rf conftest.dir
12443
am_cv_CXX_dependencies_compiler_type=none
12447
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
12448
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
12449
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
12452
test "x$enable_dependency_tracking" != xno \
12453
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
12454
am__fastdepCXX_TRUE=
12455
am__fastdepCXX_FALSE='#'
12457
am__fastdepCXX_TRUE='#'
12458
am__fastdepCXX_FALSE=
12464
func_stripname_cnf ()
12467
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
12468
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
12470
} # func_stripname_cnf
12472
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12473
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12474
(test "X$CXX" != "Xg++"))) ; then
12476
ac_cpp='$CXXCPP $CPPFLAGS'
12477
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12478
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12479
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12481
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12482
if test -z "$CXXCPP"; then
12483
if ${ac_cv_prog_CXXCPP+:} false; then :
12484
$as_echo_n "(cached) " >&6
12486
# Double quotes because CXXCPP needs to be expanded
12487
for CXXCPP in "$CXX -E" "/lib/cpp"
12489
ac_preproc_ok=false
12490
for ac_cxx_preproc_warn_flag in '' yes
12492
# Use a header file that comes with gcc, so configuring glibc
12493
# with a fresh cross-compiler works.
12494
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12495
# <limits.h> exists even on freestanding compilers.
12496
# On the NeXT, cc -E runs the code through the compiler's parser,
12497
# not just through cpp. "Syntax error" is here to catch this case.
12498
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499
/* end confdefs.h. */
12501
# include <limits.h>
12503
# include <assert.h>
12507
if ac_fn_cxx_try_cpp "$LINENO"; then :
12510
# Broken: fails on valid input.
12513
rm -f conftest.err conftest.i conftest.$ac_ext
12515
# OK, works on sane cases. Now check whether nonexistent headers
12516
# can be detected and how.
12517
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518
/* end confdefs.h. */
12519
#include <ac_nonexistent.h>
12521
if ac_fn_cxx_try_cpp "$LINENO"; then :
12522
# Broken: success on invalid input.
12525
# Passes both tests.
12529
rm -f conftest.err conftest.i conftest.$ac_ext
12532
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12533
rm -f conftest.i conftest.err conftest.$ac_ext
12534
if $ac_preproc_ok; then :
12539
ac_cv_prog_CXXCPP=$CXXCPP
12542
CXXCPP=$ac_cv_prog_CXXCPP
12544
ac_cv_prog_CXXCPP=$CXXCPP
12546
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12547
$as_echo "$CXXCPP" >&6; }
12548
ac_preproc_ok=false
12549
for ac_cxx_preproc_warn_flag in '' yes
12551
# Use a header file that comes with gcc, so configuring glibc
12552
# with a fresh cross-compiler works.
12553
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12554
# <limits.h> exists even on freestanding compilers.
12555
# On the NeXT, cc -E runs the code through the compiler's parser,
12556
# not just through cpp. "Syntax error" is here to catch this case.
12557
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12558
/* end confdefs.h. */
12560
# include <limits.h>
12562
# include <assert.h>
12566
if ac_fn_cxx_try_cpp "$LINENO"; then :
12569
# Broken: fails on valid input.
12572
rm -f conftest.err conftest.i conftest.$ac_ext
12574
# OK, works on sane cases. Now check whether nonexistent headers
12575
# can be detected and how.
12576
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577
/* end confdefs.h. */
12578
#include <ac_nonexistent.h>
12580
if ac_fn_cxx_try_cpp "$LINENO"; then :
12581
# Broken: success on invalid input.
12584
# Passes both tests.
12588
rm -f conftest.err conftest.i conftest.$ac_ext
12591
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12592
rm -f conftest.i conftest.err conftest.$ac_ext
12593
if $ac_preproc_ok; then :
12596
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12597
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12598
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12599
See \`config.log' for more details" "$LINENO" 5; }
12603
ac_cpp='$CPP $CPPFLAGS'
12604
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12605
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12606
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12609
_lt_caught_CXX_error=yes
12613
ac_cpp='$CXXCPP $CPPFLAGS'
12614
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12615
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12616
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12618
archive_cmds_need_lc_CXX=no
12619
allow_undefined_flag_CXX=
12620
always_export_symbols_CXX=no
12621
archive_expsym_cmds_CXX=
12622
compiler_needs_object_CXX=no
12623
export_dynamic_flag_spec_CXX=
12624
hardcode_direct_CXX=no
12625
hardcode_direct_absolute_CXX=no
12626
hardcode_libdir_flag_spec_CXX=
12627
hardcode_libdir_separator_CXX=
12628
hardcode_minus_L_CXX=no
12629
hardcode_shlibpath_var_CXX=unsupported
12630
hardcode_automatic_CXX=no
12631
inherit_rpath_CXX=no
12633
module_expsym_cmds_CXX=
12634
link_all_deplibs_CXX=unknown
12635
old_archive_cmds_CXX=$old_archive_cmds
12636
reload_flag_CXX=$reload_flag
12637
reload_cmds_CXX=$reload_cmds
12638
no_undefined_flag_CXX=
12639
whole_archive_flag_spec_CXX=
12640
enable_shared_with_static_runtimes_CXX=no
12642
# Source file extension for C++ test sources.
12645
# Object file extension for compiled C++ test sources.
12649
# No sense in running all these tests if we already determined that
12650
# the CXX compiler isn't working. Some variables (like enable_shared)
12651
# are currently assumed to apply to all compilers on this platform,
12652
# and will be corrupted by setting them based on a non-working compiler.
12653
if test "$_lt_caught_CXX_error" != yes; then
12654
# Code to be used in simple compile tests
12655
lt_simple_compile_test_code="int some_variable = 0;"
12657
# Code to be used in simple link tests
12658
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12660
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12667
# If no C compiler was specified, use CC.
12670
# If no C compiler flags were specified, use CFLAGS.
12671
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12673
# Allow CC to be a program name with arguments.
12677
# save warnings/boilerplate of simple test code
12678
ac_outfile=conftest.$ac_objext
12679
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12680
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12681
_lt_compiler_boilerplate=`cat conftest.err`
12684
ac_outfile=conftest.$ac_objext
12685
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12686
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12687
_lt_linker_boilerplate=`cat conftest.err`
12691
# Allow CC to be a program name with arguments.
12693
lt_save_CFLAGS=$CFLAGS
12697
lt_save_with_gnu_ld=$with_gnu_ld
12698
lt_save_path_LD=$lt_cv_path_LD
12699
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12700
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12702
$as_unset lt_cv_prog_gnu_ld
12704
if test -n "${lt_cv_path_LDCXX+set}"; then
12705
lt_cv_path_LD=$lt_cv_path_LDCXX
12707
$as_unset lt_cv_path_LD
12709
test -z "${LDCXX+set}" || LD=$LDCXX
12714
for cc_temp in $compiler""; do
12716
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12717
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12722
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12725
if test -n "$compiler"; then
12726
# We don't want -fno-exception when compiling C++ code, so set the
12727
# no_builtin_flag separately
12728
if test "$GXX" = yes; then
12729
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12731
lt_prog_compiler_no_builtin_flag_CXX=
12734
if test "$GXX" = yes; then
12735
# Set up default GNU C++ configuration
12739
# Check whether --with-gnu-ld was given.
12740
if test "${with_gnu_ld+set}" = set; then :
12741
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12747
if test "$GCC" = yes; then
12748
# Check if gcc -print-prog-name=ld gives a path.
12749
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12750
$as_echo_n "checking for ld used by $CC... " >&6; }
12753
# gcc leaves a trailing carriage return which upsets mingw
12754
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12756
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12759
# Accept absolute paths.
12761
re_direlt='/[^/][^/]*/\.\./'
12762
# Canonicalize the pathname of ld
12763
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12764
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12765
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12767
test -z "$LD" && LD="$ac_prog"
12770
# If it fails, then pretend we aren't using GCC.
12774
# If it is relative, then search for the first ld in PATH.
12775
with_gnu_ld=unknown
12778
elif test "$with_gnu_ld" = yes; then
12779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12780
$as_echo_n "checking for GNU ld... " >&6; }
12782
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12783
$as_echo_n "checking for non-GNU ld... " >&6; }
12785
if ${lt_cv_path_LD+:} false; then :
12786
$as_echo_n "(cached) " >&6
12788
if test -z "$LD"; then
12789
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12790
for ac_dir in $PATH; do
12792
test -z "$ac_dir" && ac_dir=.
12793
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12794
lt_cv_path_LD="$ac_dir/$ac_prog"
12795
# Check to see if the program is GNU ld. I'd rather use --version,
12796
# but apparently some variants of GNU ld only accept -v.
12797
# Break only if it was the GNU/non-GNU ld that we prefer.
12798
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12799
*GNU* | *'with BFD'*)
12800
test "$with_gnu_ld" != no && break
12803
test "$with_gnu_ld" != yes && break
12810
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12814
LD="$lt_cv_path_LD"
12815
if test -n "$LD"; then
12816
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12817
$as_echo "$LD" >&6; }
12819
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12820
$as_echo "no" >&6; }
12822
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12823
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12824
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12825
if ${lt_cv_prog_gnu_ld+:} false; then :
12826
$as_echo_n "(cached) " >&6
12828
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12829
case `$LD -v 2>&1 </dev/null` in
12830
*GNU* | *'with BFD'*)
12831
lt_cv_prog_gnu_ld=yes
12834
lt_cv_prog_gnu_ld=no
12838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12839
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12840
with_gnu_ld=$lt_cv_prog_gnu_ld
12848
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12849
# archiving commands below assume that GNU ld is being used.
12850
if test "$with_gnu_ld" = yes; then
12851
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12852
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'
12854
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12855
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12857
# If archive_cmds runs LD, not CC, wlarc should be empty
12858
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12859
# investigate it a little bit more. (MM)
12862
# ancient GNU ld didn't support --whole-archive et. al.
12863
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12864
$GREP 'no-whole-archive' > /dev/null; then
12865
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12867
whole_archive_flag_spec_CXX=
12873
# A generic and very simple default shared library creation
12874
# command for GNU C++ for the case where it uses the native
12875
# linker, instead of GNU ld. If possible, this setting should
12876
# overridden to take advantage of the native linker features on
12877
# the platform it is being used on.
12878
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12881
# Commands to make compiler produce verbose output that lists
12882
# what "hidden" libraries, object files and flags are used when
12883
# linking a shared library.
12884
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12892
# PORTME: fill in a description of your system's C++ link characteristics
12893
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12894
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12898
# FIXME: insert proper C++ library support
12902
if test "$host_cpu" = ia64; then
12903
# On IA64, the linker does run time linking by default, so we don't
12904
# have to do anything special.
12905
aix_use_runtimelinking=no
12906
exp_sym_flag='-Bexport'
12909
aix_use_runtimelinking=no
12911
# Test if we are trying to use run time linking or normal
12912
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12913
# need to do runtime linking.
12914
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12915
for ld_flag in $LDFLAGS; do
12918
aix_use_runtimelinking=yes
12926
exp_sym_flag='-bexport'
12927
no_entry_flag='-bnoentry'
12930
# When large executables or shared objects are built, AIX ld can
12931
# have problems creating the table of contents. If linking a library
12932
# or program results in "error TOC overflow" add -mminimal-toc to
12933
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12934
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12936
archive_cmds_CXX=''
12937
hardcode_direct_CXX=yes
12938
hardcode_direct_absolute_CXX=yes
12939
hardcode_libdir_separator_CXX=':'
12940
link_all_deplibs_CXX=yes
12941
file_list_spec_CXX='${wl}-f,'
12943
if test "$GXX" = yes; then
12944
case $host_os in aix4.[012]|aix4.[012].*)
12945
# We only want to do this on AIX 4.2 and lower, the check
12946
# below for broken collect2 doesn't work under 4.3+
12947
collect2name=`${CC} -print-prog-name=collect2`
12948
if test -f "$collect2name" &&
12949
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12951
# We have reworked collect2
12954
# We have old collect2
12955
hardcode_direct_CXX=unsupported
12956
# It fails to find uninstalled libraries when the uninstalled
12957
# path is not listed in the libpath. Setting hardcode_minus_L
12958
# to unsupported forces relinking
12959
hardcode_minus_L_CXX=yes
12960
hardcode_libdir_flag_spec_CXX='-L$libdir'
12961
hardcode_libdir_separator_CXX=
12964
shared_flag='-shared'
12965
if test "$aix_use_runtimelinking" = yes; then
12966
shared_flag="$shared_flag "'${wl}-G'
12970
if test "$host_cpu" = ia64; then
12971
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12972
# chokes on -Wl,-G. The following line is correct:
12975
if test "$aix_use_runtimelinking" = yes; then
12976
shared_flag='${wl}-G'
12978
shared_flag='${wl}-bM:SRE'
12983
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12984
# It seems that -bexpall does not export symbols beginning with
12985
# underscore (_), so it is better to generate a list of symbols to
12987
always_export_symbols_CXX=yes
12988
if test "$aix_use_runtimelinking" = yes; then
12989
# Warning - without using the other runtime loading flags (-brtl),
12990
# -berok will link without error, but may produce a broken library.
12991
allow_undefined_flag_CXX='-berok'
12992
# Determine the default libpath from the value encoded in an empty
12994
if test "${lt_cv_aix_libpath+set}" = set; then
12995
aix_libpath=$lt_cv_aix_libpath
12997
if ${lt_cv_aix_libpath__CXX+:} false; then :
12998
$as_echo_n "(cached) " >&6
13000
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13001
/* end confdefs.h. */
13011
if ac_fn_cxx_try_link "$LINENO"; then :
13013
lt_aix_libpath_sed='
13014
/Import File Strings/,/^$/ {
13016
s/^0 *\([^ ]*\) *$/\1/
13020
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13021
# Check for a 64-bit object if we didn't find anything.
13022
if test -z "$lt_cv_aix_libpath__CXX"; then
13023
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13026
rm -f core conftest.err conftest.$ac_objext \
13027
conftest$ac_exeext conftest.$ac_ext
13028
if test -z "$lt_cv_aix_libpath__CXX"; then
13029
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13034
aix_libpath=$lt_cv_aix_libpath__CXX
13037
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13039
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"
13041
if test "$host_cpu" = ia64; then
13042
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13043
allow_undefined_flag_CXX="-z nodefs"
13044
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"
13046
# Determine the default libpath from the value encoded in an
13047
# empty executable.
13048
if test "${lt_cv_aix_libpath+set}" = set; then
13049
aix_libpath=$lt_cv_aix_libpath
13051
if ${lt_cv_aix_libpath__CXX+:} false; then :
13052
$as_echo_n "(cached) " >&6
13054
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13055
/* end confdefs.h. */
13065
if ac_fn_cxx_try_link "$LINENO"; then :
13067
lt_aix_libpath_sed='
13068
/Import File Strings/,/^$/ {
13070
s/^0 *\([^ ]*\) *$/\1/
13074
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13075
# Check for a 64-bit object if we didn't find anything.
13076
if test -z "$lt_cv_aix_libpath__CXX"; then
13077
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13080
rm -f core conftest.err conftest.$ac_objext \
13081
conftest$ac_exeext conftest.$ac_ext
13082
if test -z "$lt_cv_aix_libpath__CXX"; then
13083
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
13088
aix_libpath=$lt_cv_aix_libpath__CXX
13091
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13092
# Warning - without using the other run time loading flags,
13093
# -berok will link without error, but may produce a broken library.
13094
no_undefined_flag_CXX=' ${wl}-bernotok'
13095
allow_undefined_flag_CXX=' ${wl}-berok'
13096
if test "$with_gnu_ld" = yes; then
13097
# We only use this code for GNU lds that support --whole-archive.
13098
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13100
# Exported symbols can be pulled into shared objects from archives
13101
whole_archive_flag_spec_CXX='$convenience'
13103
archive_cmds_need_lc_CXX=yes
13104
# This is similar to how AIX traditionally builds its shared
13106
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'
13112
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13113
allow_undefined_flag_CXX=unsupported
13114
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13115
# support --undefined. This deserves some investigation. FIXME
13116
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13123
case $cc_basename in
13125
# FIXME: insert proper C++ library support
13131
cygwin* | mingw* | pw32* | cegcc*)
13132
case $GXX,$cc_basename in
13135
# hardcode_libdir_flag_spec is actually meaningless, as there is
13136
# no search path for DLLs.
13137
hardcode_libdir_flag_spec_CXX=' '
13138
allow_undefined_flag_CXX=unsupported
13139
always_export_symbols_CXX=yes
13140
file_list_spec_CXX='@'
13141
# Tell ltmain to make .lib files, not .a files.
13143
# Tell ltmain to make .dll files, not .so files.
13145
# FIXME: Setting linknames here is a bad hack.
13146
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
13147
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13148
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
13150
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
13152
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
13154
# The linker will not automatically build a static lib if we build a DLL.
13155
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
13156
enable_shared_with_static_runtimes_CXX=yes
13158
old_postinstall_cmds_CXX='chmod 644 $oldlib'
13159
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
13160
lt_tool_outputfile="@TOOL_OUTPUT@"~
13161
case $lt_outputfile in
13164
lt_outputfile="$lt_outputfile.exe"
13165
lt_tool_outputfile="$lt_tool_outputfile.exe"
13168
func_to_tool_file "$lt_outputfile"~
13169
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
13170
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
13171
$RM "$lt_outputfile.manifest";
13176
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13177
# as there is no search path for DLLs.
13178
hardcode_libdir_flag_spec_CXX='-L$libdir'
13179
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13180
allow_undefined_flag_CXX=unsupported
13181
always_export_symbols_CXX=no
13182
enable_shared_with_static_runtimes_CXX=yes
13184
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13185
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'
13186
# If the export-symbols file already is a .def file (1st line
13187
# is EXPORTS), use it as is; otherwise, prepend...
13188
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13189
cp $export_symbols $output_objdir/$soname.def;
13191
echo EXPORTS > $output_objdir/$soname.def;
13192
cat $export_symbols >> $output_objdir/$soname.def;
13194
$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'
13201
darwin* | rhapsody*)
13204
archive_cmds_need_lc_CXX=no
13205
hardcode_direct_CXX=no
13206
hardcode_automatic_CXX=yes
13207
hardcode_shlibpath_var_CXX=unsupported
13208
if test "$lt_cv_ld_force_load" = "yes"; then
13209
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\"`'
13212
whole_archive_flag_spec_CXX=''
13214
link_all_deplibs_CXX=yes
13215
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13216
case $cc_basename in
13217
ifort*) _lt_dar_can_shared=yes ;;
13218
*) _lt_dar_can_shared=$GCC ;;
13220
if test "$_lt_dar_can_shared" = "yes"; then
13221
output_verbose_link_cmd=func_echo_all
13222
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}"
13223
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13224
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}"
13225
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}"
13226
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13227
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}"
13228
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}"
13238
case $cc_basename in
13240
# FIXME: insert proper C++ library support
13244
# Green Hills C++ Compiler
13245
# FIXME: insert proper C++ library support
13249
# FIXME: insert proper C++ library support
13256
# C++ shared libraries reported to be fairly broken before
13262
archive_cmds_need_lc_CXX=no
13265
freebsd* | dragonfly*)
13266
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13275
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13276
link_all_deplibs_CXX=yes
13280
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13281
hardcode_libdir_separator_CXX=:
13282
export_dynamic_flag_spec_CXX='${wl}-E'
13283
hardcode_direct_CXX=yes
13284
hardcode_minus_L_CXX=yes # Not in the search PATH,
13285
# but as the default
13286
# location of the library.
13288
case $cc_basename in
13290
# FIXME: insert proper C++ library support
13294
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'
13295
# Commands to make compiler produce verbose output that lists
13296
# what "hidden" libraries, object files and flags are used when
13297
# linking a shared library.
13299
# There doesn't appear to be a way to prevent this compiler from
13300
# explicitly linking system object files so we need to strip them
13301
# from the output so that they don't get included in the library
13303
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"'
13306
if test "$GXX" = yes; then
13307
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'
13309
# FIXME: insert proper C++ library support
13317
if test $with_gnu_ld = no; then
13318
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13319
hardcode_libdir_separator_CXX=:
13325
export_dynamic_flag_spec_CXX='${wl}-E'
13331
hardcode_direct_CXX=no
13332
hardcode_shlibpath_var_CXX=no
13335
hardcode_direct_CXX=yes
13336
hardcode_direct_absolute_CXX=yes
13337
hardcode_minus_L_CXX=yes # Not in the search PATH,
13338
# but as the default
13339
# location of the library.
13343
case $cc_basename in
13345
# FIXME: insert proper C++ library support
13351
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13357
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13360
# Commands to make compiler produce verbose output that lists
13361
# what "hidden" libraries, object files and flags are used when
13362
# linking a shared library.
13364
# There doesn't appear to be a way to prevent this compiler from
13365
# explicitly linking system object files so we need to strip them
13366
# from the output so that they don't get included in the library
13368
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"'
13371
if test "$GXX" = yes; then
13372
if test $with_gnu_ld = no; then
13375
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13378
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13381
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'
13386
# FIXME: insert proper C++ library support
13394
hardcode_direct_CXX=no
13395
hardcode_shlibpath_var_CXX=no
13396
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13397
export_dynamic_flag_spec_CXX='${wl}-E'
13398
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13399
# Instead, shared libraries are loaded at an image base (0x10000000 by
13400
# default) and relocated if they conflict, which is a slow very memory
13401
# consuming and fragmenting process. To avoid this, we pick a random,
13402
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13403
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
13404
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'
13405
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'
13408
case $cc_basename in
13411
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'
13413
# Archives containing C++ object files must be created using
13414
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
13415
# necessary to make sure instantiated templates are included
13417
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13420
if test "$GXX" = yes; then
13421
if test "$with_gnu_ld" = no; then
13422
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'
13424
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'
13427
link_all_deplibs_CXX=yes
13430
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13431
hardcode_libdir_separator_CXX=:
13432
inherit_rpath_CXX=yes
13435
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13436
case $cc_basename in
13438
# Kuck and Associates, Inc. (KAI) C++ Compiler
13440
# KCC will only create a shared library if the output file
13441
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13442
# to its proper name (with version) after linking.
13443
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'
13444
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'
13445
# Commands to make compiler produce verbose output that lists
13446
# what "hidden" libraries, object files and flags are used when
13447
# linking a shared library.
13449
# There doesn't appear to be a way to prevent this compiler from
13450
# explicitly linking system object files so we need to strip them
13451
# from the output so that they don't get included in the library
13453
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"'
13455
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13456
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458
# Archives containing C++ object files must be created using
13459
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
13460
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13465
# version 8.0 and above of icpc choke on multiply defined symbols
13466
# if we add $predep_objects and $postdep_objects, however 7.1 and
13467
# earlier do not add the objects themselves.
13468
case `$CC -V 2>&1` in
13470
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13471
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'
13473
*) # Version 8.0 or newer
13476
ia64*) tmp_idyn=' -i_dynamic';;
13478
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13479
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'
13482
archive_cmds_need_lc_CXX=no
13483
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13484
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13485
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13488
# Portland Group C++ compiler
13490
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13491
prelink_cmds_CXX='tpldir=Template.dir~
13493
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13494
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13495
old_archive_cmds_CXX='tpldir=Template.dir~
13497
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13498
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13500
archive_cmds_CXX='tpldir=Template.dir~
13502
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13503
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13504
archive_expsym_cmds_CXX='tpldir=Template.dir~
13506
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13507
$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'
13509
*) # Version 6 and above use weak symbols
13510
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13511
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'
13515
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13516
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13517
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'
13521
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13522
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'
13524
runpath_var=LD_RUN_PATH
13525
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13526
hardcode_libdir_separator_CXX=:
13528
# Commands to make compiler produce verbose output that lists
13529
# what "hidden" libraries, object files and flags are used when
13530
# linking a shared library.
13532
# There doesn't appear to be a way to prevent this compiler from
13533
# explicitly linking system object files so we need to strip them
13534
# from the output so that they don't get included in the library
13536
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'
13538
xl* | mpixl* | bgxl*)
13539
# IBM XL 8.0 on PPC, with GNU ld
13540
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13541
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13542
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13543
if test "x$supports_anon_versioning" = xyes; then
13544
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13545
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13546
echo "local: *; };" >> $output_objdir/$libname.ver~
13547
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13551
case `$CC -V 2>&1 | sed 5q` in
13554
no_undefined_flag_CXX=' -zdefs'
13555
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13556
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'
13557
hardcode_libdir_flag_spec_CXX='-R$libdir'
13558
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'
13559
compiler_needs_object_CXX=yes
13561
# Not sure whether something based on
13562
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13564
output_verbose_link_cmd='func_echo_all'
13566
# Archives containing C++ object files must be created using
13567
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13568
# necessary to make sure instantiated templates are included
13570
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13578
# FIXME: insert proper C++ library support
13583
# FIXME: insert proper C++ library support
13588
case $cc_basename in
13590
# FIXME: insert proper C++ library support
13594
# FIXME: insert proper C++ library support
13601
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13602
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13604
hardcode_libdir_flag_spec_CXX='-R$libdir'
13605
hardcode_direct_CXX=yes
13606
hardcode_shlibpath_var_CXX=no
13608
# Workaround some broken pre-1.5 toolchains
13609
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13617
# C++ shared libraries are fairly broken
13622
if test -f /usr/libexec/ld.so; then
13623
hardcode_direct_CXX=yes
13624
hardcode_shlibpath_var_CXX=no
13625
hardcode_direct_absolute_CXX=yes
13626
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13627
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13628
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13629
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13630
export_dynamic_flag_spec_CXX='${wl}-E'
13631
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13633
output_verbose_link_cmd=func_echo_all
13639
osf3* | osf4* | osf5*)
13640
case $cc_basename in
13642
# Kuck and Associates, Inc. (KAI) C++ Compiler
13644
# KCC will only create a shared library if the output file
13645
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13646
# to its proper name (with version) after linking.
13647
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'
13649
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13650
hardcode_libdir_separator_CXX=:
13652
# Archives containing C++ object files must be created using
13653
# the KAI C++ compiler.
13655
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13656
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13660
# Rational C++ 2.4.1
13661
# FIXME: insert proper C++ library support
13667
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13668
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'
13669
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13672
allow_undefined_flag_CXX=' -expect_unresolved \*'
13673
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'
13674
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13675
echo "-hidden">> $lib.exp~
13676
$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~
13678
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13682
hardcode_libdir_separator_CXX=:
13684
# Commands to make compiler produce verbose output that lists
13685
# what "hidden" libraries, object files and flags are used when
13686
# linking a shared library.
13688
# There doesn't appear to be a way to prevent this compiler from
13689
# explicitly linking system object files so we need to strip them
13690
# from the output so that they don't get included in the library
13692
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"'
13695
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13696
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13699
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'
13702
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'
13706
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13707
hardcode_libdir_separator_CXX=:
13709
# Commands to make compiler produce verbose output that lists
13710
# what "hidden" libraries, object files and flags are used when
13711
# linking a shared library.
13712
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13715
# FIXME: insert proper C++ library support
13723
# FIXME: insert proper C++ library support
13728
case $cc_basename in
13731
# FIXME: insert proper C++ library support
13736
# FIXME: insert proper C++ library support
13740
# FIXME: insert proper C++ library support
13747
case $cc_basename in
13749
# Sun C++ 4.2, 5.x and Centerline C++
13750
archive_cmds_need_lc_CXX=yes
13751
no_undefined_flag_CXX=' -zdefs'
13752
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13753
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13754
$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'
13756
hardcode_libdir_flag_spec_CXX='-R$libdir'
13757
hardcode_shlibpath_var_CXX=no
13759
solaris2.[0-5] | solaris2.[0-5].*) ;;
13761
# The compiler driver will combine and reorder linker options,
13762
# but understands `-z linker_flag'.
13763
# Supported since Solaris 2.6 (maybe 2.5.1?)
13764
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13767
link_all_deplibs_CXX=yes
13769
output_verbose_link_cmd='func_echo_all'
13771
# Archives containing C++ object files must be created using
13772
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13773
# necessary to make sure instantiated templates are included
13775
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13778
# Green Hills C++ Compiler
13779
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13781
# The C++ compiler must be used to create the archive.
13782
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13785
# GNU C++ compiler with Solaris linker
13786
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13787
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13788
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13789
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13790
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13791
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13793
# Commands to make compiler produce verbose output that lists
13794
# what "hidden" libraries, object files and flags are used when
13795
# linking a shared library.
13796
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13798
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13800
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13801
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13802
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13804
# Commands to make compiler produce verbose output that lists
13805
# what "hidden" libraries, object files and flags are used when
13806
# linking a shared library.
13807
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13810
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13812
solaris2.[0-5] | solaris2.[0-5].*) ;;
13814
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13822
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13823
no_undefined_flag_CXX='${wl}-z,text'
13824
archive_cmds_need_lc_CXX=no
13825
hardcode_shlibpath_var_CXX=no
13826
runpath_var='LD_RUN_PATH'
13828
case $cc_basename in
13830
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13831
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13835
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13840
sysv5* | sco3.2v5* | sco5v6*)
13841
# Note: We can NOT use -z defs as we might desire, because we do not
13842
# link with -lc, and that would cause any symbols used from libc to
13843
# always be unresolved, which means just about no library would
13844
# ever link correctly. If we're not using GNU ld we use -z text
13845
# though, which does catch some bad symbols but isn't as heavy-handed
13847
no_undefined_flag_CXX='${wl}-z,text'
13848
allow_undefined_flag_CXX='${wl}-z,nodefs'
13849
archive_cmds_need_lc_CXX=no
13850
hardcode_shlibpath_var_CXX=no
13851
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13852
hardcode_libdir_separator_CXX=':'
13853
link_all_deplibs_CXX=yes
13854
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13855
runpath_var='LD_RUN_PATH'
13857
case $cc_basename in
13859
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13860
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13861
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13862
'"$old_archive_cmds_CXX"
13863
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13864
'"$reload_cmds_CXX"
13867
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13868
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13874
case $cc_basename in
13876
# NonStop-UX NCC 3.20
13877
# FIXME: insert proper C++ library support
13881
# FIXME: insert proper C++ library support
13888
# FIXME: insert proper C++ library support
13893
# FIXME: insert proper C++ library support
13898
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13899
$as_echo "$ld_shlibs_CXX" >&6; }
13900
test "$ld_shlibs_CXX" = no && can_build_shared=no
13906
## There is no encapsulation within the following macros, do not change
13907
## the running order or otherwise move them around unless you know exactly
13908
## what you are doing...
13909
# Dependencies to place before and after the object being linked:
13910
predep_objects_CXX=
13911
postdep_objects_CXX=
13914
compiler_lib_search_path_CXX=
13916
cat > conftest.$ac_ext <<_LT_EOF
13920
Foo (void) { a = 0; }
13927
_lt_libdeps_save_CFLAGS=$CFLAGS
13928
case "$CC $CFLAGS " in #(
13929
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13930
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13931
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13934
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13935
(eval $ac_compile) 2>&5
13937
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13938
test $ac_status = 0; }; then
13939
# Parse the compiler output and extract the necessary
13940
# objects, libraries and library flags.
13942
# Sentinel used to keep track of whether or not we are before
13943
# the conftest object file.
13944
pre_test_object_deps_done=no
13946
for p in `eval "$output_verbose_link_cmd"`; do
13947
case ${prev}${p} in
13950
# Some compilers place space between "-{L,R}" and the path.
13951
# Remove the space.
13952
if test $p = "-L" ||
13953
test $p = "-R"; then
13958
# Expand the sysroot to ease extracting the directories later.
13959
if test -z "$prev"; then
13961
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13962
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13963
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13967
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13969
if test "$pre_test_object_deps_done" = no; then
13972
# Internal compiler library paths should come after those
13973
# provided the user. The postdeps already come after the
13974
# user supplied libs so there is no need to process them.
13975
if test -z "$compiler_lib_search_path_CXX"; then
13976
compiler_lib_search_path_CXX="${prev}${p}"
13978
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13981
# The "-l" case would never come before the object being
13982
# linked, so don't bother handling this case.
13985
if test -z "$postdeps_CXX"; then
13986
postdeps_CXX="${prev}${p}"
13988
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13994
*.lto.$objext) ;; # Ignore GCC LTO objects
13996
# This assumes that the test object file only shows up
13997
# once in the compiler output.
13998
if test "$p" = "conftest.$objext"; then
13999
pre_test_object_deps_done=yes
14003
if test "$pre_test_object_deps_done" = no; then
14004
if test -z "$predep_objects_CXX"; then
14005
predep_objects_CXX="$p"
14007
predep_objects_CXX="$predep_objects_CXX $p"
14010
if test -z "$postdep_objects_CXX"; then
14011
postdep_objects_CXX="$p"
14013
postdep_objects_CXX="$postdep_objects_CXX $p"
14018
*) ;; # Ignore the rest.
14026
echo "libtool.m4: error: problem compiling CXX test program"
14029
$RM -f confest.$objext
14030
CFLAGS=$_lt_libdeps_save_CFLAGS
14032
# PORTME: override above test on systems where it is broken
14035
# Interix 3.5 installs completely hosed .la files for C++, so rather than
14036
# hack all around it, let's just trust "g++" to DTRT.
14037
predep_objects_CXX=
14038
postdep_objects_CXX=
14043
case `$CC -V 2>&1 | sed 5q` in
14047
# The more standards-conforming stlport4 library is
14048
# incompatible with the Cstd library. Avoid specifying
14049
# it if it's in CXXFLAGS. Ignore libCrun as
14050
# -library=stlport4 depends on it.
14051
case " $CXX $CXXFLAGS " in
14052
*" -library=stlport4 "*)
14053
solaris_use_stlport4=yes
14057
if test "$solaris_use_stlport4" != yes; then
14058
postdeps_CXX='-library=Cstd -library=Crun'
14065
case $cc_basename in
14067
# The more standards-conforming stlport4 library is
14068
# incompatible with the Cstd library. Avoid specifying
14069
# it if it's in CXXFLAGS. Ignore libCrun as
14070
# -library=stlport4 depends on it.
14071
case " $CXX $CXXFLAGS " in
14072
*" -library=stlport4 "*)
14073
solaris_use_stlport4=yes
14077
# Adding this requires a known-good setup of shared libraries for
14078
# Sun compiler versions before 5.6, else PIC objects from an old
14079
# archive will be linked into the output, leading to subtle bugs.
14080
if test "$solaris_use_stlport4" != yes; then
14081
postdeps_CXX='-library=Cstd -library=Crun'
14089
case " $postdeps_CXX " in
14090
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
14092
compiler_lib_search_dirs_CXX=
14093
if test -n "${compiler_lib_search_path_CXX}"; then
14094
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14127
lt_prog_compiler_wl_CXX=
14128
lt_prog_compiler_pic_CXX=
14129
lt_prog_compiler_static_CXX=
14132
# C++ specific cases for pic, static, wl, etc.
14133
if test "$GXX" = yes; then
14134
lt_prog_compiler_wl_CXX='-Wl,'
14135
lt_prog_compiler_static_CXX='-static'
14139
# All AIX code is PIC.
14140
if test "$host_cpu" = ia64; then
14141
# AIX 5 now supports IA64 processor
14142
lt_prog_compiler_static_CXX='-Bstatic'
14149
# see comment about AmigaOS4 .so support
14150
lt_prog_compiler_pic_CXX='-fPIC'
14153
# FIXME: we need at least 68020 code to build shared libraries, but
14154
# adding the `-m68020' flag to GCC prevents building anything better,
14156
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14161
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14162
# PIC is the default for these OSes.
14164
mingw* | cygwin* | os2* | pw32* | cegcc*)
14165
# This hack is so that the source file can tell whether it is being
14166
# built for inclusion in a dll (and should export symbols for example).
14167
# Although the cygwin gcc ignores -fPIC, still need this for old-style
14168
# (--disable-auto-import) libraries
14169
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14171
darwin* | rhapsody*)
14172
# PIC is the default on this platform
14173
# Common symbols not allowed in MH_DYLIB files
14174
lt_prog_compiler_pic_CXX='-fno-common'
14177
# DJGPP does not support shared libraries at all
14178
lt_prog_compiler_pic_CXX=
14181
# PIC is the default for Haiku.
14182
# The "-static" flag exists, but is broken.
14183
lt_prog_compiler_static_CXX=
14186
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
14187
# Instead, we relocate shared libraries at runtime.
14190
if test -d /usr/nec; then
14191
lt_prog_compiler_pic_CXX=-Kconform_pic
14195
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14196
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14197
# sets the default TLS model and affects inlining.
14202
lt_prog_compiler_pic_CXX='-fPIC'
14207
# QNX uses GNU C++, but need to define -shared option too, otherwise
14208
# it will coredump.
14209
lt_prog_compiler_pic_CXX='-fPIC -shared'
14212
lt_prog_compiler_pic_CXX='-fPIC'
14218
# All AIX code is PIC.
14219
if test "$host_cpu" = ia64; then
14220
# AIX 5 now supports IA64 processor
14221
lt_prog_compiler_static_CXX='-Bstatic'
14223
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14227
case $cc_basename in
14229
# Green Hills C++ Compiler
14230
# _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"
14234
mingw* | cygwin* | os2* | pw32* | cegcc*)
14235
# This hack is so that the source file can tell whether it is being
14236
# built for inclusion in a dll (and should export symbols for example).
14237
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14240
case $cc_basename in
14242
lt_prog_compiler_pic_CXX='-KPIC'
14245
# Green Hills C++ Compiler
14246
lt_prog_compiler_pic_CXX='-pic'
14252
freebsd* | dragonfly*)
14253
# FreeBSD uses GNU C++
14255
hpux9* | hpux10* | hpux11*)
14256
case $cc_basename in
14258
lt_prog_compiler_wl_CXX='-Wl,'
14259
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14260
if test "$host_cpu" != ia64; then
14261
lt_prog_compiler_pic_CXX='+Z'
14265
lt_prog_compiler_wl_CXX='-Wl,'
14266
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14272
lt_prog_compiler_pic_CXX='+Z'
14281
# This is c89, which is MS Visual C++ (no shared libs)
14282
# Anyone wants to do a port?
14284
irix5* | irix6* | nonstopux*)
14285
case $cc_basename in
14287
lt_prog_compiler_wl_CXX='-Wl,'
14288
lt_prog_compiler_static_CXX='-non_shared'
14289
# CC pic flag -KPIC is the default.
14295
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14296
case $cc_basename in
14299
lt_prog_compiler_wl_CXX='--backend -Wl,'
14300
lt_prog_compiler_pic_CXX='-fPIC'
14303
# old Intel C++ for x86_64 which still supported -KPIC.
14304
lt_prog_compiler_wl_CXX='-Wl,'
14305
lt_prog_compiler_pic_CXX='-KPIC'
14306
lt_prog_compiler_static_CXX='-static'
14309
# Intel C++, used to be incompatible with GCC.
14310
# ICC 10 doesn't accept -KPIC any more.
14311
lt_prog_compiler_wl_CXX='-Wl,'
14312
lt_prog_compiler_pic_CXX='-fPIC'
14313
lt_prog_compiler_static_CXX='-static'
14316
# Portland Group C++ compiler
14317
lt_prog_compiler_wl_CXX='-Wl,'
14318
lt_prog_compiler_pic_CXX='-fpic'
14319
lt_prog_compiler_static_CXX='-Bstatic'
14323
# Make sure the PIC flag is empty. It appears that all Alpha
14324
# Linux and Compaq Tru64 Unix objects are PIC.
14325
lt_prog_compiler_pic_CXX=
14326
lt_prog_compiler_static_CXX='-non_shared'
14328
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14329
# IBM XL 8.0, 9.0 on PPC and BlueGene
14330
lt_prog_compiler_wl_CXX='-Wl,'
14331
lt_prog_compiler_pic_CXX='-qpic'
14332
lt_prog_compiler_static_CXX='-qstaticlink'
14335
case `$CC -V 2>&1 | sed 5q` in
14338
lt_prog_compiler_pic_CXX='-KPIC'
14339
lt_prog_compiler_static_CXX='-Bstatic'
14340
lt_prog_compiler_wl_CXX='-Qoption ld '
14351
case $cc_basename in
14353
lt_prog_compiler_pic_CXX='-W c,exportall'
14359
netbsd* | netbsdelf*-gnu)
14362
# QNX uses GNU C++, but need to define -shared option too, otherwise
14363
# it will coredump.
14364
lt_prog_compiler_pic_CXX='-fPIC -shared'
14366
osf3* | osf4* | osf5*)
14367
case $cc_basename in
14369
lt_prog_compiler_wl_CXX='--backend -Wl,'
14372
# Rational C++ 2.4.1
14373
lt_prog_compiler_pic_CXX='-pic'
14376
# Digital/Compaq C++
14377
lt_prog_compiler_wl_CXX='-Wl,'
14378
# Make sure the PIC flag is empty. It appears that all Alpha
14379
# Linux and Compaq Tru64 Unix objects are PIC.
14380
lt_prog_compiler_pic_CXX=
14381
lt_prog_compiler_static_CXX='-non_shared'
14390
case $cc_basename in
14392
# Sun C++ 4.2, 5.x and Centerline C++
14393
lt_prog_compiler_pic_CXX='-KPIC'
14394
lt_prog_compiler_static_CXX='-Bstatic'
14395
lt_prog_compiler_wl_CXX='-Qoption ld '
14398
# Green Hills C++ Compiler
14399
lt_prog_compiler_pic_CXX='-PIC'
14406
case $cc_basename in
14409
lt_prog_compiler_pic_CXX='-pic'
14410
lt_prog_compiler_static_CXX='-Bstatic'
14414
lt_prog_compiler_pic_CXX='-pic'
14420
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14421
case $cc_basename in
14423
lt_prog_compiler_wl_CXX='-Wl,'
14424
lt_prog_compiler_pic_CXX='-KPIC'
14425
lt_prog_compiler_static_CXX='-Bstatic'
14430
case $cc_basename in
14432
# NonStop-UX NCC 3.20
14433
lt_prog_compiler_pic_CXX='-KPIC'
14442
lt_prog_compiler_can_build_shared_CXX=no
14448
# For platforms which do not support PIC, -DPIC is meaningless:
14450
lt_prog_compiler_pic_CXX=
14453
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14457
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14458
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14459
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14460
$as_echo_n "(cached) " >&6
14462
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14464
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14465
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14466
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14469
# Check to make sure the PIC flag actually works.
14471
if test -n "$lt_prog_compiler_pic_CXX"; then
14472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14473
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14474
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14475
$as_echo_n "(cached) " >&6
14477
lt_cv_prog_compiler_pic_works_CXX=no
14478
ac_outfile=conftest.$ac_objext
14479
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14480
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14481
# Insert the option either (1) after the last *FLAGS variable, or
14482
# (2) before a word containing "conftest.", or (3) at the end.
14483
# Note that $ac_compile itself does not contain backslashes and begins
14484
# with a dollar sign (not a hyphen), so the echo should work correctly.
14485
# The option is referenced via a variable to avoid confusing sed.
14486
lt_compile=`echo "$ac_compile" | $SED \
14487
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14488
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14489
-e 's:$: $lt_compiler_flag:'`
14490
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14491
(eval "$lt_compile" 2>conftest.err)
14493
cat conftest.err >&5
14494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495
if (exit $ac_status) && test -s "$ac_outfile"; then
14496
# The compiler can only warn and ignore the option if not recognized
14497
# So say no if there are warnings other than the usual output.
14498
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14499
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14500
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14501
lt_cv_prog_compiler_pic_works_CXX=yes
14507
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14508
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14510
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14511
case $lt_prog_compiler_pic_CXX in
14513
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14516
lt_prog_compiler_pic_CXX=
14517
lt_prog_compiler_can_build_shared_CXX=no
14527
# Check to make sure the static flag actually works.
14529
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14530
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14531
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14532
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14533
$as_echo_n "(cached) " >&6
14535
lt_cv_prog_compiler_static_works_CXX=no
14536
save_LDFLAGS="$LDFLAGS"
14537
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14538
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14539
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14540
# The linker can only warn and ignore the option if not recognized
14541
# So say no if there are warnings
14542
if test -s conftest.err; then
14543
# Append any errors to the config.log.
14544
cat conftest.err 1>&5
14545
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14546
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14547
if diff conftest.exp conftest.er2 >/dev/null; then
14548
lt_cv_prog_compiler_static_works_CXX=yes
14551
lt_cv_prog_compiler_static_works_CXX=yes
14555
LDFLAGS="$save_LDFLAGS"
14558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14559
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14561
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14564
lt_prog_compiler_static_CXX=
14570
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14571
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14572
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14573
$as_echo_n "(cached) " >&6
14575
lt_cv_prog_compiler_c_o_CXX=no
14576
$RM -r conftest 2>/dev/null
14580
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14582
lt_compiler_flag="-o out/conftest2.$ac_objext"
14583
# Insert the option either (1) after the last *FLAGS variable, or
14584
# (2) before a word containing "conftest.", or (3) at the end.
14585
# Note that $ac_compile itself does not contain backslashes and begins
14586
# with a dollar sign (not a hyphen), so the echo should work correctly.
14587
lt_compile=`echo "$ac_compile" | $SED \
14588
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14589
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14590
-e 's:$: $lt_compiler_flag:'`
14591
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14592
(eval "$lt_compile" 2>out/conftest.err)
14594
cat out/conftest.err >&5
14595
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14598
# The compiler can only warn and ignore the option if not recognized
14599
# So say no if there are warnings
14600
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14601
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14602
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14603
lt_cv_prog_compiler_c_o_CXX=yes
14608
# SGI C++ compiler will create directory out/ii_files/ for
14609
# template instantiation
14610
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14611
$RM out/* && rmdir out
14617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14618
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14622
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14623
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14624
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14625
$as_echo_n "(cached) " >&6
14627
lt_cv_prog_compiler_c_o_CXX=no
14628
$RM -r conftest 2>/dev/null
14632
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14634
lt_compiler_flag="-o out/conftest2.$ac_objext"
14635
# Insert the option either (1) after the last *FLAGS variable, or
14636
# (2) before a word containing "conftest.", or (3) at the end.
14637
# Note that $ac_compile itself does not contain backslashes and begins
14638
# with a dollar sign (not a hyphen), so the echo should work correctly.
14639
lt_compile=`echo "$ac_compile" | $SED \
14640
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14641
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14642
-e 's:$: $lt_compiler_flag:'`
14643
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14644
(eval "$lt_compile" 2>out/conftest.err)
14646
cat out/conftest.err >&5
14647
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14650
# The compiler can only warn and ignore the option if not recognized
14651
# So say no if there are warnings
14652
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14653
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14654
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14655
lt_cv_prog_compiler_c_o_CXX=yes
14660
# SGI C++ compiler will create directory out/ii_files/ for
14661
# template instantiation
14662
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14663
$RM out/* && rmdir out
14669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14670
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14675
hard_links="nottested"
14676
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14677
# do not overwrite the value of need_locks provided by the user
14678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14679
$as_echo_n "checking if we can lock with hard links... " >&6; }
14682
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14684
ln conftest.a conftest.b 2>&5 || hard_links=no
14685
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14686
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14687
$as_echo "$hard_links" >&6; }
14688
if test "$hard_links" = no; then
14689
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14690
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14699
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14700
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14702
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14703
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14706
# If we're using GNU nm, then we don't want the "-C" option.
14707
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14708
# Also, AIX nm treats weak defined symbols like other global defined
14709
# symbols, whereas GNU nm marks them as "W".
14710
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14711
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'
14713
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'
14717
export_symbols_cmds_CXX="$ltdll_cmds"
14719
cygwin* | mingw* | cegcc*)
14720
case $cc_basename in
14722
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14725
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'
14726
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14730
linux* | k*bsd*-gnu | gnu*)
14731
link_all_deplibs_CXX=no
14734
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14738
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14739
$as_echo "$ld_shlibs_CXX" >&6; }
14740
test "$ld_shlibs_CXX" = no && can_build_shared=no
14742
with_gnu_ld_CXX=$with_gnu_ld
14750
# Do we need to explicitly link libc?
14752
case "x$archive_cmds_need_lc_CXX" in
14754
# Assume -lc should be added
14755
archive_cmds_need_lc_CXX=yes
14757
if test "$enable_shared" = yes && test "$GCC" = yes; then
14758
case $archive_cmds_CXX in
14760
# FIXME: we may have to deal with multi-command sequences.
14763
# Test whether the compiler implicitly links with -lc since on some
14764
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14765
# to ld, don't add -lc before -lgcc.
14766
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14767
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14768
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14769
$as_echo_n "(cached) " >&6
14772
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14774
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14775
(eval $ac_compile) 2>&5
14777
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14778
test $ac_status = 0; } 2>conftest.err; then
14781
libobjs=conftest.$ac_objext
14783
wl=$lt_prog_compiler_wl_CXX
14784
pic_flag=$lt_prog_compiler_pic_CXX
14790
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14791
allow_undefined_flag_CXX=
14792
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14793
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14795
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14796
test $ac_status = 0; }
14798
lt_cv_archive_cmds_need_lc_CXX=no
14800
lt_cv_archive_cmds_need_lc_CXX=yes
14802
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14804
cat conftest.err 1>&5
14809
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14810
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14811
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14880
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14882
library_names_spec=
14883
libname_spec='lib$name'
14887
postuninstall_cmds=
14891
shlibpath_overrides_runpath=unknown
14893
dynamic_linker="$host_os ld.so"
14894
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14895
need_lib_prefix=unknown
14896
hardcode_into_libs=no
14898
# when you set need_version to no, make sure it does not cause -set_version
14899
# flags to be left without arguments
14900
need_version=unknown
14904
version_type=linux # correct to gnu/linux during the next big refactor
14905
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14906
shlibpath_var=LIBPATH
14908
# AIX 3 has no versioning support, so we append a major version to the name.
14909
soname_spec='${libname}${release}${shared_ext}$major'
14913
version_type=linux # correct to gnu/linux during the next big refactor
14916
hardcode_into_libs=yes
14917
if test "$host_cpu" = ia64; then
14918
# AIX 5 supports IA64
14919
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14920
shlibpath_var=LD_LIBRARY_PATH
14922
# With GCC up to 2.95.x, collect2 would create an import file
14923
# for dependence libraries. The import file would start with
14924
# the line `#! .'. This would cause the generated library to
14925
# depend on `.', always an invalid library. This was fixed in
14926
# development snapshots of GCC prior to 3.0.
14928
aix4 | aix4.[01] | aix4.[01].*)
14929
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14931
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14934
can_build_shared=no
14938
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14939
# soname into executable. Probably we can add versioning support to
14940
# collect2, so additional links can be useful in future.
14941
if test "$aix_use_runtimelinking" = yes; then
14942
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14943
# instead of lib<name>.a to let people know that these are not
14944
# typical AIX shared libraries.
14945
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14947
# We preserve .a as extension for shared libraries through AIX4.2
14948
# and later when we are not doing run time linking.
14949
library_names_spec='${libname}${release}.a $libname.a'
14950
soname_spec='${libname}${release}${shared_ext}$major'
14952
shlibpath_var=LIBPATH
14959
# Since July 2007 AmigaOS4 officially supports .so libraries.
14960
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14961
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14964
library_names_spec='$libname.ixlibrary $libname.a'
14965
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14966
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'
14972
library_names_spec='${libname}${shared_ext}'
14973
dynamic_linker="$host_os ld.so"
14974
shlibpath_var=LIBRARY_PATH
14978
version_type=linux # correct to gnu/linux during the next big refactor
14980
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14981
soname_spec='${libname}${release}${shared_ext}$major'
14982
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14983
shlibpath_var=LD_LIBRARY_PATH
14984
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14985
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14986
# the default ld.so.conf also contains /usr/contrib/lib and
14987
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14988
# libtool to hard-code these into programs
14991
cygwin* | mingw* | pw32* | cegcc*)
14992
version_type=windows
14997
case $GCC,$cc_basename in
15000
library_names_spec='$libname.dll.a'
15001
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15002
postinstall_cmds='base_file=`basename \${file}`~
15003
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15004
dldir=$destdir/`dirname \$dlpath`~
15005
test -d \$dldir || mkdir -p \$dldir~
15006
$install_prog $dir/$dlname \$dldir/$dlname~
15007
chmod a+x \$dldir/$dlname~
15008
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15009
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15011
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15012
dlpath=$dir/\$dldll~
15014
shlibpath_overrides_runpath=yes
15018
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
15019
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15023
# MinGW DLLs use traditional 'lib' prefix
15024
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15027
# pw32 DLLs use 'pw' prefix rather than 'lib'
15028
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15031
dynamic_linker='Win32 ld.exe'
15036
libname_spec='$name'
15037
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15038
library_names_spec='${libname}.dll.lib'
15042
sys_lib_search_path_spec=
15045
for lt_path in $LIB
15048
# Let DOS variable expansion print the short 8.3 style file name.
15049
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
15050
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
15053
# Convert to MSYS style.
15054
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
15057
# Convert to unix form, then to dos form, then back to unix form
15058
# but this time dos style (no spaces!) so that the unix form looks
15059
# like /cygdrive/c/PROGRA~1:/cygdr...
15060
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
15061
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
15062
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15065
sys_lib_search_path_spec="$LIB"
15066
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
15067
# It is most probably a Windows format PATH.
15068
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15070
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
15072
# FIXME: find the short name or the path components, as spaces are
15073
# common. (e.g. "Program Files" -> "PROGRA~1")
15077
# DLL is installed to $(libdir)/../bin by postinstall_cmds
15078
postinstall_cmds='base_file=`basename \${file}`~
15079
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15080
dldir=$destdir/`dirname \$dlpath`~
15081
test -d \$dldir || mkdir -p \$dldir~
15082
$install_prog $dir/$dlname \$dldir/$dlname'
15083
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15084
dlpath=$dir/\$dldll~
15086
shlibpath_overrides_runpath=yes
15087
dynamic_linker='Win32 link.exe'
15091
# Assume MSVC wrapper
15092
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15093
dynamic_linker='Win32 ld.exe'
15096
# FIXME: first we should search . and the directory the executable is in
15100
darwin* | rhapsody*)
15101
dynamic_linker="$host_os dyld"
15102
version_type=darwin
15105
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15106
soname_spec='${libname}${release}${major}$shared_ext'
15107
shlibpath_overrides_runpath=yes
15108
shlibpath_var=DYLD_LIBRARY_PATH
15109
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15111
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15115
version_type=linux # correct to gnu/linux during the next big refactor
15118
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15119
soname_spec='${libname}${release}${shared_ext}$major'
15120
shlibpath_var=LD_LIBRARY_PATH
15123
freebsd* | dragonfly*)
15124
# DragonFly does not have aout. When/if they implement a new
15125
# versioning mechanism, adjust this.
15126
if test -x /usr/bin/objformat; then
15127
objformat=`/usr/bin/objformat`
15130
freebsd[23].*) objformat=aout ;;
15131
*) objformat=elf ;;
15134
version_type=freebsd-$objformat
15135
case $version_type in
15137
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15142
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15146
shlibpath_var=LD_LIBRARY_PATH
15149
shlibpath_overrides_runpath=yes
15151
freebsd3.[01]* | freebsdelf3.[01]*)
15152
shlibpath_overrides_runpath=yes
15153
hardcode_into_libs=yes
15155
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15156
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15157
shlibpath_overrides_runpath=no
15158
hardcode_into_libs=yes
15160
*) # from 4.6 on, and DragonFly
15161
shlibpath_overrides_runpath=yes
15162
hardcode_into_libs=yes
15168
version_type=linux # correct to gnu/linux during the next big refactor
15171
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15172
soname_spec='${libname}${release}${shared_ext}$major'
15173
shlibpath_var=LD_LIBRARY_PATH
15174
shlibpath_overrides_runpath=no
15175
hardcode_into_libs=yes
15179
version_type=linux # correct to gnu/linux during the next big refactor
15182
dynamic_linker="$host_os runtime_loader"
15183
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15184
soname_spec='${libname}${release}${shared_ext}$major'
15185
shlibpath_var=LIBRARY_PATH
15186
shlibpath_overrides_runpath=yes
15187
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15188
hardcode_into_libs=yes
15191
hpux9* | hpux10* | hpux11*)
15192
# Give a soname corresponding to the major version so that dld.sl refuses to
15193
# link against other versions.
15200
hardcode_into_libs=yes
15201
dynamic_linker="$host_os dld.so"
15202
shlibpath_var=LD_LIBRARY_PATH
15203
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15204
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15205
soname_spec='${libname}${release}${shared_ext}$major'
15206
if test "X$HPUX_IA64_MODE" = X32; then
15207
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15209
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15211
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15215
hardcode_into_libs=yes
15216
dynamic_linker="$host_os dld.sl"
15217
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15218
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15219
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15220
soname_spec='${libname}${release}${shared_ext}$major'
15221
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15222
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15226
dynamic_linker="$host_os dld.sl"
15227
shlibpath_var=SHLIB_PATH
15228
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15229
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15230
soname_spec='${libname}${release}${shared_ext}$major'
15233
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15234
postinstall_cmds='chmod 555 $lib'
15235
# or fails outright, so override atomically:
15236
install_override_mode=555
15240
version_type=linux # correct to gnu/linux during the next big refactor
15243
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15244
soname_spec='${libname}${release}${shared_ext}$major'
15245
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15246
shlibpath_var=LD_LIBRARY_PATH
15247
shlibpath_overrides_runpath=no
15248
hardcode_into_libs=yes
15251
irix5* | irix6* | nonstopux*)
15253
nonstopux*) version_type=nonstopux ;;
15255
if test "$lt_cv_prog_gnu_ld" = yes; then
15256
version_type=linux # correct to gnu/linux during the next big refactor
15263
soname_spec='${libname}${release}${shared_ext}$major'
15264
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15266
irix5* | nonstopux*)
15267
libsuff= shlibsuff=
15270
case $LD in # libtool.m4 will add one of these switches to LD
15271
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15272
libsuff= shlibsuff= libmagic=32-bit;;
15273
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15274
libsuff=32 shlibsuff=N32 libmagic=N32;;
15275
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15276
libsuff=64 shlibsuff=64 libmagic=64-bit;;
15277
*) libsuff= shlibsuff= libmagic=never-match;;
15281
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15282
shlibpath_overrides_runpath=no
15283
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15284
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15285
hardcode_into_libs=yes
15288
# No shared lib support for Linux oldld, aout, or coff.
15289
linux*oldld* | linux*aout* | linux*coff*)
15293
# This must be glibc/ELF.
15294
linux* | k*bsd*-gnu | kopensolaris*-gnu)
15295
version_type=linux # correct to gnu/linux during the next big refactor
15298
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15299
soname_spec='${libname}${release}${shared_ext}$major'
15300
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15301
shlibpath_var=LD_LIBRARY_PATH
15302
shlibpath_overrides_runpath=no
15304
# Some binutils ld are patched to set DT_RUNPATH
15305
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15306
$as_echo_n "(cached) " >&6
15308
lt_cv_shlibpath_overrides_runpath=no
15309
save_LDFLAGS=$LDFLAGS
15310
save_libdir=$libdir
15311
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15312
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15313
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314
/* end confdefs.h. */
15324
if ac_fn_cxx_try_link "$LINENO"; then :
15325
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15326
lt_cv_shlibpath_overrides_runpath=yes
15329
rm -f core conftest.err conftest.$ac_objext \
15330
conftest$ac_exeext conftest.$ac_ext
15331
LDFLAGS=$save_LDFLAGS
15332
libdir=$save_libdir
15336
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15338
# This implies no fast_install, which is unacceptable.
15339
# Some rework will be needed to allow for fast_install
15340
# before this can be enabled.
15341
hardcode_into_libs=yes
15343
# Append ld.so.conf contents to the search path
15344
if test -f /etc/ld.so.conf; then
15345
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' ' '`
15346
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15349
# We used to test for /lib/ld.so.1 and disable shared libraries on
15350
# powerpc, because MkLinux only supported shared libraries with the
15351
# GNU dynamic linker. Since this was broken with cross compilers,
15352
# most powerpc-linux boxes support dynamic linking these days and
15353
# people can always --disable-shared, the test was removed, and we
15354
# assume the GNU/Linux dynamic linker is in use.
15355
dynamic_linker='GNU/Linux ld.so'
15362
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15363
soname_spec='${libname}${release}${shared_ext}$major'
15364
shlibpath_var=LD_LIBRARY_PATH
15365
shlibpath_overrides_runpath=no
15366
hardcode_into_libs=yes
15367
dynamic_linker='NetBSD ld.elf_so'
15374
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15375
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15376
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15377
dynamic_linker='NetBSD (a.out) ld.so'
15379
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15380
soname_spec='${libname}${release}${shared_ext}$major'
15381
dynamic_linker='NetBSD ld.elf_so'
15383
shlibpath_var=LD_LIBRARY_PATH
15384
shlibpath_overrides_runpath=yes
15385
hardcode_into_libs=yes
15389
version_type=linux # correct to gnu/linux during the next big refactor
15390
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15391
shlibpath_var=LD_LIBRARY_PATH
15392
shlibpath_overrides_runpath=yes
15399
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15400
soname_spec='${libname}${release}${shared_ext}$major'
15401
shlibpath_var=LD_LIBRARY_PATH
15402
shlibpath_overrides_runpath=no
15403
hardcode_into_libs=yes
15404
dynamic_linker='ldqnx.so'
15409
sys_lib_dlsearch_path_spec="/usr/lib"
15411
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15413
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15414
*) need_version=no ;;
15416
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15417
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15418
shlibpath_var=LD_LIBRARY_PATH
15419
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15421
openbsd2.[89] | openbsd2.[89].*)
15422
shlibpath_overrides_runpath=no
15425
shlibpath_overrides_runpath=yes
15429
shlibpath_overrides_runpath=yes
15434
libname_spec='$name'
15437
library_names_spec='$libname${shared_ext} $libname.a'
15438
dynamic_linker='OS/2 ld.exe'
15439
shlibpath_var=LIBPATH
15442
osf3* | osf4* | osf5*)
15446
soname_spec='${libname}${release}${shared_ext}$major'
15447
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15448
shlibpath_var=LD_LIBRARY_PATH
15449
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15450
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15458
version_type=linux # correct to gnu/linux during the next big refactor
15461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15462
soname_spec='${libname}${release}${shared_ext}$major'
15463
shlibpath_var=LD_LIBRARY_PATH
15464
shlibpath_overrides_runpath=yes
15465
hardcode_into_libs=yes
15466
# ldd complains unless libraries are executable
15467
postinstall_cmds='chmod +x $lib'
15472
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15473
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15474
shlibpath_var=LD_LIBRARY_PATH
15475
shlibpath_overrides_runpath=yes
15476
if test "$with_gnu_ld" = yes; then
15483
version_type=linux # correct to gnu/linux during the next big refactor
15484
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15485
soname_spec='${libname}${release}${shared_ext}$major'
15486
shlibpath_var=LD_LIBRARY_PATH
15487
case $host_vendor in
15489
shlibpath_overrides_runpath=no
15491
runpath_var=LD_RUN_PATH
15499
shlibpath_overrides_runpath=no
15500
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15506
if test -d /usr/nec ;then
15507
version_type=linux # correct to gnu/linux during the next big refactor
15508
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15509
soname_spec='$libname${shared_ext}.$major'
15510
shlibpath_var=LD_LIBRARY_PATH
15514
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15515
version_type=freebsd-elf
15518
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15519
soname_spec='${libname}${release}${shared_ext}$major'
15520
shlibpath_var=LD_LIBRARY_PATH
15521
shlibpath_overrides_runpath=yes
15522
hardcode_into_libs=yes
15523
if test "$with_gnu_ld" = yes; then
15524
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15526
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15529
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15533
sys_lib_dlsearch_path_spec='/usr/lib'
15537
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15538
version_type=linux # correct to gnu/linux during the next big refactor
15541
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15542
shlibpath_var=LD_LIBRARY_PATH
15543
shlibpath_overrides_runpath=no
15544
hardcode_into_libs=yes
15548
version_type=linux # correct to gnu/linux during the next big refactor
15549
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15550
soname_spec='${libname}${release}${shared_ext}$major'
15551
shlibpath_var=LD_LIBRARY_PATH
15558
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15559
$as_echo "$dynamic_linker" >&6; }
15560
test "$dynamic_linker" = no && can_build_shared=no
15562
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15563
if test "$GCC" = yes; then
15564
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15567
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15568
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15570
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15571
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15612
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15613
hardcode_action_CXX=
15614
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15615
test -n "$runpath_var_CXX" ||
15616
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15618
# We can hardcode non-existent directories.
15619
if test "$hardcode_direct_CXX" != no &&
15620
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15621
# have to relink, otherwise we might link with an installed library
15622
# when we should be linking with a yet-to-be-installed one
15623
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15624
test "$hardcode_minus_L_CXX" != no; then
15625
# Linking always hardcodes the temporary library directory.
15626
hardcode_action_CXX=relink
15628
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15629
hardcode_action_CXX=immediate
15632
# We cannot hardcode anything, or else we can only hardcode existing
15634
hardcode_action_CXX=unsupported
15636
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15637
$as_echo "$hardcode_action_CXX" >&6; }
15639
if test "$hardcode_action_CXX" = relink ||
15640
test "$inherit_rpath_CXX" = yes; then
15641
# Fast installation is not supported
15642
enable_fast_install=no
15643
elif test "$shlibpath_overrides_runpath" = yes ||
15644
test "$enable_shared" = no; then
15645
# Fast installation is not necessary
15646
enable_fast_install=needless
15655
fi # test -n "$compiler"
15658
CFLAGS=$lt_save_CFLAGS
15662
with_gnu_ld=$lt_save_with_gnu_ld
15663
lt_cv_path_LDCXX=$lt_cv_path_LD
15664
lt_cv_path_LD=$lt_save_path_LD
15665
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15666
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15667
fi # test "$_lt_caught_CXX_error" != yes
15670
ac_cpp='$CPP $CPPFLAGS'
15671
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15672
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15673
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15683
if test -n "$PYTHON"; then
15684
# If the user set $PYTHON, use it and don't search something else.
15685
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.6" >&5
15686
$as_echo_n "checking whether $PYTHON version >= 2.6... " >&6; }
15688
# split strings by '.' and convert to numeric. Append some zeros
15689
# because we need at least 4 digits for the hex conversion.
15690
# map returns an iterator in Python 3.0 and a list in 2.x
15691
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
15693
# xrange is not present in Python 3.0 and range returns an iterator
15694
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
15695
sys.exit(sys.hexversion < minverhex)"
15696
if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
15697
($PYTHON -c "$prog") >&5 2>&5
15699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700
(exit $ac_status); }; then :
15701
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15702
$as_echo "yes" >&6; }
15704
as_fn_error $? "too old" "$LINENO" 5
15706
am_display_PYTHON=$PYTHON
15708
# Otherwise, try each interpreter until we find one that satisfies
15710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.6" >&5
15711
$as_echo_n "checking for a Python interpreter with version >= 2.6... " >&6; }
15712
if ${am_cv_pathless_PYTHON+:} false; then :
15713
$as_echo_n "(cached) " >&6
15716
for am_cv_pathless_PYTHON in python python2 python3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
15717
test "$am_cv_pathless_PYTHON" = none && break
15719
# split strings by '.' and convert to numeric. Append some zeros
15720
# because we need at least 4 digits for the hex conversion.
15721
# map returns an iterator in Python 3.0 and a list in 2.x
15722
minver = list(map(int, '2.6'.split('.'))) + [0, 0, 0]
15724
# xrange is not present in Python 3.0 and range returns an iterator
15725
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
15726
sys.exit(sys.hexversion < minverhex)"
15727
if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
15728
($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
15730
echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731
(exit $ac_status); }; then :
15736
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
15737
$as_echo "$am_cv_pathless_PYTHON" >&6; }
15738
# Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
15739
if test "$am_cv_pathless_PYTHON" = none; then
15742
# Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
15743
set dummy $am_cv_pathless_PYTHON; ac_word=$2
15744
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15745
$as_echo_n "checking for $ac_word... " >&6; }
15746
if ${ac_cv_path_PYTHON+:} false; then :
15747
$as_echo_n "(cached) " >&6
15751
ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
15754
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15755
for as_dir in $PATH
15758
test -z "$as_dir" && as_dir=.
15759
for ac_exec_ext in '' $ac_executable_extensions; do
15760
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15761
ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
15762
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15772
PYTHON=$ac_cv_path_PYTHON
15773
if test -n "$PYTHON"; then
15774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
15775
$as_echo "$PYTHON" >&6; }
15777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15778
$as_echo "no" >&6; }
15783
am_display_PYTHON=$am_cv_pathless_PYTHON
15787
if test "$PYTHON" = :; then
15788
as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
15792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
15793
$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
15794
if ${am_cv_python_version+:} false; then :
15795
$as_echo_n "(cached) " >&6
15797
am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
15799
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
15800
$as_echo "$am_cv_python_version" >&6; }
15801
PYTHON_VERSION=$am_cv_python_version
15805
PYTHON_PREFIX='${prefix}'
15807
PYTHON_EXEC_PREFIX='${exec_prefix}'
15811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
15812
$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
15813
if ${am_cv_python_platform+:} false; then :
15814
$as_echo_n "(cached) " >&6
15816
am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
15818
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
15819
$as_echo "$am_cv_python_platform" >&6; }
15820
PYTHON_PLATFORM=$am_cv_python_platform
15825
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
15826
$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
15827
if ${am_cv_python_pythondir+:} false; then :
15828
$as_echo_n "(cached) " >&6
15830
if test "x$prefix" = xNONE
15832
am_py_prefix=$ac_default_prefix
15834
am_py_prefix=$prefix
15836
am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null`
15837
case $am_cv_python_pythondir in
15839
am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
15840
am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
15843
case $am_py_prefix in
15846
am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
15853
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
15854
$as_echo "$am_cv_python_pythondir" >&6; }
15855
pythondir=$am_cv_python_pythondir
15859
pkgpythondir=\${pythondir}/$PACKAGE
15862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
15863
$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
15864
if ${am_cv_python_pyexecdir+:} false; then :
15865
$as_echo_n "(cached) " >&6
15867
if test "x$exec_prefix" = xNONE
15869
am_py_exec_prefix=$am_py_prefix
15871
am_py_exec_prefix=$exec_prefix
15873
am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null`
15874
case $am_cv_python_pyexecdir in
15875
$am_py_exec_prefix*)
15876
am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
15877
am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
15880
case $am_py_exec_prefix in
15883
am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
15890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
15891
$as_echo "$am_cv_python_pyexecdir" >&6; }
15892
pyexecdir=$am_cv_python_pyexecdir
15896
pkgpyexecdir=\${pyexecdir}/$PACKAGE
15904
# man page generation
15906
# Extract the first word of "xmlto", so it can be a program name with args.
15907
set dummy xmlto; ac_word=$2
15908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15909
$as_echo_n "checking for $ac_word... " >&6; }
15910
if ${ac_cv_path_XMLTO+:} false; then :
15911
$as_echo_n "(cached) " >&6
15915
ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
15918
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15919
for as_dir in $PATH
15922
test -z "$as_dir" && as_dir=.
15923
for ac_exec_ext in '' $ac_executable_extensions; do
15924
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15925
ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
15926
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15936
XMLTO=$ac_cv_path_XMLTO
15937
if test -n "$XMLTO"; then
15938
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
15939
$as_echo "$XMLTO" >&6; }
15941
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15942
$as_echo "no" >&6; }
15947
# Extract the first word of "asciidoc", so it can be a program name with args.
15948
set dummy asciidoc; ac_word=$2
15949
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15950
$as_echo_n "checking for $ac_word... " >&6; }
15951
if ${ac_cv_path_ASCIIDOC+:} false; then :
15952
$as_echo_n "(cached) " >&6
15956
ac_cv_path_ASCIIDOC="$ASCIIDOC" # Let the user override the test with a path.
15959
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15960
for as_dir in $PATH
15963
test -z "$as_dir" && as_dir=.
15964
for ac_exec_ext in '' $ac_executable_extensions; do
15965
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15966
ac_cv_path_ASCIIDOC="$as_dir/$ac_word$ac_exec_ext"
15967
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15977
ASCIIDOC=$ac_cv_path_ASCIIDOC
15978
if test -n "$ASCIIDOC"; then
15979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ASCIIDOC" >&5
15980
$as_echo "$ASCIIDOC" >&6; }
15982
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15983
$as_echo "no" >&6; }
15987
if test "x$XMLTO" != "x" && test "x$ASCIIDOC" != "x"; then
15988
HAVE_DOCTOOLS_TRUE=
15989
HAVE_DOCTOOLS_FALSE='#'
15991
HAVE_DOCTOOLS_TRUE='#'
15992
HAVE_DOCTOOLS_FALSE=
15995
if test "x$XMLTO" = "x" || test "x$ASCIIDOC" = "x"; then
15996
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto or asciidoc not found - cannot create man pages without it" >&5
15997
$as_echo "$as_me: WARNING: xmlto or asciidoc not found - cannot create man pages without it" >&2;}
16000
AM_CFLAGS="-Wall -Wextra -pedantic -Werror -std=gnu99 -D_GNU_SOURCE=1"
16004
ac_config_files="$ac_config_files Makefile src/Makefile python/Makefile tools/Makefile test/Makefile evemu.pc"
16006
cat >confcache <<\_ACEOF
16007
# This file is a shell script that caches the results of configure
16008
# tests run on this system so they can be shared between configure
16009
# scripts and configure runs, see configure's option --config-cache.
16010
# It is not useful on other systems. If it contains results you don't
16011
# want to keep, you may remove or edit it.
16013
# config.status only pays attention to the cache file if you give it
16014
# the --recheck option to rerun configure.
16016
# `ac_cv_env_foo' variables (set or unset) will be overridden when
16017
# loading this file, other *unset* `ac_cv_foo' will be assigned the
16018
# following values.
16022
# The following way of writing the cache mishandles newlines in values,
16023
# but we know of no workaround that is simple, portable, and efficient.
16024
# So, we kill variables containing newlines.
16025
# Ultrix sh set writes to stderr and can't be redirected directly,
16026
# and sets the high bit in the cache file unless we assign to the vars.
16028
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16029
eval ac_val=\$$ac_var
16033
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16034
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16037
_ | IFS | as_nl) ;; #(
16038
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16039
*) { eval $ac_var=; unset $ac_var;} ;;
16045
case $as_nl`(ac_space=' '; set) 2>&1` in #(
16046
*${as_nl}ac_space=\ *)
16047
# `set' does not quote correctly, so add quotes: double-quote
16048
# substitution turns \\\\ into \\, and sed turns \\ into \.
16051
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16054
# `set' quotes correctly as required by POSIX, so do not add quotes.
16055
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16064
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16066
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16068
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16069
if test -w "$cache_file"; then
16070
if test "x$cache_file" != "x/dev/null"; then
16071
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16072
$as_echo "$as_me: updating cache $cache_file" >&6;}
16073
if test ! -f "$cache_file" || test -h "$cache_file"; then
16074
cat confcache >"$cache_file"
16076
case $cache_file in #(
16078
mv -f confcache "$cache_file"$$ &&
16079
mv -f "$cache_file"$$ "$cache_file" ;; #(
16081
mv -f confcache "$cache_file" ;;
16086
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16087
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16092
test "x$prefix" = xNONE && prefix=$ac_default_prefix
16093
# Let make expand exec_prefix.
16094
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16096
DEFS=-DHAVE_CONFIG_H
16101
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16102
# 1. Remove the extension, and $U if already installed.
16103
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16104
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16105
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16106
# will be set to the directory where LIBOBJS objects are built.
16107
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16108
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16110
LIBOBJS=$ac_libobjs
16112
LTLIBOBJS=$ac_ltlibobjs
16115
if test -n "$EXEEXT"; then
16117
am__EXEEXT_FALSE='#'
16119
am__EXEEXT_TRUE='#'
16123
if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16124
as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16125
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16127
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16128
as_fn_error $? "conditional \"AMDEP\" was never defined.
16129
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16131
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16132
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16133
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16135
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16136
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16137
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16139
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16140
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16141
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16143
if test -z "${HAVE_DOCTOOLS_TRUE}" && test -z "${HAVE_DOCTOOLS_FALSE}"; then
16144
as_fn_error $? "conditional \"HAVE_DOCTOOLS\" was never defined.
16145
Usually this means the macro was only invoked conditionally." "$LINENO" 5
16148
: "${CONFIG_STATUS=./config.status}"
16150
ac_clean_files_save=$ac_clean_files
16151
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16152
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16153
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16155
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16157
# Generated by $as_me.
16158
# Run this file to recreate the current configuration.
16159
# Compiler output produced by configure, useful for debugging
16160
# configure, is in config.log if it exists.
16163
ac_cs_recheck=false
16166
SHELL=\${CONFIG_SHELL-$SHELL}
16169
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16170
## -------------------- ##
16171
## M4sh Initialization. ##
16172
## -------------------- ##
16174
# Be more Bourne compatible
16175
DUALCASE=1; export DUALCASE # for MKS sh
16176
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16179
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16180
# is contrary to our usage. Disable this feature.
16181
alias -g '${1+"$@"}'='"$@"'
16182
setopt NO_GLOB_SUBST
16184
case `(set -o) 2>/dev/null` in #(
16196
# Printing a long string crashes Solaris 7 /usr/bin/printf.
16197
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16198
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16199
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16200
# Prefer a ksh shell builtin over an external printf program on Solaris,
16201
# but without wasting forks for bash or zsh.
16202
if test -z "$BASH_VERSION$ZSH_VERSION" \
16203
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16204
as_echo='print -r --'
16205
as_echo_n='print -rn --'
16206
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16207
as_echo='printf %s\n'
16208
as_echo_n='printf %s'
16210
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16211
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16212
as_echo_n='/usr/ucb/echo -n'
16214
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16215
as_echo_n_body='eval
16219
expr "X$arg" : "X\\(.*\\)$as_nl";
16220
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16222
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16224
export as_echo_n_body
16225
as_echo_n='sh -c $as_echo_n_body as_echo'
16227
export as_echo_body
16228
as_echo='sh -c $as_echo_body as_echo'
16231
# The user is always right.
16232
if test "${PATH_SEPARATOR+set}" != set; then
16234
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16235
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16242
# We need space, tab and new line, in precisely that order. Quoting is
16243
# there to prevent editors from complaining about space-tab.
16244
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16245
# splitting by setting IFS to empty value.)
16248
# Find who we are. Look in the path if we contain no directory separator.
16251
*[\\/]* ) as_myself=$0 ;;
16252
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16253
for as_dir in $PATH
16256
test -z "$as_dir" && as_dir=.
16257
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16263
# We did not find ourselves, most probably we were run as `sh COMMAND'
16264
# in which case we are not to be found in the path.
16265
if test "x$as_myself" = x; then
16268
if test ! -f "$as_myself"; then
16269
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16273
# Unset variables that we do not need and which cause bugs (e.g. in
16274
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16275
# suppresses any "Segmentation fault" message there. '((' could
16276
# trigger a bug in pdksh 5.2.14.
16277
for as_var in BASH_ENV ENV MAIL MAILPATH
16278
do eval test x\${$as_var+set} = xset \
16279
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16292
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16295
# as_fn_error STATUS ERROR [LINENO LOG_FD]
16296
# ----------------------------------------
16297
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16298
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16299
# script with STATUS, using 1 if that was 0.
16302
as_status=$1; test $as_status -eq 0 && as_status=1
16304
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16305
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16307
$as_echo "$as_me: error: $2" >&2
16308
as_fn_exit $as_status
16312
# as_fn_set_status STATUS
16313
# -----------------------
16314
# Set $? to STATUS, without forking.
16315
as_fn_set_status ()
16318
} # as_fn_set_status
16320
# as_fn_exit STATUS
16321
# -----------------
16322
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16326
as_fn_set_status $1
16332
# Portably unset VAR.
16335
{ eval $1=; unset $1;}
16337
as_unset=as_fn_unset
16338
# as_fn_append VAR VALUE
16339
# ----------------------
16340
# Append the text in VALUE to the end of the definition contained in VAR. Take
16341
# advantage of any shell optimizations that allow amortized linear growth over
16342
# repeated appends, instead of the typical quadratic growth present in naive
16344
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16345
eval 'as_fn_append ()
16356
# as_fn_arith ARG...
16357
# ------------------
16358
# Perform arithmetic evaluation on the ARGs, and store the result in the
16359
# global $as_val. Take advantage of shells that can avoid forks. The arguments
16360
# must be portable across $(()) and expr.
16361
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16362
eval 'as_fn_arith ()
16369
as_val=`expr "$@" || test $? -eq 1`
16374
if expr a : '\(a\)' >/dev/null 2>&1 &&
16375
test "X`expr 00001 : '.*\(...\)'`" = X001; then
16381
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16382
as_basename=basename
16387
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16393
as_me=`$as_basename -- "$0" ||
16394
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16395
X"$0" : 'X\(//\)$' \| \
16396
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16398
sed '/^.*\/\([^/][^/]*\)\/*$/{
16412
# Avoid depending upon Character Ranges.
16413
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16414
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16415
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16416
as_cr_digits='0123456789'
16417
as_cr_alnum=$as_cr_Letters$as_cr_digits
16419
ECHO_C= ECHO_N= ECHO_T=
16420
case `echo -n x` in #(((((
16422
case `echo 'xy\c'` in
16423
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
16425
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16432
rm -f conf$$ conf$$.exe conf$$.file
16433
if test -d conf$$.dir; then
16434
rm -f conf$$.dir/conf$$.file
16437
mkdir conf$$.dir 2>/dev/null
16439
if (echo >conf$$.file) 2>/dev/null; then
16440
if ln -s conf$$.file conf$$ 2>/dev/null; then
16442
# ... but there are two gotchas:
16443
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16444
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16445
# In both cases, we have to default to `cp -p'.
16446
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16448
elif ln conf$$.file conf$$ 2>/dev/null; then
16456
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16457
rmdir conf$$.dir 2>/dev/null
16462
# Create "$as_dir" as a directory, including parents if necessary.
16467
-*) as_dir=./$as_dir;;
16469
test -d "$as_dir" || eval $as_mkdir_p || {
16473
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16474
*) as_qdir=$as_dir;;
16476
as_dirs="'$as_qdir' $as_dirs"
16477
as_dir=`$as_dirname -- "$as_dir" ||
16478
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16479
X"$as_dir" : 'X\(//\)[^/]' \| \
16480
X"$as_dir" : 'X\(//\)$' \| \
16481
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16482
$as_echo X"$as_dir" |
16483
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16487
/^X\(\/\/\)[^/].*/{
16500
test -d "$as_dir" && break
16502
test -z "$as_dirs" || eval "mkdir $as_dirs"
16503
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16507
if mkdir -p . 2>/dev/null; then
16508
as_mkdir_p='mkdir -p "$as_dir"'
16510
test -d ./-p && rmdir ./-p
16514
if test -x / >/dev/null 2>&1; then
16515
as_test_x='test -x'
16517
if ls -dL / >/dev/null 2>&1; then
16524
if test -d "$1"; then
16530
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16531
???[sx]*):;;*)false;;esac;fi
16535
as_executable_p=$as_test_x
16537
# Sed expression to map a string onto a valid CPP name.
16538
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16540
# Sed expression to map a string onto a valid variable name.
16541
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16545
## ----------------------------------- ##
16546
## Main body of $CONFIG_STATUS script. ##
16547
## ----------------------------------- ##
16549
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16551
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16552
# Save the log message, to keep $0 and so on meaningful, and to
16553
# report actual input values of CONFIG_FILES etc. instead of their
16554
# values after options handling.
16556
This file was extended by Kernel device emulation $as_me 1.0.9.1, which was
16557
generated by GNU Autoconf 2.68. Invocation command line was
16559
CONFIG_FILES = $CONFIG_FILES
16560
CONFIG_HEADERS = $CONFIG_HEADERS
16561
CONFIG_LINKS = $CONFIG_LINKS
16562
CONFIG_COMMANDS = $CONFIG_COMMANDS
16565
on `(hostname || uname -n) 2>/dev/null | sed 1q`
16570
case $ac_config_files in *"
16571
"*) set x $ac_config_files; shift; ac_config_files=$*;;
16574
case $ac_config_headers in *"
16575
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16579
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16580
# Files that config.status was made for.
16581
config_files="$ac_config_files"
16582
config_headers="$ac_config_headers"
16583
config_commands="$ac_config_commands"
16587
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16589
\`$as_me' instantiates files and other configuration actions
16590
from templates according to the current configuration. Unless the files
16591
and actions are specified as TAGs, all are instantiated by default.
16593
Usage: $0 [OPTION]... [TAG]...
16595
-h, --help print this help, then exit
16596
-V, --version print version number and configuration settings, then exit
16597
--config print configuration, then exit
16598
-q, --quiet, --silent
16599
do not print progress messages
16600
-d, --debug don't remove temporary files
16601
--recheck update $as_me by reconfiguring in the same conditions
16602
--file=FILE[:TEMPLATE]
16603
instantiate the configuration file FILE
16604
--header=FILE[:TEMPLATE]
16605
instantiate the configuration header FILE
16607
Configuration files:
16610
Configuration headers:
16613
Configuration commands:
16616
Report bugs to the package provider."
16619
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16620
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16622
Kernel device emulation config.status 1.0.9.1
16623
configured by $0, generated by GNU Autoconf 2.68,
16624
with options \\"\$ac_cs_config\\"
16626
Copyright (C) 2010 Free Software Foundation, Inc.
16627
This config.status script is free software; the Free Software Foundation
16628
gives unlimited permission to copy, distribute and modify it."
16635
test -n "\$AWK" || AWK=awk
16638
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16639
# The default lists apply if the user does not specify any file.
16645
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16646
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16650
ac_option=`expr "X$1" : 'X\([^=]*\)='`
16662
# Handling of the options.
16663
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16665
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16666
$as_echo "$ac_cs_version"; exit ;;
16667
--config | --confi | --conf | --con | --co | --c )
16668
$as_echo "$ac_cs_config"; exit ;;
16669
--debug | --debu | --deb | --de | --d | -d )
16671
--file | --fil | --fi | --f )
16674
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16675
'') as_fn_error $? "missing file argument" ;;
16677
as_fn_append CONFIG_FILES " '$ac_optarg'"
16678
ac_need_defaults=false;;
16679
--header | --heade | --head | --hea )
16682
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16684
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16685
ac_need_defaults=false;;
16687
# Conflict between --help and --header
16688
as_fn_error $? "ambiguous option: \`$1'
16689
Try \`$0 --help' for more information.";;
16690
--help | --hel | -h )
16691
$as_echo "$ac_cs_usage"; exit ;;
16692
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
16693
| -silent | --silent | --silen | --sile | --sil | --si | --s)
16696
# This is an error.
16697
-*) as_fn_error $? "unrecognized option: \`$1'
16698
Try \`$0 --help' for more information." ;;
16700
*) as_fn_append ac_config_targets " $1"
16701
ac_need_defaults=false ;;
16707
ac_configure_extra_args=
16709
if $ac_cs_silent; then
16711
ac_configure_extra_args="$ac_configure_extra_args --silent"
16715
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16716
if \$ac_cs_recheck; then
16717
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16719
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16720
CONFIG_SHELL='$SHELL'
16721
export CONFIG_SHELL
16726
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16730
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16731
## Running $as_me. ##
16737
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16741
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16744
# The HP-UX ksh and POSIX shell print the target directory to stdout
16745
# if CDPATH is set.
16746
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16748
sed_quote_subst='$sed_quote_subst'
16749
double_quote_subst='$double_quote_subst'
16750
delay_variable_subst='$delay_variable_subst'
16751
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16752
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16753
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16754
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16755
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16756
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16757
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16758
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16759
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
16760
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16761
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16762
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16763
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16764
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16765
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16766
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16767
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16768
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16769
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16770
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16771
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16772
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16773
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16774
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16775
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16776
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16777
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
16778
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
16779
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
16780
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
16781
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
16782
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
16783
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
16784
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16785
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
16786
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
16787
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
16788
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
16789
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16790
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
16791
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
16792
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
16793
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
16794
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
16795
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
16796
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16797
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16798
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
16799
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
16800
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
16801
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
16802
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
16803
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
16804
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
16805
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
16806
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
16807
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"`'
16808
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
16809
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
16810
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
16811
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
16812
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
16813
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
16814
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
16815
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
16816
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
16817
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
16818
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
16819
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
16820
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
16821
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
16822
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
16823
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
16824
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
16825
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
16826
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16827
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
16828
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
16829
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
16830
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
16831
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
16832
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
16833
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
16834
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
16835
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16836
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
16837
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
16838
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
16839
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
16840
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
16841
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
16842
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
16843
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
16844
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
16845
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
16846
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
16847
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
16848
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
16849
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
16850
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
16851
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
16852
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
16853
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
16854
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
16855
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
16856
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
16857
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
16858
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
16859
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
16860
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
16861
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
16862
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
16863
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
16864
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
16865
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
16866
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
16867
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
16868
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
16869
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
16870
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
16871
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
16872
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
16873
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
16874
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
16875
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
16876
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
16877
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
16878
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
16879
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
16880
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
16881
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
16882
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
16883
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
16884
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
16885
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
16886
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
16887
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
16888
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
16889
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16890
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16891
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
16892
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
16893
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
16894
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
16895
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
16896
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
16897
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
16898
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
16899
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
16900
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16901
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16902
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
16903
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16904
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16905
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16906
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16907
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16908
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16909
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
16910
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16911
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
16912
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
16913
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
16914
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
16915
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
16916
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
16917
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
16918
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
16919
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
16920
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
16921
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
16922
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16923
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16924
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
16925
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16926
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
16927
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
16928
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
16929
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
16930
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16931
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
16932
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
16933
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
16934
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
16937
LTCFLAGS='$LTCFLAGS'
16938
compiler='$compiler_DEFAULT'
16940
# A function that is used when there is no print builtin or printf.
16941
func_fallback_echo ()
16943
eval 'cat <<_LTECHO_EOF
16948
# Quote evaled strings.
16963
deplibs_check_method \
16968
sharedlib_from_linklib_cmd \
16971
archiver_list_spec \
16977
lt_cv_sys_global_symbol_pipe \
16978
lt_cv_sys_global_symbol_to_cdecl \
16979
lt_cv_sys_global_symbol_to_c_name_address \
16980
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
16981
nm_file_list_spec \
16982
lt_prog_compiler_no_builtin_flag \
16983
lt_prog_compiler_pic \
16984
lt_prog_compiler_wl \
16985
lt_prog_compiler_static \
16986
lt_cv_prog_compiler_c_o \
16995
export_dynamic_flag_spec \
16996
whole_archive_flag_spec \
16997
compiler_needs_object \
16999
allow_undefined_flag \
17000
no_undefined_flag \
17001
hardcode_libdir_flag_spec \
17002
hardcode_libdir_separator \
17006
variables_saved_for_relink \
17008
library_names_spec \
17010
install_override_mode \
17014
compiler_lib_search_dirs \
17019
compiler_lib_search_path \
17023
lt_prog_compiler_no_builtin_flag_CXX \
17024
lt_prog_compiler_pic_CXX \
17025
lt_prog_compiler_wl_CXX \
17026
lt_prog_compiler_static_CXX \
17027
lt_cv_prog_compiler_c_o_CXX \
17028
export_dynamic_flag_spec_CXX \
17029
whole_archive_flag_spec_CXX \
17030
compiler_needs_object_CXX \
17032
allow_undefined_flag_CXX \
17033
no_undefined_flag_CXX \
17034
hardcode_libdir_flag_spec_CXX \
17035
hardcode_libdir_separator_CXX \
17036
exclude_expsyms_CXX \
17037
include_expsyms_CXX \
17038
file_list_spec_CXX \
17039
compiler_lib_search_dirs_CXX \
17040
predep_objects_CXX \
17041
postdep_objects_CXX \
17044
compiler_lib_search_path_CXX; do
17045
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17046
*[\\\\\\\`\\"\\\$]*)
17047
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17050
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17055
# Double-quote double-evaled strings.
17056
for var in reload_cmds \
17057
old_postinstall_cmds \
17058
old_postuninstall_cmds \
17060
extract_expsyms_cmds \
17061
old_archive_from_new_cmds \
17062
old_archive_from_expsyms_cmds \
17064
archive_expsym_cmds \
17066
module_expsym_cmds \
17067
export_symbols_cmds \
17071
postuninstall_cmds \
17073
sys_lib_search_path_spec \
17074
sys_lib_dlsearch_path_spec \
17076
old_archive_cmds_CXX \
17077
old_archive_from_new_cmds_CXX \
17078
old_archive_from_expsyms_cmds_CXX \
17080
archive_expsym_cmds_CXX \
17082
module_expsym_cmds_CXX \
17083
export_symbols_cmds_CXX \
17085
postlink_cmds_CXX; do
17086
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17087
*[\\\\\\\`\\"\\\$]*)
17088
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17091
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17096
ac_aux_dir='$ac_aux_dir'
17097
xsi_shell='$xsi_shell'
17098
lt_shell_append='$lt_shell_append'
17100
# See if we are running on zsh, and set the options which allow our
17101
# commands through without removal of \ escapes INIT.
17102
if test -n "\${ZSH_VERSION+set}" ; then
17103
setopt NO_GLOB_SUBST
17109
TIMESTAMP='$TIMESTAMP'
17120
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17122
# Handling of arguments.
17123
for ac_config_target in $ac_config_targets
17125
case $ac_config_target in
17126
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17127
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17128
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17129
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17130
"src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
17131
"python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
17132
"tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17133
"test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
17134
"evemu.pc") CONFIG_FILES="$CONFIG_FILES evemu.pc" ;;
17136
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17141
# If the user did not use the arguments to specify the items to instantiate,
17142
# then the envvar interface is used. Set only those that are not.
17143
# We use the long form for the default assignment because of an extremely
17144
# bizarre bug on SunOS 4.1.3.
17145
if $ac_need_defaults; then
17146
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17147
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17148
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17151
# Have a temporary directory for convenience. Make it in the build tree
17152
# simply because there is no reason against having it here, and in addition,
17153
# creating and moving files from /tmp can sometimes cause problems.
17154
# Hook for its removal unless debugging.
17155
# Note that there is a small window in which the directory will not be cleaned:
17156
# after its creation but before its name has been assigned to `$tmp'.
17160
trap 'exit_status=$?
17161
: "${ac_tmp:=$tmp}"
17162
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17164
trap 'as_fn_exit 1' 1 2 13 15
17166
# Create a (secure) tmp directory for tmp files.
17169
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17173
tmp=./conf$$-$RANDOM
17174
(umask 077 && mkdir "$tmp")
17175
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17178
# Set up the scripts for CONFIG_FILES section.
17179
# No need to generate them if there are no CONFIG_FILES.
17180
# This happens for instance with `./config.status config.h'.
17181
if test -n "$CONFIG_FILES"; then
17184
ac_cr=`echo X | tr X '\015'`
17185
# On cygwin, bash can eat \r inside `` if the user requested igncr.
17186
# But we know of no other shell where ac_cr would be empty at this
17187
# point, so we can use a bashism as a fallback.
17188
if test "x$ac_cr" = x; then
17189
eval ac_cr=\$\'\\r\'
17191
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17192
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17195
ac_cs_awk_cr=$ac_cr
17198
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17203
echo "cat >conf$$subs.awk <<_ACEOF" &&
17204
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17206
} >conf$$subs.sh ||
17207
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17208
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17210
for ac_last_try in false false false false false :; do
17211
. ./conf$$subs.sh ||
17212
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17214
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17215
if test $ac_delim_n = $ac_delim_num; then
17217
elif $ac_last_try; then
17218
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17220
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17223
rm -f conf$$subs.sh
17225
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17226
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17230
s/^/S["/; s/!.*/"]=/
17240
s/\(.\{148\}\)..*/\1/
17242
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17247
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17254
s/\(.\{148\}\)..*/\1/
17256
s/["\\]/\\&/g; s/^/"/; s/$/"/
17260
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17265
' <conf$$subs.awk | sed '
17270
' >>$CONFIG_STATUS || ac_write_fail=1
17271
rm -f conf$$subs.awk
17272
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17274
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17275
for (key in S) S_is_set[key] = 1
17281
nfields = split(line, field, "@")
17283
len = length(field[1])
17284
for (i = 2; i < nfields; i++) {
17286
keylen = length(key)
17287
if (S_is_set[key]) {
17289
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17290
len += length(value) + length(field[++i])
17301
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17302
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17303
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17306
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17307
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17310
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17311
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17312
# trailing colons and then remove the whole line if VPATH becomes empty
17313
# (actually we leave an empty line to preserve line numbers).
17314
if test "x$srcdir" = x.; then
17315
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17333
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17334
fi # test -n "$CONFIG_FILES"
17336
# Set up the scripts for CONFIG_HEADERS section.
17337
# No need to generate them if there are no CONFIG_HEADERS.
17338
# This happens for instance with `./config.status Makefile'.
17339
if test -n "$CONFIG_HEADERS"; then
17340
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17344
# Transform confdefs.h into an awk script `defines.awk', embedded as
17345
# here-document in config.status, that substitutes the proper values into
17346
# config.h.in to produce config.h.
17348
# Create a delimiter string that does not exist in confdefs.h, to ease
17349
# handling of long lines.
17351
for ac_last_try in false false :; do
17352
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17353
if test -z "$ac_tt"; then
17355
elif $ac_last_try; then
17356
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17358
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17362
# For the awk script, D is an array of macro values keyed by name,
17363
# likewise P contains macro parameters if any. Preserve backslash
17364
# newline sequences.
17366
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17368
s/.\{148\}/&'"$ac_delim"'/g
17371
s/^[ ]*#[ ]*define[ ][ ]*/ /
17378
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17380
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
17384
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
17385
D["\1"]=" \3\\\\\\n"\\/p
17387
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17392
s/.\{148\}/&'"$ac_delim"'/g
17397
s/["\\]/\\&/g; s/^/"/; s/$/"/p
17400
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17402
' <confdefs.h | sed '
17403
s/'"$ac_delim"'/"\\\
17404
"/g' >>$CONFIG_STATUS || ac_write_fail=1
17406
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17407
for (key in D) D_is_set[key] = 1
17410
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17412
split(line, arg, " ")
17413
if (arg[1] == "#") {
17417
defundef = substr(arg[1], 2)
17420
split(mac1, mac2, "(") #)
17422
prefix = substr(line, 1, index(line, defundef) - 1)
17423
if (D_is_set[macro]) {
17424
# Preserve the white space surrounding the "#".
17425
print prefix "define", macro P[macro] D[macro]
17428
# Replace #undef with comments. This is necessary, for example,
17429
# in the case of _POSIX_SOURCE, which is predefined and required
17430
# on some systems where configure will not decide to define it.
17431
if (defundef == "undef") {
17432
print "/*", prefix defundef, macro, "*/"
17440
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17441
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17442
fi # test -n "$CONFIG_HEADERS"
17445
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
17450
:[FHLC]) ac_mode=$ac_tag; continue;;
17452
case $ac_mode$ac_tag in
17454
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17455
:[FH]-) ac_tag=-:-;;
17456
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17473
-) ac_f="$ac_tmp/stdin";;
17474
*) # Look for the file first in the build tree, then in the source tree
17475
# (if the path is not absolute). The absolute path cannot be DOS-style,
17476
# because $ac_f cannot contain `:'.
17480
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17482
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17484
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17485
as_fn_append ac_file_inputs " '$ac_f'"
17488
# Let's still pretend it is `configure' which instantiates (i.e., don't
17489
# use $as_me), people would be surprised to read:
17490
# /* config.h. Generated by config.status. */
17491
configure_input='Generated from '`
17492
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17494
if test x"$ac_file" != x-; then
17495
configure_input="$ac_file. $configure_input"
17496
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17497
$as_echo "$as_me: creating $ac_file" >&6;}
17499
# Neutralize special characters interpreted by sed in replacement strings.
17500
case $configure_input in #(
17501
*\&* | *\|* | *\\* )
17502
ac_sed_conf_input=`$as_echo "$configure_input" |
17503
sed 's/[\\\\&|]/\\\\&/g'`;; #(
17504
*) ac_sed_conf_input=$configure_input;;
17508
*:-:* | *:-) cat >"$ac_tmp/stdin" \
17509
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17514
ac_dir=`$as_dirname -- "$ac_file" ||
17515
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17516
X"$ac_file" : 'X\(//\)[^/]' \| \
17517
X"$ac_file" : 'X\(//\)$' \| \
17518
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17519
$as_echo X"$ac_file" |
17520
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17524
/^X\(\/\/\)[^/].*/{
17537
as_dir="$ac_dir"; as_fn_mkdir_p
17541
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17543
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17544
# A ".." for each directory in $ac_dir_suffix.
17545
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17546
case $ac_top_builddir_sub in
17547
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17548
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17551
ac_abs_top_builddir=$ac_pwd
17552
ac_abs_builddir=$ac_pwd$ac_dir_suffix
17553
# for backward compatibility:
17554
ac_top_builddir=$ac_top_build_prefix
17557
.) # We are building in place.
17559
ac_top_srcdir=$ac_top_builddir_sub
17560
ac_abs_top_srcdir=$ac_pwd ;;
17561
[\\/]* | ?:[\\/]* ) # Absolute name.
17562
ac_srcdir=$srcdir$ac_dir_suffix;
17563
ac_top_srcdir=$srcdir
17564
ac_abs_top_srcdir=$srcdir ;;
17565
*) # Relative name.
17566
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17567
ac_top_srcdir=$ac_top_build_prefix$srcdir
17568
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17570
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17580
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17581
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17583
ac_MKDIR_P=$MKDIR_P
17585
[\\/$]* | ?:[\\/]* ) ;;
17586
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17590
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17591
# If the template does not know about datarootdir, expand it.
17592
# FIXME: This hack should be removed a few years after 2.60.
17593
ac_datarootdir_hack=; ac_datarootdir_seen=
17604
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17605
*datarootdir*) ac_datarootdir_seen=yes;;
17606
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17607
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17608
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17610
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17611
ac_datarootdir_hack='
17612
s&@datadir@&$datadir&g
17613
s&@docdir@&$docdir&g
17614
s&@infodir@&$infodir&g
17615
s&@localedir@&$localedir&g
17616
s&@mandir@&$mandir&g
17617
s&\\\${datarootdir}&$datarootdir&g' ;;
17621
# Neutralize VPATH when `$srcdir' = `.'.
17622
# Shell code in configure.ac might set extrasub.
17623
# FIXME: do we really want to maintain this feature?
17624
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17625
ac_sed_extra="$ac_vpsub
17628
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17630
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17631
s|@configure_input@|$ac_sed_conf_input|;t t
17632
s&@top_builddir@&$ac_top_builddir_sub&;t t
17633
s&@top_build_prefix@&$ac_top_build_prefix&;t t
17634
s&@srcdir@&$ac_srcdir&;t t
17635
s&@abs_srcdir@&$ac_abs_srcdir&;t t
17636
s&@top_srcdir@&$ac_top_srcdir&;t t
17637
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17638
s&@builddir@&$ac_builddir&;t t
17639
s&@abs_builddir@&$ac_abs_builddir&;t t
17640
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17641
s&@INSTALL@&$ac_INSTALL&;t t
17642
s&@MKDIR_P@&$ac_MKDIR_P&;t t
17643
$ac_datarootdir_hack
17645
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17646
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17648
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17649
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17650
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17651
"$ac_tmp/out"`; test -z "$ac_out"; } &&
17652
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17653
which seems to be undefined. Please make sure it is defined" >&5
17654
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17655
which seems to be undefined. Please make sure it is defined" >&2;}
17657
rm -f "$ac_tmp/stdin"
17659
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17660
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17662
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17668
if test x"$ac_file" != x-; then
17670
$as_echo "/* $configure_input */" \
17671
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17672
} >"$ac_tmp/config.h" \
17673
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17674
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17675
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17676
$as_echo "$as_me: $ac_file is unchanged" >&6;}
17679
mv "$ac_tmp/config.h" "$ac_file" \
17680
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17683
$as_echo "/* $configure_input */" \
17684
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17685
|| as_fn_error $? "could not create -" "$LINENO" 5
17687
# Compute "$ac_file"'s index in $config_headers.
17690
for _am_header in $config_headers :; do
17691
case $_am_header in
17692
$_am_arg | $_am_arg:* )
17695
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
17698
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17699
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17700
X"$_am_arg" : 'X\(//\)[^/]' \| \
17701
X"$_am_arg" : 'X\(//\)$' \| \
17702
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17703
$as_echo X"$_am_arg" |
17704
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17708
/^X\(\/\/\)[^/].*/{
17720
s/.*/./; q'`/stamp-h$_am_stamp_count
17723
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17724
$as_echo "$as_me: executing $ac_file commands" >&6;}
17729
case $ac_file$ac_mode in
17730
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17731
# Autoconf 2.62 quotes --file arguments for eval, but not when files
17732
# are listed without --file. Let's play safe and only enable the eval
17733
# if we detect the quoting.
17734
case $CONFIG_FILES in
17735
*\'*) eval set x "$CONFIG_FILES" ;;
17736
*) set x $CONFIG_FILES ;;
17741
# Strip MF so we end up with the name of the file.
17742
mf=`echo "$mf" | sed -e 's/:.*$//'`
17743
# Check whether this is an Automake generated Makefile or not.
17744
# We used to match only the files named `Makefile.in', but
17745
# some people rename them; so instead we look at the file content.
17746
# Grep'ing the first line is not enough: some people post-process
17747
# each Makefile.in and add a new line on top of each file to say so.
17748
# Grep'ing the whole file is not good either: AIX grep has a line
17749
# limit of 2048, but all sed's we know have understand at least 4000.
17750
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17751
dirpart=`$as_dirname -- "$mf" ||
17752
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17753
X"$mf" : 'X\(//\)[^/]' \| \
17754
X"$mf" : 'X\(//\)$' \| \
17755
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17757
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17761
/^X\(\/\/\)[^/].*/{
17777
# Extract the definition of DEPDIR, am__include, and am__quote
17778
# from the Makefile without running `make'.
17779
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17780
test -z "$DEPDIR" && continue
17781
am__include=`sed -n 's/^am__include = //p' < "$mf"`
17782
test -z "am__include" && continue
17783
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17784
# When using ansi2knr, U may be empty or an underscore; expand it
17785
U=`sed -n 's/^U = //p' < "$mf"`
17786
# Find all dependency output files, they are included files with
17787
# $(DEPDIR) in their names. We invoke sed twice because it is the
17788
# simplest approach to changing $(DEPDIR) to its actual value in the
17790
for file in `sed -n "
17791
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17792
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17793
# Make sure the directory exists.
17794
test -f "$dirpart/$file" && continue
17795
fdir=`$as_dirname -- "$file" ||
17796
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17797
X"$file" : 'X\(//\)[^/]' \| \
17798
X"$file" : 'X\(//\)$' \| \
17799
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17800
$as_echo X"$file" |
17801
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17805
/^X\(\/\/\)[^/].*/{
17818
as_dir=$dirpart/$fdir; as_fn_mkdir_p
17819
# echo "creating $dirpart/$file"
17820
echo '# dummy' > "$dirpart/$file"
17827
# See if we are running on zsh, and set the options which allow our
17828
# commands through without removal of \ escapes.
17829
if test -n "${ZSH_VERSION+set}" ; then
17830
setopt NO_GLOB_SUBST
17833
cfgfile="${ofile}T"
17834
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17837
cat <<_LT_EOF >> "$cfgfile"
17840
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17841
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17842
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17843
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17845
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17846
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
17848
# Written by Gordon Matzigkeit, 1996
17850
# This file is part of GNU Libtool.
17852
# GNU Libtool is free software; you can redistribute it and/or
17853
# modify it under the terms of the GNU General Public License as
17854
# published by the Free Software Foundation; either version 2 of
17855
# the License, or (at your option) any later version.
17857
# As a special exception to the GNU General Public License,
17858
# if you distribute this file as part of a program or library that
17859
# is built using GNU Libtool, you may include this file under the
17860
# same distribution terms that you use for the rest of that program.
17862
# GNU Libtool is distributed in the hope that it will be useful,
17863
# but WITHOUT ANY WARRANTY; without even the implied warranty of
17864
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17865
# GNU General Public License for more details.
17867
# You should have received a copy of the GNU General Public License
17868
# along with GNU Libtool; see the file COPYING. If not, a copy
17869
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
17870
# obtained by writing to the Free Software Foundation, Inc.,
17871
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17874
# The names of the tagged configurations supported by this script.
17875
available_tags="CXX "
17877
# ### BEGIN LIBTOOL CONFIG
17879
# Which release of libtool.m4 was used?
17880
macro_version=$macro_version
17881
macro_revision=$macro_revision
17883
# Whether or not to build shared libraries.
17884
build_libtool_libs=$enable_shared
17886
# Whether or not to build static libraries.
17887
build_old_libs=$enable_static
17889
# What type of objects to build.
17892
# Whether or not to optimize for fast installation.
17893
fast_install=$enable_fast_install
17895
# Shell to use when invoking shell scripts.
17898
# An echo program that protects backslashes.
17901
# The PATH separator for the build system.
17902
PATH_SEPARATOR=$lt_PATH_SEPARATOR
17905
host_alias=$host_alias
17909
# The build system.
17910
build_alias=$build_alias
17914
# A sed program that does not truncate output.
17917
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
17918
Xsed="\$SED -e 1s/^X//"
17920
# A grep program that handles long lines.
17926
# A literal string matcher.
17929
# A BSD- or MS-compatible name lister.
17932
# Whether we need soft or hard links.
17935
# What is the maximum length of a command?
17936
max_cmd_len=$max_cmd_len
17938
# Object file suffix (normally "o").
17941
# Executable file suffix (normally "").
17944
# whether the shell understands "unset".
17947
# turn spaces into newlines.
17950
# turn newlines into spaces.
17953
# convert \$build file names to \$host format.
17954
to_host_file_cmd=$lt_cv_to_host_file_cmd
17956
# convert \$build files to toolchain format.
17957
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
17959
# An object symbol dumper.
17960
OBJDUMP=$lt_OBJDUMP
17962
# Method to check whether dependent libraries are shared objects.
17963
deplibs_check_method=$lt_deplibs_check_method
17965
# Command to use when deplibs_check_method = "file_magic".
17966
file_magic_cmd=$lt_file_magic_cmd
17968
# How to find potential files when deplibs_check_method = "file_magic".
17969
file_magic_glob=$lt_file_magic_glob
17971
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
17972
want_nocaseglob=$lt_want_nocaseglob
17974
# DLL creation program.
17975
DLLTOOL=$lt_DLLTOOL
17977
# Command to associate shared and link libraries.
17978
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
17983
# Flags to create an archive.
17984
AR_FLAGS=$lt_AR_FLAGS
17986
# How to feed a file listing to the archiver.
17987
archiver_list_spec=$lt_archiver_list_spec
17989
# A symbol stripping program.
17992
# Commands used to install an old-style archive.
17994
old_postinstall_cmds=$lt_old_postinstall_cmds
17995
old_postuninstall_cmds=$lt_old_postuninstall_cmds
17997
# Whether to use a lock for old archive extraction.
17998
lock_old_archive_extraction=$lock_old_archive_extraction
18003
# LTCC compiler flags.
18004
LTCFLAGS=$lt_CFLAGS
18006
# Take the output of nm and produce a listing of raw symbols and C names.
18007
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18009
# Transform the output of nm in a proper C declaration.
18010
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18012
# Transform the output of nm in a C name address pair.
18013
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18015
# Transform the output of nm in a C name address pair when lib prefix is needed.
18016
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18018
# Specify filename containing input files for \$NM.
18019
nm_file_list_spec=$lt_nm_file_list_spec
18021
# The root where to search for dependent libraries,and in which our libraries should be installed.
18022
lt_sysroot=$lt_sysroot
18024
# The name of the directory that contains temporary libtool files.
18027
# Used to examine libraries when file_magic_cmd begins with "file".
18028
MAGIC_CMD=$MAGIC_CMD
18030
# Must we lock files when doing compilation?
18031
need_locks=$lt_need_locks
18034
MANIFEST_TOOL=$lt_MANIFEST_TOOL
18036
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18037
DSYMUTIL=$lt_DSYMUTIL
18039
# Tool to change global to local symbols on Mac OS X.
18042
# Tool to manipulate fat objects and archives on Mac OS X.
18045
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18048
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18049
OTOOL64=$lt_OTOOL64
18051
# Old archive suffix (normally "a").
18054
# Shared library suffix (normally ".so").
18055
shrext_cmds=$lt_shrext_cmds
18057
# The commands to extract the exported symbol list from a shared archive.
18058
extract_expsyms_cmds=$lt_extract_expsyms_cmds
18060
# Variables whose values should be saved in libtool wrapper scripts and
18061
# restored at link time.
18062
variables_saved_for_relink=$lt_variables_saved_for_relink
18064
# Do we need the "lib" prefix for modules?
18065
need_lib_prefix=$need_lib_prefix
18067
# Do we need a version for libraries?
18068
need_version=$need_version
18070
# Library versioning type.
18071
version_type=$version_type
18073
# Shared library runtime path variable.
18074
runpath_var=$runpath_var
18076
# Shared library path variable.
18077
shlibpath_var=$shlibpath_var
18079
# Is shlibpath searched before the hard-coded library search path?
18080
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18082
# Format of library name prefix.
18083
libname_spec=$lt_libname_spec
18085
# List of archive names. First name is the real one, the rest are links.
18086
# The last name is the one that the linker finds with -lNAME
18087
library_names_spec=$lt_library_names_spec
18089
# The coded name of the library, if different from the real name.
18090
soname_spec=$lt_soname_spec
18092
# Permission mode override for installation of shared libraries.
18093
install_override_mode=$lt_install_override_mode
18095
# Command to use after installation of a shared archive.
18096
postinstall_cmds=$lt_postinstall_cmds
18098
# Command to use after uninstallation of a shared archive.
18099
postuninstall_cmds=$lt_postuninstall_cmds
18101
# Commands used to finish a libtool library installation in a directory.
18102
finish_cmds=$lt_finish_cmds
18104
# As "finish_cmds", except a single script fragment to be evaled but
18106
finish_eval=$lt_finish_eval
18108
# Whether we should hardcode library paths into libraries.
18109
hardcode_into_libs=$hardcode_into_libs
18111
# Compile-time system search path for libraries.
18112
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18114
# Run-time system search path for libraries.
18115
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18117
# Whether dlopen is supported.
18118
dlopen_support=$enable_dlopen
18120
# Whether dlopen of programs is supported.
18121
dlopen_self=$enable_dlopen_self
18123
# Whether dlopen of statically linked programs is supported.
18124
dlopen_self_static=$enable_dlopen_self_static
18126
# Commands to strip libraries.
18127
old_striplib=$lt_old_striplib
18128
striplib=$lt_striplib
18131
# The linker used to build libraries.
18134
# How to create reloadable object files.
18135
reload_flag=$lt_reload_flag
18136
reload_cmds=$lt_reload_cmds
18138
# Commands used to build an old-style archive.
18139
old_archive_cmds=$lt_old_archive_cmds
18141
# A language specific compiler.
18144
# Is the compiler the GNU compiler?
18147
# Compiler flag to turn off builtin functions.
18148
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18150
# Additional compiler flags for building library objects.
18151
pic_flag=$lt_lt_prog_compiler_pic
18153
# How to pass a linker flag through the compiler.
18154
wl=$lt_lt_prog_compiler_wl
18156
# Compiler flag to prevent dynamic linking.
18157
link_static_flag=$lt_lt_prog_compiler_static
18159
# Does compiler simultaneously support -c and -o options?
18160
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18162
# Whether or not to add -lc for building shared libraries.
18163
build_libtool_need_lc=$archive_cmds_need_lc
18165
# Whether or not to disallow shared libs when runtime libs are static.
18166
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18168
# Compiler flag to allow reflexive dlopens.
18169
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18171
# Compiler flag to generate shared objects directly from archives.
18172
whole_archive_flag_spec=$lt_whole_archive_flag_spec
18174
# Whether the compiler copes with passing no objects directly.
18175
compiler_needs_object=$lt_compiler_needs_object
18177
# Create an old-style archive from a shared archive.
18178
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18180
# Create a temporary old-style archive to link instead of a shared archive.
18181
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18183
# Commands used to build a shared archive.
18184
archive_cmds=$lt_archive_cmds
18185
archive_expsym_cmds=$lt_archive_expsym_cmds
18187
# Commands used to build a loadable module if different from building
18188
# a shared archive.
18189
module_cmds=$lt_module_cmds
18190
module_expsym_cmds=$lt_module_expsym_cmds
18192
# Whether we are building with GNU ld or not.
18193
with_gnu_ld=$lt_with_gnu_ld
18195
# Flag that allows shared libraries with undefined symbols to be built.
18196
allow_undefined_flag=$lt_allow_undefined_flag
18198
# Flag that enforces no undefined symbols.
18199
no_undefined_flag=$lt_no_undefined_flag
18201
# Flag to hardcode \$libdir into a binary during linking.
18202
# This must work even if \$libdir does not exist
18203
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18205
# Whether we need a single "-rpath" flag with a separated argument.
18206
hardcode_libdir_separator=$lt_hardcode_libdir_separator
18208
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18209
# DIR into the resulting binary.
18210
hardcode_direct=$hardcode_direct
18212
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18213
# DIR into the resulting binary and the resulting library dependency is
18214
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18215
# library is relocated.
18216
hardcode_direct_absolute=$hardcode_direct_absolute
18218
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18219
# into the resulting binary.
18220
hardcode_minus_L=$hardcode_minus_L
18222
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18223
# into the resulting binary.
18224
hardcode_shlibpath_var=$hardcode_shlibpath_var
18226
# Set to "yes" if building a shared library automatically hardcodes DIR
18227
# into the library and all subsequent libraries and executables linked
18229
hardcode_automatic=$hardcode_automatic
18231
# Set to yes if linker adds runtime paths of dependent libraries
18232
# to runtime path list.
18233
inherit_rpath=$inherit_rpath
18235
# Whether libtool must link a program against all its dependency libraries.
18236
link_all_deplibs=$link_all_deplibs
18238
# Set to "yes" if exported symbols are required.
18239
always_export_symbols=$always_export_symbols
18241
# The commands to list exported symbols.
18242
export_symbols_cmds=$lt_export_symbols_cmds
18244
# Symbols that should not be listed in the preloaded symbols.
18245
exclude_expsyms=$lt_exclude_expsyms
18247
# Symbols that must always be exported.
18248
include_expsyms=$lt_include_expsyms
18250
# Commands necessary for linking programs (against libraries) with templates.
18251
prelink_cmds=$lt_prelink_cmds
18253
# Commands necessary for finishing linking programs.
18254
postlink_cmds=$lt_postlink_cmds
18256
# Specify filename containing input files.
18257
file_list_spec=$lt_file_list_spec
18259
# How to hardcode a shared library path into an executable.
18260
hardcode_action=$hardcode_action
18262
# The directories searched by this compiler when creating a shared library.
18263
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18265
# Dependencies to place before and after the objects being linked to
18266
# create a shared library.
18267
predep_objects=$lt_predep_objects
18268
postdep_objects=$lt_postdep_objects
18269
predeps=$lt_predeps
18270
postdeps=$lt_postdeps
18272
# The library search path used internally by the compiler when linking
18273
# a shared library.
18274
compiler_lib_search_path=$lt_compiler_lib_search_path
18276
# ### END LIBTOOL CONFIG
18282
cat <<\_LT_EOF >> "$cfgfile"
18283
# AIX sometimes has problems with the GCC collect2 program. For some
18284
# reason, if we set the COLLECT_NAMES environment variable, the problems
18285
# vanish in a puff of smoke.
18286
if test "X${COLLECT_NAMES+set}" != Xset; then
18288
export COLLECT_NAMES
18295
ltmain="$ac_aux_dir/ltmain.sh"
18298
# We use sed instead of cat because bash on DJGPP gets confused if
18299
# if finds mixed CR/LF and LF-only lines. Since sed operates in
18300
# text mode, it properly converts lines to CR/LF. This bash problem
18301
# is reportedly fixed, but why not run on old versions too?
18302
sed '$q' "$ltmain" >> "$cfgfile" \
18303
|| (rm -f "$cfgfile"; exit 1)
18305
if test x"$xsi_shell" = xyes; then
18306
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18310
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18311
\ * ) func_dirname_result="${3}" ;;\
18313
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18314
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18315
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18316
test 0 -eq $? || _lt_function_replace_fail=:
18319
sed -e '/^func_basename ()$/,/^} # func_basename /c\
18322
\ func_basename_result="${1##*/}"\
18323
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18324
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18325
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18326
test 0 -eq $? || _lt_function_replace_fail=:
18329
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18330
func_dirname_and_basename ()\
18333
\ */*) func_dirname_result="${1%/*}${2}" ;;\
18334
\ * ) func_dirname_result="${3}" ;;\
18336
\ func_basename_result="${1##*/}"\
18337
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18338
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18339
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18340
test 0 -eq $? || _lt_function_replace_fail=:
18343
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18346
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18347
\ # positional parameters, so assign one to ordinary parameter first.\
18348
\ func_stripname_result=${3}\
18349
\ func_stripname_result=${func_stripname_result#"${1}"}\
18350
\ func_stripname_result=${func_stripname_result%"${2}"}\
18351
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18352
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18353
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18354
test 0 -eq $? || _lt_function_replace_fail=:
18357
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18358
func_split_long_opt ()\
18360
\ func_split_long_opt_name=${1%%=*}\
18361
\ func_split_long_opt_arg=${1#*=}\
18362
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18363
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18364
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18365
test 0 -eq $? || _lt_function_replace_fail=:
18368
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18369
func_split_short_opt ()\
18371
\ func_split_short_opt_arg=${1#??}\
18372
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18373
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18374
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18375
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18376
test 0 -eq $? || _lt_function_replace_fail=:
18379
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18383
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18384
\ *) func_lo2o_result=${1} ;;\
18386
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18387
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18388
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18389
test 0 -eq $? || _lt_function_replace_fail=:
18392
sed -e '/^func_xform ()$/,/^} # func_xform /c\
18395
func_xform_result=${1%.*}.lo\
18396
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18397
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18398
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18399
test 0 -eq $? || _lt_function_replace_fail=:
18402
sed -e '/^func_arith ()$/,/^} # func_arith /c\
18405
func_arith_result=$(( $* ))\
18406
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18407
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18408
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18409
test 0 -eq $? || _lt_function_replace_fail=:
18412
sed -e '/^func_len ()$/,/^} # func_len /c\
18415
func_len_result=${#1}\
18416
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18417
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18418
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18419
test 0 -eq $? || _lt_function_replace_fail=:
18423
if test x"$lt_shell_append" = xyes; then
18424
sed -e '/^func_append ()$/,/^} # func_append /c\
18427
eval "${1}+=\\${2}"\
18428
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18429
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18430
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18431
test 0 -eq $? || _lt_function_replace_fail=:
18434
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18435
func_append_quoted ()\
18437
\ func_quote_for_eval "${2}"\
18438
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18439
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18440
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18441
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18442
test 0 -eq $? || _lt_function_replace_fail=:
18445
# Save a `func_append' function call where possible by direct use of '+='
18446
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18447
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18448
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18449
test 0 -eq $? || _lt_function_replace_fail=:
18451
# Save a `func_append' function call even when '+=' is not available
18452
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18453
&& mv -f "$cfgfile.tmp" "$cfgfile" \
18454
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18455
test 0 -eq $? || _lt_function_replace_fail=:
18458
if test x"$_lt_function_replace_fail" = x":"; then
18459
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18460
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18464
mv -f "$cfgfile" "$ofile" ||
18465
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18469
cat <<_LT_EOF >> "$ofile"
18471
# ### BEGIN LIBTOOL TAG CONFIG: CXX
18473
# The linker used to build libraries.
18476
# How to create reloadable object files.
18477
reload_flag=$lt_reload_flag_CXX
18478
reload_cmds=$lt_reload_cmds_CXX
18480
# Commands used to build an old-style archive.
18481
old_archive_cmds=$lt_old_archive_cmds_CXX
18483
# A language specific compiler.
18484
CC=$lt_compiler_CXX
18486
# Is the compiler the GNU compiler?
18489
# Compiler flag to turn off builtin functions.
18490
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
18492
# Additional compiler flags for building library objects.
18493
pic_flag=$lt_lt_prog_compiler_pic_CXX
18495
# How to pass a linker flag through the compiler.
18496
wl=$lt_lt_prog_compiler_wl_CXX
18498
# Compiler flag to prevent dynamic linking.
18499
link_static_flag=$lt_lt_prog_compiler_static_CXX
18501
# Does compiler simultaneously support -c and -o options?
18502
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
18504
# Whether or not to add -lc for building shared libraries.
18505
build_libtool_need_lc=$archive_cmds_need_lc_CXX
18507
# Whether or not to disallow shared libs when runtime libs are static.
18508
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
18510
# Compiler flag to allow reflexive dlopens.
18511
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
18513
# Compiler flag to generate shared objects directly from archives.
18514
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
18516
# Whether the compiler copes with passing no objects directly.
18517
compiler_needs_object=$lt_compiler_needs_object_CXX
18519
# Create an old-style archive from a shared archive.
18520
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
18522
# Create a temporary old-style archive to link instead of a shared archive.
18523
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
18525
# Commands used to build a shared archive.
18526
archive_cmds=$lt_archive_cmds_CXX
18527
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
18529
# Commands used to build a loadable module if different from building
18530
# a shared archive.
18531
module_cmds=$lt_module_cmds_CXX
18532
module_expsym_cmds=$lt_module_expsym_cmds_CXX
18534
# Whether we are building with GNU ld or not.
18535
with_gnu_ld=$lt_with_gnu_ld_CXX
18537
# Flag that allows shared libraries with undefined symbols to be built.
18538
allow_undefined_flag=$lt_allow_undefined_flag_CXX
18540
# Flag that enforces no undefined symbols.
18541
no_undefined_flag=$lt_no_undefined_flag_CXX
18543
# Flag to hardcode \$libdir into a binary during linking.
18544
# This must work even if \$libdir does not exist
18545
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
18547
# Whether we need a single "-rpath" flag with a separated argument.
18548
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
18550
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18551
# DIR into the resulting binary.
18552
hardcode_direct=$hardcode_direct_CXX
18554
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18555
# DIR into the resulting binary and the resulting library dependency is
18556
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18557
# library is relocated.
18558
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
18560
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18561
# into the resulting binary.
18562
hardcode_minus_L=$hardcode_minus_L_CXX
18564
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18565
# into the resulting binary.
18566
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
18568
# Set to "yes" if building a shared library automatically hardcodes DIR
18569
# into the library and all subsequent libraries and executables linked
18571
hardcode_automatic=$hardcode_automatic_CXX
18573
# Set to yes if linker adds runtime paths of dependent libraries
18574
# to runtime path list.
18575
inherit_rpath=$inherit_rpath_CXX
18577
# Whether libtool must link a program against all its dependency libraries.
18578
link_all_deplibs=$link_all_deplibs_CXX
18580
# Set to "yes" if exported symbols are required.
18581
always_export_symbols=$always_export_symbols_CXX
18583
# The commands to list exported symbols.
18584
export_symbols_cmds=$lt_export_symbols_cmds_CXX
18586
# Symbols that should not be listed in the preloaded symbols.
18587
exclude_expsyms=$lt_exclude_expsyms_CXX
18589
# Symbols that must always be exported.
18590
include_expsyms=$lt_include_expsyms_CXX
18592
# Commands necessary for linking programs (against libraries) with templates.
18593
prelink_cmds=$lt_prelink_cmds_CXX
18595
# Commands necessary for finishing linking programs.
18596
postlink_cmds=$lt_postlink_cmds_CXX
18598
# Specify filename containing input files.
18599
file_list_spec=$lt_file_list_spec_CXX
18601
# How to hardcode a shared library path into an executable.
18602
hardcode_action=$hardcode_action_CXX
18604
# The directories searched by this compiler when creating a shared library.
18605
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
18607
# Dependencies to place before and after the objects being linked to
18608
# create a shared library.
18609
predep_objects=$lt_predep_objects_CXX
18610
postdep_objects=$lt_postdep_objects_CXX
18611
predeps=$lt_predeps_CXX
18612
postdeps=$lt_postdeps_CXX
18614
# The library search path used internally by the compiler when linking
18615
# a shared library.
18616
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
18618
# ### END LIBTOOL TAG CONFIG: CXX
18629
ac_clean_files=$ac_clean_files_save
18631
test $ac_write_fail = 0 ||
18632
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18635
# configure is writing to config.log, and then calls config.status.
18636
# config.status does its own redirection, appending to config.log.
18637
# Unfortunately, on DOS this fails, as config.log is still kept open
18638
# by configure, so config.status won't be able to write to it; its
18639
# output is simply discarded. So we exec the FD to /dev/null,
18640
# effectively closing config.log, so it can be properly (re)opened and
18641
# appended to by config.status. When coming back to configure, we
18642
# need to make the FD available again.
18643
if test "$no_create" != yes; then
18645
ac_config_status_args=
18646
test "$silent" = yes &&
18647
ac_config_status_args="$ac_config_status_args --quiet"
18649
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18651
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
18652
# would make configure fail if this is the last instruction.
18653
$ac_cs_success || as_fn_exit 1
18655
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18656
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18657
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}