2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.68 for ORTHPOLxx 1.0.
5
# Report bugs to <dabi@imm.dtu.dk>.
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13
# This configure script is free software; the Free Software Foundation
14
# gives unlimited permission to copy, distribute and modify it.
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
19
# Be more Bourne compatible
20
DUALCASE=1; export DUALCASE # for MKS sh
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25
# is contrary to our usage. Disable this feature.
26
alias -g '${1+"$@"}'='"$@"'
29
case `(set -o) 2>/dev/null` in #(
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
76
# The user is always right.
77
if test "${PATH_SEPARATOR+set}" != set; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87
# We need space, tab and new line, in precisely that order. Quoting is
88
# there to prevent editors from complaining about space-tab.
89
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90
# splitting by setting IFS to empty value.)
93
# Find who we are. Look in the path if we contain no directory separator.
96
*[\\/]* ) as_myself=$0 ;;
97
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101
test -z "$as_dir" && as_dir=.
102
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108
# We did not find ourselves, most probably we were run as `sh COMMAND'
109
# in which case we are not to be found in the path.
110
if test "x$as_myself" = x; then
113
if test ! -f "$as_myself"; then
114
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118
# Unset variables that we do not need and which cause bugs (e.g. in
119
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120
# suppresses any "Segmentation fault" message there. '((' could
121
# trigger a bug in pdksh 5.2.14.
122
for as_var in BASH_ENV ENV MAIL MAILPATH
123
do eval test x\${$as_var+set} = xset \
124
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139
if test "x$CONFIG_SHELL" = x; then
140
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144
# is contrary to our usage. Disable this feature.
145
alias -g '\${1+\"\$@\"}'='\"\$@\"'
148
case \`(set -o) 2>/dev/null\` in #(
156
as_required="as_fn_return () { (exit \$1); }
157
as_fn_success () { as_fn_return 0; }
158
as_fn_failure () { as_fn_return 1; }
159
as_fn_ret_success () { return 0; }
160
as_fn_ret_failure () { return 1; }
163
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170
exitcode=1; echo positional parameters were not saved.
172
test x\$exitcode = x0 || exit 1"
173
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
178
test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181
ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182
PATH=/empty FPATH=/empty; export PATH FPATH
183
test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184
|| test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185
test \$(( 1 + 1 )) = 2 || exit 1"
186
if (eval "$as_required") 2>/dev/null; then :
191
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
194
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
199
test -z "$as_dir" && as_dir=.
203
for as_base in sh bash ksh sh5; do
204
# Try only shells that exist, to save several forks.
205
as_shell=$as_dir/$as_base
206
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208
CONFIG_SHELL=$as_shell as_have_required=yes
209
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
217
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219
CONFIG_SHELL=$SHELL as_have_required=yes
224
if test "x$CONFIG_SHELL" != x; then :
225
# We cannot yet assume a decent shell, so we have to provide a
226
# neutralization value for shells without unset; and this also
227
# works around shells that cannot unset nonexistent variables.
228
# Preserve -v and -x to the replacement shell.
231
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
234
*v*x* | *x*v* ) as_opts=-vx ;;
239
exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
242
if test x$as_have_required = xno; then :
243
$as_echo "$0: This script requires a shell more modern than all"
244
$as_echo "$0: the shells that I found on your system."
245
if test x${ZSH_VERSION+set} = xset ; then
246
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
249
$as_echo "$0: Please tell bug-autoconf@gnu.org and dabi@imm.dtu.dk
250
$0: about your system, including any error possibly output
251
$0: before this message. Then install a modern shell, or
252
$0: manually run the script under such a shell if you do
259
SHELL=${CONFIG_SHELL-/bin/sh}
261
# Unset more variables known to interfere with behavior of common tools.
262
CLICOLOR_FORCE= GREP_OPTIONS=
263
unset CLICOLOR_FORCE GREP_OPTIONS
265
## --------------------- ##
266
## M4sh Shell Functions. ##
267
## --------------------- ##
270
# Portably unset VAR.
273
{ eval $1=; unset $1;}
277
# as_fn_set_status STATUS
278
# -----------------------
279
# Set $? to STATUS, without forking.
287
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
297
# Create "$as_dir" as a directory, including parents if necessary.
302
-*) as_dir=./$as_dir;;
304
test -d "$as_dir" || eval $as_mkdir_p || {
308
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
311
as_dirs="'$as_qdir' $as_dirs"
312
as_dir=`$as_dirname -- "$as_dir" ||
313
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314
X"$as_dir" : 'X\(//\)[^/]' \| \
315
X"$as_dir" : 'X\(//\)$' \| \
316
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317
$as_echo X"$as_dir" |
318
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
335
test -d "$as_dir" && break
337
test -z "$as_dirs" || eval "mkdir $as_dirs"
338
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
342
# as_fn_append VAR VALUE
343
# ----------------------
344
# Append the text in VALUE to the end of the definition contained in VAR. Take
345
# advantage of any shell optimizations that allow amortized linear growth over
346
# repeated appends, instead of the typical quadratic growth present in naive
348
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349
eval 'as_fn_append ()
362
# Perform arithmetic evaluation on the ARGs, and store the result in the
363
# global $as_val. Take advantage of shells that can avoid forks. The arguments
364
# must be portable across $(()) and expr.
365
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
373
as_val=`expr "$@" || test $? -eq 1`
378
# as_fn_error STATUS ERROR [LINENO LOG_FD]
379
# ----------------------------------------
380
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382
# script with STATUS, using 1 if that was 0.
385
as_status=$1; test $as_status -eq 0 && as_status=1
387
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
390
$as_echo "$as_me: error: $2" >&2
391
as_fn_exit $as_status
394
if expr a : '\(a\)' >/dev/null 2>&1 &&
395
test "X`expr 00001 : '.*\(...\)'`" = X001; then
401
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
407
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
413
as_me=`$as_basename -- "$0" ||
414
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415
X"$0" : 'X\(//\)$' \| \
416
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
418
sed '/^.*\/\([^/][^/]*\)\/*$/{
432
# Avoid depending upon Character Ranges.
433
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436
as_cr_digits='0123456789'
437
as_cr_alnum=$as_cr_Letters$as_cr_digits
440
as_lineno_1=$LINENO as_lineno_1a=$LINENO
441
as_lineno_2=$LINENO as_lineno_2a=$LINENO
442
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
456
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
460
chmod +x "$as_me.lineno" ||
461
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
463
# Don't try to exec as it changes $[0], causing all sort of problems
464
# (the dirname of $[0] is not the place where we might find the
465
# original and so on. Autoconf is especially sensitive to this).
467
# Exit status is that of the last command.
471
ECHO_C= ECHO_N= ECHO_T=
472
case `echo -n x` in #(((((
474
case `echo 'xy\c'` in
475
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
477
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
489
mkdir conf$$.dir 2>/dev/null
491
if (echo >conf$$.file) 2>/dev/null; then
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
500
elif ln conf$$.file conf$$ 2>/dev/null; then
508
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509
rmdir conf$$.dir 2>/dev/null
511
if mkdir -p . 2>/dev/null; then
512
as_mkdir_p='mkdir -p "$as_dir"'
514
test -d ./-p && rmdir ./-p
518
if test -x / >/dev/null 2>&1; then
521
if ls -dL / >/dev/null 2>&1; then
528
if test -d "$1"; then
534
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535
???[sx]*):;;*)false;;esac;fi
539
as_executable_p=$as_test_x
541
# Sed expression to map a string onto a valid CPP name.
542
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
544
# Sed expression to map a string onto a valid variable name.
545
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
547
SHELL=${CONFIG_SHELL-/bin/sh}
550
test -n "$DJDIR" || exec 7<&0 </dev/null
554
# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555
# so uname gets run too.
556
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
561
ac_default_prefix=/usr/local
563
ac_config_libobj_dir=.
570
# Identity of this package.
571
PACKAGE_NAME='ORTHPOLxx'
572
PACKAGE_TARNAME='orthpolxx'
573
PACKAGE_VERSION='1.0'
574
PACKAGE_STRING='ORTHPOLxx 1.0'
575
PACKAGE_BUGREPORT='dabi@imm.dtu.dk'
578
# Factoring default headers for most tests.
579
ac_includes_default="\
581
#ifdef HAVE_SYS_TYPES_H
582
# include <sys/types.h>
584
#ifdef HAVE_SYS_STAT_H
585
# include <sys/stat.h>
591
# ifdef HAVE_STDLIB_H
596
# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601
#ifdef HAVE_STRINGS_H
602
# include <strings.h>
604
#ifdef HAVE_INTTYPES_H
605
# include <inttypes.h>
614
ac_subst_vars='am__EXEEXT_FALSE
683
INSTALL_STRIP_PROGRAM
725
program_transform_name
738
enable_option_checking
743
enable_dependency_tracking
748
ac_precious_vars='build_alias
765
# Initialize some variables set by options.
767
ac_init_version=false
768
ac_unrecognized_opts=
770
# The variables have the same names as the options, with
771
# dashes changed to underlines.
779
program_transform_name=s,x,x,
787
# Installation directory options.
788
# These are left unexpanded so users can "make install exec_prefix=/foo"
789
# and all the variables that are supposed to be based on exec_prefix
790
# by default will actually change.
791
# Use braces instead of parens because sh, perl, etc. also accept them.
792
# (The list follows the same order as the GNU Coding Standards.)
793
bindir='${exec_prefix}/bin'
794
sbindir='${exec_prefix}/sbin'
795
libexecdir='${exec_prefix}/libexec'
796
datarootdir='${prefix}/share'
797
datadir='${datarootdir}'
798
sysconfdir='${prefix}/etc'
799
sharedstatedir='${prefix}/com'
800
localstatedir='${prefix}/var'
801
includedir='${prefix}/include'
802
oldincludedir='/usr/include'
803
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804
infodir='${datarootdir}/info'
809
libdir='${exec_prefix}/lib'
810
localedir='${datarootdir}/locale'
811
mandir='${datarootdir}/man'
817
# If the previous option needs an argument, assign it.
818
if test -n "$ac_prev"; then
819
eval $ac_prev=\$ac_option
825
*=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830
# Accept the important Cygnus configure options, so we can diagnose typos.
832
case $ac_dashdash$ac_option in
836
-bindir | --bindir | --bindi | --bind | --bin | --bi)
838
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841
-build | --build | --buil | --bui | --bu)
842
ac_prev=build_alias ;;
843
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
844
build_alias=$ac_optarg ;;
846
-cache-file | --cache-file | --cache-fil | --cache-fi \
847
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848
ac_prev=cache_file ;;
849
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851
cache_file=$ac_optarg ;;
854
cache_file=config.cache ;;
856
-datadir | --datadir | --datadi | --datad)
858
-datadir=* | --datadir=* | --datadi=* | --datad=*)
859
datadir=$ac_optarg ;;
861
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862
| --dataroo | --dataro | --datar)
863
ac_prev=datarootdir ;;
864
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866
datarootdir=$ac_optarg ;;
868
-disable-* | --disable-*)
869
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870
# Reject names that are not valid shell variable names.
871
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872
as_fn_error $? "invalid feature name: $ac_useropt"
873
ac_useropt_orig=$ac_useropt
874
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875
case $ac_user_opts in
879
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880
ac_unrecognized_sep=', ';;
882
eval enable_$ac_useropt=no ;;
884
-docdir | --docdir | --docdi | --doc | --do)
886
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894
-enable-* | --enable-*)
895
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896
# Reject names that are not valid shell variable names.
897
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898
as_fn_error $? "invalid feature name: $ac_useropt"
899
ac_useropt_orig=$ac_useropt
900
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901
case $ac_user_opts in
905
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906
ac_unrecognized_sep=', ';;
908
eval enable_$ac_useropt=\$ac_optarg ;;
910
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912
| --exec | --exe | --ex)
913
ac_prev=exec_prefix ;;
914
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916
| --exec=* | --exe=* | --ex=*)
917
exec_prefix=$ac_optarg ;;
919
-gas | --gas | --ga | --g)
920
# Obsolete; use --with-gas.
923
-help | --help | --hel | --he | -h)
925
-help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926
ac_init_help=recursive ;;
927
-help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928
ac_init_help=short ;;
930
-host | --host | --hos | --ho)
931
ac_prev=host_alias ;;
932
-host=* | --host=* | --hos=* | --ho=*)
933
host_alias=$ac_optarg ;;
935
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939
htmldir=$ac_optarg ;;
941
-includedir | --includedir | --includedi | --included | --include \
942
| --includ | --inclu | --incl | --inc)
943
ac_prev=includedir ;;
944
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945
| --includ=* | --inclu=* | --incl=* | --inc=*)
946
includedir=$ac_optarg ;;
948
-infodir | --infodir | --infodi | --infod | --info | --inf)
950
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951
infodir=$ac_optarg ;;
953
-libdir | --libdir | --libdi | --libd)
955
-libdir=* | --libdir=* | --libdi=* | --libd=*)
958
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959
| --libexe | --libex | --libe)
960
ac_prev=libexecdir ;;
961
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962
| --libexe=* | --libex=* | --libe=*)
963
libexecdir=$ac_optarg ;;
965
-localedir | --localedir | --localedi | --localed | --locale)
967
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968
localedir=$ac_optarg ;;
970
-localstatedir | --localstatedir | --localstatedi | --localstated \
971
| --localstate | --localstat | --localsta | --localst | --locals)
972
ac_prev=localstatedir ;;
973
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975
localstatedir=$ac_optarg ;;
977
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983
# Obsolete; use --without-fp.
986
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
987
| --no-cr | --no-c | -n)
990
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
991
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996
| --oldin | --oldi | --old | --ol | --o)
997
ac_prev=oldincludedir ;;
998
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001
oldincludedir=$ac_optarg ;;
1003
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006
prefix=$ac_optarg ;;
1008
-program-prefix | --program-prefix | --program-prefi | --program-pref \
1009
| --program-pre | --program-pr | --program-p)
1010
ac_prev=program_prefix ;;
1011
-program-prefix=* | --program-prefix=* | --program-prefi=* \
1012
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013
program_prefix=$ac_optarg ;;
1015
-program-suffix | --program-suffix | --program-suffi | --program-suff \
1016
| --program-suf | --program-su | --program-s)
1017
ac_prev=program_suffix ;;
1018
-program-suffix=* | --program-suffix=* | --program-suffi=* \
1019
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020
program_suffix=$ac_optarg ;;
1022
-program-transform-name | --program-transform-name \
1023
| --program-transform-nam | --program-transform-na \
1024
| --program-transform-n | --program-transform- \
1025
| --program-transform | --program-transfor \
1026
| --program-transfo | --program-transf \
1027
| --program-trans | --program-tran \
1028
| --progr-tra | --program-tr | --program-t)
1029
ac_prev=program_transform_name ;;
1030
-program-transform-name=* | --program-transform-name=* \
1031
| --program-transform-nam=* | --program-transform-na=* \
1032
| --program-transform-n=* | --program-transform-=* \
1033
| --program-transform=* | --program-transfor=* \
1034
| --program-transfo=* | --program-transf=* \
1035
| --program-trans=* | --program-tran=* \
1036
| --progr-tra=* | --program-tr=* | --program-t=*)
1037
program_transform_name=$ac_optarg ;;
1039
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042
pdfdir=$ac_optarg ;;
1044
-psdir | --psdir | --psdi | --psd | --ps)
1046
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050
| -silent | --silent | --silen | --sile | --sil)
1053
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057
sbindir=$ac_optarg ;;
1059
-sharedstatedir | --sharedstatedir | --sharedstatedi \
1060
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061
| --sharedst | --shareds | --shared | --share | --shar \
1063
ac_prev=sharedstatedir ;;
1064
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068
sharedstatedir=$ac_optarg ;;
1070
-site | --site | --sit)
1072
-site=* | --site=* | --sit=*)
1075
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078
srcdir=$ac_optarg ;;
1080
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081
| --syscon | --sysco | --sysc | --sys | --sy)
1082
ac_prev=sysconfdir ;;
1083
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085
sysconfdir=$ac_optarg ;;
1087
-target | --target | --targe | --targ | --tar | --ta | --t)
1088
ac_prev=target_alias ;;
1089
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090
target_alias=$ac_optarg ;;
1092
-v | -verbose | --verbose | --verbos | --verbo | --verb)
1095
-version | --version | --versio | --versi | --vers | -V)
1096
ac_init_version=: ;;
1099
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100
# Reject names that are not valid shell variable names.
1101
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102
as_fn_error $? "invalid package name: $ac_useropt"
1103
ac_useropt_orig=$ac_useropt
1104
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105
case $ac_user_opts in
1109
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110
ac_unrecognized_sep=', ';;
1112
eval with_$ac_useropt=\$ac_optarg ;;
1114
-without-* | --without-*)
1115
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116
# Reject names that are not valid shell variable names.
1117
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118
as_fn_error $? "invalid package name: $ac_useropt"
1119
ac_useropt_orig=$ac_useropt
1120
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121
case $ac_user_opts in
1125
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126
ac_unrecognized_sep=', ';;
1128
eval with_$ac_useropt=no ;;
1131
# Obsolete; use --with-x.
1134
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135
| --x-incl | --x-inc | --x-in | --x-i)
1136
ac_prev=x_includes ;;
1137
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139
x_includes=$ac_optarg ;;
1141
-x-libraries | --x-libraries | --x-librarie | --x-librari \
1142
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143
ac_prev=x_libraries ;;
1144
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146
x_libraries=$ac_optarg ;;
1148
-*) as_fn_error $? "unrecognized option: \`$ac_option'
1149
Try \`$0 --help' for more information"
1153
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154
# Reject names that are not valid shell variable names.
1155
case $ac_envvar in #(
1156
'' | [0-9]* | *[!_$as_cr_alnum]* )
1157
as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1159
eval $ac_envvar=\$ac_optarg
1160
export $ac_envvar ;;
1163
# FIXME: should be removed in autoconf 3.0.
1164
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167
: "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1173
if test -n "$ac_prev"; then
1174
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175
as_fn_error $? "missing argument to $ac_option"
1178
if test -n "$ac_unrecognized_opts"; then
1179
case $enable_option_checking in
1181
fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186
# Check all directory arguments for consistency.
1187
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188
datadir sysconfdir sharedstatedir localstatedir includedir \
1189
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190
libdir localedir mandir
1192
eval ac_val=\$$ac_var
1193
# Remove trailing slashes.
1196
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197
eval $ac_var=\$ac_val;;
1199
# Be sure to have absolute directory names.
1201
[\\/$]* | ?:[\\/]* ) continue;;
1202
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204
as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207
# There might be people who depend on the old broken behavior: `$host'
1208
# used to hold the argument of --host etc.
1209
# FIXME: To remove some day.
1212
target=$target_alias
1214
# FIXME: To remove some day.
1215
if test "x$host_alias" != x; then
1216
if test "x$build_alias" = x; then
1217
cross_compiling=maybe
1218
$as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1219
If a cross compiler is detected then cross compile mode will be used" >&2
1220
elif test "x$build_alias" != "x$host_alias"; then
1226
test -n "$host_alias" && ac_tool_prefix=$host_alias-
1228
test "$silent" = yes && exec 6>/dev/null
1231
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1232
ac_ls_di=`ls -di .` &&
1233
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1234
as_fn_error $? "working directory cannot be determined"
1235
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1236
as_fn_error $? "pwd does not report name of working directory"
1239
# Find the source files, if location was not specified.
1240
if test -z "$srcdir"; then
1241
ac_srcdir_defaulted=yes
1242
# Try the directory containing this script, then the parent directory.
1243
ac_confdir=`$as_dirname -- "$as_myself" ||
1244
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1245
X"$as_myself" : 'X\(//\)[^/]' \| \
1246
X"$as_myself" : 'X\(//\)$' \| \
1247
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1248
$as_echo X"$as_myself" |
1249
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1267
if test ! -r "$srcdir/$ac_unique_file"; then
1271
ac_srcdir_defaulted=no
1273
if test ! -r "$srcdir/$ac_unique_file"; then
1274
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1275
as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1277
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1279
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1281
# When building in place, set srcdir=.
1282
if test "$ac_abs_confdir" = "$ac_pwd"; then
1285
# Remove unnecessary trailing slashes from srcdir.
1286
# Double slashes in file names in object file debugging info
1287
# mess up M-x gdb in Emacs.
1289
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1291
for ac_var in $ac_precious_vars; do
1292
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1293
eval ac_env_${ac_var}_value=\$${ac_var}
1294
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1295
eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299
# Report the --help message.
1301
if test "$ac_init_help" = "long"; then
1302
# Omit some internal or obsolete options to make the list less imposing.
1303
# This message is too long to be a string in the A/UX 3.1 sh.
1305
\`configure' configures ORTHPOLxx 1.0 to adapt to many kinds of systems.
1307
Usage: $0 [OPTION]... [VAR=VALUE]...
1309
To assign environment variables (e.g., CC, CFLAGS...), specify them as
1310
VAR=VALUE. See below for descriptions of some of the useful variables.
1312
Defaults for the options are specified in brackets.
1315
-h, --help display this help and exit
1316
--help=short display options specific to this package
1317
--help=recursive display the short help of all the included packages
1318
-V, --version display version information and exit
1319
-q, --quiet, --silent do not print \`checking ...' messages
1320
--cache-file=FILE cache test results in FILE [disabled]
1321
-C, --config-cache alias for \`--cache-file=config.cache'
1322
-n, --no-create do not create output files
1323
--srcdir=DIR find the sources in DIR [configure dir or \`..']
1325
Installation directories:
1326
--prefix=PREFIX install architecture-independent files in PREFIX
1327
[$ac_default_prefix]
1328
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1331
By default, \`make install' will install all the files in
1332
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1333
an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1334
for instance \`--prefix=\$HOME'.
1336
For better control, use the options below.
1338
Fine tuning of the installation directories:
1339
--bindir=DIR user executables [EPREFIX/bin]
1340
--sbindir=DIR system admin executables [EPREFIX/sbin]
1341
--libexecdir=DIR program executables [EPREFIX/libexec]
1342
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1343
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1344
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
1345
--libdir=DIR object code libraries [EPREFIX/lib]
1346
--includedir=DIR C header files [PREFIX/include]
1347
--oldincludedir=DIR C header files for non-gcc [/usr/include]
1348
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1349
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1350
--infodir=DIR info documentation [DATAROOTDIR/info]
1351
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1352
--mandir=DIR man documentation [DATAROOTDIR/man]
1353
--docdir=DIR documentation root [DATAROOTDIR/doc/orthpolxx]
1354
--htmldir=DIR html documentation [DOCDIR]
1355
--dvidir=DIR dvi documentation [DOCDIR]
1356
--pdfdir=DIR pdf documentation [DOCDIR]
1357
--psdir=DIR ps documentation [DOCDIR]
1363
--program-prefix=PREFIX prepend PREFIX to installed program names
1364
--program-suffix=SUFFIX append SUFFIX to installed program names
1365
--program-transform-name=PROGRAM run sed PROGRAM on installed program names
1368
--build=BUILD configure for building on BUILD [guessed]
1369
--host=HOST cross-compile to build programs to run on HOST [BUILD]
1373
if test -n "$ac_init_help"; then
1374
case $ac_init_help in
1375
short | recursive ) echo "Configuration of ORTHPOLxx 1.0:";;
1380
--disable-option-checking ignore unrecognized --enable/--with options
1381
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1382
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1383
--enable-shared[=PKGS] build shared libraries [default=yes]
1384
--enable-static[=PKGS] build static libraries [default=yes]
1385
--enable-fast-install[=PKGS]
1386
optimize for fast installation [default=yes]
1387
--disable-dependency-tracking speeds up one-time build
1388
--enable-dependency-tracking do not reject slow dependency extractors
1389
--disable-libtool-lock avoid locking (might break parallel builds)
1392
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1393
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1394
--with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1396
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
1397
--with-sysroot=DIR Search for dependent libraries within DIR
1398
(or the compiler's sysroot if not specified).
1400
Some influential environment variables:
1401
CC C compiler command
1402
CFLAGS C compiler flags
1403
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404
nonstandard directory <lib dir>
1405
LIBS libraries to pass to the linker, e.g. -l<library>
1406
CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1407
you have headers in a nonstandard directory <include dir>
1409
CXX C++ compiler command
1410
CXXFLAGS C++ compiler flags
1411
CXXCPP C++ preprocessor
1412
F77 Fortran 77 compiler command
1413
FFLAGS Fortran 77 compiler flags
1415
Use these variables to override the choices made by `configure' or to help
1416
it to find libraries and programs with nonstandard names/locations.
1418
Report bugs to <dabi@imm.dtu.dk>.
1423
if test "$ac_init_help" = "recursive"; then
1424
# If there are subdirs, report their specific --help.
1425
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1426
test -d "$ac_dir" ||
1427
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1432
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1435
# A ".." for each directory in $ac_dir_suffix.
1436
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1437
case $ac_top_builddir_sub in
1438
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442
ac_abs_top_builddir=$ac_pwd
1443
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1444
# for backward compatibility:
1445
ac_top_builddir=$ac_top_build_prefix
1448
.) # We are building in place.
1450
ac_top_srcdir=$ac_top_builddir_sub
1451
ac_abs_top_srcdir=$ac_pwd ;;
1452
[\\/]* | ?:[\\/]* ) # Absolute name.
1453
ac_srcdir=$srcdir$ac_dir_suffix;
1454
ac_top_srcdir=$srcdir
1455
ac_abs_top_srcdir=$srcdir ;;
1457
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1458
ac_top_srcdir=$ac_top_build_prefix$srcdir
1459
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1461
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1463
cd "$ac_dir" || { ac_status=$?; continue; }
1464
# Check for guested configure.
1465
if test -f "$ac_srcdir/configure.gnu"; then
1467
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1468
elif test -f "$ac_srcdir/configure"; then
1470
$SHELL "$ac_srcdir/configure" --help=recursive
1472
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474
cd "$ac_pwd" || { ac_status=$?; break; }
1478
test -n "$ac_init_help" && exit $ac_status
1479
if $ac_init_version; then
1481
ORTHPOLxx configure 1.0
1482
generated by GNU Autoconf 2.68
1484
Copyright (C) 2010 Free Software Foundation, Inc.
1485
This configure script is free software; the Free Software Foundation
1486
gives unlimited permission to copy, distribute and modify it.
1491
## ------------------------ ##
1492
## Autoconf initialization. ##
1493
## ------------------------ ##
1495
# ac_fn_c_try_compile LINENO
1496
# --------------------------
1497
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1498
ac_fn_c_try_compile ()
1500
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501
rm -f conftest.$ac_objext
1502
if { { ac_try="$ac_compile"
1504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505
*) ac_try_echo=$ac_try;;
1507
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508
$as_echo "$ac_try_echo"; } >&5
1509
(eval "$ac_compile") 2>conftest.err
1511
if test -s conftest.err; then
1512
grep -v '^ *+' conftest.err >conftest.er1
1513
cat conftest.er1 >&5
1514
mv -f conftest.er1 conftest.err
1516
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517
test $ac_status = 0; } && {
1518
test -z "$ac_c_werror_flag" ||
1519
test ! -s conftest.err
1520
} && test -s conftest.$ac_objext; then :
1523
$as_echo "$as_me: failed program was:" >&5
1524
sed 's/^/| /' conftest.$ac_ext >&5
1528
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529
as_fn_set_status $ac_retval
1531
} # ac_fn_c_try_compile
1533
# ac_fn_c_try_link LINENO
1534
# -----------------------
1535
# Try to link conftest.$ac_ext, and return whether this succeeded.
1538
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539
rm -f conftest.$ac_objext conftest$ac_exeext
1540
if { { ac_try="$ac_link"
1542
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543
*) ac_try_echo=$ac_try;;
1545
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546
$as_echo "$ac_try_echo"; } >&5
1547
(eval "$ac_link") 2>conftest.err
1549
if test -s conftest.err; then
1550
grep -v '^ *+' conftest.err >conftest.er1
1551
cat conftest.er1 >&5
1552
mv -f conftest.er1 conftest.err
1554
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1555
test $ac_status = 0; } && {
1556
test -z "$ac_c_werror_flag" ||
1557
test ! -s conftest.err
1558
} && test -s conftest$ac_exeext && {
1559
test "$cross_compiling" = yes ||
1560
$as_test_x conftest$ac_exeext
1564
$as_echo "$as_me: failed program was:" >&5
1565
sed 's/^/| /' conftest.$ac_ext >&5
1569
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1570
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1571
# interfere with the next link command; also delete a directory that is
1572
# left behind by Apple's compiler. We do this before executing the actions.
1573
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1574
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1575
as_fn_set_status $ac_retval
1577
} # ac_fn_c_try_link
1579
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1580
# -------------------------------------------------------
1581
# Tests whether HEADER exists and can be compiled using the include files in
1582
# INCLUDES, setting the cache variable VAR accordingly.
1583
ac_fn_c_check_header_compile ()
1585
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587
$as_echo_n "checking for $2... " >&6; }
1588
if eval \${$3+:} false; then :
1589
$as_echo_n "(cached) " >&6
1591
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592
/* end confdefs.h. */
1596
if ac_fn_c_try_compile "$LINENO"; then :
1601
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605
$as_echo "$ac_res" >&6; }
1606
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1608
} # ac_fn_c_check_header_compile
1610
# ac_fn_c_try_cpp LINENO
1611
# ----------------------
1612
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1615
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1616
if { { ac_try="$ac_cpp conftest.$ac_ext"
1618
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1619
*) ac_try_echo=$ac_try;;
1621
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622
$as_echo "$ac_try_echo"; } >&5
1623
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1625
if test -s conftest.err; then
1626
grep -v '^ *+' conftest.err >conftest.er1
1627
cat conftest.er1 >&5
1628
mv -f conftest.er1 conftest.err
1630
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631
test $ac_status = 0; } > conftest.i && {
1632
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1633
test ! -s conftest.err
1637
$as_echo "$as_me: failed program was:" >&5
1638
sed 's/^/| /' conftest.$ac_ext >&5
1642
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643
as_fn_set_status $ac_retval
1647
# ac_fn_c_try_run LINENO
1648
# ----------------------
1649
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1650
# that executables *can* be run.
1653
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654
if { { ac_try="$ac_link"
1656
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1657
*) ac_try_echo=$ac_try;;
1659
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660
$as_echo "$ac_try_echo"; } >&5
1661
(eval "$ac_link") 2>&5
1663
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1665
{ { case "(($ac_try" in
1666
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667
*) ac_try_echo=$ac_try;;
1669
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670
$as_echo "$ac_try_echo"; } >&5
1671
(eval "$ac_try") 2>&5
1673
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674
test $ac_status = 0; }; }; then :
1677
$as_echo "$as_me: program exited with status $ac_status" >&5
1678
$as_echo "$as_me: failed program was:" >&5
1679
sed 's/^/| /' conftest.$ac_ext >&5
1681
ac_retval=$ac_status
1683
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1684
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1685
as_fn_set_status $ac_retval
1689
# ac_fn_c_check_func LINENO FUNC VAR
1690
# ----------------------------------
1691
# Tests whether FUNC exists, setting the cache variable VAR accordingly
1692
ac_fn_c_check_func ()
1694
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1696
$as_echo_n "checking for $2... " >&6; }
1697
if eval \${$3+:} false; then :
1698
$as_echo_n "(cached) " >&6
1700
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701
/* end confdefs.h. */
1702
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1703
For example, HP-UX 11i <limits.h> declares gettimeofday. */
1704
#define $2 innocuous_$2
1706
/* System header to define __stub macros and hopefully few prototypes,
1707
which can conflict with char $2 (); below.
1708
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1709
<limits.h> exists even on freestanding compilers. */
1712
# include <limits.h>
1714
# include <assert.h>
1719
/* Override any GCC internal prototype to avoid an error.
1720
Use char because int might match the return type of a GCC
1721
builtin and then its argument prototype would still apply. */
1726
/* The GNU C library defines this for functions which it implements
1727
to always fail with ENOSYS. Some functions are actually named
1728
something starting with __ and the normal name is an alias. */
1729
#if defined __stub_$2 || defined __stub___$2
1741
if ac_fn_c_try_link "$LINENO"; then :
1746
rm -f core conftest.err conftest.$ac_objext \
1747
conftest$ac_exeext conftest.$ac_ext
1750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1751
$as_echo "$ac_res" >&6; }
1752
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1754
} # ac_fn_c_check_func
1756
# ac_fn_cxx_try_compile LINENO
1757
# ----------------------------
1758
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1759
ac_fn_cxx_try_compile ()
1761
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1762
rm -f conftest.$ac_objext
1763
if { { ac_try="$ac_compile"
1765
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1766
*) ac_try_echo=$ac_try;;
1768
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1769
$as_echo "$ac_try_echo"; } >&5
1770
(eval "$ac_compile") 2>conftest.err
1772
if test -s conftest.err; then
1773
grep -v '^ *+' conftest.err >conftest.er1
1774
cat conftest.er1 >&5
1775
mv -f conftest.er1 conftest.err
1777
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1778
test $ac_status = 0; } && {
1779
test -z "$ac_cxx_werror_flag" ||
1780
test ! -s conftest.err
1781
} && test -s conftest.$ac_objext; then :
1784
$as_echo "$as_me: failed program was:" >&5
1785
sed 's/^/| /' conftest.$ac_ext >&5
1789
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790
as_fn_set_status $ac_retval
1792
} # ac_fn_cxx_try_compile
1794
# ac_fn_cxx_try_cpp LINENO
1795
# ------------------------
1796
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1797
ac_fn_cxx_try_cpp ()
1799
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800
if { { ac_try="$ac_cpp conftest.$ac_ext"
1802
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1803
*) ac_try_echo=$ac_try;;
1805
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1806
$as_echo "$ac_try_echo"; } >&5
1807
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1809
if test -s conftest.err; then
1810
grep -v '^ *+' conftest.err >conftest.er1
1811
cat conftest.er1 >&5
1812
mv -f conftest.er1 conftest.err
1814
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815
test $ac_status = 0; } > conftest.i && {
1816
test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1817
test ! -s conftest.err
1821
$as_echo "$as_me: failed program was:" >&5
1822
sed 's/^/| /' conftest.$ac_ext >&5
1826
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827
as_fn_set_status $ac_retval
1829
} # ac_fn_cxx_try_cpp
1831
# ac_fn_cxx_try_link LINENO
1832
# -------------------------
1833
# Try to link conftest.$ac_ext, and return whether this succeeded.
1834
ac_fn_cxx_try_link ()
1836
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837
rm -f conftest.$ac_objext conftest$ac_exeext
1838
if { { ac_try="$ac_link"
1840
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1841
*) ac_try_echo=$ac_try;;
1843
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1844
$as_echo "$ac_try_echo"; } >&5
1845
(eval "$ac_link") 2>conftest.err
1847
if test -s conftest.err; then
1848
grep -v '^ *+' conftest.err >conftest.er1
1849
cat conftest.er1 >&5
1850
mv -f conftest.er1 conftest.err
1852
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1853
test $ac_status = 0; } && {
1854
test -z "$ac_cxx_werror_flag" ||
1855
test ! -s conftest.err
1856
} && test -s conftest$ac_exeext && {
1857
test "$cross_compiling" = yes ||
1858
$as_test_x conftest$ac_exeext
1862
$as_echo "$as_me: failed program was:" >&5
1863
sed 's/^/| /' conftest.$ac_ext >&5
1867
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1868
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1869
# interfere with the next link command; also delete a directory that is
1870
# left behind by Apple's compiler. We do this before executing the actions.
1871
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1872
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
as_fn_set_status $ac_retval
1875
} # ac_fn_cxx_try_link
1877
# ac_fn_f77_try_compile LINENO
1878
# ----------------------------
1879
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1880
ac_fn_f77_try_compile ()
1882
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883
rm -f conftest.$ac_objext
1884
if { { ac_try="$ac_compile"
1886
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1887
*) ac_try_echo=$ac_try;;
1889
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890
$as_echo "$ac_try_echo"; } >&5
1891
(eval "$ac_compile") 2>conftest.err
1893
if test -s conftest.err; then
1894
grep -v '^ *+' conftest.err >conftest.er1
1895
cat conftest.er1 >&5
1896
mv -f conftest.er1 conftest.err
1898
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899
test $ac_status = 0; } && {
1900
test -z "$ac_f77_werror_flag" ||
1901
test ! -s conftest.err
1902
} && test -s conftest.$ac_objext; then :
1905
$as_echo "$as_me: failed program was:" >&5
1906
sed 's/^/| /' conftest.$ac_ext >&5
1910
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1911
as_fn_set_status $ac_retval
1913
} # ac_fn_f77_try_compile
1915
# ac_fn_f77_try_link LINENO
1916
# -------------------------
1917
# Try to link conftest.$ac_ext, and return whether this succeeded.
1918
ac_fn_f77_try_link ()
1920
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1921
rm -f conftest.$ac_objext conftest$ac_exeext
1922
if { { ac_try="$ac_link"
1924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925
*) ac_try_echo=$ac_try;;
1927
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928
$as_echo "$ac_try_echo"; } >&5
1929
(eval "$ac_link") 2>conftest.err
1931
if test -s conftest.err; then
1932
grep -v '^ *+' conftest.err >conftest.er1
1933
cat conftest.er1 >&5
1934
mv -f conftest.er1 conftest.err
1936
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1937
test $ac_status = 0; } && {
1938
test -z "$ac_f77_werror_flag" ||
1939
test ! -s conftest.err
1940
} && test -s conftest$ac_exeext && {
1941
test "$cross_compiling" = yes ||
1942
$as_test_x conftest$ac_exeext
1946
$as_echo "$as_me: failed program was:" >&5
1947
sed 's/^/| /' conftest.$ac_ext >&5
1951
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1952
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1953
# interfere with the next link command; also delete a directory that is
1954
# left behind by Apple's compiler. We do this before executing the actions.
1955
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1956
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1957
as_fn_set_status $ac_retval
1959
} # ac_fn_f77_try_link
1961
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1962
# -------------------------------------------------------
1963
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1964
# the include files in INCLUDES and setting the cache variable VAR
1966
ac_fn_c_check_header_mongrel ()
1968
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1969
if eval \${$3+:} false; then :
1970
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1971
$as_echo_n "checking for $2... " >&6; }
1972
if eval \${$3+:} false; then :
1973
$as_echo_n "(cached) " >&6
1976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1977
$as_echo "$ac_res" >&6; }
1979
# Is the header compilable?
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1981
$as_echo_n "checking $2 usability... " >&6; }
1982
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1983
/* end confdefs.h. */
1987
if ac_fn_c_try_compile "$LINENO"; then :
1988
ac_header_compiler=yes
1990
ac_header_compiler=no
1992
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1993
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1994
$as_echo "$ac_header_compiler" >&6; }
1996
# Is the header present?
1997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1998
$as_echo_n "checking $2 presence... " >&6; }
1999
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2000
/* end confdefs.h. */
2003
if ac_fn_c_try_cpp "$LINENO"; then :
2004
ac_header_preproc=yes
2006
ac_header_preproc=no
2008
rm -f conftest.err conftest.i conftest.$ac_ext
2009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2010
$as_echo "$ac_header_preproc" >&6; }
2012
# So? What about this header?
2013
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2015
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2016
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2017
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2018
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2021
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2022
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2023
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2024
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2025
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2026
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2027
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2028
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2029
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2030
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2031
( $as_echo "## ------------------------------ ##
2032
## Report this to dabi@imm.dtu.dk ##
2033
## ------------------------------ ##"
2034
) | sed "s/^/$as_me: WARNING: /" >&2
2037
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038
$as_echo_n "checking for $2... " >&6; }
2039
if eval \${$3+:} false; then :
2040
$as_echo_n "(cached) " >&6
2042
eval "$3=\$ac_header_compiler"
2045
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046
$as_echo "$ac_res" >&6; }
2048
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2050
} # ac_fn_c_check_header_mongrel
2052
# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053
# -------------------------------------------
2054
# Tests whether TYPE exists after having included INCLUDES, setting cache
2055
# variable VAR accordingly.
2056
ac_fn_c_check_type ()
2058
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060
$as_echo_n "checking for $2... " >&6; }
2061
if eval \${$3+:} false; then :
2062
$as_echo_n "(cached) " >&6
2065
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066
/* end confdefs.h. */
2077
if ac_fn_c_try_compile "$LINENO"; then :
2078
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079
/* end confdefs.h. */
2090
if ac_fn_c_try_compile "$LINENO"; then :
2095
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2097
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101
$as_echo "$ac_res" >&6; }
2102
eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2104
} # ac_fn_c_check_type
2105
cat >config.log <<_ACEOF
2106
This file contains any messages produced by compilers while
2107
running configure, to aid debugging if configure makes a mistake.
2109
It was created by ORTHPOLxx $as_me 1.0, which was
2110
generated by GNU Autoconf 2.68. Invocation command line was
2122
hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123
uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124
uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125
uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126
uname -v = `(uname -v) 2>/dev/null || echo unknown`
2128
/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129
/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2131
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2134
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2135
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2141
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2145
test -z "$as_dir" && as_dir=.
2146
$as_echo "PATH: $as_dir"
2162
# Keep a trace of the command line.
2163
# Strip out --no-create and --no-recursion so they do not pile up.
2164
# Strip out --silent because we don't want to record it for future runs.
2165
# Also quote any args containing shell meta-characters.
2166
# Make two passes to allow for proper duplicate-argument suppression.
2170
ac_must_keep_next=false
2176
-no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178
| -silent | --silent | --silen | --sile | --sil)
2181
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2184
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2186
as_fn_append ac_configure_args1 " '$ac_arg'"
2187
if test $ac_must_keep_next = true; then
2188
ac_must_keep_next=false # Got value, back to normal.
2191
*=* | --config-cache | -C | -disable-* | --disable-* \
2192
| -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193
| -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194
| -with-* | --with-* | -without-* | --without-* | --x)
2195
case "$ac_configure_args0 " in
2196
"$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2199
-* ) ac_must_keep_next=true ;;
2202
as_fn_append ac_configure_args " '$ac_arg'"
2207
{ ac_configure_args0=; unset ac_configure_args0;}
2208
{ ac_configure_args1=; unset ac_configure_args1;}
2210
# When interrupted or exit'd, cleanup temporary files, and complete
2211
# config.log. We remove comments because anyway the quotes in there
2212
# would cause problems or look ugly.
2213
# WARNING: Use '\'' to represent an apostrophe within the trap.
2214
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2215
trap 'exit_status=$?
2216
# Save into config.log some information that might help in debugging.
2220
$as_echo "## ---------------- ##
2221
## Cache variables. ##
2222
## ---------------- ##"
2224
# The following way of writing the cache mishandles newlines in values,
2226
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2227
eval ac_val=\$$ac_var
2231
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2232
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2235
_ | IFS | as_nl) ;; #(
2236
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2237
*) { eval $ac_var=; unset $ac_var;} ;;
2242
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2243
*${as_nl}ac_space=\ *)
2245
"s/'\''/'\''\\\\'\'''\''/g;
2246
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2256
$as_echo "## ----------------- ##
2257
## Output variables. ##
2258
## ----------------- ##"
2260
for ac_var in $ac_subst_vars
2262
eval ac_val=\$$ac_var
2264
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2266
$as_echo "$ac_var='\''$ac_val'\''"
2270
if test -n "$ac_subst_files"; then
2271
$as_echo "## ------------------- ##
2272
## File substitutions. ##
2273
## ------------------- ##"
2275
for ac_var in $ac_subst_files
2277
eval ac_val=\$$ac_var
2279
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281
$as_echo "$ac_var='\''$ac_val'\''"
2286
if test -s confdefs.h; then
2287
$as_echo "## ----------- ##
2294
test "$ac_signal" != 0 &&
2295
$as_echo "$as_me: caught signal $ac_signal"
2296
$as_echo "$as_me: exit $exit_status"
2298
rm -f core *.core core.conftest.* &&
2299
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302
for ac_signal in 1 2 13 15; do
2303
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2307
# confdefs.h avoids OS command line length limits that DEFS can exceed.
2308
rm -f -r conftest* confdefs.h
2310
$as_echo "/* confdefs.h */" > confdefs.h
2312
# Predefined preprocessor variables.
2314
cat >>confdefs.h <<_ACEOF
2315
#define PACKAGE_NAME "$PACKAGE_NAME"
2318
cat >>confdefs.h <<_ACEOF
2319
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322
cat >>confdefs.h <<_ACEOF
2323
#define PACKAGE_VERSION "$PACKAGE_VERSION"
2326
cat >>confdefs.h <<_ACEOF
2327
#define PACKAGE_STRING "$PACKAGE_STRING"
2330
cat >>confdefs.h <<_ACEOF
2331
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2334
cat >>confdefs.h <<_ACEOF
2335
#define PACKAGE_URL "$PACKAGE_URL"
2339
# Let the site file select an alternate cache file if it wants to.
2340
# Prefer an explicitly selected file to automatically selected ones.
2343
if test -n "$CONFIG_SITE"; then
2344
# We do not want a PATH search for config.site.
2345
case $CONFIG_SITE in #((
2346
-*) ac_site_file1=./$CONFIG_SITE;;
2347
*/*) ac_site_file1=$CONFIG_SITE;;
2348
*) ac_site_file1=./$CONFIG_SITE;;
2350
elif test "x$prefix" != xNONE; then
2351
ac_site_file1=$prefix/share/config.site
2352
ac_site_file2=$prefix/etc/config.site
2354
ac_site_file1=$ac_default_prefix/share/config.site
2355
ac_site_file2=$ac_default_prefix/etc/config.site
2357
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2359
test "x$ac_site_file" = xNONE && continue
2360
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2361
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2362
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2363
sed 's/^/| /' "$ac_site_file" >&5
2365
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2366
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2367
as_fn_error $? "failed to load site script $ac_site_file
2368
See \`config.log' for more details" "$LINENO" 5; }
2372
if test -r "$cache_file"; then
2373
# Some versions of bash will fail to source /dev/null (special files
2374
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2376
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377
$as_echo "$as_me: loading cache $cache_file" >&6;}
2379
[\\/]* | ?:[\\/]* ) . "$cache_file";;
2380
*) . "./$cache_file";;
2384
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385
$as_echo "$as_me: creating cache $cache_file" >&6;}
2389
# Check that the precious variables saved in the cache have kept the same
2391
ac_cache_corrupted=false
2392
for ac_var in $ac_precious_vars; do
2393
eval ac_old_set=\$ac_cv_env_${ac_var}_set
2394
eval ac_new_set=\$ac_env_${ac_var}_set
2395
eval ac_old_val=\$ac_cv_env_${ac_var}_value
2396
eval ac_new_val=\$ac_env_${ac_var}_value
2397
case $ac_old_set,$ac_new_set in
2399
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2400
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2401
ac_cache_corrupted=: ;;
2403
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2404
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2405
ac_cache_corrupted=: ;;
2408
if test "x$ac_old_val" != "x$ac_new_val"; then
2409
# differences in whitespace do not lead to failure.
2410
ac_old_val_w=`echo x $ac_old_val`
2411
ac_new_val_w=`echo x $ac_new_val`
2412
if test "$ac_old_val_w" != "$ac_new_val_w"; then
2413
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2414
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2415
ac_cache_corrupted=:
2417
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2418
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2419
eval $ac_var=\$ac_old_val
2421
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2422
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2423
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2424
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2427
# Pass precious variables to config.status.
2428
if test "$ac_new_set" = set; then
2430
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2431
*) ac_arg=$ac_var=$ac_new_val ;;
2433
case " $ac_configure_args " in
2434
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2435
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
2439
if $ac_cache_corrupted; then
2440
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2446
## -------------------- ##
2447
## Main body of script. ##
2448
## -------------------- ##
2451
ac_cpp='$CPP $CPPFLAGS'
2452
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2457
am__api_version='1.11'
2460
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2461
if test -f "$ac_dir/install-sh"; then
2463
ac_install_sh="$ac_aux_dir/install-sh -c"
2465
elif test -f "$ac_dir/install.sh"; then
2467
ac_install_sh="$ac_aux_dir/install.sh -c"
2469
elif test -f "$ac_dir/shtool"; then
2471
ac_install_sh="$ac_aux_dir/shtool install -c"
2475
if test -z "$ac_aux_dir"; then
2476
as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2479
# These three variables are undocumented and unsupported,
2480
# and are intended to be withdrawn in a future Autoconf release.
2481
# They can cause serious problems if a builder's source tree is in a directory
2482
# whose full name contains unusual characters.
2483
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2484
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2485
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488
# Find a good install program. We prefer a C program (faster),
2489
# so one script is as good as another. But avoid the broken or
2490
# incompatible versions:
2491
# SysV /etc/install, /usr/sbin/install
2492
# SunOS /usr/etc/install
2493
# IRIX /sbin/install
2495
# AmigaOS /C/install, which installs bootblocks on floppy discs
2496
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2497
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2498
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2499
# OS/2's system install, which has a completely different semantic
2500
# ./install, which can be erroneously created by make from ./install.sh.
2501
# Reject install programs that cannot install multiple files.
2502
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2503
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2504
if test -z "$INSTALL"; then
2505
if ${ac_cv_path_install+:} false; then :
2506
$as_echo_n "(cached) " >&6
2508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512
test -z "$as_dir" && as_dir=.
2513
# Account for people who put trailing slashes in PATH elements.
2514
case $as_dir/ in #((
2515
./ | .// | /[cC]/* | \
2516
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2517
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2520
# OSF1 and SCO ODT 3.0 have their own names for install.
2521
# Don't use installbsd from OSF since it installs stuff as root
2523
for ac_prog in ginstall scoinst install; do
2524
for ac_exec_ext in '' $ac_executable_extensions; do
2525
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2526
if test $ac_prog = install &&
2527
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2528
# AIX install. It has an incompatible calling convention.
2530
elif test $ac_prog = install &&
2531
grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2532
# program-specific install script used by HP pwplus--don't use.
2535
rm -rf conftest.one conftest.two conftest.dir
2536
echo one > conftest.one
2537
echo two > conftest.two
2539
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2540
test -s conftest.one && test -s conftest.two &&
2541
test -s conftest.dir/conftest.one &&
2542
test -s conftest.dir/conftest.two
2544
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2557
rm -rf conftest.one conftest.two conftest.dir
2560
if test "${ac_cv_path_install+set}" = set; then
2561
INSTALL=$ac_cv_path_install
2563
# As a last resort, use the slow shell script. Don't cache a
2564
# value for INSTALL within a source directory, because that will
2565
# break other packages using the cache if that directory is
2566
# removed, or if the value is a relative name.
2567
INSTALL=$ac_install_sh
2570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2571
$as_echo "$INSTALL" >&6; }
2573
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574
# It thinks the first close brace ends the variable substitution.
2575
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2577
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2579
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2582
$as_echo_n "checking whether build environment is sane... " >&6; }
2585
echo timestamp > conftest.file
2586
# Reject unsafe characters in $srcdir or the absolute working directory
2587
# name. Accept space and tab only in the latter.
2591
*[\\\"\#\$\&\'\`$am_lf]*)
2592
as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2595
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2596
as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2599
# Do `set' in a subshell so we don't clobber the current shell's
2600
# arguments. Must try -L first in case configure is actually a
2601
# symlink; some systems play weird games with the mod time of symlinks
2602
# (eg FreeBSD returns the mod time of the symlink's containing
2605
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2606
if test "$*" = "X"; then
2608
set X `ls -t "$srcdir/configure" conftest.file`
2611
if test "$*" != "X $srcdir/configure conftest.file" \
2612
&& test "$*" != "X conftest.file $srcdir/configure"; then
2614
# If neither matched, then we have a broken ls. This can happen
2615
# if, for instance, CONFIG_SHELL is bash and it inherits a
2616
# broken ls alias from the environment. This has actually
2617
# happened. Such a system could not be considered "sane".
2618
as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2619
alias in your environment" "$LINENO" 5
2622
test "$2" = conftest.file
2628
as_fn_error $? "newly created file is older than distributed files!
2629
Check your system clock" "$LINENO" 5
2631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2632
$as_echo "yes" >&6; }
2633
test "$program_prefix" != NONE &&
2634
program_transform_name="s&^&$program_prefix&;$program_transform_name"
2635
# Use a double $ so make ignores it.
2636
test "$program_suffix" != NONE &&
2637
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2638
# Double any \ or $.
2639
# By default was `s,x,x', remove it if useless.
2640
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2641
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2643
# expand $ac_aux_dir to an absolute path
2644
am_aux_dir=`cd $ac_aux_dir && pwd`
2646
if test x"${MISSING+set}" != xset; then
2649
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2651
MISSING="\${SHELL} $am_aux_dir/missing" ;;
2654
# Use eval to expand $SHELL
2655
if eval "$MISSING --run true"; then
2656
am_missing_run="$MISSING --run "
2659
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2660
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2663
if test x"${install_sh}" != xset; then
2666
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2668
install_sh="\${SHELL} $am_aux_dir/install-sh"
2672
# Installed binaries are usually stripped using `strip' when the user
2673
# run `make install-strip'. However `strip' might not be the right
2674
# tool to use in cross-compilation environments, therefore Automake
2675
# will honor the `STRIP' environment variable to overrule this program.
2676
if test "$cross_compiling" != no; then
2677
if test -n "$ac_tool_prefix"; then
2678
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2679
set dummy ${ac_tool_prefix}strip; ac_word=$2
2680
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681
$as_echo_n "checking for $ac_word... " >&6; }
2682
if ${ac_cv_prog_STRIP+:} false; then :
2683
$as_echo_n "(cached) " >&6
2685
if test -n "$STRIP"; then
2686
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2688
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2692
test -z "$as_dir" && as_dir=.
2693
for ac_exec_ext in '' $ac_executable_extensions; do
2694
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2696
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705
STRIP=$ac_cv_prog_STRIP
2706
if test -n "$STRIP"; then
2707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2708
$as_echo "$STRIP" >&6; }
2710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711
$as_echo "no" >&6; }
2716
if test -z "$ac_cv_prog_STRIP"; then
2718
# Extract the first word of "strip", so it can be a program name with args.
2719
set dummy strip; ac_word=$2
2720
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2721
$as_echo_n "checking for $ac_word... " >&6; }
2722
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2723
$as_echo_n "(cached) " >&6
2725
if test -n "$ac_ct_STRIP"; then
2726
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2728
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2732
test -z "$as_dir" && as_dir=.
2733
for ac_exec_ext in '' $ac_executable_extensions; do
2734
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2735
ac_cv_prog_ac_ct_STRIP="strip"
2736
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2745
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2746
if test -n "$ac_ct_STRIP"; then
2747
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2748
$as_echo "$ac_ct_STRIP" >&6; }
2750
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2751
$as_echo "no" >&6; }
2754
if test "x$ac_ct_STRIP" = x; then
2757
case $cross_compiling:$ac_tool_warned in
2759
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2760
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2761
ac_tool_warned=yes ;;
2766
STRIP="$ac_cv_prog_STRIP"
2770
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2773
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2774
if test -z "$MKDIR_P"; then
2775
if ${ac_cv_path_mkdir+:} false; then :
2776
$as_echo_n "(cached) " >&6
2778
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2779
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2782
test -z "$as_dir" && as_dir=.
2783
for ac_prog in mkdir gmkdir; do
2784
for ac_exec_ext in '' $ac_executable_extensions; do
2785
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2786
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2787
'mkdir (GNU coreutils) '* | \
2788
'mkdir (coreutils) '* | \
2789
'mkdir (fileutils) '4.1*)
2790
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2800
test -d ./--version && rmdir ./--version
2801
if test "${ac_cv_path_mkdir+set}" = set; then
2802
MKDIR_P="$ac_cv_path_mkdir -p"
2804
# As a last resort, use the slow shell script. Don't cache a
2805
# value for MKDIR_P within a source directory, because that will
2806
# break other packages using the cache if that directory is
2807
# removed, or if the value is a relative name.
2808
MKDIR_P="$ac_install_sh -d"
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2812
$as_echo "$MKDIR_P" >&6; }
2816
[\\/$]* | ?:[\\/]*) ;;
2817
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2820
for ac_prog in gawk mawk nawk awk
2822
# Extract the first word of "$ac_prog", so it can be a program name with args.
2823
set dummy $ac_prog; ac_word=$2
2824
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825
$as_echo_n "checking for $ac_word... " >&6; }
2826
if ${ac_cv_prog_AWK+:} false; then :
2827
$as_echo_n "(cached) " >&6
2829
if test -n "$AWK"; then
2830
ac_cv_prog_AWK="$AWK" # Let the user override the test.
2832
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836
test -z "$as_dir" && as_dir=.
2837
for ac_exec_ext in '' $ac_executable_extensions; do
2838
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839
ac_cv_prog_AWK="$ac_prog"
2840
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850
if test -n "$AWK"; then
2851
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2852
$as_echo "$AWK" >&6; }
2854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855
$as_echo "no" >&6; }
2859
test -n "$AWK" && break
2862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2863
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2865
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2866
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2867
$as_echo_n "(cached) " >&6
2869
cat >conftest.make <<\_ACEOF
2872
@echo '@@@%%%=$(MAKE)=@@@%%%'
2874
# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2875
case `${MAKE-make} -f conftest.make 2>/dev/null` in
2877
eval ac_cv_prog_make_${ac_make}_set=yes;;
2879
eval ac_cv_prog_make_${ac_make}_set=no;;
2883
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2884
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2885
$as_echo "yes" >&6; }
2888
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889
$as_echo "no" >&6; }
2890
SET_MAKE="MAKE=${MAKE-make}"
2893
rm -rf .tst 2>/dev/null
2894
mkdir .tst 2>/dev/null
2895
if test -d .tst; then
2900
rmdir .tst 2>/dev/null
2902
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2903
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2904
# is not polluted with repeated "-I."
2905
am__isrc=' -I$(srcdir)'
2906
# test to see if srcdir already configured
2907
if test -f $srcdir/config.status; then
2908
as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2912
# test whether we have cygpath
2913
if test -z "$CYGPATH_W"; then
2914
if (cygpath --version) >/dev/null 2>/dev/null; then
2915
CYGPATH_W='cygpath -w'
2922
# Define the identity of the package.
2927
cat >>confdefs.h <<_ACEOF
2928
#define PACKAGE "$PACKAGE"
2932
cat >>confdefs.h <<_ACEOF
2933
#define VERSION "$VERSION"
2936
# Some tools Automake needs.
2938
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2941
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2944
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2947
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2950
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2952
# We need awk for the "check" target. The system "awk" is bad on
2954
# Always define AMTAR for backward compatibility. Yes, it's still used
2955
# in the wild :-( We should find a proper way to deprecate it ...
2958
am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2964
ac_config_headers="$ac_config_headers config.h"
2968
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2969
$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2974
macro_version='2.4.2'
2975
macro_revision='1.3337'
2989
ltmain="$ac_aux_dir/ltmain.sh"
2991
# Make sure we can run config.sub.
2992
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2993
as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2996
$as_echo_n "checking build system type... " >&6; }
2997
if ${ac_cv_build+:} false; then :
2998
$as_echo_n "(cached) " >&6
3000
ac_build_alias=$build_alias
3001
test "x$ac_build_alias" = x &&
3002
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3003
test "x$ac_build_alias" = x &&
3004
as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3005
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3006
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3009
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3010
$as_echo "$ac_cv_build" >&6; }
3011
case $ac_cv_build in
3013
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3016
ac_save_IFS=$IFS; IFS='-'
3022
# Remember, the first character of IFS is used to create $*,
3023
# except with old shells:
3026
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3029
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3030
$as_echo_n "checking host system type... " >&6; }
3031
if ${ac_cv_host+:} false; then :
3032
$as_echo_n "(cached) " >&6
3034
if test "x$host_alias" = x; then
3035
ac_cv_host=$ac_cv_build
3037
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3038
as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3042
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3043
$as_echo "$ac_cv_host" >&6; }
3046
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3049
ac_save_IFS=$IFS; IFS='-'
3055
# Remember, the first character of IFS is used to create $*,
3056
# except with old shells:
3059
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3062
# Backslashify metacharacters that are still active within
3063
# double-quoted strings.
3064
sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3066
# Same as above, but do not quote variable references.
3067
double_quote_subst='s/\(["`\\]\)/\\\1/g'
3069
# Sed substitution to delay expansion of an escaped shell variable in a
3070
# double_quote_subst'ed string.
3071
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3073
# Sed substitution to delay expansion of an escaped single quote.
3074
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3076
# Sed substitution to avoid accidental globbing in evaled expressions
3077
no_glob_subst='s/\*/\\\*/g'
3079
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3080
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3081
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3083
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3084
$as_echo_n "checking how to print strings... " >&6; }
3085
# Test print first, because it will be a builtin if present.
3086
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3087
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3089
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3092
# Use this function as a fallback that always works.
3093
func_fallback_echo ()
3095
eval 'cat <<_LTECHO_EOF
3099
ECHO='func_fallback_echo'
3102
# func_echo_all arg...
3103
# Invoke $ECHO with all args, space-separated.
3110
printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3111
$as_echo "printf" >&6; } ;;
3112
print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3113
$as_echo "print -r" >&6; } ;;
3114
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3115
$as_echo "cat" >&6; } ;;
3131
DEPDIR="${am__leading_dot}deps"
3133
ac_config_commands="$ac_config_commands depfiles"
3136
am_make=${MAKE-make}
3137
cat > confinc << 'END'
3139
@echo this is the am__doit target
3142
# If we don't find an include directive, just comment out the code.
3143
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3144
$as_echo_n "checking for style of include used by $am_make... " >&6; }
3148
# First try GNU make style include.
3149
echo "include confinc" > confmf
3150
# Ignore all kinds of additional output from `make'.
3151
case `$am_make -s -f confmf 2> /dev/null` in #(
3152
*the\ am__doit\ target*)
3158
# Now try BSD make style include.
3159
if test "$am__include" = "#"; then
3160
echo '.include "confinc"' > confmf
3161
case `$am_make -s -f confmf 2> /dev/null` in #(
3162
*the\ am__doit\ target*)
3163
am__include=.include
3171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3172
$as_echo "$_am_result" >&6; }
3173
rm -f confinc confmf
3175
# Check whether --enable-dependency-tracking was given.
3176
if test "${enable_dependency_tracking+set}" = set; then :
3177
enableval=$enable_dependency_tracking;
3180
if test "x$enable_dependency_tracking" != xno; then
3181
am_depcomp="$ac_aux_dir/depcomp"
3185
if test "x$enable_dependency_tracking" != xno; then
3195
ac_cpp='$CPP $CPPFLAGS'
3196
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3197
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3198
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199
if test -n "$ac_tool_prefix"; then
3200
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3201
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3203
$as_echo_n "checking for $ac_word... " >&6; }
3204
if ${ac_cv_prog_CC+:} false; then :
3205
$as_echo_n "(cached) " >&6
3207
if test -n "$CC"; then
3208
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
ac_cv_prog_CC="${ac_tool_prefix}gcc"
3218
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228
if test -n "$CC"; then
3229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3230
$as_echo "$CC" >&6; }
3232
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3233
$as_echo "no" >&6; }
3238
if test -z "$ac_cv_prog_CC"; then
3240
# Extract the first word of "gcc", so it can be a program name with args.
3241
set dummy gcc; ac_word=$2
3242
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3243
$as_echo_n "checking for $ac_word... " >&6; }
3244
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3245
$as_echo_n "(cached) " >&6
3247
if test -n "$ac_ct_CC"; then
3248
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3250
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3254
test -z "$as_dir" && as_dir=.
3255
for ac_exec_ext in '' $ac_executable_extensions; do
3256
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257
ac_cv_prog_ac_ct_CC="gcc"
3258
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3268
if test -n "$ac_ct_CC"; then
3269
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3270
$as_echo "$ac_ct_CC" >&6; }
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3273
$as_echo "no" >&6; }
3276
if test "x$ac_ct_CC" = x; then
3279
case $cross_compiling:$ac_tool_warned in
3281
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3282
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3283
ac_tool_warned=yes ;;
3291
if test -z "$CC"; then
3292
if test -n "$ac_tool_prefix"; then
3293
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3294
set dummy ${ac_tool_prefix}cc; ac_word=$2
3295
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3296
$as_echo_n "checking for $ac_word... " >&6; }
3297
if ${ac_cv_prog_CC+:} false; then :
3298
$as_echo_n "(cached) " >&6
3300
if test -n "$CC"; then
3301
ac_cv_prog_CC="$CC" # Let the user override the test.
3303
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3307
test -z "$as_dir" && as_dir=.
3308
for ac_exec_ext in '' $ac_executable_extensions; do
3309
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3310
ac_cv_prog_CC="${ac_tool_prefix}cc"
3311
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3321
if test -n "$CC"; then
3322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3323
$as_echo "$CC" >&6; }
3325
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3326
$as_echo "no" >&6; }
3332
if test -z "$CC"; then
3333
# Extract the first word of "cc", so it can be a program name with args.
3334
set dummy cc; ac_word=$2
3335
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3336
$as_echo_n "checking for $ac_word... " >&6; }
3337
if ${ac_cv_prog_CC+:} false; then :
3338
$as_echo_n "(cached) " >&6
3340
if test -n "$CC"; then
3341
ac_cv_prog_CC="$CC" # Let the user override the test.
3344
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3348
test -z "$as_dir" && as_dir=.
3349
for ac_exec_ext in '' $ac_executable_extensions; do
3350
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3351
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3352
ac_prog_rejected=yes
3356
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363
if test $ac_prog_rejected = yes; then
3364
# We found a bogon in the path, so make sure we never use it.
3365
set dummy $ac_cv_prog_CC
3367
if test $# != 0; then
3368
# We chose a different compiler from the bogus one.
3369
# However, it has the same basename, so the bogon will be chosen
3370
# first if we set CC to just the basename; use the full file name.
3372
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3378
if test -n "$CC"; then
3379
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3380
$as_echo "$CC" >&6; }
3382
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3383
$as_echo "no" >&6; }
3388
if test -z "$CC"; then
3389
if test -n "$ac_tool_prefix"; then
3390
for ac_prog in cl.exe
3392
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3393
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395
$as_echo_n "checking for $ac_word... " >&6; }
3396
if ${ac_cv_prog_CC+:} false; then :
3397
$as_echo_n "(cached) " >&6
3399
if test -n "$CC"; then
3400
ac_cv_prog_CC="$CC" # Let the user override the test.
3402
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3406
test -z "$as_dir" && as_dir=.
3407
for ac_exec_ext in '' $ac_executable_extensions; do
3408
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3409
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3410
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3420
if test -n "$CC"; then
3421
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3422
$as_echo "$CC" >&6; }
3424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3425
$as_echo "no" >&6; }
3429
test -n "$CC" && break
3432
if test -z "$CC"; then
3434
for ac_prog in cl.exe
3436
# Extract the first word of "$ac_prog", so it can be a program name with args.
3437
set dummy $ac_prog; ac_word=$2
3438
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3439
$as_echo_n "checking for $ac_word... " >&6; }
3440
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3441
$as_echo_n "(cached) " >&6
3443
if test -n "$ac_ct_CC"; then
3444
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3446
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450
test -z "$as_dir" && as_dir=.
3451
for ac_exec_ext in '' $ac_executable_extensions; do
3452
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453
ac_cv_prog_ac_ct_CC="$ac_prog"
3454
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3463
ac_ct_CC=$ac_cv_prog_ac_ct_CC
3464
if test -n "$ac_ct_CC"; then
3465
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3466
$as_echo "$ac_ct_CC" >&6; }
3468
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3469
$as_echo "no" >&6; }
3473
test -n "$ac_ct_CC" && break
3476
if test "x$ac_ct_CC" = x; then
3479
case $cross_compiling:$ac_tool_warned in
3481
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3482
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3483
ac_tool_warned=yes ;;
3492
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494
as_fn_error $? "no acceptable C compiler found in \$PATH
3495
See \`config.log' for more details" "$LINENO" 5; }
3497
# Provide some information about the compiler.
3498
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3501
for ac_option in --version -v -V -qversion; do
3502
{ { ac_try="$ac_compiler $ac_option >&5"
3504
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3505
*) ac_try_echo=$ac_try;;
3507
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3508
$as_echo "$ac_try_echo"; } >&5
3509
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
3511
if test -s conftest.err; then
3513
... rest of stderr output deleted ...
3514
10q' conftest.err >conftest.er1
3515
cat conftest.er1 >&5
3517
rm -f conftest.er1 conftest.err
3518
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519
test $ac_status = 0; }
3522
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3523
/* end confdefs.h. */
3533
ac_clean_files_save=$ac_clean_files
3534
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3535
# Try to create an executable without -o first, disregard a.out.
3536
# It will help us diagnose broken compilers, and finding out an intuition
3538
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3539
$as_echo_n "checking whether the C compiler works... " >&6; }
3540
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3542
# The possible output files:
3543
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3546
for ac_file in $ac_files
3549
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3550
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
3555
if { { ac_try="$ac_link_default"
3557
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3558
*) ac_try_echo=$ac_try;;
3560
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3561
$as_echo "$ac_try_echo"; } >&5
3562
(eval "$ac_link_default") 2>&5
3564
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3565
test $ac_status = 0; }; then :
3566
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3567
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3568
# in a Makefile. We should not override ac_cv_exeext if it was cached,
3569
# so that the user can short-circuit this test for compilers unknown to
3571
for ac_file in $ac_files ''
3573
test -f "$ac_file" || continue
3575
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3578
# We found the default executable, but exeext='' is most
3582
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3584
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3586
# We set ac_cv_exeext here because the later test for it is not
3587
# safe: cross compilers may not add the suffix if given an `-o'
3588
# argument, so we may need to know it at that point already.
3589
# Even if this section looks crufty: it has the advantage of
3596
test "$ac_cv_exeext" = no && ac_cv_exeext=
3601
if test -z "$ac_file"; then :
3602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3603
$as_echo "no" >&6; }
3604
$as_echo "$as_me: failed program was:" >&5
3605
sed 's/^/| /' conftest.$ac_ext >&5
3607
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3608
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3609
as_fn_error 77 "C compiler cannot create executables
3610
See \`config.log' for more details" "$LINENO" 5; }
3612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3613
$as_echo "yes" >&6; }
3615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3616
$as_echo_n "checking for C compiler default output file name... " >&6; }
3617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3618
$as_echo "$ac_file" >&6; }
3619
ac_exeext=$ac_cv_exeext
3621
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3622
ac_clean_files=$ac_clean_files_save
3623
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3624
$as_echo_n "checking for suffix of executables... " >&6; }
3625
if { { ac_try="$ac_link"
3627
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3628
*) ac_try_echo=$ac_try;;
3630
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3631
$as_echo "$ac_try_echo"; } >&5
3632
(eval "$ac_link") 2>&5
3634
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3635
test $ac_status = 0; }; then :
3636
# If both `conftest.exe' and `conftest' are `present' (well, observable)
3637
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3638
# work properly (i.e., refer to `conftest.exe'), while it won't with
3640
for ac_file in conftest.exe conftest conftest.*; do
3641
test -f "$ac_file" || continue
3643
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3644
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3650
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3653
See \`config.log' for more details" "$LINENO" 5; }
3655
rm -f conftest conftest$ac_cv_exeext
3656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3657
$as_echo "$ac_cv_exeext" >&6; }
3659
rm -f conftest.$ac_ext
3660
EXEEXT=$ac_cv_exeext
3662
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3663
/* end confdefs.h. */
3668
FILE *f = fopen ("conftest.out", "w");
3669
return ferror (f) || fclose (f) != 0;
3675
ac_clean_files="$ac_clean_files conftest.out"
3676
# Check that the compiler produces executables we can run. If not, either
3677
# the compiler is broken, or we cross compile.
3678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3679
$as_echo_n "checking whether we are cross compiling... " >&6; }
3680
if test "$cross_compiling" != yes; then
3681
{ { ac_try="$ac_link"
3683
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3684
*) ac_try_echo=$ac_try;;
3686
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3687
$as_echo "$ac_try_echo"; } >&5
3688
(eval "$ac_link") 2>&5
3690
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3691
test $ac_status = 0; }
3692
if { ac_try='./conftest$ac_cv_exeext'
3693
{ { case "(($ac_try" in
3694
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3695
*) ac_try_echo=$ac_try;;
3697
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3698
$as_echo "$ac_try_echo"; } >&5
3699
(eval "$ac_try") 2>&5
3701
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3702
test $ac_status = 0; }; }; then
3705
if test "$cross_compiling" = maybe; then
3708
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710
as_fn_error $? "cannot run C compiled programs.
3711
If you meant to cross compile, use \`--host'.
3712
See \`config.log' for more details" "$LINENO" 5; }
3716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3717
$as_echo "$cross_compiling" >&6; }
3719
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3720
ac_clean_files=$ac_clean_files_save
3721
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3722
$as_echo_n "checking for suffix of object files... " >&6; }
3723
if ${ac_cv_objext+:} false; then :
3724
$as_echo_n "(cached) " >&6
3726
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3727
/* end confdefs.h. */
3737
rm -f conftest.o conftest.obj
3738
if { { ac_try="$ac_compile"
3740
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3741
*) ac_try_echo=$ac_try;;
3743
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3744
$as_echo "$ac_try_echo"; } >&5
3745
(eval "$ac_compile") 2>&5
3747
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3748
test $ac_status = 0; }; then :
3749
for ac_file in conftest.o conftest.obj conftest.*; do
3750
test -f "$ac_file" || continue;
3752
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3753
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3758
$as_echo "$as_me: failed program was:" >&5
3759
sed 's/^/| /' conftest.$ac_ext >&5
3761
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3762
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3763
as_fn_error $? "cannot compute suffix of object files: cannot compile
3764
See \`config.log' for more details" "$LINENO" 5; }
3766
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3768
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3769
$as_echo "$ac_cv_objext" >&6; }
3770
OBJEXT=$ac_cv_objext
3772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3773
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3774
if ${ac_cv_c_compiler_gnu+:} false; then :
3775
$as_echo_n "(cached) " >&6
3777
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778
/* end confdefs.h. */
3791
if ac_fn_c_try_compile "$LINENO"; then :
3796
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3797
ac_cv_c_compiler_gnu=$ac_compiler_gnu
3800
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3801
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3802
if test $ac_compiler_gnu = yes; then
3807
ac_test_CFLAGS=${CFLAGS+set}
3808
ac_save_CFLAGS=$CFLAGS
3809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3810
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3811
if ${ac_cv_prog_cc_g+:} false; then :
3812
$as_echo_n "(cached) " >&6
3814
ac_save_c_werror_flag=$ac_c_werror_flag
3815
ac_c_werror_flag=yes
3818
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819
/* end confdefs.h. */
3829
if ac_fn_c_try_compile "$LINENO"; then :
3833
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3834
/* end confdefs.h. */
3844
if ac_fn_c_try_compile "$LINENO"; then :
3847
ac_c_werror_flag=$ac_save_c_werror_flag
3849
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850
/* end confdefs.h. */
3860
if ac_fn_c_try_compile "$LINENO"; then :
3863
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3865
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3867
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3868
ac_c_werror_flag=$ac_save_c_werror_flag
3870
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3871
$as_echo "$ac_cv_prog_cc_g" >&6; }
3872
if test "$ac_test_CFLAGS" = set; then
3873
CFLAGS=$ac_save_CFLAGS
3874
elif test $ac_cv_prog_cc_g = yes; then
3875
if test "$GCC" = yes; then
3881
if test "$GCC" = yes; then
3887
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3888
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3889
if ${ac_cv_prog_cc_c89+:} false; then :
3890
$as_echo_n "(cached) " >&6
3892
ac_cv_prog_cc_c89=no
3894
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895
/* end confdefs.h. */
3898
#include <sys/types.h>
3899
#include <sys/stat.h>
3900
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3901
struct buf { int x; };
3902
FILE * (*rcsopen) (struct buf *, struct stat *, int);
3903
static char *e (p, i)
3909
static char *f (char * (*g) (char **, int), char **p, ...)
3914
s = g (p, va_arg (v,int));
3919
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3920
function prototypes and stuff, but not '\xHH' hex character constants.
3921
These don't provoke an error unfortunately, instead are silently treated
3922
as 'x'. The following induces an error, until -std is added to get
3923
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3924
array size at least. It's necessary to write '\x00'==0 to get something
3925
that's true only with -std. */
3926
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3928
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3929
inside strings and character constants. */
3931
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3933
int test (int i, double x);
3934
struct s1 {int (*f) (int a);};
3935
struct s2 {int (*f) (double a);};
3936
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3942
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3947
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3948
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3950
CC="$ac_save_CC $ac_arg"
3951
if ac_fn_c_try_compile "$LINENO"; then :
3952
ac_cv_prog_cc_c89=$ac_arg
3954
rm -f core conftest.err conftest.$ac_objext
3955
test "x$ac_cv_prog_cc_c89" != "xno" && break
3957
rm -f conftest.$ac_ext
3962
case "x$ac_cv_prog_cc_c89" in
3964
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3965
$as_echo "none needed" >&6; } ;;
3967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3968
$as_echo "unsupported" >&6; } ;;
3970
CC="$CC $ac_cv_prog_cc_c89"
3971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3972
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3974
if test "x$ac_cv_prog_cc_c89" != xno; then :
3979
ac_cpp='$CPP $CPPFLAGS'
3980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3981
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3982
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3984
depcc="$CC" am_compiler_list=
3986
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3987
$as_echo_n "checking dependency style of $depcc... " >&6; }
3988
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3989
$as_echo_n "(cached) " >&6
3991
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3992
# We make a subdir and do the tests there. Otherwise we can end up
3993
# making bogus files that we don't know about and never remove. For
3994
# instance it was reported that on HP-UX the gcc test will end up
3995
# making a dummy file named `D' -- because `-MD' means `put the output
3999
# Copy depcomp to subdir because otherwise we won't find it if we're
4000
# using a relative directory.
4001
cp "$am_depcomp" conftest.dir
4003
# We will build objects and dependencies in a subdirectory because
4004
# it helps to detect inapplicable dependency modes. For instance
4005
# both Tru64's cc and ICC support -MD to output dependencies as a
4006
# side effect of compilation, but ICC will put the dependencies in
4007
# the current directory while Tru64 will put them in the object
4011
am_cv_CC_dependencies_compiler_type=none
4012
if test "$am_compiler_list" = ""; then
4013
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4016
case " $depcc " in #(
4017
*\ -arch\ *\ -arch\ *) am__universal=true ;;
4020
for depmode in $am_compiler_list; do
4021
# Setup a source with many dependencies, because some compilers
4022
# like to wrap large dependency lists on column 80 (with \), and
4023
# we should not choose a depcomp mode which is confused by this.
4025
# We need to recreate these files for each test, as the compiler may
4026
# overwrite some of them when testing with obscure command lines.
4027
# This happens at least with the AIX C compiler.
4029
for i in 1 2 3 4 5 6; do
4030
echo '#include "conftst'$i'.h"' >> sub/conftest.c
4031
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4032
# Solaris 8's {/usr,}/bin/sh.
4033
touch sub/conftst$i.h
4035
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4037
# We check with `-c' and `-o' for the sake of the "dashmstdout"
4038
# mode. It turns out that the SunPro C++ compiler does not properly
4039
# handle `-M -o', and we need to detect this. Also, some Intel
4040
# versions had trouble with output in subdirs
4041
am__obj=sub/conftest.${OBJEXT-o}
4042
am__minus_obj="-o $am__obj"
4045
# This depmode causes a compiler race in universal mode.
4046
test "$am__universal" = false || continue
4049
# after this tag, mechanisms are not by side-effect, so they'll
4050
# only be used when explicitly requested
4051
if test "x$enable_dependency_tracking" = xyes; then
4057
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4058
# This compiler won't grok `-c -o', but also, the minuso test has
4059
# not run yet. These depmodes are late enough in the game, and
4060
# so weak that their functioning should not be impacted.
4061
am__obj=conftest.${OBJEXT-o}
4066
if depmode=$depmode \
4067
source=sub/conftest.c object=$am__obj \
4068
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4069
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4070
>/dev/null 2>conftest.err &&
4071
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4072
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4073
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4074
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4075
# icc doesn't choke on unknown options, it will just issue warnings
4076
# or remarks (even with -Werror). So we grep stderr for any message
4077
# that says an option was ignored or not supported.
4078
# When given -MP, icc 7.0 and 7.1 complain thusly:
4079
# icc: Command line warning: ignoring option '-M'; no argument required
4080
# The diagnosis changed in icc 8.0:
4081
# icc: Command line remark: option '-MP' not supported
4082
if (grep 'ignoring option' conftest.err ||
4083
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4084
am_cv_CC_dependencies_compiler_type=$depmode
4093
am_cv_CC_dependencies_compiler_type=none
4097
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4098
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4099
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4102
test "x$enable_dependency_tracking" != xno \
4103
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4105
am__fastdepCC_FALSE='#'
4107
am__fastdepCC_TRUE='#'
4108
am__fastdepCC_FALSE=
4112
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4113
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4114
if ${ac_cv_path_SED+:} false; then :
4115
$as_echo_n "(cached) " >&6
4117
ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4118
for ac_i in 1 2 3 4 5 6 7; do
4119
ac_script="$ac_script$as_nl$ac_script"
4121
echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4122
{ ac_script=; unset ac_script;}
4123
if test -z "$SED"; then
4124
ac_path_SED_found=false
4125
# Loop through the user's path and test for each of PROGNAME-LIST
4126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4130
test -z "$as_dir" && as_dir=.
4131
for ac_prog in sed gsed; do
4132
for ac_exec_ext in '' $ac_executable_extensions; do
4133
ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4134
{ test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4135
# Check for GNU ac_path_SED and select it if it is found.
4136
# Check for GNU $ac_path_SED
4137
case `"$ac_path_SED" --version 2>&1` in
4139
ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4142
$as_echo_n 0123456789 >"conftest.in"
4145
cat "conftest.in" "conftest.in" >"conftest.tmp"
4146
mv "conftest.tmp" "conftest.in"
4147
cp "conftest.in" "conftest.nl"
4148
$as_echo '' >> "conftest.nl"
4149
"$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151
as_fn_arith $ac_count + 1 && ac_count=$as_val
4152
if test $ac_count -gt ${ac_path_SED_max-0}; then
4153
# Best one so far, save it but keep looking for a better one
4154
ac_cv_path_SED="$ac_path_SED"
4155
ac_path_SED_max=$ac_count
4157
# 10*(2^10) chars as input seems more than enough
4158
test $ac_count -gt 10 && break
4160
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4163
$ac_path_SED_found && break 3
4168
if test -z "$ac_cv_path_SED"; then
4169
as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4176
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4177
$as_echo "$ac_cv_path_SED" >&6; }
4178
SED="$ac_cv_path_SED"
4181
test -z "$SED" && SED=sed
4182
Xsed="$SED -e 1s/^X//"
4194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4195
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4196
if ${ac_cv_path_GREP+:} false; then :
4197
$as_echo_n "(cached) " >&6
4199
if test -z "$GREP"; then
4200
ac_path_GREP_found=false
4201
# Loop through the user's path and test for each of PROGNAME-LIST
4202
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4206
test -z "$as_dir" && as_dir=.
4207
for ac_prog in grep ggrep; do
4208
for ac_exec_ext in '' $ac_executable_extensions; do
4209
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4210
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4211
# Check for GNU ac_path_GREP and select it if it is found.
4212
# Check for GNU $ac_path_GREP
4213
case `"$ac_path_GREP" --version 2>&1` in
4215
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4218
$as_echo_n 0123456789 >"conftest.in"
4221
cat "conftest.in" "conftest.in" >"conftest.tmp"
4222
mv "conftest.tmp" "conftest.in"
4223
cp "conftest.in" "conftest.nl"
4224
$as_echo 'GREP' >> "conftest.nl"
4225
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227
as_fn_arith $ac_count + 1 && ac_count=$as_val
4228
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4229
# Best one so far, save it but keep looking for a better one
4230
ac_cv_path_GREP="$ac_path_GREP"
4231
ac_path_GREP_max=$ac_count
4233
# 10*(2^10) chars as input seems more than enough
4234
test $ac_count -gt 10 && break
4236
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4239
$ac_path_GREP_found && break 3
4244
if test -z "$ac_cv_path_GREP"; then
4245
as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4248
ac_cv_path_GREP=$GREP
4252
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4253
$as_echo "$ac_cv_path_GREP" >&6; }
4254
GREP="$ac_cv_path_GREP"
4257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4258
$as_echo_n "checking for egrep... " >&6; }
4259
if ${ac_cv_path_EGREP+:} false; then :
4260
$as_echo_n "(cached) " >&6
4262
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4263
then ac_cv_path_EGREP="$GREP -E"
4265
if test -z "$EGREP"; then
4266
ac_path_EGREP_found=false
4267
# Loop through the user's path and test for each of PROGNAME-LIST
4268
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4272
test -z "$as_dir" && as_dir=.
4273
for ac_prog in egrep; do
4274
for ac_exec_ext in '' $ac_executable_extensions; do
4275
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4276
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4277
# Check for GNU ac_path_EGREP and select it if it is found.
4278
# Check for GNU $ac_path_EGREP
4279
case `"$ac_path_EGREP" --version 2>&1` in
4281
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4284
$as_echo_n 0123456789 >"conftest.in"
4287
cat "conftest.in" "conftest.in" >"conftest.tmp"
4288
mv "conftest.tmp" "conftest.in"
4289
cp "conftest.in" "conftest.nl"
4290
$as_echo 'EGREP' >> "conftest.nl"
4291
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4292
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4293
as_fn_arith $ac_count + 1 && ac_count=$as_val
4294
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4295
# Best one so far, save it but keep looking for a better one
4296
ac_cv_path_EGREP="$ac_path_EGREP"
4297
ac_path_EGREP_max=$ac_count
4299
# 10*(2^10) chars as input seems more than enough
4300
test $ac_count -gt 10 && break
4302
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4305
$ac_path_EGREP_found && break 3
4310
if test -z "$ac_cv_path_EGREP"; then
4311
as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4314
ac_cv_path_EGREP=$EGREP
4319
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4320
$as_echo "$ac_cv_path_EGREP" >&6; }
4321
EGREP="$ac_cv_path_EGREP"
4324
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4325
$as_echo_n "checking for fgrep... " >&6; }
4326
if ${ac_cv_path_FGREP+:} false; then :
4327
$as_echo_n "(cached) " >&6
4329
if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4330
then ac_cv_path_FGREP="$GREP -F"
4332
if test -z "$FGREP"; then
4333
ac_path_FGREP_found=false
4334
# Loop through the user's path and test for each of PROGNAME-LIST
4335
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4339
test -z "$as_dir" && as_dir=.
4340
for ac_prog in fgrep; do
4341
for ac_exec_ext in '' $ac_executable_extensions; do
4342
ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4343
{ test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4344
# Check for GNU ac_path_FGREP and select it if it is found.
4345
# Check for GNU $ac_path_FGREP
4346
case `"$ac_path_FGREP" --version 2>&1` in
4348
ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4351
$as_echo_n 0123456789 >"conftest.in"
4354
cat "conftest.in" "conftest.in" >"conftest.tmp"
4355
mv "conftest.tmp" "conftest.in"
4356
cp "conftest.in" "conftest.nl"
4357
$as_echo 'FGREP' >> "conftest.nl"
4358
"$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4359
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4360
as_fn_arith $ac_count + 1 && ac_count=$as_val
4361
if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4362
# Best one so far, save it but keep looking for a better one
4363
ac_cv_path_FGREP="$ac_path_FGREP"
4364
ac_path_FGREP_max=$ac_count
4366
# 10*(2^10) chars as input seems more than enough
4367
test $ac_count -gt 10 && break
4369
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4372
$ac_path_FGREP_found && break 3
4377
if test -z "$ac_cv_path_FGREP"; then
4378
as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4381
ac_cv_path_FGREP=$FGREP
4386
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4387
$as_echo "$ac_cv_path_FGREP" >&6; }
4388
FGREP="$ac_cv_path_FGREP"
4391
test -z "$GREP" && GREP=grep
4411
# Check whether --with-gnu-ld was given.
4412
if test "${with_gnu_ld+set}" = set; then :
4413
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4419
if test "$GCC" = yes; then
4420
# Check if gcc -print-prog-name=ld gives a path.
4421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4422
$as_echo_n "checking for ld used by $CC... " >&6; }
4425
# gcc leaves a trailing carriage return which upsets mingw
4426
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4428
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4431
# Accept absolute paths.
4433
re_direlt='/[^/][^/]*/\.\./'
4434
# Canonicalize the pathname of ld
4435
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4436
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4437
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4439
test -z "$LD" && LD="$ac_prog"
4442
# If it fails, then pretend we aren't using GCC.
4446
# If it is relative, then search for the first ld in PATH.
4450
elif test "$with_gnu_ld" = yes; then
4451
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4452
$as_echo_n "checking for GNU ld... " >&6; }
4454
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4455
$as_echo_n "checking for non-GNU ld... " >&6; }
4457
if ${lt_cv_path_LD+:} false; then :
4458
$as_echo_n "(cached) " >&6
4460
if test -z "$LD"; then
4461
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4462
for ac_dir in $PATH; do
4464
test -z "$ac_dir" && ac_dir=.
4465
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4466
lt_cv_path_LD="$ac_dir/$ac_prog"
4467
# Check to see if the program is GNU ld. I'd rather use --version,
4468
# but apparently some variants of GNU ld only accept -v.
4469
# Break only if it was the GNU/non-GNU ld that we prefer.
4470
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4471
*GNU* | *'with BFD'*)
4472
test "$with_gnu_ld" != no && break
4475
test "$with_gnu_ld" != yes && break
4482
lt_cv_path_LD="$LD" # Let the user override the test with a path.
4487
if test -n "$LD"; then
4488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4489
$as_echo "$LD" >&6; }
4491
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492
$as_echo "no" >&6; }
4494
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4496
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4497
if ${lt_cv_prog_gnu_ld+:} false; then :
4498
$as_echo_n "(cached) " >&6
4500
# I'd rather use --version here, but apparently some GNU lds only accept -v.
4501
case `$LD -v 2>&1 </dev/null` in
4502
*GNU* | *'with BFD'*)
4503
lt_cv_prog_gnu_ld=yes
4506
lt_cv_prog_gnu_ld=no
4510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4511
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4512
with_gnu_ld=$lt_cv_prog_gnu_ld
4522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4523
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4524
if ${lt_cv_path_NM+:} false; then :
4525
$as_echo_n "(cached) " >&6
4527
if test -n "$NM"; then
4528
# Let the user override the test.
4531
lt_nm_to_check="${ac_tool_prefix}nm"
4532
if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4533
lt_nm_to_check="$lt_nm_to_check nm"
4535
for lt_tmp_nm in $lt_nm_to_check; do
4536
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4537
for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4539
test -z "$ac_dir" && ac_dir=.
4540
tmp_nm="$ac_dir/$lt_tmp_nm"
4541
if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4542
# Check to see if the nm accepts a BSD-compat flag.
4543
# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4544
# nm: unknown option "B" ignored
4545
# Tru64's nm complains that /dev/null is an invalid object file
4546
case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4547
*/dev/null* | *'Invalid file or object type'*)
4548
lt_cv_path_NM="$tmp_nm -B"
4552
case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4554
lt_cv_path_NM="$tmp_nm -p"
4558
lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4559
continue # so that we can try to find one that supports BSD flags
4568
: ${lt_cv_path_NM=no}
4571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4572
$as_echo "$lt_cv_path_NM" >&6; }
4573
if test "$lt_cv_path_NM" != "no"; then
4576
# Didn't find any BSD compatible name lister, look for dumpbin.
4577
if test -n "$DUMPBIN"; then :
4578
# Let the user override the test.
4580
if test -n "$ac_tool_prefix"; then
4581
for ac_prog in dumpbin "link -dump"
4583
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4584
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4586
$as_echo_n "checking for $ac_word... " >&6; }
4587
if ${ac_cv_prog_DUMPBIN+:} false; then :
4588
$as_echo_n "(cached) " >&6
4590
if test -n "$DUMPBIN"; then
4591
ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4593
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597
test -z "$as_dir" && as_dir=.
4598
for ac_exec_ext in '' $ac_executable_extensions; do
4599
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4600
ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4601
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4610
DUMPBIN=$ac_cv_prog_DUMPBIN
4611
if test -n "$DUMPBIN"; then
4612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4613
$as_echo "$DUMPBIN" >&6; }
4615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4616
$as_echo "no" >&6; }
4620
test -n "$DUMPBIN" && break
4623
if test -z "$DUMPBIN"; then
4624
ac_ct_DUMPBIN=$DUMPBIN
4625
for ac_prog in dumpbin "link -dump"
4627
# Extract the first word of "$ac_prog", so it can be a program name with args.
4628
set dummy $ac_prog; ac_word=$2
4629
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4630
$as_echo_n "checking for $ac_word... " >&6; }
4631
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4632
$as_echo_n "(cached) " >&6
4634
if test -n "$ac_ct_DUMPBIN"; then
4635
ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4637
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641
test -z "$as_dir" && as_dir=.
4642
for ac_exec_ext in '' $ac_executable_extensions; do
4643
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4644
ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4645
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4654
ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4655
if test -n "$ac_ct_DUMPBIN"; then
4656
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4657
$as_echo "$ac_ct_DUMPBIN" >&6; }
4659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4660
$as_echo "no" >&6; }
4664
test -n "$ac_ct_DUMPBIN" && break
4667
if test "x$ac_ct_DUMPBIN" = x; then
4670
case $cross_compiling:$ac_tool_warned in
4672
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4673
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4674
ac_tool_warned=yes ;;
4676
DUMPBIN=$ac_ct_DUMPBIN
4680
case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4682
DUMPBIN="$DUMPBIN -symbols"
4690
if test "$DUMPBIN" != ":"; then
4694
test -z "$NM" && NM=nm
4701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4702
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4703
if ${lt_cv_nm_interface+:} false; then :
4704
$as_echo_n "(cached) " >&6
4706
lt_cv_nm_interface="BSD nm"
4707
echo "int some_variable = 0;" > conftest.$ac_ext
4708
(eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4709
(eval "$ac_compile" 2>conftest.err)
4710
cat conftest.err >&5
4711
(eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4712
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4713
cat conftest.err >&5
4714
(eval echo "\"\$as_me:$LINENO: output\"" >&5)
4715
cat conftest.out >&5
4716
if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4717
lt_cv_nm_interface="MS dumpbin"
4721
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4722
$as_echo "$lt_cv_nm_interface" >&6; }
4724
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4725
$as_echo_n "checking whether ln -s works... " >&6; }
4727
if test "$LN_S" = "ln -s"; then
4728
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4729
$as_echo "yes" >&6; }
4731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4732
$as_echo "no, using $LN_S" >&6; }
4735
# find the maximum length of command line arguments
4736
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4737
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4738
if ${lt_cv_sys_max_cmd_len+:} false; then :
4739
$as_echo_n "(cached) " >&6
4746
# On DJGPP, this test can blow up pretty badly due to problems in libc
4747
# (any single argument exceeding 2000 bytes causes a buffer overrun
4748
# during glob expansion). Even if it were fixed, the result of this
4749
# check would be larger than it should be.
4750
lt_cv_sys_max_cmd_len=12288; # 12K is about right
4754
# Under GNU Hurd, this test is not required because there is
4755
# no limit to the length of command line arguments.
4756
# Libtool will interpret -1 as no limit whatsoever
4757
lt_cv_sys_max_cmd_len=-1;
4760
cygwin* | mingw* | cegcc*)
4761
# On Win9x/ME, this test blows up -- it succeeds, but takes
4762
# about 5 minutes as the teststring grows exponentially.
4763
# Worse, since 9x/ME are not pre-emptively multitasking,
4764
# you end up with a "frozen" computer, even though with patience
4765
# the test eventually succeeds (with a max line length of 256k).
4766
# Instead, let's just punt: use the minimum linelength reported by
4767
# all of the supported platforms: 8192 (on NT/2K/XP).
4768
lt_cv_sys_max_cmd_len=8192;
4772
# On MiNT this can take a long time and run out of memory.
4773
lt_cv_sys_max_cmd_len=8192;
4777
# On AmigaOS with pdksh, this test takes hours, literally.
4778
# So we just punt and use a minimum line length of 8192.
4779
lt_cv_sys_max_cmd_len=8192;
4782
netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4783
# This has been around since 386BSD, at least. Likely further.
4784
if test -x /sbin/sysctl; then
4785
lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4786
elif test -x /usr/sbin/sysctl; then
4787
lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4789
lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4791
# And add a safety zone
4792
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4793
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4797
# We know the value 262144 and hardcode it with a safety zone (like BSD)
4798
lt_cv_sys_max_cmd_len=196608
4802
# The test takes a long time on OS/2.
4803
lt_cv_sys_max_cmd_len=8192
4807
# Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4808
# due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4809
# nice to cause kernel panics so lets avoid the loop below.
4810
# First set a reasonable default.
4811
lt_cv_sys_max_cmd_len=16384
4813
if test -x /sbin/sysconfig; then
4814
case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4815
*1*) lt_cv_sys_max_cmd_len=-1 ;;
4820
lt_cv_sys_max_cmd_len=102400
4822
sysv5* | sco5v6* | sysv4.2uw2*)
4823
kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4824
if test -n "$kargmax"; then
4825
lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4827
lt_cv_sys_max_cmd_len=32768
4831
lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4832
if test -n "$lt_cv_sys_max_cmd_len"; then
4833
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4834
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4836
# Make teststring a little bigger before we do anything with it.
4837
# a 1K string should be a reasonable start.
4838
for i in 1 2 3 4 5 6 7 8 ; do
4839
teststring=$teststring$teststring
4841
SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4842
# If test is not a shell built-in, we'll probably end up computing a
4843
# maximum length that is only half of the actual maximum length, but
4845
while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
4846
= "X$teststring$teststring"; } >/dev/null 2>&1 &&
4847
test $i != 17 # 1/2 MB should be enough
4850
teststring=$teststring$teststring
4852
# Only check the string length outside the loop.
4853
lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4855
# Add a significant safety factor because C++ compilers can tack on
4856
# massive amounts of additional arguments before passing them to the
4857
# linker. It appears as though 1/2 is a usable value.
4858
lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4865
if test -n $lt_cv_sys_max_cmd_len ; then
4866
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4867
$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4869
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4870
$as_echo "none" >&6; }
4872
max_cmd_len=$lt_cv_sys_max_cmd_len
4883
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4884
$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4885
# Try some XSI features
4888
test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4890
&& eval 'test $(( 1 + 1 )) -eq 2 \
4891
&& test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4894
$as_echo "$xsi_shell" >&6; }
4897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4898
$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4900
( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4902
&& lt_shell_append=yes
4903
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4904
$as_echo "$lt_shell_append" >&6; }
4907
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4917
# test EBCDIC or ASCII
4918
case `echo X|tr X '\101'` in
4919
A) # ASCII based system
4920
# \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4921
lt_SP2NL='tr \040 \012'
4922
lt_NL2SP='tr \015\012 \040\040'
4924
*) # EBCDIC based system
4925
lt_SP2NL='tr \100 \n'
4926
lt_NL2SP='tr \r\n \100\100'
4938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4939
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4940
if ${lt_cv_to_host_file_cmd+:} false; then :
4941
$as_echo_n "(cached) " >&6
4946
*-*-mingw* ) # actually msys
4947
lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4950
lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4952
* ) # otherwise, assume *nix
4953
lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4959
*-*-mingw* ) # actually msys
4960
lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4963
lt_cv_to_host_file_cmd=func_convert_file_noop
4965
* ) # otherwise, assume *nix
4966
lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4970
* ) # unhandled hosts (and "normal" native builds)
4971
lt_cv_to_host_file_cmd=func_convert_file_noop
4977
to_host_file_cmd=$lt_cv_to_host_file_cmd
4978
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4979
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4985
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4986
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4987
if ${lt_cv_to_tool_file_cmd+:} false; then :
4988
$as_echo_n "(cached) " >&6
4990
#assume ordinary cross tools, or native build.
4991
lt_cv_to_tool_file_cmd=func_convert_file_noop
4995
*-*-mingw* ) # actually msys
4996
lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5004
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5005
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5006
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5012
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5013
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5014
if ${lt_cv_ld_reload_flag+:} false; then :
5015
$as_echo_n "(cached) " >&6
5017
lt_cv_ld_reload_flag='-r'
5019
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5020
$as_echo "$lt_cv_ld_reload_flag" >&6; }
5021
reload_flag=$lt_cv_ld_reload_flag
5022
case $reload_flag in
5024
*) reload_flag=" $reload_flag" ;;
5026
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5028
cygwin* | mingw* | pw32* | cegcc*)
5029
if test "$GCC" != yes; then
5034
if test "$GCC" = yes; then
5035
reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5037
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5050
if test -n "$ac_tool_prefix"; then
5051
# Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5052
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5053
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054
$as_echo_n "checking for $ac_word... " >&6; }
5055
if ${ac_cv_prog_OBJDUMP+:} false; then :
5056
$as_echo_n "(cached) " >&6
5058
if test -n "$OBJDUMP"; then
5059
ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5061
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065
test -z "$as_dir" && as_dir=.
5066
for ac_exec_ext in '' $ac_executable_extensions; do
5067
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068
ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5069
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078
OBJDUMP=$ac_cv_prog_OBJDUMP
5079
if test -n "$OBJDUMP"; then
5080
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5081
$as_echo "$OBJDUMP" >&6; }
5083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084
$as_echo "no" >&6; }
5089
if test -z "$ac_cv_prog_OBJDUMP"; then
5090
ac_ct_OBJDUMP=$OBJDUMP
5091
# Extract the first word of "objdump", so it can be a program name with args.
5092
set dummy objdump; ac_word=$2
5093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094
$as_echo_n "checking for $ac_word... " >&6; }
5095
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5096
$as_echo_n "(cached) " >&6
5098
if test -n "$ac_ct_OBJDUMP"; then
5099
ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5101
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5105
test -z "$as_dir" && as_dir=.
5106
for ac_exec_ext in '' $ac_executable_extensions; do
5107
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5108
ac_cv_prog_ac_ct_OBJDUMP="objdump"
5109
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118
ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5119
if test -n "$ac_ct_OBJDUMP"; then
5120
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5121
$as_echo "$ac_ct_OBJDUMP" >&6; }
5123
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124
$as_echo "no" >&6; }
5127
if test "x$ac_ct_OBJDUMP" = x; then
5130
case $cross_compiling:$ac_tool_warned in
5132
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5133
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5134
ac_tool_warned=yes ;;
5136
OBJDUMP=$ac_ct_OBJDUMP
5139
OBJDUMP="$ac_cv_prog_OBJDUMP"
5142
test -z "$OBJDUMP" && OBJDUMP=objdump
5152
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5153
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5154
if ${lt_cv_deplibs_check_method+:} false; then :
5155
$as_echo_n "(cached) " >&6
5157
lt_cv_file_magic_cmd='$MAGIC_CMD'
5158
lt_cv_file_magic_test_file=
5159
lt_cv_deplibs_check_method='unknown'
5160
# Need to set the preceding variable on all platforms that support
5161
# interlibrary dependencies.
5162
# 'none' -- dependencies not supported.
5163
# `unknown' -- same as none, but documents that we really don't know.
5164
# 'pass_all' -- all dependencies passed with no checks.
5165
# 'test_compile' -- check by making test program.
5166
# 'file_magic [[regex]]' -- check by looking for files in library path
5167
# which responds to the $file_magic_cmd with a given extended regex.
5168
# If you have `file' or equivalent on your system and you're not sure
5169
# whether `pass_all' will *always* work, you probably want this one.
5173
lt_cv_deplibs_check_method=pass_all
5177
lt_cv_deplibs_check_method=pass_all
5181
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5182
lt_cv_file_magic_cmd='/usr/bin/file -L'
5183
lt_cv_file_magic_test_file=/shlib/libc.so
5187
# func_win32_libid is a shell function defined in ltmain.sh
5188
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5189
lt_cv_file_magic_cmd='func_win32_libid'
5193
# Base MSYS/MinGW do not provide the 'file' command needed by
5194
# func_win32_libid shell function, so use a weaker test based on 'objdump',
5195
# unless we find 'file', for example because we are cross-compiling.
5196
# func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5197
if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5198
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5199
lt_cv_file_magic_cmd='func_win32_libid'
5201
# Keep this pattern in sync with the one in func_win32_libid.
5202
lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5203
lt_cv_file_magic_cmd='$OBJDUMP -f'
5208
# use the weaker test based on 'objdump'. See mingw*.
5209
lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5210
lt_cv_file_magic_cmd='$OBJDUMP -f'
5213
darwin* | rhapsody*)
5214
lt_cv_deplibs_check_method=pass_all
5217
freebsd* | dragonfly*)
5218
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5221
# Not sure whether the presence of OpenBSD here was a mistake.
5222
# Let's accept both of them until this is cleared up.
5223
lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5224
lt_cv_file_magic_cmd=/usr/bin/file
5225
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5229
lt_cv_deplibs_check_method=pass_all
5234
lt_cv_deplibs_check_method=pass_all
5238
lt_cv_deplibs_check_method=pass_all
5241
hpux10.20* | hpux11*)
5242
lt_cv_file_magic_cmd=/usr/bin/file
5245
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5246
lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5249
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]'
5250
lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5253
lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5254
lt_cv_file_magic_test_file=/usr/lib/libc.sl
5260
# PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5261
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5264
irix5* | irix6* | nonstopux*)
5266
*-32|*"-32 ") libmagic=32-bit;;
5267
*-n32|*"-n32 ") libmagic=N32;;
5268
*-64|*"-64 ") libmagic=64-bit;;
5269
*) libmagic=never-match;;
5271
lt_cv_deplibs_check_method=pass_all
5274
# This must be glibc/ELF.
5275
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5276
lt_cv_deplibs_check_method=pass_all
5279
netbsd* | netbsdelf*-gnu)
5280
if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5281
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5283
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5288
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5289
lt_cv_file_magic_cmd=/usr/bin/file
5290
lt_cv_file_magic_test_file=/usr/lib/libnls.so
5294
lt_cv_deplibs_check_method=pass_all
5298
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5299
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5301
lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5305
osf3* | osf4* | osf5*)
5306
lt_cv_deplibs_check_method=pass_all
5310
lt_cv_deplibs_check_method=pass_all
5314
lt_cv_deplibs_check_method=pass_all
5317
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5318
lt_cv_deplibs_check_method=pass_all
5322
case $host_vendor in
5324
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]'
5325
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5328
lt_cv_deplibs_check_method=pass_all
5331
lt_cv_file_magic_cmd='/bin/file'
5332
lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5335
lt_cv_file_magic_cmd='/bin/file'
5336
lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5337
lt_cv_file_magic_test_file=/lib/libc.so
5340
lt_cv_deplibs_check_method=pass_all
5343
lt_cv_deplibs_check_method=pass_all
5349
lt_cv_deplibs_check_method=pass_all
5354
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5355
$as_echo "$lt_cv_deplibs_check_method" >&6; }
5359
if test "$build" = "$host"; then
5362
if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5365
file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5371
file_magic_cmd=$lt_cv_file_magic_cmd
5372
deplibs_check_method=$lt_cv_deplibs_check_method
5373
test -z "$deplibs_check_method" && deplibs_check_method=unknown
5396
if test -n "$ac_tool_prefix"; then
5397
# Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5398
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5399
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5400
$as_echo_n "checking for $ac_word... " >&6; }
5401
if ${ac_cv_prog_DLLTOOL+:} false; then :
5402
$as_echo_n "(cached) " >&6
5404
if test -n "$DLLTOOL"; then
5405
ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5407
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5411
test -z "$as_dir" && as_dir=.
5412
for ac_exec_ext in '' $ac_executable_extensions; do
5413
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414
ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5415
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5424
DLLTOOL=$ac_cv_prog_DLLTOOL
5425
if test -n "$DLLTOOL"; then
5426
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5427
$as_echo "$DLLTOOL" >&6; }
5429
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5430
$as_echo "no" >&6; }
5435
if test -z "$ac_cv_prog_DLLTOOL"; then
5436
ac_ct_DLLTOOL=$DLLTOOL
5437
# Extract the first word of "dlltool", so it can be a program name with args.
5438
set dummy dlltool; ac_word=$2
5439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5440
$as_echo_n "checking for $ac_word... " >&6; }
5441
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5442
$as_echo_n "(cached) " >&6
5444
if test -n "$ac_ct_DLLTOOL"; then
5445
ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5447
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451
test -z "$as_dir" && as_dir=.
5452
for ac_exec_ext in '' $ac_executable_extensions; do
5453
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454
ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5455
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5464
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5465
if test -n "$ac_ct_DLLTOOL"; then
5466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5467
$as_echo "$ac_ct_DLLTOOL" >&6; }
5469
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5470
$as_echo "no" >&6; }
5473
if test "x$ac_ct_DLLTOOL" = x; then
5476
case $cross_compiling:$ac_tool_warned in
5478
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5479
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5480
ac_tool_warned=yes ;;
5482
DLLTOOL=$ac_ct_DLLTOOL
5485
DLLTOOL="$ac_cv_prog_DLLTOOL"
5488
test -z "$DLLTOOL" && DLLTOOL=dlltool
5499
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5500
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5501
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5502
$as_echo_n "(cached) " >&6
5504
lt_cv_sharedlib_from_linklib_cmd='unknown'
5507
cygwin* | mingw* | pw32* | cegcc*)
5508
# two different shell functions defined in ltmain.sh
5509
# decide which to use based on capabilities of $DLLTOOL
5510
case `$DLLTOOL --help 2>&1` in
5511
*--identify-strict*)
5512
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5515
lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5520
# fallback: assume linklib IS sharedlib
5521
lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5526
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5527
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5528
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5529
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5538
if test -n "$ac_tool_prefix"; then
5541
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5542
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5543
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544
$as_echo_n "checking for $ac_word... " >&6; }
5545
if ${ac_cv_prog_AR+:} false; then :
5546
$as_echo_n "(cached) " >&6
5548
if test -n "$AR"; then
5549
ac_cv_prog_AR="$AR" # Let the user override the test.
5551
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5555
test -z "$as_dir" && as_dir=.
5556
for ac_exec_ext in '' $ac_executable_extensions; do
5557
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5558
ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5559
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5569
if test -n "$AR"; then
5570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5571
$as_echo "$AR" >&6; }
5573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574
$as_echo "no" >&6; }
5578
test -n "$AR" && break
5581
if test -z "$AR"; then
5585
# Extract the first word of "$ac_prog", so it can be a program name with args.
5586
set dummy $ac_prog; ac_word=$2
5587
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5588
$as_echo_n "checking for $ac_word... " >&6; }
5589
if ${ac_cv_prog_ac_ct_AR+:} false; then :
5590
$as_echo_n "(cached) " >&6
5592
if test -n "$ac_ct_AR"; then
5593
ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5595
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5599
test -z "$as_dir" && as_dir=.
5600
for ac_exec_ext in '' $ac_executable_extensions; do
5601
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5602
ac_cv_prog_ac_ct_AR="$ac_prog"
5603
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5612
ac_ct_AR=$ac_cv_prog_ac_ct_AR
5613
if test -n "$ac_ct_AR"; then
5614
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5615
$as_echo "$ac_ct_AR" >&6; }
5617
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5618
$as_echo "no" >&6; }
5622
test -n "$ac_ct_AR" && break
5625
if test "x$ac_ct_AR" = x; then
5628
case $cross_compiling:$ac_tool_warned in
5630
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5631
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5632
ac_tool_warned=yes ;;
5651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5652
$as_echo_n "checking for archiver @FILE support... " >&6; }
5653
if ${lt_cv_ar_at_file+:} false; then :
5654
$as_echo_n "(cached) " >&6
5657
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658
/* end confdefs.h. */
5668
if ac_fn_c_try_compile "$LINENO"; then :
5669
echo conftest.$ac_objext > conftest.lst
5670
lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5671
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5672
(eval $lt_ar_try) 2>&5
5674
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5675
test $ac_status = 0; }
5676
if test "$ac_status" -eq 0; then
5677
# Ensure the archiver fails upon bogus file names.
5678
rm -f conftest.$ac_objext libconftest.a
5679
{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5680
(eval $lt_ar_try) 2>&5
5682
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5683
test $ac_status = 0; }
5684
if test "$ac_status" -ne 0; then
5688
rm -f conftest.* libconftest.a
5691
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5694
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5695
$as_echo "$lt_cv_ar_at_file" >&6; }
5697
if test "x$lt_cv_ar_at_file" = xno; then
5700
archiver_list_spec=$lt_cv_ar_at_file
5709
if test -n "$ac_tool_prefix"; then
5710
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5711
set dummy ${ac_tool_prefix}strip; ac_word=$2
5712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5713
$as_echo_n "checking for $ac_word... " >&6; }
5714
if ${ac_cv_prog_STRIP+:} false; then :
5715
$as_echo_n "(cached) " >&6
5717
if test -n "$STRIP"; then
5718
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5724
test -z "$as_dir" && as_dir=.
5725
for ac_exec_ext in '' $ac_executable_extensions; do
5726
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5727
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5728
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737
STRIP=$ac_cv_prog_STRIP
5738
if test -n "$STRIP"; then
5739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5740
$as_echo "$STRIP" >&6; }
5742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5743
$as_echo "no" >&6; }
5748
if test -z "$ac_cv_prog_STRIP"; then
5750
# Extract the first word of "strip", so it can be a program name with args.
5751
set dummy strip; ac_word=$2
5752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753
$as_echo_n "checking for $ac_word... " >&6; }
5754
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5755
$as_echo_n "(cached) " >&6
5757
if test -n "$ac_ct_STRIP"; then
5758
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5764
test -z "$as_dir" && as_dir=.
5765
for ac_exec_ext in '' $ac_executable_extensions; do
5766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767
ac_cv_prog_ac_ct_STRIP="strip"
5768
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5778
if test -n "$ac_ct_STRIP"; then
5779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5780
$as_echo "$ac_ct_STRIP" >&6; }
5782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783
$as_echo "no" >&6; }
5786
if test "x$ac_ct_STRIP" = x; then
5789
case $cross_compiling:$ac_tool_warned in
5791
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5792
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5793
ac_tool_warned=yes ;;
5798
STRIP="$ac_cv_prog_STRIP"
5801
test -z "$STRIP" && STRIP=:
5808
if test -n "$ac_tool_prefix"; then
5809
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5810
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812
$as_echo_n "checking for $ac_word... " >&6; }
5813
if ${ac_cv_prog_RANLIB+:} false; then :
5814
$as_echo_n "(cached) " >&6
5816
if test -n "$RANLIB"; then
5817
ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5819
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823
test -z "$as_dir" && as_dir=.
5824
for ac_exec_ext in '' $ac_executable_extensions; do
5825
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826
ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5827
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5836
RANLIB=$ac_cv_prog_RANLIB
5837
if test -n "$RANLIB"; then
5838
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5839
$as_echo "$RANLIB" >&6; }
5841
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842
$as_echo "no" >&6; }
5847
if test -z "$ac_cv_prog_RANLIB"; then
5848
ac_ct_RANLIB=$RANLIB
5849
# Extract the first word of "ranlib", so it can be a program name with args.
5850
set dummy ranlib; ac_word=$2
5851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5852
$as_echo_n "checking for $ac_word... " >&6; }
5853
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5854
$as_echo_n "(cached) " >&6
5856
if test -n "$ac_ct_RANLIB"; then
5857
ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5859
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863
test -z "$as_dir" && as_dir=.
5864
for ac_exec_ext in '' $ac_executable_extensions; do
5865
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5866
ac_cv_prog_ac_ct_RANLIB="ranlib"
5867
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5876
ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5877
if test -n "$ac_ct_RANLIB"; then
5878
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5879
$as_echo "$ac_ct_RANLIB" >&6; }
5881
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5882
$as_echo "no" >&6; }
5885
if test "x$ac_ct_RANLIB" = x; then
5888
case $cross_compiling:$ac_tool_warned in
5890
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5891
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5892
ac_tool_warned=yes ;;
5894
RANLIB=$ac_ct_RANLIB
5897
RANLIB="$ac_cv_prog_RANLIB"
5900
test -z "$RANLIB" && RANLIB=:
5907
# Determine commands to create old-style static archives.
5908
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5909
old_postinstall_cmds='chmod 644 $oldlib'
5910
old_postuninstall_cmds=
5912
if test -n "$RANLIB"; then
5915
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5918
old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5921
old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5926
lock_old_archive_extraction=yes ;;
5928
lock_old_archive_extraction=no ;;
5969
# If no C compiler was specified, use CC.
5972
# If no C compiler flags were specified, use CFLAGS.
5973
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5975
# Allow CC to be a program name with arguments.
5979
# Check for command to grab the raw symbol name followed by C symbol from nm.
5980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5981
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5982
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5983
$as_echo_n "(cached) " >&6
5986
# These are sane defaults that work on at least a few old systems.
5987
# [They come from Ultrix. What could be older than Ultrix?!! ;)]
5989
# Character class describing NM global symbol codes.
5990
symcode='[BCDEGRST]'
5992
# Regexp to match symbols that can be accessed directly from C.
5993
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5995
# Define system-specific variables.
6000
cygwin* | mingw* | pw32* | cegcc*)
6001
symcode='[ABCDGISTW]'
6004
if test "$host_cpu" = ia64; then
6005
symcode='[ABCDEGRST]'
6009
symcode='[BCDEGRST]'
6012
symcode='[BCDEGQRST]'
6023
sysv5* | sco5v6* | unixware* | OpenUNIX*)
6031
# If we're using GNU nm, then use its standard symbol codes.
6032
case `$NM -V 2>&1` in
6033
*GNU* | *'with BFD'*)
6034
symcode='[ABCDGIRSTW]' ;;
6037
# Transform an extracted symbol line into a proper C declaration.
6038
# Some systems (esp. on ia64) link data and code symbols differently,
6039
# so use this general approach.
6040
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6042
# Transform an extracted symbol line into symbol name and symbol address
6043
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6044
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'"
6046
# Handle CRLF in mingw tool chain
6050
opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6054
# Try without a prefix underscore, then with it.
6055
for ac_symprfx in "" "_"; do
6057
# Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6058
symxfrm="\\1 $ac_symprfx\\2 \\2"
6060
# Write the raw and C identifiers.
6061
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6062
# Fake it for dumpbin and say T for any non-static function
6063
# and D for any global variable.
6064
# Also find C++ and __fastcall symbols from MSVC++,
6065
# which start with @ or ?.
6066
lt_cv_sys_global_symbol_pipe="$AWK '"\
6067
" {last_section=section; section=\$ 3};"\
6068
" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6069
" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6070
" \$ 0!~/External *\|/{next};"\
6071
" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6072
" {if(hide[section]) next};"\
6073
" {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6074
" {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6075
" s[1]~/^[@?]/{print s[1], s[1]; next};"\
6076
" s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6077
" ' prfx=^$ac_symprfx"
6079
lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6081
lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6083
# Check to see that the pipe works correctly.
6087
cat > conftest.$ac_ext <<_LT_EOF
6092
void nm_test_func(void);
6093
void nm_test_func(void){}
6097
int main(){nm_test_var='a';nm_test_func();return(0);}
6100
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6101
(eval $ac_compile) 2>&5
6103
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6104
test $ac_status = 0; }; then
6105
# Now try to grab the symbols.
6107
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6108
(eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6110
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6111
test $ac_status = 0; } && test -s "$nlist"; then
6112
# Try sorting and uniquifying the output.
6113
if sort "$nlist" | uniq > "$nlist"T; then
6114
mv -f "$nlist"T "$nlist"
6119
# Make sure that we snagged all the symbols we need.
6120
if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6121
if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6122
cat <<_LT_EOF > conftest.$ac_ext
6123
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
6124
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6125
/* DATA imports from DLLs on WIN32 con't be const, because runtime
6126
relocations are performed -- see ld's documentation on pseudo-relocs. */
6127
# define LT_DLSYM_CONST
6128
#elif defined(__osf__)
6129
/* This system does not cope well with relocations in const data. */
6130
# define LT_DLSYM_CONST
6132
# define LT_DLSYM_CONST const
6140
# Now generate the symbol file.
6141
eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6143
cat <<_LT_EOF >> conftest.$ac_ext
6145
/* The mapping between symbol names and symbols. */
6146
LT_DLSYM_CONST struct {
6150
lt__PROGRAM__LTX_preloaded_symbols[] =
6152
{ "@PROGRAM@", (void *) 0 },
6154
$SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6155
cat <<\_LT_EOF >> conftest.$ac_ext
6159
/* This works around a problem in FreeBSD linker */
6160
#ifdef FREEBSD_WORKAROUND
6161
static const void *lt_preloaded_setup() {
6162
return lt__PROGRAM__LTX_preloaded_symbols;
6170
# Now try linking the two files.
6171
mv conftest.$ac_objext conftstm.$ac_objext
6172
lt_globsym_save_LIBS=$LIBS
6173
lt_globsym_save_CFLAGS=$CFLAGS
6174
LIBS="conftstm.$ac_objext"
6175
CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6176
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6177
(eval $ac_link) 2>&5
6179
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6180
test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6183
LIBS=$lt_globsym_save_LIBS
6184
CFLAGS=$lt_globsym_save_CFLAGS
6186
echo "cannot find nm_test_func in $nlist" >&5
6189
echo "cannot find nm_test_var in $nlist" >&5
6192
echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6195
echo "$progname: failed program was:" >&5
6196
cat conftest.$ac_ext >&5
6198
rm -rf conftest* conftst*
6200
# Do not use the global_symbol_pipe unless it works.
6201
if test "$pipe_works" = yes; then
6204
lt_cv_sys_global_symbol_pipe=
6210
if test -z "$lt_cv_sys_global_symbol_pipe"; then
6211
lt_cv_sys_global_symbol_to_cdecl=
6213
if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6214
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6215
$as_echo "failed" >&6; }
6217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6218
$as_echo "ok" >&6; }
6221
# Response file support.
6222
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6223
nm_file_list_spec='@'
6224
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6225
nm_file_list_spec='@'
6254
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6255
$as_echo_n "checking for sysroot... " >&6; }
6257
# Check whether --with-sysroot was given.
6258
if test "${with_sysroot+set}" = set; then :
6259
withval=$with_sysroot;
6266
case ${with_sysroot} in #(
6268
if test "$GCC" = yes; then
6269
lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6273
lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6278
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6279
$as_echo "${with_sysroot}" >&6; }
6280
as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6285
$as_echo "${lt_sysroot:-no}" >&6; }
6291
# Check whether --enable-libtool-lock was given.
6292
if test "${enable_libtool_lock+set}" = set; then :
6293
enableval=$enable_libtool_lock;
6296
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6298
# Some flags need to be propagated to the compiler or linker for good
6302
# Find out which ABI we are using.
6303
echo 'int i;' > conftest.$ac_ext
6304
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6305
(eval $ac_compile) 2>&5
6307
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6308
test $ac_status = 0; }; then
6309
case `/usr/bin/file conftest.$ac_objext` in
6321
# Find out which ABI we are using.
6322
echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6323
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6324
(eval $ac_compile) 2>&5
6326
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6327
test $ac_status = 0; }; then
6328
if test "$lt_cv_prog_gnu_ld" = yes; then
6329
case `/usr/bin/file conftest.$ac_objext` in
6331
LD="${LD-ld} -melf32bsmip"
6334
LD="${LD-ld} -melf32bmipn32"
6337
LD="${LD-ld} -melf64bmip"
6341
case `/usr/bin/file conftest.$ac_objext` in
6357
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6358
s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6359
# Find out which ABI we are using.
6360
echo 'int i;' > conftest.$ac_ext
6361
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6362
(eval $ac_compile) 2>&5
6364
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6365
test $ac_status = 0; }; then
6366
case `/usr/bin/file conftest.o` in
6369
x86_64-*kfreebsd*-gnu)
6370
LD="${LD-ld} -m elf_i386_fbsd"
6373
LD="${LD-ld} -m elf_i386"
6375
ppc64-*linux*|powerpc64-*linux*)
6376
LD="${LD-ld} -m elf32ppclinux"
6379
LD="${LD-ld} -m elf_s390"
6382
LD="${LD-ld} -m elf32_sparc"
6388
x86_64-*kfreebsd*-gnu)
6389
LD="${LD-ld} -m elf_x86_64_fbsd"
6392
LD="${LD-ld} -m elf_x86_64"
6394
ppc*-*linux*|powerpc*-*linux*)
6395
LD="${LD-ld} -m elf64ppc"
6397
s390*-*linux*|s390*-*tpf*)
6398
LD="${LD-ld} -m elf64_s390"
6401
LD="${LD-ld} -m elf64_sparc"
6411
# On SCO OpenServer 5, we need -belf to get full-featured binaries.
6412
SAVE_CFLAGS="$CFLAGS"
6413
CFLAGS="$CFLAGS -belf"
6414
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6415
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6416
if ${lt_cv_cc_needs_belf+:} false; then :
6417
$as_echo_n "(cached) " >&6
6420
ac_cpp='$CPP $CPPFLAGS'
6421
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6422
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6423
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426
/* end confdefs.h. */
6436
if ac_fn_c_try_link "$LINENO"; then :
6437
lt_cv_cc_needs_belf=yes
6439
lt_cv_cc_needs_belf=no
6441
rm -f core conftest.err conftest.$ac_objext \
6442
conftest$ac_exeext conftest.$ac_ext
6444
ac_cpp='$CPP $CPPFLAGS'
6445
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6446
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6447
ac_compiler_gnu=$ac_cv_c_compiler_gnu
6450
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6451
$as_echo "$lt_cv_cc_needs_belf" >&6; }
6452
if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6453
# this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6454
CFLAGS="$SAVE_CFLAGS"
6458
# Find out which ABI we are using.
6459
echo 'int i;' > conftest.$ac_ext
6460
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6461
(eval $ac_compile) 2>&5
6463
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6464
test $ac_status = 0; }; then
6465
case `/usr/bin/file conftest.o` in
6467
case $lt_cv_prog_gnu_ld in
6471
LD="${LD-ld} -m elf_x86_64"
6474
LD="${LD-ld} -m elf64_sparc"
6477
# GNU ld 2.21 introduced _sol2 emulations. Use them if available.
6478
if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6483
if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6495
need_locks="$enable_libtool_lock"
6497
if test -n "$ac_tool_prefix"; then
6498
# Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6499
set dummy ${ac_tool_prefix}mt; ac_word=$2
6500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6501
$as_echo_n "checking for $ac_word... " >&6; }
6502
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6503
$as_echo_n "(cached) " >&6
6505
if test -n "$MANIFEST_TOOL"; then
6506
ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6508
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6512
test -z "$as_dir" && as_dir=.
6513
for ac_exec_ext in '' $ac_executable_extensions; do
6514
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6515
ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6516
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6526
if test -n "$MANIFEST_TOOL"; then
6527
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6528
$as_echo "$MANIFEST_TOOL" >&6; }
6530
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6531
$as_echo "no" >&6; }
6536
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6537
ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6538
# Extract the first word of "mt", so it can be a program name with args.
6539
set dummy mt; ac_word=$2
6540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6541
$as_echo_n "checking for $ac_word... " >&6; }
6542
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6543
$as_echo_n "(cached) " >&6
6545
if test -n "$ac_ct_MANIFEST_TOOL"; then
6546
ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6548
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6552
test -z "$as_dir" && as_dir=.
6553
for ac_exec_ext in '' $ac_executable_extensions; do
6554
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6555
ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6556
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6565
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6566
if test -n "$ac_ct_MANIFEST_TOOL"; then
6567
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6568
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6570
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6571
$as_echo "no" >&6; }
6574
if test "x$ac_ct_MANIFEST_TOOL" = x; then
6577
case $cross_compiling:$ac_tool_warned in
6579
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6580
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6581
ac_tool_warned=yes ;;
6583
MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6586
MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6589
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6590
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6591
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6592
if ${lt_cv_path_mainfest_tool+:} false; then :
6593
$as_echo_n "(cached) " >&6
6595
lt_cv_path_mainfest_tool=no
6596
echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6597
$MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6598
cat conftest.err >&5
6599
if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6600
lt_cv_path_mainfest_tool=yes
6604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6605
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6606
if test "x$lt_cv_path_mainfest_tool" != xyes; then
6616
rhapsody* | darwin*)
6617
if test -n "$ac_tool_prefix"; then
6618
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6619
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6620
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621
$as_echo_n "checking for $ac_word... " >&6; }
6622
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6623
$as_echo_n "(cached) " >&6
6625
if test -n "$DSYMUTIL"; then
6626
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632
test -z "$as_dir" && as_dir=.
6633
for ac_exec_ext in '' $ac_executable_extensions; do
6634
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6635
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6636
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6645
DSYMUTIL=$ac_cv_prog_DSYMUTIL
6646
if test -n "$DSYMUTIL"; then
6647
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6648
$as_echo "$DSYMUTIL" >&6; }
6650
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6651
$as_echo "no" >&6; }
6656
if test -z "$ac_cv_prog_DSYMUTIL"; then
6657
ac_ct_DSYMUTIL=$DSYMUTIL
6658
# Extract the first word of "dsymutil", so it can be a program name with args.
6659
set dummy dsymutil; ac_word=$2
6660
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661
$as_echo_n "checking for $ac_word... " >&6; }
6662
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6663
$as_echo_n "(cached) " >&6
6665
if test -n "$ac_ct_DSYMUTIL"; then
6666
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6668
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672
test -z "$as_dir" && as_dir=.
6673
for ac_exec_ext in '' $ac_executable_extensions; do
6674
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6675
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6676
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6686
if test -n "$ac_ct_DSYMUTIL"; then
6687
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6688
$as_echo "$ac_ct_DSYMUTIL" >&6; }
6690
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691
$as_echo "no" >&6; }
6694
if test "x$ac_ct_DSYMUTIL" = x; then
6697
case $cross_compiling:$ac_tool_warned in
6699
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6700
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6701
ac_tool_warned=yes ;;
6703
DSYMUTIL=$ac_ct_DSYMUTIL
6706
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6709
if test -n "$ac_tool_prefix"; then
6710
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6711
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6713
$as_echo_n "checking for $ac_word... " >&6; }
6714
if ${ac_cv_prog_NMEDIT+:} false; then :
6715
$as_echo_n "(cached) " >&6
6717
if test -n "$NMEDIT"; then
6718
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6720
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724
test -z "$as_dir" && as_dir=.
6725
for ac_exec_ext in '' $ac_executable_extensions; do
6726
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6727
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6728
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6737
NMEDIT=$ac_cv_prog_NMEDIT
6738
if test -n "$NMEDIT"; then
6739
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6740
$as_echo "$NMEDIT" >&6; }
6742
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6743
$as_echo "no" >&6; }
6748
if test -z "$ac_cv_prog_NMEDIT"; then
6749
ac_ct_NMEDIT=$NMEDIT
6750
# Extract the first word of "nmedit", so it can be a program name with args.
6751
set dummy nmedit; ac_word=$2
6752
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6753
$as_echo_n "checking for $ac_word... " >&6; }
6754
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6755
$as_echo_n "(cached) " >&6
6757
if test -n "$ac_ct_NMEDIT"; then
6758
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6760
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764
test -z "$as_dir" && as_dir=.
6765
for ac_exec_ext in '' $ac_executable_extensions; do
6766
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6767
ac_cv_prog_ac_ct_NMEDIT="nmedit"
6768
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6777
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6778
if test -n "$ac_ct_NMEDIT"; then
6779
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6780
$as_echo "$ac_ct_NMEDIT" >&6; }
6782
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6783
$as_echo "no" >&6; }
6786
if test "x$ac_ct_NMEDIT" = x; then
6789
case $cross_compiling:$ac_tool_warned in
6791
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6792
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6793
ac_tool_warned=yes ;;
6795
NMEDIT=$ac_ct_NMEDIT
6798
NMEDIT="$ac_cv_prog_NMEDIT"
6801
if test -n "$ac_tool_prefix"; then
6802
# Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6803
set dummy ${ac_tool_prefix}lipo; ac_word=$2
6804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6805
$as_echo_n "checking for $ac_word... " >&6; }
6806
if ${ac_cv_prog_LIPO+:} false; then :
6807
$as_echo_n "(cached) " >&6
6809
if test -n "$LIPO"; then
6810
ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6812
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816
test -z "$as_dir" && as_dir=.
6817
for ac_exec_ext in '' $ac_executable_extensions; do
6818
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6819
ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6820
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6829
LIPO=$ac_cv_prog_LIPO
6830
if test -n "$LIPO"; then
6831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6832
$as_echo "$LIPO" >&6; }
6834
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835
$as_echo "no" >&6; }
6840
if test -z "$ac_cv_prog_LIPO"; then
6842
# Extract the first word of "lipo", so it can be a program name with args.
6843
set dummy lipo; ac_word=$2
6844
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845
$as_echo_n "checking for $ac_word... " >&6; }
6846
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6847
$as_echo_n "(cached) " >&6
6849
if test -n "$ac_ct_LIPO"; then
6850
ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6852
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6856
test -z "$as_dir" && as_dir=.
6857
for ac_exec_ext in '' $ac_executable_extensions; do
6858
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6859
ac_cv_prog_ac_ct_LIPO="lipo"
6860
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6869
ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6870
if test -n "$ac_ct_LIPO"; then
6871
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6872
$as_echo "$ac_ct_LIPO" >&6; }
6874
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875
$as_echo "no" >&6; }
6878
if test "x$ac_ct_LIPO" = x; then
6881
case $cross_compiling:$ac_tool_warned in
6883
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6884
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6885
ac_tool_warned=yes ;;
6890
LIPO="$ac_cv_prog_LIPO"
6893
if test -n "$ac_tool_prefix"; then
6894
# Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6895
set dummy ${ac_tool_prefix}otool; ac_word=$2
6896
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6897
$as_echo_n "checking for $ac_word... " >&6; }
6898
if ${ac_cv_prog_OTOOL+:} false; then :
6899
$as_echo_n "(cached) " >&6
6901
if test -n "$OTOOL"; then
6902
ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6904
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908
test -z "$as_dir" && as_dir=.
6909
for ac_exec_ext in '' $ac_executable_extensions; do
6910
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6911
ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6912
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6921
OTOOL=$ac_cv_prog_OTOOL
6922
if test -n "$OTOOL"; then
6923
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6924
$as_echo "$OTOOL" >&6; }
6926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6927
$as_echo "no" >&6; }
6932
if test -z "$ac_cv_prog_OTOOL"; then
6934
# Extract the first word of "otool", so it can be a program name with args.
6935
set dummy otool; ac_word=$2
6936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937
$as_echo_n "checking for $ac_word... " >&6; }
6938
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6939
$as_echo_n "(cached) " >&6
6941
if test -n "$ac_ct_OTOOL"; then
6942
ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6944
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6948
test -z "$as_dir" && as_dir=.
6949
for ac_exec_ext in '' $ac_executable_extensions; do
6950
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6951
ac_cv_prog_ac_ct_OTOOL="otool"
6952
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961
ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6962
if test -n "$ac_ct_OTOOL"; then
6963
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
6964
$as_echo "$ac_ct_OTOOL" >&6; }
6966
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967
$as_echo "no" >&6; }
6970
if test "x$ac_ct_OTOOL" = x; then
6973
case $cross_compiling:$ac_tool_warned in
6975
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6976
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6977
ac_tool_warned=yes ;;
6982
OTOOL="$ac_cv_prog_OTOOL"
6985
if test -n "$ac_tool_prefix"; then
6986
# Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6987
set dummy ${ac_tool_prefix}otool64; ac_word=$2
6988
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989
$as_echo_n "checking for $ac_word... " >&6; }
6990
if ${ac_cv_prog_OTOOL64+:} false; then :
6991
$as_echo_n "(cached) " >&6
6993
if test -n "$OTOOL64"; then
6994
ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6996
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000
test -z "$as_dir" && as_dir=.
7001
for ac_exec_ext in '' $ac_executable_extensions; do
7002
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003
ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7004
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013
OTOOL64=$ac_cv_prog_OTOOL64
7014
if test -n "$OTOOL64"; then
7015
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7016
$as_echo "$OTOOL64" >&6; }
7018
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019
$as_echo "no" >&6; }
7024
if test -z "$ac_cv_prog_OTOOL64"; then
7025
ac_ct_OTOOL64=$OTOOL64
7026
# Extract the first word of "otool64", so it can be a program name with args.
7027
set dummy otool64; ac_word=$2
7028
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7029
$as_echo_n "checking for $ac_word... " >&6; }
7030
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7031
$as_echo_n "(cached) " >&6
7033
if test -n "$ac_ct_OTOOL64"; then
7034
ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7036
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7040
test -z "$as_dir" && as_dir=.
7041
for ac_exec_ext in '' $ac_executable_extensions; do
7042
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7043
ac_cv_prog_ac_ct_OTOOL64="otool64"
7044
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7053
ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7054
if test -n "$ac_ct_OTOOL64"; then
7055
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7056
$as_echo "$ac_ct_OTOOL64" >&6; }
7058
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7059
$as_echo "no" >&6; }
7062
if test "x$ac_ct_OTOOL64" = x; then
7065
case $cross_compiling:$ac_tool_warned in
7067
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7068
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7069
ac_tool_warned=yes ;;
7071
OTOOL64=$ac_ct_OTOOL64
7074
OTOOL64="$ac_cv_prog_OTOOL64"
7103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7104
$as_echo_n "checking for -single_module linker flag... " >&6; }
7105
if ${lt_cv_apple_cc_single_mod+:} false; then :
7106
$as_echo_n "(cached) " >&6
7108
lt_cv_apple_cc_single_mod=no
7109
if test -z "${LT_MULTI_MODULE}"; then
7110
# By default we will add the -single_module flag. You can override
7111
# by either setting the environment variable LT_MULTI_MODULE
7112
# non-empty at configure time, or by adding -multi_module to the
7114
rm -rf libconftest.dylib*
7115
echo "int foo(void){return 1;}" > conftest.c
7116
echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7117
-dynamiclib -Wl,-single_module conftest.c" >&5
7118
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7119
-dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7121
# If there is a non-empty error log, and "single_module"
7122
# appears in it, assume the flag caused a linker warning
7123
if test -s conftest.err && $GREP single_module conftest.err; then
7124
cat conftest.err >&5
7125
# Otherwise, if the output was created with a 0 exit code from
7126
# the compiler, it worked.
7127
elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7128
lt_cv_apple_cc_single_mod=yes
7130
cat conftest.err >&5
7132
rm -rf libconftest.dylib*
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7137
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7139
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7140
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7141
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7142
$as_echo_n "(cached) " >&6
7144
lt_cv_ld_exported_symbols_list=no
7145
save_LDFLAGS=$LDFLAGS
7146
echo "_main" > conftest.sym
7147
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7148
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7149
/* end confdefs.h. */
7159
if ac_fn_c_try_link "$LINENO"; then :
7160
lt_cv_ld_exported_symbols_list=yes
7162
lt_cv_ld_exported_symbols_list=no
7164
rm -f core conftest.err conftest.$ac_objext \
7165
conftest$ac_exeext conftest.$ac_ext
7166
LDFLAGS="$save_LDFLAGS"
7169
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7170
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7172
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7173
$as_echo_n "checking for -force_load linker flag... " >&6; }
7174
if ${lt_cv_ld_force_load+:} false; then :
7175
$as_echo_n "(cached) " >&6
7177
lt_cv_ld_force_load=no
7178
cat > conftest.c << _LT_EOF
7179
int forced_loaded() { return 2;}
7181
echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7182
$LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7183
echo "$AR cru libconftest.a conftest.o" >&5
7184
$AR cru libconftest.a conftest.o 2>&5
7185
echo "$RANLIB libconftest.a" >&5
7186
$RANLIB libconftest.a 2>&5
7187
cat > conftest.c << _LT_EOF
7188
int main() { return 0;}
7190
echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7191
$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7193
if test -s conftest.err && $GREP force_load conftest.err; then
7194
cat conftest.err >&5
7195
elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7196
lt_cv_ld_force_load=yes
7198
cat conftest.err >&5
7200
rm -f conftest.err libconftest.a conftest conftest.c
7201
rm -rf conftest.dSYM
7204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7205
$as_echo "$lt_cv_ld_force_load" >&6; }
7207
rhapsody* | darwin1.[012])
7208
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7210
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7211
darwin*) # darwin 5.x on
7212
# if running on 10.5 or later, the deployment target defaults
7213
# to the OS version, if on x86, and 10.4, the deployment
7214
# target defaults to 10.4. Don't you love it?
7215
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7216
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7217
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7219
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7221
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7225
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7226
_lt_dar_single_mod='$single_module'
7228
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7229
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7231
_lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7233
if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7234
_lt_dsymutil='~$DSYMUTIL $lib || :'
7242
ac_cpp='$CPP $CPPFLAGS'
7243
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7244
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7245
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7246
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7247
$as_echo_n "checking how to run the C preprocessor... " >&6; }
7248
# On Suns, sometimes $CPP names a directory.
7249
if test -n "$CPP" && test -d "$CPP"; then
7252
if test -z "$CPP"; then
7253
if ${ac_cv_prog_CPP+:} false; then :
7254
$as_echo_n "(cached) " >&6
7256
# Double quotes because CPP needs to be expanded
7257
for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7260
for ac_c_preproc_warn_flag in '' yes
7262
# Use a header file that comes with gcc, so configuring glibc
7263
# with a fresh cross-compiler works.
7264
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7265
# <limits.h> exists even on freestanding compilers.
7266
# On the NeXT, cc -E runs the code through the compiler's parser,
7267
# not just through cpp. "Syntax error" is here to catch this case.
7268
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7269
/* end confdefs.h. */
7271
# include <limits.h>
7273
# include <assert.h>
7277
if ac_fn_c_try_cpp "$LINENO"; then :
7280
# Broken: fails on valid input.
7283
rm -f conftest.err conftest.i conftest.$ac_ext
7285
# OK, works on sane cases. Now check whether nonexistent headers
7286
# can be detected and how.
7287
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7288
/* end confdefs.h. */
7289
#include <ac_nonexistent.h>
7291
if ac_fn_c_try_cpp "$LINENO"; then :
7292
# Broken: success on invalid input.
7295
# Passes both tests.
7299
rm -f conftest.err conftest.i conftest.$ac_ext
7302
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7303
rm -f conftest.i conftest.err conftest.$ac_ext
7304
if $ac_preproc_ok; then :
7316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7317
$as_echo "$CPP" >&6; }
7319
for ac_c_preproc_warn_flag in '' yes
7321
# Use a header file that comes with gcc, so configuring glibc
7322
# with a fresh cross-compiler works.
7323
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7324
# <limits.h> exists even on freestanding compilers.
7325
# On the NeXT, cc -E runs the code through the compiler's parser,
7326
# not just through cpp. "Syntax error" is here to catch this case.
7327
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7328
/* end confdefs.h. */
7330
# include <limits.h>
7332
# include <assert.h>
7336
if ac_fn_c_try_cpp "$LINENO"; then :
7339
# Broken: fails on valid input.
7342
rm -f conftest.err conftest.i conftest.$ac_ext
7344
# OK, works on sane cases. Now check whether nonexistent headers
7345
# can be detected and how.
7346
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7347
/* end confdefs.h. */
7348
#include <ac_nonexistent.h>
7350
if ac_fn_c_try_cpp "$LINENO"; then :
7351
# Broken: success on invalid input.
7354
# Passes both tests.
7358
rm -f conftest.err conftest.i conftest.$ac_ext
7361
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7362
rm -f conftest.i conftest.err conftest.$ac_ext
7363
if $ac_preproc_ok; then :
7366
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7367
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7368
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7369
See \`config.log' for more details" "$LINENO" 5; }
7373
ac_cpp='$CPP $CPPFLAGS'
7374
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7375
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7376
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7379
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7380
$as_echo_n "checking for ANSI C header files... " >&6; }
7381
if ${ac_cv_header_stdc+:} false; then :
7382
$as_echo_n "(cached) " >&6
7384
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7385
/* end confdefs.h. */
7399
if ac_fn_c_try_compile "$LINENO"; then :
7400
ac_cv_header_stdc=yes
7402
ac_cv_header_stdc=no
7404
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406
if test $ac_cv_header_stdc = yes; then
7407
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7408
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7409
/* end confdefs.h. */
7413
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7414
$EGREP "memchr" >/dev/null 2>&1; then :
7417
ac_cv_header_stdc=no
7423
if test $ac_cv_header_stdc = yes; then
7424
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7425
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7426
/* end confdefs.h. */
7430
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7431
$EGREP "free" >/dev/null 2>&1; then :
7434
ac_cv_header_stdc=no
7440
if test $ac_cv_header_stdc = yes; then
7441
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7442
if test "$cross_compiling" = yes; then :
7445
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7446
/* end confdefs.h. */
7449
#if ((' ' & 0x0FF) == 0x020)
7450
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7451
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7453
# define ISLOWER(c) \
7454
(('a' <= (c) && (c) <= 'i') \
7455
|| ('j' <= (c) && (c) <= 'r') \
7456
|| ('s' <= (c) && (c) <= 'z'))
7457
# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7460
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7465
for (i = 0; i < 256; i++)
7466
if (XOR (islower (i), ISLOWER (i))
7467
|| toupper (i) != TOUPPER (i))
7472
if ac_fn_c_try_run "$LINENO"; then :
7475
ac_cv_header_stdc=no
7477
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7478
conftest.$ac_objext conftest.beam conftest.$ac_ext
7483
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7484
$as_echo "$ac_cv_header_stdc" >&6; }
7485
if test $ac_cv_header_stdc = yes; then
7487
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7491
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7492
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7493
inttypes.h stdint.h unistd.h
7495
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7496
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7498
if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7499
cat >>confdefs.h <<_ACEOF
7500
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7508
for ac_header in dlfcn.h
7510
ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7512
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7513
cat >>confdefs.h <<_ACEOF
7514
#define HAVE_DLFCN_H 1
7535
# Check whether --enable-shared was given.
7536
if test "${enable_shared+set}" = set; then :
7537
enableval=$enable_shared; p=${PACKAGE-default}
7539
yes) enable_shared=yes ;;
7540
no) enable_shared=no ;;
7543
# Look at the argument we got. We use all the common list separators.
7544
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7545
for pkg in $enableval; do
7547
if test "X$pkg" = "X$p"; then
7566
# Check whether --enable-static was given.
7567
if test "${enable_static+set}" = set; then :
7568
enableval=$enable_static; p=${PACKAGE-default}
7570
yes) enable_static=yes ;;
7571
no) enable_static=no ;;
7574
# Look at the argument we got. We use all the common list separators.
7575
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7576
for pkg in $enableval; do
7578
if test "X$pkg" = "X$p"; then
7598
# Check whether --with-pic was given.
7599
if test "${with_pic+set}" = set; then :
7600
withval=$with_pic; lt_p=${PACKAGE-default}
7602
yes|no) pic_mode=$withval ;;
7605
# Look at the argument we got. We use all the common list separators.
7606
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7607
for lt_pkg in $withval; do
7609
if test "X$lt_pkg" = "X$lt_p"; then
7621
test -z "$pic_mode" && pic_mode=default
7629
# Check whether --enable-fast-install was given.
7630
if test "${enable_fast_install+set}" = set; then :
7631
enableval=$enable_fast_install; p=${PACKAGE-default}
7633
yes) enable_fast_install=yes ;;
7634
no) enable_fast_install=no ;;
7636
enable_fast_install=no
7637
# Look at the argument we got. We use all the common list separators.
7638
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7639
for pkg in $enableval; do
7641
if test "X$pkg" = "X$p"; then
7642
enable_fast_install=yes
7649
enable_fast_install=yes
7662
# This can be used to rebuild libtool when needed
7663
LIBTOOL_DEPS="$ltmain"
7665
# Always use our own libtool.
7666
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7697
test -z "$LN_S" && LN_S="ln -s"
7712
if test -n "${ZSH_VERSION+set}" ; then
7713
setopt NO_GLOB_SUBST
7716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7717
$as_echo_n "checking for objdir... " >&6; }
7718
if ${lt_cv_objdir+:} false; then :
7719
$as_echo_n "(cached) " >&6
7721
rm -f .libs 2>/dev/null
7722
mkdir .libs 2>/dev/null
7723
if test -d .libs; then
7726
# MS-DOS does not allow filenames that begin with a dot.
7729
rmdir .libs 2>/dev/null
7731
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7732
$as_echo "$lt_cv_objdir" >&6; }
7733
objdir=$lt_cv_objdir
7739
cat >>confdefs.h <<_ACEOF
7740
#define LT_OBJDIR "$lt_cv_objdir/"
7748
# AIX sometimes has problems with the GCC collect2 program. For some
7749
# reason, if we set the COLLECT_NAMES environment variable, the problems
7750
# vanish in a puff of smoke.
7751
if test "X${COLLECT_NAMES+set}" != Xset; then
7753
export COLLECT_NAMES
7760
can_build_shared=yes
7762
# All known linkers require a `.a' archive for static linking (except MSVC,
7763
# which needs '.lib').
7766
with_gnu_ld="$lt_cv_prog_gnu_ld"
7769
old_CFLAGS="$CFLAGS"
7771
# Set sane defaults for various variables
7772
test -z "$CC" && CC=cc
7773
test -z "$LTCC" && LTCC=$CC
7774
test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7775
test -z "$LD" && LD=ld
7776
test -z "$ac_objext" && ac_objext=o
7778
for cc_temp in $compiler""; do
7780
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7781
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7786
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7789
# Only perform the check for file, if the check method requires it
7790
test -z "$MAGIC_CMD" && MAGIC_CMD=file
7791
case $deplibs_check_method in
7793
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7795
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7796
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7797
$as_echo_n "(cached) " >&6
7801
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7804
lt_save_MAGIC_CMD="$MAGIC_CMD"
7805
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7806
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7807
for ac_dir in $ac_dummy; do
7809
test -z "$ac_dir" && ac_dir=.
7810
if test -f $ac_dir/${ac_tool_prefix}file; then
7811
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7812
if test -n "$file_magic_test_file"; then
7813
case $deplibs_check_method in
7815
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7816
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7817
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7818
$EGREP "$file_magic_regex" > /dev/null; then
7823
*** Warning: the command libtool uses to detect shared libraries,
7824
*** $file_magic_cmd, produces output that libtool cannot recognize.
7825
*** The result is that libtool may fail to recognize shared libraries
7826
*** as such. This will affect the creation of libtool libraries that
7827
*** depend on shared libraries, but programs linked with such libtool
7828
*** libraries will work regardless of this problem. Nevertheless, you
7829
*** may want to report the problem to your system manager and/or to
7830
*** bug-libtool@gnu.org
7840
MAGIC_CMD="$lt_save_MAGIC_CMD"
7845
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7846
if test -n "$MAGIC_CMD"; then
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7848
$as_echo "$MAGIC_CMD" >&6; }
7850
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7851
$as_echo "no" >&6; }
7858
if test -z "$lt_cv_path_MAGIC_CMD"; then
7859
if test -n "$ac_tool_prefix"; then
7860
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7861
$as_echo_n "checking for file... " >&6; }
7862
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7863
$as_echo_n "(cached) " >&6
7867
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7870
lt_save_MAGIC_CMD="$MAGIC_CMD"
7871
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7872
ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7873
for ac_dir in $ac_dummy; do
7875
test -z "$ac_dir" && ac_dir=.
7876
if test -f $ac_dir/file; then
7877
lt_cv_path_MAGIC_CMD="$ac_dir/file"
7878
if test -n "$file_magic_test_file"; then
7879
case $deplibs_check_method in
7881
file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7882
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7883
if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7884
$EGREP "$file_magic_regex" > /dev/null; then
7889
*** Warning: the command libtool uses to detect shared libraries,
7890
*** $file_magic_cmd, produces output that libtool cannot recognize.
7891
*** The result is that libtool may fail to recognize shared libraries
7892
*** as such. This will affect the creation of libtool libraries that
7893
*** depend on shared libraries, but programs linked with such libtool
7894
*** libraries will work regardless of this problem. Nevertheless, you
7895
*** may want to report the problem to your system manager and/or to
7896
*** bug-libtool@gnu.org
7906
MAGIC_CMD="$lt_save_MAGIC_CMD"
7911
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7912
if test -n "$MAGIC_CMD"; then
7913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7914
$as_echo "$MAGIC_CMD" >&6; }
7916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7917
$as_echo "no" >&6; }
7930
# Use C for the default configuration in the libtool script
7934
ac_cpp='$CPP $CPPFLAGS'
7935
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7936
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7937
ac_compiler_gnu=$ac_cv_c_compiler_gnu
7940
# Source file extension for C test sources.
7943
# Object file extension for compiled C test sources.
7947
# Code to be used in simple compile tests
7948
lt_simple_compile_test_code="int some_variable = 0;"
7950
# Code to be used in simple link tests
7951
lt_simple_link_test_code='int main(){return(0);}'
7959
# If no C compiler was specified, use CC.
7962
# If no C compiler flags were specified, use CFLAGS.
7963
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7965
# Allow CC to be a program name with arguments.
7968
# Save the default compiler, since it gets overwritten when the other
7969
# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7970
compiler_DEFAULT=$CC
7972
# save warnings/boilerplate of simple test code
7973
ac_outfile=conftest.$ac_objext
7974
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7975
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7976
_lt_compiler_boilerplate=`cat conftest.err`
7979
ac_outfile=conftest.$ac_objext
7980
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7981
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7982
_lt_linker_boilerplate=`cat conftest.err`
7986
if test -n "$compiler"; then
7988
lt_prog_compiler_no_builtin_flag=
7990
if test "$GCC" = yes; then
7991
case $cc_basename in
7993
lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7995
lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7998
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7999
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8000
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8001
$as_echo_n "(cached) " >&6
8003
lt_cv_prog_compiler_rtti_exceptions=no
8004
ac_outfile=conftest.$ac_objext
8005
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8006
lt_compiler_flag="-fno-rtti -fno-exceptions"
8007
# Insert the option either (1) after the last *FLAGS variable, or
8008
# (2) before a word containing "conftest.", or (3) at the end.
8009
# Note that $ac_compile itself does not contain backslashes and begins
8010
# with a dollar sign (not a hyphen), so the echo should work correctly.
8011
# The option is referenced via a variable to avoid confusing sed.
8012
lt_compile=`echo "$ac_compile" | $SED \
8013
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8014
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8015
-e 's:$: $lt_compiler_flag:'`
8016
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8017
(eval "$lt_compile" 2>conftest.err)
8019
cat conftest.err >&5
8020
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021
if (exit $ac_status) && test -s "$ac_outfile"; then
8022
# The compiler can only warn and ignore the option if not recognized
8023
# So say no if there are warnings other than the usual output.
8024
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8025
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8026
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8027
lt_cv_prog_compiler_rtti_exceptions=yes
8033
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8034
$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8036
if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8037
lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8049
lt_prog_compiler_wl=
8050
lt_prog_compiler_pic=
8051
lt_prog_compiler_static=
8054
if test "$GCC" = yes; then
8055
lt_prog_compiler_wl='-Wl,'
8056
lt_prog_compiler_static='-static'
8060
# All AIX code is PIC.
8061
if test "$host_cpu" = ia64; then
8062
# AIX 5 now supports IA64 processor
8063
lt_prog_compiler_static='-Bstatic'
8070
# see comment about AmigaOS4 .so support
8071
lt_prog_compiler_pic='-fPIC'
8074
# FIXME: we need at least 68020 code to build shared libraries, but
8075
# adding the `-m68020' flag to GCC prevents building anything better,
8077
lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8082
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8083
# PIC is the default for these OSes.
8086
mingw* | cygwin* | pw32* | os2* | cegcc*)
8087
# This hack is so that the source file can tell whether it is being
8088
# built for inclusion in a dll (and should export symbols for example).
8089
# Although the cygwin gcc ignores -fPIC, still need this for old-style
8090
# (--disable-auto-import) libraries
8091
lt_prog_compiler_pic='-DDLL_EXPORT'
8094
darwin* | rhapsody*)
8095
# PIC is the default on this platform
8096
# Common symbols not allowed in MH_DYLIB files
8097
lt_prog_compiler_pic='-fno-common'
8101
# PIC is the default for Haiku.
8102
# The "-static" flag exists, but is broken.
8103
lt_prog_compiler_static=
8107
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8108
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8109
# sets the default TLS model and affects inlining.
8115
lt_prog_compiler_pic='-fPIC'
8121
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
8122
# Instead, we relocate shared libraries at runtime.
8126
# Just because we use GCC doesn't mean we suddenly get shared libraries
8127
# on systems that don't support them.
8128
lt_prog_compiler_can_build_shared=no
8133
# QNX uses GNU C++, but need to define -shared option too, otherwise
8135
lt_prog_compiler_pic='-fPIC -shared'
8139
if test -d /usr/nec; then
8140
lt_prog_compiler_pic=-Kconform_pic
8145
lt_prog_compiler_pic='-fPIC'
8149
case $cc_basename in
8150
nvcc*) # Cuda Compiler Driver 2.2
8151
lt_prog_compiler_wl='-Xlinker '
8152
if test -n "$lt_prog_compiler_pic"; then
8153
lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8158
# PORTME Check for flag to pass linker flags through the system compiler.
8161
lt_prog_compiler_wl='-Wl,'
8162
if test "$host_cpu" = ia64; then
8163
# AIX 5 now supports IA64 processor
8164
lt_prog_compiler_static='-Bstatic'
8166
lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8170
mingw* | cygwin* | pw32* | os2* | cegcc*)
8171
# This hack is so that the source file can tell whether it is being
8172
# built for inclusion in a dll (and should export symbols for example).
8173
lt_prog_compiler_pic='-DDLL_EXPORT'
8176
hpux9* | hpux10* | hpux11*)
8177
lt_prog_compiler_wl='-Wl,'
8178
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8185
lt_prog_compiler_pic='+Z'
8188
# Is there a better lt_prog_compiler_static that works with the bundled CC?
8189
lt_prog_compiler_static='${wl}-a ${wl}archive'
8192
irix5* | irix6* | nonstopux*)
8193
lt_prog_compiler_wl='-Wl,'
8194
# PIC (with -KPIC) is the default.
8195
lt_prog_compiler_static='-non_shared'
8198
linux* | k*bsd*-gnu | kopensolaris*-gnu)
8199
case $cc_basename in
8200
# old Intel for x86_64 which still supported -KPIC.
8202
lt_prog_compiler_wl='-Wl,'
8203
lt_prog_compiler_pic='-KPIC'
8204
lt_prog_compiler_static='-static'
8206
# icc used to be incompatible with GCC.
8207
# ICC 10 doesn't accept -KPIC any more.
8209
lt_prog_compiler_wl='-Wl,'
8210
lt_prog_compiler_pic='-fPIC'
8211
lt_prog_compiler_static='-static'
8213
# Lahey Fortran 8.1.
8215
lt_prog_compiler_wl='-Wl,'
8216
lt_prog_compiler_pic='--shared'
8217
lt_prog_compiler_static='--static'
8220
# NAG Fortran compiler
8221
lt_prog_compiler_wl='-Wl,-Wl,,'
8222
lt_prog_compiler_pic='-PIC'
8223
lt_prog_compiler_static='-Bstatic'
8225
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8226
# Portland Group compilers (*not* the Pentium gcc compiler,
8227
# which looks to be a dead project)
8228
lt_prog_compiler_wl='-Wl,'
8229
lt_prog_compiler_pic='-fpic'
8230
lt_prog_compiler_static='-Bstatic'
8233
lt_prog_compiler_wl='-Wl,'
8234
# All Alpha code is PIC.
8235
lt_prog_compiler_static='-non_shared'
8237
xl* | bgxl* | bgf* | mpixl*)
8238
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8239
lt_prog_compiler_wl='-Wl,'
8240
lt_prog_compiler_pic='-qpic'
8241
lt_prog_compiler_static='-qstaticlink'
8244
case `$CC -V 2>&1 | sed 5q` in
8245
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8246
# Sun Fortran 8.3 passes all unrecognized flags to the linker
8247
lt_prog_compiler_pic='-KPIC'
8248
lt_prog_compiler_static='-Bstatic'
8249
lt_prog_compiler_wl=''
8251
*Sun\ F* | *Sun*Fortran*)
8252
lt_prog_compiler_pic='-KPIC'
8253
lt_prog_compiler_static='-Bstatic'
8254
lt_prog_compiler_wl='-Qoption ld '
8258
lt_prog_compiler_pic='-KPIC'
8259
lt_prog_compiler_static='-Bstatic'
8260
lt_prog_compiler_wl='-Wl,'
8262
*Intel*\ [CF]*Compiler*)
8263
lt_prog_compiler_wl='-Wl,'
8264
lt_prog_compiler_pic='-fPIC'
8265
lt_prog_compiler_static='-static'
8268
lt_prog_compiler_wl='-Wl,'
8269
lt_prog_compiler_pic='-fpic'
8270
lt_prog_compiler_static='-Bstatic'
8278
lt_prog_compiler_pic='-KPIC'
8279
lt_prog_compiler_static='-Bstatic'
8283
# QNX uses GNU C++, but need to define -shared option too, otherwise
8285
lt_prog_compiler_pic='-fPIC -shared'
8288
osf3* | osf4* | osf5*)
8289
lt_prog_compiler_wl='-Wl,'
8290
# All OSF/1 code is PIC.
8291
lt_prog_compiler_static='-non_shared'
8295
lt_prog_compiler_static='-non_shared'
8299
lt_prog_compiler_pic='-KPIC'
8300
lt_prog_compiler_static='-Bstatic'
8301
case $cc_basename in
8302
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8303
lt_prog_compiler_wl='-Qoption ld ';;
8305
lt_prog_compiler_wl='-Wl,';;
8310
lt_prog_compiler_wl='-Qoption ld '
8311
lt_prog_compiler_pic='-PIC'
8312
lt_prog_compiler_static='-Bstatic'
8315
sysv4 | sysv4.2uw2* | sysv4.3*)
8316
lt_prog_compiler_wl='-Wl,'
8317
lt_prog_compiler_pic='-KPIC'
8318
lt_prog_compiler_static='-Bstatic'
8322
if test -d /usr/nec ;then
8323
lt_prog_compiler_pic='-Kconform_pic'
8324
lt_prog_compiler_static='-Bstatic'
8328
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8329
lt_prog_compiler_wl='-Wl,'
8330
lt_prog_compiler_pic='-KPIC'
8331
lt_prog_compiler_static='-Bstatic'
8335
lt_prog_compiler_wl='-Wl,'
8336
lt_prog_compiler_can_build_shared=no
8340
lt_prog_compiler_pic='-pic'
8341
lt_prog_compiler_static='-Bstatic'
8345
lt_prog_compiler_can_build_shared=no
8351
# For platforms which do not support PIC, -DPIC is meaningless:
8353
lt_prog_compiler_pic=
8356
lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8360
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8361
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8362
if ${lt_cv_prog_compiler_pic+:} false; then :
8363
$as_echo_n "(cached) " >&6
8365
lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8367
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8368
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8369
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8372
# Check to make sure the PIC flag actually works.
8374
if test -n "$lt_prog_compiler_pic"; then
8375
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8376
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8377
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8378
$as_echo_n "(cached) " >&6
8380
lt_cv_prog_compiler_pic_works=no
8381
ac_outfile=conftest.$ac_objext
8382
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8383
lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8384
# Insert the option either (1) after the last *FLAGS variable, or
8385
# (2) before a word containing "conftest.", or (3) at the end.
8386
# Note that $ac_compile itself does not contain backslashes and begins
8387
# with a dollar sign (not a hyphen), so the echo should work correctly.
8388
# The option is referenced via a variable to avoid confusing sed.
8389
lt_compile=`echo "$ac_compile" | $SED \
8390
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8391
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8392
-e 's:$: $lt_compiler_flag:'`
8393
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8394
(eval "$lt_compile" 2>conftest.err)
8396
cat conftest.err >&5
8397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398
if (exit $ac_status) && test -s "$ac_outfile"; then
8399
# The compiler can only warn and ignore the option if not recognized
8400
# So say no if there are warnings other than the usual output.
8401
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8402
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8403
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8404
lt_cv_prog_compiler_pic_works=yes
8410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8411
$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8413
if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8414
case $lt_prog_compiler_pic in
8416
*) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8419
lt_prog_compiler_pic=
8420
lt_prog_compiler_can_build_shared=no
8436
# Check to make sure the static flag actually works.
8438
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8439
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8440
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8441
if ${lt_cv_prog_compiler_static_works+:} false; then :
8442
$as_echo_n "(cached) " >&6
8444
lt_cv_prog_compiler_static_works=no
8445
save_LDFLAGS="$LDFLAGS"
8446
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8447
echo "$lt_simple_link_test_code" > conftest.$ac_ext
8448
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8449
# The linker can only warn and ignore the option if not recognized
8450
# So say no if there are warnings
8451
if test -s conftest.err; then
8452
# Append any errors to the config.log.
8453
cat conftest.err 1>&5
8454
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8455
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8456
if diff conftest.exp conftest.er2 >/dev/null; then
8457
lt_cv_prog_compiler_static_works=yes
8460
lt_cv_prog_compiler_static_works=yes
8464
LDFLAGS="$save_LDFLAGS"
8467
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8468
$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8470
if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8473
lt_prog_compiler_static=
8482
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8483
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8484
if ${lt_cv_prog_compiler_c_o+:} false; then :
8485
$as_echo_n "(cached) " >&6
8487
lt_cv_prog_compiler_c_o=no
8488
$RM -r conftest 2>/dev/null
8492
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494
lt_compiler_flag="-o out/conftest2.$ac_objext"
8495
# Insert the option either (1) after the last *FLAGS variable, or
8496
# (2) before a word containing "conftest.", or (3) at the end.
8497
# Note that $ac_compile itself does not contain backslashes and begins
8498
# with a dollar sign (not a hyphen), so the echo should work correctly.
8499
lt_compile=`echo "$ac_compile" | $SED \
8500
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8501
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8502
-e 's:$: $lt_compiler_flag:'`
8503
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8504
(eval "$lt_compile" 2>out/conftest.err)
8506
cat out/conftest.err >&5
8507
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8510
# The compiler can only warn and ignore the option if not recognized
8511
# So say no if there are warnings
8512
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8513
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8514
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8515
lt_cv_prog_compiler_c_o=yes
8520
# SGI C++ compiler will create directory out/ii_files/ for
8521
# template instantiation
8522
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8523
$RM out/* && rmdir out
8529
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8530
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8538
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8539
if ${lt_cv_prog_compiler_c_o+:} false; then :
8540
$as_echo_n "(cached) " >&6
8542
lt_cv_prog_compiler_c_o=no
8543
$RM -r conftest 2>/dev/null
8547
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8549
lt_compiler_flag="-o out/conftest2.$ac_objext"
8550
# Insert the option either (1) after the last *FLAGS variable, or
8551
# (2) before a word containing "conftest.", or (3) at the end.
8552
# Note that $ac_compile itself does not contain backslashes and begins
8553
# with a dollar sign (not a hyphen), so the echo should work correctly.
8554
lt_compile=`echo "$ac_compile" | $SED \
8555
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8556
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8557
-e 's:$: $lt_compiler_flag:'`
8558
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8559
(eval "$lt_compile" 2>out/conftest.err)
8561
cat out/conftest.err >&5
8562
echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8565
# The compiler can only warn and ignore the option if not recognized
8566
# So say no if there are warnings
8567
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8568
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8569
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8570
lt_cv_prog_compiler_c_o=yes
8575
# SGI C++ compiler will create directory out/ii_files/ for
8576
# template instantiation
8577
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8578
$RM out/* && rmdir out
8584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8585
$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8590
hard_links="nottested"
8591
if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8592
# do not overwrite the value of need_locks provided by the user
8593
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8594
$as_echo_n "checking if we can lock with hard links... " >&6; }
8597
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8599
ln conftest.a conftest.b 2>&5 || hard_links=no
8600
ln conftest.a conftest.b 2>/dev/null && hard_links=no
8601
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8602
$as_echo "$hard_links" >&6; }
8603
if test "$hard_links" = no; then
8604
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8605
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8617
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8618
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8621
allow_undefined_flag=
8622
always_export_symbols=no
8624
archive_expsym_cmds=
8625
compiler_needs_object=no
8626
enable_shared_with_static_runtimes=no
8627
export_dynamic_flag_spec=
8628
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8629
hardcode_automatic=no
8631
hardcode_direct_absolute=no
8632
hardcode_libdir_flag_spec=
8633
hardcode_libdir_separator=
8635
hardcode_shlibpath_var=unsupported
8637
link_all_deplibs=unknown
8640
old_archive_from_new_cmds=
8641
old_archive_from_expsyms_cmds=
8642
thread_safe_flag_spec=
8643
whole_archive_flag_spec=
8644
# include_expsyms should be a list of space-separated symbols to be *always*
8645
# included in the symbol list
8647
# exclude_expsyms can be an extended regexp of symbols to exclude
8648
# it will be wrapped by ` (' and `)$', so one must not match beginning or
8649
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8650
# as well as any symbol that contains `d'.
8651
exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8652
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8653
# platforms (ab)use it in PIC code, but their linkers get confused if
8654
# the symbol is explicitly referenced. Since portable code cannot
8655
# rely on this symbol name, it's probably fine to never include it in
8656
# preloaded symbol tables.
8657
# Exclude shared library initialization/finalization symbols.
8658
extract_expsyms_cmds=
8661
cygwin* | mingw* | pw32* | cegcc*)
8662
# FIXME: the MSVC++ port hasn't been tested in a loooong time
8663
# When not using gcc, we currently assume that we are using
8664
# Microsoft Visual C++.
8665
if test "$GCC" != yes; then
8670
# we just hope/assume this is gcc and not c89 (= MSVC++)
8676
linux* | k*bsd*-gnu | gnu*)
8683
# On some targets, GNU ld is compatible enough with the native linker
8684
# that we're better off using the native interface for both.
8685
lt_use_gnu_ld_interface=no
8686
if test "$with_gnu_ld" = yes; then
8689
# The AIX port of GNU ld has always aspired to compatibility
8690
# with the native linker. However, as the warning in the GNU ld
8691
# block says, versions before 2.19.5* couldn't really create working
8692
# shared libraries, regardless of the interface used.
8693
case `$LD -v 2>&1` in
8694
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8695
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8696
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
8698
lt_use_gnu_ld_interface=yes
8703
lt_use_gnu_ld_interface=yes
8708
if test "$lt_use_gnu_ld_interface" = yes; then
8709
# If archive_cmds runs LD, not CC, wlarc should be empty
8712
# Set some defaults for GNU ld with shared library support. These
8713
# are reset later if shared libraries are not supported. Putting them
8714
# here allows them to be overridden if necessary.
8715
runpath_var=LD_RUN_PATH
8716
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8717
export_dynamic_flag_spec='${wl}--export-dynamic'
8718
# ancient GNU ld didn't support --whole-archive et. al.
8719
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8720
whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8722
whole_archive_flag_spec=
8724
supports_anon_versioning=no
8725
case `$LD -v 2>&1` in
8726
*GNU\ gold*) supports_anon_versioning=yes ;;
8727
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8728
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8729
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8730
*\ 2.11.*) ;; # other 2.11 versions
8731
*) supports_anon_versioning=yes ;;
8734
# See if GNU ld supports shared libraries.
8737
# On AIX/PPC, the GNU linker is very broken
8738
if test "$host_cpu" != ia64; then
8742
*** Warning: the GNU linker, at least up to release 2.19, is reported
8743
*** to be unable to reliably create shared libraries on AIX.
8744
*** Therefore, libtool is disabling shared libraries support. If you
8745
*** really care for shared libraries, you may want to install binutils
8746
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8747
*** You will then need to restart the configuration process.
8756
# see comment about AmigaOS4 .so support
8757
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8758
archive_expsym_cmds=''
8761
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)'
8762
hardcode_libdir_flag_spec='-L$libdir'
8763
hardcode_minus_L=yes
8769
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8770
allow_undefined_flag=unsupported
8771
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8772
# support --undefined. This deserves some investigation. FIXME
8773
archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8779
cygwin* | mingw* | pw32* | cegcc*)
8780
# _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8781
# as there is no search path for DLLs.
8782
hardcode_libdir_flag_spec='-L$libdir'
8783
export_dynamic_flag_spec='${wl}--export-all-symbols'
8784
allow_undefined_flag=unsupported
8785
always_export_symbols=no
8786
enable_shared_with_static_runtimes=yes
8787
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'
8788
exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8790
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8791
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8792
# If the export-symbols file already is a .def file (1st line
8793
# is EXPORTS), use it as is; otherwise, prepend...
8794
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8795
cp $export_symbols $output_objdir/$soname.def;
8797
echo EXPORTS > $output_objdir/$soname.def;
8798
cat $export_symbols >> $output_objdir/$soname.def;
8800
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8807
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8808
link_all_deplibs=yes
8813
hardcode_shlibpath_var=no
8814
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8815
export_dynamic_flag_spec='${wl}-E'
8816
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8817
# Instead, shared libraries are loaded at an image base (0x10000000 by
8818
# default) and relocated if they conflict, which is a slow very memory
8819
# consuming and fragmenting process. To avoid this, we pick a random,
8820
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8821
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
8822
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8823
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'
8826
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8828
if test "$host_os" = linux-dietlibc; then
8829
case $cc_basename in
8830
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8833
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8834
&& test "$tmp_diet" = no
8836
tmp_addflag=' $pic_flag'
8837
tmp_sharedflag='-shared'
8838
case $cc_basename,$host_cpu in
8839
pgcc*) # Portland Group C compiler
8840
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'
8841
tmp_addflag=' $pic_flag'
8843
pgf77* | pgf90* | pgf95* | pgfortran*)
8844
# Portland Group f77 and f90 compilers
8845
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'
8846
tmp_addflag=' $pic_flag -Mnomain' ;;
8847
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8848
tmp_addflag=' -i_dynamic' ;;
8849
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8850
tmp_addflag=' -i_dynamic -nofor_main' ;;
8851
ifc* | ifort*) # Intel Fortran compiler
8852
tmp_addflag=' -nofor_main' ;;
8853
lf95*) # Lahey Fortran 8.1
8854
whole_archive_flag_spec=
8855
tmp_sharedflag='--shared' ;;
8856
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8857
tmp_sharedflag='-qmkshrobj'
8859
nvcc*) # Cuda Compiler Driver 2.2
8860
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'
8861
compiler_needs_object=yes
8864
case `$CC -V 2>&1 | sed 5q` in
8865
*Sun\ C*) # Sun C 5.9
8866
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'
8867
compiler_needs_object=yes
8868
tmp_sharedflag='-G' ;;
8869
*Sun\ F*) # Sun Fortran 8.3
8870
tmp_sharedflag='-G' ;;
8872
archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8874
if test "x$supports_anon_versioning" = xyes; then
8875
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8876
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8877
echo "local: *; };" >> $output_objdir/$libname.ver~
8878
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8881
case $cc_basename in
8882
xlf* | bgf* | bgxlf* | mpixlf*)
8883
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8884
whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8885
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8886
archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8887
if test "x$supports_anon_versioning" = xyes; then
8888
archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8889
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8890
echo "local: *; };" >> $output_objdir/$libname.ver~
8891
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8900
netbsd* | netbsdelf*-gnu)
8901
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8902
archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8905
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8906
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8911
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8915
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8916
*** create shared libraries on Solaris systems. Therefore, libtool
8917
*** is disabling shared libraries support. We urge you to upgrade GNU
8918
*** binutils to release 2.9.1 or newer. Another option is to modify
8919
*** your PATH or compiler configuration so that the native linker is
8920
*** used, and then restart.
8923
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8924
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8925
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8931
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8932
case `$LD -v 2>&1` in
8933
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8937
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8938
*** reliably create shared libraries on SCO systems. Therefore, libtool
8939
*** is disabling shared libraries support. We urge you to upgrade GNU
8940
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8941
*** your PATH or compiler configuration so that the native linker is
8942
*** used, and then restart.
8947
# For security reasons, it is highly recommended that you always
8948
# use absolute paths for naming shared libraries, and exclude the
8949
# DT_RUNPATH tag from executables and libraries. But doing so
8950
# requires that you compile everything twice, which is a pain.
8951
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8952
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8953
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8954
archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8963
archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8966
hardcode_shlibpath_var=no
8970
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8971
archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8972
archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8979
if test "$ld_shlibs" = no; then
8981
hardcode_libdir_flag_spec=
8982
export_dynamic_flag_spec=
8983
whole_archive_flag_spec=
8986
# PORTME fill in a description of your system's linker (not GNU ld)
8989
allow_undefined_flag=unsupported
8990
always_export_symbols=yes
8991
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'
8992
# Note: this linker hardcodes the directories in LIBPATH if there
8993
# are no directories specified by -L.
8994
hardcode_minus_L=yes
8995
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8996
# Neither direct hardcoding nor static linking is supported with a
8998
hardcode_direct=unsupported
9003
if test "$host_cpu" = ia64; then
9004
# On IA64, the linker does run time linking by default, so we don't
9005
# have to do anything special.
9006
aix_use_runtimelinking=no
9007
exp_sym_flag='-Bexport'
9010
# If we're using GNU nm, then we don't want the "-C" option.
9011
# -C means demangle to AIX nm, but means don't demangle with GNU nm
9012
# Also, AIX nm treats weak defined symbols like other global
9013
# defined symbols, whereas GNU nm marks them as "W".
9014
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9015
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'
9017
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'
9019
aix_use_runtimelinking=no
9021
# Test if we are trying to use run time linking or normal
9022
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9023
# need to do runtime linking.
9024
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9025
for ld_flag in $LDFLAGS; do
9026
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9027
aix_use_runtimelinking=yes
9034
exp_sym_flag='-bexport'
9035
no_entry_flag='-bnoentry'
9038
# When large executables or shared objects are built, AIX ld can
9039
# have problems creating the table of contents. If linking a library
9040
# or program results in "error TOC overflow" add -mminimal-toc to
9041
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9042
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9046
hardcode_direct_absolute=yes
9047
hardcode_libdir_separator=':'
9048
link_all_deplibs=yes
9049
file_list_spec='${wl}-f,'
9051
if test "$GCC" = yes; then
9052
case $host_os in aix4.[012]|aix4.[012].*)
9053
# We only want to do this on AIX 4.2 and lower, the check
9054
# below for broken collect2 doesn't work under 4.3+
9055
collect2name=`${CC} -print-prog-name=collect2`
9056
if test -f "$collect2name" &&
9057
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9059
# We have reworked collect2
9062
# We have old collect2
9063
hardcode_direct=unsupported
9064
# It fails to find uninstalled libraries when the uninstalled
9065
# path is not listed in the libpath. Setting hardcode_minus_L
9066
# to unsupported forces relinking
9067
hardcode_minus_L=yes
9068
hardcode_libdir_flag_spec='-L$libdir'
9069
hardcode_libdir_separator=
9073
shared_flag='-shared'
9074
if test "$aix_use_runtimelinking" = yes; then
9075
shared_flag="$shared_flag "'${wl}-G'
9080
if test "$host_cpu" = ia64; then
9081
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9082
# chokes on -Wl,-G. The following line is correct:
9085
if test "$aix_use_runtimelinking" = yes; then
9086
shared_flag='${wl}-G'
9088
shared_flag='${wl}-bM:SRE'
9093
export_dynamic_flag_spec='${wl}-bexpall'
9094
# It seems that -bexpall does not export symbols beginning with
9095
# underscore (_), so it is better to generate a list of symbols to export.
9096
always_export_symbols=yes
9097
if test "$aix_use_runtimelinking" = yes; then
9098
# Warning - without using the other runtime loading flags (-brtl),
9099
# -berok will link without error, but may produce a broken library.
9100
allow_undefined_flag='-berok'
9101
# Determine the default libpath from the value encoded in an
9103
if test "${lt_cv_aix_libpath+set}" = set; then
9104
aix_libpath=$lt_cv_aix_libpath
9106
if ${lt_cv_aix_libpath_+:} false; then :
9107
$as_echo_n "(cached) " >&6
9109
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9110
/* end confdefs.h. */
9120
if ac_fn_c_try_link "$LINENO"; then :
9122
lt_aix_libpath_sed='
9123
/Import File Strings/,/^$/ {
9125
s/^0 *\([^ ]*\) *$/\1/
9129
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9130
# Check for a 64-bit object if we didn't find anything.
9131
if test -z "$lt_cv_aix_libpath_"; then
9132
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9135
rm -f core conftest.err conftest.$ac_objext \
9136
conftest$ac_exeext conftest.$ac_ext
9137
if test -z "$lt_cv_aix_libpath_"; then
9138
lt_cv_aix_libpath_="/usr/lib:/lib"
9143
aix_libpath=$lt_cv_aix_libpath_
9146
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9147
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"
9149
if test "$host_cpu" = ia64; then
9150
hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9151
allow_undefined_flag="-z nodefs"
9152
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"
9154
# Determine the default libpath from the value encoded in an
9156
if test "${lt_cv_aix_libpath+set}" = set; then
9157
aix_libpath=$lt_cv_aix_libpath
9159
if ${lt_cv_aix_libpath_+:} false; then :
9160
$as_echo_n "(cached) " >&6
9162
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163
/* end confdefs.h. */
9173
if ac_fn_c_try_link "$LINENO"; then :
9175
lt_aix_libpath_sed='
9176
/Import File Strings/,/^$/ {
9178
s/^0 *\([^ ]*\) *$/\1/
9182
lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9183
# Check for a 64-bit object if we didn't find anything.
9184
if test -z "$lt_cv_aix_libpath_"; then
9185
lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9188
rm -f core conftest.err conftest.$ac_objext \
9189
conftest$ac_exeext conftest.$ac_ext
9190
if test -z "$lt_cv_aix_libpath_"; then
9191
lt_cv_aix_libpath_="/usr/lib:/lib"
9196
aix_libpath=$lt_cv_aix_libpath_
9199
hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9200
# Warning - without using the other run time loading flags,
9201
# -berok will link without error, but may produce a broken library.
9202
no_undefined_flag=' ${wl}-bernotok'
9203
allow_undefined_flag=' ${wl}-berok'
9204
if test "$with_gnu_ld" = yes; then
9205
# We only use this code for GNU lds that support --whole-archive.
9206
whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9208
# Exported symbols can be pulled into shared objects from archives
9209
whole_archive_flag_spec='$convenience'
9211
archive_cmds_need_lc=yes
9212
# This is similar to how AIX traditionally builds its shared libraries.
9213
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'
9221
# see comment about AmigaOS4 .so support
9222
archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9223
archive_expsym_cmds=''
9226
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)'
9227
hardcode_libdir_flag_spec='-L$libdir'
9228
hardcode_minus_L=yes
9234
export_dynamic_flag_spec=-rdynamic
9237
cygwin* | mingw* | pw32* | cegcc*)
9238
# When not using gcc, we currently assume that we are using
9239
# Microsoft Visual C++.
9240
# hardcode_libdir_flag_spec is actually meaningless, as there is
9241
# no search path for DLLs.
9242
case $cc_basename in
9245
hardcode_libdir_flag_spec=' '
9246
allow_undefined_flag=unsupported
9247
always_export_symbols=yes
9249
# Tell ltmain to make .lib files, not .a files.
9251
# Tell ltmain to make .dll files, not .so files.
9253
# FIXME: Setting linknames here is a bad hack.
9254
archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9255
archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9258
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9260
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9262
# The linker will not automatically build a static lib if we build a DLL.
9263
# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9264
enable_shared_with_static_runtimes=yes
9265
exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9266
export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9268
old_postinstall_cmds='chmod 644 $oldlib'
9269
postlink_cmds='lt_outputfile="@OUTPUT@"~
9270
lt_tool_outputfile="@TOOL_OUTPUT@"~
9271
case $lt_outputfile in
9274
lt_outputfile="$lt_outputfile.exe"
9275
lt_tool_outputfile="$lt_tool_outputfile.exe"
9278
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9279
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9280
$RM "$lt_outputfile.manifest";
9284
# Assume MSVC wrapper
9285
hardcode_libdir_flag_spec=' '
9286
allow_undefined_flag=unsupported
9287
# Tell ltmain to make .lib files, not .a files.
9289
# Tell ltmain to make .dll files, not .so files.
9291
# FIXME: Setting linknames here is a bad hack.
9292
archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9293
# The linker will automatically build a .lib file if we build a DLL.
9294
old_archive_from_new_cmds='true'
9295
# FIXME: Should let the user specify the lib program.
9296
old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9297
enable_shared_with_static_runtimes=yes
9302
darwin* | rhapsody*)
9305
archive_cmds_need_lc=no
9307
hardcode_automatic=yes
9308
hardcode_shlibpath_var=unsupported
9309
if test "$lt_cv_ld_force_load" = "yes"; then
9310
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\"`'
9313
whole_archive_flag_spec=''
9315
link_all_deplibs=yes
9316
allow_undefined_flag="$_lt_dar_allow_undefined"
9317
case $cc_basename in
9318
ifort*) _lt_dar_can_shared=yes ;;
9319
*) _lt_dar_can_shared=$GCC ;;
9321
if test "$_lt_dar_can_shared" = "yes"; then
9322
output_verbose_link_cmd=func_echo_all
9323
archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9324
module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9325
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}"
9326
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}"
9335
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9336
hardcode_libdir_flag_spec='-L$libdir'
9337
hardcode_shlibpath_var=no
9340
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9341
# support. Future versions do this automatically, but an explicit c++rt0.o
9342
# does not break anything, and helps significantly (at the cost of a little
9345
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9346
hardcode_libdir_flag_spec='-R$libdir'
9348
hardcode_shlibpath_var=no
9351
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
9353
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9355
hardcode_minus_L=yes
9356
hardcode_shlibpath_var=no
9359
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9360
freebsd* | dragonfly*)
9361
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9362
hardcode_libdir_flag_spec='-R$libdir'
9364
hardcode_shlibpath_var=no
9368
if test "$GCC" = yes; then
9369
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'
9371
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'
9373
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9374
hardcode_libdir_separator=:
9377
# hardcode_minus_L: Not really in the search PATH,
9378
# but as the default location of the library.
9379
hardcode_minus_L=yes
9380
export_dynamic_flag_spec='${wl}-E'
9384
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9385
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9387
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9389
if test "$with_gnu_ld" = no; then
9390
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9391
hardcode_libdir_separator=:
9393
hardcode_direct_absolute=yes
9394
export_dynamic_flag_spec='${wl}-E'
9395
# hardcode_minus_L: Not really in the search PATH,
9396
# but as the default location of the library.
9397
hardcode_minus_L=yes
9402
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9405
archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9408
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9411
archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9417
archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9420
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9424
# Older versions of the 11.00 compiler do not understand -b yet
9425
# (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9427
$as_echo_n "checking if $CC understands -b... " >&6; }
9428
if ${lt_cv_prog_compiler__b+:} false; then :
9429
$as_echo_n "(cached) " >&6
9431
lt_cv_prog_compiler__b=no
9432
save_LDFLAGS="$LDFLAGS"
9433
LDFLAGS="$LDFLAGS -b"
9434
echo "$lt_simple_link_test_code" > conftest.$ac_ext
9435
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9436
# The linker can only warn and ignore the option if not recognized
9437
# So say no if there are warnings
9438
if test -s conftest.err; then
9439
# Append any errors to the config.log.
9440
cat conftest.err 1>&5
9441
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9442
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9443
if diff conftest.exp conftest.er2 >/dev/null; then
9444
lt_cv_prog_compiler__b=yes
9447
lt_cv_prog_compiler__b=yes
9451
LDFLAGS="$save_LDFLAGS"
9454
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9455
$as_echo "$lt_cv_prog_compiler__b" >&6; }
9457
if test x"$lt_cv_prog_compiler__b" = xyes; then
9458
archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9460
archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9466
if test "$with_gnu_ld" = no; then
9467
hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9468
hardcode_libdir_separator=:
9473
hardcode_shlibpath_var=no
9477
hardcode_direct_absolute=yes
9478
export_dynamic_flag_spec='${wl}-E'
9480
# hardcode_minus_L: Not really in the search PATH,
9481
# but as the default location of the library.
9482
hardcode_minus_L=yes
9488
irix5* | irix6* | nonstopux*)
9489
if test "$GCC" = yes; then
9490
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'
9491
# Try to use the -exported_symbol ld option, if it does not
9492
# work, assume that -exports_file does not work either and
9493
# implicitly export all symbols.
9494
# This should be the same for all languages, so no per-tag cache variable.
9495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9496
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9497
if ${lt_cv_irix_exported_symbol+:} false; then :
9498
$as_echo_n "(cached) " >&6
9500
save_LDFLAGS="$LDFLAGS"
9501
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9502
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503
/* end confdefs.h. */
9504
int foo (void) { return 0; }
9506
if ac_fn_c_try_link "$LINENO"; then :
9507
lt_cv_irix_exported_symbol=yes
9509
lt_cv_irix_exported_symbol=no
9511
rm -f core conftest.err conftest.$ac_objext \
9512
conftest$ac_exeext conftest.$ac_ext
9513
LDFLAGS="$save_LDFLAGS"
9515
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9516
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9517
if test "$lt_cv_irix_exported_symbol" = yes; then
9518
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'
9521
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'
9522
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'
9524
archive_cmds_need_lc='no'
9525
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9526
hardcode_libdir_separator=:
9528
link_all_deplibs=yes
9531
netbsd* | netbsdelf*-gnu)
9532
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9533
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9535
archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9537
hardcode_libdir_flag_spec='-R$libdir'
9539
hardcode_shlibpath_var=no
9543
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9545
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9546
hardcode_libdir_separator=:
9547
hardcode_shlibpath_var=no
9554
if test -f /usr/libexec/ld.so; then
9556
hardcode_shlibpath_var=no
9557
hardcode_direct_absolute=yes
9558
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9559
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9560
archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9561
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9562
export_dynamic_flag_spec='${wl}-E'
9565
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9566
archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9567
hardcode_libdir_flag_spec='-R$libdir'
9570
archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9571
hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9581
hardcode_libdir_flag_spec='-L$libdir'
9582
hardcode_minus_L=yes
9583
allow_undefined_flag=unsupported
9584
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'
9585
old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9589
if test "$GCC" = yes; then
9590
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9591
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'
9593
allow_undefined_flag=' -expect_unresolved \*'
9594
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'
9596
archive_cmds_need_lc='no'
9597
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9598
hardcode_libdir_separator=:
9601
osf4* | osf5*) # as osf3* with the addition of -msym flag
9602
if test "$GCC" = yes; then
9603
allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9604
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'
9605
hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9607
allow_undefined_flag=' -expect_unresolved \*'
9608
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'
9609
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~
9610
$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'
9612
# Both c and cxx compiler support -rpath directly
9613
hardcode_libdir_flag_spec='-rpath $libdir'
9615
archive_cmds_need_lc='no'
9616
hardcode_libdir_separator=:
9620
no_undefined_flag=' -z defs'
9621
if test "$GCC" = yes; then
9623
archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9624
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9625
$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'
9627
case `$CC -V 2>&1` in
9630
archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9631
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9632
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9636
archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9637
archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9638
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9642
hardcode_libdir_flag_spec='-R$libdir'
9643
hardcode_shlibpath_var=no
9645
solaris2.[0-5] | solaris2.[0-5].*) ;;
9647
# The compiler driver will combine and reorder linker options,
9648
# but understands `-z linker_flag'. GCC discards it without `$wl',
9649
# but is careful enough not to reorder.
9650
# Supported since Solaris 2.6 (maybe 2.5.1?)
9651
if test "$GCC" = yes; then
9652
whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9654
whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9658
link_all_deplibs=yes
9662
if test "x$host_vendor" = xsequent; then
9663
# Use $CC to link under sequent, because it throws in some extra .o
9664
# files that make .init and .fini sections work.
9665
archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9667
archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9669
hardcode_libdir_flag_spec='-L$libdir'
9671
hardcode_minus_L=yes
9672
hardcode_shlibpath_var=no
9676
case $host_vendor in
9678
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9679
hardcode_direct=yes # is this really true???
9682
## LD is ld it makes a PLAMLIB
9683
## CC just makes a GrossModule.
9684
archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9685
reload_cmds='$CC -r -o $output$reload_objs'
9689
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9690
hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9693
runpath_var='LD_RUN_PATH'
9694
hardcode_shlibpath_var=no
9698
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9699
hardcode_shlibpath_var=no
9700
export_dynamic_flag_spec='-Bexport'
9704
if test -d /usr/nec; then
9705
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9706
hardcode_shlibpath_var=no
9707
runpath_var=LD_RUN_PATH
9708
hardcode_runpath_var=yes
9713
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9714
no_undefined_flag='${wl}-z,text'
9715
archive_cmds_need_lc=no
9716
hardcode_shlibpath_var=no
9717
runpath_var='LD_RUN_PATH'
9719
if test "$GCC" = yes; then
9720
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9721
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9723
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9724
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9728
sysv5* | sco3.2v5* | sco5v6*)
9729
# Note: We can NOT use -z defs as we might desire, because we do not
9730
# link with -lc, and that would cause any symbols used from libc to
9731
# always be unresolved, which means just about no library would
9732
# ever link correctly. If we're not using GNU ld we use -z text
9733
# though, which does catch some bad symbols but isn't as heavy-handed
9735
no_undefined_flag='${wl}-z,text'
9736
allow_undefined_flag='${wl}-z,nodefs'
9737
archive_cmds_need_lc=no
9738
hardcode_shlibpath_var=no
9739
hardcode_libdir_flag_spec='${wl}-R,$libdir'
9740
hardcode_libdir_separator=':'
9741
link_all_deplibs=yes
9742
export_dynamic_flag_spec='${wl}-Bexport'
9743
runpath_var='LD_RUN_PATH'
9745
if test "$GCC" = yes; then
9746
archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9747
archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9749
archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9750
archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9755
archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9756
hardcode_libdir_flag_spec='-L$libdir'
9757
hardcode_shlibpath_var=no
9765
if test x$host_vendor = xsni; then
9767
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9768
export_dynamic_flag_spec='${wl}-Blargedynsym'
9774
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9775
$as_echo "$ld_shlibs" >&6; }
9776
test "$ld_shlibs" = no && can_build_shared=no
9778
with_gnu_ld=$with_gnu_ld
9795
# Do we need to explicitly link libc?
9797
case "x$archive_cmds_need_lc" in
9799
# Assume -lc should be added
9800
archive_cmds_need_lc=yes
9802
if test "$enable_shared" = yes && test "$GCC" = yes; then
9803
case $archive_cmds in
9805
# FIXME: we may have to deal with multi-command sequences.
9808
# Test whether the compiler implicitly links with -lc since on some
9809
# systems, -lgcc has to come before -lc. If gcc already passes -lc
9810
# to ld, don't add -lc before -lgcc.
9811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9812
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9813
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9814
$as_echo_n "(cached) " >&6
9817
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9819
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9820
(eval $ac_compile) 2>&5
9822
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9823
test $ac_status = 0; } 2>conftest.err; then
9826
libobjs=conftest.$ac_objext
9828
wl=$lt_prog_compiler_wl
9829
pic_flag=$lt_prog_compiler_pic
9835
lt_save_allow_undefined_flag=$allow_undefined_flag
9836
allow_undefined_flag=
9837
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9838
(eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9840
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9841
test $ac_status = 0; }
9843
lt_cv_archive_cmds_need_lc=no
9845
lt_cv_archive_cmds_need_lc=yes
9847
allow_undefined_flag=$lt_save_allow_undefined_flag
9849
cat conftest.err 1>&5
9854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9855
$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9856
archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10014
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10015
$as_echo_n "checking dynamic linker characteristics... " >&6; }
10017
if test "$GCC" = yes; then
10019
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10020
*) lt_awk_arg="/^libraries:/" ;;
10023
mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10024
*) lt_sed_strip_eq="s,=/,/,g" ;;
10026
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10027
case $lt_search_path_spec in
10029
# if the path contains ";" then we assume it to be the separator
10030
# otherwise default to the standard path separator (i.e. ":") - it is
10031
# assumed that no part of a normal pathname contains ";" but that should
10032
# okay in the real world where ";" in dirpaths is itself problematic.
10033
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10036
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10039
# Ok, now we have the path, separated by spaces, we can step through it
10040
# and add multilib dir if necessary.
10041
lt_tmp_lt_search_path_spec=
10042
lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10043
for lt_sys_path in $lt_search_path_spec; do
10044
if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10045
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10047
test -d "$lt_sys_path" && \
10048
lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10051
lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10052
BEGIN {RS=" "; FS="/|\n";} {
10055
for (lt_i = NF; lt_i > 0; lt_i--) {
10056
if ($lt_i != "" && $lt_i != ".") {
10057
if ($lt_i == "..") {
10060
if (lt_count == 0) {
10061
lt_foo="/" $lt_i lt_foo;
10068
if (lt_foo != "") { lt_freq[lt_foo]++; }
10069
if (lt_freq[lt_foo] == 1) { print lt_foo; }
10071
# AWK program above erroneously prepends '/' to C:/dos/paths
10074
mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10075
$SED 's,/\([A-Za-z]:\),\1,g'` ;;
10077
sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10079
sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10081
library_names_spec=
10082
libname_spec='lib$name'
10086
postuninstall_cmds=
10090
shlibpath_overrides_runpath=unknown
10092
dynamic_linker="$host_os ld.so"
10093
sys_lib_dlsearch_path_spec="/lib /usr/lib"
10094
need_lib_prefix=unknown
10095
hardcode_into_libs=no
10097
# when you set need_version to no, make sure it does not cause -set_version
10098
# flags to be left without arguments
10099
need_version=unknown
10103
version_type=linux # correct to gnu/linux during the next big refactor
10104
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10105
shlibpath_var=LIBPATH
10107
# AIX 3 has no versioning support, so we append a major version to the name.
10108
soname_spec='${libname}${release}${shared_ext}$major'
10112
version_type=linux # correct to gnu/linux during the next big refactor
10115
hardcode_into_libs=yes
10116
if test "$host_cpu" = ia64; then
10117
# AIX 5 supports IA64
10118
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10119
shlibpath_var=LD_LIBRARY_PATH
10121
# With GCC up to 2.95.x, collect2 would create an import file
10122
# for dependence libraries. The import file would start with
10123
# the line `#! .'. This would cause the generated library to
10124
# depend on `.', always an invalid library. This was fixed in
10125
# development snapshots of GCC prior to 3.0.
10127
aix4 | aix4.[01] | aix4.[01].*)
10128
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10130
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10133
can_build_shared=no
10137
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10138
# soname into executable. Probably we can add versioning support to
10139
# collect2, so additional links can be useful in future.
10140
if test "$aix_use_runtimelinking" = yes; then
10141
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
10142
# instead of lib<name>.a to let people know that these are not
10143
# typical AIX shared libraries.
10144
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10146
# We preserve .a as extension for shared libraries through AIX4.2
10147
# and later when we are not doing run time linking.
10148
library_names_spec='${libname}${release}.a $libname.a'
10149
soname_spec='${libname}${release}${shared_ext}$major'
10151
shlibpath_var=LIBPATH
10158
# Since July 2007 AmigaOS4 officially supports .so libraries.
10159
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10160
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10163
library_names_spec='$libname.ixlibrary $libname.a'
10164
# Create ${libname}_ixlibrary.a entries in /sys/libs.
10165
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'
10171
library_names_spec='${libname}${shared_ext}'
10172
dynamic_linker="$host_os ld.so"
10173
shlibpath_var=LIBRARY_PATH
10177
version_type=linux # correct to gnu/linux during the next big refactor
10179
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10180
soname_spec='${libname}${release}${shared_ext}$major'
10181
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10182
shlibpath_var=LD_LIBRARY_PATH
10183
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10184
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10185
# the default ld.so.conf also contains /usr/contrib/lib and
10186
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10187
# libtool to hard-code these into programs
10190
cygwin* | mingw* | pw32* | cegcc*)
10191
version_type=windows
10196
case $GCC,$cc_basename in
10199
library_names_spec='$libname.dll.a'
10200
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10201
postinstall_cmds='base_file=`basename \${file}`~
10202
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10203
dldir=$destdir/`dirname \$dlpath`~
10204
test -d \$dldir || mkdir -p \$dldir~
10205
$install_prog $dir/$dlname \$dldir/$dlname~
10206
chmod a+x \$dldir/$dlname~
10207
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10208
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10210
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10211
dlpath=$dir/\$dldll~
10213
shlibpath_overrides_runpath=yes
10217
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
10218
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10220
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10223
# MinGW DLLs use traditional 'lib' prefix
10224
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10227
# pw32 DLLs use 'pw' prefix rather than 'lib'
10228
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10231
dynamic_linker='Win32 ld.exe'
10236
libname_spec='$name'
10237
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10238
library_names_spec='${libname}.dll.lib'
10242
sys_lib_search_path_spec=
10245
for lt_path in $LIB
10248
# Let DOS variable expansion print the short 8.3 style file name.
10249
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10250
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10253
# Convert to MSYS style.
10254
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10257
# Convert to unix form, then to dos form, then back to unix form
10258
# but this time dos style (no spaces!) so that the unix form looks
10259
# like /cygdrive/c/PROGRA~1:/cygdr...
10260
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10261
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10262
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10265
sys_lib_search_path_spec="$LIB"
10266
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10267
# It is most probably a Windows format PATH.
10268
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10270
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10272
# FIXME: find the short name or the path components, as spaces are
10273
# common. (e.g. "Program Files" -> "PROGRA~1")
10277
# DLL is installed to $(libdir)/../bin by postinstall_cmds
10278
postinstall_cmds='base_file=`basename \${file}`~
10279
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10280
dldir=$destdir/`dirname \$dlpath`~
10281
test -d \$dldir || mkdir -p \$dldir~
10282
$install_prog $dir/$dlname \$dldir/$dlname'
10283
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10284
dlpath=$dir/\$dldll~
10286
shlibpath_overrides_runpath=yes
10287
dynamic_linker='Win32 link.exe'
10291
# Assume MSVC wrapper
10292
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10293
dynamic_linker='Win32 ld.exe'
10296
# FIXME: first we should search . and the directory the executable is in
10300
darwin* | rhapsody*)
10301
dynamic_linker="$host_os dyld"
10302
version_type=darwin
10305
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10306
soname_spec='${libname}${release}${major}$shared_ext'
10307
shlibpath_overrides_runpath=yes
10308
shlibpath_var=DYLD_LIBRARY_PATH
10309
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10311
sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10312
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10316
version_type=linux # correct to gnu/linux during the next big refactor
10319
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10320
soname_spec='${libname}${release}${shared_ext}$major'
10321
shlibpath_var=LD_LIBRARY_PATH
10324
freebsd* | dragonfly*)
10325
# DragonFly does not have aout. When/if they implement a new
10326
# versioning mechanism, adjust this.
10327
if test -x /usr/bin/objformat; then
10328
objformat=`/usr/bin/objformat`
10331
freebsd[23].*) objformat=aout ;;
10332
*) objformat=elf ;;
10335
version_type=freebsd-$objformat
10336
case $version_type in
10338
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10343
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10347
shlibpath_var=LD_LIBRARY_PATH
10350
shlibpath_overrides_runpath=yes
10352
freebsd3.[01]* | freebsdelf3.[01]*)
10353
shlibpath_overrides_runpath=yes
10354
hardcode_into_libs=yes
10356
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10357
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10358
shlibpath_overrides_runpath=no
10359
hardcode_into_libs=yes
10361
*) # from 4.6 on, and DragonFly
10362
shlibpath_overrides_runpath=yes
10363
hardcode_into_libs=yes
10369
version_type=linux # correct to gnu/linux during the next big refactor
10372
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10373
soname_spec='${libname}${release}${shared_ext}$major'
10374
shlibpath_var=LD_LIBRARY_PATH
10375
shlibpath_overrides_runpath=no
10376
hardcode_into_libs=yes
10380
version_type=linux # correct to gnu/linux during the next big refactor
10383
dynamic_linker="$host_os runtime_loader"
10384
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10385
soname_spec='${libname}${release}${shared_ext}$major'
10386
shlibpath_var=LIBRARY_PATH
10387
shlibpath_overrides_runpath=yes
10388
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10389
hardcode_into_libs=yes
10392
hpux9* | hpux10* | hpux11*)
10393
# Give a soname corresponding to the major version so that dld.sl refuses to
10394
# link against other versions.
10401
hardcode_into_libs=yes
10402
dynamic_linker="$host_os dld.so"
10403
shlibpath_var=LD_LIBRARY_PATH
10404
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10405
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10406
soname_spec='${libname}${release}${shared_ext}$major'
10407
if test "X$HPUX_IA64_MODE" = X32; then
10408
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10410
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10412
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10416
hardcode_into_libs=yes
10417
dynamic_linker="$host_os dld.sl"
10418
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10419
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10420
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10421
soname_spec='${libname}${release}${shared_ext}$major'
10422
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10423
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10427
dynamic_linker="$host_os dld.sl"
10428
shlibpath_var=SHLIB_PATH
10429
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10430
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431
soname_spec='${libname}${release}${shared_ext}$major'
10434
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10435
postinstall_cmds='chmod 555 $lib'
10436
# or fails outright, so override atomically:
10437
install_override_mode=555
10441
version_type=linux # correct to gnu/linux during the next big refactor
10444
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10445
soname_spec='${libname}${release}${shared_ext}$major'
10446
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10447
shlibpath_var=LD_LIBRARY_PATH
10448
shlibpath_overrides_runpath=no
10449
hardcode_into_libs=yes
10452
irix5* | irix6* | nonstopux*)
10454
nonstopux*) version_type=nonstopux ;;
10456
if test "$lt_cv_prog_gnu_ld" = yes; then
10457
version_type=linux # correct to gnu/linux during the next big refactor
10464
soname_spec='${libname}${release}${shared_ext}$major'
10465
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10467
irix5* | nonstopux*)
10468
libsuff= shlibsuff=
10471
case $LD in # libtool.m4 will add one of these switches to LD
10472
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10473
libsuff= shlibsuff= libmagic=32-bit;;
10474
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10475
libsuff=32 shlibsuff=N32 libmagic=N32;;
10476
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10477
libsuff=64 shlibsuff=64 libmagic=64-bit;;
10478
*) libsuff= shlibsuff= libmagic=never-match;;
10482
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10483
shlibpath_overrides_runpath=no
10484
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10485
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10486
hardcode_into_libs=yes
10489
# No shared lib support for Linux oldld, aout, or coff.
10490
linux*oldld* | linux*aout* | linux*coff*)
10494
# This must be glibc/ELF.
10495
linux* | k*bsd*-gnu | kopensolaris*-gnu)
10496
version_type=linux # correct to gnu/linux during the next big refactor
10499
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10500
soname_spec='${libname}${release}${shared_ext}$major'
10501
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10502
shlibpath_var=LD_LIBRARY_PATH
10503
shlibpath_overrides_runpath=no
10505
# Some binutils ld are patched to set DT_RUNPATH
10506
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10507
$as_echo_n "(cached) " >&6
10509
lt_cv_shlibpath_overrides_runpath=no
10510
save_LDFLAGS=$LDFLAGS
10511
save_libdir=$libdir
10512
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10513
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10514
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515
/* end confdefs.h. */
10525
if ac_fn_c_try_link "$LINENO"; then :
10526
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10527
lt_cv_shlibpath_overrides_runpath=yes
10530
rm -f core conftest.err conftest.$ac_objext \
10531
conftest$ac_exeext conftest.$ac_ext
10532
LDFLAGS=$save_LDFLAGS
10533
libdir=$save_libdir
10537
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10539
# This implies no fast_install, which is unacceptable.
10540
# Some rework will be needed to allow for fast_install
10541
# before this can be enabled.
10542
hardcode_into_libs=yes
10544
# Append ld.so.conf contents to the search path
10545
if test -f /etc/ld.so.conf; then
10546
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' ' '`
10547
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10550
# We used to test for /lib/ld.so.1 and disable shared libraries on
10551
# powerpc, because MkLinux only supported shared libraries with the
10552
# GNU dynamic linker. Since this was broken with cross compilers,
10553
# most powerpc-linux boxes support dynamic linking these days and
10554
# people can always --disable-shared, the test was removed, and we
10555
# assume the GNU/Linux dynamic linker is in use.
10556
dynamic_linker='GNU/Linux ld.so'
10563
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10564
soname_spec='${libname}${release}${shared_ext}$major'
10565
shlibpath_var=LD_LIBRARY_PATH
10566
shlibpath_overrides_runpath=no
10567
hardcode_into_libs=yes
10568
dynamic_linker='NetBSD ld.elf_so'
10575
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10576
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10577
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10578
dynamic_linker='NetBSD (a.out) ld.so'
10580
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10581
soname_spec='${libname}${release}${shared_ext}$major'
10582
dynamic_linker='NetBSD ld.elf_so'
10584
shlibpath_var=LD_LIBRARY_PATH
10585
shlibpath_overrides_runpath=yes
10586
hardcode_into_libs=yes
10590
version_type=linux # correct to gnu/linux during the next big refactor
10591
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10592
shlibpath_var=LD_LIBRARY_PATH
10593
shlibpath_overrides_runpath=yes
10600
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10601
soname_spec='${libname}${release}${shared_ext}$major'
10602
shlibpath_var=LD_LIBRARY_PATH
10603
shlibpath_overrides_runpath=no
10604
hardcode_into_libs=yes
10605
dynamic_linker='ldqnx.so'
10610
sys_lib_dlsearch_path_spec="/usr/lib"
10612
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10614
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10615
*) need_version=no ;;
10617
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10618
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10619
shlibpath_var=LD_LIBRARY_PATH
10620
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10622
openbsd2.[89] | openbsd2.[89].*)
10623
shlibpath_overrides_runpath=no
10626
shlibpath_overrides_runpath=yes
10630
shlibpath_overrides_runpath=yes
10635
libname_spec='$name'
10638
library_names_spec='$libname${shared_ext} $libname.a'
10639
dynamic_linker='OS/2 ld.exe'
10640
shlibpath_var=LIBPATH
10643
osf3* | osf4* | osf5*)
10647
soname_spec='${libname}${release}${shared_ext}$major'
10648
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10649
shlibpath_var=LD_LIBRARY_PATH
10650
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10651
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10659
version_type=linux # correct to gnu/linux during the next big refactor
10662
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10663
soname_spec='${libname}${release}${shared_ext}$major'
10664
shlibpath_var=LD_LIBRARY_PATH
10665
shlibpath_overrides_runpath=yes
10666
hardcode_into_libs=yes
10667
# ldd complains unless libraries are executable
10668
postinstall_cmds='chmod +x $lib'
10673
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10674
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10675
shlibpath_var=LD_LIBRARY_PATH
10676
shlibpath_overrides_runpath=yes
10677
if test "$with_gnu_ld" = yes; then
10684
version_type=linux # correct to gnu/linux during the next big refactor
10685
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686
soname_spec='${libname}${release}${shared_ext}$major'
10687
shlibpath_var=LD_LIBRARY_PATH
10688
case $host_vendor in
10690
shlibpath_overrides_runpath=no
10692
runpath_var=LD_RUN_PATH
10700
shlibpath_overrides_runpath=no
10701
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10707
if test -d /usr/nec ;then
10708
version_type=linux # correct to gnu/linux during the next big refactor
10709
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10710
soname_spec='$libname${shared_ext}.$major'
10711
shlibpath_var=LD_LIBRARY_PATH
10715
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10716
version_type=freebsd-elf
10719
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10720
soname_spec='${libname}${release}${shared_ext}$major'
10721
shlibpath_var=LD_LIBRARY_PATH
10722
shlibpath_overrides_runpath=yes
10723
hardcode_into_libs=yes
10724
if test "$with_gnu_ld" = yes; then
10725
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10727
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10730
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10734
sys_lib_dlsearch_path_spec='/usr/lib'
10738
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10739
version_type=linux # correct to gnu/linux during the next big refactor
10742
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10743
shlibpath_var=LD_LIBRARY_PATH
10744
shlibpath_overrides_runpath=no
10745
hardcode_into_libs=yes
10749
version_type=linux # correct to gnu/linux during the next big refactor
10750
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10751
soname_spec='${libname}${release}${shared_ext}$major'
10752
shlibpath_var=LD_LIBRARY_PATH
10759
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10760
$as_echo "$dynamic_linker" >&6; }
10761
test "$dynamic_linker" = no && can_build_shared=no
10763
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10764
if test "$GCC" = yes; then
10765
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10768
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10769
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10771
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10772
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10866
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10867
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10869
if test -n "$hardcode_libdir_flag_spec" ||
10870
test -n "$runpath_var" ||
10871
test "X$hardcode_automatic" = "Xyes" ; then
10873
# We can hardcode non-existent directories.
10874
if test "$hardcode_direct" != no &&
10875
# If the only mechanism to avoid hardcoding is shlibpath_var, we
10876
# have to relink, otherwise we might link with an installed library
10877
# when we should be linking with a yet-to-be-installed one
10878
## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10879
test "$hardcode_minus_L" != no; then
10880
# Linking always hardcodes the temporary library directory.
10881
hardcode_action=relink
10883
# We can link without hardcoding, and we can hardcode nonexisting dirs.
10884
hardcode_action=immediate
10887
# We cannot hardcode anything, or else we can only hardcode existing
10889
hardcode_action=unsupported
10891
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10892
$as_echo "$hardcode_action" >&6; }
10894
if test "$hardcode_action" = relink ||
10895
test "$inherit_rpath" = yes; then
10896
# Fast installation is not supported
10897
enable_fast_install=no
10898
elif test "$shlibpath_overrides_runpath" = yes ||
10899
test "$enable_shared" = no; then
10900
# Fast installation is not necessary
10901
enable_fast_install=needless
10909
if test "x$enable_dlopen" != xyes; then
10910
enable_dlopen=unknown
10911
enable_dlopen_self=unknown
10912
enable_dlopen_self_static=unknown
10919
lt_cv_dlopen="load_add_on"
10921
lt_cv_dlopen_self=yes
10924
mingw* | pw32* | cegcc*)
10925
lt_cv_dlopen="LoadLibrary"
10930
lt_cv_dlopen="dlopen"
10935
# if libdl is installed we need to link against it
10936
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10937
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10938
if ${ac_cv_lib_dl_dlopen+:} false; then :
10939
$as_echo_n "(cached) " >&6
10941
ac_check_lib_save_LIBS=$LIBS
10943
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10944
/* end confdefs.h. */
10946
/* Override any GCC internal prototype to avoid an error.
10947
Use char because int might match the return type of a GCC
10948
builtin and then its argument prototype would still apply. */
10961
if ac_fn_c_try_link "$LINENO"; then :
10962
ac_cv_lib_dl_dlopen=yes
10964
ac_cv_lib_dl_dlopen=no
10966
rm -f core conftest.err conftest.$ac_objext \
10967
conftest$ac_exeext conftest.$ac_ext
10968
LIBS=$ac_check_lib_save_LIBS
10970
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10971
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10972
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10973
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10976
lt_cv_dlopen="dyld"
10978
lt_cv_dlopen_self=yes
10985
ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10986
if test "x$ac_cv_func_shl_load" = xyes; then :
10987
lt_cv_dlopen="shl_load"
10989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10990
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10991
if ${ac_cv_lib_dld_shl_load+:} false; then :
10992
$as_echo_n "(cached) " >&6
10994
ac_check_lib_save_LIBS=$LIBS
10996
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10997
/* end confdefs.h. */
10999
/* Override any GCC internal prototype to avoid an error.
11000
Use char because int might match the return type of a GCC
11001
builtin and then its argument prototype would still apply. */
11009
return shl_load ();
11014
if ac_fn_c_try_link "$LINENO"; then :
11015
ac_cv_lib_dld_shl_load=yes
11017
ac_cv_lib_dld_shl_load=no
11019
rm -f core conftest.err conftest.$ac_objext \
11020
conftest$ac_exeext conftest.$ac_ext
11021
LIBS=$ac_check_lib_save_LIBS
11023
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11024
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11025
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11026
lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11028
ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11029
if test "x$ac_cv_func_dlopen" = xyes; then :
11030
lt_cv_dlopen="dlopen"
11032
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11033
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11034
if ${ac_cv_lib_dl_dlopen+:} false; then :
11035
$as_echo_n "(cached) " >&6
11037
ac_check_lib_save_LIBS=$LIBS
11039
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11040
/* end confdefs.h. */
11042
/* Override any GCC internal prototype to avoid an error.
11043
Use char because int might match the return type of a GCC
11044
builtin and then its argument prototype would still apply. */
11057
if ac_fn_c_try_link "$LINENO"; then :
11058
ac_cv_lib_dl_dlopen=yes
11060
ac_cv_lib_dl_dlopen=no
11062
rm -f core conftest.err conftest.$ac_objext \
11063
conftest$ac_exeext conftest.$ac_ext
11064
LIBS=$ac_check_lib_save_LIBS
11066
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11067
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11068
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11069
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11071
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11072
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11073
if ${ac_cv_lib_svld_dlopen+:} false; then :
11074
$as_echo_n "(cached) " >&6
11076
ac_check_lib_save_LIBS=$LIBS
11077
LIBS="-lsvld $LIBS"
11078
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11079
/* end confdefs.h. */
11081
/* Override any GCC internal prototype to avoid an error.
11082
Use char because int might match the return type of a GCC
11083
builtin and then its argument prototype would still apply. */
11096
if ac_fn_c_try_link "$LINENO"; then :
11097
ac_cv_lib_svld_dlopen=yes
11099
ac_cv_lib_svld_dlopen=no
11101
rm -f core conftest.err conftest.$ac_objext \
11102
conftest$ac_exeext conftest.$ac_ext
11103
LIBS=$ac_check_lib_save_LIBS
11105
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11106
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11107
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11108
lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11111
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11112
if ${ac_cv_lib_dld_dld_link+:} false; then :
11113
$as_echo_n "(cached) " >&6
11115
ac_check_lib_save_LIBS=$LIBS
11117
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11118
/* end confdefs.h. */
11120
/* Override any GCC internal prototype to avoid an error.
11121
Use char because int might match the return type of a GCC
11122
builtin and then its argument prototype would still apply. */
11130
return dld_link ();
11135
if ac_fn_c_try_link "$LINENO"; then :
11136
ac_cv_lib_dld_dld_link=yes
11138
ac_cv_lib_dld_dld_link=no
11140
rm -f core conftest.err conftest.$ac_objext \
11141
conftest$ac_exeext conftest.$ac_ext
11142
LIBS=$ac_check_lib_save_LIBS
11144
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11145
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11146
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11147
lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11168
if test "x$lt_cv_dlopen" != xno; then
11174
case $lt_cv_dlopen in
11176
save_CPPFLAGS="$CPPFLAGS"
11177
test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11179
save_LDFLAGS="$LDFLAGS"
11180
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11183
LIBS="$lt_cv_dlopen_libs $LIBS"
11185
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11186
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11187
if ${lt_cv_dlopen_self+:} false; then :
11188
$as_echo_n "(cached) " >&6
11190
if test "$cross_compiling" = yes; then :
11191
lt_cv_dlopen_self=cross
11193
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11194
lt_status=$lt_dlunknown
11195
cat > conftest.$ac_ext <<_LT_EOF
11196
#line $LINENO "configure"
11197
#include "confdefs.h"
11206
# define LT_DLGLOBAL RTLD_GLOBAL
11209
# define LT_DLGLOBAL DL_GLOBAL
11211
# define LT_DLGLOBAL 0
11215
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11216
find out it does not work in some platform. */
11217
#ifndef LT_DLLAZY_OR_NOW
11219
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11222
# define LT_DLLAZY_OR_NOW DL_LAZY
11225
# define LT_DLLAZY_OR_NOW RTLD_NOW
11228
# define LT_DLLAZY_OR_NOW DL_NOW
11230
# define LT_DLLAZY_OR_NOW 0
11237
/* When -fvisbility=hidden is used, assume the code has been annotated
11238
correspondingly for the symbols needed. */
11239
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11240
int fnord () __attribute__((visibility("default")));
11243
int fnord () { return 42; }
11246
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11247
int status = $lt_dlunknown;
11251
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11254
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11255
else puts (dlerror ());
11257
/* dlclose (self); */
11265
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11266
(eval $ac_link) 2>&5
11268
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11269
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11270
(./conftest; exit; ) >&5 2>/dev/null
11272
case x$lt_status in
11273
x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11274
x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11275
x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11278
# compilation failed
11279
lt_cv_dlopen_self=no
11286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11287
$as_echo "$lt_cv_dlopen_self" >&6; }
11289
if test "x$lt_cv_dlopen_self" = xyes; then
11290
wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11291
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11292
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11293
if ${lt_cv_dlopen_self_static+:} false; then :
11294
$as_echo_n "(cached) " >&6
11296
if test "$cross_compiling" = yes; then :
11297
lt_cv_dlopen_self_static=cross
11299
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11300
lt_status=$lt_dlunknown
11301
cat > conftest.$ac_ext <<_LT_EOF
11302
#line $LINENO "configure"
11303
#include "confdefs.h"
11312
# define LT_DLGLOBAL RTLD_GLOBAL
11315
# define LT_DLGLOBAL DL_GLOBAL
11317
# define LT_DLGLOBAL 0
11321
/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11322
find out it does not work in some platform. */
11323
#ifndef LT_DLLAZY_OR_NOW
11325
# define LT_DLLAZY_OR_NOW RTLD_LAZY
11328
# define LT_DLLAZY_OR_NOW DL_LAZY
11331
# define LT_DLLAZY_OR_NOW RTLD_NOW
11334
# define LT_DLLAZY_OR_NOW DL_NOW
11336
# define LT_DLLAZY_OR_NOW 0
11343
/* When -fvisbility=hidden is used, assume the code has been annotated
11344
correspondingly for the symbols needed. */
11345
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11346
int fnord () __attribute__((visibility("default")));
11349
int fnord () { return 42; }
11352
void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11353
int status = $lt_dlunknown;
11357
if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11360
if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11361
else puts (dlerror ());
11363
/* dlclose (self); */
11371
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11372
(eval $ac_link) 2>&5
11374
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11375
test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11376
(./conftest; exit; ) >&5 2>/dev/null
11378
case x$lt_status in
11379
x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11380
x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11381
x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11384
# compilation failed
11385
lt_cv_dlopen_self_static=no
11392
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11393
$as_echo "$lt_cv_dlopen_self_static" >&6; }
11396
CPPFLAGS="$save_CPPFLAGS"
11397
LDFLAGS="$save_LDFLAGS"
11402
case $lt_cv_dlopen_self in
11403
yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11404
*) enable_dlopen_self=unknown ;;
11407
case $lt_cv_dlopen_self_static in
11408
yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11409
*) enable_dlopen_self_static=unknown ;;
11431
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11432
$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11433
if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11434
test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11435
test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11436
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11437
$as_echo "yes" >&6; }
11439
# FIXME - insert some real tests, host_os isn't really good enough
11442
if test -n "$STRIP" ; then
11443
striplib="$STRIP -x"
11444
old_striplib="$STRIP -S"
11445
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11446
$as_echo "yes" >&6; }
11448
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11449
$as_echo "no" >&6; }
11453
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11454
$as_echo "no" >&6; }
11470
# Report which library types will actually be built
11471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11472
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11474
$as_echo "$can_build_shared" >&6; }
11476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11477
$as_echo_n "checking whether to build shared libraries... " >&6; }
11478
test "$can_build_shared" = "no" && enable_shared=no
11480
# On AIX, shared libraries and static libraries use the same namespace, and
11481
# are all built from PIC.
11484
test "$enable_shared" = yes && enable_static=no
11485
if test -n "$RANLIB"; then
11486
archive_cmds="$archive_cmds~\$RANLIB \$lib"
11487
postinstall_cmds='$RANLIB $lib'
11492
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11493
test "$enable_shared" = yes && enable_static=no
11497
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11498
$as_echo "$enable_shared" >&6; }
11500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11501
$as_echo_n "checking whether to build static libraries... " >&6; }
11502
# Make sure either enable_shared or enable_static is yes.
11503
test "$enable_shared" = yes || enable_static=yes
11504
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11505
$as_echo "$enable_static" >&6; }
11512
ac_cpp='$CPP $CPPFLAGS'
11513
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11514
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11515
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11533
ac_config_commands="$ac_config_commands libtool"
11538
# Only expand once:
11542
# Checks for programs.
11544
ac_cpp='$CXXCPP $CPPFLAGS'
11545
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11546
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11547
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11548
if test -z "$CXX"; then
11549
if test -n "$CCC"; then
11552
if test -n "$ac_tool_prefix"; then
11553
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11555
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11556
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11558
$as_echo_n "checking for $ac_word... " >&6; }
11559
if ${ac_cv_prog_CXX+:} false; then :
11560
$as_echo_n "(cached) " >&6
11562
if test -n "$CXX"; then
11563
ac_cv_prog_CXX="$CXX" # Let the user override the test.
11565
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11566
for as_dir in $PATH
11569
test -z "$as_dir" && as_dir=.
11570
for ac_exec_ext in '' $ac_executable_extensions; do
11571
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11572
ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
11573
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11582
CXX=$ac_cv_prog_CXX
11583
if test -n "$CXX"; then
11584
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
11585
$as_echo "$CXX" >&6; }
11587
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11588
$as_echo "no" >&6; }
11592
test -n "$CXX" && break
11595
if test -z "$CXX"; then
11597
for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
11599
# Extract the first word of "$ac_prog", so it can be a program name with args.
11600
set dummy $ac_prog; ac_word=$2
11601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11602
$as_echo_n "checking for $ac_word... " >&6; }
11603
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
11604
$as_echo_n "(cached) " >&6
11606
if test -n "$ac_ct_CXX"; then
11607
ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
11609
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11610
for as_dir in $PATH
11613
test -z "$as_dir" && as_dir=.
11614
for ac_exec_ext in '' $ac_executable_extensions; do
11615
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11616
ac_cv_prog_ac_ct_CXX="$ac_prog"
11617
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11626
ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
11627
if test -n "$ac_ct_CXX"; then
11628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
11629
$as_echo "$ac_ct_CXX" >&6; }
11631
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11632
$as_echo "no" >&6; }
11636
test -n "$ac_ct_CXX" && break
11639
if test "x$ac_ct_CXX" = x; then
11642
case $cross_compiling:$ac_tool_warned in
11644
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11645
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11646
ac_tool_warned=yes ;;
11654
# Provide some information about the compiler.
11655
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
11658
for ac_option in --version -v -V -qversion; do
11659
{ { ac_try="$ac_compiler $ac_option >&5"
11660
case "(($ac_try" in
11661
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11662
*) ac_try_echo=$ac_try;;
11664
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
11665
$as_echo "$ac_try_echo"; } >&5
11666
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
11668
if test -s conftest.err; then
11670
... rest of stderr output deleted ...
11671
10q' conftest.err >conftest.er1
11672
cat conftest.er1 >&5
11674
rm -f conftest.er1 conftest.err
11675
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11676
test $ac_status = 0; }
11679
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
11680
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
11681
if ${ac_cv_cxx_compiler_gnu+:} false; then :
11682
$as_echo_n "(cached) " >&6
11684
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685
/* end confdefs.h. */
11698
if ac_fn_cxx_try_compile "$LINENO"; then :
11699
ac_compiler_gnu=yes
11703
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11704
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
11707
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
11708
$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
11709
if test $ac_compiler_gnu = yes; then
11714
ac_test_CXXFLAGS=${CXXFLAGS+set}
11715
ac_save_CXXFLAGS=$CXXFLAGS
11716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
11717
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
11718
if ${ac_cv_prog_cxx_g+:} false; then :
11719
$as_echo_n "(cached) " >&6
11721
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
11722
ac_cxx_werror_flag=yes
11723
ac_cv_prog_cxx_g=no
11725
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11726
/* end confdefs.h. */
11736
if ac_fn_cxx_try_compile "$LINENO"; then :
11737
ac_cv_prog_cxx_g=yes
11740
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11741
/* end confdefs.h. */
11751
if ac_fn_cxx_try_compile "$LINENO"; then :
11754
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11756
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11757
/* end confdefs.h. */
11767
if ac_fn_cxx_try_compile "$LINENO"; then :
11768
ac_cv_prog_cxx_g=yes
11770
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11772
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11774
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11775
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
11777
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
11778
$as_echo "$ac_cv_prog_cxx_g" >&6; }
11779
if test "$ac_test_CXXFLAGS" = set; then
11780
CXXFLAGS=$ac_save_CXXFLAGS
11781
elif test $ac_cv_prog_cxx_g = yes; then
11782
if test "$GXX" = yes; then
11788
if test "$GXX" = yes; then
11795
ac_cpp='$CPP $CPPFLAGS'
11796
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11797
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11798
ac_compiler_gnu=$ac_cv_c_compiler_gnu
11800
depcc="$CXX" am_compiler_list=
11802
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
11803
$as_echo_n "checking dependency style of $depcc... " >&6; }
11804
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
11805
$as_echo_n "(cached) " >&6
11807
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
11808
# We make a subdir and do the tests there. Otherwise we can end up
11809
# making bogus files that we don't know about and never remove. For
11810
# instance it was reported that on HP-UX the gcc test will end up
11811
# making a dummy file named `D' -- because `-MD' means `put the output
11813
rm -rf conftest.dir
11815
# Copy depcomp to subdir because otherwise we won't find it if we're
11816
# using a relative directory.
11817
cp "$am_depcomp" conftest.dir
11819
# We will build objects and dependencies in a subdirectory because
11820
# it helps to detect inapplicable dependency modes. For instance
11821
# both Tru64's cc and ICC support -MD to output dependencies as a
11822
# side effect of compilation, but ICC will put the dependencies in
11823
# the current directory while Tru64 will put them in the object
11827
am_cv_CXX_dependencies_compiler_type=none
11828
if test "$am_compiler_list" = ""; then
11829
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
11831
am__universal=false
11832
case " $depcc " in #(
11833
*\ -arch\ *\ -arch\ *) am__universal=true ;;
11836
for depmode in $am_compiler_list; do
11837
# Setup a source with many dependencies, because some compilers
11838
# like to wrap large dependency lists on column 80 (with \), and
11839
# we should not choose a depcomp mode which is confused by this.
11841
# We need to recreate these files for each test, as the compiler may
11842
# overwrite some of them when testing with obscure command lines.
11843
# This happens at least with the AIX C compiler.
11845
for i in 1 2 3 4 5 6; do
11846
echo '#include "conftst'$i'.h"' >> sub/conftest.c
11847
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
11848
# Solaris 8's {/usr,}/bin/sh.
11849
touch sub/conftst$i.h
11851
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
11853
# We check with `-c' and `-o' for the sake of the "dashmstdout"
11854
# mode. It turns out that the SunPro C++ compiler does not properly
11855
# handle `-M -o', and we need to detect this. Also, some Intel
11856
# versions had trouble with output in subdirs
11857
am__obj=sub/conftest.${OBJEXT-o}
11858
am__minus_obj="-o $am__obj"
11861
# This depmode causes a compiler race in universal mode.
11862
test "$am__universal" = false || continue
11865
# after this tag, mechanisms are not by side-effect, so they'll
11866
# only be used when explicitly requested
11867
if test "x$enable_dependency_tracking" = xyes; then
11873
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
11874
# This compiler won't grok `-c -o', but also, the minuso test has
11875
# not run yet. These depmodes are late enough in the game, and
11876
# so weak that their functioning should not be impacted.
11877
am__obj=conftest.${OBJEXT-o}
11882
if depmode=$depmode \
11883
source=sub/conftest.c object=$am__obj \
11884
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
11885
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
11886
>/dev/null 2>conftest.err &&
11887
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
11888
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
11889
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
11890
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
11891
# icc doesn't choke on unknown options, it will just issue warnings
11892
# or remarks (even with -Werror). So we grep stderr for any message
11893
# that says an option was ignored or not supported.
11894
# When given -MP, icc 7.0 and 7.1 complain thusly:
11895
# icc: Command line warning: ignoring option '-M'; no argument required
11896
# The diagnosis changed in icc 8.0:
11897
# icc: Command line remark: option '-MP' not supported
11898
if (grep 'ignoring option' conftest.err ||
11899
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
11900
am_cv_CXX_dependencies_compiler_type=$depmode
11907
rm -rf conftest.dir
11909
am_cv_CXX_dependencies_compiler_type=none
11913
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
11914
$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
11915
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
11918
test "x$enable_dependency_tracking" != xno \
11919
&& test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
11920
am__fastdepCXX_TRUE=
11921
am__fastdepCXX_FALSE='#'
11923
am__fastdepCXX_TRUE='#'
11924
am__fastdepCXX_FALSE=
11930
func_stripname_cnf ()
11933
.*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
11934
*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
11936
} # func_stripname_cnf
11938
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11939
( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11940
(test "X$CXX" != "Xg++"))) ; then
11942
ac_cpp='$CXXCPP $CPPFLAGS'
11943
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11944
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11945
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11946
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11947
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11948
if test -z "$CXXCPP"; then
11949
if ${ac_cv_prog_CXXCPP+:} false; then :
11950
$as_echo_n "(cached) " >&6
11952
# Double quotes because CXXCPP needs to be expanded
11953
for CXXCPP in "$CXX -E" "/lib/cpp"
11955
ac_preproc_ok=false
11956
for ac_cxx_preproc_warn_flag in '' yes
11958
# Use a header file that comes with gcc, so configuring glibc
11959
# with a fresh cross-compiler works.
11960
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11961
# <limits.h> exists even on freestanding compilers.
11962
# On the NeXT, cc -E runs the code through the compiler's parser,
11963
# not just through cpp. "Syntax error" is here to catch this case.
11964
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11965
/* end confdefs.h. */
11967
# include <limits.h>
11969
# include <assert.h>
11973
if ac_fn_cxx_try_cpp "$LINENO"; then :
11976
# Broken: fails on valid input.
11979
rm -f conftest.err conftest.i conftest.$ac_ext
11981
# OK, works on sane cases. Now check whether nonexistent headers
11982
# can be detected and how.
11983
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984
/* end confdefs.h. */
11985
#include <ac_nonexistent.h>
11987
if ac_fn_cxx_try_cpp "$LINENO"; then :
11988
# Broken: success on invalid input.
11991
# Passes both tests.
11995
rm -f conftest.err conftest.i conftest.$ac_ext
11998
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11999
rm -f conftest.i conftest.err conftest.$ac_ext
12000
if $ac_preproc_ok; then :
12005
ac_cv_prog_CXXCPP=$CXXCPP
12008
CXXCPP=$ac_cv_prog_CXXCPP
12010
ac_cv_prog_CXXCPP=$CXXCPP
12012
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12013
$as_echo "$CXXCPP" >&6; }
12014
ac_preproc_ok=false
12015
for ac_cxx_preproc_warn_flag in '' yes
12017
# Use a header file that comes with gcc, so configuring glibc
12018
# with a fresh cross-compiler works.
12019
# Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12020
# <limits.h> exists even on freestanding compilers.
12021
# On the NeXT, cc -E runs the code through the compiler's parser,
12022
# not just through cpp. "Syntax error" is here to catch this case.
12023
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024
/* end confdefs.h. */
12026
# include <limits.h>
12028
# include <assert.h>
12032
if ac_fn_cxx_try_cpp "$LINENO"; then :
12035
# Broken: fails on valid input.
12038
rm -f conftest.err conftest.i conftest.$ac_ext
12040
# OK, works on sane cases. Now check whether nonexistent headers
12041
# can be detected and how.
12042
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12043
/* end confdefs.h. */
12044
#include <ac_nonexistent.h>
12046
if ac_fn_cxx_try_cpp "$LINENO"; then :
12047
# Broken: success on invalid input.
12050
# Passes both tests.
12054
rm -f conftest.err conftest.i conftest.$ac_ext
12057
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12058
rm -f conftest.i conftest.err conftest.$ac_ext
12059
if $ac_preproc_ok; then :
12062
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12063
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12064
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12065
See \`config.log' for more details" "$LINENO" 5; }
12069
ac_cpp='$CPP $CPPFLAGS'
12070
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12071
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12072
ac_compiler_gnu=$ac_cv_c_compiler_gnu
12075
_lt_caught_CXX_error=yes
12079
ac_cpp='$CXXCPP $CPPFLAGS'
12080
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12081
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12082
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12084
archive_cmds_need_lc_CXX=no
12085
allow_undefined_flag_CXX=
12086
always_export_symbols_CXX=no
12087
archive_expsym_cmds_CXX=
12088
compiler_needs_object_CXX=no
12089
export_dynamic_flag_spec_CXX=
12090
hardcode_direct_CXX=no
12091
hardcode_direct_absolute_CXX=no
12092
hardcode_libdir_flag_spec_CXX=
12093
hardcode_libdir_separator_CXX=
12094
hardcode_minus_L_CXX=no
12095
hardcode_shlibpath_var_CXX=unsupported
12096
hardcode_automatic_CXX=no
12097
inherit_rpath_CXX=no
12099
module_expsym_cmds_CXX=
12100
link_all_deplibs_CXX=unknown
12101
old_archive_cmds_CXX=$old_archive_cmds
12102
reload_flag_CXX=$reload_flag
12103
reload_cmds_CXX=$reload_cmds
12104
no_undefined_flag_CXX=
12105
whole_archive_flag_spec_CXX=
12106
enable_shared_with_static_runtimes_CXX=no
12108
# Source file extension for C++ test sources.
12111
# Object file extension for compiled C++ test sources.
12115
# No sense in running all these tests if we already determined that
12116
# the CXX compiler isn't working. Some variables (like enable_shared)
12117
# are currently assumed to apply to all compilers on this platform,
12118
# and will be corrupted by setting them based on a non-working compiler.
12119
if test "$_lt_caught_CXX_error" != yes; then
12120
# Code to be used in simple compile tests
12121
lt_simple_compile_test_code="int some_variable = 0;"
12123
# Code to be used in simple link tests
12124
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12126
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
12133
# If no C compiler was specified, use CC.
12136
# If no C compiler flags were specified, use CFLAGS.
12137
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12139
# Allow CC to be a program name with arguments.
12143
# save warnings/boilerplate of simple test code
12144
ac_outfile=conftest.$ac_objext
12145
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12146
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12147
_lt_compiler_boilerplate=`cat conftest.err`
12150
ac_outfile=conftest.$ac_objext
12151
echo "$lt_simple_link_test_code" >conftest.$ac_ext
12152
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12153
_lt_linker_boilerplate=`cat conftest.err`
12157
# Allow CC to be a program name with arguments.
12159
lt_save_CFLAGS=$CFLAGS
12163
lt_save_with_gnu_ld=$with_gnu_ld
12164
lt_save_path_LD=$lt_cv_path_LD
12165
if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12166
lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12168
$as_unset lt_cv_prog_gnu_ld
12170
if test -n "${lt_cv_path_LDCXX+set}"; then
12171
lt_cv_path_LD=$lt_cv_path_LDCXX
12173
$as_unset lt_cv_path_LD
12175
test -z "${LDCXX+set}" || LD=$LDCXX
12180
for cc_temp in $compiler""; do
12182
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12183
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12188
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12191
if test -n "$compiler"; then
12192
# We don't want -fno-exception when compiling C++ code, so set the
12193
# no_builtin_flag separately
12194
if test "$GXX" = yes; then
12195
lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12197
lt_prog_compiler_no_builtin_flag_CXX=
12200
if test "$GXX" = yes; then
12201
# Set up default GNU C++ configuration
12205
# Check whether --with-gnu-ld was given.
12206
if test "${with_gnu_ld+set}" = set; then :
12207
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12213
if test "$GCC" = yes; then
12214
# Check if gcc -print-prog-name=ld gives a path.
12215
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12216
$as_echo_n "checking for ld used by $CC... " >&6; }
12219
# gcc leaves a trailing carriage return which upsets mingw
12220
ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12222
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12225
# Accept absolute paths.
12227
re_direlt='/[^/][^/]*/\.\./'
12228
# Canonicalize the pathname of ld
12229
ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12230
while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12231
ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12233
test -z "$LD" && LD="$ac_prog"
12236
# If it fails, then pretend we aren't using GCC.
12240
# If it is relative, then search for the first ld in PATH.
12241
with_gnu_ld=unknown
12244
elif test "$with_gnu_ld" = yes; then
12245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12246
$as_echo_n "checking for GNU ld... " >&6; }
12248
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12249
$as_echo_n "checking for non-GNU ld... " >&6; }
12251
if ${lt_cv_path_LD+:} false; then :
12252
$as_echo_n "(cached) " >&6
12254
if test -z "$LD"; then
12255
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12256
for ac_dir in $PATH; do
12258
test -z "$ac_dir" && ac_dir=.
12259
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12260
lt_cv_path_LD="$ac_dir/$ac_prog"
12261
# Check to see if the program is GNU ld. I'd rather use --version,
12262
# but apparently some variants of GNU ld only accept -v.
12263
# Break only if it was the GNU/non-GNU ld that we prefer.
12264
case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12265
*GNU* | *'with BFD'*)
12266
test "$with_gnu_ld" != no && break
12269
test "$with_gnu_ld" != yes && break
12276
lt_cv_path_LD="$LD" # Let the user override the test with a path.
12280
LD="$lt_cv_path_LD"
12281
if test -n "$LD"; then
12282
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12283
$as_echo "$LD" >&6; }
12285
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12286
$as_echo "no" >&6; }
12288
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12290
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12291
if ${lt_cv_prog_gnu_ld+:} false; then :
12292
$as_echo_n "(cached) " >&6
12294
# I'd rather use --version here, but apparently some GNU lds only accept -v.
12295
case `$LD -v 2>&1 </dev/null` in
12296
*GNU* | *'with BFD'*)
12297
lt_cv_prog_gnu_ld=yes
12300
lt_cv_prog_gnu_ld=no
12304
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12305
$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12306
with_gnu_ld=$lt_cv_prog_gnu_ld
12314
# Check if GNU C++ uses GNU ld as the underlying linker, since the
12315
# archiving commands below assume that GNU ld is being used.
12316
if test "$with_gnu_ld" = yes; then
12317
archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12318
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'
12320
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12321
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12323
# If archive_cmds runs LD, not CC, wlarc should be empty
12324
# XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12325
# investigate it a little bit more. (MM)
12328
# ancient GNU ld didn't support --whole-archive et. al.
12329
if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12330
$GREP 'no-whole-archive' > /dev/null; then
12331
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12333
whole_archive_flag_spec_CXX=
12339
# A generic and very simple default shared library creation
12340
# command for GNU C++ for the case where it uses the native
12341
# linker, instead of GNU ld. If possible, this setting should
12342
# overridden to take advantage of the native linker features on
12343
# the platform it is being used on.
12344
archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12347
# Commands to make compiler produce verbose output that lists
12348
# what "hidden" libraries, object files and flags are used when
12349
# linking a shared library.
12350
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12358
# PORTME: fill in a description of your system's C++ link characteristics
12359
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12360
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12364
# FIXME: insert proper C++ library support
12368
if test "$host_cpu" = ia64; then
12369
# On IA64, the linker does run time linking by default, so we don't
12370
# have to do anything special.
12371
aix_use_runtimelinking=no
12372
exp_sym_flag='-Bexport'
12375
aix_use_runtimelinking=no
12377
# Test if we are trying to use run time linking or normal
12378
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
12379
# need to do runtime linking.
12380
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12381
for ld_flag in $LDFLAGS; do
12384
aix_use_runtimelinking=yes
12392
exp_sym_flag='-bexport'
12393
no_entry_flag='-bnoentry'
12396
# When large executables or shared objects are built, AIX ld can
12397
# have problems creating the table of contents. If linking a library
12398
# or program results in "error TOC overflow" add -mminimal-toc to
12399
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12400
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12402
archive_cmds_CXX=''
12403
hardcode_direct_CXX=yes
12404
hardcode_direct_absolute_CXX=yes
12405
hardcode_libdir_separator_CXX=':'
12406
link_all_deplibs_CXX=yes
12407
file_list_spec_CXX='${wl}-f,'
12409
if test "$GXX" = yes; then
12410
case $host_os in aix4.[012]|aix4.[012].*)
12411
# We only want to do this on AIX 4.2 and lower, the check
12412
# below for broken collect2 doesn't work under 4.3+
12413
collect2name=`${CC} -print-prog-name=collect2`
12414
if test -f "$collect2name" &&
12415
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12417
# We have reworked collect2
12420
# We have old collect2
12421
hardcode_direct_CXX=unsupported
12422
# It fails to find uninstalled libraries when the uninstalled
12423
# path is not listed in the libpath. Setting hardcode_minus_L
12424
# to unsupported forces relinking
12425
hardcode_minus_L_CXX=yes
12426
hardcode_libdir_flag_spec_CXX='-L$libdir'
12427
hardcode_libdir_separator_CXX=
12430
shared_flag='-shared'
12431
if test "$aix_use_runtimelinking" = yes; then
12432
shared_flag="$shared_flag "'${wl}-G'
12436
if test "$host_cpu" = ia64; then
12437
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12438
# chokes on -Wl,-G. The following line is correct:
12441
if test "$aix_use_runtimelinking" = yes; then
12442
shared_flag='${wl}-G'
12444
shared_flag='${wl}-bM:SRE'
12449
export_dynamic_flag_spec_CXX='${wl}-bexpall'
12450
# It seems that -bexpall does not export symbols beginning with
12451
# underscore (_), so it is better to generate a list of symbols to
12453
always_export_symbols_CXX=yes
12454
if test "$aix_use_runtimelinking" = yes; then
12455
# Warning - without using the other runtime loading flags (-brtl),
12456
# -berok will link without error, but may produce a broken library.
12457
allow_undefined_flag_CXX='-berok'
12458
# Determine the default libpath from the value encoded in an empty
12460
if test "${lt_cv_aix_libpath+set}" = set; then
12461
aix_libpath=$lt_cv_aix_libpath
12463
if ${lt_cv_aix_libpath__CXX+:} false; then :
12464
$as_echo_n "(cached) " >&6
12466
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12467
/* end confdefs.h. */
12477
if ac_fn_cxx_try_link "$LINENO"; then :
12479
lt_aix_libpath_sed='
12480
/Import File Strings/,/^$/ {
12482
s/^0 *\([^ ]*\) *$/\1/
12486
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12487
# Check for a 64-bit object if we didn't find anything.
12488
if test -z "$lt_cv_aix_libpath__CXX"; then
12489
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12492
rm -f core conftest.err conftest.$ac_objext \
12493
conftest$ac_exeext conftest.$ac_ext
12494
if test -z "$lt_cv_aix_libpath__CXX"; then
12495
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12500
aix_libpath=$lt_cv_aix_libpath__CXX
12503
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12505
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"
12507
if test "$host_cpu" = ia64; then
12508
hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12509
allow_undefined_flag_CXX="-z nodefs"
12510
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"
12512
# Determine the default libpath from the value encoded in an
12513
# empty executable.
12514
if test "${lt_cv_aix_libpath+set}" = set; then
12515
aix_libpath=$lt_cv_aix_libpath
12517
if ${lt_cv_aix_libpath__CXX+:} false; then :
12518
$as_echo_n "(cached) " >&6
12520
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12521
/* end confdefs.h. */
12531
if ac_fn_cxx_try_link "$LINENO"; then :
12533
lt_aix_libpath_sed='
12534
/Import File Strings/,/^$/ {
12536
s/^0 *\([^ ]*\) *$/\1/
12540
lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12541
# Check for a 64-bit object if we didn't find anything.
12542
if test -z "$lt_cv_aix_libpath__CXX"; then
12543
lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12546
rm -f core conftest.err conftest.$ac_objext \
12547
conftest$ac_exeext conftest.$ac_ext
12548
if test -z "$lt_cv_aix_libpath__CXX"; then
12549
lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12554
aix_libpath=$lt_cv_aix_libpath__CXX
12557
hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12558
# Warning - without using the other run time loading flags,
12559
# -berok will link without error, but may produce a broken library.
12560
no_undefined_flag_CXX=' ${wl}-bernotok'
12561
allow_undefined_flag_CXX=' ${wl}-berok'
12562
if test "$with_gnu_ld" = yes; then
12563
# We only use this code for GNU lds that support --whole-archive.
12564
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12566
# Exported symbols can be pulled into shared objects from archives
12567
whole_archive_flag_spec_CXX='$convenience'
12569
archive_cmds_need_lc_CXX=yes
12570
# This is similar to how AIX traditionally builds its shared
12572
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'
12578
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12579
allow_undefined_flag_CXX=unsupported
12580
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12581
# support --undefined. This deserves some investigation. FIXME
12582
archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12589
case $cc_basename in
12591
# FIXME: insert proper C++ library support
12597
cygwin* | mingw* | pw32* | cegcc*)
12598
case $GXX,$cc_basename in
12601
# hardcode_libdir_flag_spec is actually meaningless, as there is
12602
# no search path for DLLs.
12603
hardcode_libdir_flag_spec_CXX=' '
12604
allow_undefined_flag_CXX=unsupported
12605
always_export_symbols_CXX=yes
12606
file_list_spec_CXX='@'
12607
# Tell ltmain to make .lib files, not .a files.
12609
# Tell ltmain to make .dll files, not .so files.
12611
# FIXME: Setting linknames here is a bad hack.
12612
archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12613
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12614
$SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12616
$SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12618
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12620
# The linker will not automatically build a static lib if we build a DLL.
12621
# _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12622
enable_shared_with_static_runtimes_CXX=yes
12624
old_postinstall_cmds_CXX='chmod 644 $oldlib'
12625
postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12626
lt_tool_outputfile="@TOOL_OUTPUT@"~
12627
case $lt_outputfile in
12630
lt_outputfile="$lt_outputfile.exe"
12631
lt_tool_outputfile="$lt_tool_outputfile.exe"
12634
func_to_tool_file "$lt_outputfile"~
12635
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12636
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12637
$RM "$lt_outputfile.manifest";
12642
# _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12643
# as there is no search path for DLLs.
12644
hardcode_libdir_flag_spec_CXX='-L$libdir'
12645
export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12646
allow_undefined_flag_CXX=unsupported
12647
always_export_symbols_CXX=no
12648
enable_shared_with_static_runtimes_CXX=yes
12650
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12651
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'
12652
# If the export-symbols file already is a .def file (1st line
12653
# is EXPORTS), use it as is; otherwise, prepend...
12654
archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12655
cp $export_symbols $output_objdir/$soname.def;
12657
echo EXPORTS > $output_objdir/$soname.def;
12658
cat $export_symbols >> $output_objdir/$soname.def;
12660
$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'
12667
darwin* | rhapsody*)
12670
archive_cmds_need_lc_CXX=no
12671
hardcode_direct_CXX=no
12672
hardcode_automatic_CXX=yes
12673
hardcode_shlibpath_var_CXX=unsupported
12674
if test "$lt_cv_ld_force_load" = "yes"; then
12675
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\"`'
12678
whole_archive_flag_spec_CXX=''
12680
link_all_deplibs_CXX=yes
12681
allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12682
case $cc_basename in
12683
ifort*) _lt_dar_can_shared=yes ;;
12684
*) _lt_dar_can_shared=$GCC ;;
12686
if test "$_lt_dar_can_shared" = "yes"; then
12687
output_verbose_link_cmd=func_echo_all
12688
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}"
12689
module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12690
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}"
12691
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}"
12692
if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12693
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}"
12694
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}"
12704
case $cc_basename in
12706
# FIXME: insert proper C++ library support
12710
# Green Hills C++ Compiler
12711
# FIXME: insert proper C++ library support
12715
# FIXME: insert proper C++ library support
12722
# C++ shared libraries reported to be fairly broken before
12728
archive_cmds_need_lc_CXX=no
12731
freebsd* | dragonfly*)
12732
# FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12741
archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12742
link_all_deplibs_CXX=yes
12746
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12747
hardcode_libdir_separator_CXX=:
12748
export_dynamic_flag_spec_CXX='${wl}-E'
12749
hardcode_direct_CXX=yes
12750
hardcode_minus_L_CXX=yes # Not in the search PATH,
12751
# but as the default
12752
# location of the library.
12754
case $cc_basename in
12756
# FIXME: insert proper C++ library support
12760
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'
12761
# Commands to make compiler produce verbose output that lists
12762
# what "hidden" libraries, object files and flags are used when
12763
# linking a shared library.
12765
# There doesn't appear to be a way to prevent this compiler from
12766
# explicitly linking system object files so we need to strip them
12767
# from the output so that they don't get included in the library
12769
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"'
12772
if test "$GXX" = yes; then
12773
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'
12775
# FIXME: insert proper C++ library support
12783
if test $with_gnu_ld = no; then
12784
hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12785
hardcode_libdir_separator_CXX=:
12791
export_dynamic_flag_spec_CXX='${wl}-E'
12797
hardcode_direct_CXX=no
12798
hardcode_shlibpath_var_CXX=no
12801
hardcode_direct_CXX=yes
12802
hardcode_direct_absolute_CXX=yes
12803
hardcode_minus_L_CXX=yes # Not in the search PATH,
12804
# but as the default
12805
# location of the library.
12809
case $cc_basename in
12811
# FIXME: insert proper C++ library support
12817
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12820
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12823
archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12826
# Commands to make compiler produce verbose output that lists
12827
# what "hidden" libraries, object files and flags are used when
12828
# linking a shared library.
12830
# There doesn't appear to be a way to prevent this compiler from
12831
# explicitly linking system object files so we need to strip them
12832
# from the output so that they don't get included in the library
12834
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"'
12837
if test "$GXX" = yes; then
12838
if test $with_gnu_ld = no; then
12841
archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12844
archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12847
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'
12852
# FIXME: insert proper C++ library support
12860
hardcode_direct_CXX=no
12861
hardcode_shlibpath_var_CXX=no
12862
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12863
export_dynamic_flag_spec_CXX='${wl}-E'
12864
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12865
# Instead, shared libraries are loaded at an image base (0x10000000 by
12866
# default) and relocated if they conflict, which is a slow very memory
12867
# consuming and fragmenting process. To avoid this, we pick a random,
12868
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12869
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
12870
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'
12871
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'
12874
case $cc_basename in
12877
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'
12879
# Archives containing C++ object files must be created using
12880
# "CC -ar", where "CC" is the IRIX C++ compiler. This is
12881
# necessary to make sure instantiated templates are included
12883
old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12886
if test "$GXX" = yes; then
12887
if test "$with_gnu_ld" = no; then
12888
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'
12890
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'
12893
link_all_deplibs_CXX=yes
12896
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12897
hardcode_libdir_separator_CXX=:
12898
inherit_rpath_CXX=yes
12901
linux* | k*bsd*-gnu | kopensolaris*-gnu)
12902
case $cc_basename in
12904
# Kuck and Associates, Inc. (KAI) C++ Compiler
12906
# KCC will only create a shared library if the output file
12907
# ends with ".so" (or ".sl" for HP-UX), so rename the library
12908
# to its proper name (with version) after linking.
12909
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'
12910
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'
12911
# Commands to make compiler produce verbose output that lists
12912
# what "hidden" libraries, object files and flags are used when
12913
# linking a shared library.
12915
# There doesn't appear to be a way to prevent this compiler from
12916
# explicitly linking system object files so we need to strip them
12917
# from the output so that they don't get included in the library
12919
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"'
12921
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12922
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924
# Archives containing C++ object files must be created using
12925
# "CC -Bstatic", where "CC" is the KAI C++ compiler.
12926
old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12931
# version 8.0 and above of icpc choke on multiply defined symbols
12932
# if we add $predep_objects and $postdep_objects, however 7.1 and
12933
# earlier do not add the objects themselves.
12934
case `$CC -V 2>&1` in
12936
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12937
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'
12939
*) # Version 8.0 or newer
12942
ia64*) tmp_idyn=' -i_dynamic';;
12944
archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12945
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'
12948
archive_cmds_need_lc_CXX=no
12949
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12950
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12951
whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12954
# Portland Group C++ compiler
12956
*pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12957
prelink_cmds_CXX='tpldir=Template.dir~
12959
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12960
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
12961
old_archive_cmds_CXX='tpldir=Template.dir~
12963
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12964
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
12966
archive_cmds_CXX='tpldir=Template.dir~
12968
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12969
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12970
archive_expsym_cmds_CXX='tpldir=Template.dir~
12972
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12973
$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'
12975
*) # Version 6 and above use weak symbols
12976
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12977
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'
12981
hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12982
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12983
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'
12987
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12988
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'
12990
runpath_var=LD_RUN_PATH
12991
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992
hardcode_libdir_separator_CXX=:
12994
# Commands to make compiler produce verbose output that lists
12995
# what "hidden" libraries, object files and flags are used when
12996
# linking a shared library.
12998
# There doesn't appear to be a way to prevent this compiler from
12999
# explicitly linking system object files so we need to strip them
13000
# from the output so that they don't get included in the library
13002
output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; 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'
13004
xl* | mpixl* | bgxl*)
13005
# IBM XL 8.0 on PPC, with GNU ld
13006
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13007
export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13008
archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13009
if test "x$supports_anon_versioning" = xyes; then
13010
archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13011
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13012
echo "local: *; };" >> $output_objdir/$libname.ver~
13013
$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13017
case `$CC -V 2>&1 | sed 5q` in
13020
no_undefined_flag_CXX=' -zdefs'
13021
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13022
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'
13023
hardcode_libdir_flag_spec_CXX='-R$libdir'
13024
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'
13025
compiler_needs_object_CXX=yes
13027
# Not sure whether something based on
13028
# $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13030
output_verbose_link_cmd='func_echo_all'
13032
# Archives containing C++ object files must be created using
13033
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13034
# necessary to make sure instantiated templates are included
13036
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13044
# FIXME: insert proper C++ library support
13049
# FIXME: insert proper C++ library support
13054
case $cc_basename in
13056
# FIXME: insert proper C++ library support
13060
# FIXME: insert proper C++ library support
13067
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13068
archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13070
hardcode_libdir_flag_spec_CXX='-R$libdir'
13071
hardcode_direct_CXX=yes
13072
hardcode_shlibpath_var_CXX=no
13074
# Workaround some broken pre-1.5 toolchains
13075
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13083
# C++ shared libraries are fairly broken
13088
if test -f /usr/libexec/ld.so; then
13089
hardcode_direct_CXX=yes
13090
hardcode_shlibpath_var_CXX=no
13091
hardcode_direct_absolute_CXX=yes
13092
archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13093
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13094
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13095
archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13096
export_dynamic_flag_spec_CXX='${wl}-E'
13097
whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13099
output_verbose_link_cmd=func_echo_all
13105
osf3* | osf4* | osf5*)
13106
case $cc_basename in
13108
# Kuck and Associates, Inc. (KAI) C++ Compiler
13110
# KCC will only create a shared library if the output file
13111
# ends with ".so" (or ".sl" for HP-UX), so rename the library
13112
# to its proper name (with version) after linking.
13113
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'
13115
hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13116
hardcode_libdir_separator_CXX=:
13118
# Archives containing C++ object files must be created using
13119
# the KAI C++ compiler.
13121
osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13122
*) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13126
# Rational C++ 2.4.1
13127
# FIXME: insert proper C++ library support
13133
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13134
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'
13135
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13138
allow_undefined_flag_CXX=' -expect_unresolved \*'
13139
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'
13140
archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13141
echo "-hidden">> $lib.exp~
13142
$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~
13144
hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13148
hardcode_libdir_separator_CXX=:
13150
# Commands to make compiler produce verbose output that lists
13151
# what "hidden" libraries, object files and flags are used when
13152
# linking a shared library.
13154
# There doesn't appear to be a way to prevent this compiler from
13155
# explicitly linking system object files so we need to strip them
13156
# from the output so that they don't get included in the library
13158
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"'
13161
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13162
allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13165
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'
13168
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'
13172
hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13173
hardcode_libdir_separator_CXX=:
13175
# Commands to make compiler produce verbose output that lists
13176
# what "hidden" libraries, object files and flags are used when
13177
# linking a shared library.
13178
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13181
# FIXME: insert proper C++ library support
13189
# FIXME: insert proper C++ library support
13194
case $cc_basename in
13197
# FIXME: insert proper C++ library support
13202
# FIXME: insert proper C++ library support
13206
# FIXME: insert proper C++ library support
13213
case $cc_basename in
13215
# Sun C++ 4.2, 5.x and Centerline C++
13216
archive_cmds_need_lc_CXX=yes
13217
no_undefined_flag_CXX=' -zdefs'
13218
archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13219
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13220
$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'
13222
hardcode_libdir_flag_spec_CXX='-R$libdir'
13223
hardcode_shlibpath_var_CXX=no
13225
solaris2.[0-5] | solaris2.[0-5].*) ;;
13227
# The compiler driver will combine and reorder linker options,
13228
# but understands `-z linker_flag'.
13229
# Supported since Solaris 2.6 (maybe 2.5.1?)
13230
whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13233
link_all_deplibs_CXX=yes
13235
output_verbose_link_cmd='func_echo_all'
13237
# Archives containing C++ object files must be created using
13238
# "CC -xar", where "CC" is the Sun C++ compiler. This is
13239
# necessary to make sure instantiated templates are included
13241
old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13244
# Green Hills C++ Compiler
13245
archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13247
# The C++ compiler must be used to create the archive.
13248
old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13251
# GNU C++ compiler with Solaris linker
13252
if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13253
no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13254
if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13255
archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13256
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13257
$CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13259
# Commands to make compiler produce verbose output that lists
13260
# what "hidden" libraries, object files and flags are used when
13261
# linking a shared library.
13262
output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13264
# g++ 2.7 appears to require `-G' NOT `-shared' on this
13266
archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13267
archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13268
$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13270
# Commands to make compiler produce verbose output that lists
13271
# what "hidden" libraries, object files and flags are used when
13272
# linking a shared library.
13273
output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13276
hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13278
solaris2.[0-5] | solaris2.[0-5].*) ;;
13280
whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13288
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13289
no_undefined_flag_CXX='${wl}-z,text'
13290
archive_cmds_need_lc_CXX=no
13291
hardcode_shlibpath_var_CXX=no
13292
runpath_var='LD_RUN_PATH'
13294
case $cc_basename in
13296
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13300
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13301
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13306
sysv5* | sco3.2v5* | sco5v6*)
13307
# Note: We can NOT use -z defs as we might desire, because we do not
13308
# link with -lc, and that would cause any symbols used from libc to
13309
# always be unresolved, which means just about no library would
13310
# ever link correctly. If we're not using GNU ld we use -z text
13311
# though, which does catch some bad symbols but isn't as heavy-handed
13313
no_undefined_flag_CXX='${wl}-z,text'
13314
allow_undefined_flag_CXX='${wl}-z,nodefs'
13315
archive_cmds_need_lc_CXX=no
13316
hardcode_shlibpath_var_CXX=no
13317
hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13318
hardcode_libdir_separator_CXX=':'
13319
link_all_deplibs_CXX=yes
13320
export_dynamic_flag_spec_CXX='${wl}-Bexport'
13321
runpath_var='LD_RUN_PATH'
13323
case $cc_basename in
13325
archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13326
archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13327
old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13328
'"$old_archive_cmds_CXX"
13329
reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13330
'"$reload_cmds_CXX"
13333
archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13334
archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13340
case $cc_basename in
13342
# NonStop-UX NCC 3.20
13343
# FIXME: insert proper C++ library support
13347
# FIXME: insert proper C++ library support
13354
# FIXME: insert proper C++ library support
13359
# FIXME: insert proper C++ library support
13364
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13365
$as_echo "$ld_shlibs_CXX" >&6; }
13366
test "$ld_shlibs_CXX" = no && can_build_shared=no
13372
## There is no encapsulation within the following macros, do not change
13373
## the running order or otherwise move them around unless you know exactly
13374
## what you are doing...
13375
# Dependencies to place before and after the object being linked:
13376
predep_objects_CXX=
13377
postdep_objects_CXX=
13380
compiler_lib_search_path_CXX=
13382
cat > conftest.$ac_ext <<_LT_EOF
13386
Foo (void) { a = 0; }
13393
_lt_libdeps_save_CFLAGS=$CFLAGS
13394
case "$CC $CFLAGS " in #(
13395
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13396
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13397
*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13400
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13401
(eval $ac_compile) 2>&5
13403
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13404
test $ac_status = 0; }; then
13405
# Parse the compiler output and extract the necessary
13406
# objects, libraries and library flags.
13408
# Sentinel used to keep track of whether or not we are before
13409
# the conftest object file.
13410
pre_test_object_deps_done=no
13412
for p in `eval "$output_verbose_link_cmd"`; do
13413
case ${prev}${p} in
13416
# Some compilers place space between "-{L,R}" and the path.
13417
# Remove the space.
13418
if test $p = "-L" ||
13419
test $p = "-R"; then
13424
# Expand the sysroot to ease extracting the directories later.
13425
if test -z "$prev"; then
13427
-L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13428
-R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13429
-l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13433
=*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13435
if test "$pre_test_object_deps_done" = no; then
13438
# Internal compiler library paths should come after those
13439
# provided the user. The postdeps already come after the
13440
# user supplied libs so there is no need to process them.
13441
if test -z "$compiler_lib_search_path_CXX"; then
13442
compiler_lib_search_path_CXX="${prev}${p}"
13444
compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13447
# The "-l" case would never come before the object being
13448
# linked, so don't bother handling this case.
13451
if test -z "$postdeps_CXX"; then
13452
postdeps_CXX="${prev}${p}"
13454
postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13460
*.lto.$objext) ;; # Ignore GCC LTO objects
13462
# This assumes that the test object file only shows up
13463
# once in the compiler output.
13464
if test "$p" = "conftest.$objext"; then
13465
pre_test_object_deps_done=yes
13469
if test "$pre_test_object_deps_done" = no; then
13470
if test -z "$predep_objects_CXX"; then
13471
predep_objects_CXX="$p"
13473
predep_objects_CXX="$predep_objects_CXX $p"
13476
if test -z "$postdep_objects_CXX"; then
13477
postdep_objects_CXX="$p"
13479
postdep_objects_CXX="$postdep_objects_CXX $p"
13484
*) ;; # Ignore the rest.
13492
echo "libtool.m4: error: problem compiling CXX test program"
13495
$RM -f confest.$objext
13496
CFLAGS=$_lt_libdeps_save_CFLAGS
13498
# PORTME: override above test on systems where it is broken
13501
# Interix 3.5 installs completely hosed .la files for C++, so rather than
13502
# hack all around it, let's just trust "g++" to DTRT.
13503
predep_objects_CXX=
13504
postdep_objects_CXX=
13509
case `$CC -V 2>&1 | sed 5q` in
13513
# The more standards-conforming stlport4 library is
13514
# incompatible with the Cstd library. Avoid specifying
13515
# it if it's in CXXFLAGS. Ignore libCrun as
13516
# -library=stlport4 depends on it.
13517
case " $CXX $CXXFLAGS " in
13518
*" -library=stlport4 "*)
13519
solaris_use_stlport4=yes
13523
if test "$solaris_use_stlport4" != yes; then
13524
postdeps_CXX='-library=Cstd -library=Crun'
13531
case $cc_basename in
13533
# The more standards-conforming stlport4 library is
13534
# incompatible with the Cstd library. Avoid specifying
13535
# it if it's in CXXFLAGS. Ignore libCrun as
13536
# -library=stlport4 depends on it.
13537
case " $CXX $CXXFLAGS " in
13538
*" -library=stlport4 "*)
13539
solaris_use_stlport4=yes
13543
# Adding this requires a known-good setup of shared libraries for
13544
# Sun compiler versions before 5.6, else PIC objects from an old
13545
# archive will be linked into the output, leading to subtle bugs.
13546
if test "$solaris_use_stlport4" != yes; then
13547
postdeps_CXX='-library=Cstd -library=Crun'
13555
case " $postdeps_CXX " in
13556
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13558
compiler_lib_search_dirs_CXX=
13559
if test -n "${compiler_lib_search_path_CXX}"; then
13560
compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13593
lt_prog_compiler_wl_CXX=
13594
lt_prog_compiler_pic_CXX=
13595
lt_prog_compiler_static_CXX=
13598
# C++ specific cases for pic, static, wl, etc.
13599
if test "$GXX" = yes; then
13600
lt_prog_compiler_wl_CXX='-Wl,'
13601
lt_prog_compiler_static_CXX='-static'
13605
# All AIX code is PIC.
13606
if test "$host_cpu" = ia64; then
13607
# AIX 5 now supports IA64 processor
13608
lt_prog_compiler_static_CXX='-Bstatic'
13615
# see comment about AmigaOS4 .so support
13616
lt_prog_compiler_pic_CXX='-fPIC'
13619
# FIXME: we need at least 68020 code to build shared libraries, but
13620
# adding the `-m68020' flag to GCC prevents building anything better,
13622
lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13627
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13628
# PIC is the default for these OSes.
13630
mingw* | cygwin* | os2* | pw32* | cegcc*)
13631
# This hack is so that the source file can tell whether it is being
13632
# built for inclusion in a dll (and should export symbols for example).
13633
# Although the cygwin gcc ignores -fPIC, still need this for old-style
13634
# (--disable-auto-import) libraries
13635
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13637
darwin* | rhapsody*)
13638
# PIC is the default on this platform
13639
# Common symbols not allowed in MH_DYLIB files
13640
lt_prog_compiler_pic_CXX='-fno-common'
13643
# DJGPP does not support shared libraries at all
13644
lt_prog_compiler_pic_CXX=
13647
# PIC is the default for Haiku.
13648
# The "-static" flag exists, but is broken.
13649
lt_prog_compiler_static_CXX=
13652
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
13653
# Instead, we relocate shared libraries at runtime.
13656
if test -d /usr/nec; then
13657
lt_prog_compiler_pic_CXX=-Kconform_pic
13661
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13662
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13663
# sets the default TLS model and affects inlining.
13668
lt_prog_compiler_pic_CXX='-fPIC'
13673
# QNX uses GNU C++, but need to define -shared option too, otherwise
13674
# it will coredump.
13675
lt_prog_compiler_pic_CXX='-fPIC -shared'
13678
lt_prog_compiler_pic_CXX='-fPIC'
13684
# All AIX code is PIC.
13685
if test "$host_cpu" = ia64; then
13686
# AIX 5 now supports IA64 processor
13687
lt_prog_compiler_static_CXX='-Bstatic'
13689
lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13693
case $cc_basename in
13695
# Green Hills C++ Compiler
13696
# _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"
13700
mingw* | cygwin* | os2* | pw32* | cegcc*)
13701
# This hack is so that the source file can tell whether it is being
13702
# built for inclusion in a dll (and should export symbols for example).
13703
lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13706
case $cc_basename in
13708
lt_prog_compiler_pic_CXX='-KPIC'
13711
# Green Hills C++ Compiler
13712
lt_prog_compiler_pic_CXX='-pic'
13718
freebsd* | dragonfly*)
13719
# FreeBSD uses GNU C++
13721
hpux9* | hpux10* | hpux11*)
13722
case $cc_basename in
13724
lt_prog_compiler_wl_CXX='-Wl,'
13725
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13726
if test "$host_cpu" != ia64; then
13727
lt_prog_compiler_pic_CXX='+Z'
13731
lt_prog_compiler_wl_CXX='-Wl,'
13732
lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13738
lt_prog_compiler_pic_CXX='+Z'
13747
# This is c89, which is MS Visual C++ (no shared libs)
13748
# Anyone wants to do a port?
13750
irix5* | irix6* | nonstopux*)
13751
case $cc_basename in
13753
lt_prog_compiler_wl_CXX='-Wl,'
13754
lt_prog_compiler_static_CXX='-non_shared'
13755
# CC pic flag -KPIC is the default.
13761
linux* | k*bsd*-gnu | kopensolaris*-gnu)
13762
case $cc_basename in
13765
lt_prog_compiler_wl_CXX='--backend -Wl,'
13766
lt_prog_compiler_pic_CXX='-fPIC'
13769
# old Intel C++ for x86_64 which still supported -KPIC.
13770
lt_prog_compiler_wl_CXX='-Wl,'
13771
lt_prog_compiler_pic_CXX='-KPIC'
13772
lt_prog_compiler_static_CXX='-static'
13775
# Intel C++, used to be incompatible with GCC.
13776
# ICC 10 doesn't accept -KPIC any more.
13777
lt_prog_compiler_wl_CXX='-Wl,'
13778
lt_prog_compiler_pic_CXX='-fPIC'
13779
lt_prog_compiler_static_CXX='-static'
13782
# Portland Group C++ compiler
13783
lt_prog_compiler_wl_CXX='-Wl,'
13784
lt_prog_compiler_pic_CXX='-fpic'
13785
lt_prog_compiler_static_CXX='-Bstatic'
13789
# Make sure the PIC flag is empty. It appears that all Alpha
13790
# Linux and Compaq Tru64 Unix objects are PIC.
13791
lt_prog_compiler_pic_CXX=
13792
lt_prog_compiler_static_CXX='-non_shared'
13794
xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13795
# IBM XL 8.0, 9.0 on PPC and BlueGene
13796
lt_prog_compiler_wl_CXX='-Wl,'
13797
lt_prog_compiler_pic_CXX='-qpic'
13798
lt_prog_compiler_static_CXX='-qstaticlink'
13801
case `$CC -V 2>&1 | sed 5q` in
13804
lt_prog_compiler_pic_CXX='-KPIC'
13805
lt_prog_compiler_static_CXX='-Bstatic'
13806
lt_prog_compiler_wl_CXX='-Qoption ld '
13817
case $cc_basename in
13819
lt_prog_compiler_pic_CXX='-W c,exportall'
13825
netbsd* | netbsdelf*-gnu)
13828
# QNX uses GNU C++, but need to define -shared option too, otherwise
13829
# it will coredump.
13830
lt_prog_compiler_pic_CXX='-fPIC -shared'
13832
osf3* | osf4* | osf5*)
13833
case $cc_basename in
13835
lt_prog_compiler_wl_CXX='--backend -Wl,'
13838
# Rational C++ 2.4.1
13839
lt_prog_compiler_pic_CXX='-pic'
13842
# Digital/Compaq C++
13843
lt_prog_compiler_wl_CXX='-Wl,'
13844
# Make sure the PIC flag is empty. It appears that all Alpha
13845
# Linux and Compaq Tru64 Unix objects are PIC.
13846
lt_prog_compiler_pic_CXX=
13847
lt_prog_compiler_static_CXX='-non_shared'
13856
case $cc_basename in
13858
# Sun C++ 4.2, 5.x and Centerline C++
13859
lt_prog_compiler_pic_CXX='-KPIC'
13860
lt_prog_compiler_static_CXX='-Bstatic'
13861
lt_prog_compiler_wl_CXX='-Qoption ld '
13864
# Green Hills C++ Compiler
13865
lt_prog_compiler_pic_CXX='-PIC'
13872
case $cc_basename in
13875
lt_prog_compiler_pic_CXX='-pic'
13876
lt_prog_compiler_static_CXX='-Bstatic'
13880
lt_prog_compiler_pic_CXX='-pic'
13886
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13887
case $cc_basename in
13889
lt_prog_compiler_wl_CXX='-Wl,'
13890
lt_prog_compiler_pic_CXX='-KPIC'
13891
lt_prog_compiler_static_CXX='-Bstatic'
13896
case $cc_basename in
13898
# NonStop-UX NCC 3.20
13899
lt_prog_compiler_pic_CXX='-KPIC'
13908
lt_prog_compiler_can_build_shared_CXX=no
13914
# For platforms which do not support PIC, -DPIC is meaningless:
13916
lt_prog_compiler_pic_CXX=
13919
lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13923
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13924
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13925
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
13926
$as_echo_n "(cached) " >&6
13928
lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
13930
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
13931
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
13932
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13935
# Check to make sure the PIC flag actually works.
13937
if test -n "$lt_prog_compiler_pic_CXX"; then
13938
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13939
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13940
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13941
$as_echo_n "(cached) " >&6
13943
lt_cv_prog_compiler_pic_works_CXX=no
13944
ac_outfile=conftest.$ac_objext
13945
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13946
lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13947
# Insert the option either (1) after the last *FLAGS variable, or
13948
# (2) before a word containing "conftest.", or (3) at the end.
13949
# Note that $ac_compile itself does not contain backslashes and begins
13950
# with a dollar sign (not a hyphen), so the echo should work correctly.
13951
# The option is referenced via a variable to avoid confusing sed.
13952
lt_compile=`echo "$ac_compile" | $SED \
13953
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13954
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13955
-e 's:$: $lt_compiler_flag:'`
13956
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13957
(eval "$lt_compile" 2>conftest.err)
13959
cat conftest.err >&5
13960
echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961
if (exit $ac_status) && test -s "$ac_outfile"; then
13962
# The compiler can only warn and ignore the option if not recognized
13963
# So say no if there are warnings other than the usual output.
13964
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13965
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13966
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13967
lt_cv_prog_compiler_pic_works_CXX=yes
13973
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13974
$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13976
if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13977
case $lt_prog_compiler_pic_CXX in
13979
*) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13982
lt_prog_compiler_pic_CXX=
13983
lt_prog_compiler_can_build_shared_CXX=no
13993
# Check to make sure the static flag actually works.
13995
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13996
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13997
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13998
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13999
$as_echo_n "(cached) " >&6
14001
lt_cv_prog_compiler_static_works_CXX=no
14002
save_LDFLAGS="$LDFLAGS"
14003
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14004
echo "$lt_simple_link_test_code" > conftest.$ac_ext
14005
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14006
# The linker can only warn and ignore the option if not recognized
14007
# So say no if there are warnings
14008
if test -s conftest.err; then
14009
# Append any errors to the config.log.
14010
cat conftest.err 1>&5
14011
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14012
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14013
if diff conftest.exp conftest.er2 >/dev/null; then
14014
lt_cv_prog_compiler_static_works_CXX=yes
14017
lt_cv_prog_compiler_static_works_CXX=yes
14021
LDFLAGS="$save_LDFLAGS"
14024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14025
$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14027
if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14030
lt_prog_compiler_static_CXX=
14036
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14037
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14038
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14039
$as_echo_n "(cached) " >&6
14041
lt_cv_prog_compiler_c_o_CXX=no
14042
$RM -r conftest 2>/dev/null
14046
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14048
lt_compiler_flag="-o out/conftest2.$ac_objext"
14049
# Insert the option either (1) after the last *FLAGS variable, or
14050
# (2) before a word containing "conftest.", or (3) at the end.
14051
# Note that $ac_compile itself does not contain backslashes and begins
14052
# with a dollar sign (not a hyphen), so the echo should work correctly.
14053
lt_compile=`echo "$ac_compile" | $SED \
14054
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14055
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14056
-e 's:$: $lt_compiler_flag:'`
14057
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14058
(eval "$lt_compile" 2>out/conftest.err)
14060
cat out/conftest.err >&5
14061
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14062
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14064
# The compiler can only warn and ignore the option if not recognized
14065
# So say no if there are warnings
14066
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14067
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14068
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14069
lt_cv_prog_compiler_c_o_CXX=yes
14074
# SGI C++ compiler will create directory out/ii_files/ for
14075
# template instantiation
14076
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14077
$RM out/* && rmdir out
14083
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14084
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14088
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14089
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14090
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14091
$as_echo_n "(cached) " >&6
14093
lt_cv_prog_compiler_c_o_CXX=no
14094
$RM -r conftest 2>/dev/null
14098
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14100
lt_compiler_flag="-o out/conftest2.$ac_objext"
14101
# Insert the option either (1) after the last *FLAGS variable, or
14102
# (2) before a word containing "conftest.", or (3) at the end.
14103
# Note that $ac_compile itself does not contain backslashes and begins
14104
# with a dollar sign (not a hyphen), so the echo should work correctly.
14105
lt_compile=`echo "$ac_compile" | $SED \
14106
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14107
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14108
-e 's:$: $lt_compiler_flag:'`
14109
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14110
(eval "$lt_compile" 2>out/conftest.err)
14112
cat out/conftest.err >&5
14113
echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114
if (exit $ac_status) && test -s out/conftest2.$ac_objext
14116
# The compiler can only warn and ignore the option if not recognized
14117
# So say no if there are warnings
14118
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14119
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14120
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14121
lt_cv_prog_compiler_c_o_CXX=yes
14126
# SGI C++ compiler will create directory out/ii_files/ for
14127
# template instantiation
14128
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14129
$RM out/* && rmdir out
14135
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14136
$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14141
hard_links="nottested"
14142
if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14143
# do not overwrite the value of need_locks provided by the user
14144
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14145
$as_echo_n "checking if we can lock with hard links... " >&6; }
14148
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14150
ln conftest.a conftest.b 2>&5 || hard_links=no
14151
ln conftest.a conftest.b 2>/dev/null && hard_links=no
14152
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14153
$as_echo "$hard_links" >&6; }
14154
if test "$hard_links" = no; then
14155
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14156
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14165
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14166
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14168
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14169
exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14172
# If we're using GNU nm, then we don't want the "-C" option.
14173
# -C means demangle to AIX nm, but means don't demangle with GNU nm
14174
# Also, AIX nm treats weak defined symbols like other global defined
14175
# symbols, whereas GNU nm marks them as "W".
14176
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14177
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'
14179
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'
14183
export_symbols_cmds_CXX="$ltdll_cmds"
14185
cygwin* | mingw* | cegcc*)
14186
case $cc_basename in
14188
exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14191
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'
14192
exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14196
linux* | k*bsd*-gnu | gnu*)
14197
link_all_deplibs_CXX=no
14200
export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14204
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14205
$as_echo "$ld_shlibs_CXX" >&6; }
14206
test "$ld_shlibs_CXX" = no && can_build_shared=no
14208
with_gnu_ld_CXX=$with_gnu_ld
14216
# Do we need to explicitly link libc?
14218
case "x$archive_cmds_need_lc_CXX" in
14220
# Assume -lc should be added
14221
archive_cmds_need_lc_CXX=yes
14223
if test "$enable_shared" = yes && test "$GCC" = yes; then
14224
case $archive_cmds_CXX in
14226
# FIXME: we may have to deal with multi-command sequences.
14229
# Test whether the compiler implicitly links with -lc since on some
14230
# systems, -lgcc has to come before -lc. If gcc already passes -lc
14231
# to ld, don't add -lc before -lgcc.
14232
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14233
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14234
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14235
$as_echo_n "(cached) " >&6
14238
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14240
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14241
(eval $ac_compile) 2>&5
14243
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14244
test $ac_status = 0; } 2>conftest.err; then
14247
libobjs=conftest.$ac_objext
14249
wl=$lt_prog_compiler_wl_CXX
14250
pic_flag=$lt_prog_compiler_pic_CXX
14256
lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14257
allow_undefined_flag_CXX=
14258
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14259
(eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14261
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14262
test $ac_status = 0; }
14264
lt_cv_archive_cmds_need_lc_CXX=no
14266
lt_cv_archive_cmds_need_lc_CXX=yes
14268
allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14270
cat conftest.err 1>&5
14275
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14276
$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14277
archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14345
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14346
$as_echo_n "checking dynamic linker characteristics... " >&6; }
14348
library_names_spec=
14349
libname_spec='lib$name'
14353
postuninstall_cmds=
14357
shlibpath_overrides_runpath=unknown
14359
dynamic_linker="$host_os ld.so"
14360
sys_lib_dlsearch_path_spec="/lib /usr/lib"
14361
need_lib_prefix=unknown
14362
hardcode_into_libs=no
14364
# when you set need_version to no, make sure it does not cause -set_version
14365
# flags to be left without arguments
14366
need_version=unknown
14370
version_type=linux # correct to gnu/linux during the next big refactor
14371
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14372
shlibpath_var=LIBPATH
14374
# AIX 3 has no versioning support, so we append a major version to the name.
14375
soname_spec='${libname}${release}${shared_ext}$major'
14379
version_type=linux # correct to gnu/linux during the next big refactor
14382
hardcode_into_libs=yes
14383
if test "$host_cpu" = ia64; then
14384
# AIX 5 supports IA64
14385
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14386
shlibpath_var=LD_LIBRARY_PATH
14388
# With GCC up to 2.95.x, collect2 would create an import file
14389
# for dependence libraries. The import file would start with
14390
# the line `#! .'. This would cause the generated library to
14391
# depend on `.', always an invalid library. This was fixed in
14392
# development snapshots of GCC prior to 3.0.
14394
aix4 | aix4.[01] | aix4.[01].*)
14395
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14397
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14400
can_build_shared=no
14404
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14405
# soname into executable. Probably we can add versioning support to
14406
# collect2, so additional links can be useful in future.
14407
if test "$aix_use_runtimelinking" = yes; then
14408
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
14409
# instead of lib<name>.a to let people know that these are not
14410
# typical AIX shared libraries.
14411
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14413
# We preserve .a as extension for shared libraries through AIX4.2
14414
# and later when we are not doing run time linking.
14415
library_names_spec='${libname}${release}.a $libname.a'
14416
soname_spec='${libname}${release}${shared_ext}$major'
14418
shlibpath_var=LIBPATH
14425
# Since July 2007 AmigaOS4 officially supports .so libraries.
14426
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14427
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430
library_names_spec='$libname.ixlibrary $libname.a'
14431
# Create ${libname}_ixlibrary.a entries in /sys/libs.
14432
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'
14438
library_names_spec='${libname}${shared_ext}'
14439
dynamic_linker="$host_os ld.so"
14440
shlibpath_var=LIBRARY_PATH
14444
version_type=linux # correct to gnu/linux during the next big refactor
14446
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14447
soname_spec='${libname}${release}${shared_ext}$major'
14448
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14449
shlibpath_var=LD_LIBRARY_PATH
14450
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14451
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14452
# the default ld.so.conf also contains /usr/contrib/lib and
14453
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14454
# libtool to hard-code these into programs
14457
cygwin* | mingw* | pw32* | cegcc*)
14458
version_type=windows
14463
case $GCC,$cc_basename in
14466
library_names_spec='$libname.dll.a'
14467
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14468
postinstall_cmds='base_file=`basename \${file}`~
14469
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14470
dldir=$destdir/`dirname \$dlpath`~
14471
test -d \$dldir || mkdir -p \$dldir~
14472
$install_prog $dir/$dlname \$dldir/$dlname~
14473
chmod a+x \$dldir/$dlname~
14474
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14475
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14477
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14478
dlpath=$dir/\$dldll~
14480
shlibpath_overrides_runpath=yes
14484
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
14485
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14489
# MinGW DLLs use traditional 'lib' prefix
14490
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14493
# pw32 DLLs use 'pw' prefix rather than 'lib'
14494
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14497
dynamic_linker='Win32 ld.exe'
14502
libname_spec='$name'
14503
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14504
library_names_spec='${libname}.dll.lib'
14508
sys_lib_search_path_spec=
14511
for lt_path in $LIB
14514
# Let DOS variable expansion print the short 8.3 style file name.
14515
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14516
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14519
# Convert to MSYS style.
14520
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14523
# Convert to unix form, then to dos form, then back to unix form
14524
# but this time dos style (no spaces!) so that the unix form looks
14525
# like /cygdrive/c/PROGRA~1:/cygdr...
14526
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14527
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14528
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14531
sys_lib_search_path_spec="$LIB"
14532
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14533
# It is most probably a Windows format PATH.
14534
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14536
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14538
# FIXME: find the short name or the path components, as spaces are
14539
# common. (e.g. "Program Files" -> "PROGRA~1")
14543
# DLL is installed to $(libdir)/../bin by postinstall_cmds
14544
postinstall_cmds='base_file=`basename \${file}`~
14545
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14546
dldir=$destdir/`dirname \$dlpath`~
14547
test -d \$dldir || mkdir -p \$dldir~
14548
$install_prog $dir/$dlname \$dldir/$dlname'
14549
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14550
dlpath=$dir/\$dldll~
14552
shlibpath_overrides_runpath=yes
14553
dynamic_linker='Win32 link.exe'
14557
# Assume MSVC wrapper
14558
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14559
dynamic_linker='Win32 ld.exe'
14562
# FIXME: first we should search . and the directory the executable is in
14566
darwin* | rhapsody*)
14567
dynamic_linker="$host_os dyld"
14568
version_type=darwin
14571
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14572
soname_spec='${libname}${release}${major}$shared_ext'
14573
shlibpath_overrides_runpath=yes
14574
shlibpath_var=DYLD_LIBRARY_PATH
14575
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14577
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14581
version_type=linux # correct to gnu/linux during the next big refactor
14584
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14585
soname_spec='${libname}${release}${shared_ext}$major'
14586
shlibpath_var=LD_LIBRARY_PATH
14589
freebsd* | dragonfly*)
14590
# DragonFly does not have aout. When/if they implement a new
14591
# versioning mechanism, adjust this.
14592
if test -x /usr/bin/objformat; then
14593
objformat=`/usr/bin/objformat`
14596
freebsd[23].*) objformat=aout ;;
14597
*) objformat=elf ;;
14600
version_type=freebsd-$objformat
14601
case $version_type in
14603
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14608
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14612
shlibpath_var=LD_LIBRARY_PATH
14615
shlibpath_overrides_runpath=yes
14617
freebsd3.[01]* | freebsdelf3.[01]*)
14618
shlibpath_overrides_runpath=yes
14619
hardcode_into_libs=yes
14621
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14622
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14623
shlibpath_overrides_runpath=no
14624
hardcode_into_libs=yes
14626
*) # from 4.6 on, and DragonFly
14627
shlibpath_overrides_runpath=yes
14628
hardcode_into_libs=yes
14634
version_type=linux # correct to gnu/linux during the next big refactor
14637
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14638
soname_spec='${libname}${release}${shared_ext}$major'
14639
shlibpath_var=LD_LIBRARY_PATH
14640
shlibpath_overrides_runpath=no
14641
hardcode_into_libs=yes
14645
version_type=linux # correct to gnu/linux during the next big refactor
14648
dynamic_linker="$host_os runtime_loader"
14649
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14650
soname_spec='${libname}${release}${shared_ext}$major'
14651
shlibpath_var=LIBRARY_PATH
14652
shlibpath_overrides_runpath=yes
14653
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14654
hardcode_into_libs=yes
14657
hpux9* | hpux10* | hpux11*)
14658
# Give a soname corresponding to the major version so that dld.sl refuses to
14659
# link against other versions.
14666
hardcode_into_libs=yes
14667
dynamic_linker="$host_os dld.so"
14668
shlibpath_var=LD_LIBRARY_PATH
14669
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14670
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671
soname_spec='${libname}${release}${shared_ext}$major'
14672
if test "X$HPUX_IA64_MODE" = X32; then
14673
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14675
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14677
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14681
hardcode_into_libs=yes
14682
dynamic_linker="$host_os dld.sl"
14683
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14684
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14685
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14686
soname_spec='${libname}${release}${shared_ext}$major'
14687
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14688
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14692
dynamic_linker="$host_os dld.sl"
14693
shlibpath_var=SHLIB_PATH
14694
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14695
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14696
soname_spec='${libname}${release}${shared_ext}$major'
14699
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14700
postinstall_cmds='chmod 555 $lib'
14701
# or fails outright, so override atomically:
14702
install_override_mode=555
14706
version_type=linux # correct to gnu/linux during the next big refactor
14709
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14710
soname_spec='${libname}${release}${shared_ext}$major'
14711
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14712
shlibpath_var=LD_LIBRARY_PATH
14713
shlibpath_overrides_runpath=no
14714
hardcode_into_libs=yes
14717
irix5* | irix6* | nonstopux*)
14719
nonstopux*) version_type=nonstopux ;;
14721
if test "$lt_cv_prog_gnu_ld" = yes; then
14722
version_type=linux # correct to gnu/linux during the next big refactor
14729
soname_spec='${libname}${release}${shared_ext}$major'
14730
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14732
irix5* | nonstopux*)
14733
libsuff= shlibsuff=
14736
case $LD in # libtool.m4 will add one of these switches to LD
14737
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14738
libsuff= shlibsuff= libmagic=32-bit;;
14739
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14740
libsuff=32 shlibsuff=N32 libmagic=N32;;
14741
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14742
libsuff=64 shlibsuff=64 libmagic=64-bit;;
14743
*) libsuff= shlibsuff= libmagic=never-match;;
14747
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14748
shlibpath_overrides_runpath=no
14749
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14750
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14751
hardcode_into_libs=yes
14754
# No shared lib support for Linux oldld, aout, or coff.
14755
linux*oldld* | linux*aout* | linux*coff*)
14759
# This must be glibc/ELF.
14760
linux* | k*bsd*-gnu | kopensolaris*-gnu)
14761
version_type=linux # correct to gnu/linux during the next big refactor
14764
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14765
soname_spec='${libname}${release}${shared_ext}$major'
14766
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14767
shlibpath_var=LD_LIBRARY_PATH
14768
shlibpath_overrides_runpath=no
14770
# Some binutils ld are patched to set DT_RUNPATH
14771
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14772
$as_echo_n "(cached) " >&6
14774
lt_cv_shlibpath_overrides_runpath=no
14775
save_LDFLAGS=$LDFLAGS
14776
save_libdir=$libdir
14777
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14778
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14779
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780
/* end confdefs.h. */
14790
if ac_fn_cxx_try_link "$LINENO"; then :
14791
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14792
lt_cv_shlibpath_overrides_runpath=yes
14795
rm -f core conftest.err conftest.$ac_objext \
14796
conftest$ac_exeext conftest.$ac_ext
14797
LDFLAGS=$save_LDFLAGS
14798
libdir=$save_libdir
14802
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14804
# This implies no fast_install, which is unacceptable.
14805
# Some rework will be needed to allow for fast_install
14806
# before this can be enabled.
14807
hardcode_into_libs=yes
14809
# Append ld.so.conf contents to the search path
14810
if test -f /etc/ld.so.conf; then
14811
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' ' '`
14812
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14815
# We used to test for /lib/ld.so.1 and disable shared libraries on
14816
# powerpc, because MkLinux only supported shared libraries with the
14817
# GNU dynamic linker. Since this was broken with cross compilers,
14818
# most powerpc-linux boxes support dynamic linking these days and
14819
# people can always --disable-shared, the test was removed, and we
14820
# assume the GNU/Linux dynamic linker is in use.
14821
dynamic_linker='GNU/Linux ld.so'
14828
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14829
soname_spec='${libname}${release}${shared_ext}$major'
14830
shlibpath_var=LD_LIBRARY_PATH
14831
shlibpath_overrides_runpath=no
14832
hardcode_into_libs=yes
14833
dynamic_linker='NetBSD ld.elf_so'
14840
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14841
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14842
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14843
dynamic_linker='NetBSD (a.out) ld.so'
14845
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14846
soname_spec='${libname}${release}${shared_ext}$major'
14847
dynamic_linker='NetBSD ld.elf_so'
14849
shlibpath_var=LD_LIBRARY_PATH
14850
shlibpath_overrides_runpath=yes
14851
hardcode_into_libs=yes
14855
version_type=linux # correct to gnu/linux during the next big refactor
14856
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14857
shlibpath_var=LD_LIBRARY_PATH
14858
shlibpath_overrides_runpath=yes
14865
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14866
soname_spec='${libname}${release}${shared_ext}$major'
14867
shlibpath_var=LD_LIBRARY_PATH
14868
shlibpath_overrides_runpath=no
14869
hardcode_into_libs=yes
14870
dynamic_linker='ldqnx.so'
14875
sys_lib_dlsearch_path_spec="/usr/lib"
14877
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14879
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14880
*) need_version=no ;;
14882
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14883
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14884
shlibpath_var=LD_LIBRARY_PATH
14885
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14887
openbsd2.[89] | openbsd2.[89].*)
14888
shlibpath_overrides_runpath=no
14891
shlibpath_overrides_runpath=yes
14895
shlibpath_overrides_runpath=yes
14900
libname_spec='$name'
14903
library_names_spec='$libname${shared_ext} $libname.a'
14904
dynamic_linker='OS/2 ld.exe'
14905
shlibpath_var=LIBPATH
14908
osf3* | osf4* | osf5*)
14912
soname_spec='${libname}${release}${shared_ext}$major'
14913
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14914
shlibpath_var=LD_LIBRARY_PATH
14915
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14916
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14924
version_type=linux # correct to gnu/linux during the next big refactor
14927
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14928
soname_spec='${libname}${release}${shared_ext}$major'
14929
shlibpath_var=LD_LIBRARY_PATH
14930
shlibpath_overrides_runpath=yes
14931
hardcode_into_libs=yes
14932
# ldd complains unless libraries are executable
14933
postinstall_cmds='chmod +x $lib'
14938
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14939
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14940
shlibpath_var=LD_LIBRARY_PATH
14941
shlibpath_overrides_runpath=yes
14942
if test "$with_gnu_ld" = yes; then
14949
version_type=linux # correct to gnu/linux during the next big refactor
14950
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14951
soname_spec='${libname}${release}${shared_ext}$major'
14952
shlibpath_var=LD_LIBRARY_PATH
14953
case $host_vendor in
14955
shlibpath_overrides_runpath=no
14957
runpath_var=LD_RUN_PATH
14965
shlibpath_overrides_runpath=no
14966
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14972
if test -d /usr/nec ;then
14973
version_type=linux # correct to gnu/linux during the next big refactor
14974
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14975
soname_spec='$libname${shared_ext}.$major'
14976
shlibpath_var=LD_LIBRARY_PATH
14980
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14981
version_type=freebsd-elf
14984
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14985
soname_spec='${libname}${release}${shared_ext}$major'
14986
shlibpath_var=LD_LIBRARY_PATH
14987
shlibpath_overrides_runpath=yes
14988
hardcode_into_libs=yes
14989
if test "$with_gnu_ld" = yes; then
14990
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14992
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14995
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14999
sys_lib_dlsearch_path_spec='/usr/lib'
15003
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15004
version_type=linux # correct to gnu/linux during the next big refactor
15007
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15008
shlibpath_var=LD_LIBRARY_PATH
15009
shlibpath_overrides_runpath=no
15010
hardcode_into_libs=yes
15014
version_type=linux # correct to gnu/linux during the next big refactor
15015
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15016
soname_spec='${libname}${release}${shared_ext}$major'
15017
shlibpath_var=LD_LIBRARY_PATH
15024
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15025
$as_echo "$dynamic_linker" >&6; }
15026
test "$dynamic_linker" = no && can_build_shared=no
15028
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15029
if test "$GCC" = yes; then
15030
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15033
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15034
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15036
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15037
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15078
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15079
hardcode_action_CXX=
15080
if test -n "$hardcode_libdir_flag_spec_CXX" ||
15081
test -n "$runpath_var_CXX" ||
15082
test "X$hardcode_automatic_CXX" = "Xyes" ; then
15084
# We can hardcode non-existent directories.
15085
if test "$hardcode_direct_CXX" != no &&
15086
# If the only mechanism to avoid hardcoding is shlibpath_var, we
15087
# have to relink, otherwise we might link with an installed library
15088
# when we should be linking with a yet-to-be-installed one
15089
## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15090
test "$hardcode_minus_L_CXX" != no; then
15091
# Linking always hardcodes the temporary library directory.
15092
hardcode_action_CXX=relink
15094
# We can link without hardcoding, and we can hardcode nonexisting dirs.
15095
hardcode_action_CXX=immediate
15098
# We cannot hardcode anything, or else we can only hardcode existing
15100
hardcode_action_CXX=unsupported
15102
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15103
$as_echo "$hardcode_action_CXX" >&6; }
15105
if test "$hardcode_action_CXX" = relink ||
15106
test "$inherit_rpath_CXX" = yes; then
15107
# Fast installation is not supported
15108
enable_fast_install=no
15109
elif test "$shlibpath_overrides_runpath" = yes ||
15110
test "$enable_shared" = no; then
15111
# Fast installation is not necessary
15112
enable_fast_install=needless
15121
fi # test -n "$compiler"
15124
CFLAGS=$lt_save_CFLAGS
15128
with_gnu_ld=$lt_save_with_gnu_ld
15129
lt_cv_path_LDCXX=$lt_cv_path_LD
15130
lt_cv_path_LD=$lt_save_path_LD
15131
lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15132
lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15133
fi # test "$_lt_caught_CXX_error" != yes
15136
ac_cpp='$CPP $CPPFLAGS'
15137
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15138
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15139
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15143
ac_cpp='$CPP $CPPFLAGS'
15144
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15145
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15146
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15147
if test -n "$ac_tool_prefix"; then
15148
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15149
set dummy ${ac_tool_prefix}gcc; ac_word=$2
15150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15151
$as_echo_n "checking for $ac_word... " >&6; }
15152
if ${ac_cv_prog_CC+:} false; then :
15153
$as_echo_n "(cached) " >&6
15155
if test -n "$CC"; then
15156
ac_cv_prog_CC="$CC" # Let the user override the test.
15158
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15159
for as_dir in $PATH
15162
test -z "$as_dir" && as_dir=.
15163
for ac_exec_ext in '' $ac_executable_extensions; do
15164
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15165
ac_cv_prog_CC="${ac_tool_prefix}gcc"
15166
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15176
if test -n "$CC"; then
15177
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15178
$as_echo "$CC" >&6; }
15180
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15181
$as_echo "no" >&6; }
15186
if test -z "$ac_cv_prog_CC"; then
15188
# Extract the first word of "gcc", so it can be a program name with args.
15189
set dummy gcc; ac_word=$2
15190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15191
$as_echo_n "checking for $ac_word... " >&6; }
15192
if ${ac_cv_prog_ac_ct_CC+:} false; then :
15193
$as_echo_n "(cached) " >&6
15195
if test -n "$ac_ct_CC"; then
15196
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15198
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15199
for as_dir in $PATH
15202
test -z "$as_dir" && as_dir=.
15203
for ac_exec_ext in '' $ac_executable_extensions; do
15204
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15205
ac_cv_prog_ac_ct_CC="gcc"
15206
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15215
ac_ct_CC=$ac_cv_prog_ac_ct_CC
15216
if test -n "$ac_ct_CC"; then
15217
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15218
$as_echo "$ac_ct_CC" >&6; }
15220
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15221
$as_echo "no" >&6; }
15224
if test "x$ac_ct_CC" = x; then
15227
case $cross_compiling:$ac_tool_warned in
15229
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15230
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15231
ac_tool_warned=yes ;;
15236
CC="$ac_cv_prog_CC"
15239
if test -z "$CC"; then
15240
if test -n "$ac_tool_prefix"; then
15241
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15242
set dummy ${ac_tool_prefix}cc; ac_word=$2
15243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15244
$as_echo_n "checking for $ac_word... " >&6; }
15245
if ${ac_cv_prog_CC+:} false; then :
15246
$as_echo_n "(cached) " >&6
15248
if test -n "$CC"; then
15249
ac_cv_prog_CC="$CC" # Let the user override the test.
15251
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15252
for as_dir in $PATH
15255
test -z "$as_dir" && as_dir=.
15256
for ac_exec_ext in '' $ac_executable_extensions; do
15257
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15258
ac_cv_prog_CC="${ac_tool_prefix}cc"
15259
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15269
if test -n "$CC"; then
15270
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15271
$as_echo "$CC" >&6; }
15273
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15274
$as_echo "no" >&6; }
15280
if test -z "$CC"; then
15281
# Extract the first word of "cc", so it can be a program name with args.
15282
set dummy cc; ac_word=$2
15283
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15284
$as_echo_n "checking for $ac_word... " >&6; }
15285
if ${ac_cv_prog_CC+:} false; then :
15286
$as_echo_n "(cached) " >&6
15288
if test -n "$CC"; then
15289
ac_cv_prog_CC="$CC" # Let the user override the test.
15291
ac_prog_rejected=no
15292
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15293
for as_dir in $PATH
15296
test -z "$as_dir" && as_dir=.
15297
for ac_exec_ext in '' $ac_executable_extensions; do
15298
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15299
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15300
ac_prog_rejected=yes
15304
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15311
if test $ac_prog_rejected = yes; then
15312
# We found a bogon in the path, so make sure we never use it.
15313
set dummy $ac_cv_prog_CC
15315
if test $# != 0; then
15316
# We chose a different compiler from the bogus one.
15317
# However, it has the same basename, so the bogon will be chosen
15318
# first if we set CC to just the basename; use the full file name.
15320
ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15326
if test -n "$CC"; then
15327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15328
$as_echo "$CC" >&6; }
15330
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15331
$as_echo "no" >&6; }
15336
if test -z "$CC"; then
15337
if test -n "$ac_tool_prefix"; then
15338
for ac_prog in cl.exe
15340
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15341
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15342
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15343
$as_echo_n "checking for $ac_word... " >&6; }
15344
if ${ac_cv_prog_CC+:} false; then :
15345
$as_echo_n "(cached) " >&6
15347
if test -n "$CC"; then
15348
ac_cv_prog_CC="$CC" # Let the user override the test.
15350
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15351
for as_dir in $PATH
15354
test -z "$as_dir" && as_dir=.
15355
for ac_exec_ext in '' $ac_executable_extensions; do
15356
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15357
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15358
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15368
if test -n "$CC"; then
15369
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
15370
$as_echo "$CC" >&6; }
15372
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15373
$as_echo "no" >&6; }
15377
test -n "$CC" && break
15380
if test -z "$CC"; then
15382
for ac_prog in cl.exe
15384
# Extract the first word of "$ac_prog", so it can be a program name with args.
15385
set dummy $ac_prog; ac_word=$2
15386
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15387
$as_echo_n "checking for $ac_word... " >&6; }
15388
if ${ac_cv_prog_ac_ct_CC+:} false; then :
15389
$as_echo_n "(cached) " >&6
15391
if test -n "$ac_ct_CC"; then
15392
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15394
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15395
for as_dir in $PATH
15398
test -z "$as_dir" && as_dir=.
15399
for ac_exec_ext in '' $ac_executable_extensions; do
15400
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15401
ac_cv_prog_ac_ct_CC="$ac_prog"
15402
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15411
ac_ct_CC=$ac_cv_prog_ac_ct_CC
15412
if test -n "$ac_ct_CC"; then
15413
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
15414
$as_echo "$ac_ct_CC" >&6; }
15416
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15417
$as_echo "no" >&6; }
15421
test -n "$ac_ct_CC" && break
15424
if test "x$ac_ct_CC" = x; then
15427
case $cross_compiling:$ac_tool_warned in
15429
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15430
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15431
ac_tool_warned=yes ;;
15440
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15441
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15442
as_fn_error $? "no acceptable C compiler found in \$PATH
15443
See \`config.log' for more details" "$LINENO" 5; }
15445
# Provide some information about the compiler.
15446
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
15449
for ac_option in --version -v -V -qversion; do
15450
{ { ac_try="$ac_compiler $ac_option >&5"
15451
case "(($ac_try" in
15452
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15453
*) ac_try_echo=$ac_try;;
15455
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15456
$as_echo "$ac_try_echo"; } >&5
15457
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
15459
if test -s conftest.err; then
15461
... rest of stderr output deleted ...
15462
10q' conftest.err >conftest.er1
15463
cat conftest.er1 >&5
15465
rm -f conftest.er1 conftest.err
15466
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15467
test $ac_status = 0; }
15470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
15471
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
15472
if ${ac_cv_c_compiler_gnu+:} false; then :
15473
$as_echo_n "(cached) " >&6
15475
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15476
/* end confdefs.h. */
15489
if ac_fn_c_try_compile "$LINENO"; then :
15490
ac_compiler_gnu=yes
15494
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15495
ac_cv_c_compiler_gnu=$ac_compiler_gnu
15498
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
15499
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
15500
if test $ac_compiler_gnu = yes; then
15505
ac_test_CFLAGS=${CFLAGS+set}
15506
ac_save_CFLAGS=$CFLAGS
15507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
15508
$as_echo_n "checking whether $CC accepts -g... " >&6; }
15509
if ${ac_cv_prog_cc_g+:} false; then :
15510
$as_echo_n "(cached) " >&6
15512
ac_save_c_werror_flag=$ac_c_werror_flag
15513
ac_c_werror_flag=yes
15516
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517
/* end confdefs.h. */
15527
if ac_fn_c_try_compile "$LINENO"; then :
15528
ac_cv_prog_cc_g=yes
15531
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15532
/* end confdefs.h. */
15542
if ac_fn_c_try_compile "$LINENO"; then :
15545
ac_c_werror_flag=$ac_save_c_werror_flag
15547
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15548
/* end confdefs.h. */
15558
if ac_fn_c_try_compile "$LINENO"; then :
15559
ac_cv_prog_cc_g=yes
15561
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15563
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15565
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15566
ac_c_werror_flag=$ac_save_c_werror_flag
15568
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
15569
$as_echo "$ac_cv_prog_cc_g" >&6; }
15570
if test "$ac_test_CFLAGS" = set; then
15571
CFLAGS=$ac_save_CFLAGS
15572
elif test $ac_cv_prog_cc_g = yes; then
15573
if test "$GCC" = yes; then
15579
if test "$GCC" = yes; then
15585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
15586
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
15587
if ${ac_cv_prog_cc_c89+:} false; then :
15588
$as_echo_n "(cached) " >&6
15590
ac_cv_prog_cc_c89=no
15592
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15593
/* end confdefs.h. */
15594
#include <stdarg.h>
15596
#include <sys/types.h>
15597
#include <sys/stat.h>
15598
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15599
struct buf { int x; };
15600
FILE * (*rcsopen) (struct buf *, struct stat *, int);
15601
static char *e (p, i)
15607
static char *f (char * (*g) (char **, int), char **p, ...)
15612
s = g (p, va_arg (v,int));
15617
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15618
function prototypes and stuff, but not '\xHH' hex character constants.
15619
These don't provoke an error unfortunately, instead are silently treated
15620
as 'x'. The following induces an error, until -std is added to get
15621
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15622
array size at least. It's necessary to write '\x00'==0 to get something
15623
that's true only with -std. */
15624
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15626
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15627
inside strings and character constants. */
15629
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15631
int test (int i, double x);
15632
struct s1 {int (*f) (int a);};
15633
struct s2 {int (*f) (double a);};
15634
int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15640
return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15645
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15646
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15648
CC="$ac_save_CC $ac_arg"
15649
if ac_fn_c_try_compile "$LINENO"; then :
15650
ac_cv_prog_cc_c89=$ac_arg
15652
rm -f core conftest.err conftest.$ac_objext
15653
test "x$ac_cv_prog_cc_c89" != "xno" && break
15655
rm -f conftest.$ac_ext
15660
case "x$ac_cv_prog_cc_c89" in
15662
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
15663
$as_echo "none needed" >&6; } ;;
15665
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
15666
$as_echo "unsupported" >&6; } ;;
15668
CC="$CC $ac_cv_prog_cc_c89"
15669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
15670
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
15672
if test "x$ac_cv_prog_cc_c89" != xno; then :
15677
ac_cpp='$CPP $CPPFLAGS'
15678
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15679
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15680
ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682
depcc="$CC" am_compiler_list=
15684
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
15685
$as_echo_n "checking dependency style of $depcc... " >&6; }
15686
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
15687
$as_echo_n "(cached) " >&6
15689
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
15690
# We make a subdir and do the tests there. Otherwise we can end up
15691
# making bogus files that we don't know about and never remove. For
15692
# instance it was reported that on HP-UX the gcc test will end up
15693
# making a dummy file named `D' -- because `-MD' means `put the output
15695
rm -rf conftest.dir
15697
# Copy depcomp to subdir because otherwise we won't find it if we're
15698
# using a relative directory.
15699
cp "$am_depcomp" conftest.dir
15701
# We will build objects and dependencies in a subdirectory because
15702
# it helps to detect inapplicable dependency modes. For instance
15703
# both Tru64's cc and ICC support -MD to output dependencies as a
15704
# side effect of compilation, but ICC will put the dependencies in
15705
# the current directory while Tru64 will put them in the object
15709
am_cv_CC_dependencies_compiler_type=none
15710
if test "$am_compiler_list" = ""; then
15711
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
15713
am__universal=false
15714
case " $depcc " in #(
15715
*\ -arch\ *\ -arch\ *) am__universal=true ;;
15718
for depmode in $am_compiler_list; do
15719
# Setup a source with many dependencies, because some compilers
15720
# like to wrap large dependency lists on column 80 (with \), and
15721
# we should not choose a depcomp mode which is confused by this.
15723
# We need to recreate these files for each test, as the compiler may
15724
# overwrite some of them when testing with obscure command lines.
15725
# This happens at least with the AIX C compiler.
15727
for i in 1 2 3 4 5 6; do
15728
echo '#include "conftst'$i'.h"' >> sub/conftest.c
15729
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
15730
# Solaris 8's {/usr,}/bin/sh.
15731
touch sub/conftst$i.h
15733
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
15735
# We check with `-c' and `-o' for the sake of the "dashmstdout"
15736
# mode. It turns out that the SunPro C++ compiler does not properly
15737
# handle `-M -o', and we need to detect this. Also, some Intel
15738
# versions had trouble with output in subdirs
15739
am__obj=sub/conftest.${OBJEXT-o}
15740
am__minus_obj="-o $am__obj"
15743
# This depmode causes a compiler race in universal mode.
15744
test "$am__universal" = false || continue
15747
# after this tag, mechanisms are not by side-effect, so they'll
15748
# only be used when explicitly requested
15749
if test "x$enable_dependency_tracking" = xyes; then
15755
msvc7 | msvc7msys | msvisualcpp | msvcmsys)
15756
# This compiler won't grok `-c -o', but also, the minuso test has
15757
# not run yet. These depmodes are late enough in the game, and
15758
# so weak that their functioning should not be impacted.
15759
am__obj=conftest.${OBJEXT-o}
15764
if depmode=$depmode \
15765
source=sub/conftest.c object=$am__obj \
15766
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
15767
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
15768
>/dev/null 2>conftest.err &&
15769
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
15770
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
15771
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
15772
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
15773
# icc doesn't choke on unknown options, it will just issue warnings
15774
# or remarks (even with -Werror). So we grep stderr for any message
15775
# that says an option was ignored or not supported.
15776
# When given -MP, icc 7.0 and 7.1 complain thusly:
15777
# icc: Command line warning: ignoring option '-M'; no argument required
15778
# The diagnosis changed in icc 8.0:
15779
# icc: Command line remark: option '-MP' not supported
15780
if (grep 'ignoring option' conftest.err ||
15781
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
15782
am_cv_CC_dependencies_compiler_type=$depmode
15789
rm -rf conftest.dir
15791
am_cv_CC_dependencies_compiler_type=none
15795
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
15796
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
15797
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
15800
test "x$enable_dependency_tracking" != xno \
15801
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
15802
am__fastdepCC_TRUE=
15803
am__fastdepCC_FALSE='#'
15805
am__fastdepCC_TRUE='#'
15806
am__fastdepCC_FALSE=
15811
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
15812
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15813
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
15814
if test -n "$ac_tool_prefix"; then
15815
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
15817
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15818
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15819
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15820
$as_echo_n "checking for $ac_word... " >&6; }
15821
if ${ac_cv_prog_F77+:} false; then :
15822
$as_echo_n "(cached) " >&6
15824
if test -n "$F77"; then
15825
ac_cv_prog_F77="$F77" # Let the user override the test.
15827
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15828
for as_dir in $PATH
15831
test -z "$as_dir" && as_dir=.
15832
for ac_exec_ext in '' $ac_executable_extensions; do
15833
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15834
ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
15835
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15844
F77=$ac_cv_prog_F77
15845
if test -n "$F77"; then
15846
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $F77" >&5
15847
$as_echo "$F77" >&6; }
15849
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15850
$as_echo "no" >&6; }
15854
test -n "$F77" && break
15857
if test -z "$F77"; then
15859
for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgfortran pgf95 lf95 ftn
15861
# Extract the first word of "$ac_prog", so it can be a program name with args.
15862
set dummy $ac_prog; ac_word=$2
15863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15864
$as_echo_n "checking for $ac_word... " >&6; }
15865
if ${ac_cv_prog_ac_ct_F77+:} false; then :
15866
$as_echo_n "(cached) " >&6
15868
if test -n "$ac_ct_F77"; then
15869
ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
15871
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15872
for as_dir in $PATH
15875
test -z "$as_dir" && as_dir=.
15876
for ac_exec_ext in '' $ac_executable_extensions; do
15877
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15878
ac_cv_prog_ac_ct_F77="$ac_prog"
15879
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15888
ac_ct_F77=$ac_cv_prog_ac_ct_F77
15889
if test -n "$ac_ct_F77"; then
15890
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_F77" >&5
15891
$as_echo "$ac_ct_F77" >&6; }
15893
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15894
$as_echo "no" >&6; }
15898
test -n "$ac_ct_F77" && break
15901
if test "x$ac_ct_F77" = x; then
15904
case $cross_compiling:$ac_tool_warned in
15906
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15907
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15908
ac_tool_warned=yes ;;
15915
# Provide some information about the compiler.
15916
$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran 77 compiler version" >&5
15919
for ac_option in --version -v -V -qversion; do
15920
{ { ac_try="$ac_compiler $ac_option >&5"
15921
case "(($ac_try" in
15922
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15923
*) ac_try_echo=$ac_try;;
15925
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
15926
$as_echo "$ac_try_echo"; } >&5
15927
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
15929
if test -s conftest.err; then
15931
... rest of stderr output deleted ...
15932
10q' conftest.err >conftest.er1
15933
cat conftest.er1 >&5
15935
rm -f conftest.er1 conftest.err
15936
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15937
test $ac_status = 0; }
15941
# If we don't use `.F' as extension, the preprocessor is not run on the
15942
# input file. (Note that this only needs to work for GNU compilers.)
15943
ac_save_ext=$ac_ext
15945
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran 77 compiler" >&5
15946
$as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
15947
if ${ac_cv_f77_compiler_gnu+:} false; then :
15948
$as_echo_n "(cached) " >&6
15950
cat > conftest.$ac_ext <<_ACEOF
15958
if ac_fn_f77_try_compile "$LINENO"; then :
15959
ac_compiler_gnu=yes
15963
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964
ac_cv_f77_compiler_gnu=$ac_compiler_gnu
15967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_f77_compiler_gnu" >&5
15968
$as_echo "$ac_cv_f77_compiler_gnu" >&6; }
15969
ac_ext=$ac_save_ext
15970
ac_test_FFLAGS=${FFLAGS+set}
15971
ac_save_FFLAGS=$FFLAGS
15973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $F77 accepts -g" >&5
15974
$as_echo_n "checking whether $F77 accepts -g... " >&6; }
15975
if ${ac_cv_prog_f77_g+:} false; then :
15976
$as_echo_n "(cached) " >&6
15979
cat > conftest.$ac_ext <<_ACEOF
15984
if ac_fn_f77_try_compile "$LINENO"; then :
15985
ac_cv_prog_f77_g=yes
15987
ac_cv_prog_f77_g=no
15989
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15992
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_f77_g" >&5
15993
$as_echo "$ac_cv_prog_f77_g" >&6; }
15994
if test "$ac_test_FFLAGS" = set; then
15995
FFLAGS=$ac_save_FFLAGS
15996
elif test $ac_cv_prog_f77_g = yes; then
15997
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16003
if test "x$ac_cv_f77_compiler_gnu" = xyes; then
16010
if test $ac_compiler_gnu = yes; then
16016
ac_cpp='$CPP $CPPFLAGS'
16017
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16018
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16019
ac_compiler_gnu=$ac_cv_c_compiler_gnu
16022
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
16023
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16024
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
16026
if test -z "$F77" || test "X$F77" = "Xno"; then
16027
_lt_disable_F77=yes
16030
archive_cmds_need_lc_F77=no
16031
allow_undefined_flag_F77=
16032
always_export_symbols_F77=no
16033
archive_expsym_cmds_F77=
16034
export_dynamic_flag_spec_F77=
16035
hardcode_direct_F77=no
16036
hardcode_direct_absolute_F77=no
16037
hardcode_libdir_flag_spec_F77=
16038
hardcode_libdir_separator_F77=
16039
hardcode_minus_L_F77=no
16040
hardcode_automatic_F77=no
16041
inherit_rpath_F77=no
16043
module_expsym_cmds_F77=
16044
link_all_deplibs_F77=unknown
16045
old_archive_cmds_F77=$old_archive_cmds
16046
reload_flag_F77=$reload_flag
16047
reload_cmds_F77=$reload_cmds
16048
no_undefined_flag_F77=
16049
whole_archive_flag_spec_F77=
16050
enable_shared_with_static_runtimes_F77=no
16052
# Source file extension for f77 test sources.
16055
# Object file extension for compiled f77 test sources.
16059
# No sense in running all these tests if we already determined that
16060
# the F77 compiler isn't working. Some variables (like enable_shared)
16061
# are currently assumed to apply to all compilers on this platform,
16062
# and will be corrupted by setting them based on a non-working compiler.
16063
if test "$_lt_disable_F77" != yes; then
16064
# Code to be used in simple compile tests
16065
lt_simple_compile_test_code="\
16071
# Code to be used in simple link tests
16072
lt_simple_link_test_code="\
16077
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16084
# If no C compiler was specified, use CC.
16087
# If no C compiler flags were specified, use CFLAGS.
16088
LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
16090
# Allow CC to be a program name with arguments.
16094
# save warnings/boilerplate of simple test code
16095
ac_outfile=conftest.$ac_objext
16096
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16097
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16098
_lt_compiler_boilerplate=`cat conftest.err`
16101
ac_outfile=conftest.$ac_objext
16102
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16103
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16104
_lt_linker_boilerplate=`cat conftest.err`
16108
# Allow CC to be a program name with arguments.
16111
lt_save_CFLAGS=$CFLAGS
16116
for cc_temp in $compiler""; do
16118
compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16119
distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16124
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16127
if test -n "$compiler"; then
16128
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
16129
$as_echo_n "checking if libtool supports shared libraries... " >&6; }
16130
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
16131
$as_echo "$can_build_shared" >&6; }
16133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
16134
$as_echo_n "checking whether to build shared libraries... " >&6; }
16135
test "$can_build_shared" = "no" && enable_shared=no
16137
# On AIX, shared libraries and static libraries use the same namespace, and
16138
# are all built from PIC.
16141
test "$enable_shared" = yes && enable_static=no
16142
if test -n "$RANLIB"; then
16143
archive_cmds="$archive_cmds~\$RANLIB \$lib"
16144
postinstall_cmds='$RANLIB $lib'
16148
if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
16149
test "$enable_shared" = yes && enable_static=no
16153
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
16154
$as_echo "$enable_shared" >&6; }
16156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
16157
$as_echo_n "checking whether to build static libraries... " >&6; }
16158
# Make sure either enable_shared or enable_static is yes.
16159
test "$enable_shared" = yes || enable_static=yes
16160
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
16161
$as_echo "$enable_static" >&6; }
16167
## There is no encapsulation within the following macros, do not change
16168
## the running order or otherwise move them around unless you know exactly
16169
## what you are doing...
16170
lt_prog_compiler_wl_F77=
16171
lt_prog_compiler_pic_F77=
16172
lt_prog_compiler_static_F77=
16175
if test "$GCC" = yes; then
16176
lt_prog_compiler_wl_F77='-Wl,'
16177
lt_prog_compiler_static_F77='-static'
16181
# All AIX code is PIC.
16182
if test "$host_cpu" = ia64; then
16183
# AIX 5 now supports IA64 processor
16184
lt_prog_compiler_static_F77='-Bstatic'
16191
# see comment about AmigaOS4 .so support
16192
lt_prog_compiler_pic_F77='-fPIC'
16195
# FIXME: we need at least 68020 code to build shared libraries, but
16196
# adding the `-m68020' flag to GCC prevents building anything better,
16198
lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
16203
beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16204
# PIC is the default for these OSes.
16207
mingw* | cygwin* | pw32* | os2* | cegcc*)
16208
# This hack is so that the source file can tell whether it is being
16209
# built for inclusion in a dll (and should export symbols for example).
16210
# Although the cygwin gcc ignores -fPIC, still need this for old-style
16211
# (--disable-auto-import) libraries
16212
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16215
darwin* | rhapsody*)
16216
# PIC is the default on this platform
16217
# Common symbols not allowed in MH_DYLIB files
16218
lt_prog_compiler_pic_F77='-fno-common'
16222
# PIC is the default for Haiku.
16223
# The "-static" flag exists, but is broken.
16224
lt_prog_compiler_static_F77=
16228
# PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16229
# PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16230
# sets the default TLS model and affects inlining.
16236
lt_prog_compiler_pic_F77='-fPIC'
16242
# Interix 3.x gcc -fpic/-fPIC options generate broken code.
16243
# Instead, we relocate shared libraries at runtime.
16247
# Just because we use GCC doesn't mean we suddenly get shared libraries
16248
# on systems that don't support them.
16249
lt_prog_compiler_can_build_shared_F77=no
16254
# QNX uses GNU C++, but need to define -shared option too, otherwise
16255
# it will coredump.
16256
lt_prog_compiler_pic_F77='-fPIC -shared'
16260
if test -d /usr/nec; then
16261
lt_prog_compiler_pic_F77=-Kconform_pic
16266
lt_prog_compiler_pic_F77='-fPIC'
16270
case $cc_basename in
16271
nvcc*) # Cuda Compiler Driver 2.2
16272
lt_prog_compiler_wl_F77='-Xlinker '
16273
if test -n "$lt_prog_compiler_pic_F77"; then
16274
lt_prog_compiler_pic_F77="-Xcompiler $lt_prog_compiler_pic_F77"
16279
# PORTME Check for flag to pass linker flags through the system compiler.
16282
lt_prog_compiler_wl_F77='-Wl,'
16283
if test "$host_cpu" = ia64; then
16284
# AIX 5 now supports IA64 processor
16285
lt_prog_compiler_static_F77='-Bstatic'
16287
lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
16291
mingw* | cygwin* | pw32* | os2* | cegcc*)
16292
# This hack is so that the source file can tell whether it is being
16293
# built for inclusion in a dll (and should export symbols for example).
16294
lt_prog_compiler_pic_F77='-DDLL_EXPORT'
16297
hpux9* | hpux10* | hpux11*)
16298
lt_prog_compiler_wl_F77='-Wl,'
16299
# PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
16300
# not for PA HP-UX.
16306
lt_prog_compiler_pic_F77='+Z'
16309
# Is there a better lt_prog_compiler_static that works with the bundled CC?
16310
lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
16313
irix5* | irix6* | nonstopux*)
16314
lt_prog_compiler_wl_F77='-Wl,'
16315
# PIC (with -KPIC) is the default.
16316
lt_prog_compiler_static_F77='-non_shared'
16319
linux* | k*bsd*-gnu | kopensolaris*-gnu)
16320
case $cc_basename in
16321
# old Intel for x86_64 which still supported -KPIC.
16323
lt_prog_compiler_wl_F77='-Wl,'
16324
lt_prog_compiler_pic_F77='-KPIC'
16325
lt_prog_compiler_static_F77='-static'
16327
# icc used to be incompatible with GCC.
16328
# ICC 10 doesn't accept -KPIC any more.
16330
lt_prog_compiler_wl_F77='-Wl,'
16331
lt_prog_compiler_pic_F77='-fPIC'
16332
lt_prog_compiler_static_F77='-static'
16334
# Lahey Fortran 8.1.
16336
lt_prog_compiler_wl_F77='-Wl,'
16337
lt_prog_compiler_pic_F77='--shared'
16338
lt_prog_compiler_static_F77='--static'
16341
# NAG Fortran compiler
16342
lt_prog_compiler_wl_F77='-Wl,-Wl,,'
16343
lt_prog_compiler_pic_F77='-PIC'
16344
lt_prog_compiler_static_F77='-Bstatic'
16346
pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
16347
# Portland Group compilers (*not* the Pentium gcc compiler,
16348
# which looks to be a dead project)
16349
lt_prog_compiler_wl_F77='-Wl,'
16350
lt_prog_compiler_pic_F77='-fpic'
16351
lt_prog_compiler_static_F77='-Bstatic'
16354
lt_prog_compiler_wl_F77='-Wl,'
16355
# All Alpha code is PIC.
16356
lt_prog_compiler_static_F77='-non_shared'
16358
xl* | bgxl* | bgf* | mpixl*)
16359
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
16360
lt_prog_compiler_wl_F77='-Wl,'
16361
lt_prog_compiler_pic_F77='-qpic'
16362
lt_prog_compiler_static_F77='-qstaticlink'
16365
case `$CC -V 2>&1 | sed 5q` in
16366
*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
16367
# Sun Fortran 8.3 passes all unrecognized flags to the linker
16368
lt_prog_compiler_pic_F77='-KPIC'
16369
lt_prog_compiler_static_F77='-Bstatic'
16370
lt_prog_compiler_wl_F77=''
16372
*Sun\ F* | *Sun*Fortran*)
16373
lt_prog_compiler_pic_F77='-KPIC'
16374
lt_prog_compiler_static_F77='-Bstatic'
16375
lt_prog_compiler_wl_F77='-Qoption ld '
16379
lt_prog_compiler_pic_F77='-KPIC'
16380
lt_prog_compiler_static_F77='-Bstatic'
16381
lt_prog_compiler_wl_F77='-Wl,'
16383
*Intel*\ [CF]*Compiler*)
16384
lt_prog_compiler_wl_F77='-Wl,'
16385
lt_prog_compiler_pic_F77='-fPIC'
16386
lt_prog_compiler_static_F77='-static'
16389
lt_prog_compiler_wl_F77='-Wl,'
16390
lt_prog_compiler_pic_F77='-fpic'
16391
lt_prog_compiler_static_F77='-Bstatic'
16399
lt_prog_compiler_pic_F77='-KPIC'
16400
lt_prog_compiler_static_F77='-Bstatic'
16404
# QNX uses GNU C++, but need to define -shared option too, otherwise
16405
# it will coredump.
16406
lt_prog_compiler_pic_F77='-fPIC -shared'
16409
osf3* | osf4* | osf5*)
16410
lt_prog_compiler_wl_F77='-Wl,'
16411
# All OSF/1 code is PIC.
16412
lt_prog_compiler_static_F77='-non_shared'
16416
lt_prog_compiler_static_F77='-non_shared'
16420
lt_prog_compiler_pic_F77='-KPIC'
16421
lt_prog_compiler_static_F77='-Bstatic'
16422
case $cc_basename in
16423
f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
16424
lt_prog_compiler_wl_F77='-Qoption ld ';;
16426
lt_prog_compiler_wl_F77='-Wl,';;
16431
lt_prog_compiler_wl_F77='-Qoption ld '
16432
lt_prog_compiler_pic_F77='-PIC'
16433
lt_prog_compiler_static_F77='-Bstatic'
16436
sysv4 | sysv4.2uw2* | sysv4.3*)
16437
lt_prog_compiler_wl_F77='-Wl,'
16438
lt_prog_compiler_pic_F77='-KPIC'
16439
lt_prog_compiler_static_F77='-Bstatic'
16443
if test -d /usr/nec ;then
16444
lt_prog_compiler_pic_F77='-Kconform_pic'
16445
lt_prog_compiler_static_F77='-Bstatic'
16449
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16450
lt_prog_compiler_wl_F77='-Wl,'
16451
lt_prog_compiler_pic_F77='-KPIC'
16452
lt_prog_compiler_static_F77='-Bstatic'
16456
lt_prog_compiler_wl_F77='-Wl,'
16457
lt_prog_compiler_can_build_shared_F77=no
16461
lt_prog_compiler_pic_F77='-pic'
16462
lt_prog_compiler_static_F77='-Bstatic'
16466
lt_prog_compiler_can_build_shared_F77=no
16472
# For platforms which do not support PIC, -DPIC is meaningless:
16474
lt_prog_compiler_pic_F77=
16477
lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
16481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16482
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16483
if ${lt_cv_prog_compiler_pic_F77+:} false; then :
16484
$as_echo_n "(cached) " >&6
16486
lt_cv_prog_compiler_pic_F77=$lt_prog_compiler_pic_F77
16488
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_F77" >&5
16489
$as_echo "$lt_cv_prog_compiler_pic_F77" >&6; }
16490
lt_prog_compiler_pic_F77=$lt_cv_prog_compiler_pic_F77
16493
# Check to make sure the PIC flag actually works.
16495
if test -n "$lt_prog_compiler_pic_F77"; then
16496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
16497
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
16498
if ${lt_cv_prog_compiler_pic_works_F77+:} false; then :
16499
$as_echo_n "(cached) " >&6
16501
lt_cv_prog_compiler_pic_works_F77=no
16502
ac_outfile=conftest.$ac_objext
16503
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16504
lt_compiler_flag="$lt_prog_compiler_pic_F77"
16505
# Insert the option either (1) after the last *FLAGS variable, or
16506
# (2) before a word containing "conftest.", or (3) at the end.
16507
# Note that $ac_compile itself does not contain backslashes and begins
16508
# with a dollar sign (not a hyphen), so the echo should work correctly.
16509
# The option is referenced via a variable to avoid confusing sed.
16510
lt_compile=`echo "$ac_compile" | $SED \
16511
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16512
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16513
-e 's:$: $lt_compiler_flag:'`
16514
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16515
(eval "$lt_compile" 2>conftest.err)
16517
cat conftest.err >&5
16518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519
if (exit $ac_status) && test -s "$ac_outfile"; then
16520
# The compiler can only warn and ignore the option if not recognized
16521
# So say no if there are warnings other than the usual output.
16522
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16523
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16524
if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16525
lt_cv_prog_compiler_pic_works_F77=yes
16531
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_F77" >&5
16532
$as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
16534
if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
16535
case $lt_prog_compiler_pic_F77 in
16537
*) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
16540
lt_prog_compiler_pic_F77=
16541
lt_prog_compiler_can_build_shared_F77=no
16551
# Check to make sure the static flag actually works.
16553
wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
16554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16555
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16556
if ${lt_cv_prog_compiler_static_works_F77+:} false; then :
16557
$as_echo_n "(cached) " >&6
16559
lt_cv_prog_compiler_static_works_F77=no
16560
save_LDFLAGS="$LDFLAGS"
16561
LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16562
echo "$lt_simple_link_test_code" > conftest.$ac_ext
16563
if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16564
# The linker can only warn and ignore the option if not recognized
16565
# So say no if there are warnings
16566
if test -s conftest.err; then
16567
# Append any errors to the config.log.
16568
cat conftest.err 1>&5
16569
$ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16570
$SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16571
if diff conftest.exp conftest.er2 >/dev/null; then
16572
lt_cv_prog_compiler_static_works_F77=yes
16575
lt_cv_prog_compiler_static_works_F77=yes
16579
LDFLAGS="$save_LDFLAGS"
16582
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_F77" >&5
16583
$as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
16585
if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
16588
lt_prog_compiler_static_F77=
16594
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16595
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16596
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
16597
$as_echo_n "(cached) " >&6
16599
lt_cv_prog_compiler_c_o_F77=no
16600
$RM -r conftest 2>/dev/null
16604
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16606
lt_compiler_flag="-o out/conftest2.$ac_objext"
16607
# Insert the option either (1) after the last *FLAGS variable, or
16608
# (2) before a word containing "conftest.", or (3) at the end.
16609
# Note that $ac_compile itself does not contain backslashes and begins
16610
# with a dollar sign (not a hyphen), so the echo should work correctly.
16611
lt_compile=`echo "$ac_compile" | $SED \
16612
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16613
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16614
-e 's:$: $lt_compiler_flag:'`
16615
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16616
(eval "$lt_compile" 2>out/conftest.err)
16618
cat out/conftest.err >&5
16619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16622
# The compiler can only warn and ignore the option if not recognized
16623
# So say no if there are warnings
16624
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16625
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16626
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16627
lt_cv_prog_compiler_c_o_F77=yes
16632
# SGI C++ compiler will create directory out/ii_files/ for
16633
# template instantiation
16634
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16635
$RM out/* && rmdir out
16641
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
16642
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
16646
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16647
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16648
if ${lt_cv_prog_compiler_c_o_F77+:} false; then :
16649
$as_echo_n "(cached) " >&6
16651
lt_cv_prog_compiler_c_o_F77=no
16652
$RM -r conftest 2>/dev/null
16656
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16658
lt_compiler_flag="-o out/conftest2.$ac_objext"
16659
# Insert the option either (1) after the last *FLAGS variable, or
16660
# (2) before a word containing "conftest.", or (3) at the end.
16661
# Note that $ac_compile itself does not contain backslashes and begins
16662
# with a dollar sign (not a hyphen), so the echo should work correctly.
16663
lt_compile=`echo "$ac_compile" | $SED \
16664
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16665
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16666
-e 's:$: $lt_compiler_flag:'`
16667
(eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16668
(eval "$lt_compile" 2>out/conftest.err)
16670
cat out/conftest.err >&5
16671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672
if (exit $ac_status) && test -s out/conftest2.$ac_objext
16674
# The compiler can only warn and ignore the option if not recognized
16675
# So say no if there are warnings
16676
$ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16677
$SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16678
if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16679
lt_cv_prog_compiler_c_o_F77=yes
16684
# SGI C++ compiler will create directory out/ii_files/ for
16685
# template instantiation
16686
test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16687
$RM out/* && rmdir out
16693
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_F77" >&5
16694
$as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
16699
hard_links="nottested"
16700
if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
16701
# do not overwrite the value of need_locks provided by the user
16702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16703
$as_echo_n "checking if we can lock with hard links... " >&6; }
16706
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16708
ln conftest.a conftest.b 2>&5 || hard_links=no
16709
ln conftest.a conftest.b 2>/dev/null && hard_links=no
16710
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16711
$as_echo "$hard_links" >&6; }
16712
if test "$hard_links" = no; then
16713
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16714
$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16723
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16724
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16727
allow_undefined_flag_F77=
16728
always_export_symbols_F77=no
16730
archive_expsym_cmds_F77=
16731
compiler_needs_object_F77=no
16732
enable_shared_with_static_runtimes_F77=no
16733
export_dynamic_flag_spec_F77=
16734
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16735
hardcode_automatic_F77=no
16736
hardcode_direct_F77=no
16737
hardcode_direct_absolute_F77=no
16738
hardcode_libdir_flag_spec_F77=
16739
hardcode_libdir_separator_F77=
16740
hardcode_minus_L_F77=no
16741
hardcode_shlibpath_var_F77=unsupported
16742
inherit_rpath_F77=no
16743
link_all_deplibs_F77=unknown
16745
module_expsym_cmds_F77=
16746
old_archive_from_new_cmds_F77=
16747
old_archive_from_expsyms_cmds_F77=
16748
thread_safe_flag_spec_F77=
16749
whole_archive_flag_spec_F77=
16750
# include_expsyms should be a list of space-separated symbols to be *always*
16751
# included in the symbol list
16752
include_expsyms_F77=
16753
# exclude_expsyms can be an extended regexp of symbols to exclude
16754
# it will be wrapped by ` (' and `)$', so one must not match beginning or
16755
# end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
16756
# as well as any symbol that contains `d'.
16757
exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16758
# Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
16759
# platforms (ab)use it in PIC code, but their linkers get confused if
16760
# the symbol is explicitly referenced. Since portable code cannot
16761
# rely on this symbol name, it's probably fine to never include it in
16762
# preloaded symbol tables.
16763
# Exclude shared library initialization/finalization symbols.
16764
extract_expsyms_cmds=
16767
cygwin* | mingw* | pw32* | cegcc*)
16768
# FIXME: the MSVC++ port hasn't been tested in a loooong time
16769
# When not using gcc, we currently assume that we are using
16770
# Microsoft Visual C++.
16771
if test "$GCC" != yes; then
16776
# we just hope/assume this is gcc and not c89 (= MSVC++)
16782
linux* | k*bsd*-gnu | gnu*)
16783
link_all_deplibs_F77=no
16789
# On some targets, GNU ld is compatible enough with the native linker
16790
# that we're better off using the native interface for both.
16791
lt_use_gnu_ld_interface=no
16792
if test "$with_gnu_ld" = yes; then
16795
# The AIX port of GNU ld has always aspired to compatibility
16796
# with the native linker. However, as the warning in the GNU ld
16797
# block says, versions before 2.19.5* couldn't really create working
16798
# shared libraries, regardless of the interface used.
16799
case `$LD -v 2>&1` in
16800
*\ \(GNU\ Binutils\)\ 2.19.5*) ;;
16801
*\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
16802
*\ \(GNU\ Binutils\)\ [3-9]*) ;;
16804
lt_use_gnu_ld_interface=yes
16809
lt_use_gnu_ld_interface=yes
16814
if test "$lt_use_gnu_ld_interface" = yes; then
16815
# If archive_cmds runs LD, not CC, wlarc should be empty
16818
# Set some defaults for GNU ld with shared library support. These
16819
# are reset later if shared libraries are not supported. Putting them
16820
# here allows them to be overridden if necessary.
16821
runpath_var=LD_RUN_PATH
16822
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16823
export_dynamic_flag_spec_F77='${wl}--export-dynamic'
16824
# ancient GNU ld didn't support --whole-archive et. al.
16825
if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
16826
whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
16828
whole_archive_flag_spec_F77=
16830
supports_anon_versioning=no
16831
case `$LD -v 2>&1` in
16832
*GNU\ gold*) supports_anon_versioning=yes ;;
16833
*\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
16834
*\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
16835
*\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
16836
*\ 2.11.*) ;; # other 2.11 versions
16837
*) supports_anon_versioning=yes ;;
16840
# See if GNU ld supports shared libraries.
16843
# On AIX/PPC, the GNU linker is very broken
16844
if test "$host_cpu" != ia64; then
16848
*** Warning: the GNU linker, at least up to release 2.19, is reported
16849
*** to be unable to reliably create shared libraries on AIX.
16850
*** Therefore, libtool is disabling shared libraries support. If you
16851
*** really care for shared libraries, you may want to install binutils
16852
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
16853
*** You will then need to restart the configuration process.
16862
# see comment about AmigaOS4 .so support
16863
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16864
archive_expsym_cmds_F77=''
16867
archive_cmds_F77='$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)'
16868
hardcode_libdir_flag_spec_F77='-L$libdir'
16869
hardcode_minus_L_F77=yes
16875
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
16876
allow_undefined_flag_F77=unsupported
16877
# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
16878
# support --undefined. This deserves some investigation. FIXME
16879
archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16885
cygwin* | mingw* | pw32* | cegcc*)
16886
# _LT_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
16887
# as there is no search path for DLLs.
16888
hardcode_libdir_flag_spec_F77='-L$libdir'
16889
export_dynamic_flag_spec_F77='${wl}--export-all-symbols'
16890
allow_undefined_flag_F77=unsupported
16891
always_export_symbols_F77=no
16892
enable_shared_with_static_runtimes_F77=yes
16893
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
16894
exclude_expsyms_F77='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16896
if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
16897
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16898
# If the export-symbols file already is a .def file (1st line
16899
# is EXPORTS), use it as is; otherwise, prepend...
16900
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
16901
cp $export_symbols $output_objdir/$soname.def;
16903
echo EXPORTS > $output_objdir/$soname.def;
16904
cat $export_symbols >> $output_objdir/$soname.def;
16906
$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
16913
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16914
link_all_deplibs_F77=yes
16918
hardcode_direct_F77=no
16919
hardcode_shlibpath_var_F77=no
16920
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
16921
export_dynamic_flag_spec_F77='${wl}-E'
16922
# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16923
# Instead, shared libraries are loaded at an image base (0x10000000 by
16924
# default) and relocated if they conflict, which is a slow very memory
16925
# consuming and fragmenting process. To avoid this, we pick a random,
16926
# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16927
# time. Moving up from 0x10000000 also allows more sbrk(2) space.
16928
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16929
archive_expsym_cmds_F77='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'
16932
gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
16934
if test "$host_os" = linux-dietlibc; then
16935
case $cc_basename in
16936
diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
16939
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
16940
&& test "$tmp_diet" = no
16942
tmp_addflag=' $pic_flag'
16943
tmp_sharedflag='-shared'
16944
case $cc_basename,$host_cpu in
16945
pgcc*) # Portland Group C compiler
16946
whole_archive_flag_spec_F77='${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'
16947
tmp_addflag=' $pic_flag'
16949
pgf77* | pgf90* | pgf95* | pgfortran*)
16950
# Portland Group f77 and f90 compilers
16951
whole_archive_flag_spec_F77='${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'
16952
tmp_addflag=' $pic_flag -Mnomain' ;;
16953
ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
16954
tmp_addflag=' -i_dynamic' ;;
16955
efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
16956
tmp_addflag=' -i_dynamic -nofor_main' ;;
16957
ifc* | ifort*) # Intel Fortran compiler
16958
tmp_addflag=' -nofor_main' ;;
16959
lf95*) # Lahey Fortran 8.1
16960
whole_archive_flag_spec_F77=
16961
tmp_sharedflag='--shared' ;;
16962
xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
16963
tmp_sharedflag='-qmkshrobj'
16965
nvcc*) # Cuda Compiler Driver 2.2
16966
whole_archive_flag_spec_F77='${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'
16967
compiler_needs_object_F77=yes
16970
case `$CC -V 2>&1 | sed 5q` in
16971
*Sun\ C*) # Sun C 5.9
16972
whole_archive_flag_spec_F77='${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'
16973
compiler_needs_object_F77=yes
16974
tmp_sharedflag='-G' ;;
16975
*Sun\ F*) # Sun Fortran 8.3
16976
tmp_sharedflag='-G' ;;
16978
archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
16980
if test "x$supports_anon_versioning" = xyes; then
16981
archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
16982
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16983
echo "local: *; };" >> $output_objdir/$libname.ver~
16984
$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
16987
case $cc_basename in
16988
xlf* | bgf* | bgxlf* | mpixlf*)
16989
# IBM XL Fortran 10.1 on PPC cannot create shared libs itself
16990
whole_archive_flag_spec_F77='--whole-archive$convenience --no-whole-archive'
16991
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
16992
archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
16993
if test "x$supports_anon_versioning" = xyes; then
16994
archive_expsym_cmds_F77='echo "{ global:" > $output_objdir/$libname.ver~
16995
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16996
echo "local: *; };" >> $output_objdir/$libname.ver~
16997
$LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
17006
netbsd* | netbsdelf*-gnu)
17007
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17008
archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
17011
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17012
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17017
if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
17021
*** Warning: The releases 2.8.* of the GNU linker cannot reliably
17022
*** create shared libraries on Solaris systems. Therefore, libtool
17023
*** is disabling shared libraries support. We urge you to upgrade GNU
17024
*** binutils to release 2.9.1 or newer. Another option is to modify
17025
*** your PATH or compiler configuration so that the native linker is
17026
*** used, and then restart.
17029
elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17030
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17031
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17037
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
17038
case `$LD -v 2>&1` in
17039
*\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
17043
*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
17044
*** reliably create shared libraries on SCO systems. Therefore, libtool
17045
*** is disabling shared libraries support. We urge you to upgrade GNU
17046
*** binutils to release 2.16.91.0.3 or newer. Another option is to modify
17047
*** your PATH or compiler configuration so that the native linker is
17048
*** used, and then restart.
17053
# For security reasons, it is highly recommended that you always
17054
# use absolute paths for naming shared libraries, and exclude the
17055
# DT_RUNPATH tag from executables and libraries. But doing so
17056
# requires that you compile everything twice, which is a pain.
17057
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17058
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17059
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17060
archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17069
archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17071
hardcode_direct_F77=yes
17072
hardcode_shlibpath_var_F77=no
17076
if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
17077
archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17078
archive_expsym_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
17085
if test "$ld_shlibs_F77" = no; then
17087
hardcode_libdir_flag_spec_F77=
17088
export_dynamic_flag_spec_F77=
17089
whole_archive_flag_spec_F77=
17092
# PORTME fill in a description of your system's linker (not GNU ld)
17095
allow_undefined_flag_F77=unsupported
17096
always_export_symbols_F77=yes
17097
archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
17098
# Note: this linker hardcodes the directories in LIBPATH if there
17099
# are no directories specified by -L.
17100
hardcode_minus_L_F77=yes
17101
if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
17102
# Neither direct hardcoding nor static linking is supported with a
17104
hardcode_direct_F77=unsupported
17109
if test "$host_cpu" = ia64; then
17110
# On IA64, the linker does run time linking by default, so we don't
17111
# have to do anything special.
17112
aix_use_runtimelinking=no
17113
exp_sym_flag='-Bexport'
17116
# If we're using GNU nm, then we don't want the "-C" option.
17117
# -C means demangle to AIX nm, but means don't demangle with GNU nm
17118
# Also, AIX nm treats weak defined symbols like other global
17119
# defined symbols, whereas GNU nm marks them as "W".
17120
if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17121
export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17123
export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
17125
aix_use_runtimelinking=no
17127
# Test if we are trying to use run time linking or normal
17128
# AIX style linking. If -brtl is somewhere in LDFLAGS, we
17129
# need to do runtime linking.
17130
case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
17131
for ld_flag in $LDFLAGS; do
17132
if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
17133
aix_use_runtimelinking=yes
17140
exp_sym_flag='-bexport'
17141
no_entry_flag='-bnoentry'
17144
# When large executables or shared objects are built, AIX ld can
17145
# have problems creating the table of contents. If linking a library
17146
# or program results in "error TOC overflow" add -mminimal-toc to
17147
# CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
17148
# enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
17150
archive_cmds_F77=''
17151
hardcode_direct_F77=yes
17152
hardcode_direct_absolute_F77=yes
17153
hardcode_libdir_separator_F77=':'
17154
link_all_deplibs_F77=yes
17155
file_list_spec_F77='${wl}-f,'
17157
if test "$GCC" = yes; then
17158
case $host_os in aix4.[012]|aix4.[012].*)
17159
# We only want to do this on AIX 4.2 and lower, the check
17160
# below for broken collect2 doesn't work under 4.3+
17161
collect2name=`${CC} -print-prog-name=collect2`
17162
if test -f "$collect2name" &&
17163
strings "$collect2name" | $GREP resolve_lib_name >/dev/null
17165
# We have reworked collect2
17168
# We have old collect2
17169
hardcode_direct_F77=unsupported
17170
# It fails to find uninstalled libraries when the uninstalled
17171
# path is not listed in the libpath. Setting hardcode_minus_L
17172
# to unsupported forces relinking
17173
hardcode_minus_L_F77=yes
17174
hardcode_libdir_flag_spec_F77='-L$libdir'
17175
hardcode_libdir_separator_F77=
17179
shared_flag='-shared'
17180
if test "$aix_use_runtimelinking" = yes; then
17181
shared_flag="$shared_flag "'${wl}-G'
17183
link_all_deplibs_F77=no
17186
if test "$host_cpu" = ia64; then
17187
# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
17188
# chokes on -Wl,-G. The following line is correct:
17191
if test "$aix_use_runtimelinking" = yes; then
17192
shared_flag='${wl}-G'
17194
shared_flag='${wl}-bM:SRE'
17199
export_dynamic_flag_spec_F77='${wl}-bexpall'
17200
# It seems that -bexpall does not export symbols beginning with
17201
# underscore (_), so it is better to generate a list of symbols to export.
17202
always_export_symbols_F77=yes
17203
if test "$aix_use_runtimelinking" = yes; then
17204
# Warning - without using the other runtime loading flags (-brtl),
17205
# -berok will link without error, but may produce a broken library.
17206
allow_undefined_flag_F77='-berok'
17207
# Determine the default libpath from the value encoded in an
17208
# empty executable.
17209
if test "${lt_cv_aix_libpath+set}" = set; then
17210
aix_libpath=$lt_cv_aix_libpath
17212
if ${lt_cv_aix_libpath__F77+:} false; then :
17213
$as_echo_n "(cached) " >&6
17215
cat > conftest.$ac_ext <<_ACEOF
17220
if ac_fn_f77_try_link "$LINENO"; then :
17222
lt_aix_libpath_sed='
17223
/Import File Strings/,/^$/ {
17225
s/^0 *\([^ ]*\) *$/\1/
17229
lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17230
# Check for a 64-bit object if we didn't find anything.
17231
if test -z "$lt_cv_aix_libpath__F77"; then
17232
lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17235
rm -f core conftest.err conftest.$ac_objext \
17236
conftest$ac_exeext conftest.$ac_ext
17237
if test -z "$lt_cv_aix_libpath__F77"; then
17238
lt_cv_aix_libpath__F77="/usr/lib:/lib"
17243
aix_libpath=$lt_cv_aix_libpath__F77
17246
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17247
archive_expsym_cmds_F77='$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"
17249
if test "$host_cpu" = ia64; then
17250
hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
17251
allow_undefined_flag_F77="-z nodefs"
17252
archive_expsym_cmds_F77="\$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"
17254
# Determine the default libpath from the value encoded in an
17255
# empty executable.
17256
if test "${lt_cv_aix_libpath+set}" = set; then
17257
aix_libpath=$lt_cv_aix_libpath
17259
if ${lt_cv_aix_libpath__F77+:} false; then :
17260
$as_echo_n "(cached) " >&6
17262
cat > conftest.$ac_ext <<_ACEOF
17267
if ac_fn_f77_try_link "$LINENO"; then :
17269
lt_aix_libpath_sed='
17270
/Import File Strings/,/^$/ {
17272
s/^0 *\([^ ]*\) *$/\1/
17276
lt_cv_aix_libpath__F77=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17277
# Check for a 64-bit object if we didn't find anything.
17278
if test -z "$lt_cv_aix_libpath__F77"; then
17279
lt_cv_aix_libpath__F77=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17282
rm -f core conftest.err conftest.$ac_objext \
17283
conftest$ac_exeext conftest.$ac_ext
17284
if test -z "$lt_cv_aix_libpath__F77"; then
17285
lt_cv_aix_libpath__F77="/usr/lib:/lib"
17290
aix_libpath=$lt_cv_aix_libpath__F77
17293
hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
17294
# Warning - without using the other run time loading flags,
17295
# -berok will link without error, but may produce a broken library.
17296
no_undefined_flag_F77=' ${wl}-bernotok'
17297
allow_undefined_flag_F77=' ${wl}-berok'
17298
if test "$with_gnu_ld" = yes; then
17299
# We only use this code for GNU lds that support --whole-archive.
17300
whole_archive_flag_spec_F77='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
17302
# Exported symbols can be pulled into shared objects from archives
17303
whole_archive_flag_spec_F77='$convenience'
17305
archive_cmds_need_lc_F77=yes
17306
# This is similar to how AIX traditionally builds its shared libraries.
17307
archive_expsym_cmds_F77="\$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'
17315
# see comment about AmigaOS4 .so support
17316
archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17317
archive_expsym_cmds_F77=''
17320
archive_cmds_F77='$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)'
17321
hardcode_libdir_flag_spec_F77='-L$libdir'
17322
hardcode_minus_L_F77=yes
17328
export_dynamic_flag_spec_F77=-rdynamic
17331
cygwin* | mingw* | pw32* | cegcc*)
17332
# When not using gcc, we currently assume that we are using
17333
# Microsoft Visual C++.
17334
# hardcode_libdir_flag_spec is actually meaningless, as there is
17335
# no search path for DLLs.
17336
case $cc_basename in
17339
hardcode_libdir_flag_spec_F77=' '
17340
allow_undefined_flag_F77=unsupported
17341
always_export_symbols_F77=yes
17342
file_list_spec_F77='@'
17343
# Tell ltmain to make .lib files, not .a files.
17345
# Tell ltmain to make .dll files, not .so files.
17347
# FIXME: Setting linknames here is a bad hack.
17348
archive_cmds_F77='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
17349
archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17350
sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
17352
sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
17354
$CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
17356
# The linker will not automatically build a static lib if we build a DLL.
17357
# _LT_TAGVAR(old_archive_from_new_cmds, F77)='true'
17358
enable_shared_with_static_runtimes_F77=yes
17359
exclude_expsyms_F77='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17360
export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17362
old_postinstall_cmds_F77='chmod 644 $oldlib'
17363
postlink_cmds_F77='lt_outputfile="@OUTPUT@"~
17364
lt_tool_outputfile="@TOOL_OUTPUT@"~
17365
case $lt_outputfile in
17368
lt_outputfile="$lt_outputfile.exe"
17369
lt_tool_outputfile="$lt_tool_outputfile.exe"
17372
if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
17373
$MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
17374
$RM "$lt_outputfile.manifest";
17378
# Assume MSVC wrapper
17379
hardcode_libdir_flag_spec_F77=' '
17380
allow_undefined_flag_F77=unsupported
17381
# Tell ltmain to make .lib files, not .a files.
17383
# Tell ltmain to make .dll files, not .so files.
17385
# FIXME: Setting linknames here is a bad hack.
17386
archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
17387
# The linker will automatically build a .lib file if we build a DLL.
17388
old_archive_from_new_cmds_F77='true'
17389
# FIXME: Should let the user specify the lib program.
17390
old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
17391
enable_shared_with_static_runtimes_F77=yes
17396
darwin* | rhapsody*)
17399
archive_cmds_need_lc_F77=no
17400
hardcode_direct_F77=no
17401
hardcode_automatic_F77=yes
17402
hardcode_shlibpath_var_F77=unsupported
17403
if test "$lt_cv_ld_force_load" = "yes"; then
17404
whole_archive_flag_spec_F77='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
17405
compiler_needs_object_F77=yes
17407
whole_archive_flag_spec_F77=''
17409
link_all_deplibs_F77=yes
17410
allow_undefined_flag_F77="$_lt_dar_allow_undefined"
17411
case $cc_basename in
17412
ifort*) _lt_dar_can_shared=yes ;;
17413
*) _lt_dar_can_shared=$GCC ;;
17415
if test "$_lt_dar_can_shared" = "yes"; then
17416
output_verbose_link_cmd=func_echo_all
17417
archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
17418
module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
17419
archive_expsym_cmds_F77="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}"
17420
module_expsym_cmds_F77="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}"
17429
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17430
hardcode_libdir_flag_spec_F77='-L$libdir'
17431
hardcode_shlibpath_var_F77=no
17434
# FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
17435
# support. Future versions do this automatically, but an explicit c++rt0.o
17436
# does not break anything, and helps significantly (at the cost of a little
17439
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
17440
hardcode_libdir_flag_spec_F77='-R$libdir'
17441
hardcode_direct_F77=yes
17442
hardcode_shlibpath_var_F77=no
17445
# Unfortunately, older versions of FreeBSD 2 do not have this feature.
17447
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17448
hardcode_direct_F77=yes
17449
hardcode_minus_L_F77=yes
17450
hardcode_shlibpath_var_F77=no
17453
# FreeBSD 3 and greater uses gcc -shared to do shared libraries.
17454
freebsd* | dragonfly*)
17455
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17456
hardcode_libdir_flag_spec_F77='-R$libdir'
17457
hardcode_direct_F77=yes
17458
hardcode_shlibpath_var_F77=no
17462
if test "$GCC" = yes; then
17463
archive_cmds_F77='$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'
17465
archive_cmds_F77='$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'
17467
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17468
hardcode_libdir_separator_F77=:
17469
hardcode_direct_F77=yes
17471
# hardcode_minus_L: Not really in the search PATH,
17472
# but as the default location of the library.
17473
hardcode_minus_L_F77=yes
17474
export_dynamic_flag_spec_F77='${wl}-E'
17478
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
17479
archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17481
archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
17483
if test "$with_gnu_ld" = no; then
17484
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17485
hardcode_libdir_separator_F77=:
17486
hardcode_direct_F77=yes
17487
hardcode_direct_absolute_F77=yes
17488
export_dynamic_flag_spec_F77='${wl}-E'
17489
# hardcode_minus_L: Not really in the search PATH,
17490
# but as the default location of the library.
17491
hardcode_minus_L_F77=yes
17496
if test "$GCC" = yes && test "$with_gnu_ld" = no; then
17499
archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17502
archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17505
archive_cmds_F77='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17511
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17514
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
17517
archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
17521
if test "$with_gnu_ld" = no; then
17522
hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
17523
hardcode_libdir_separator_F77=:
17527
hardcode_direct_F77=no
17528
hardcode_shlibpath_var_F77=no
17531
hardcode_direct_F77=yes
17532
hardcode_direct_absolute_F77=yes
17533
export_dynamic_flag_spec_F77='${wl}-E'
17535
# hardcode_minus_L: Not really in the search PATH,
17536
# but as the default location of the library.
17537
hardcode_minus_L_F77=yes
17543
irix5* | irix6* | nonstopux*)
17544
if test "$GCC" = yes; then
17545
archive_cmds_F77='$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'
17546
# Try to use the -exported_symbol ld option, if it does not
17547
# work, assume that -exports_file does not work either and
17548
# implicitly export all symbols.
17549
# This should be the same for all languages, so no per-tag cache variable.
17550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
17551
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
17552
if ${lt_cv_irix_exported_symbol+:} false; then :
17553
$as_echo_n "(cached) " >&6
17555
save_LDFLAGS="$LDFLAGS"
17556
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
17557
cat > conftest.$ac_ext <<_ACEOF
17562
if ac_fn_f77_try_link "$LINENO"; then :
17563
lt_cv_irix_exported_symbol=yes
17565
lt_cv_irix_exported_symbol=no
17567
rm -f core conftest.err conftest.$ac_objext \
17568
conftest$ac_exeext conftest.$ac_ext
17569
LDFLAGS="$save_LDFLAGS"
17571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
17572
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
17573
if test "$lt_cv_irix_exported_symbol" = yes; then
17574
archive_expsym_cmds_F77='$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'
17577
archive_cmds_F77='$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'
17578
archive_expsym_cmds_F77='$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'
17580
archive_cmds_need_lc_F77='no'
17581
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17582
hardcode_libdir_separator_F77=:
17583
inherit_rpath_F77=yes
17584
link_all_deplibs_F77=yes
17587
netbsd* | netbsdelf*-gnu)
17588
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17589
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
17591
archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
17593
hardcode_libdir_flag_spec_F77='-R$libdir'
17594
hardcode_direct_F77=yes
17595
hardcode_shlibpath_var_F77=no
17599
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17600
hardcode_direct_F77=yes
17601
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17602
hardcode_libdir_separator_F77=:
17603
hardcode_shlibpath_var_F77=no
17610
if test -f /usr/libexec/ld.so; then
17611
hardcode_direct_F77=yes
17612
hardcode_shlibpath_var_F77=no
17613
hardcode_direct_absolute_F77=yes
17614
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17615
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17616
archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17617
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17618
export_dynamic_flag_spec_F77='${wl}-E'
17621
openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17622
archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17623
hardcode_libdir_flag_spec_F77='-R$libdir'
17626
archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17627
hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
17637
hardcode_libdir_flag_spec_F77='-L$libdir'
17638
hardcode_minus_L_F77=yes
17639
allow_undefined_flag_F77=unsupported
17640
archive_cmds_F77='$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'
17641
old_archive_from_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
17645
if test "$GCC" = yes; then
17646
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17647
archive_cmds_F77='$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'
17649
allow_undefined_flag_F77=' -expect_unresolved \*'
17650
archive_cmds_F77='$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'
17652
archive_cmds_need_lc_F77='no'
17653
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17654
hardcode_libdir_separator_F77=:
17657
osf4* | osf5*) # as osf3* with the addition of -msym flag
17658
if test "$GCC" = yes; then
17659
allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
17660
archive_cmds_F77='$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'
17661
hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
17663
allow_undefined_flag_F77=' -expect_unresolved \*'
17664
archive_cmds_F77='$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'
17665
archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
17666
$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'
17668
# Both c and cxx compiler support -rpath directly
17669
hardcode_libdir_flag_spec_F77='-rpath $libdir'
17671
archive_cmds_need_lc_F77='no'
17672
hardcode_libdir_separator_F77=:
17676
no_undefined_flag_F77=' -z defs'
17677
if test "$GCC" = yes; then
17679
archive_cmds_F77='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
17680
archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17681
$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'
17683
case `$CC -V 2>&1` in
17686
archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
17687
archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17688
$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
17692
archive_cmds_F77='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
17693
archive_expsym_cmds_F77='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17694
$CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
17698
hardcode_libdir_flag_spec_F77='-R$libdir'
17699
hardcode_shlibpath_var_F77=no
17701
solaris2.[0-5] | solaris2.[0-5].*) ;;
17703
# The compiler driver will combine and reorder linker options,
17704
# but understands `-z linker_flag'. GCC discards it without `$wl',
17705
# but is careful enough not to reorder.
17706
# Supported since Solaris 2.6 (maybe 2.5.1?)
17707
if test "$GCC" = yes; then
17708
whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
17710
whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
17714
link_all_deplibs_F77=yes
17718
if test "x$host_vendor" = xsequent; then
17719
# Use $CC to link under sequent, because it throws in some extra .o
17720
# files that make .init and .fini sections work.
17721
archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
17723
archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
17725
hardcode_libdir_flag_spec_F77='-L$libdir'
17726
hardcode_direct_F77=yes
17727
hardcode_minus_L_F77=yes
17728
hardcode_shlibpath_var_F77=no
17732
case $host_vendor in
17734
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17735
hardcode_direct_F77=yes # is this really true???
17738
## LD is ld it makes a PLAMLIB
17739
## CC just makes a GrossModule.
17740
archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
17741
reload_cmds_F77='$CC -r -o $output$reload_objs'
17742
hardcode_direct_F77=no
17745
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17746
hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
17749
runpath_var='LD_RUN_PATH'
17750
hardcode_shlibpath_var_F77=no
17754
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17755
hardcode_shlibpath_var_F77=no
17756
export_dynamic_flag_spec_F77='-Bexport'
17760
if test -d /usr/nec; then
17761
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17762
hardcode_shlibpath_var_F77=no
17763
runpath_var=LD_RUN_PATH
17764
hardcode_runpath_var=yes
17769
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
17770
no_undefined_flag_F77='${wl}-z,text'
17771
archive_cmds_need_lc_F77=no
17772
hardcode_shlibpath_var_F77=no
17773
runpath_var='LD_RUN_PATH'
17775
if test "$GCC" = yes; then
17776
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17777
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17779
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17780
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17784
sysv5* | sco3.2v5* | sco5v6*)
17785
# Note: We can NOT use -z defs as we might desire, because we do not
17786
# link with -lc, and that would cause any symbols used from libc to
17787
# always be unresolved, which means just about no library would
17788
# ever link correctly. If we're not using GNU ld we use -z text
17789
# though, which does catch some bad symbols but isn't as heavy-handed
17791
no_undefined_flag_F77='${wl}-z,text'
17792
allow_undefined_flag_F77='${wl}-z,nodefs'
17793
archive_cmds_need_lc_F77=no
17794
hardcode_shlibpath_var_F77=no
17795
hardcode_libdir_flag_spec_F77='${wl}-R,$libdir'
17796
hardcode_libdir_separator_F77=':'
17797
link_all_deplibs_F77=yes
17798
export_dynamic_flag_spec_F77='${wl}-Bexport'
17799
runpath_var='LD_RUN_PATH'
17801
if test "$GCC" = yes; then
17802
archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17803
archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17805
archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17806
archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
17811
archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
17812
hardcode_libdir_flag_spec_F77='-L$libdir'
17813
hardcode_shlibpath_var_F77=no
17821
if test x$host_vendor = xsni; then
17823
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
17824
export_dynamic_flag_spec_F77='${wl}-Blargedynsym'
17830
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_F77" >&5
17831
$as_echo "$ld_shlibs_F77" >&6; }
17832
test "$ld_shlibs_F77" = no && can_build_shared=no
17834
with_gnu_ld_F77=$with_gnu_ld
17842
# Do we need to explicitly link libc?
17844
case "x$archive_cmds_need_lc_F77" in
17846
# Assume -lc should be added
17847
archive_cmds_need_lc_F77=yes
17849
if test "$enable_shared" = yes && test "$GCC" = yes; then
17850
case $archive_cmds_F77 in
17852
# FIXME: we may have to deal with multi-command sequences.
17855
# Test whether the compiler implicitly links with -lc since on some
17856
# systems, -lgcc has to come before -lc. If gcc already passes -lc
17857
# to ld, don't add -lc before -lgcc.
17858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17859
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17860
if ${lt_cv_archive_cmds_need_lc_F77+:} false; then :
17861
$as_echo_n "(cached) " >&6
17864
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17866
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17867
(eval $ac_compile) 2>&5
17869
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17870
test $ac_status = 0; } 2>conftest.err; then
17873
libobjs=conftest.$ac_objext
17875
wl=$lt_prog_compiler_wl_F77
17876
pic_flag=$lt_prog_compiler_pic_F77
17882
lt_save_allow_undefined_flag=$allow_undefined_flag_F77
17883
allow_undefined_flag_F77=
17884
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17885
(eval $archive_cmds_F77 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17887
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17888
test $ac_status = 0; }
17890
lt_cv_archive_cmds_need_lc_F77=no
17892
lt_cv_archive_cmds_need_lc_F77=yes
17894
allow_undefined_flag_F77=$lt_save_allow_undefined_flag
17896
cat conftest.err 1>&5
17901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_F77" >&5
17902
$as_echo "$lt_cv_archive_cmds_need_lc_F77" >&6; }
17903
archive_cmds_need_lc_F77=$lt_cv_archive_cmds_need_lc_F77
17971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17972
$as_echo_n "checking dynamic linker characteristics... " >&6; }
17974
library_names_spec=
17975
libname_spec='lib$name'
17979
postuninstall_cmds=
17983
shlibpath_overrides_runpath=unknown
17985
dynamic_linker="$host_os ld.so"
17986
sys_lib_dlsearch_path_spec="/lib /usr/lib"
17987
need_lib_prefix=unknown
17988
hardcode_into_libs=no
17990
# when you set need_version to no, make sure it does not cause -set_version
17991
# flags to be left without arguments
17992
need_version=unknown
17996
version_type=linux # correct to gnu/linux during the next big refactor
17997
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
17998
shlibpath_var=LIBPATH
18000
# AIX 3 has no versioning support, so we append a major version to the name.
18001
soname_spec='${libname}${release}${shared_ext}$major'
18005
version_type=linux # correct to gnu/linux during the next big refactor
18008
hardcode_into_libs=yes
18009
if test "$host_cpu" = ia64; then
18010
# AIX 5 supports IA64
18011
library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
18012
shlibpath_var=LD_LIBRARY_PATH
18014
# With GCC up to 2.95.x, collect2 would create an import file
18015
# for dependence libraries. The import file would start with
18016
# the line `#! .'. This would cause the generated library to
18017
# depend on `.', always an invalid library. This was fixed in
18018
# development snapshots of GCC prior to 3.0.
18020
aix4 | aix4.[01] | aix4.[01].*)
18021
if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
18023
echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
18026
can_build_shared=no
18030
# AIX (on Power*) has no versioning support, so currently we can not hardcode correct
18031
# soname into executable. Probably we can add versioning support to
18032
# collect2, so additional links can be useful in future.
18033
if test "$aix_use_runtimelinking" = yes; then
18034
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
18035
# instead of lib<name>.a to let people know that these are not
18036
# typical AIX shared libraries.
18037
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18039
# We preserve .a as extension for shared libraries through AIX4.2
18040
# and later when we are not doing run time linking.
18041
library_names_spec='${libname}${release}.a $libname.a'
18042
soname_spec='${libname}${release}${shared_ext}$major'
18044
shlibpath_var=LIBPATH
18051
# Since July 2007 AmigaOS4 officially supports .so libraries.
18052
# When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
18053
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18056
library_names_spec='$libname.ixlibrary $libname.a'
18057
# Create ${libname}_ixlibrary.a entries in /sys/libs.
18058
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'
18064
library_names_spec='${libname}${shared_ext}'
18065
dynamic_linker="$host_os ld.so"
18066
shlibpath_var=LIBRARY_PATH
18070
version_type=linux # correct to gnu/linux during the next big refactor
18072
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18073
soname_spec='${libname}${release}${shared_ext}$major'
18074
finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
18075
shlibpath_var=LD_LIBRARY_PATH
18076
sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
18077
sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
18078
# the default ld.so.conf also contains /usr/contrib/lib and
18079
# /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
18080
# libtool to hard-code these into programs
18083
cygwin* | mingw* | pw32* | cegcc*)
18084
version_type=windows
18089
case $GCC,$cc_basename in
18092
library_names_spec='$libname.dll.a'
18093
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18094
postinstall_cmds='base_file=`basename \${file}`~
18095
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18096
dldir=$destdir/`dirname \$dlpath`~
18097
test -d \$dldir || mkdir -p \$dldir~
18098
$install_prog $dir/$dlname \$dldir/$dlname~
18099
chmod a+x \$dldir/$dlname~
18100
if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18101
eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18103
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18104
dlpath=$dir/\$dldll~
18106
shlibpath_overrides_runpath=yes
18110
# Cygwin DLLs use 'cyg' prefix rather than 'lib'
18111
soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18115
# MinGW DLLs use traditional 'lib' prefix
18116
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18119
# pw32 DLLs use 'pw' prefix rather than 'lib'
18120
library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18123
dynamic_linker='Win32 ld.exe'
18128
libname_spec='$name'
18129
soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18130
library_names_spec='${libname}.dll.lib'
18134
sys_lib_search_path_spec=
18137
for lt_path in $LIB
18140
# Let DOS variable expansion print the short 8.3 style file name.
18141
lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
18142
sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
18145
# Convert to MSYS style.
18146
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
18149
# Convert to unix form, then to dos form, then back to unix form
18150
# but this time dos style (no spaces!) so that the unix form looks
18151
# like /cygdrive/c/PROGRA~1:/cygdr...
18152
sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
18153
sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
18154
sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18157
sys_lib_search_path_spec="$LIB"
18158
if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
18159
# It is most probably a Windows format PATH.
18160
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18162
sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
18164
# FIXME: find the short name or the path components, as spaces are
18165
# common. (e.g. "Program Files" -> "PROGRA~1")
18169
# DLL is installed to $(libdir)/../bin by postinstall_cmds
18170
postinstall_cmds='base_file=`basename \${file}`~
18171
dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
18172
dldir=$destdir/`dirname \$dlpath`~
18173
test -d \$dldir || mkdir -p \$dldir~
18174
$install_prog $dir/$dlname \$dldir/$dlname'
18175
postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
18176
dlpath=$dir/\$dldll~
18178
shlibpath_overrides_runpath=yes
18179
dynamic_linker='Win32 link.exe'
18183
# Assume MSVC wrapper
18184
library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
18185
dynamic_linker='Win32 ld.exe'
18188
# FIXME: first we should search . and the directory the executable is in
18192
darwin* | rhapsody*)
18193
dynamic_linker="$host_os dyld"
18194
version_type=darwin
18197
library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
18198
soname_spec='${libname}${release}${major}$shared_ext'
18199
shlibpath_overrides_runpath=yes
18200
shlibpath_var=DYLD_LIBRARY_PATH
18201
shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18203
sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18207
version_type=linux # correct to gnu/linux during the next big refactor
18210
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
18211
soname_spec='${libname}${release}${shared_ext}$major'
18212
shlibpath_var=LD_LIBRARY_PATH
18215
freebsd* | dragonfly*)
18216
# DragonFly does not have aout. When/if they implement a new
18217
# versioning mechanism, adjust this.
18218
if test -x /usr/bin/objformat; then
18219
objformat=`/usr/bin/objformat`
18222
freebsd[23].*) objformat=aout ;;
18223
*) objformat=elf ;;
18226
version_type=freebsd-$objformat
18227
case $version_type in
18229
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18234
library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
18238
shlibpath_var=LD_LIBRARY_PATH
18241
shlibpath_overrides_runpath=yes
18243
freebsd3.[01]* | freebsdelf3.[01]*)
18244
shlibpath_overrides_runpath=yes
18245
hardcode_into_libs=yes
18247
freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
18248
freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
18249
shlibpath_overrides_runpath=no
18250
hardcode_into_libs=yes
18252
*) # from 4.6 on, and DragonFly
18253
shlibpath_overrides_runpath=yes
18254
hardcode_into_libs=yes
18260
version_type=linux # correct to gnu/linux during the next big refactor
18263
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18264
soname_spec='${libname}${release}${shared_ext}$major'
18265
shlibpath_var=LD_LIBRARY_PATH
18266
shlibpath_overrides_runpath=no
18267
hardcode_into_libs=yes
18271
version_type=linux # correct to gnu/linux during the next big refactor
18274
dynamic_linker="$host_os runtime_loader"
18275
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
18276
soname_spec='${libname}${release}${shared_ext}$major'
18277
shlibpath_var=LIBRARY_PATH
18278
shlibpath_overrides_runpath=yes
18279
sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
18280
hardcode_into_libs=yes
18283
hpux9* | hpux10* | hpux11*)
18284
# Give a soname corresponding to the major version so that dld.sl refuses to
18285
# link against other versions.
18292
hardcode_into_libs=yes
18293
dynamic_linker="$host_os dld.so"
18294
shlibpath_var=LD_LIBRARY_PATH
18295
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18296
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18297
soname_spec='${libname}${release}${shared_ext}$major'
18298
if test "X$HPUX_IA64_MODE" = X32; then
18299
sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
18301
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
18303
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18307
hardcode_into_libs=yes
18308
dynamic_linker="$host_os dld.sl"
18309
shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
18310
shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
18311
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18312
soname_spec='${libname}${release}${shared_ext}$major'
18313
sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
18314
sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18318
dynamic_linker="$host_os dld.sl"
18319
shlibpath_var=SHLIB_PATH
18320
shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
18321
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18322
soname_spec='${libname}${release}${shared_ext}$major'
18325
# HP-UX runs *really* slowly unless shared libraries are mode 555, ...
18326
postinstall_cmds='chmod 555 $lib'
18327
# or fails outright, so override atomically:
18328
install_override_mode=555
18332
version_type=linux # correct to gnu/linux during the next big refactor
18335
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18336
soname_spec='${libname}${release}${shared_ext}$major'
18337
dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
18338
shlibpath_var=LD_LIBRARY_PATH
18339
shlibpath_overrides_runpath=no
18340
hardcode_into_libs=yes
18343
irix5* | irix6* | nonstopux*)
18345
nonstopux*) version_type=nonstopux ;;
18347
if test "$lt_cv_prog_gnu_ld" = yes; then
18348
version_type=linux # correct to gnu/linux during the next big refactor
18355
soname_spec='${libname}${release}${shared_ext}$major'
18356
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
18358
irix5* | nonstopux*)
18359
libsuff= shlibsuff=
18362
case $LD in # libtool.m4 will add one of these switches to LD
18363
*-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
18364
libsuff= shlibsuff= libmagic=32-bit;;
18365
*-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
18366
libsuff=32 shlibsuff=N32 libmagic=N32;;
18367
*-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18368
libsuff=64 shlibsuff=64 libmagic=64-bit;;
18369
*) libsuff= shlibsuff= libmagic=never-match;;
18373
shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18374
shlibpath_overrides_runpath=no
18375
sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
18376
sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
18377
hardcode_into_libs=yes
18380
# No shared lib support for Linux oldld, aout, or coff.
18381
linux*oldld* | linux*aout* | linux*coff*)
18385
# This must be glibc/ELF.
18386
linux* | k*bsd*-gnu | kopensolaris*-gnu)
18387
version_type=linux # correct to gnu/linux during the next big refactor
18390
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18391
soname_spec='${libname}${release}${shared_ext}$major'
18392
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18393
shlibpath_var=LD_LIBRARY_PATH
18394
shlibpath_overrides_runpath=no
18396
# Some binutils ld are patched to set DT_RUNPATH
18397
if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
18398
$as_echo_n "(cached) " >&6
18400
lt_cv_shlibpath_overrides_runpath=no
18401
save_LDFLAGS=$LDFLAGS
18402
save_libdir=$libdir
18403
eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_F77\"; \
18404
LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_F77\""
18405
cat > conftest.$ac_ext <<_ACEOF
18410
if ac_fn_f77_try_link "$LINENO"; then :
18411
if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18412
lt_cv_shlibpath_overrides_runpath=yes
18415
rm -f core conftest.err conftest.$ac_objext \
18416
conftest$ac_exeext conftest.$ac_ext
18417
LDFLAGS=$save_LDFLAGS
18418
libdir=$save_libdir
18422
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18424
# This implies no fast_install, which is unacceptable.
18425
# Some rework will be needed to allow for fast_install
18426
# before this can be enabled.
18427
hardcode_into_libs=yes
18429
# Append ld.so.conf contents to the search path
18430
if test -f /etc/ld.so.conf; then
18431
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' ' '`
18432
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18435
# We used to test for /lib/ld.so.1 and disable shared libraries on
18436
# powerpc, because MkLinux only supported shared libraries with the
18437
# GNU dynamic linker. Since this was broken with cross compilers,
18438
# most powerpc-linux boxes support dynamic linking these days and
18439
# people can always --disable-shared, the test was removed, and we
18440
# assume the GNU/Linux dynamic linker is in use.
18441
dynamic_linker='GNU/Linux ld.so'
18448
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18449
soname_spec='${libname}${release}${shared_ext}$major'
18450
shlibpath_var=LD_LIBRARY_PATH
18451
shlibpath_overrides_runpath=no
18452
hardcode_into_libs=yes
18453
dynamic_linker='NetBSD ld.elf_so'
18460
if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18461
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18462
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18463
dynamic_linker='NetBSD (a.out) ld.so'
18465
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
18466
soname_spec='${libname}${release}${shared_ext}$major'
18467
dynamic_linker='NetBSD ld.elf_so'
18469
shlibpath_var=LD_LIBRARY_PATH
18470
shlibpath_overrides_runpath=yes
18471
hardcode_into_libs=yes
18475
version_type=linux # correct to gnu/linux during the next big refactor
18476
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18477
shlibpath_var=LD_LIBRARY_PATH
18478
shlibpath_overrides_runpath=yes
18485
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18486
soname_spec='${libname}${release}${shared_ext}$major'
18487
shlibpath_var=LD_LIBRARY_PATH
18488
shlibpath_overrides_runpath=no
18489
hardcode_into_libs=yes
18490
dynamic_linker='ldqnx.so'
18495
sys_lib_dlsearch_path_spec="/usr/lib"
18497
# Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
18499
openbsd3.3 | openbsd3.3.*) need_version=yes ;;
18500
*) need_version=no ;;
18502
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18503
finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18504
shlibpath_var=LD_LIBRARY_PATH
18505
if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
18507
openbsd2.[89] | openbsd2.[89].*)
18508
shlibpath_overrides_runpath=no
18511
shlibpath_overrides_runpath=yes
18515
shlibpath_overrides_runpath=yes
18520
libname_spec='$name'
18523
library_names_spec='$libname${shared_ext} $libname.a'
18524
dynamic_linker='OS/2 ld.exe'
18525
shlibpath_var=LIBPATH
18528
osf3* | osf4* | osf5*)
18532
soname_spec='${libname}${release}${shared_ext}$major'
18533
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18534
shlibpath_var=LD_LIBRARY_PATH
18535
sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18536
sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18544
version_type=linux # correct to gnu/linux during the next big refactor
18547
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18548
soname_spec='${libname}${release}${shared_ext}$major'
18549
shlibpath_var=LD_LIBRARY_PATH
18550
shlibpath_overrides_runpath=yes
18551
hardcode_into_libs=yes
18552
# ldd complains unless libraries are executable
18553
postinstall_cmds='chmod +x $lib'
18558
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
18559
finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18560
shlibpath_var=LD_LIBRARY_PATH
18561
shlibpath_overrides_runpath=yes
18562
if test "$with_gnu_ld" = yes; then
18569
version_type=linux # correct to gnu/linux during the next big refactor
18570
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18571
soname_spec='${libname}${release}${shared_ext}$major'
18572
shlibpath_var=LD_LIBRARY_PATH
18573
case $host_vendor in
18575
shlibpath_overrides_runpath=no
18577
runpath_var=LD_RUN_PATH
18585
shlibpath_overrides_runpath=no
18586
sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18592
if test -d /usr/nec ;then
18593
version_type=linux # correct to gnu/linux during the next big refactor
18594
library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
18595
soname_spec='$libname${shared_ext}.$major'
18596
shlibpath_var=LD_LIBRARY_PATH
18600
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18601
version_type=freebsd-elf
18604
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
18605
soname_spec='${libname}${release}${shared_ext}$major'
18606
shlibpath_var=LD_LIBRARY_PATH
18607
shlibpath_overrides_runpath=yes
18608
hardcode_into_libs=yes
18609
if test "$with_gnu_ld" = yes; then
18610
sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18612
sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18615
sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18619
sys_lib_dlsearch_path_spec='/usr/lib'
18623
# TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18624
version_type=linux # correct to gnu/linux during the next big refactor
18627
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18628
shlibpath_var=LD_LIBRARY_PATH
18629
shlibpath_overrides_runpath=no
18630
hardcode_into_libs=yes
18634
version_type=linux # correct to gnu/linux during the next big refactor
18635
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
18636
soname_spec='${libname}${release}${shared_ext}$major'
18637
shlibpath_var=LD_LIBRARY_PATH
18644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18645
$as_echo "$dynamic_linker" >&6; }
18646
test "$dynamic_linker" = no && can_build_shared=no
18648
variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18649
if test "$GCC" = yes; then
18650
variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18653
if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
18654
sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
18656
if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
18657
sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
18697
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18698
$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18699
hardcode_action_F77=
18700
if test -n "$hardcode_libdir_flag_spec_F77" ||
18701
test -n "$runpath_var_F77" ||
18702
test "X$hardcode_automatic_F77" = "Xyes" ; then
18704
# We can hardcode non-existent directories.
18705
if test "$hardcode_direct_F77" != no &&
18706
# If the only mechanism to avoid hardcoding is shlibpath_var, we
18707
# have to relink, otherwise we might link with an installed library
18708
# when we should be linking with a yet-to-be-installed one
18709
## test "$_LT_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
18710
test "$hardcode_minus_L_F77" != no; then
18711
# Linking always hardcodes the temporary library directory.
18712
hardcode_action_F77=relink
18714
# We can link without hardcoding, and we can hardcode nonexisting dirs.
18715
hardcode_action_F77=immediate
18718
# We cannot hardcode anything, or else we can only hardcode existing
18720
hardcode_action_F77=unsupported
18722
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_F77" >&5
18723
$as_echo "$hardcode_action_F77" >&6; }
18725
if test "$hardcode_action_F77" = relink ||
18726
test "$inherit_rpath_F77" = yes; then
18727
# Fast installation is not supported
18728
enable_fast_install=no
18729
elif test "$shlibpath_overrides_runpath" = yes ||
18730
test "$enable_shared" = no; then
18731
# Fast installation is not necessary
18732
enable_fast_install=needless
18741
fi # test -n "$compiler"
18745
CFLAGS="$lt_save_CFLAGS"
18746
fi # test "$_lt_disable_F77" != yes
18749
ac_cpp='$CPP $CPPFLAGS'
18750
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18751
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18752
ac_compiler_gnu=$ac_cv_c_compiler_gnu
18756
# Checks for libraries.
18758
# Checks for header files.
18759
for ac_header in string.h
18761
ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
18762
if test "x$ac_cv_header_string_h" = xyes; then :
18763
cat >>confdefs.h <<_ACEOF
18764
#define HAVE_STRING_H 1
18772
# Checks for typedefs, structures, and compiler characteristics.
18773
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18774
$as_echo_n "checking for inline... " >&6; }
18775
if ${ac_cv_c_inline+:} false; then :
18776
$as_echo_n "(cached) " >&6
18779
for ac_kw in inline __inline__ __inline; do
18780
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18781
/* end confdefs.h. */
18782
#ifndef __cplusplus
18784
static $ac_kw foo_t static_foo () {return 0; }
18785
$ac_kw foo_t foo () {return 0; }
18789
if ac_fn_c_try_compile "$LINENO"; then :
18790
ac_cv_c_inline=$ac_kw
18792
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793
test "$ac_cv_c_inline" != no && break
18797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18798
$as_echo "$ac_cv_c_inline" >&6; }
18800
case $ac_cv_c_inline in
18803
case $ac_cv_c_inline in
18805
*) ac_val=$ac_cv_c_inline;;
18807
cat >>confdefs.h <<_ACEOF
18808
#ifndef __cplusplus
18809
#define inline $ac_val
18815
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
18816
if test "x$ac_cv_type_size_t" = xyes; then :
18820
cat >>confdefs.h <<_ACEOF
18821
#define size_t unsigned int
18827
# Checks for library functions.
18829
ac_config_files="$ac_config_files Makefile liborthpol-1.0.pc"
18831
cat >confcache <<\_ACEOF
18832
# This file is a shell script that caches the results of configure
18833
# tests run on this system so they can be shared between configure
18834
# scripts and configure runs, see configure's option --config-cache.
18835
# It is not useful on other systems. If it contains results you don't
18836
# want to keep, you may remove or edit it.
18838
# config.status only pays attention to the cache file if you give it
18839
# the --recheck option to rerun configure.
18841
# `ac_cv_env_foo' variables (set or unset) will be overridden when
18842
# loading this file, other *unset* `ac_cv_foo' will be assigned the
18843
# following values.
18847
# The following way of writing the cache mishandles newlines in values,
18848
# but we know of no workaround that is simple, portable, and efficient.
18849
# So, we kill variables containing newlines.
18850
# Ultrix sh set writes to stderr and can't be redirected directly,
18851
# and sets the high bit in the cache file unless we assign to the vars.
18853
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18854
eval ac_val=\$$ac_var
18858
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18859
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18862
_ | IFS | as_nl) ;; #(
18863
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18864
*) { eval $ac_var=; unset $ac_var;} ;;
18870
case $as_nl`(ac_space=' '; set) 2>&1` in #(
18871
*${as_nl}ac_space=\ *)
18872
# `set' does not quote correctly, so add quotes: double-quote
18873
# substitution turns \\\\ into \\, and sed turns \\ into \.
18876
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18879
# `set' quotes correctly as required by POSIX, so do not add quotes.
18880
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18889
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18891
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18893
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18894
if test -w "$cache_file"; then
18895
if test "x$cache_file" != "x/dev/null"; then
18896
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18897
$as_echo "$as_me: updating cache $cache_file" >&6;}
18898
if test ! -f "$cache_file" || test -h "$cache_file"; then
18899
cat confcache >"$cache_file"
18901
case $cache_file in #(
18903
mv -f confcache "$cache_file"$$ &&
18904
mv -f "$cache_file"$$ "$cache_file" ;; #(
18906
mv -f confcache "$cache_file" ;;
18911
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18912
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18917
test "x$prefix" = xNONE && prefix=$ac_default_prefix
18918
# Let make expand exec_prefix.
18919
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18921
DEFS=-DHAVE_CONFIG_H
18926
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18927
# 1. Remove the extension, and $U if already installed.
18928
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18929
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18930
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
18931
# will be set to the directory where LIBOBJS objects are built.
18932
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18933
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18935
LIBOBJS=$ac_libobjs
18937
LTLIBOBJS=$ac_ltlibobjs
18940
if test -n "$EXEEXT"; then
18942
am__EXEEXT_FALSE='#'
18944
am__EXEEXT_TRUE='#'
18948
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18949
as_fn_error $? "conditional \"AMDEP\" was never defined.
18950
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18952
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18953
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18954
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18956
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18957
as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18958
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18960
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18961
as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18962
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18965
: "${CONFIG_STATUS=./config.status}"
18967
ac_clean_files_save=$ac_clean_files
18968
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18969
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18970
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18972
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18974
# Generated by $as_me.
18975
# Run this file to recreate the current configuration.
18976
# Compiler output produced by configure, useful for debugging
18977
# configure, is in config.log if it exists.
18980
ac_cs_recheck=false
18983
SHELL=\${CONFIG_SHELL-$SHELL}
18986
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18987
## -------------------- ##
18988
## M4sh Initialization. ##
18989
## -------------------- ##
18991
# Be more Bourne compatible
18992
DUALCASE=1; export DUALCASE # for MKS sh
18993
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18996
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18997
# is contrary to our usage. Disable this feature.
18998
alias -g '${1+"$@"}'='"$@"'
18999
setopt NO_GLOB_SUBST
19001
case `(set -o) 2>/dev/null` in #(
19013
# Printing a long string crashes Solaris 7 /usr/bin/printf.
19014
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19015
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19016
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19017
# Prefer a ksh shell builtin over an external printf program on Solaris,
19018
# but without wasting forks for bash or zsh.
19019
if test -z "$BASH_VERSION$ZSH_VERSION" \
19020
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19021
as_echo='print -r --'
19022
as_echo_n='print -rn --'
19023
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19024
as_echo='printf %s\n'
19025
as_echo_n='printf %s'
19027
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19028
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19029
as_echo_n='/usr/ucb/echo -n'
19031
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19032
as_echo_n_body='eval
19036
expr "X$arg" : "X\\(.*\\)$as_nl";
19037
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19039
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19041
export as_echo_n_body
19042
as_echo_n='sh -c $as_echo_n_body as_echo'
19044
export as_echo_body
19045
as_echo='sh -c $as_echo_body as_echo'
19048
# The user is always right.
19049
if test "${PATH_SEPARATOR+set}" != set; then
19051
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19052
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19059
# We need space, tab and new line, in precisely that order. Quoting is
19060
# there to prevent editors from complaining about space-tab.
19061
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
19062
# splitting by setting IFS to empty value.)
19065
# Find who we are. Look in the path if we contain no directory separator.
19068
*[\\/]* ) as_myself=$0 ;;
19069
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19070
for as_dir in $PATH
19073
test -z "$as_dir" && as_dir=.
19074
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19080
# We did not find ourselves, most probably we were run as `sh COMMAND'
19081
# in which case we are not to be found in the path.
19082
if test "x$as_myself" = x; then
19085
if test ! -f "$as_myself"; then
19086
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19090
# Unset variables that we do not need and which cause bugs (e.g. in
19091
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19092
# suppresses any "Segmentation fault" message there. '((' could
19093
# trigger a bug in pdksh 5.2.14.
19094
for as_var in BASH_ENV ENV MAIL MAILPATH
19095
do eval test x\${$as_var+set} = xset \
19096
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19109
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19112
# as_fn_error STATUS ERROR [LINENO LOG_FD]
19113
# ----------------------------------------
19114
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19115
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19116
# script with STATUS, using 1 if that was 0.
19119
as_status=$1; test $as_status -eq 0 && as_status=1
19121
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19122
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19124
$as_echo "$as_me: error: $2" >&2
19125
as_fn_exit $as_status
19129
# as_fn_set_status STATUS
19130
# -----------------------
19131
# Set $? to STATUS, without forking.
19132
as_fn_set_status ()
19135
} # as_fn_set_status
19137
# as_fn_exit STATUS
19138
# -----------------
19139
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19143
as_fn_set_status $1
19149
# Portably unset VAR.
19152
{ eval $1=; unset $1;}
19154
as_unset=as_fn_unset
19155
# as_fn_append VAR VALUE
19156
# ----------------------
19157
# Append the text in VALUE to the end of the definition contained in VAR. Take
19158
# advantage of any shell optimizations that allow amortized linear growth over
19159
# repeated appends, instead of the typical quadratic growth present in naive
19161
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19162
eval 'as_fn_append ()
19173
# as_fn_arith ARG...
19174
# ------------------
19175
# Perform arithmetic evaluation on the ARGs, and store the result in the
19176
# global $as_val. Take advantage of shells that can avoid forks. The arguments
19177
# must be portable across $(()) and expr.
19178
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19179
eval 'as_fn_arith ()
19186
as_val=`expr "$@" || test $? -eq 1`
19191
if expr a : '\(a\)' >/dev/null 2>&1 &&
19192
test "X`expr 00001 : '.*\(...\)'`" = X001; then
19198
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19199
as_basename=basename
19204
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19210
as_me=`$as_basename -- "$0" ||
19211
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19212
X"$0" : 'X\(//\)$' \| \
19213
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19215
sed '/^.*\/\([^/][^/]*\)\/*$/{
19229
# Avoid depending upon Character Ranges.
19230
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19231
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19232
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19233
as_cr_digits='0123456789'
19234
as_cr_alnum=$as_cr_Letters$as_cr_digits
19236
ECHO_C= ECHO_N= ECHO_T=
19237
case `echo -n x` in #(((((
19239
case `echo 'xy\c'` in
19240
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
19242
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19249
rm -f conf$$ conf$$.exe conf$$.file
19250
if test -d conf$$.dir; then
19251
rm -f conf$$.dir/conf$$.file
19254
mkdir conf$$.dir 2>/dev/null
19256
if (echo >conf$$.file) 2>/dev/null; then
19257
if ln -s conf$$.file conf$$ 2>/dev/null; then
19259
# ... but there are two gotchas:
19260
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19261
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19262
# In both cases, we have to default to `cp -p'.
19263
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19265
elif ln conf$$.file conf$$ 2>/dev/null; then
19273
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19274
rmdir conf$$.dir 2>/dev/null
19279
# Create "$as_dir" as a directory, including parents if necessary.
19284
-*) as_dir=./$as_dir;;
19286
test -d "$as_dir" || eval $as_mkdir_p || {
19290
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19291
*) as_qdir=$as_dir;;
19293
as_dirs="'$as_qdir' $as_dirs"
19294
as_dir=`$as_dirname -- "$as_dir" ||
19295
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19296
X"$as_dir" : 'X\(//\)[^/]' \| \
19297
X"$as_dir" : 'X\(//\)$' \| \
19298
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19299
$as_echo X"$as_dir" |
19300
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19304
/^X\(\/\/\)[^/].*/{
19317
test -d "$as_dir" && break
19319
test -z "$as_dirs" || eval "mkdir $as_dirs"
19320
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19324
if mkdir -p . 2>/dev/null; then
19325
as_mkdir_p='mkdir -p "$as_dir"'
19327
test -d ./-p && rmdir ./-p
19331
if test -x / >/dev/null 2>&1; then
19332
as_test_x='test -x'
19334
if ls -dL / >/dev/null 2>&1; then
19341
if test -d "$1"; then
19347
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
19348
???[sx]*):;;*)false;;esac;fi
19352
as_executable_p=$as_test_x
19354
# Sed expression to map a string onto a valid CPP name.
19355
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19357
# Sed expression to map a string onto a valid variable name.
19358
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19362
## ----------------------------------- ##
19363
## Main body of $CONFIG_STATUS script. ##
19364
## ----------------------------------- ##
19366
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19368
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19369
# Save the log message, to keep $0 and so on meaningful, and to
19370
# report actual input values of CONFIG_FILES etc. instead of their
19371
# values after options handling.
19373
This file was extended by ORTHPOLxx $as_me 1.0, which was
19374
generated by GNU Autoconf 2.68. Invocation command line was
19376
CONFIG_FILES = $CONFIG_FILES
19377
CONFIG_HEADERS = $CONFIG_HEADERS
19378
CONFIG_LINKS = $CONFIG_LINKS
19379
CONFIG_COMMANDS = $CONFIG_COMMANDS
19382
on `(hostname || uname -n) 2>/dev/null | sed 1q`
19387
case $ac_config_files in *"
19388
"*) set x $ac_config_files; shift; ac_config_files=$*;;
19391
case $ac_config_headers in *"
19392
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19396
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19397
# Files that config.status was made for.
19398
config_files="$ac_config_files"
19399
config_headers="$ac_config_headers"
19400
config_commands="$ac_config_commands"
19404
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19406
\`$as_me' instantiates files and other configuration actions
19407
from templates according to the current configuration. Unless the files
19408
and actions are specified as TAGs, all are instantiated by default.
19410
Usage: $0 [OPTION]... [TAG]...
19412
-h, --help print this help, then exit
19413
-V, --version print version number and configuration settings, then exit
19414
--config print configuration, then exit
19415
-q, --quiet, --silent
19416
do not print progress messages
19417
-d, --debug don't remove temporary files
19418
--recheck update $as_me by reconfiguring in the same conditions
19419
--file=FILE[:TEMPLATE]
19420
instantiate the configuration file FILE
19421
--header=FILE[:TEMPLATE]
19422
instantiate the configuration header FILE
19424
Configuration files:
19427
Configuration headers:
19430
Configuration commands:
19433
Report bugs to <dabi@imm.dtu.dk>."
19436
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19437
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19439
ORTHPOLxx config.status 1.0
19440
configured by $0, generated by GNU Autoconf 2.68,
19441
with options \\"\$ac_cs_config\\"
19443
Copyright (C) 2010 Free Software Foundation, Inc.
19444
This config.status script is free software; the Free Software Foundation
19445
gives unlimited permission to copy, distribute and modify it."
19452
test -n "\$AWK" || AWK=awk
19455
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19456
# The default lists apply if the user does not specify any file.
19462
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19463
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19467
ac_option=`expr "X$1" : 'X\([^=]*\)='`
19479
# Handling of the options.
19480
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19482
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19483
$as_echo "$ac_cs_version"; exit ;;
19484
--config | --confi | --conf | --con | --co | --c )
19485
$as_echo "$ac_cs_config"; exit ;;
19486
--debug | --debu | --deb | --de | --d | -d )
19488
--file | --fil | --fi | --f )
19491
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19492
'') as_fn_error $? "missing file argument" ;;
19494
as_fn_append CONFIG_FILES " '$ac_optarg'"
19495
ac_need_defaults=false;;
19496
--header | --heade | --head | --hea )
19499
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19501
as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19502
ac_need_defaults=false;;
19504
# Conflict between --help and --header
19505
as_fn_error $? "ambiguous option: \`$1'
19506
Try \`$0 --help' for more information.";;
19507
--help | --hel | -h )
19508
$as_echo "$ac_cs_usage"; exit ;;
19509
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
19510
| -silent | --silent | --silen | --sile | --sil | --si | --s)
19513
# This is an error.
19514
-*) as_fn_error $? "unrecognized option: \`$1'
19515
Try \`$0 --help' for more information." ;;
19517
*) as_fn_append ac_config_targets " $1"
19518
ac_need_defaults=false ;;
19524
ac_configure_extra_args=
19526
if $ac_cs_silent; then
19528
ac_configure_extra_args="$ac_configure_extra_args --silent"
19532
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19533
if \$ac_cs_recheck; then
19534
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19536
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19537
CONFIG_SHELL='$SHELL'
19538
export CONFIG_SHELL
19543
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19547
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19548
## Running $as_me. ##
19554
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19558
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19561
# The HP-UX ksh and POSIX shell print the target directory to stdout
19562
# if CDPATH is set.
19563
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19565
sed_quote_subst='$sed_quote_subst'
19566
double_quote_subst='$double_quote_subst'
19567
delay_variable_subst='$delay_variable_subst'
19568
macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19569
macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19570
enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19571
enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19572
pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19573
enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19574
SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19575
ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19576
PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19577
host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19578
host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19579
host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19580
build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19581
build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19582
build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19583
SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19584
Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19585
GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19586
EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19587
FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19588
LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19589
NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19590
LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19591
max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19592
ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19593
exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19594
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19595
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19596
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19597
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19598
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19599
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19600
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19601
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19602
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19603
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19604
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19605
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19606
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19607
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19608
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19609
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19610
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19611
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19612
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19613
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19614
old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19615
old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19616
lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19617
CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19618
CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19619
compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19620
GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19621
lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19622
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19623
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19624
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"`'
19625
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19626
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19627
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19628
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19629
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19630
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19631
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19632
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19633
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19634
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19635
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19636
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19637
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19638
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19639
OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19640
OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19641
libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19642
shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19643
extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19644
archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19645
enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19646
export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19647
whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19648
compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19649
old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19650
old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19651
archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19652
archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19653
module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19654
module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19655
with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19656
allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19657
no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19658
hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19659
hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19660
hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19661
hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19662
hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19663
hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19664
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19665
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19666
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19667
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19668
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19669
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19670
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19671
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19672
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19673
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19674
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19675
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19676
need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19677
version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19678
runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19679
shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19680
shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19681
libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19682
library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19683
soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19684
install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19685
postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19686
postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19687
finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19688
finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19689
hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19690
sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19691
sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
19692
hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19693
enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19694
enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19695
enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19696
old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19697
striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19698
compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19699
predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19700
postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19701
predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19702
postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19703
compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19704
LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19705
LD_F77='`$ECHO "$LD_F77" | $SED "$delay_single_quote_subst"`'
19706
reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19707
reload_flag_F77='`$ECHO "$reload_flag_F77" | $SED "$delay_single_quote_subst"`'
19708
reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19709
reload_cmds_F77='`$ECHO "$reload_cmds_F77" | $SED "$delay_single_quote_subst"`'
19710
old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19711
old_archive_cmds_F77='`$ECHO "$old_archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
19712
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19713
compiler_F77='`$ECHO "$compiler_F77" | $SED "$delay_single_quote_subst"`'
19714
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19715
GCC_F77='`$ECHO "$GCC_F77" | $SED "$delay_single_quote_subst"`'
19716
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19717
lt_prog_compiler_no_builtin_flag_F77='`$ECHO "$lt_prog_compiler_no_builtin_flag_F77" | $SED "$delay_single_quote_subst"`'
19718
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19719
lt_prog_compiler_pic_F77='`$ECHO "$lt_prog_compiler_pic_F77" | $SED "$delay_single_quote_subst"`'
19720
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19721
lt_prog_compiler_wl_F77='`$ECHO "$lt_prog_compiler_wl_F77" | $SED "$delay_single_quote_subst"`'
19722
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19723
lt_prog_compiler_static_F77='`$ECHO "$lt_prog_compiler_static_F77" | $SED "$delay_single_quote_subst"`'
19724
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19725
lt_cv_prog_compiler_c_o_F77='`$ECHO "$lt_cv_prog_compiler_c_o_F77" | $SED "$delay_single_quote_subst"`'
19726
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19727
archive_cmds_need_lc_F77='`$ECHO "$archive_cmds_need_lc_F77" | $SED "$delay_single_quote_subst"`'
19728
enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19729
enable_shared_with_static_runtimes_F77='`$ECHO "$enable_shared_with_static_runtimes_F77" | $SED "$delay_single_quote_subst"`'
19730
export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19731
export_dynamic_flag_spec_F77='`$ECHO "$export_dynamic_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
19732
whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19733
whole_archive_flag_spec_F77='`$ECHO "$whole_archive_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
19734
compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19735
compiler_needs_object_F77='`$ECHO "$compiler_needs_object_F77" | $SED "$delay_single_quote_subst"`'
19736
old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19737
old_archive_from_new_cmds_F77='`$ECHO "$old_archive_from_new_cmds_F77" | $SED "$delay_single_quote_subst"`'
19738
old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19739
old_archive_from_expsyms_cmds_F77='`$ECHO "$old_archive_from_expsyms_cmds_F77" | $SED "$delay_single_quote_subst"`'
19740
archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19741
archive_cmds_F77='`$ECHO "$archive_cmds_F77" | $SED "$delay_single_quote_subst"`'
19742
archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19743
archive_expsym_cmds_F77='`$ECHO "$archive_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
19744
module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19745
module_cmds_F77='`$ECHO "$module_cmds_F77" | $SED "$delay_single_quote_subst"`'
19746
module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19747
module_expsym_cmds_F77='`$ECHO "$module_expsym_cmds_F77" | $SED "$delay_single_quote_subst"`'
19748
with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19749
with_gnu_ld_F77='`$ECHO "$with_gnu_ld_F77" | $SED "$delay_single_quote_subst"`'
19750
allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19751
allow_undefined_flag_F77='`$ECHO "$allow_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
19752
no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19753
no_undefined_flag_F77='`$ECHO "$no_undefined_flag_F77" | $SED "$delay_single_quote_subst"`'
19754
hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19755
hardcode_libdir_flag_spec_F77='`$ECHO "$hardcode_libdir_flag_spec_F77" | $SED "$delay_single_quote_subst"`'
19756
hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19757
hardcode_libdir_separator_F77='`$ECHO "$hardcode_libdir_separator_F77" | $SED "$delay_single_quote_subst"`'
19758
hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19759
hardcode_direct_F77='`$ECHO "$hardcode_direct_F77" | $SED "$delay_single_quote_subst"`'
19760
hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19761
hardcode_direct_absolute_F77='`$ECHO "$hardcode_direct_absolute_F77" | $SED "$delay_single_quote_subst"`'
19762
hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19763
hardcode_minus_L_F77='`$ECHO "$hardcode_minus_L_F77" | $SED "$delay_single_quote_subst"`'
19764
hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19765
hardcode_shlibpath_var_F77='`$ECHO "$hardcode_shlibpath_var_F77" | $SED "$delay_single_quote_subst"`'
19766
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19767
hardcode_automatic_F77='`$ECHO "$hardcode_automatic_F77" | $SED "$delay_single_quote_subst"`'
19768
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19769
inherit_rpath_F77='`$ECHO "$inherit_rpath_F77" | $SED "$delay_single_quote_subst"`'
19770
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19771
link_all_deplibs_F77='`$ECHO "$link_all_deplibs_F77" | $SED "$delay_single_quote_subst"`'
19772
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19773
always_export_symbols_F77='`$ECHO "$always_export_symbols_F77" | $SED "$delay_single_quote_subst"`'
19774
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19775
export_symbols_cmds_F77='`$ECHO "$export_symbols_cmds_F77" | $SED "$delay_single_quote_subst"`'
19776
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19777
exclude_expsyms_F77='`$ECHO "$exclude_expsyms_F77" | $SED "$delay_single_quote_subst"`'
19778
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19779
include_expsyms_F77='`$ECHO "$include_expsyms_F77" | $SED "$delay_single_quote_subst"`'
19780
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19781
prelink_cmds_F77='`$ECHO "$prelink_cmds_F77" | $SED "$delay_single_quote_subst"`'
19782
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19783
postlink_cmds_F77='`$ECHO "$postlink_cmds_F77" | $SED "$delay_single_quote_subst"`'
19784
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19785
file_list_spec_F77='`$ECHO "$file_list_spec_F77" | $SED "$delay_single_quote_subst"`'
19786
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19787
hardcode_action_F77='`$ECHO "$hardcode_action_F77" | $SED "$delay_single_quote_subst"`'
19788
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19789
compiler_lib_search_dirs_F77='`$ECHO "$compiler_lib_search_dirs_F77" | $SED "$delay_single_quote_subst"`'
19790
predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19791
predep_objects_F77='`$ECHO "$predep_objects_F77" | $SED "$delay_single_quote_subst"`'
19792
postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19793
postdep_objects_F77='`$ECHO "$postdep_objects_F77" | $SED "$delay_single_quote_subst"`'
19794
predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19795
predeps_F77='`$ECHO "$predeps_F77" | $SED "$delay_single_quote_subst"`'
19796
postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19797
postdeps_F77='`$ECHO "$postdeps_F77" | $SED "$delay_single_quote_subst"`'
19798
compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19799
compiler_lib_search_path_F77='`$ECHO "$compiler_lib_search_path_F77" | $SED "$delay_single_quote_subst"`'
19802
LTCFLAGS='$LTCFLAGS'
19803
compiler='$compiler_DEFAULT'
19805
# A function that is used when there is no print builtin or printf.
19806
func_fallback_echo ()
19808
eval 'cat <<_LTECHO_EOF
19813
# Quote evaled strings.
19828
deplibs_check_method \
19833
sharedlib_from_linklib_cmd \
19836
archiver_list_spec \
19842
lt_cv_sys_global_symbol_pipe \
19843
lt_cv_sys_global_symbol_to_cdecl \
19844
lt_cv_sys_global_symbol_to_c_name_address \
19845
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19846
nm_file_list_spec \
19847
lt_prog_compiler_no_builtin_flag \
19848
lt_prog_compiler_pic \
19849
lt_prog_compiler_wl \
19850
lt_prog_compiler_static \
19851
lt_cv_prog_compiler_c_o \
19860
export_dynamic_flag_spec \
19861
whole_archive_flag_spec \
19862
compiler_needs_object \
19864
allow_undefined_flag \
19865
no_undefined_flag \
19866
hardcode_libdir_flag_spec \
19867
hardcode_libdir_separator \
19871
variables_saved_for_relink \
19873
library_names_spec \
19875
install_override_mode \
19879
compiler_lib_search_dirs \
19884
compiler_lib_search_path \
19891
lt_prog_compiler_no_builtin_flag_CXX \
19892
lt_prog_compiler_no_builtin_flag_F77 \
19893
lt_prog_compiler_pic_CXX \
19894
lt_prog_compiler_pic_F77 \
19895
lt_prog_compiler_wl_CXX \
19896
lt_prog_compiler_wl_F77 \
19897
lt_prog_compiler_static_CXX \
19898
lt_prog_compiler_static_F77 \
19899
lt_cv_prog_compiler_c_o_CXX \
19900
lt_cv_prog_compiler_c_o_F77 \
19901
export_dynamic_flag_spec_CXX \
19902
export_dynamic_flag_spec_F77 \
19903
whole_archive_flag_spec_CXX \
19904
whole_archive_flag_spec_F77 \
19905
compiler_needs_object_CXX \
19906
compiler_needs_object_F77 \
19909
allow_undefined_flag_CXX \
19910
allow_undefined_flag_F77 \
19911
no_undefined_flag_CXX \
19912
no_undefined_flag_F77 \
19913
hardcode_libdir_flag_spec_CXX \
19914
hardcode_libdir_flag_spec_F77 \
19915
hardcode_libdir_separator_CXX \
19916
hardcode_libdir_separator_F77 \
19917
exclude_expsyms_CXX \
19918
exclude_expsyms_F77 \
19919
include_expsyms_CXX \
19920
include_expsyms_F77 \
19921
file_list_spec_CXX \
19922
file_list_spec_F77 \
19923
compiler_lib_search_dirs_CXX \
19924
compiler_lib_search_dirs_F77 \
19925
predep_objects_CXX \
19926
predep_objects_F77 \
19927
postdep_objects_CXX \
19928
postdep_objects_F77 \
19933
compiler_lib_search_path_CXX \
19934
compiler_lib_search_path_F77; do
19935
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19936
*[\\\\\\\`\\"\\\$]*)
19937
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
19940
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19945
# Double-quote double-evaled strings.
19946
for var in reload_cmds \
19947
old_postinstall_cmds \
19948
old_postuninstall_cmds \
19950
extract_expsyms_cmds \
19951
old_archive_from_new_cmds \
19952
old_archive_from_expsyms_cmds \
19954
archive_expsym_cmds \
19956
module_expsym_cmds \
19957
export_symbols_cmds \
19961
postuninstall_cmds \
19963
sys_lib_search_path_spec \
19964
sys_lib_dlsearch_path_spec \
19967
old_archive_cmds_CXX \
19968
old_archive_cmds_F77 \
19969
old_archive_from_new_cmds_CXX \
19970
old_archive_from_new_cmds_F77 \
19971
old_archive_from_expsyms_cmds_CXX \
19972
old_archive_from_expsyms_cmds_F77 \
19975
archive_expsym_cmds_CXX \
19976
archive_expsym_cmds_F77 \
19979
module_expsym_cmds_CXX \
19980
module_expsym_cmds_F77 \
19981
export_symbols_cmds_CXX \
19982
export_symbols_cmds_F77 \
19985
postlink_cmds_CXX \
19986
postlink_cmds_F77; do
19987
case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19988
*[\\\\\\\`\\"\\\$]*)
19989
eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19992
eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19997
ac_aux_dir='$ac_aux_dir'
19998
xsi_shell='$xsi_shell'
19999
lt_shell_append='$lt_shell_append'
20001
# See if we are running on zsh, and set the options which allow our
20002
# commands through without removal of \ escapes INIT.
20003
if test -n "\${ZSH_VERSION+set}" ; then
20004
setopt NO_GLOB_SUBST
20010
TIMESTAMP='$TIMESTAMP'
20023
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20025
# Handling of arguments.
20026
for ac_config_target in $ac_config_targets
20028
case $ac_config_target in
20029
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20030
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20031
"libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20032
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20033
"liborthpol-1.0.pc") CONFIG_FILES="$CONFIG_FILES liborthpol-1.0.pc" ;;
20035
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20040
# If the user did not use the arguments to specify the items to instantiate,
20041
# then the envvar interface is used. Set only those that are not.
20042
# We use the long form for the default assignment because of an extremely
20043
# bizarre bug on SunOS 4.1.3.
20044
if $ac_need_defaults; then
20045
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20046
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20047
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20050
# Have a temporary directory for convenience. Make it in the build tree
20051
# simply because there is no reason against having it here, and in addition,
20052
# creating and moving files from /tmp can sometimes cause problems.
20053
# Hook for its removal unless debugging.
20054
# Note that there is a small window in which the directory will not be cleaned:
20055
# after its creation but before its name has been assigned to `$tmp'.
20059
trap 'exit_status=$?
20060
: "${ac_tmp:=$tmp}"
20061
{ test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20063
trap 'as_fn_exit 1' 1 2 13 15
20065
# Create a (secure) tmp directory for tmp files.
20068
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20072
tmp=./conf$$-$RANDOM
20073
(umask 077 && mkdir "$tmp")
20074
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20077
# Set up the scripts for CONFIG_FILES section.
20078
# No need to generate them if there are no CONFIG_FILES.
20079
# This happens for instance with `./config.status config.h'.
20080
if test -n "$CONFIG_FILES"; then
20083
ac_cr=`echo X | tr X '\015'`
20084
# On cygwin, bash can eat \r inside `` if the user requested igncr.
20085
# But we know of no other shell where ac_cr would be empty at this
20086
# point, so we can use a bashism as a fallback.
20087
if test "x$ac_cr" = x; then
20088
eval ac_cr=\$\'\\r\'
20090
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20091
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20094
ac_cs_awk_cr=$ac_cr
20097
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20102
echo "cat >conf$$subs.awk <<_ACEOF" &&
20103
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20105
} >conf$$subs.sh ||
20106
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20107
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20109
for ac_last_try in false false false false false :; do
20110
. ./conf$$subs.sh ||
20111
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20113
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20114
if test $ac_delim_n = $ac_delim_num; then
20116
elif $ac_last_try; then
20117
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20119
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20122
rm -f conf$$subs.sh
20124
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20125
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20129
s/^/S["/; s/!.*/"]=/
20139
s/\(.\{148\}\)..*/\1/
20141
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20146
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20153
s/\(.\{148\}\)..*/\1/
20155
s/["\\]/\\&/g; s/^/"/; s/$/"/
20159
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20164
' <conf$$subs.awk | sed '
20169
' >>$CONFIG_STATUS || ac_write_fail=1
20170
rm -f conf$$subs.awk
20171
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20173
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20174
for (key in S) S_is_set[key] = 1
20180
nfields = split(line, field, "@")
20182
len = length(field[1])
20183
for (i = 2; i < nfields; i++) {
20185
keylen = length(key)
20186
if (S_is_set[key]) {
20188
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20189
len += length(value) + length(field[++i])
20200
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20201
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20202
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20205
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20206
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20209
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20210
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20211
# trailing colons and then remove the whole line if VPATH becomes empty
20212
# (actually we leave an empty line to preserve line numbers).
20213
if test "x$srcdir" = x.; then
20214
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20232
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20233
fi # test -n "$CONFIG_FILES"
20235
# Set up the scripts for CONFIG_HEADERS section.
20236
# No need to generate them if there are no CONFIG_HEADERS.
20237
# This happens for instance with `./config.status Makefile'.
20238
if test -n "$CONFIG_HEADERS"; then
20239
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20243
# Transform confdefs.h into an awk script `defines.awk', embedded as
20244
# here-document in config.status, that substitutes the proper values into
20245
# config.h.in to produce config.h.
20247
# Create a delimiter string that does not exist in confdefs.h, to ease
20248
# handling of long lines.
20250
for ac_last_try in false false :; do
20251
ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20252
if test -z "$ac_tt"; then
20254
elif $ac_last_try; then
20255
as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20257
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20261
# For the awk script, D is an array of macro values keyed by name,
20262
# likewise P contains macro parameters if any. Preserve backslash
20263
# newline sequences.
20265
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20267
s/.\{148\}/&'"$ac_delim"'/g
20270
s/^[ ]*#[ ]*define[ ][ ]*/ /
20277
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20279
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20283
s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20284
D["\1"]=" \3\\\\\\n"\\/p
20286
s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20291
s/.\{148\}/&'"$ac_delim"'/g
20296
s/["\\]/\\&/g; s/^/"/; s/$/"/p
20299
s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20301
' <confdefs.h | sed '
20302
s/'"$ac_delim"'/"\\\
20303
"/g' >>$CONFIG_STATUS || ac_write_fail=1
20305
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20306
for (key in D) D_is_set[key] = 1
20309
/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20311
split(line, arg, " ")
20312
if (arg[1] == "#") {
20316
defundef = substr(arg[1], 2)
20319
split(mac1, mac2, "(") #)
20321
prefix = substr(line, 1, index(line, defundef) - 1)
20322
if (D_is_set[macro]) {
20323
# Preserve the white space surrounding the "#".
20324
print prefix "define", macro P[macro] D[macro]
20327
# Replace #undef with comments. This is necessary, for example,
20328
# in the case of _POSIX_SOURCE, which is predefined and required
20329
# on some systems where configure will not decide to define it.
20330
if (defundef == "undef") {
20331
print "/*", prefix defundef, macro, "*/"
20339
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20340
as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20341
fi # test -n "$CONFIG_HEADERS"
20344
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
20349
:[FHLC]) ac_mode=$ac_tag; continue;;
20351
case $ac_mode$ac_tag in
20353
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20354
:[FH]-) ac_tag=-:-;;
20355
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20372
-) ac_f="$ac_tmp/stdin";;
20373
*) # Look for the file first in the build tree, then in the source tree
20374
# (if the path is not absolute). The absolute path cannot be DOS-style,
20375
# because $ac_f cannot contain `:'.
20379
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20381
as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20383
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20384
as_fn_append ac_file_inputs " '$ac_f'"
20387
# Let's still pretend it is `configure' which instantiates (i.e., don't
20388
# use $as_me), people would be surprised to read:
20389
# /* config.h. Generated by config.status. */
20390
configure_input='Generated from '`
20391
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20393
if test x"$ac_file" != x-; then
20394
configure_input="$ac_file. $configure_input"
20395
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20396
$as_echo "$as_me: creating $ac_file" >&6;}
20398
# Neutralize special characters interpreted by sed in replacement strings.
20399
case $configure_input in #(
20400
*\&* | *\|* | *\\* )
20401
ac_sed_conf_input=`$as_echo "$configure_input" |
20402
sed 's/[\\\\&|]/\\\\&/g'`;; #(
20403
*) ac_sed_conf_input=$configure_input;;
20407
*:-:* | *:-) cat >"$ac_tmp/stdin" \
20408
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20413
ac_dir=`$as_dirname -- "$ac_file" ||
20414
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20415
X"$ac_file" : 'X\(//\)[^/]' \| \
20416
X"$ac_file" : 'X\(//\)$' \| \
20417
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20418
$as_echo X"$ac_file" |
20419
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20423
/^X\(\/\/\)[^/].*/{
20436
as_dir="$ac_dir"; as_fn_mkdir_p
20440
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20442
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20443
# A ".." for each directory in $ac_dir_suffix.
20444
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20445
case $ac_top_builddir_sub in
20446
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20447
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20450
ac_abs_top_builddir=$ac_pwd
20451
ac_abs_builddir=$ac_pwd$ac_dir_suffix
20452
# for backward compatibility:
20453
ac_top_builddir=$ac_top_build_prefix
20456
.) # We are building in place.
20458
ac_top_srcdir=$ac_top_builddir_sub
20459
ac_abs_top_srcdir=$ac_pwd ;;
20460
[\\/]* | ?:[\\/]* ) # Absolute name.
20461
ac_srcdir=$srcdir$ac_dir_suffix;
20462
ac_top_srcdir=$srcdir
20463
ac_abs_top_srcdir=$srcdir ;;
20464
*) # Relative name.
20465
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20466
ac_top_srcdir=$ac_top_build_prefix$srcdir
20467
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20469
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20479
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20480
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20482
ac_MKDIR_P=$MKDIR_P
20484
[\\/$]* | ?:[\\/]* ) ;;
20485
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20489
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20490
# If the template does not know about datarootdir, expand it.
20491
# FIXME: This hack should be removed a few years after 2.60.
20492
ac_datarootdir_hack=; ac_datarootdir_seen=
20503
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20504
*datarootdir*) ac_datarootdir_seen=yes;;
20505
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20506
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20507
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20509
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20510
ac_datarootdir_hack='
20511
s&@datadir@&$datadir&g
20512
s&@docdir@&$docdir&g
20513
s&@infodir@&$infodir&g
20514
s&@localedir@&$localedir&g
20515
s&@mandir@&$mandir&g
20516
s&\\\${datarootdir}&$datarootdir&g' ;;
20520
# Neutralize VPATH when `$srcdir' = `.'.
20521
# Shell code in configure.ac might set extrasub.
20522
# FIXME: do we really want to maintain this feature?
20523
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20524
ac_sed_extra="$ac_vpsub
20527
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20529
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20530
s|@configure_input@|$ac_sed_conf_input|;t t
20531
s&@top_builddir@&$ac_top_builddir_sub&;t t
20532
s&@top_build_prefix@&$ac_top_build_prefix&;t t
20533
s&@srcdir@&$ac_srcdir&;t t
20534
s&@abs_srcdir@&$ac_abs_srcdir&;t t
20535
s&@top_srcdir@&$ac_top_srcdir&;t t
20536
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20537
s&@builddir@&$ac_builddir&;t t
20538
s&@abs_builddir@&$ac_abs_builddir&;t t
20539
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20540
s&@INSTALL@&$ac_INSTALL&;t t
20541
s&@MKDIR_P@&$ac_MKDIR_P&;t t
20542
$ac_datarootdir_hack
20544
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20545
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20547
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20548
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20549
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20550
"$ac_tmp/out"`; test -z "$ac_out"; } &&
20551
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20552
which seems to be undefined. Please make sure it is defined" >&5
20553
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20554
which seems to be undefined. Please make sure it is defined" >&2;}
20556
rm -f "$ac_tmp/stdin"
20558
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20559
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20561
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20567
if test x"$ac_file" != x-; then
20569
$as_echo "/* $configure_input */" \
20570
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20571
} >"$ac_tmp/config.h" \
20572
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20573
if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20574
{ $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20575
$as_echo "$as_me: $ac_file is unchanged" >&6;}
20578
mv "$ac_tmp/config.h" "$ac_file" \
20579
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20582
$as_echo "/* $configure_input */" \
20583
&& eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20584
|| as_fn_error $? "could not create -" "$LINENO" 5
20586
# Compute "$ac_file"'s index in $config_headers.
20589
for _am_header in $config_headers :; do
20590
case $_am_header in
20591
$_am_arg | $_am_arg:* )
20594
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
20597
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20598
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20599
X"$_am_arg" : 'X\(//\)[^/]' \| \
20600
X"$_am_arg" : 'X\(//\)$' \| \
20601
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20602
$as_echo X"$_am_arg" |
20603
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20607
/^X\(\/\/\)[^/].*/{
20619
s/.*/./; q'`/stamp-h$_am_stamp_count
20622
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20623
$as_echo "$as_me: executing $ac_file commands" >&6;}
20628
case $ac_file$ac_mode in
20629
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20630
# Autoconf 2.62 quotes --file arguments for eval, but not when files
20631
# are listed without --file. Let's play safe and only enable the eval
20632
# if we detect the quoting.
20633
case $CONFIG_FILES in
20634
*\'*) eval set x "$CONFIG_FILES" ;;
20635
*) set x $CONFIG_FILES ;;
20640
# Strip MF so we end up with the name of the file.
20641
mf=`echo "$mf" | sed -e 's/:.*$//'`
20642
# Check whether this is an Automake generated Makefile or not.
20643
# We used to match only the files named `Makefile.in', but
20644
# some people rename them; so instead we look at the file content.
20645
# Grep'ing the first line is not enough: some people post-process
20646
# each Makefile.in and add a new line on top of each file to say so.
20647
# Grep'ing the whole file is not good either: AIX grep has a line
20648
# limit of 2048, but all sed's we know have understand at least 4000.
20649
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
20650
dirpart=`$as_dirname -- "$mf" ||
20651
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20652
X"$mf" : 'X\(//\)[^/]' \| \
20653
X"$mf" : 'X\(//\)$' \| \
20654
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
20656
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20660
/^X\(\/\/\)[^/].*/{
20676
# Extract the definition of DEPDIR, am__include, and am__quote
20677
# from the Makefile without running `make'.
20678
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
20679
test -z "$DEPDIR" && continue
20680
am__include=`sed -n 's/^am__include = //p' < "$mf"`
20681
test -z "am__include" && continue
20682
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
20683
# When using ansi2knr, U may be empty or an underscore; expand it
20684
U=`sed -n 's/^U = //p' < "$mf"`
20685
# Find all dependency output files, they are included files with
20686
# $(DEPDIR) in their names. We invoke sed twice because it is the
20687
# simplest approach to changing $(DEPDIR) to its actual value in the
20689
for file in `sed -n "
20690
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
20691
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
20692
# Make sure the directory exists.
20693
test -f "$dirpart/$file" && continue
20694
fdir=`$as_dirname -- "$file" ||
20695
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20696
X"$file" : 'X\(//\)[^/]' \| \
20697
X"$file" : 'X\(//\)$' \| \
20698
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
20699
$as_echo X"$file" |
20700
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20704
/^X\(\/\/\)[^/].*/{
20717
as_dir=$dirpart/$fdir; as_fn_mkdir_p
20718
# echo "creating $dirpart/$file"
20719
echo '# dummy' > "$dirpart/$file"
20726
# See if we are running on zsh, and set the options which allow our
20727
# commands through without removal of \ escapes.
20728
if test -n "${ZSH_VERSION+set}" ; then
20729
setopt NO_GLOB_SUBST
20732
cfgfile="${ofile}T"
20733
trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20736
cat <<_LT_EOF >> "$cfgfile"
20739
# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
20740
# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
20741
# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
20742
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20744
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
20745
# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
20747
# Written by Gordon Matzigkeit, 1996
20749
# This file is part of GNU Libtool.
20751
# GNU Libtool is free software; you can redistribute it and/or
20752
# modify it under the terms of the GNU General Public License as
20753
# published by the Free Software Foundation; either version 2 of
20754
# the License, or (at your option) any later version.
20756
# As a special exception to the GNU General Public License,
20757
# if you distribute this file as part of a program or library that
20758
# is built using GNU Libtool, you may include this file under the
20759
# same distribution terms that you use for the rest of that program.
20761
# GNU Libtool is distributed in the hope that it will be useful,
20762
# but WITHOUT ANY WARRANTY; without even the implied warranty of
20763
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20764
# GNU General Public License for more details.
20766
# You should have received a copy of the GNU General Public License
20767
# along with GNU Libtool; see the file COPYING. If not, a copy
20768
# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
20769
# obtained by writing to the Free Software Foundation, Inc.,
20770
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20773
# The names of the tagged configurations supported by this script.
20774
available_tags="CXX F77 "
20776
# ### BEGIN LIBTOOL CONFIG
20778
# Which release of libtool.m4 was used?
20779
macro_version=$macro_version
20780
macro_revision=$macro_revision
20782
# Whether or not to build shared libraries.
20783
build_libtool_libs=$enable_shared
20785
# Whether or not to build static libraries.
20786
build_old_libs=$enable_static
20788
# What type of objects to build.
20791
# Whether or not to optimize for fast installation.
20792
fast_install=$enable_fast_install
20794
# Shell to use when invoking shell scripts.
20797
# An echo program that protects backslashes.
20800
# The PATH separator for the build system.
20801
PATH_SEPARATOR=$lt_PATH_SEPARATOR
20804
host_alias=$host_alias
20808
# The build system.
20809
build_alias=$build_alias
20813
# A sed program that does not truncate output.
20816
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20817
Xsed="\$SED -e 1s/^X//"
20819
# A grep program that handles long lines.
20825
# A literal string matcher.
20828
# A BSD- or MS-compatible name lister.
20831
# Whether we need soft or hard links.
20834
# What is the maximum length of a command?
20835
max_cmd_len=$max_cmd_len
20837
# Object file suffix (normally "o").
20840
# Executable file suffix (normally "").
20843
# whether the shell understands "unset".
20846
# turn spaces into newlines.
20849
# turn newlines into spaces.
20852
# convert \$build file names to \$host format.
20853
to_host_file_cmd=$lt_cv_to_host_file_cmd
20855
# convert \$build files to toolchain format.
20856
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20858
# An object symbol dumper.
20859
OBJDUMP=$lt_OBJDUMP
20861
# Method to check whether dependent libraries are shared objects.
20862
deplibs_check_method=$lt_deplibs_check_method
20864
# Command to use when deplibs_check_method = "file_magic".
20865
file_magic_cmd=$lt_file_magic_cmd
20867
# How to find potential files when deplibs_check_method = "file_magic".
20868
file_magic_glob=$lt_file_magic_glob
20870
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20871
want_nocaseglob=$lt_want_nocaseglob
20873
# DLL creation program.
20874
DLLTOOL=$lt_DLLTOOL
20876
# Command to associate shared and link libraries.
20877
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20882
# Flags to create an archive.
20883
AR_FLAGS=$lt_AR_FLAGS
20885
# How to feed a file listing to the archiver.
20886
archiver_list_spec=$lt_archiver_list_spec
20888
# A symbol stripping program.
20891
# Commands used to install an old-style archive.
20893
old_postinstall_cmds=$lt_old_postinstall_cmds
20894
old_postuninstall_cmds=$lt_old_postuninstall_cmds
20896
# Whether to use a lock for old archive extraction.
20897
lock_old_archive_extraction=$lock_old_archive_extraction
20902
# LTCC compiler flags.
20903
LTCFLAGS=$lt_CFLAGS
20905
# Take the output of nm and produce a listing of raw symbols and C names.
20906
global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20908
# Transform the output of nm in a proper C declaration.
20909
global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20911
# Transform the output of nm in a C name address pair.
20912
global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20914
# Transform the output of nm in a C name address pair when lib prefix is needed.
20915
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20917
# Specify filename containing input files for \$NM.
20918
nm_file_list_spec=$lt_nm_file_list_spec
20920
# The root where to search for dependent libraries,and in which our libraries should be installed.
20921
lt_sysroot=$lt_sysroot
20923
# The name of the directory that contains temporary libtool files.
20926
# Used to examine libraries when file_magic_cmd begins with "file".
20927
MAGIC_CMD=$MAGIC_CMD
20929
# Must we lock files when doing compilation?
20930
need_locks=$lt_need_locks
20933
MANIFEST_TOOL=$lt_MANIFEST_TOOL
20935
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20936
DSYMUTIL=$lt_DSYMUTIL
20938
# Tool to change global to local symbols on Mac OS X.
20941
# Tool to manipulate fat objects and archives on Mac OS X.
20944
# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20947
# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20948
OTOOL64=$lt_OTOOL64
20950
# Old archive suffix (normally "a").
20953
# Shared library suffix (normally ".so").
20954
shrext_cmds=$lt_shrext_cmds
20956
# The commands to extract the exported symbol list from a shared archive.
20957
extract_expsyms_cmds=$lt_extract_expsyms_cmds
20959
# Variables whose values should be saved in libtool wrapper scripts and
20960
# restored at link time.
20961
variables_saved_for_relink=$lt_variables_saved_for_relink
20963
# Do we need the "lib" prefix for modules?
20964
need_lib_prefix=$need_lib_prefix
20966
# Do we need a version for libraries?
20967
need_version=$need_version
20969
# Library versioning type.
20970
version_type=$version_type
20972
# Shared library runtime path variable.
20973
runpath_var=$runpath_var
20975
# Shared library path variable.
20976
shlibpath_var=$shlibpath_var
20978
# Is shlibpath searched before the hard-coded library search path?
20979
shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20981
# Format of library name prefix.
20982
libname_spec=$lt_libname_spec
20984
# List of archive names. First name is the real one, the rest are links.
20985
# The last name is the one that the linker finds with -lNAME
20986
library_names_spec=$lt_library_names_spec
20988
# The coded name of the library, if different from the real name.
20989
soname_spec=$lt_soname_spec
20991
# Permission mode override for installation of shared libraries.
20992
install_override_mode=$lt_install_override_mode
20994
# Command to use after installation of a shared archive.
20995
postinstall_cmds=$lt_postinstall_cmds
20997
# Command to use after uninstallation of a shared archive.
20998
postuninstall_cmds=$lt_postuninstall_cmds
21000
# Commands used to finish a libtool library installation in a directory.
21001
finish_cmds=$lt_finish_cmds
21003
# As "finish_cmds", except a single script fragment to be evaled but
21005
finish_eval=$lt_finish_eval
21007
# Whether we should hardcode library paths into libraries.
21008
hardcode_into_libs=$hardcode_into_libs
21010
# Compile-time system search path for libraries.
21011
sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21013
# Run-time system search path for libraries.
21014
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
21016
# Whether dlopen is supported.
21017
dlopen_support=$enable_dlopen
21019
# Whether dlopen of programs is supported.
21020
dlopen_self=$enable_dlopen_self
21022
# Whether dlopen of statically linked programs is supported.
21023
dlopen_self_static=$enable_dlopen_self_static
21025
# Commands to strip libraries.
21026
old_striplib=$lt_old_striplib
21027
striplib=$lt_striplib
21030
# The linker used to build libraries.
21033
# How to create reloadable object files.
21034
reload_flag=$lt_reload_flag
21035
reload_cmds=$lt_reload_cmds
21037
# Commands used to build an old-style archive.
21038
old_archive_cmds=$lt_old_archive_cmds
21040
# A language specific compiler.
21043
# Is the compiler the GNU compiler?
21046
# Compiler flag to turn off builtin functions.
21047
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21049
# Additional compiler flags for building library objects.
21050
pic_flag=$lt_lt_prog_compiler_pic
21052
# How to pass a linker flag through the compiler.
21053
wl=$lt_lt_prog_compiler_wl
21055
# Compiler flag to prevent dynamic linking.
21056
link_static_flag=$lt_lt_prog_compiler_static
21058
# Does compiler simultaneously support -c and -o options?
21059
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21061
# Whether or not to add -lc for building shared libraries.
21062
build_libtool_need_lc=$archive_cmds_need_lc
21064
# Whether or not to disallow shared libs when runtime libs are static.
21065
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21067
# Compiler flag to allow reflexive dlopens.
21068
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21070
# Compiler flag to generate shared objects directly from archives.
21071
whole_archive_flag_spec=$lt_whole_archive_flag_spec
21073
# Whether the compiler copes with passing no objects directly.
21074
compiler_needs_object=$lt_compiler_needs_object
21076
# Create an old-style archive from a shared archive.
21077
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21079
# Create a temporary old-style archive to link instead of a shared archive.
21080
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21082
# Commands used to build a shared archive.
21083
archive_cmds=$lt_archive_cmds
21084
archive_expsym_cmds=$lt_archive_expsym_cmds
21086
# Commands used to build a loadable module if different from building
21087
# a shared archive.
21088
module_cmds=$lt_module_cmds
21089
module_expsym_cmds=$lt_module_expsym_cmds
21091
# Whether we are building with GNU ld or not.
21092
with_gnu_ld=$lt_with_gnu_ld
21094
# Flag that allows shared libraries with undefined symbols to be built.
21095
allow_undefined_flag=$lt_allow_undefined_flag
21097
# Flag that enforces no undefined symbols.
21098
no_undefined_flag=$lt_no_undefined_flag
21100
# Flag to hardcode \$libdir into a binary during linking.
21101
# This must work even if \$libdir does not exist
21102
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21104
# Whether we need a single "-rpath" flag with a separated argument.
21105
hardcode_libdir_separator=$lt_hardcode_libdir_separator
21107
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21108
# DIR into the resulting binary.
21109
hardcode_direct=$hardcode_direct
21111
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21112
# DIR into the resulting binary and the resulting library dependency is
21113
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21114
# library is relocated.
21115
hardcode_direct_absolute=$hardcode_direct_absolute
21117
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21118
# into the resulting binary.
21119
hardcode_minus_L=$hardcode_minus_L
21121
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21122
# into the resulting binary.
21123
hardcode_shlibpath_var=$hardcode_shlibpath_var
21125
# Set to "yes" if building a shared library automatically hardcodes DIR
21126
# into the library and all subsequent libraries and executables linked
21128
hardcode_automatic=$hardcode_automatic
21130
# Set to yes if linker adds runtime paths of dependent libraries
21131
# to runtime path list.
21132
inherit_rpath=$inherit_rpath
21134
# Whether libtool must link a program against all its dependency libraries.
21135
link_all_deplibs=$link_all_deplibs
21137
# Set to "yes" if exported symbols are required.
21138
always_export_symbols=$always_export_symbols
21140
# The commands to list exported symbols.
21141
export_symbols_cmds=$lt_export_symbols_cmds
21143
# Symbols that should not be listed in the preloaded symbols.
21144
exclude_expsyms=$lt_exclude_expsyms
21146
# Symbols that must always be exported.
21147
include_expsyms=$lt_include_expsyms
21149
# Commands necessary for linking programs (against libraries) with templates.
21150
prelink_cmds=$lt_prelink_cmds
21152
# Commands necessary for finishing linking programs.
21153
postlink_cmds=$lt_postlink_cmds
21155
# Specify filename containing input files.
21156
file_list_spec=$lt_file_list_spec
21158
# How to hardcode a shared library path into an executable.
21159
hardcode_action=$hardcode_action
21161
# The directories searched by this compiler when creating a shared library.
21162
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
21164
# Dependencies to place before and after the objects being linked to
21165
# create a shared library.
21166
predep_objects=$lt_predep_objects
21167
postdep_objects=$lt_postdep_objects
21168
predeps=$lt_predeps
21169
postdeps=$lt_postdeps
21171
# The library search path used internally by the compiler when linking
21172
# a shared library.
21173
compiler_lib_search_path=$lt_compiler_lib_search_path
21175
# ### END LIBTOOL CONFIG
21181
cat <<\_LT_EOF >> "$cfgfile"
21182
# AIX sometimes has problems with the GCC collect2 program. For some
21183
# reason, if we set the COLLECT_NAMES environment variable, the problems
21184
# vanish in a puff of smoke.
21185
if test "X${COLLECT_NAMES+set}" != Xset; then
21187
export COLLECT_NAMES
21194
ltmain="$ac_aux_dir/ltmain.sh"
21197
# We use sed instead of cat because bash on DJGPP gets confused if
21198
# if finds mixed CR/LF and LF-only lines. Since sed operates in
21199
# text mode, it properly converts lines to CR/LF. This bash problem
21200
# is reportedly fixed, but why not run on old versions too?
21201
sed '$q' "$ltmain" >> "$cfgfile" \
21202
|| (rm -f "$cfgfile"; exit 1)
21204
if test x"$xsi_shell" = xyes; then
21205
sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
21209
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21210
\ * ) func_dirname_result="${3}" ;;\
21212
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
21213
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21214
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21215
test 0 -eq $? || _lt_function_replace_fail=:
21218
sed -e '/^func_basename ()$/,/^} # func_basename /c\
21221
\ func_basename_result="${1##*/}"\
21222
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
21223
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21224
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21225
test 0 -eq $? || _lt_function_replace_fail=:
21228
sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
21229
func_dirname_and_basename ()\
21232
\ */*) func_dirname_result="${1%/*}${2}" ;;\
21233
\ * ) func_dirname_result="${3}" ;;\
21235
\ func_basename_result="${1##*/}"\
21236
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
21237
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21238
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21239
test 0 -eq $? || _lt_function_replace_fail=:
21242
sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
21245
\ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
21246
\ # positional parameters, so assign one to ordinary parameter first.\
21247
\ func_stripname_result=${3}\
21248
\ func_stripname_result=${func_stripname_result#"${1}"}\
21249
\ func_stripname_result=${func_stripname_result%"${2}"}\
21250
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
21251
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21252
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21253
test 0 -eq $? || _lt_function_replace_fail=:
21256
sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
21257
func_split_long_opt ()\
21259
\ func_split_long_opt_name=${1%%=*}\
21260
\ func_split_long_opt_arg=${1#*=}\
21261
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
21262
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21263
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21264
test 0 -eq $? || _lt_function_replace_fail=:
21267
sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
21268
func_split_short_opt ()\
21270
\ func_split_short_opt_arg=${1#??}\
21271
\ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
21272
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
21273
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21274
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21275
test 0 -eq $? || _lt_function_replace_fail=:
21278
sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
21282
\ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
21283
\ *) func_lo2o_result=${1} ;;\
21285
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
21286
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21287
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21288
test 0 -eq $? || _lt_function_replace_fail=:
21291
sed -e '/^func_xform ()$/,/^} # func_xform /c\
21294
func_xform_result=${1%.*}.lo\
21295
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
21296
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21297
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21298
test 0 -eq $? || _lt_function_replace_fail=:
21301
sed -e '/^func_arith ()$/,/^} # func_arith /c\
21304
func_arith_result=$(( $* ))\
21305
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
21306
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21307
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21308
test 0 -eq $? || _lt_function_replace_fail=:
21311
sed -e '/^func_len ()$/,/^} # func_len /c\
21314
func_len_result=${#1}\
21315
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
21316
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21317
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21318
test 0 -eq $? || _lt_function_replace_fail=:
21322
if test x"$lt_shell_append" = xyes; then
21323
sed -e '/^func_append ()$/,/^} # func_append /c\
21326
eval "${1}+=\\${2}"\
21327
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
21328
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21329
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21330
test 0 -eq $? || _lt_function_replace_fail=:
21333
sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
21334
func_append_quoted ()\
21336
\ func_quote_for_eval "${2}"\
21337
\ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
21338
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
21339
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21340
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21341
test 0 -eq $? || _lt_function_replace_fail=:
21344
# Save a `func_append' function call where possible by direct use of '+='
21345
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
21346
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21347
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21348
test 0 -eq $? || _lt_function_replace_fail=:
21350
# Save a `func_append' function call even when '+=' is not available
21351
sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
21352
&& mv -f "$cfgfile.tmp" "$cfgfile" \
21353
|| (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
21354
test 0 -eq $? || _lt_function_replace_fail=:
21357
if test x"$_lt_function_replace_fail" = x":"; then
21358
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
21359
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
21363
mv -f "$cfgfile" "$ofile" ||
21364
(rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21368
cat <<_LT_EOF >> "$ofile"
21370
# ### BEGIN LIBTOOL TAG CONFIG: CXX
21372
# The linker used to build libraries.
21375
# How to create reloadable object files.
21376
reload_flag=$lt_reload_flag_CXX
21377
reload_cmds=$lt_reload_cmds_CXX
21379
# Commands used to build an old-style archive.
21380
old_archive_cmds=$lt_old_archive_cmds_CXX
21382
# A language specific compiler.
21383
CC=$lt_compiler_CXX
21385
# Is the compiler the GNU compiler?
21388
# Compiler flag to turn off builtin functions.
21389
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21391
# Additional compiler flags for building library objects.
21392
pic_flag=$lt_lt_prog_compiler_pic_CXX
21394
# How to pass a linker flag through the compiler.
21395
wl=$lt_lt_prog_compiler_wl_CXX
21397
# Compiler flag to prevent dynamic linking.
21398
link_static_flag=$lt_lt_prog_compiler_static_CXX
21400
# Does compiler simultaneously support -c and -o options?
21401
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21403
# Whether or not to add -lc for building shared libraries.
21404
build_libtool_need_lc=$archive_cmds_need_lc_CXX
21406
# Whether or not to disallow shared libs when runtime libs are static.
21407
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21409
# Compiler flag to allow reflexive dlopens.
21410
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21412
# Compiler flag to generate shared objects directly from archives.
21413
whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21415
# Whether the compiler copes with passing no objects directly.
21416
compiler_needs_object=$lt_compiler_needs_object_CXX
21418
# Create an old-style archive from a shared archive.
21419
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21421
# Create a temporary old-style archive to link instead of a shared archive.
21422
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21424
# Commands used to build a shared archive.
21425
archive_cmds=$lt_archive_cmds_CXX
21426
archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21428
# Commands used to build a loadable module if different from building
21429
# a shared archive.
21430
module_cmds=$lt_module_cmds_CXX
21431
module_expsym_cmds=$lt_module_expsym_cmds_CXX
21433
# Whether we are building with GNU ld or not.
21434
with_gnu_ld=$lt_with_gnu_ld_CXX
21436
# Flag that allows shared libraries with undefined symbols to be built.
21437
allow_undefined_flag=$lt_allow_undefined_flag_CXX
21439
# Flag that enforces no undefined symbols.
21440
no_undefined_flag=$lt_no_undefined_flag_CXX
21442
# Flag to hardcode \$libdir into a binary during linking.
21443
# This must work even if \$libdir does not exist
21444
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21446
# Whether we need a single "-rpath" flag with a separated argument.
21447
hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21449
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21450
# DIR into the resulting binary.
21451
hardcode_direct=$hardcode_direct_CXX
21453
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21454
# DIR into the resulting binary and the resulting library dependency is
21455
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21456
# library is relocated.
21457
hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21459
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21460
# into the resulting binary.
21461
hardcode_minus_L=$hardcode_minus_L_CXX
21463
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21464
# into the resulting binary.
21465
hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21467
# Set to "yes" if building a shared library automatically hardcodes DIR
21468
# into the library and all subsequent libraries and executables linked
21470
hardcode_automatic=$hardcode_automatic_CXX
21472
# Set to yes if linker adds runtime paths of dependent libraries
21473
# to runtime path list.
21474
inherit_rpath=$inherit_rpath_CXX
21476
# Whether libtool must link a program against all its dependency libraries.
21477
link_all_deplibs=$link_all_deplibs_CXX
21479
# Set to "yes" if exported symbols are required.
21480
always_export_symbols=$always_export_symbols_CXX
21482
# The commands to list exported symbols.
21483
export_symbols_cmds=$lt_export_symbols_cmds_CXX
21485
# Symbols that should not be listed in the preloaded symbols.
21486
exclude_expsyms=$lt_exclude_expsyms_CXX
21488
# Symbols that must always be exported.
21489
include_expsyms=$lt_include_expsyms_CXX
21491
# Commands necessary for linking programs (against libraries) with templates.
21492
prelink_cmds=$lt_prelink_cmds_CXX
21494
# Commands necessary for finishing linking programs.
21495
postlink_cmds=$lt_postlink_cmds_CXX
21497
# Specify filename containing input files.
21498
file_list_spec=$lt_file_list_spec_CXX
21500
# How to hardcode a shared library path into an executable.
21501
hardcode_action=$hardcode_action_CXX
21503
# The directories searched by this compiler when creating a shared library.
21504
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21506
# Dependencies to place before and after the objects being linked to
21507
# create a shared library.
21508
predep_objects=$lt_predep_objects_CXX
21509
postdep_objects=$lt_postdep_objects_CXX
21510
predeps=$lt_predeps_CXX
21511
postdeps=$lt_postdeps_CXX
21513
# The library search path used internally by the compiler when linking
21514
# a shared library.
21515
compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21517
# ### END LIBTOOL TAG CONFIG: CXX
21521
cat <<_LT_EOF >> "$ofile"
21523
# ### BEGIN LIBTOOL TAG CONFIG: F77
21525
# The linker used to build libraries.
21528
# How to create reloadable object files.
21529
reload_flag=$lt_reload_flag_F77
21530
reload_cmds=$lt_reload_cmds_F77
21532
# Commands used to build an old-style archive.
21533
old_archive_cmds=$lt_old_archive_cmds_F77
21535
# A language specific compiler.
21536
CC=$lt_compiler_F77
21538
# Is the compiler the GNU compiler?
21541
# Compiler flag to turn off builtin functions.
21542
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
21544
# Additional compiler flags for building library objects.
21545
pic_flag=$lt_lt_prog_compiler_pic_F77
21547
# How to pass a linker flag through the compiler.
21548
wl=$lt_lt_prog_compiler_wl_F77
21550
# Compiler flag to prevent dynamic linking.
21551
link_static_flag=$lt_lt_prog_compiler_static_F77
21553
# Does compiler simultaneously support -c and -o options?
21554
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
21556
# Whether or not to add -lc for building shared libraries.
21557
build_libtool_need_lc=$archive_cmds_need_lc_F77
21559
# Whether or not to disallow shared libs when runtime libs are static.
21560
allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
21562
# Compiler flag to allow reflexive dlopens.
21563
export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
21565
# Compiler flag to generate shared objects directly from archives.
21566
whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
21568
# Whether the compiler copes with passing no objects directly.
21569
compiler_needs_object=$lt_compiler_needs_object_F77
21571
# Create an old-style archive from a shared archive.
21572
old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
21574
# Create a temporary old-style archive to link instead of a shared archive.
21575
old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
21577
# Commands used to build a shared archive.
21578
archive_cmds=$lt_archive_cmds_F77
21579
archive_expsym_cmds=$lt_archive_expsym_cmds_F77
21581
# Commands used to build a loadable module if different from building
21582
# a shared archive.
21583
module_cmds=$lt_module_cmds_F77
21584
module_expsym_cmds=$lt_module_expsym_cmds_F77
21586
# Whether we are building with GNU ld or not.
21587
with_gnu_ld=$lt_with_gnu_ld_F77
21589
# Flag that allows shared libraries with undefined symbols to be built.
21590
allow_undefined_flag=$lt_allow_undefined_flag_F77
21592
# Flag that enforces no undefined symbols.
21593
no_undefined_flag=$lt_no_undefined_flag_F77
21595
# Flag to hardcode \$libdir into a binary during linking.
21596
# This must work even if \$libdir does not exist
21597
hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
21599
# Whether we need a single "-rpath" flag with a separated argument.
21600
hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
21602
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21603
# DIR into the resulting binary.
21604
hardcode_direct=$hardcode_direct_F77
21606
# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
21607
# DIR into the resulting binary and the resulting library dependency is
21608
# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
21609
# library is relocated.
21610
hardcode_direct_absolute=$hardcode_direct_absolute_F77
21612
# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21613
# into the resulting binary.
21614
hardcode_minus_L=$hardcode_minus_L_F77
21616
# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21617
# into the resulting binary.
21618
hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
21620
# Set to "yes" if building a shared library automatically hardcodes DIR
21621
# into the library and all subsequent libraries and executables linked
21623
hardcode_automatic=$hardcode_automatic_F77
21625
# Set to yes if linker adds runtime paths of dependent libraries
21626
# to runtime path list.
21627
inherit_rpath=$inherit_rpath_F77
21629
# Whether libtool must link a program against all its dependency libraries.
21630
link_all_deplibs=$link_all_deplibs_F77
21632
# Set to "yes" if exported symbols are required.
21633
always_export_symbols=$always_export_symbols_F77
21635
# The commands to list exported symbols.
21636
export_symbols_cmds=$lt_export_symbols_cmds_F77
21638
# Symbols that should not be listed in the preloaded symbols.
21639
exclude_expsyms=$lt_exclude_expsyms_F77
21641
# Symbols that must always be exported.
21642
include_expsyms=$lt_include_expsyms_F77
21644
# Commands necessary for linking programs (against libraries) with templates.
21645
prelink_cmds=$lt_prelink_cmds_F77
21647
# Commands necessary for finishing linking programs.
21648
postlink_cmds=$lt_postlink_cmds_F77
21650
# Specify filename containing input files.
21651
file_list_spec=$lt_file_list_spec_F77
21653
# How to hardcode a shared library path into an executable.
21654
hardcode_action=$hardcode_action_F77
21656
# The directories searched by this compiler when creating a shared library.
21657
compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
21659
# Dependencies to place before and after the objects being linked to
21660
# create a shared library.
21661
predep_objects=$lt_predep_objects_F77
21662
postdep_objects=$lt_postdep_objects_F77
21663
predeps=$lt_predeps_F77
21664
postdeps=$lt_postdeps_F77
21666
# The library search path used internally by the compiler when linking
21667
# a shared library.
21668
compiler_lib_search_path=$lt_compiler_lib_search_path_F77
21670
# ### END LIBTOOL TAG CONFIG: F77
21681
ac_clean_files=$ac_clean_files_save
21683
test $ac_write_fail = 0 ||
21684
as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21687
# configure is writing to config.log, and then calls config.status.
21688
# config.status does its own redirection, appending to config.log.
21689
# Unfortunately, on DOS this fails, as config.log is still kept open
21690
# by configure, so config.status won't be able to write to it; its
21691
# output is simply discarded. So we exec the FD to /dev/null,
21692
# effectively closing config.log, so it can be properly (re)opened and
21693
# appended to by config.status. When coming back to configure, we
21694
# need to make the FD available again.
21695
if test "$no_create" != yes; then
21697
ac_config_status_args=
21698
test "$silent" = yes &&
21699
ac_config_status_args="$ac_config_status_args --quiet"
21701
$SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21703
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
21704
# would make configure fail if this is the last instruction.
21705
$ac_cs_success || as_fn_exit 1
21707
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21708
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21709
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}